HNHacker News
TopNewBestAskShowJobs

natte

-2 karma · joined January 13, 2012

submissionscomments
natte··on Look at the humongous type that Hindley-Milner infers for this tiny program
O(2^2^n) = O(4^n) = O(c^n) ; O(2^3^n) = O(8^n) = O(c^n) ; ...
natte··on Support for Ruby 1.9.3 will end on February 23, 2015
Announcing Python 3.0. Support for Python 2.X will end on January 1, 2114 :P

Ok that was a silly joke, but seriously this is a good change and 2.1 is awesome. Keep moving Ruby forward!

natte··on Parental benefits and paternity leave in Norway
In Estonia the leave is 100% salary for 1.5 years (78 weeks) for one parent (either the mother or father). However there is a cap on the maximum salary the government will pay, so if the parent is earning a lot they will be taking a pay cut.

I actually think it's quite a good system, to encourage parents to have children.

natte··on Punch - The new dynamic static site generator [better than Jekyll]
is it better because node > ruby? ;)
natte··on Why not just use ERB?
totally agree, haml is awesome. However there are a couple of cases where html/erb is more readable:

1) when working with a lot of knockout.js bindings, html attributes seem more natural when there are a lot of them 2) when working with a deeply nested DOM structure, usually such a mess is not needed, except for HTML e-mails