HNHacker News
TopNewBestAskShowJobs

hgomersall

2,637 karma · joined December 17, 2021

submissionscomments
hgomersall··on A million ways to die from a data race in Go
Async and concurrency are orthogonal concepts.
hgomersall··on General principles for the use of AI at CERN
That doesn't follow. Say you write a proof for a something I request, I can then check that proof. That doesn't mean I don't derive any value from being given the proof. A lack of trust does not imply no use.
hgomersall··on Google boss says AI investment boom has 'elements of irrationality'
This was literally their policy. Make the searches worse so people search more.

https://pluralistic.net/2024/04/24/naming-names/

hgomersall··on The Miracle of Wörgl
Seigniorage absolutely relies on the fact that money redemption value is different to the value of metal (or whatever). That difference is the liability.
hgomersall··on The Miracle of Wörgl
All money ever has had an associated liability. Commodity money absolutely relied on the face value as the basis of the commodity value. Any metal/face value disparity could lead to cross border arbitrage (making use of counterfeiting), but intrinsic to the process is the associated liability of the issuer. Otherwise you're just trading assets.
hgomersall··on The Miracle of Wörgl
It's not money because there's no associated liability.
hgomersall··on My stages of learning to be a socially normal person
Each one of us occupies our hallowed space in the rich tapestry of neurodiversity. Only a few people design our social institutions though. "Normal" is looking like those few, and tbh, varies widely. Compare normal at a Cambridge academic department and normal at the local gym and normal at the BBC.
hgomersall··on A new chapter begins for EV batteries with the expiry of key LFP patents
There's always going to be excess supply at night, because demand is lower. At the moment the difference is large because battery capacity is low, but even as more batteries come online, it will stay lower because battery capacity will respond to the differential (since that's where the profit is). What's interesting is domestic battery installation is so cheap that you can capture almost all the benefits as a private buyer.

https://www.fogstar.co.uk/collections/solar-battery-storage

FWIW Good Energy are outside the price cap on their standard tariff as well. You don't have to do that many miles for the EV tariff to pay off without any additional storage.

hgomersall··on A new chapter begins for EV batteries with the expiry of key LFP patents
What's the price cap got to do with it? You can get tariffs that are very cheap and outside of the price cap: https://www.goodenergy.co.uk/wp-content/uploads/2025/11/Good...
hgomersall··on A new chapter begins for EV batteries with the expiry of key LFP patents
Electricity costs in the UK (which I believe is still in Europe) are cheaper now than they've ever been if you have the right tariff and that's all due to renewables. Granted, that's primarily at night, but for EVs that's perfect.

One can get a tariff at <7p/kWh for 6 hours in the night. That's cheaper than gas (actual gas, not gasoline).

hgomersall··on When did people favor composition over inheritance?
But classes are a really crap way to share code, since you get the is-a relationship rather than the has-a relationship which is almost always what you want to express. Rust traits and derive macros are a much better abstraction for everything I've ever done when contrasted with classes.
hgomersall··on Spec-Driven Development: The Waterfall Strikes Back
Yeah, that aligns with my thinking that such a view has rather a narrow view of a "function".
hgomersall··on Spec-Driven Development: The Waterfall Strikes Back
I don't necessarily disagree, but can you give an example of a non functional requirement that influences the design?
hgomersall··on 6B Miles Driven
Even if it's legal, it's pretty stupid.
hgomersall··on Spec-Driven Development: The Waterfall Strikes Back
A customer generally provides requirements (the system should do...) which are translated into a spec (the module/function/method should do...). The set of specs map to requirements. Requirements may be derived from or represented by user stories and specs may or may not by developed in an agile way or written down ahead of time. Whether you have or derive requirements and specs is entirely orthogonal to development methodology. People need to get away from the idea that having specs is any more than a formal description of what the code should do.

The approach we take is the specs are developed from the tests and tests exercise the spec point in its entirety. That is, a test and a spec are semantically synonymous within the code base. Any interesting thing we're playing with is using the specs alongside the signatures to have an LLM determine when the spec is incomplete.

hgomersall··on Canada loses its measles-free status, with US on track to follow
Wow, that sucks. Why so expensive? COVID is more in the UK, like ~£80.
hgomersall··on Canada loses its measles-free status, with US on track to follow
Seriously? I just had mine for £23 at the pharmacist in the UK. I just walked in and they did it.
hgomersall··on Largest cargo sailboat completes first Atlantic crossing
There are plenty of reports of crews being overworked and underslept, so clearly some shipping companies still cut corners as regards staffing.
hgomersall··on C++ move semantics from scratch (2022)
I think using a language without a borrow checker is already a massive footgun (albeit less of one for GC/RC languages). More sensible move semantics would still be a big ergonomic improvement.
hgomersall··on C++ move semantics from scratch (2022)
No, it should move properly when passing by value (as in, essentially the rust move semantics). If you want a copy, that should be explicit.
hgomersall··on Understanding traffic
In addition to the sibling comments, Braess's paradox actually goes beyond this. You can add capacity and every actor acts rationally as you describe and the net result is an objectively worse situation for everyone, in which the decisions made are still the rational ones.

Assuming nobody actually wants to move slower.

hgomersall··on Why is Zig so cool?
I'm actually curious now how this is stored on `Range` in rust. I've certainly used ..= for exactly the reason you say, but as far as I'm aware `.end` on the range is the exclusive upper bound in all cases. What happens to `.end` in the overflowing case?

Edit: it doesn't use Range for ..=, but rather RangeInclusive, which works fine.

hgomersall··on James Watson has died
It seems clear he understood it was a tricky problem, and writing at the time many of the potential problems were not apparent:

"Nevertheless, it is necessary to remember that a planned economy is not yet socialism. A planned economy as such may be accompanied by the complete enslavement of the individual. The achievement of socialism requires the solution of some extremely difficult socio-political problems: how is it possible, in view of the far-reaching centralization of political and economic power, to prevent bureaucracy from becoming all-powerful and overweening? How can the rights of the individual be protected and therewith a democratic counterweight to the power of bureaucracy be assured?"

hgomersall··on James Watson has died
Yeah, I wasn't aware of that writing but I read the Wikipedia article and what it describes seems spot on to me.
hgomersall··on Norway reviews cybersecurity after remote-access feature found in Chinese buses
It should be required that all software running on vehicles should have its source code submitted to the regulators along with the tooling to create reproducible builds, with the expectation that the regulators can audit it for back doors. This should apply to cars, buses trains and planes.
hgomersall··on How AGI became the most consequential conspiracy theory of our time
I just clicked on the article mode on Firefox. Worked perfectly.
hgomersall··on Welcome to hell; please drive carefully
Most around me seem to be in this mode. The traffic crawls past at pedestrian speed whilst a steadily growing group waiting to cross stand in vehicle fumes. There's a pretty clear principle here of flow conservation. If the light stopping traffic does not reduce overall flow then the light should change for pedestrians immediately. If the traffic flow is low, then a small reservoir is built up which clears immediately. If the flow is slow and saturated the gap that opens up can be refilled quickly. The flow range where the change actually impacts local vehicle flow is rather narrow (high, but not too high). Of course there are second order effects at associated junctions, but at that point maybe the first order interests of pedestrians should be prioritised.
hgomersall··on Denmark reportedly withdraws Chat Control proposal following controversy
I was an EU citizen. Then I wasn't. Being an EU citizen means nothing.
hgomersall··on YouTube is taking down videos on performing nonstandard Windows 11 installs
I've come to the conclusion that anyone trying to use a spreadsheet in a way that requires excel, probably shouldn't.
hgomersall··on Amazon strategised about keeping water use secret
Except that almond trees thrive in hot dry climates. Cows thrive in the rain.
← PreviousPage 5 of 34Next →