HNHacker News
TopNewBestAskShowJobs

ahartmetz

8,666 karma · joined July 27, 2017

submissionscomments
ahartmetz··on C++26 Contracts: Introduction to Preconditions and Postconditions
But C++ "struct" has many more features than C "struct". Virtual functions aka compiler-generated invisible vtables, constructors (initialization functions) and destructors (automagically called deinitialization functions), the whole templates complex of features...
ahartmetz··on C++26 Contracts: Introduction to Preconditions and Postconditions
On the one hand, almost everyone (including C++ fans) agrees that the language is too big. On the other hand, comtracts just formalize an existing and useful concept.
ahartmetz··on C++26 Contracts: Introduction to Preconditions and Postconditions
You can set a "contract evaluation semantic" for contracts. One of them is "observe", which only prints a message on contract violations. With "ignore", nothing at all happens.
ahartmetz··on AOSP Source Releases Are So Late Developers Disassemble Libraries to Report Bugs
Right now, "EU washing" unpopular policies is a thing. National (usually corporate) interests can make EU laws happen, and when they have, national politicians say "Sorry, our hands are tied - EU law!". So I'm not at all optimistic that the EU political organization, of all things, will reduce corruption just by getting more power. But I do think that more direct elections to powerful EU positions will improve things.
ahartmetz··on ASML's strong orders ease fears AI spending boom is running out of steam
I'm pretty sure that housing, cars and food are #1, #2 and #3. Your definition of household spending seems a little unconventional. If pets are household spending, surely so is food for humans?
ahartmetz··on AOSP Source Releases Are So Late Developers Disassemble Libraries to Report Bugs
There are unpopular decisions that are actually good, and those that are simply bad for the population but good for people closer to power. I think the latter are more common in basically any system with too little public oversight.
ahartmetz··on Xi's 'death watch' will become a global spectacle
The GDR mostly had the economic preconditions, but one problem or maybe two: its government was basically a puppet of the USSR government, and it was not brought into power by the people. Could have been interesting.

I predict that China will not achieve the communism that Marx had in mind neither. Why? Because I don't believe in predictions about radical changes in highly complex systems. You can make changes, but then you need to watch and see what actually happens instead of sticking with what some guy came up with in his room 150 years ago. Past performance of communism (so-called, but the only one that has ever existed) and current indicators (the autocrats like their power) are stronger predictors than what Marx wrote.

In a possible future if(!) and when AI can do all the work, we might need something like communism, or better extreme social democracy (democracy with massive redistribution), because the alternative is a an economic inequality that makes the Industrial Revolution times in the UK look like 70s Sweden.

ahartmetz··on AOSP Source Releases Are So Late Developers Disassemble Libraries to Report Bugs
My problem is the lack of democracy through the too-indirect way that the commission is elected. Von der Leyen was an extremely unpopular and horribly incompetent (at least in charge of defense) minister in Germany, then somehow she became president of the EU commission. Her skill seems to be politicking with other politicians. That would not have gotten her elected in an election by the people.
ahartmetz··on Xi's 'death watch' will become a global spectacle
Well yes, self-declared. China's economic success came after becoming less and less communist in practice. The most (in practice, as observed in real-world communism) communist thing about China is the authoritarian state with a one-party system, which to be sure is better than a full-on one person dictatorship.
ahartmetz··on Thunderbird for iOS
Obviously they want you to use the web interface so they can show you ads and gather more data about you (for ads).

JMAP support turns out to be a strong signal for the business model of an e-mail provider. IMAP they have to have, JMAP is for those who actually care about supporting local client software.

ahartmetz··on China Overtakes U.S. For First Time as Top Spender on R&D in 2024
Called tang ping / lie flat
ahartmetz··on Apple's new 'Switch to Safari' campaign details why you should ditch Chrome
I've been using Firefox since I think basically its 0.1 release as Phoenix in 2022 and it already worked great at the time, no need to keep IE around (which I couldn't after switching to Linux in 2003). In fact, for years it was my "always works" fallback because I was using Konqueror otherwise. Firefox had two name changes in quick succession - Phoenix, Firebird, Firefox, but it was already over in 2004 so it's weird to keep calling it Phoenix for the more important time after that. In response to the name changes, there was a funny extension to randomize the name so you got "Firechameleon" and "Hypnodinosaur": https://github.com/miraleung/firesomething-2/blame/master/de...
ahartmetz··on AOSP Source Releases Are So Late Developers Disassemble Libraries to Report Bugs
It's funny that they keep trying, it has never once worked. I think US companies are projecting their dislike for regulation and keep being surprised that EU citizens don't agree. We do not love the EU government, but it sometimes does a good thing and we do like these, especially versus the anti-consumer crap that US companies like to pull.
ahartmetz··on Redesigning source control at Anthropic
You can "fix" it (make the current reproducer not reproduce it anymore).
ahartmetz··on Character.ai has initiated voluntary Chapter 11 bankruptcy
You picked a weird example. Did you know that small children literally suck on naked tits? They must be traumatized for life.
ahartmetz··on 11 year old unsoundness bugs found in Rust borrow checker
That work is ongoing even if the RustBelt project ended. It's been a / the major focus of Ralf Jung's work for over 10 years and he's an assistant professor at ETH Zürich now, still working on it. https://www.ralfj.de/blog/categories/research.html
ahartmetz··on 11 year old unsoundness bugs found in Rust borrow checker
You are saying that there are only incorrect and mathematically proven with nothing meaningful in between?
ahartmetz··on Hackers activate automatic defrosting in supermarket fridges across Europe
It seems like a target of opportunity because the security is so incredibly bad.
ahartmetz··on 11 year old unsoundness bugs found in Rust borrow checker
At least Rust has a chance to be largely correct because it has much greater effort per amount of code (in the compiler) invested into it than most any application code.
ahartmetz··on The RAM shortage is bringing back DDR4
There is a lot of embedded software where hardware cost or energy consumption matters. Occasionally, time and money are wasted on fast software running on slow, cheap hardware made in low numbers. Other times, when hardware is made by the millions, investing more in software absolutely pays off.
ahartmetz··on Firefox Enterprise
You can't think of an enterprise that doesn't want all of its web browsing metadata collected by third parties? Some enterprises are much more security-conscious than that. I have seen protected paper trash bins in a research lab and office buildings with X-ray scanners (mainly for electronic devices, not weapons).
ahartmetz··on Firefox Enterprise
Note: that browser is Brave, I think the downvoters might have been confused
ahartmetz··on Firefox Enterprise
Well, just install the fucking extension in Firefox. There is nothing else that is as good as uBlock Origin. E.g. Reddit prevents you from reading unless you log in? There's a filter for that in an "annoyances" block-list that you can activate.
ahartmetz··on Solar panels that plug into your wall
Yes, it's designed so that total current and potential heat problems are still within safety margins of circuits built according to code. In most of Europe, one regular (or upper end of regular, depending on country) residential circuit can supply 3.6 kW (230 V * 16 A = 3680 W), so 800 W are "just" a 20% overload.
ahartmetz··on I'm sorry, but you still have to think
The LLM "abstraction" is virtually made of leaks, so it's not much of an abstraction at all. Not everything that produces output faster is an abstraction.
ahartmetz··on The RAM shortage is bringing back DDR4
If the trend to disregard performance with ever-increasing CPU power had not stopped, C++ and Rust wouldn't be as popular as they are. Something did change with the end of the free lunch.
ahartmetz··on Chip-hex:cost-benefit, energy efficiency and hexagonal
As well as non-90° angles when dividing the wafer into chips, probably. Well, I was already thinking of tiling chiplets, which the README doesn't mention.
ahartmetz··on Reducing undefined behavior in the C language
The problem is really surprising UB. I don't think that an experienced C programmer blames the compiler if some pointer offset trick to manipulate variables on the stack stops working. Compilers used to be "less smart", so they didn't get too clever about UB neither. Now they do and it surprises developers. That is a real problem.
ahartmetz··on Programming Isn't Special
Drinking "a few" beers used to be very common at construction sites. It's not anymore. (Germany)
ahartmetz··on Yandex Takes a Second Data Center Hit in 48 Hours
Giant leap for mankind
← PreviousPage 7 of 34Next →