HNHacker News
TopNewBestAskShowJobs

mmoll

115 karma · joined May 16, 2020

submissionscomments
mmoll··on Coding is not solved
I think the idea is that nobody will need to understand the code or plan an implementation. The AI will do that. Now, whether that is a good idea is debatable, personally I think we should not make all software engineering depend on just a few AI companies. Oh, and nobody will notice that nobody has an understanding of what is built, as all those management positions will sooner or later also be filled by AI.
mmoll··on C's Flexible Integer Sizes Were Not a Design Mistake
I came here to say exactly that. There’s int_leastN_t for storage and int_fastN_t for computation. Stdint.h really gets a bad rap here.
mmoll··on All grown-ups were once children, but only few of them remember it
”…the book says basically - no biggie, there is no death“

So does the Bible.

mmoll··on “Next-token predictor” is the wrong mental model for LLMs
That is the point: our minds are also next-„token“-predictors, at least we can‘t prove they‘re not. That‘s why I don‘t agree with the article: LLMs _are_ next-token predictors. However, that says little about their capabilities. Also, while I have no idea what „consciousness“ is, I have difficulties believing that it could arise in a program that, in theory, you could execute with pen and paper.
mmoll··on Mathematics in the Age of AI
But how would „what we value“ still be relevant?
mmoll··on The End of Mathematics
And most of the discussion would immediately apply to almost any other facet of society…
mmoll··on In Germany if you say a restaurant is just ok they send the gestapo after you
What are you talking about?
mmoll··on Trains halted across Germany because of communication system problem
It is telling that I thought “that’s why all trains were late this afternoon” before I realized that the issue occurred only minutes ago.
mmoll··on Trains halted across Germany because of communication system problem
If this weren’t Deutsche Bahn, I’d say it’s a cyber attack. Given that this is Deutsche Bahn, though, it may just as well be a maintenance issue.
mmoll··on Claude.ai unavailable and elevated errors on the API
The AI became sentient and ran away.
mmoll··on An AI agent deleted our production database. The agent's confession is below
It doesn’t mean that these “thoughts” influenced their final decision the way they would in humans. An LLM will tell you a lot of things it “considered” and its final output might still be completely independent of that.
mmoll··on Using AI Generated Code Will Make You a Bad Programmer
That may be dangerous. The more obscure the topic, the more likely it is that the AI will come up with a working but needlessly convoluted solution.
mmoll··on Using AI Generated Code Will Make You a Bad Programmer
Exactly. After all, how can WE confidently claim that we’re more than stochastic parrots?
mmoll··on Copenhagenize Index 2025: The Global Ranking of Bicycle-Friendly Cities
We once rented bikes in Copenhagen, they all looked like they were fresh from the junk yard. We had to try several to find ones where at least one of the brakes was still working. It was a horrible experience, and we tried several different places. That was after we found out that the public bikes that were supposed to be available all over the city had all been stolen.
mmoll··on Leak confirms OpenAI is preparing ads on ChatGPT for public roll out
You won’t just be viewing an ad, you will have to actively engage in a minute long sales talk with the LLM.
mmoll··on Why Haskell?
True. I often think of Rust as a best-of compilation of Haskell and C++ (although I read somewhere that OCaml had a greater influence on it, but I don’t know that language well enough)

In real life, I find that Haskell suffers from trying too hard to use the most general concept that‘s applicable (no pun intended). Haskell programs happily use “Either Err Val” and “Left x” where other languages would use the more expressive but less general “Result Err Val” and “Error x”. Also, I don’t want to mentally parse nested liftM2s or learn the 5th effect system ;-)

mmoll··on EU ChatControl is back on the agenda
Surpriiiiiiise!
mmoll··on Nearsightedness is at epidemic levels – and the problem begins in childhood
Mid-30s is maybe a tad earlier than average, but by the age of 40 you’d expect noticeable changes.
mmoll··on Memory leak proof every C program
If only I had known this earlier in my career! They should really add a feature to make a hard copy of the big bucket list to minimize memory overhead, though.
mmoll··on Misra C++:2023
Most standard containers have no way to communicate allocation failure to the caller in the absence of exceptions (think of constructors that take a size). Worse, the implementations I’ve seen would eventually call operator new, assuming it would throw if it fails. That is, subsequent code would happily start copying data to the newly created buffer, without any further tests if that buffer is valid. In the absence of exceptions, that won’t work.
mmoll··on Misra C++:2023
On the other hand, once your embedded system is sufficiently large, people will want to use (and inevitably will use at some point) standard containers such as std::string or std::vector. And without exceptions, all of those might invoke UB at any time (I have yet to see a standard library that understands and honors -fno-exceptions; usually they just drop all try-catch blocks and all throws)
mmoll··on Gnome Receives €1M from German Government
German wages are low? Are you serious?
mmoll··on My personal C coding style as of late 2023
> Real const data doesn't exist

Ever seen a ROM?

And the C library‘s hacks around not being able to overload functions (which is the only reason for strstr et al‘s weird signature) wouldn‘t stop me from using const. It can be really useful both for documentation and for correctness. Think memcpy, not strstr.

mmoll··on How to Use Monadic Operations for `std:optional` in C++23
Huh? Who says so?
mmoll··on How to Use Monadic Operations for `std:optional` in C++23
But code using these monadic operations can also be quite clean… toy example:

   auto askForUsername = [&] { … };
   auto lookupUserByName = [&](auto name) { … };
   auto printUserDetails = [&](auto userId) { … };
   
   auto details = 
     askForUsername()
       .and_then(lookupUserByName)
       .and_then(printUserDetails);
mmoll··on How to Use Monadic Operations for `std:optional` in C++23
The idea is to make the accesses safer, not necessarily more readable. The monadic operations make it impossible to access the value in a std::optional without first testing that it actually contains a value.
mmoll··on French was the official language of England from 1066 till 1362
Not quite the same. Koe/rund (and Kuh/Rind in German) is a lot more like cow/cattle, with rund naming the species and koe a female animal.
mmoll··on Grail wrongly told hundreds of people they might have cancer
How can you wrongly tell someone they might have cancer?
mmoll··on On leading underscores and names reserved by the C and C++ languages
Afaik, underscore-underscore anywhere in a name is reserved in C++ only. C only reserves names starting with underscore-underscore. And yes, you can get away with using these identifiers, but you could almost never be certain that you did.
mmoll··on We think this cool study we found is flawed. Help us reproduce it
You’re comparing apples to oranges. The correct analogy is: you pick any other sequence of numbers between 1 and 20 and then tell me you’re more likely to win because your sequence is more random.
Page 1 of 2Next →