News for hackers. Stuff that matters.

fis

Re:Apple HomeView on Tuesday October 13, 2026 @11:40AM (#50073461)
This sounds a lot like the Telescreen from 1984.
zstd had a data corruption bug until quite recently. Eventually it may supplant gzip as the de facto standard, but it's too soon to declare it better in every objective way. Give it time.

https://news.ycombinator.com/item?id=35446847

Re:Ask HN: What problem do you wish someone would solve? on Sunday February 06, 2022 @10:57AM (#30233655)
Cleaning and organizing the house. Decluttering, identifying the right place for all our stuff, keeping it here. Scrubbing, wiping surfaces. Washing, folding, putting away laundry. Sweeping and vacuuming floors. Cleaning and organizing the yard. Pulling weeds, avoiding them in the first place. Pruning and maintaining plants. Planning, building, and maintaining landscape elements. Collecting and disposing yard waste. Cleaning gutters. Cooking. Cleaning the dishes. Deciding what to cook for dinner given what's in the fridge and pantry. Meal planning
Re:Why are American houses so flimsy and poorly built? on Tuesday October 05, 2021 @06:37AM (#28757580)
The article poses the question but doesn't try to answer it. There are some plausible sounding answers here in the comments. Mostly that it is cheaper to do it that way. But wouldn't that be true elsewhere too?
Re:Robinhood Trader May Face $800k Tax Bill on Tuesday April 20, 2021 @04:44PM (#26881379)
How is it possible for the tax liability to exceed the profit? The article mentions wash sales, but it doesn't explain what sequence of such trades can cause this situation.
Re:FreeBSD 13.0 Beta1 Now Available on Saturday February 06, 2021 @09:23PM (#26052065)
The parent mentioned "This data is being collected anyway via endpoint technologies like Samsung's Automated Content Recognition (ACR)". If that's true then the encryption isn't really helping.
Re:Cscope: A developer's tool for browsing source code on Friday January 01, 2021 @10:57PM (#25610256)
Yes this is how I use it and I love it. I think some IDEs havee similar capability but for vim users cscope is an great way to understand large code bases by quickly jumping through callchains. There's a 'Using Cscope with Vim' tutorial on the page that covers it.
Re:Dev Fonts on Friday November 20, 2020 @07:37AM (#25159841)
Re:Two Workers Are Quadratically Better Than One on Thursday November 05, 2020 @07:28PM (#25003634)
This article isn't about Amdahl's law, it's about queueing theory. Little's law would be more applicable.
Re:Pebble: A RocksDB Inspired Key-Value Store Written in Go on Tuesday September 15, 2020 @06:00PM (#24487241)
The name is a little close to this existing LevelDB fork, maybe consider a different name? https://github.com/utsaslab/pebblesdb
Re:Draft of my perf book is ready – Easyperf on Thursday June 25, 2020 @09:03PM (#23647656)
Link to the book itself seems to be missing.
As I recall the solution then was "buy Spinnaker". :) . Join us at HPE storage, we'll do it right this time!
I also did not follow what is special about 2^n/phi. I found this more concise justification: http://mathforum.org/kb/message.jspa?messageID=431065

"Knuth's finding was that the dispersion of indexes for a sequence of consecutive keys is maximized when M is chosen this way, thus a multiplicative hash table with a dense set of keys will have the fewest possible collisions when M approx= 2^N * R."

Although, if the keys are dense, then we could just use the low bits directly. I guess the unstated assumption is that in the real world, we'll have a mix of keys that are sequential and keys that are strided in such a way that using low bits directly would cause a lot of collisions. So we need a multiplicative hash to take care of the latter and we should use 2^n/phi to take care of the former.

Austin, you've done a lot of great work on this. What is the hash function you'd use today for small (<=32byte) keys?

Re:Ask HN: What's one book you've recently read and enjoyed? on Sunday January 03, 2016 @07:27PM (#10833346)
Godforsaken Sea - Lundy
Re:A collection of Unix terminal/console/curses tools on Friday February 28, 2014 @06:50PM (#7322334)
ITT people who don't think those tools are obscure