ahartmetz

Joined 9 years ago

Karma
8,439
Submissions
3,764
Member since
Jul 27
View on Hacker News

Recent submissions

Comment · 4 hours ago
If the problem with the previous attempt was the same as with the more recent one, well duh. Just because this approach is new and clever doesn't mean it should always be used. It should be a last resort if cost estimates for other approaches are higher than some threshold where perfect hashing is likely to be cheaper.
Comment · 8 hours ago
There is surprisingly little about the proper feeding of advanced hardware in that code, two or three constants in cost calculations of which one or two are hardware-dependent.

It is still possible that a later pass arranges jump targets to avoid false sharing of their entries (addresses) in prediction mechanisms and such.

Comment · 8 hours ago
Also you could try again, many things may have changed since then including who maintains the code.
Comment · 1 day ago
Comment · 1 day ago
In which way? I'm having trouble imagining how an S class might be hugely disappointing, except maybe the smartphone on wheels part.
Comment · 1 day ago
Another LLM weirdness is to explain what code is not doing. My theory: such negations were somehow encouraged in training because they are very valuable where used properly (and sparely) by humans. "Not doing the obvious thing due to xyz happening two modules over" is a very useful comment. "Not using bubblesort because quicksort is faster" is garbage.
Comment · 1 day ago
It's not like typical performance of Java is great and only GC pauses (or whatever) drag it down. In other words, Java is no match for Rust / C / C++ even comparing "good runs only" of both.
Comment · 1 day ago
Standard operating procedure for caches: The cache key must contain all relevant criteria to decide whether the entry contains what you want. Code for a different architecture isn't it. In a VM that might get moved around, an extended cache key would solve a lot of problems, even preserving entries for other CPUs as long as there is space.
Comment · 1 day ago
All the major projects have a large number of developers. Linux, BSD, Firefox, KDE, Gnome, Qt, GStreamer, ffmpeg, Mesa, Wine, Blender, VLC, node.js, React, Ruby, Python, Rust, GCC, LLVM, Clang, Debian...

Now, the number of projects is not that important since we are talking about people. In my entirely unscientific estimate, the majority of FOSS developers is mainly active in a project of more than ten people.

Comment · 1 day ago
So-called materials are manufactured, too, and usually not in China. Might be Poland or Hungary or Portugal though.
Comment · 1 day ago
Laws and contracts are just words unless there is someone willing and able to enforce them. Which is how constitutions are regularly ignored and perverted by dictators.
Comment · 1 day ago
Recursive pyramids!
Comment · 1 day ago
Also EU fines Meta $1B: Literally stealing from this great American company!

Minor US state fines Meta $25B: After looking at Meta's financials, I guess they can afford it, no problem.

Comment · 2 days ago
You didn't mention the one with great consistency! You can close() all of them ;)
Comment · 2 days ago
Why?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton