drycabinet
Re:Computer Scientists Invent an Efficient New Way to Count
on Friday May 17, 2024 @05:22AM (#40387980)
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.
The Benchmark Paradox (2014)
Re:SSD death, tricky read-only filesystems, and systemd magic?
on Wednesday May 15, 2024 @06:44PM (#40373276)
That part of the man page sounds confusing. Is it unconditional and enabled by default?
Re:A Brief History of the First Planetarium
on Thursday May 09, 2024 @09:17PM (#40314637)
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!
Re:Algebraic Data Types for C99
on Thursday May 09, 2024 @09:13PM (#40314606)
Wait until you switch to unions in rust and ask yourself whether it is a union or a struct.
Re:Algebraic Data Types for C99
on Thursday May 09, 2024 @08:44PM (#40314438)
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.
Re:How to improve the RISC-V specification
on Sunday April 28, 2024 @12:03AM (#40185891)
Is RISC-V technically superior or is it just about the license?
Re:Let's Embed a Go Program into the Linux Kernel
on Sunday April 28, 2024 @12:01AM (#40185878)
Might sound surprising until you remember there used to be Lisp Machines.
Re:Large language models (e.g., ChatGPT) as research assistants
on Saturday April 27, 2024 @02:15PM (#40182151)
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.