Best of 2016

The blog posts Hacker News loved most in 2016. 2,307 posts.

Any topic
1413

The Controversial State of JavaScript Tooling

There have been many different blog posts on the “State of the Web” , problems people face around tooling, and similar-style musings of late. This article is about summarizing my thoughts on recent events. Rather than yet another rant about the state of web development, this piece aims to pour some thought into what…

1416

Hard Forks

The crypto-currency Ethereum completed a hard fork on Wednesday. The Ethereum core developers, after getting a vote of support from the Ethereum community, hard forked Ethereum to “get back” the roughly $40mm of Ethereum that was taken in the hack of The DAO. Hard forks are a bit of a lightning rod issue in the […]

1421

Ideas for Game Clones to Code (2012)

So you know a little bit about programming (perhaps you've read the free book, "Invent Your Own Computer Games with Python" , a free programming book for beginners whose author shamelessly plugs at every chance) but you want to get better at coding. You can't seem to find any open source projects that are at your…

1422

Hotpatching a C Function on x86

In this post I’m going to do a silly, but interesting, exercise that should never be done in any program that actually matters. I’m going write a program that changes one of its function definitions while it’s actively running and using that function. Unlike last time , this won’t involve shared libraries, but it will…

1426

You Can't Always Hash Pointers in C

Occasionally I’ve needed to key a hash table with C pointers. I don’t care about the contents of the object itself — especially if it might change — just its pointer identity. For example, suppose I’m using null-terminated strings as keys and I know these strings will always be interned in a common table. These…

1432

A Rebuttal for Python 3

Zed Shaw, of Learn Python the Hard Way fame, has now written The Case Against Python 3. I’m not involved with core Python development. The only skin I have in this game is that I like Python 3. It’s a good language. And one of the big factors I’ve seen slowing its adoption is that respected people in the Python commu