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.
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
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.
Navin Kabra (Tech) retweeted
A touch screen tablet, that also has 'lumpy' contact keyboard? Now..that's best of both worlds! bbc.in/XmvUEe via @ngkx #CES2013
Navin Kabra (Tech) retweeted
Python: the Dictionary Playbook blog.amir.rachum.com/post/39… good stuff for beginners.
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
Understanding unicode (especially in python). Must read for any programmer: bit.ly/unipain
Spent hours on a unicode bug before realizing that MySQL "utf8" only supports 3-byte unicode characters and chokes on 4-byte unicode :-(
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.
Answer by @gyehuda to If there really is a God how can there be atheists? qr.ae/8Wiyn
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.
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






