New

The latest blog posts to take off on Hacker News. 80,999 posts.

Any topic
Any year
37811

Inventing Monads

I got into a discussion about monads recently. On a search to find some resources to share, I realized that most essays explained them with type signatures and rules. A missing ingredient to grok them, I think, is to understand the intuition behind them. How could you end up inventing monads?

37813

Don't trust default timeouts

Modern applications don’t crash; they hang. One of the main reasons for it is the assumption that the network is reliable. It isn’t. When you make a network call without setting a timeout, you are telling your code that you are 100% confident that the call is going to succeed. Would you really take that bet? If you…

37815

What Shell Am I Using?

I wanted to install the latest version of zsh on my MacBook Pro. This is usually the first thing I install when setting up a new machine. A brew install zsh and a chsh later and I'm good to go (well, technically I had to add the homebrew location of zsh to /etc/shells as well). Close out Terminal.app and reopen to…

37817

The Legend of GayBlade

The recently released video game documentary High Score includes a sequence in the third episode about a game called GayBlade. GayBlade is one of the first commercially-sold LGTBQ-themed video games, a role-playing romp for Windows and Macintosh occasionally referred to as "Dungeons and Drag Queens". Once thought to…