New

The latest blog posts to take off on Hacker News. 2,668 posts.

Any topic
2019
1815

Stop Memsetting Structures

TL;DR: Use C99’s designated initializers instead. Because it’s 2019! Edit: This post was discussed on Hacker News, Lobste.rs and /r/c_programming. It has been updated to address some of the concerns raised by commenters. One of the little things that annoy me when reading code is the unnecessary use of memset() to…

1817

My Billion Dollar Mistake

At my last company, KISSmetrics, I made a mistake that I truly believe lost me a billion dollar opportunity. It’s not something I’m proud of, and it’s one of the main reasons I’m now obsessed with building products the right way. I wrote the painful details of exactly what happened so you don’t have to make the same…

1827

The Problem With Hexagons

H exagons are ubiquitous in wargames now (indeed, both Philip Sabin’s War: Studying Conflict Through Simulation Games and Peter Perla’s The Art of Wargaming feature hexagons on their book covers), but this wasn’t always the case. My first wargame – the first board wargame for many of us – was Avalon Hill’s original…