CTO at http://t.co/brmhM1ZM, Founder of http://t.co/bFq8Avqq, PhD in Computer Science, and a jack of all trades

Pune, India
Joined September 2009
Navin Kabra (Tech) retweeted
Please follow @ngkabra instead of this account. I will not tweet from here anymore.
Navin Kabra (Tech) retweeted
#python tip: To generate pyc and pyo files for the py files in a directory, run: python -m compileall *py and python -Om compileall *py
5
16
Navin Kabra (Tech) retweeted
#python tip: When creating a zip file for use with zip imports, be sure to add .pyc and .pyo in addition to the .py files.
2
6
9
Navin Kabra (Tech) retweeted
Python: the Dictionary Playbook blog.amir.rachum.com/post/39… good stuff for beginners.
2
1
Navin Kabra (Tech) retweeted
In 2013 use print function rather than the print statement. #python. Available since 2009, stop this stone age coding. docs.python.org/3.0/whatsnew…
Navin Kabra (Tech) retweeted
Mayan time_t overflows on Saturday... I *told* 'em to use long long, but they were like, 32 beads should be enough for anybody.
10
2
Navin Kabra (Tech) retweeted
#emacs tip: M-z (zap-to-char) is a fast and flexible way to kill text. Combined with C--, it can kill text in a backwards direction.
6
5
Navin Kabra (Tech) retweeted
Hazards of creating a very slick pre-product demo (1): People think the product is done. Get shocked to hear actual release date.
Navin Kabra (Tech) retweeted
The time has come to start formatting your log entries in JSON: journal.paul.querna.org/arti…
1
20
17
Navin Kabra (Tech) retweeted
The early stages of Pycon India 2012 have just started off mail.python.org/pipermail/in… #PyconIndia (Mailing list: mail.python.org/mailman/list…)
1
4
Navin Kabra (Tech) retweeted
LOL RT @DEVOPS_BORAT: 2012 is year of private cloud, Linux desktop and establish which of emacs and vi is better.
Navin Kabra (Tech) retweeted
Coding python/groovy, I think, what a complete pain in the ass type checking compilers are & how much they intrude on getting shit done.
3
3
Navin Kabra (Tech) retweeted
#python tip: Go ahead and fall in love with the with-statement, but don't forget that sometimes a simple try/finally is a better solution.
2
6
2
Navin Kabra (Tech) retweeted
“There are no published cases of NoSQL databases operating at the scale of Facebook’s MySQL database” gigaom.com/cloud/facebook-sh…
1
22
13
Navin Kabra (Tech) retweeted
Did a good deed today. Advised someone to remove django based db code in favour of dbapi for bulk ops (x * 100000). Perf went up 20 fold.
1
1
Navin Kabra (Tech) retweeted
Wow, "in-air" signatures using a mobile phone with accelerometer, for authentication : is.gd/jchgkC
1
1
Navin Kabra (Tech) retweeted
#python news: Django is getting close to running on Python 3.2 :-) groups.google.com/forum/#!to…
14
2
Navin Kabra (Tech) retweeted
Pretty thought provoking. RT @chrishouser: Yammer moving off of Scala. Several points all JVM langs should consider: bit.ly/uXEK0g
Navin Kabra (Tech) retweeted
Nice #python one-liner: def sumdigits(n): return sum(map(int, str(n)))
4
6
9