Recent submissions

Comment · 2 years ago
Comment · 3 years ago
I’m fairly sure that “wallball” played in most elementary schools around the US is a different game than what is being referred to here. Growing up in New England, what we called wallball involved throwing a tennis ball against a wall and attempting to catch it before someone else, while the NYC handball/wallball is closer to racquetball, but played outside against a (usually) freestanding concrete wall with palms used instead of racquets.
Comment · 4 years ago
RGB are the primary colors used in additive color mixing, CMYK are used as the primary colors for subtractive color mixing which is used in offset printing and similar processes.
Comment · 5 years ago
Comment · 5 years ago
Comment · 5 years ago
`mv` is defined on the same line as `ma` is, right after the five `#define`s.

`pr` is on the last line before the only line break.

It's a pretty dense program to walk through, but not as completely impenetrable as I first thought after taking some time and making notes as I went.

Comment · 6 years ago
Not the GP, but I'm currently working on a small web app that synchronizes data from 2 other web services, which means that almost every endpoint involves a call to an external API. In some cases, it involves repeated calls to those APIs, but the order in which the responses are received is unimportant, which is an ideal use case for asyncio's gather function. Using a framework (I haven't tried Django's new async views yet, but am using one of the handful of Flask-ish async frameworks) that supports async views has made this a snap, whereas before I would probably have used some sort of out-of-process work queue type setup.
Comment · 7 years ago
That's where I assumed the comment was going as well, but it's actually not really about brace style at all. Rather it's about "if style" which is a much more interesting discussion (at least as applied to C error checking).
Comment · 7 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton