Monday, February 10, 2014

PyCon India 2014 - Call for Proposal

The Sixth edition of PyCon India is being held in Bangalore,India from 26th September 2014 to 28th September 2014.
The organizers of PyCon India 2014 are looking for talk and workshop proposals to fill the formal presentation and workshop tracks. We accept proposals on a very broad range of topics related to Python programming.
Submit your proposal here: http://in.pycon.org/funnel/2014/

Saturday, October 26, 2013

Writing personal things in blog

This is the beginning of an attempt to write more things in my blog. I am thinking to write more personal things :-) Well, when I say "personal", I mean Religion, Family, Politics etc. I used to write mostly technical topics in my blog. Writing personal matters is very different from technical stuff. So, I would like to do some preparations.

I know that my blog is subscribed at many places. Some of them are various Planets (public blog aggregators) and others are individual subscriptions. In addition to this, I have linked my blog with Facebook. So my writings are reaching out to such a wide audience. This includes my friends from childhood, family and extended family members, neighbors, classmates from my schools and colleges, colleagues from current and previous organizations, participants from my various training and workshops, friends from Python and other FOSS communities, and many other friends.

The topics that I am writing may not be interesting or pleasing for all. Now, what should I do ? I am looking forward to your suggestions.

One thing that I am thinking to do is to remove Facebook linking. So all my posts will not go to everyone's FB update streams. If really required I can share the links separately. I have updated some active Planets with my technical or Python feed.

Another option is to create another blog itself. Based on my previous experiences, I have observed that It's not easy to maintain more blogs.

I will be updating this blog post with my further thoughts later.

Thursday, September 5, 2013

Go Programming - Installation

I was playing with Go programming language (Golang) recently. Go looks like an interesting programming language.  I will show you how you can install Go in a 64 bit GNU/Linux system.

Installation

To install Go in a 64 bit GNU/Linux:
cd $HOME
wget -c https://go.googlecode.com/files/go1.1.2.linux-amd64.tar.gz
tar zxvf go1.1.2.linux-amd64.tar.gz
mkdir mygo
You can download source and binary packages of Go from from here: https://code.google.com/p/go/downloads/list
To set PATH and other environment variables, add these lines at the end of $HOME/.bashrc:
export GOROOT=$HOME/go
export PATH=$PATH:$GOROOT/bin

export GOPATH=$HOME/mygo
export PATH=$PATH:$GOPATH/bin

Running a program

To run a program:
go run <program.go>
Here is an example hello world program:
package main

import "fmt"

func main() {
    fmt.Printf("Hello, world.\n")
}
Save the above code in a hello.go and run it like this:
go run hello.go

You can build (compile) and run the binary like this:
go build hello.go
./hello

Here is the screencast I created with same notes.


I am looking forward to your feedback.

Monday, September 2, 2013

To the Indian Python Programming Community, Thank you for the award

I received the first Kenneth Gonsalves Memorial Award for contributions towards advocacy and adoption of Python programming language in India. My thanks to the Indian Python Programming Community and Python Software Society of India (PSSI) for the award.

The award was given on the first day of PyCON India 2013 conference (last Saturday).  This is the 5th year of  PyCON India, There was more than 1100 attendees this time. The keynotes, talks, workshops and panel discussion (on Python in education) were great.

I had my workshop (tutorial) on Selenium last Friday. I hope the video will be available soon.

Sunday, February 24, 2013

Something personal

I started writing blog in October 2004. Most of my blog entries were technical, very few times I wrote personal things. This blog post is written just to tell those who read my blog that I believe in Jesus Christ. I accepted Jesus Christ as my Lord and Savior in 1995. However, due to resistance from my family, I couldn't continue fellowship with other believers and so I started backsliding. In August 2011, God helped me to find a good fellowship in Bangalore where I live now.

Sunday, May 20, 2012

BangPypers meetup (Yesterday)

Yesterday we had BangPypers meeting at ZeOmega office. There was 10 members came for the meeting. There was no specific agenda for the meeting, we discussed some general topics related to Python.

I demonstrated the installation of Salt in Windows XP ( http://saltstack.org/ ). Salt is a remote execution and configuration management tool. For those who missed, here is the screencast I created today for the installation of Salt in Windows: http://www.youtube.com/watch?v=eeJByb-alz8 BTW, community is working on a unified installer for Windows.

If you are interested to learn more about Salt, look at the excellent documentation here:

http://salt.readthedocs.org/en/latest/index.html

You can replace remote execution systems like Fabric & Capistrano with Salt. Also you can replace configuration management systems like Puppet, Chef & CFEngine.

I have tried Salt with RHEL,CentOS,Debian,Ubuntu,Fedora,FreeBSD,Windows 2008 Server R2 and Windows XP. For example, if you want to install Salt in a CentOS machine, just run these two commands:

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-6.noarch.rpm
yum install salt*

Similarly for Ubuntu:

add-apt-repository ppa:saltstack/salt
apt-get update
apt-get install salt-master salt-minion

While talking about Salt, I also happened to demonstrate Jenkins server I setup for the same project ( http://jenkins.saltstack.org/ ). Here is the screencast I created sometimes back for the same project: http://www.youtube.com/watch?v=7IRzPFYtyD4 This screencast walk through various code metrics available for Python like: clonedigger, pep8, pyflakes, pylint & sloccount.

Saturday, October 1, 2011

Python workshop at KSR College of Arts & Science


Few weeks back (on 3rd September) I conducted one Python workshop at KSR College of Arts & Science.  I couldn't write about it till now. The college is located in Tiruchengode, a town in Namakkal district of Tamil Nadu.  The workshop was on a Saturday, but I reached the college in the previous night.     There was around 80 students from MCA and MSc courses. One student took some photos using his mobile camera, you can see some of those pictures below.

I started my journey from Bangalore on Friday afternoon in one KPN bus.  It was a Multi-axle bus and the road was also very good, so the journey was very comfortable. I reached Erode around 9.30 pm and one college staff was waiting for me. We had our dinner from Erode and went to college by one taxi car.  They had arranged my stay in the college guest house. It is a very good campus, and there are many colleges in that campus by the same management.  Next day during lunch time, the founding chairman also came for lunch in the guest house, some staff introduced me to him.  When I mentioned that I am from Kerala and working in Bangalore, he asserted that Kerala people are everywhere.  When I heard some history of that campus from one staff, it sounded astonishing.  The hospitality of the staff was gracious.  This is the second college I am visiting Tamil Nadu for a Python workshop, the other one was in Chennai.

The workshop started at 9.30 am with a small inauguration function.  Later I started with an introduction to Python and moved on to basic syntax.  Since they told they are using Windows, I showed Python from my Windows using VirtualBox.  I don't like to use it, but there was no other choice. It was just 1 or 2 students who had heard about Python before.  At the end of the lab session, I could see their happiness when they found a language which is very easy to learn.  I stressed the point that Python is a powerful general purpose programming language. I hope the session was well received.



In the lecture hall (morning)

This student was trying classes in Python

There was some joke, forgot...

 
     
IndentationError: expected an indented block      
Python is cool!

In the lab