Welcome to the fuck off ai code movement. http://txtpunk.com/foac
To avoid this in the future, just added this to my Caddyfile:
@aibots {
header User-Agent *GPTBot*
header User-Agent *ChatGPT*
header User-Agent *anthropic-ai*
header User-Agent *ClaudeBot*
header User-Agent *OAI-SearchBot*
header User-Agent *Google-Extended*
header User-Agent *FacebookBot*
header User-Agent *CCBot*
}
abort @aibots
Reusable 100%.
Migrating my home domain off of Cloudflare. I gotta tell you, this is where I appreciate AI. Making this go smooth as butter!
For people who say AI is making us dumber, I disagree. Iāve learned more about coding in three months than the past 10 years.
On Complaining About AI in Pinterest on Reddit ?~L~X https://thenewleafjournal.com/b/E3S
š¶ Akiko Yano (ē¢éé”å) - Ai Ga Nakuchane (ęććŖćć”ććć) https://www.youtube.com/watch?v=I6Gomf3uqcA
@lyse@lyse.isobeef.org Thanks!
On the AI changelog part, though, Iād rather recommend to just not have a changelog at all.
Iām afraid that ship has sailed. You can rest assured that someone who uses AI/LLMs for their code (which is almost everybody at this point) will most certainly also use it for changelogs.
I actually considered not mentioning AI output at all, because this just opens a huge can of worms ⦠š
While going through these terrible GitHub release pages, I also found these āNew Project Contributorsā sections
Yeah, they play on a nerdās pride.
Now, itās just the same auto shitshow with MR titles in a rolling date-versioned release scheme. Itās just our team who has to deal with that, though. I think Iām the only one who is not a fan of it.
Iāve found that this whole situation is much worse at work than it is in the Free Software world. At work, itās literally work and hardly anybody actually cares. We still donāt have all people convinced that writing good commit messages or using good branch names is worth the time. Itās ⦠oh god, no, Iām going to stop here, this is bad for my mental health. š
Suffice it to say, all release notes at work are now AI-generated. Nobody gives a fuck.
@movq@www.uninformativ.de Hahaha, great timing! :-D I love your article and agree with almost all your points.
On the AI changelog part, though, Iād rather recommend to just not have a changelog at all.
Another important thing for me is the deprecation notice section. What do I need to look out for in the future? Should I start to migrate to another API soon? Even right now? Or does it have time?
While going through these terrible GitHub release pages, I also found these āNew Project Contributorsā sections (yeah, for that, they found the time to make a section) annoying. Donāt get me wrong, sure, credit where credit is due. But come on. Soooooo much space for an inefficiently formatted (and also unsorted) list. At least it was easy enough to skip over it.
And then, there are also these changelogs or rather notice documents in general that are infested with multicolored emojis all over the place. My brainās spam filter kicks in and shoves everything to /dev/null immediately. Itās especially a thing at work.
In my previous work project, we also used the Keep A Changelog Format. That was great. You wouldnāt believe how often I resorted back to that document. At least twice a week, often several times a day. I was very glad that we put in this effort. Of course, writing the changelog took its time, but it was worth every minute and more. Reading a many months old item, it was immediately clear. I was our best customer in that regard.
Now, itās just the same auto shitshow with MR titles in a rolling date-versioned release scheme. Itās just our team who has to deal with that, though. I think Iām the only one who is not a fan of it.
A good article on AI: https://www.theatlantic.com/philosophy/2026/06/no-artificial-intelligence-is-not-conscious/687378/
@itsericwoodward@itsericwoodward.com That DORA quote is 𤯠ā and it perfectly explains why AI coding tools terrify me in certain contexts. Dropping Copilot into a codebase full of technical debt isnāt gonna fix the debt, itās just gonna write more of it faster 𤣠Fred Brooks would be nodding his head right now š
(#xbh2sbq) @itsericwoodward@itsericwoodward.com That DORA quote is 𤯠ā and it perfectly explains why AI coding tools terrify me in certain contexts. Dropping Copilot into a codebase full of technical debt isnāt gonna fix the debt, itās just gonna write more of it faster 𤣠Fred Brooks would be nodding his head right now š
@movq@www.uninformativ.de Related reading (if youāre interested): Letās Talk about LLMs by James Bennett
First, it quotes the DORA report on the āState of AI-assisted Software Developmentā:
The research reveals a critical truth: AIās primary role in software development is that of an amplifier. It magnifies the strengths of high-performing organizations and the dysfunctions of struggling ones.
At the end, it quotes the late Fred Books:
The first step toward the management of disease was replacement of demon theories and humours theories by the germ theory. That very step, the beginning of hope, in itself dashed all hopes of magical solutions. It told workers that progress would be made stepwise, at great effort, and that a persistent, unremitting care would have to be paid to a discipline of cleanliness. So it is with software engineering today.
@movq@www.uninformativ.de Wow, Iām sorry to hear about that. Permanent emergency mode sucks, Iāve been there, and it always felt like drowning.
Fortunately, at my current job, weāve been given time to keep our technical debt from overtaking the project. Unfortunately, weāve been forced to use AI (mostly in the form of GitHub Copilot). Of course, now that the tokens cost more than a developerās salary, theyāve been rethinking that position somewhat. š
In my experience, you are 100% correct - even in the best case, AI is a force multiplier. If the code is clean, it can speed you up. But if the code is a mess, itāll just multiply the mess.
@movq@www.uninformativ.de Yes.
Maybe management should replace itself with AIā¦
Okay. I have lost the ābattleā against āAIā at work and I will no longer try to āfightā any of it.
It is simply what people want. They want to use it. And thatās the end of it.
And why do they want it? Because it makes their job easier. And why is that? In very large parts, itās because we have accumulated a metric fuckton of technical debt due to decades long mismanagement. We were (and are) operating in āemergency modeā all the time. There simply was no time to clean things up or to rethink designs. We always have to go with the cheapest and quickest solution. We are never ahead of things: Earlier this year, I started an initiative and wanted to tackle some issue that I could see coming. I was shut down because this wasnāt āurgentā. Very soon after, this exact thing became that exact problem ā but now, there was no time anymore to do it properly because NOW itās urgent, so, once again, we had to go with a quick and dirty solution.
Itās always like that and I had brought it up again and again. And now we have a huge spaghetti mess that hardly anyone understands anymore.
Nobody ā except AI. It can still make some sense of this and, obviously, this is useful to people.
So, any argument I make against AI is completely pointless to begin with. Iām such a fool for not having seen this earlier.
The last argument I made today was: āLook, we already have so much technical debt and spaghetti systems, we really, really must clean this up. If we throw AI on top of this now, itāll only get so much worse.ā And once more, I was shut down. My intentions were āadmirableā, but āthereās no time for thatā.
Okay. Good luck with that. Theyāll keep doing it this way. At some point, itāll either explode entirely and some poor soul has to clean it up, or itāll explode and theyāll have no other choice but to throw everything away and start from scratch ā assuming they can still afford that.
In other words, none of this about AI, really, nor caused by it. Our departmentās massive spike in AI usage is just a symptom of the underlying management issues. And since those arenāt being addressed, nothing will change and this whole mess will only get worse.
(I blame all this on management, because, well, thatās whoās to blame. I do not have a solution for it, though ā and assigning blame without constructive criticism always sucks big time. I donāt like doing this. If you had put me into that particular management position, I wouldnāt have been able to solve any of this. The thing is, though, Iām not an expert on management and it isnāt my job ā Iām just the āprincessā who solves your technical issues.)
On the subject of debugging these so-called AI(s) / Black Boxes⦠the model is a black box sure, but thatās not really the problem. Everything around it ā the inputs, the outputs, the decisions it makes ā all of that can and should be fully logged, traced and replayed. The āprogramā isnāt the model, itās the full context you feed it. Thatās what you debug. Itās not so different from any other system really; if youāre running something in production with no logs, no structured outputs and no tests, youād have the same problem. The model doesnāt change that discipline, it just makes it more important.
itās āprobabilisticā not ādeterministicā
Yep, I know. And when I tell that to people and tell them āif we use AI here, we lose the ability to debug this stuffā, then all I get is: āBut itās good enough. We donāt need to debug this. Non-deterministic computing has its use cases.ā
But that is just not how Iād like to model/implement our business processes. š¤ I want something reliable, not āit mostly worksā.
@movq@www.uninformativ.de Iām kind of flag you bring thi sup, because you simply canāt. You wouldnāt even be able to in an atypical neural network either (which is what ehse things are anyway). The problem here really isnāt the so-called āAIā (I wish weād stop calling it AI), but the flawed usage(s) thereof. I believe I even stated earlier in this thread that sometimes it may not do what you expect, itās āprobabilisticā not ādeterministicā ā those pushing for greater use need to understand this, those not happy with the āpushā, should educate the ignorant here (especailly managers pushing for weak, insecure and bad uses).
@prologic@twtxt.net Ahh, I see. Okay, Iām with you there. On this high level, I can understand how the thing works.
Maybe my wording isnāt good. š¤ Letās take a real life example from what we do at work.
Thereās this AI chatbot. It gets support requests from users, so the user says something like āI need access to a particular systemā. This triggers the bot to ārunā the instructions stored in a large Markdown file, like ācheck if the user is authorized to do this, then issue the following API requestsā, and so on. This is essentially like running a little script, except itās written in natural language (German) and thereās no āscript interpreterā but just the AI.
Now, suppose that the AI doesnāt quite do what was intended. Thereās some subtle bug. How do you debug this? How do you find out how the AI came to the āconclusionā to run step A instead of step B? And how do you find out how exactly you have to change your prompt so this doesnāt happen again next time?
If this was an actual script/program instead of AI, you could repeat the request and attach a debugger or throw in some printf() or whatever. How do you do that kind of thing with AI? How do you pinpoint exactly what the problem was?
(Or is this just a stupid idea? Do we have to give up that way of thinking when using AI? Is the era of debuggability over?)
@prologic@twtxt.net Yeah, itās hard to get my point across here. I tried to address that a few paragraphs down.
Yes, I can tinker with AI techniques on a general level. Thatās cool but not really my area of interest.
What I certainly canāt do is learn how specific AI products work. I canāt possibly find out why Claude Code produced that particular line of code. Claude is just a magic box that does something and I have to trust it.
@bender@twtxt.net Fine, Let me answer properly and concretely š
Would you want your children not to learn anything, because āthey have AIā?
No, children still need to learn. That will never change. What they learn however will over time.
Are you OK with your children using the AI for all of their homework?
Yes, frankly I am. Why? Because much of what we teach them in school is utterly pointless.
For example, learning to read Shakespear never taught me anything useful in my life. I regret much of my school years to be honest.
I leanred to read and write, sure. But I learned Math, Science, Computing and how things work on my own by being very curious.
What sense will it make?
That assumes I answered ānoā, which I did not. So it all makes perfect sense :D
What kind of future would that bring for them?
This assumes I said āYesā, which I did :D It will be an itneresting future thatās for sure. I donāt think we can just bury our heads in teh sand and pretend itās all going to go away, It will not. It will make things very interesting for sure, as weāre already starting to see whatās possible and whatās changeing. For example; ordinary people are using these LLM(s) to write their legal suit and defense in courts with varying levels of success.
Even if AI were to become omniscient, what will it be of the human race then?
Iām not convinced it ever will. In fact, I am not convinced we know how to create true intellience at all.
What would we do?
What would be so different from say an Alien invasion from far superious beings?
What would we do that? Band together and defend humanity?
Serve the AI? Maintain the AI?
That assumes that āAIā will become intelligent and omniscient, which I donāt believe it ever will.
Would we have found the true meaning of life then?
If the meaning of life is to create our own sub-species liken to ourselves, sure, maybe. But is that even a reality? not sure, I doubt it. We barely understand ourselves at the best of times, let alone how our minds works.
To care for AI, Is that it?
How would this be different to caring for a friend, a family member If we could ever truly reate an actual sentient being with real feelings and intelligenace, is there any reason to worry? Could we not be freinds and have mutual goals and form relationships?
@prologic@twtxt.net so, āpeople with no inner monologueāa condition researchers sometimes refer to as anendophasiaā, says the AI. Then āit is not a disorder: lacking an inner voice is simply a different, perfectly healthy way of being humanā. Ah, so a condition, but a healthy one. Got it.
Again, I am not talking about a true monologue. If you have never thought āOK, letās do this!ā before engaging on an activity, then alright. Weird, in contrast to the rest of us, hard to believe, yes, but I believe you. Much of the troubleshooting, and creativity that comes with thought involves, well, thoughts. Maybe you are closer to AI than the rest of us, indeed! š¤Ŗš
@bender@twtxt.net Now thatās an interesting philosophical viewpoint right there. But this assumes that the āAIā we seemingly have available to us today is actually telligent, understands and has cognitive reasoning. It does not. All of these LLM models from big-tech companies like Anthropic, OpenAI, Google, Microsoft, Meta and Alibaba are all just very powerful, very large multidimensional neural networks with attention that are very good at statistical probabilities of āwhat comes nextā. I think we get really upset over the wrong things sometimes. We need to continue to be upset that these 𤬠companies have basically destroyed any meaningful value of the concept of Copyright and Intellectual Property and Works of art. The so-called āAIā we have today is just a tool. Can you say for certain that the typewriter and the computer ruined our ability to write? Perhaps yes, but we still learn how to do so, likewise, I still think that learning to write code, research, read and write are all valuable skills to learn. Later on once you have the basics, you can defer some of the ātediousā work to these models, because frankly, theyāre far better at inferencing and pattern matching than you or i will ever be, not because theyāre better at pattern-matching per se, but because they have been trained on a very large corpus and they are much much faster at doing the same basic things we are far superior at.
@prologic@twtxt.net let me ask you this. Would you want your children not to learn anything, because āthey have AIā? Are you OK with your children using the AI for all of their homework? What sense will it make? What kind of future would that bring for them? We need to analyse the repercussions from all angles, even if AI were to provide absolutely flawless answers every single time. Even if AI were to become omniscient. What will it be of the human race then? What would we do? Serve the AI? Maintain the AI? Would we have found the true meaning of life then? To care for AI. Is that it?
Is it the fact that ābig techā companies have basically stolen all of human knowledge to their benefit to build these AI(s) thatās the problem? Or is it that these AI(s) can write code better than you can (some of the time)? Or is it that because of all of the above, thereās no joy left in writing code anymore? š¤
@movq@www.uninformativ.de Iām very curiousā¦
What I like about this whole computer stuff is that you can explore how
things work. You can dig through problems and solve them. Nothing is
more satisfying than finally understanding something after you scratched
your head for some hours.
Surely you could do the same with AI? Tinker with how it works, study it, understand it, build your own and realize what it really is (without all the big tech hype)?
@lyse@lyse.isobeef.org Thanks! There are a few points in there that Iāll add to my list.
Your very first point is obviously crucial. āWriting codeā is just the means to an end for many people and they donāt really care about it or like it, so they love AI. I had this in another draft (it refers to the other list I posted):
https://movq.de/v/614f14c3ef/ramble.txt
And this right here is so important:
simplicity is the real art and much harder to achieve.
Finding an elegant, simple solution is waaaaaaaaaaaaaaaaaay harder than anything else. And hereās the thing: I donāt get why nerds/techies donāt get ānerd-snipedā by this. A lot of people love building big stuff and then brag about being clever/competent because they were able to build that big thing ā but once you realize that this approach is the lazy one, shouldnāt you make finding the elegant solution your goal? Doesnāt that give you more bragging rights?
(Am I being clear? Do you understand what I mean? š )
Of course, @movq@www.uninformativ.de! Most of my points are also included in your list.
First of all, programming is what I really do enjoy the most. So, it doesnāt make any sense at all to not do this anymore. āBut you could use your now free time to do something much cooler and more valuable!ā, others might reply. Fuck no, I donāt want to waste my time with other shit that doesnāt fulfill me, why on earth would I want to do that?
All this hallucination reduces quality badly. In my experience, itās also happening much more rapidly than I expected. Even though developers are still supposed to own and understand whatever has been generated under their name and even be responsible for that, the sad reality is that teammates often blindly trust the AI output. āBut I asked the AI and it told me that $this was impossibleā, āIāve no idea either, but the AI just generated itā are responses I get more often. What really makes my angry is when I point out a flaw and suggest an alternative and this is the reaction. It happened several times that just trying it out and seeing it clearly work to proof my point only took me half a minute, but people still did something handwavy else instead.
The learning effect is drastically reduced. The more time I spend on a topic, the better the odds that whatever I learned actually makes it over into long-term memory. Itās like if a collegue just says ādo it like thatā or āthis solves your problemā, but neither explains the why or how. Somehow, people are still convinced that itās a completely different story when you replace the human counterpart with a computer program in this equation.
Skills are unlearned. Itās like with automation in general, just much worse. You end up in a state where youāve no clue how anything works under the hood or how to actually find out important information that are needed to solve your problem. Youāre screwed when a process breaks out of the blue. Even though it can become also rather terrible, with classical automation youāre typically still be able to decipher how exactly the thing was supposed to do something.
The energy consumption is sooo high, I absolutely do not want to be a part in burning down our planet. Iām sure I find (and probably have long found without knowing) other ways to contribute to worsen our climate crisis.
The scraper part is already covered in detail in your list. :-)
Iām convinced that license and copyright violations are only played down or even refused entirely because companies want to make big money quickly. With the work of others of course. Their double standards are obvious, they still try to actively keep their own stuff secret and out of any training sets. At most for internal use only. Virtually noone in charge is interested in good long-term solutions. Short-term for the win, when disaster eventually strikes, the causers are long gone, the responsibilities in other hands.
Vendor lock-in is something that lots of folks are only realizing very slowly. Itās completely crazy to me. This drug dealer routine should be well-known by now. Itās fucking everywhere. Yet, people are always surprised when they found themselves caught in it.
Adding new AI stuff only increases complexity. But complexity is the enemy that everybody should fear and reduce as much as possible. Of course, this is not limited to AI at all. And everywhere I look around, people in charge looooove to make things way more complicated than they ever need to be. Yet, simplicity is the real art and much harder to achieve.
I donāt understand why we have to go back full force to the ambiguity of natural languages. This alone should be more than enough to realize what a stupid idea all that is. Linked to that is that the āinstruction setā is interpreted differently with newer model versions. I mean, is has to be. Why else would somebody want to upgrade in the first place than to get more Powerful⢠Featuresā¢?
Some people argue that with AI the democratization is empowered. However, in my view, the exact opposite is the case. Models are getting so large that you can basically not run them locally or even train them. So, you have to rely on whatever the vendor offers you and runs for you. In the end, this only gives the owners more power, the multi billionaires. Not exactly what I understand by democratization.
Finally, technology assessments are missing completely. Or they are faked such that mostly only the (questionable) benefits are listed. But all the negative impact is just ignored.
Letās keep some popcorn around for when this all explodes. :-)
@movq@www.uninformativ.de If you really like to, you can try to negotiate with your employer that you can leave earlier. At least some mates were successful in that. I mean, itās also in the companyās interest to not have to pay someone who has already mentally resigned long ago.
And on the bright side, you donāt even have to hand over anything. Your boss doesnāt have to look for a successor, so they can just let you go even sooner. This AI shit will simply continue whatever you did, no problem!!
Itās so crazy. I should probably also look for something else. :-(
Iāve started collecting reasons against AI usage here, so I donāt have to repeat myself all the time:
Itās official now: People are vomiting AI code into a repo that Iām supposed to maintain. At the same time, I donāt have the authority to decline those PRs.
RIP.
I am so tired of hearing film professors banging on about āAIā, as if they had any kind of clue what they are talking about
Iām still having some fundamental design issues with my TUI widget system, so Iām still not comfortable making this code public.
But after a day of work (and discussing AI ad nauseam at work), I just donāt have any energy left. š
Je pige pas les maths derriĆØre, mais apparemment il est maintenant [ā¦] š https://yom.li/notes/20260428123534 š https://smsk.dev/2026/04/26/ai-cannot-self-improve-and-math-behind-proves-it/
495 turns and about ~4hrs alter I won! š Small map, 2-players, myself and an AI player. š
ā It took forever to beach the island the AI player was on and get enough Galleyās and Swordsmen just to push back and eventually slowly destroy all enemy units and capture all cities! š¤£
As an enjoyer of delightfully bad graphic design, found on most Czech village center cork boards, Iām sad to see the stolen clipart and badly cropped watermarked stock images, gradually replaced with AI slop.
This is far from a serious rant, but generating images of my kind being telepathically hit with sharp rocks, surely gives me a right to complain.

So far these seem the most prominent slop categories, seem to beā¦
Architecture slop:
- find a sketch of what an old building looked like

- generate an AI version, without correcting any of the perspective errors - this one is diagonally levitating

- generate a recreation of the buildings demise - after going through the AI, for the second time, it is now a completely different building

Moralizing slop:


History slop:

AI Today, Calculators Back in the Day ?~L~X https://thenewleafjournal.com/b/Dyu
@movq@www.uninformativ.de LOL. I think I get the idea. I am concerned about AI too. Managers starting with āI donāt know anything about this, but here is what saysā. Infuriating.
I came across this one today, here is a gift link: https://www.nytimes.com/2026/04/15/opinion/art-artificial-intelligence.html?unlocked_article_code=1.bFA.XNiu.ZukFfdNl3Al1&smid=nytcore-ios-share
@bender@twtxt.net Or maybe Iām just shitty at communication and maybe thatās why nobody at work understands my āargumentsā against AI/LLMs. š¤Ŗš¤£
(Iām too tired to rephrase the OP. Maybe some other day. Actually, rest assured that I will complain about this again. š )
Another AI rant:
One of the ākey featuresā of LLMs is that you can use ānatural languageā, because that is supposed to be easier than having to learn a programming language. So, when someone says to me, āI automated this process using AI!ā, what they mean is: They have written a very, very large Markdown document. In this document, they list what the AI is supposed to do.
In prose.
This is a complete disaster.
Programming and programming languages have one crucial property: They follow a well-defined structure and every word has a well-defined meaning. That is absolutely brilliant, because I can read this and I can follow the program in my head. I can build a mental model. I can debug this, down to the precise instructions that the CPU executes. This all follows well-defined patterns that you can reason about.
But with these Markdown files, I am completely lost. We lose all these important properties! No debugging, no reasoning about program flow, nothing. Itās all gone. Itās a magic black box now, literally randomized, that may or may not do what you wanted, in some order.
People now throw these Markdown files at me ⦠and ⦠am I supposed to read this? Why? Itās completely random and fuzzy.
Sadly, these AI tools are good enough to be able to mostly grasp the authors intentions. Hence people donāt see the harm they cause, because āit worksā.
We already have a ton of automations like this at work: Tickets get piped through an LLM and these Markdown files / prompts determine what will happen with the ticket, and maybe they trigger additional actions as well, like account creation or granting permissions. All based on fuzzy natural language ā that no two humans will ever properly agree on.
Jesus Christ, weāre now INTENTIONALLY bringing the ambiguity of legal texts and lawyers into programming.
Using natural language is NOT easier than using a programming language. It is HARDER. Have you people never read a legal contract? And that stuff can STILL be debated in a court room.
I canāt begin to comprehend why we, tech folks, push this so hard. What is wrong with you? Or me?
(And, once again, weāre ignoring other factors here. LLMs use a ton of energy and ressources, that we donāt have to spare. Itās expensive as fuck. It doesnāt even run locally on our servers, meaning we give all these credentials and permissions to some US company. Itās insane.)
even our hippest AI enthusiasts found it absolutely terrible
Does this refer to the training course or to the tools themselves? š¤
@movq@www.uninformativ.de I couldnāt agree more! I also have the feeling that it causes more people to just accept āitās a software problem, thereās nothing that can be done about itā. Which is very frightning to me.
Up until now, I was successful in refusing to actively use that crap. I had to do one mandatory AI training, but even our hippest AI enthusiasts found it absolutely terrible. Probably also nailed together by the same rubbish they want us to now use everyday as much as possible.
Code reviews are the part that I have to deal with most. And I believe that the code quality is degrading.
Letās hope the bubble bursts sooner than later. It will definitely burst at some point. Thatās for sure.
@lyse@lyse.isobeef.org Yes, and thatās why Iām 100% convinced that weāll see a massive brain drain in a couple of years. This will affect young people even more, because they donāt have all the āoldā knowledge to fall back on.
Itās concerning, Iāve warned about it many times, nobody listens.
I think the best thing one can do is explicitly not use any AI tools but keep your actual skills intact. Might be out of a (good) job for a while, but once this bubble bursts, this is who is going to get hired again. (I think.)
And considering how insanely expensive all this is, Iām still (mostly) convinced that the bubble will actually burst. This stuff just isnāt sustainable.
⦠or I might be wrong. And if so, I see an even darker future that I donāt want to put into words right now.
@lyse@lyse.isobeef.org AI result ahead, feel free to ignore.
I āaskedā the AI at work the same question out of morbid curiousity. It āsaidā that SQLite converts that integer to floating point internally on overflows and then, when converting back, the x86 instruction cvttsd2si will turn it into 0x8000000000000000, even if the actual floating point value is outside of that range. So, yes, it allegedly actually saturates, as a side effect of the type conversion.
I couldnāt find anything about that automatic conversion in SQLiteās manual, yet, but an experiment looks like it might be true:
sqlite> select typeof(1 << 63);
āāāāāāāāāāāāāāāāāāā®
ā typeof(1 << 63) ā
āāāāāāāāāāāāāāāāāāā”
ā integer ā
ā°āāāāāāāāāāāāāāāāāāÆ
sqlite> select typeof((1 << 63) - 1);
āāāāāāāāāāāāāāāāāāāāāāāā®
ā typeof((1 << 63) ... ā
āāāāāāāāāāāāāāāāāāāāāāāā”
ā real ā
ā°āāāāāāāāāāāāāāāāāāāāāāāÆ
As for cvttsd2si, this source confirms the handling of 0x8000000000000000 on range errors: https://www.felixcloutier.com/x86/cvttsd2si
The following C program also confirms it (run through gdb to see cvttsd2si in action):
<a href="https://yarn.girlonthemoon.xyz/search?q=%23include">#include</a> <stdint.h>
<a href="https://yarn.girlonthemoon.xyz/search?q=%23include">#include</a> <stdio.h>
int
main()
{
int64_t i;
double d;
/* -3000 instead of -1, because `double` canāt represent a
* difference of -1 at this scale. */
d = -9223372036854775808.0 - 3000;
i = d;
printf("%lf, 0x%lx, %ld\n", d, i, i);
return 0;
}
(Remark about AI usage: Fine, I got an answer and maybe itās even correct. But doing this completely ruined it for me. It would have been much more satisfying to figure this out myself. I actually suspected some floating point stuff going on here, but instead of verifying this myself I reached for the unethical tool and denied myself a little bit of fun at the weekend. Wonāt do that again.)
Everything changes, right? I know we sound like curmudgeons, and perhaps AI is the next step. We are living its early infancy, the struggles and dislikes, the errors and flaws, and generations after us will simply benefit from it, and see it as natural as my children see the Internet today (it isnāt natural to me, I was born way before it).
Or maybe AI isnāt the next step. Either way, whether we like it or not, there is truly absolutely nothing (or close to) we can do. Well, complain we can, of course. :-P
https://www.flikai.com/ https://x.com/flikai https://www.thestreet.com/crypto/newsroom/flik-unveils-breakthrough-generative-ai-agent https://predis.ai/fi/resurssit/parhaat-teko%C3%A4lyanimaatiogeneraattorit/ https://www.adobe.com/fi/products/firefly/features/ai-animation-generator.html
Via https://github.com/newsboat/newsboat/issues/3220#issuecomment-4198066671 I came across this nice selection on why not to use AI: https://github.com/Vxrpenter/AIMania/blob/main/WHY.md#why
This then lead me to the slopware list: https://codeberg.org/small-hack/open-slopware
Holy shit, thereās even more than I thought. :-O In addition to Vim, the following affects me more or less daily (but hopefully not my ancient versions): curl, VLC, ImageMagick, rsync, Python, systemd and even the Linux Kernel itself. Oh fuck me dead. :ā-(
Who is the AI agent? write some text for the agent: Yam Adonay, Yam Adonay. Sisu vesimhu beyam Adonay.
Who is the AI agent?
Please, get out, AI agent⦠Just GET OUT!