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.
Please follow @ngkabra instead of this account. I will not tweet from here anymore.
1
1
Merging my twitter account. Discontinuing use of @ngkx and @_navin in favor of @ngkabra as I'm not on twitter as much to justify 3 accounts.
1
1
Implemented a standalone sentry server for logging and error aggregation. Sending logs from all my websites to it now. Much happier.
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
Correction: Check out simplycious.com by @IamSB - search engine for products, deals and coupons (domain name was misspelt).
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…
Check out simplicious.com by @IamSB - search engine for products, deals and coupons
1
1
Understanding unicode (especially in python). Must read for any programmer: bit.ly/unipain
1
7
14
Spent hours on a unicode bug before realizing that MySQL "utf8" only supports 3-byte unicode characters and chokes on 4-byte unicode :-(
1
1
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
Answer by @gyehuda to If there really is a God how can there be atheists? qr.ae/8Wiyn
1
1
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
Surprised. Cant find any info/analysis on "serious about starting your own biz this year" twitter malware. Any pointers? cc: @rohit11
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.
Simple introduction/use case for python context managers: j.mp/AfhuvQ
+1 RT @dnene: imo metaprogramming is always superior to code generation cc: @_sunil_