New

The latest blog posts to take off on Hacker News. 21,822 posts.

Software Engineering
Any year
6187

NP-complete isn't always hard

A common assumption I see on the ‘net is that NP-complete problems are impossible to solve. I recently read that dependency management in Python is hard because package resolution is NP-complete. This is true in principle, but the reality is more complicated. When we say “NP-complete is hard” we’re talking about…

6189

Writing an engineering strategy

Once you become an engineering executive, an invisible timer starts ticking in the background. Tick tick tick. At some point that timer will go off, at which point someone will rush up to you demanding an engineering strategy. It won’t be clear what they mean, but they will want it, really, really badly. If we just…

6194

Queues should be empty

I’ve been writing a pubsub listener for work recently and had this silly “shower thought”: the ideal queue should be empty. Why? If the queue is not empty, it means that whatever job is consuming from the queue is not keeping up with messages coming into it. Ok, then if queues are supposed to be empty, then what are…

6196

Making macOS Apps Uninstallable

Wiggling apps in Launchpad There's this thing called **Launchpad** on macOS which shows you all the apps on your Mac in an iOS like manner. You may already have it in the Dock, but you can also launch it as any other app. There's even a nifty trackpad gesture for it where you *pinch with thumb and three fingers*. ...

6201

What to expect from your framework

There's been a bit of a brouhaha these last weeks as parts of the Internet suddenly woke up to the realization that most Single Page Apps are slow and overcomplicated, and — shock horror — it turns out that Facebook, the lovable scamps that brought us React and QAnon, have conducted themselves badly! Refreshingly…