Recent submissions

Comment · 2 years ago
Does finding the number of unique elements in a set actually require comparison of each element with everything else? Can't you use a hashtable? For every element, add it to the table (ignore if already exists), and finally, take a count of keys.
Comment · 2 years ago
That part of the man page sounds confusing. Is it unconditional and enabled by default?
Comment · 2 years ago
NASA knew that people new that planetariums existed, so they didn't paint a realistic sky because people would think they used a planetarium. Game theory!
Comment · 2 years ago
Wait until you switch to unions in rust and ask yourself whether it is a union or a struct.
Comment · 2 years ago
Wikipedia has something interesting on this (how unions can be implemented using "class hierarchy in object-oriented programming"): https://en.wikipedia.org/wiki/Tagged_union#Class_hierarchies...

There is a lengthy blog post about the same stuff, except that the author doesn't seem to have come across the said wiki section yet: https://nandakumar.org/blog/2023/12/paradigms-in-disguise.ht...

Kudos to the dev of datatype99 for showing the problem with such ad-hoc methods in the readme right away.

Comment · 2 years ago
Is RISC-V technically superior or is it just about the license?
Comment · 2 years ago
Might sound surprising until you remember there used to be Lisp Machines.
Comment · 2 years ago
But some random word in its response can trigger an idea in your mind. Getting an idea from a conversation is not always about getting it directly. It's already in you and you just wanted a trigger.
Comment · 2 years ago
No pipe organ in any of these?
Comment · 2 years ago
Maybe a stupid question, but how do you compare this against GPT-based search engines?
Comment · 2 years ago
example: apply typo-fix PRs as commits by the maintainer, so that only those who are genuine will submit those.
Comment · 2 years ago
Any examples other than Scientific Linux?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton