miniblog.

Whilst A/B testing is a fantastic tool, I'm amazed to see that some online retailers are using it for price.
#python `1 in [1,0] == True` => False is a horrible obscure gotcha https://stackoverflow.com/questions/9284350/why-does-1-in-1-0-true-evaluate-to-false
Awesome to see @editd in @techcrunch!
I'm reaching a point where I can almost just use #Firefox's built-in dev tools without Firebug. The performance improvement is worth having.
https://sweetjs.org/ -- beautiful or unmaintainable JavaScript, depending on how it's used :)
I am amazed at how many tools build on top of #JavaScript to offer different syntax or semantics:
Debugging a memory leak and your swap partition is too small? LVM can save you!
Realisation of the day: add the current time to your shell prompt, and you never need to write `$ time slow_command` again.
If foo.bar() mutates foo, it probably shouldn't also return foo. It violates the principle of least surprise when reading `baz = foo.bar()`
#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:
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: https://www.flotsam.nl/dispatch-periodic-table.html
Showing 61-75 of 137 posts