The best Hacker News stories from All from the past week

Go back

Latest posts:

Standard Ebooks

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.

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

I regret my website redesign

DALL·E now available in beta

EU Digital Markets Act, aimed at Google, Apple, Amazon, approved

Glassdoor not so anonymous

FCC: TikTok is unacceptable security risk and should be removed from app stores

I've started using Firefox and can never go back to Chrome

Scratch is a big deal

Manhattan rents cross $5k threshold for first time

Woman ‘dehumanised’ by viral TikTok filmed without her consent

Amazon admits giving police Ring camera footage without consent

James Webb first images – complete set of high resolution shots now live

Compare Webb's Images to Hubble

Your compliance obligations under the UK’s Online Safety Bill

The euro has tumbled near parity to the US dollar

Deepest infrared image of universe

< 1 2 3 ... 70 71 72 73 74 ... 118 119 120 >