miniblog.

Python gotcha of the day: an empty generator is truthy. Grr.
I've always pronounced __init__ as "under under init" but apparently "dunder init" has precedence: http://t.co/olJ06UG9Vb
I'm not saying I use #emacs a lot, but my control-key foot pedal has just given up the ghost.
Fixing injection bugs properly http://t.co/8BNoyxuALi (longer blog post, worth your time)
https://github.com/jcoglan/coping The most elegant solution escaping HTML that I've ever seen.
#Emacs tip: if you want to discard TAGS tables you've been using, use tags-reset-tags-tables (I reimplemented this before knowing about it!)
.@documentcloud Looking at the underscore.js docs, I'd find it easier to skim if each category was sorted alphabetically. Do you agree?
TIL that #Python has the -B switch, or the PYTHONDONTWRITEBYTECODE environment variable (since 2.6). Handy.
Interesting question: what would you do if Python had macros? (My thoughts: http://t.co/OuIvONt6yG )
A cute hack with elnode to show off what you're currently editing: https://gist.github.com/Wilfred/5519156 #emacs
Wow, Emacsers were writing CGI scripts with elisp in 2000 (scroll to cgi.el): http://t.co/500LsFq64J
I'm excited to announce mustache.el, a powerful templating library for #emacs lisp! https://github.com/Wilfred/mustache.el
AsciiCasts -- really neat approach for screencasts with a CLI: http://t.co/IipCtvYJic
https://github.com/jeffh/sniffer/ and https://github.com/gfxmonk/autonose are both excellent for writing Python unit tests. No solution for Django though (AFAIK).
Feeling very complimented that a blog post of mine made it onto Hacker News! Thanks @rachbelaid :) (didn't know you were an #emacs guy)
Showing 7,111-7,125 of 7,508 posts