Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 81,038 posts.

Any topic
Any year
41915

Magic Numbers

1500 bytes is a bit out there as numbers go, or at least it seems that way if you touch computers for a living. It’s not a power of two or anywhere close, it’s suspiciously base-ten-round, and computers don’t care all that much about base ten, so how did we get here?

41916

Citations on the Anthropic API

Claude can now cite specific passages from your documents, delivering verifiable responses with built-in source tracking. Update: Now available in Amazon Bedrock. (June 30, 2025) Today, we're launching Citations, a new API feature that lets Claude ground its answers in source documents.

41918

Terraform 0.7 released

We've released Terraform 0.7. Terraform is a tool for safely and efficiently building, combining, and launching infrastructure. Terraform continues to be HashiCorp's fastest growing project. Over the past year, we've released over 20 minor versions of Terraform expanding resource and provider coverage as well as…

41927

Will It Optimize? (2010)

See how well you know (or can anticipate) gcc's optimizer. For each question, the left box contains some code, while the right box contains code that purports to do the same thing, but that illustrates a particular optimization. Will gcc apply that optimization? Put another way, will the code on the left be as fast as…