Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Feed
All
Post Types
- Rants
- Jokes/Memes
- Questions
- Collabs
- devRant
- Random
- Undefined
Cancel
All
-
Our ex-employee wrote an amazing SQL SELECT-query consisting of 6449 characters. It has 11 JOINS and takes a solid minute to execute.
The table it fetches from has 16 records and the SQL query returns 46857 records and it was production code lmao11 -
Doing some JavaScript right now and holy moly is this one spaghetti ass language
Promises referencing closures referencing local variables referencing message handlers referencing resolve callbacks referencing ... 😵💫10 -
Ya know when you're working on a personal project, and you add a feature thinking it's a really good idea, then you don't touch the code for 6 months and it's still a good idea but you've got no idea what's broken and no idea what you need to do next?7
-
UX didn't design with localized strings in other locales being up to ~40% longer in their mock ups1
-
TIL: nginx conf does not support ' (single quotes) in comments.
2 hours of my day went out the window2 -
Keeping up the tradition!
https://devrant.com/rants/15030806/...
Now powered by the awesome Claude 4!!!! The latest bleeding edge gem in the LLM trend that by the bold claims of big tech and various youtubers is stunning and will replace programmers/insane/godsmacking
This time, I decided to post because I was on the verge of a mental breakdown and I had a firsthand experience and a bit of free time, so instead of waiting that the rage boils down, I just took the chance and so we have a fresh AI experience to proof my previous rants.
Problem:
I have an application that manages interactions between a Mediator pattern between Kafka, some http listeners and other stuff (Rabbitmq, Redis (redis= another shit) etc etc)
Kafka handling was already done, i needed to exacly replicate what was being done with kafka for http. I said, heck, we have AI, it's good to do bovine stupid work, why not let him copy the whole structure, they have also agents on copilot on vs code, and they pulled out Claude 4, let's give it faith again.
Big error.
Beside the havoc the fucking agentic AI not being able to fully copy an already existing pattern and scaffolding, it did half shit wrong.
One of the most frustrating parts, since today I have an example, was this (summarized version of the prompt because I was very much more specific also giving the AI files and pointers to the code and explaining it):
PROMPT:"I have to return fake http transports, just copy what exists for kafka and adapt it to a new transport type called "Http", this is the structure {json with the class}
AI: "I need to see the current ITransportsItemResponse interface first to understand the structure, then I'll modify ...... BLAH BLAH"
Of course I had to review the whole code.
PROMPT:"any valid reason why you dumb shithead didn't respect the IGetKafkaConnectionsItemResponse and generic IGetTransportsItemResponse format and you pulled out of your ass a full blown IGetHttpConnectionsItemResponse with extra properties when compared to IGetKafkaConnectionsItemResponse"
AI: "You're absolutely right, I fucked up. Looking at the IGetHttpConnectionsItemResponse interface, it has way more properties than the basic IGetTransportsItemResponse and IGetKafkaConnectionsItemResponse interfaces. BLAH BLAH wall of text reasoning"
Then it modified the api calls to suit the kafka objects and didn't update any class of the Http transports
PROMPT:"So you tought it was a good idea to leave the #sym:IGetHttpConnectionsItemResponse like it is respect to #sym:IGetKafkaConnectionsItemResponse ? Why? And answer the why don't apologize like a little wuss"
AI: "I left them different because they represent different domain concepts... BLAH BLAH EXPLANATIONS WALL OF TEXT"
Now ai tought it was good to do this and that but....
PROMPT: "In your fucking careful analysis didn't you reallize the "items" object are a basic representation and in the fuckin same folder there is also the object with the full set of properties?"
Literally it missed objects used in the same folder for different scopes and modified stuff without caring.
AI: "You're absolutely right. I missed that there are TWO different response types BLA BLAH"
I won't continue to not get too lenghty than it already is but the point is:
AI IS RETARDED.
People say it will replace programmers.
People says agents are the future.
Sad reality it's an overglorified broken ball of if/else that can't do shit well beside bovine work.
No amount of tutoring it with careful prompts, explainig the code and whatever else is going to fix it.
I've used gpt since gpt 3 and no model has been up to anything good, not even NLP. They suck also at the sole scope they were invented for.
I tried to ask GPT to make a curriculum based on another, I gave it the example curriculum and another one with the informations.
I carefully explained that it must not be a copy of the other, they are 2 different roles and to play by fantasy to make it look it was written by 2 different persons and to not copy stuff from the other.
Hope lost. It looked like the other curriculum was copied over and some words swapped, lol.
What a fucking joke, lmao, I am studying deep learning and machine learning to get on the bandwagon to make my professional figure more appealing, but I can already feel this is a waste of time.4 -
My favorite kind of debugging.
One of my tool is basically a giant table.
I have a new version to push.
8 rows out of 1000000 are different.
I have to find out why
Needle in a haystack. Just great1 -
Zscaler shits itself if you can reach the VPN server from multiple interfaces with different public IPs. Toy quality crap.
-
Daily driving alpine linux on my laptop. Excellent distro:
- Probably the most secure linux in the world, with very low attack surface and a lot of money being spent to keep it secure — alpine is the most popular linux for docker containers, and everyone uses docker nowadays
- no systemd (but openrc, way lighter)
- no apt (but apk, the fastest deps manager for linux bar none)
- no glibc (but musl, way lighter)
- no sudo (but doas, lighter)
- wayland and gnome work out of the box
- flatpak for heavy ubuntu-centric apps like some browsers. Librewolf, Firefox and Chromium don't require flatpak, they're in the main index
- I couldn't figure out secure boot in ubuntu. I read all the manuals, to no avail. GPT-4.5 couldn't figure it out either. It was a deal-breaker for me — I need secure boot. In alpine, I spent one morning (today) and got up and running relatively easily. It just works
- everything is stupid fast
- usually, in minimal distros, you expect the desktop part to work, but dev & serious parts to be a PITA. In alpine, both work flawlessly bc it's a server-oriented distro
Alpine ftw!19 -
... for whatever reason I started on this quest to figure out what consciousness is but I somehow never expected to figure it out much less in this way. I figured I'd meditate to it but apparently I understood it through finding some math
but also
I literally didn't expect to have the answer, like ever. maybe like a thousand years if you believe the reincarnation rumours, or at least in my 70s or something. not like. 4 years later from when I started to give a shit. that's pretty crazy12 -
new kiki zoo reform:
- only unreleasable animals are allowed to be kept in zoos
- ban cages, replace them with large ecosystems with glass panels. ecosystems are open areas with recreated microclimate that is native to the animals that live there
- ban animal shows/performances. ban circus-like animal training. let animals do their own thing
- ban private zoos. profitable zoo = cruel zoo6 -
For some reason, I feel very fortunate that neither my teacher nor my spouse has ever shoved me in the face whilst disembarking an aircraft.
-
NASA is a make-believe company. Can you name anything they've done in the last 67 years except make some low budge moonlanding movies with failed shadow alignments? Like name something, any "space mission" that had impact on human progress. I'd argue a retarded common devRanter had more impact than NASA. Don't throw me the hair vaxed wire floating videos as well. Like what the fuck America?5
-