miniblog.
Apr 8, 2014
Failure Friday:
https://blog.pagerduty.com/2013/11/failure-friday-at-pagerduty/
Not quite as aggressive as ChaosMonkey, but all failure testing is worthwhile.
Wilfred Hughes
Apr 8, 2014
Yikes. In #python, (-7) % 4 == 1 but Decimal(-7) % Decimal(4) == Decimal('-3'). That's really confusing.
Wilfred Hughes
Apr 7, 2014
Implemented quicksort in Trifle lisp!
https://github.com/Wilfred/trifle/commit/4e7aa895e88fbb7f936927c4e8e14f25c9a618fd
Inspired by the minimalist Haskell implementation, which is pretty but slow.
Implementing sort with a basic quicksort. · Wilfred/trifle@4e7aa89
Inspired by the 'basic minimalist haskell quicksort'. See the TODOs for the issues outstanding.
Wilfred Hughes
Apr 7, 2014
Untrusted, a JavaScript adventure game you play by modifying its source
https://alex.nisnevich.com/untrusted/
Extraordinarily creative!
Wilfred Hughes
Apr 7, 2014
Today's HN article linking to Phrack has revealed that my mobile ISP has decided to start filtering 'adult content'. Hmph.
Wilfred Hughes
Apr 7, 2014
Learning another codebase generally involves fitting someone else's metaphors in your head. This is why devs are tempted to write their own.
Wilfred Hughes
Apr 7, 2014
After the separation of unicode and bytestrings in Python 3, I'm surprised that os.path.exists (and friends) accepts both b"/etc" and "/etc"
Wilfred Hughes
Apr 7, 2014
apipkg gives you lazy imports in #python:
https://pypi.python.org/pypi/apipkg
Neat, but I've rarely felt the need.
apipkg
apipkg: namespace control and lazy-import mechanism
Wilfred Hughes
Apr 7, 2014
Obscure #python of the day: you can call methods on integers with a space. For example, `1 .__hash__()`
Wilfred Hughes
Apr 5, 2014
Current status: implementing clean functional programming idioms in imperative loops in Trifle lisp, so users can write pure code.
Wilfred Hughes
Apr 5, 2014
Coveralls (and other coverage sites e.g. Jenkins) are great. Knowing which code is untested helps find bugs and unused code.
Wilfred Hughes
Apr 5, 2014
"our Java6+GWT+Ant+Subversion stack was failing to attract new developers."--Wave developer. This is why Emacs would benefit from git.
Wilfred Hughes
Apr 5, 2014
J has 'monads' but they're just functions that take a specific number of arguments. Terminology overloading is unfortunate.
Wilfred Hughes
Apr 5, 2014
J has 'monads' but it uses the term for functions taking a specific number of arguments. Monads are bad enough without overloading the term!
Wilfred Hughes
Apr 5, 2014
After some soul-searching, I'm removing truthiness from Trifle lisp:
Changing `if` to require the condition to be a boolean instead of a · Wilfred/trifle@f3e0d0f
'truthy' value. This has several advantages. Firstly, it makes a type checker more useful since previously the condition to `if` could be any type. Secondly, it's more explicit. Compa...
Wilfred Hughes
1
...
64
65
66
67
68
...
89
Showing 976-990 of 1,323 posts