HNHacker News
TopNewBestAskShowJobs

jeffbee

24,581 karma · joined April 27, 2020

submissionscomments
jeffbee··on Gemini 3.8 Live and 3.8 Live Extended Thinking
Older versions also do that.
jeffbee··on Java 27
Isn't this mostly about java cold start costs? It might be that other people are optimizing for steady-state performance, not transient startup performance.
jeffbee··on Java 27
Java is almost always significantly faster than Go because the Go runtime does a poor job of exploiting large memory page, doesn't support text-on-huge-pages, and barely supports profile-guided optimization. With HotSpot you get all of this and more for free. Go is fine but Java is peak.
jeffbee··on Principles for Fast Tokio Applications
Sure. You get the pointer, you lock the mutex, 99.99% of the time that is uncontended, then you set all the metrics and release it.
jeffbee··on Optimizing a Spin-Lock
This would have different answers depending on if it ran on a machine with a more closely-shared cache, right? For example on an Intel efficiency core cluster where 4 cores share an L2.
jeffbee··on Principles for Fast Tokio Applications
If you have a per-cpu metric there would not be a reason to use atomic instructions to mutate it.
jeffbee··on Principles for Fast Tokio Applications
Reading the clock every time you jump into a closure is in fact incredibly wasteful, and is exacerbated by chopping work up into tiny chunks for questionable reasons.
jeffbee··on Principles for Fast Tokio Applications
The difference is nobody in the C++ community believes that a dominant asynchronous executor library exists, and there is not a pervasive belief that it would be helpful.
jeffbee··on Principles for Fast Tokio Applications
I'm just reporting from the trenches here. I think you are suggesting that everyone is aware of and capable of using state-of-the-art (from 20 years ago) tracing schemes like XRay[1], when in reality they are not. Most projects would be well-served by any basic profiler but even profiling is apparently for wizards, because I've seen a lot of projects that will resort to manually annotating functions with OTel trace spans, which are ~millions of times more expensive than function calls. Even eBPF uprobe/uretprobe is 100x more expensive than XRay, at a minimum. HotSpot's JFR is like a miracle compared to what people suffer through to diagnose Rust+Tokio.

1: https://llvm.org/docs/XRay.html ... is there even a Rust analog to this?

jeffbee··on Principles for Fast Tokio Applications
I can get an LLM to trace my incomprehensible Tokio application which was also written by an LLM, which is why I don't understand its behavior. Truly the future we were promised.
jeffbee··on Principles for Fast Tokio Applications
The low cost of eBPF tracing is another myth.
jeffbee··on Principles for Fast Tokio Applications
Also a great way to make sure that your app spends most of its time in observability overhead. For example even the latency histogram that the OP mentions is wildly expensive.
jeffbee··on Principles for Fast Tokio Applications
All of the significant server applications I have encountered in the industry have suffered from the same problem, which surprised their authors but seemed obvious to me: the application was spending the majority of its CPU time doing meta-work like entering and leaving epoll, stealing work from itself, etc. There are principles for writing Tokio servers and these are good points in the OP but I think they are little-known and too easy to violate.
jeffbee··on Ubuntu 26.10 completes transition to Rust-based coreutils
Reporting bugs before Ubuntu releases has never worked for me. They always land a bunch of major changes after the supposed "freeze" then they ignore all feedback because of the freeze. It's infuriating.
jeffbee··on Data collected by cars and sold to third parties
Android Auto and Android Automotive are not the same thing.
jeffbee··on US Customs supervisor busted for stealing hardware from Homeland Security PCs
Lol no. For almost the entire 20th century, until 1992, Filipinos could just join the Navy or Coast Guard at foreign recruiting posts, without even being American residents, then get fast-tracked for citizenship.
jeffbee··on US Customs supervisor busted for stealing hardware from Homeland Security PCs
For the same reason that foreign nationals can join the military, including the Coast Guard that has an overlapping mission: it's a nation of immigrants and for centuries until very recently most Americans readily recognized the value and necessity of recruiting foreign people into various posts.
jeffbee··on LG says we're fake news [video]
Those are just all of the apps I used in 9 years in the order that I last opened them.
jeffbee··on Killing with a car costs $1.6M, California requires drivers to carry $30K
Some aspects of Prop. 103 work. The definition of "good driver" as everyone who hasn't caused a fatality in the last 3 years is not one of those aspects.
jeffbee··on LG says we're fake news [video]
I don't. That's the point of my thread. But it's clear to me that not every LG owner is seeing the same things.
jeffbee··on Killing with a car costs $1.6M, California requires drivers to carry $30K
> In-car dongles that track jerky driving, crash event recorders, and driver monitoring systems now let an insurer observe behavior directly and price it.

Uh, but not in California, because of 1988's Prop. 103. Telematics for insurance pricing are completely unavailable in California.

jeffbee··on Linux Zoom client proactively reading everything written to X11 clipboard
Feeling good about using Zoom, when necessary, in a tab in ChromeOS. Zoom is "Not allowed to see your clipboard" in Chrome preferences.
jeffbee··on LG says we're fake news [video]
Mine has been strictly MRU forever. When I look at this video, it does not resemble the software on my LG OLED TV at all. There must be several platforms or generations.

https://www.youtube.com/watch?v=J8atmvE0ArA

jeffbee··on LG says we're fake news [video]
It feels like there must be multiple completely different implementations of LG OLED TVs. I would not say that my LG has a "main screen" of any kind. When I turn mine on it shows the last input that had been used or, if that thing is off, it shows the bouncy egg and "No Signal". If I press the button on the remote that says RECENTS and has a picture of a house on it, which I guess is the "main screen", it maintains the bouncy egg but shows a ribbon of apps on the bottom. Those are my installed apps: Hulu, Prime, Peacock, YouTube, Netflix, Apple TV, and Disney+ happen to be today's recents. Where is this "main screen" where unbidden appvertisements arise?
jeffbee··on LRU is harder to beat than the KV-cache papers suggest
This is almost unreadable. The "papers" are never referenced anywhere, so the claims being refuted cannot be evaluated. The whole fact of the TTL doesn't seem relevant at all. There are many, many well-researched admission and eviction policies that this readme doesn't mention. I just don't get why we are reading this.
jeffbee··on Exercise intensity is associated with cardiometabolic health
It's an article about cellular chemistry in the journal "Cell". It seems relevant which pathway is being exercised.
jeffbee··on 118M Queries per Second on Neki
Your statement about SSD availability and performance does not fit with my personal recollections of history. Smoking fast SSDs were completely vanilla items you could order from anyone in 2015. For example, the Intel DC P35/6/700 series. Each of these was as good as 25 HDDs for linear reads and more like 5000 HDDs for random reads. The U.2 specification for putting SSDs in boxes was formalized in 2011. Outside of the mass market, cloud builders had private SSD designs long before 2015.
jeffbee··on The EPA is planning to scrap public review rules for data center pollution
A person who has never built anything before, who claims to be about to build the world's largest building, can be treated with some skepticism.
jeffbee··on The EPA is planning to scrap public review rules for data center pollution
The way to regulate that impact is with a wellhead severance tax, though. The whole fact of the data center is incidental.
jeffbee··on 118M Queries per Second on Neki
Sounds more right. Where did $250k come from?
← PreviousPage 6 of 34Next →