Better HN
topnewbestaskshowjobs
Log inSign up

drycabinet

9 karma · joined Apr 27, 2024 (2y ago) · 14 submissions

Submissions

1.

Apple Wi-Fi Positioning System can be abused to track people around the globe(theregister.com ↗)

2 points · by drycabinet · 2y ago · 1 comment

comment 2y ago · link · parent

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.

3.

The Benchmark Paradox (2014)(brendangregg.com ↗)

1 points · by drycabinet · 2y ago · discuss

comment 2y ago · link · parent

That part of the man page sounds confusing. Is it unconditional and enabled by default?

comment 2y ago · link · parent

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 2y ago · link · parent

Wait until you switch to unions in rust and ask yourself whether it is a union or a struct.

comment 2y ago · link · parent

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 2y ago · link · parent

Is RISC-V technically superior or is it just about the license?

comment 2y ago · link · parent

Might sound surprising until you remember there used to be Lisp Machines.

comment 2y ago · link · parent

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 2y ago · link · parent

No pipe organ in any of these?

comment 2y ago · link · parent

Maybe a stupid question, but how do you compare this against GPT-based search engines?

comment 2y ago · link · parent

example: apply typo-fix PRs as commits by the maintainer, so that only those who are genuine will submit those.

comment 2y ago · link · parent

Any examples other than Scientific Linux?