miniblog.
Jan 16, 2013
SO answer (paraphrased): "that's not available online, so I built a service that provides it"
https://stackoverflow.com/a/14207265
(that's raising the bar!)
Wilfred Hughes
Jan 16, 2013
Django snippet to work around the '{% cycle %} continues where it left off bug'
djangosnippets: Django cycle tag that doesn't continue where it left off
djangosnippets.org/snippets/2879/
Wilfred Hughes
Jan 16, 2013
Egads. Nasty {% cycle %} gotcha in Django:
#5908 (Add a resetcycle template tag) – Django
code.djangoproject.com/ticket/5908
Wilfred Hughes
Jan 16, 2013
It's pretty scary how often Pacman complains about invalidly signed packages -- very likely my binaries used to just get silently corrupted.
Wilfred Hughes
Jan 15, 2013
ncurses disc usage analyser
https://dev.yorhel.nl/ncdu
-- very handy for remote servers.
NCurses Disk Usage
dev.yorhel.nl/ncdu
Wilfred Hughes
Jan 14, 2013
There is no sorting algorithm that is O(n log n) in time, O(1) in space and also stable. Pick your poison.
Wilfred Hughes
Jan 14, 2013
Writing a 'natural sort' for clothing sizes ("S" > "XS", "medium" > "small") is more tractable than I'd initially feared.
Wilfred Hughes
Jan 12, 2013
Amazing ambitious Mozilla project, SWF in JS:
The Shumway Open SWF Runtime Project – Mozilla Research
Shumway is an experimental web-native runtime implementation of the SWF file format. It is developed as a free and open source project sponsored by Mozilla Research. The project has two main ...
Wilfred Hughes
Jan 11, 2013
Turns out Emacs' org-babel allows literate programming a la tangle and weave. Worth playing with this weekend (:
Wilfred Hughes
Jan 11, 2013
ag is a *fast* replacement for ack (better than grep)
https://github.com/ggreer/the_silver_searcher
-- 0.14s vs 8.49s in my testing.
GitHub - ggreer/the_silver_searcher: A code-searching tool similar to ack, but faster.
A code-searching tool similar to ack, but faster. Contribute to ggreer/the_silver_searcher development by creating an account on GitHub.
Wilfred Hughes
Jan 10, 2013
Abusing Django templatetags to calculations
https://slacy.com/blog/2010/07/using-djangos-widthratio-template-tag-for-multiplication-division/
(entertainingly evil!)
Wilfred Hughes
Jan 9, 2013
Remote code execution in Rails:
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-0156
ouch.
NVD - Home
web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-0156
Wilfred Hughes
Jan 8, 2013
Dr Seuss on parser monads:
Dr. Seuss on Parser Monads
www.willamette.edu/~fruehr/haskell/seuss.html
Wilfred Hughes
Jan 7, 2013
@valueof
reproduced a bug on
https://jshint.com/
https://github.com/jshint/jshint/issues/797#issuecomment-11885403
-- do you take bribes to reopen tickets? :)
JSHint, a JavaScript Code Quality Tool
JSHint, a JavaScript Code Quality Tool
Incorrect warning for 'defined but never used' for forward-declared functions · Issue #797 · jshint/jshint
/*jshint unused:true */ function caller() { callee(); } function callee() {} Calling JSHint on this gives: $ jshint example.js example.js: line 2, col 16, 'caller' is defined but never used. exampl...
Wilfred Hughes
Jan 5, 2013
GMail is giving me adverts for supercomputers and foie gras. Never mind accurate advertising, I feel somewhat complimented.
Wilfred Hughes
1
...
28
29
30
31
32
Showing 451-465 of 470 posts