Topics /

Software Engineering

The most popular blog posts about software engineering on Hacker News. 14,531 posts.

Any year
721

Flux is the new WndProc

React, if you’ve somehow missed it, is the new hotness in web programming. The idea is simple: each React component describes its view idempotently, in JavaScript. The view is rendered entirely based on a small amount of state the component keeps internally. Given the same state, a given component will always render…

724

Things I’ve learned in 20 years of programming

This year, I’ve become increasingly acquainted with the DEV platform. It’s a refreshingly positive oasis in the large sea of angry Reddit commenters and “well actually” connoisseurs that is the broader software world. One interesting facet of this community is that it seems pretty beginner-heavy. I regularly see posts…

727

Joins 13 Ways

Relational (inner) joins are really common in the world of databases, and one weird thing about them is that it seems like everyone has a different idea of what they are. In this post I’ve aggregated a bunch of different definitions, ways of thinking about them, and ways of implementing them that will hopefully be…

732

The Little Printf

This text is a transcript of a presentation I have given on October 9, 2015, at the CityCode conference in Chicago. This content is also available in video , and as a PDF Document better suited for printing.

734

macOS Nix setup: an alternative to Homebrew (2020)

I recently got a new Macbook, and began setting up the Nix package manager to install my developer toolset. I mainly did this to try and have a working setup without installing Homebrew. Since I ran into a few issues, I wanted to briefly document what I did and why in case others wanted to try the same. Why Nix? (and…

739

98% isn't much

98% sounds like a lot. If someone wins the lottery 98% of the times they play, they are clearly blessed. Getting a top mark (e.g.: 10/10) on exams 98% of the time will likely lead to an honour diploma.

740

A possible new back end for Rust

So typically when you want to make your own compiled language you need a compiler to.. well.. compile it into something useful. Then making it work across a wide range of operating systems and CPU architectures is a huge effort, let alone having it be performant. This is where LLVM comes in.

747

“Code” 2nd Edition Now Available

In a startling disruption of the space-time continuum — and a violation of the basic maxim of publishing that nothing is ever on time — the publication date of the 2nd edition of my book Code: The Hidden Language of Computer Hardware and Software was bumped up by 12 days. That means that the publication date is today…