If foo.bar() mutates foo, it probably shouldn't also return foo. It violates the principle of least surprise when reading `baz = foo.bar()`
miniblog.
#emacs etags on an abitrary git repository: $ cd $(git rev-parse --show-toplevel); rm -f TAGS; ack -f --print0 | xargs --null etags -a
Building logic circuits out of Soldier Crabs: http://t.co/UEMRQI9u
Pretty print an arbitrary #Python dict: python "import sys, ast, pprint; value = ast.literal_eval(sys.stdin.read()); pprint.pprint(value)"
Haskell is a lot of fun, but *man alive* the learning curve is punishing.
I'm surprised to see that Arch Linux no longer has its setup script for install -- it's even more DIY now. Feels like Linux From Scratch.
Scala supports some crazy DSLs -- making HTTP requests: http://t.co/GCRAlJOe
nose is wonderful for Python tests, including Django. #latetotheparty
On average, 1.4 million people visit 4chan every day. Insane. http://t.co/1KgB5UXN
I'm also impressed that we have reached a point where it's possible to teach students a language using text-to-speech technology.
Duolingo is a superb site for learning languages, and it's self-funded by crowdsourcing translations. I'm impressed.
Note to self: don't skip 'forgotten password' functionality, even on sites for your own use...
Python 3.3 may change the iteration order of dicts in some circumstances: http://t.co/KAsQX3yX -- it was bound to happen eventually.
I have a bizarre evil desire to create a programming language where foo is a reserved word.
Beautiful Soup 4 is superb. There had been a few roadblocks along the way, so it's wonderful to see it alive and improving.
Showing 7,411-7,425 of 7,610 posts