timsneath

Joined 15 years ago

Karma
2,621
Submissions
181
Member since
Feb 16
Developer technologies at Apple.

In former lives I worked on Flutter (Google) and Windows (Microsoft).

View on Hacker News

Recent submissions

Comment · 1 month ago
What a lovely blog in general: some really fun retro-computing projects, written up in a very thoughtful, human way. Feels like a throwback to the earlier hacking spirit of the internet. Thank you, Colin: your "experiment with writing" is a success as far as I'm concerned!
Comment · 1 month ago
Comment · 4 months ago
Comment · 8 months ago
Comment · 9 months ago
Sounds a bit like "We Didn't Playtest This at All" (https://boardgamegeek.com/boardgame/31016/we-didnt-playtest-...), which is a lot of fun as an icebreaker game in various settings. This version has the cards prepopulated with content.
Comment · 10 months ago
Comment · 11 months ago
Comment · 1 year ago
In macOS 26, you can see every Rosetta app that has recently run on your machine by going to System Information and then Software / Rosetta Software. It includes the "Fallback Reason" (e.g. if you manually forced the app under Rosetta or if it was an Intel-only binary).
Comment · 1 year ago
Ha! But that's not semantically meaningful Swift code in any normal context, nor is it idiomatic. `self` is equivalent to `this` in C++, and is never normally null.

You use this construct for unwrapping nullable fields, for example something like this:

guard let httpResult else { return }

Note that you don't need to assign the value to itself in modern Swift. This line takes an optional (httpResult?) and returns early if null. If not, you can use it with strong guarantees that it's not nullable, so no need for ? or ! to unwrap it later in the scope.

Comment · 1 year ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton