miniblog.
Aug 12, 2013
Today I learnt "use strict"; even forbids with() statements!
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions_and_function_scope/Strict_mode#Simplifying_variable_uses
Probably a good thing.
Strict mode - JavaScript | MDN
JavaScript's strict mode is a way to opt in to a restricted variant of JavaScript, thereby implicitly opting-out of "sloppy mode". Strict mode isn't just a subset: it intentionally has different semantics from normal code. Strict mode code and non-strict mode code can coexist, so scripts can opt into strict mode incrementally.
Wilfred Hughes
Aug 10, 2013
You can abuse JavaScript's setTimeout for basic tail call optimisation. Neat.
Wilfred Hughes
Aug 10, 2013
"getLine :: IO String contains a String in the same way that /bin/ls contains a list of files"
Wilfred Hughes
Aug 9, 2013
I've open sourced several small bits of code recently that were previously only in internal projects. The code has benefited every time.
Wilfred Hughes
Aug 9, 2013
Turns out that IE8 emulation in IE9 does not always behave the same as IE8 proper. Lesson learnt.
Wilfred Hughes
Aug 9, 2013
JS worries about size get silly sometimes. Found a library that refused to fix a known bug, because it would have added 0.5KiB!
Wilfred Hughes
Aug 9, 2013
I'm a big fan of backup-each-save.el. I've been able to resurrect old prototype code that turned out to be useful elsewhere. #emacs
Wilfred Hughes
Aug 9, 2013
@getsentry
Any idea where the site name is taken from? I'm afraid I can't find it in the docs (Django site).
Wilfred Hughes
Aug 8, 2013
Very impressed with Digital Ocean. Slick UI, good pricing, no complaints so far.
Wilfred Hughes
Aug 8, 2013
Announcing django_test_mixins, a collection of useful Django assertions we use in internal projects:
GitHub - Wilfred/django-test-mixins: Additional assertions and test conveniences for testing django sites
Additional assertions and test conveniences for testing django sites - Wilfred/django-test-mixins
Wilfred Hughes
Aug 7, 2013
@duolingo
running out of hearts when unlocking a bigtest shortcut redirected me to
https://www.duolingo.com/bigtest/es/2
which 404s.
Learn a language for free
Learn languages by playing a game. It's 100% free, fun, and scientifically proven to work.
Wilfred Hughes
Aug 7, 2013
Just discovered
https://github.com/thlorenz/doctoc
for adding tables of contents to README.md files. Previously I had to put important stuff first.
GitHub - thlorenz/doctoc: 📜 Generates table of contents for markdown files inside local git repository. Links are compatible with anchors generated by github or other sites.
📜 Generates table of contents for markdown files inside local git repository. Links are compatible with anchors generated by github or other sites. - thlorenz/doctoc
Wilfred Hughes
Aug 6, 2013
Firefox 23 disables <blink>, so naturally they (ab)use the tag in their release notes:
Firefox 23.0, See All New Features, Updates and Fixes
Wilfred Hughes
Aug 6, 2013
If you're an ag.el user, v0.24 now creates a separate results buffer for each search. Give it a try! #emacs
Wilfred Hughes
Aug 6, 2013
It's depressing to think that IE6 is still at 24% in China when it's so far behind in terms of security features. MS patches bugs though.
Wilfred Hughes
1
...
474
475
476
477
478
...
511
Showing 7,126-7,140 of 7,654 posts