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
-
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 ... 😵💫12 -
Fuck….doxylamine was the cure I needed for being too productive. Seriously, I thought the whole point of sleep meds are to make you less tired the next day…bc they help you sleep?5
-
Which miracle do you think will occur first?
Will Google create a file manager for Android that isn't garbage, or will Microsoft add ext4 support to Windows?2 -
UX didn't design with localized strings in other locales being up to ~40% longer in their mock ups1
-
I have PTO and time off from overtime which can temporarily go negative.and if it's negative at end of year the rest becomes unpaid time off. Due to special tax fuckery in my country, unpaid time off actually isn't objectively a thing, instead, my company pays tax based on my nominal salary and I have to pay them back with tax
To get out of this, I negotiated a rather special position where I'm registered for 6 hour days for a few months so that I can aggregate a bunch of overtime to be spent as extra unpaid time off that we aren't paying employment tax on for no reason when no work or payment is taking place.
This creates a rather funny loophole, in that my PTO days are worth 6 hours during these months but 8 hours for the rest of the year, whereas overtime and corresponding time off is measured in hours so it's always worth the same.
Naturally, like the strategic genius I am, I started recording all my absence in this period as PTO days without thinking because I wanted to see my time off on a nice universal counter. I realized about an hour ago that I'd been taking PTO at 75% efficiency. -
Work just keeps surprising me and giving me wtf moments. They want me to finish a course in 1/10th of the time that the industry recommends just because they don't have budget for more time. I'm quite pissed off. Now I have to work 700% faster. Let's do this shit. lol
-
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 -
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
-
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!21 -
... 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 -