The best Hacker News stories from All from the past day

Go back

Latest posts:

Cheap junk flooding Amazon has brand names like MOFFBUZW

We're going to need a lot of solar panels

We're going to need a lot of solar panels

Ask HN: What are some cool but obscure data structures you know about?

I'm very interested in what types of interesting data structures are out there HN. Totally your preference.<p>I'll start: bloom filters. Lets you test if a value is definitely NOT in a list of pre-stored values (or POSSIBLY in a list - with adjustable probability that influences storage of the values.)<p>Good use-case: routing. Say you have a list of 1 million IPs that are black listed. A trivial algorithm would be to compare every element of the set with a given IP. The time complexity grows with the number of elements. Not so with a bloom filter! A bloom filter is one of the few data structures whose time complexity does not grow with the number of elements due to the 'keys' not needing to be stored ('search' and 'insert' is based on the number of hash functions.)<p>Bonus section: Golomb Coded Sets are similar to bloom filters but the storage space is much smaller. Worse performance though.

Ask HN: What are some cool but obscure data structures you know about?

I'm very interested in what types of interesting data structures are out there HN. Totally your preference.<p>I'll start: bloom filters. Lets you test if a value is definitely NOT in a list of pre-stored values (or POSSIBLY in a list - with adjustable probability that influences storage of the values.)<p>Good use-case: routing. Say you have a list of 1 million IPs that are black listed. A trivial algorithm would be to compare every element of the set with a given IP. The time complexity grows with the number of elements. Not so with a bloom filter! A bloom filter is one of the few data structures whose time complexity does not grow with the number of elements due to the 'keys' not needing to be stored ('search' and 'insert' is based on the number of hash functions.)<p>Bonus section: Golomb Coded Sets are similar to bloom filters but the storage space is much smaller. Worse performance though.

Potential fabrication in research threatens the amyloid theory of Alzheimer’s

Potential fabrication in research threatens the amyloid theory of Alzheimer’s

Hertz paid Accenture $32M for a website that never went live (2019)

Hertz paid Accenture $32M for a website that never went live (2019)

Former Coinbase PM charged in cryptocurrency insider trading tipping scheme

Former Coinbase PM charged in cryptocurrency insider trading tipping scheme

Tell HN: You can't hire because you don't post salary ranges

At the start of this year, Colorado has changed to require every job posted to list a salary range. Other states are also beginning to follow suit.<p>I am currently job hunting. I started looking locally, everything lists salary ranges, perfect. I can know which positions to skip and which ones might be a good match right away. No need to waste time with 7 rounds of interviewing only to find out the salary is 50% of what I currently make.<p>Now I've begun widening my search to remote work, as the idea of commuting to an office in 2022 is completely insane to me.<p>Most jobs on nation-wide job boards do not post a salary range. I will not even click on those job postings. It's simply not worth it.<p>Further, after seeing so many positions listed _with_ salary ranges, when I see one without a salary range it makes me feel like you have something to hide and are trying to trick me.<p>So the next time your team starts discussing why you can't seem to hire, maybe ask if you are publicly posting salary ranges on these positions?

Why we ignore thousands of daily car crashes

Why we ignore thousands of daily car crashes

I regret my website redesign

I regret my website redesign

TeamViewer installs suspicious font only useful for web fingerprinting

“No convincing evidence” that depression is caused by low serotonin levels

A brief history of nobody wants to work anymore

Flipper Zero – Portable Multi-Tool Device for Geeks

< 1 2 3 ... 538 539 540 541 542 ... 834 835 836 >