New

The latest blog posts to take off on Hacker News. 1,981 posts.

Any topic
2014
484

Haskell, Monads and Purity

I believe the notion that Haskell uses “monads” to enforce purity is rather misleading. It has certainly caused quite a bit of confusion! It’s very much like saying we use “rings to do arithmetic”. We don’t! We use numbers, which just happen to form a ring with arithmetic operations. The important idea is the number …

492

Before the Startup

October 2014 (This essay is derived from a guest lecture in Sam Altman's startup class at Stanford. It's intended for college students, but much of it is applicable to potential founders at other ages.) One of the advantages of having kids is that when you have to give advice, you can ask yourself "what would I tell…

493

Bye Bye JavaScript Promises

In my previous post , I explored how programming with promises can be made close to programming with values. After some more work on it, and some learning from bluebird , I came to conclude that my brain doesn’t think well with promises. So I wrote a macro for Javascript that expands “tasks” into async state machines…

496

A Path to Full-time Open Source

Two years ago today I released Sidekiq Pro, my commercial extension to Sidekiq, as an experiment to see if I could make OSS development financially viable for individual developers. I had no idea if anyone would trust me and buy it. Can you think of anyone else selling a Rubygem?

504

Learning Online

That we’ll learn school-ish things on the internet seems inevitable, but most people seem not to learn very much or very quickly online; Sebastian Thrun admitted as much in a Fast Company interview a few months ago. To figure out how computers actually could help people learn, I spent the summer teaching students and…