HNHacker News
TopNewBestAskShowJobs

drycabinet

9 karma · joined April 27, 2024

submissionscomments
drycabinet··on Computer scientists invent an efficient new way to count
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.
drycabinet··on SSD death, tricky read-only filesystems, and systemd magic?
That part of the man page sounds confusing. Is it unconditional and enabled by default?
drycabinet··on A Brief History of the First Planetarium
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!
drycabinet··on Algebraic Data Types for C99
Wait until you switch to unions in rust and ask yourself whether it is a union or a struct.
drycabinet··on Algebraic Data Types for C99
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.

drycabinet··on How to improve the RISC-V specification
Is RISC-V technically superior or is it just about the license?
drycabinet··on Let's Embed a Go Program into the Linux Kernel (2023)
Might sound surprising until you remember there used to be Lisp Machines.
drycabinet··on Large language models as research assistants
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.
drycabinet··on Brutalist Churches
No pipe organ in any of these?
drycabinet··on Show HN: I put PubMed in a vector DB
Maybe a stupid question, but how do you compare this against GPT-based search engines?
drycabinet··on What contributing to Open-source is, and what it isn't
example: apply typo-fix PRs as commits by the maintainer, so that only those who are genuine will submit those.
drycabinet··on World Wide Web (1991)
Any examples other than Scientific Linux?