Details
-
LocationBelgium
Joined devRant on 2/15/2020
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
-
My senior systems development manager created a pull request for the API. The PR has some database changes such as new columns, as I was testing it locally, I found out that those new columns don't have any migration file (which we're always doing when doing database changes).
So I asked why we don't have any migration for those new columns.
Then he answered that I should run some SQL script to add the columns and he doesn't have any migration and is proud to say he's using the central DB (test and live).
I also checked the Live database and was so surprised to see those columns...
Then again, I asked why we already have the columns in the Live database where in the PR isn't merged yet.
Then he answered again, I should think ahead. there are many ways to add the columns.
Like WTF??? Don't we need any migration?
I asked, if we use a fresh DB, what happens if there is no record of those columns in the migration files?4 -
I really want this whole industry to die. I want it to happen from the bottom of my soul!
Their whole job ad was about web technologies where they were asking for a 7-10 years Symfony developer.
One would think being a programmer for 10 years should superseed your shitty LLM prompt crafting requirements.
Truly, there never was a better time for global EMP to happen..16 -
As a product manager, acting like engineering is the only lever to speed up the delivery date on a project when we had the kick off meeting *last week* is slightly insulting.
Your job is to pull all the levers at your disposal to deliver your feature. Instead, you take up half the quarter figuring out what you want. Them give design and stakeholders an entire month to debate the UX before handing it off to be built.
It's simple math, and each part of the process delays the other.
But don't worry, eng will cut all the corners to get it there 🫠👍1 -
In CSS, never ever enlarge anything by hover. There will exist a set of cursed cursor positions somewhere on the edge of fully zoomed out and fully zoomed in states, which will make your UI element twitch between two states at 60+ FPS.
If you want this effect, wrap the element you want to enlarge in a wrapper whose size won't change. Add :hover state on the wrapper, not the element, and change the element in that selector. It will make the curse go away.
wrong:
.zoom:hover { transform: scale(1.1) }
right:
.zoom-wrapper:hover .zoom { transform: scale(1.1) }8 -
getting really tired of finding out that anything "popular" has the same damned globalist eugenics pedo cult behind it
either people can't make anything on their own or we are so fucked with everything so controlled you literally can't pop up as an entity unless you sell your soul to the literal unironic bond villains of the world first so they will let you pass through the channels
they even make alternative channels when they've tanked the reputation of their previous channels. and it's by the same damned people again, but they just lay in wait... to become popular. feeding off of the tension, pretending they're not the same entity...until it gets popular and then it becomes the same damned perverted thing via a takeover from within
how do you even escape this stupid prison
anyone of any importance has been bought. you need their cooperation to ride on their fame. so anything that gets any fame is the same damned game, again and again. it's like a creep that won't take no for an answer, comes back with a different mask like some endless remakes of Scooby-doo5 -
Oh for fuck's sake.
delete from FooTable where FooID in (select FooID from OtherTable)
If there is no field called FooID in OtherTable, then the bracketed select is just the FooID of the current record in FooTable, repeated n times where there are n rows in OtherTable. So it matches every record.
Which makes perfect sense, but for fuck's sake.
Obviously if this was prod I would have been using fully-qualified column names.
But nevertheless, for fuck's sake.1 -
Be stubborn. Never give users what they want. Ship some shiny feature that attracts new users, then immediately move on to the next shiny feature. Never address criticism.
Users don't know what they want. If you managed to attract them all with your skill set, you know better than all of them.7 -
Solely because I hate being told no and not because I feel strongly about the subject, I tried asking my self-hosted deepseek-r1:14b instance about a forbidden topic only to be met with the expected refusal to answer the question.
It fought me, but I am my father's son and was able to get the answer after only a few attempts. You just have to be creative with your requests.4 -
So, I have a nested ternary, right, and that's not very readable:
(x <= y ? z : (x <= z ? y : x));
The linter points this out and I'm like yeah, valid point. So I inline-F[*0] it:
if (x <= y)
········return z;
else if (x <= z)
········return y;
else
········return x;
Clearer? Kinda. Oh, but the linter doesn't like this either, and to be fair, valid point once again; an else-after-return *can* be quite confusing if you have it in the __middle__ of the F body, catches you by suprise.
However, I'd like to take a brief moment to waggle your nutsack, if you please. Because this is C++ and I'm picking a reference from a list of values, so I can't simply assout[*1] within the switch.
So I'm at the crossroads of life once again, losing man's toughest struggle as I sit on a metaphorical cigar, squirming while I unclench my asshole slowly for strictly defecatory purposes. Allow me to illustrate:
- If I ignore the linter, and leave the rest of the code unchanged, the checks are going to fail and the bot is going to taint my pristine PR with automated comments.
- But if I take the linter's advice, I have to do a slight rewrite of the damn thing plus every F that calls it, which means touching shit that has nothing to do with this issue.
So what's it gonna be? Flushing or shoving my own excrement? Oh, the thrills of it being (literally) SOLID, ie not the acronym, but may the Almighty punish Uncle Bob regardless.
NOTES:
[*0]: It means 'function,' what else?
[*1]: ASS-ign OUT-put, where 'out' is just some var. You modify the var within the F body and return the final value.23 -
Here in Germany we have early elections, because the current government failed due to internal disagreement. And as usual, each of them promises everything you can think of, just to get some more votes.
Lucky me, we have "die Partei" (yes, that's there literal name), who are basically just trolling everyone. Just checkout out their party platform for this election: https://www.die-partei.de/btw25/ (can be easily translated).
And yes, they can be elected. :)))11 -
Got a bit distracted today. Instead of doing what I've wanted, I created the most comfortable way to make a site ever. I'm serious. It beats all those static site generators.
Hmm, could even make a static site generator of this one. Won't do, no benefit.
It's by using markdown and it has support for syntax highlighting of many languages. A website could be literary:
# My blog
## some code
```c
printf("This is my C code");
```.
And you already have something decent. See the 'Get started' section. You have a site running in no time. See also the Python database example at the bottom, it shows you how to use the internal sqlite3 database in your 'static' site and how to create a visitor counter!
Sky's the limit.
I came up with the idea by teaching my next door neighbor HTML and that was succesfull. She is able to navigate trough files and folders and edit a file like most people. Then I realized, if it was markdown, it would be really user friendly for anyone to use. To create a decent site, you only need to make a stylesheet for someone. By using # ## ### #### headings, it will always be in your designed style.
People won't fuck your site up like they do with WYSIWYG normally.
The concept is so simple, I only see advantages and it could be used for small and big content sites. It doesn't do caching on purpose, overkill and it's more comfortable this way.
Here is project link: https://molodetz.nl/retoor/dreamii1 -
AI, weirdest business ever. Master of none technology. The only people who can decently monetize it (the suppliers) are not doing it properly ironically.
I'm working for a few days now full time on AI and test a lot. Costs: 97 cents. 50 cents from that was one error I made (expensive code execution call).
So in reality bashing as hard as a human can costed me 47 cents. Not weird that they don't make profit.
What is the intention behind AI usage? Do they want to break the internet by allowing such mass production of calls? What use cases are there to execute thousands of calls? I can only imagine bad things / use for abuse.
Can't imagine nothing good since most AI output is not good for real life applications. For example, you ask it to respond with a 1 or 0. Then the fucker says something like: "A zero, can I do more for you?". Thanks, my application can't interpret that. Should I do another call with your answer to find out if it is positive or negative? Ok, let's do and please answer with a yes or no! It will probably respond with "It's not every positive.".
From example above, OpenAI is not the worst in it but still. It's kinda useless for many things. You can't really count on it. As long AI doesn't output exactly what you want, decent automation with AI is not possible making all claims of replacing people with it completely worthless.
AI is like someone educated with zero working experience and as pragmatic as Fred Flintstone's car.
Anyway, guess who did quit at Microsoft and upgraded to work for molodetz and likes to talk now?
See here our new CEO: https://retoorded.molodetz.nl/. And yes, he has a company car. He get's to drive me :P7 -
Overall worst part of being a Software Dev? Really, really loving it. How could that be a bad thing you ask? Because people, in general, in life, do not want you to code. Managers, family, kids, colleagues, they all want your attention, they all want to yap at you, they all abhor seeing you concentrate at a screen. In short, they just can't leave you the fuck alone to do what you trained yourself so hard for. Best one of all is being hauled up on a daily basis for an hour to answer "How can we go faster!?" IDK maybe just let me do my thing? So fucking frustrating. If you don't recognise this and have all the time in the world, feel blessed, for you are free.5
-
Rule 1: God coded reality in Javascript. It's mechanism underlie science, spirituality and our experience of life as a whole.
Rule 2: Germany bad14 -
Live coding interviews basically make no sense.
It's even worse when you can't use an IDE.
Like, bro, what the fuck? You want me to write code in fucking notepad?
Alright then, I can play that game. It's so easy to memorize the algos and pass the test, yet that's not indicative of a good engineer.
I wonder if the roles were reversed, how good the interviewer would perform.16 -
Calling all devs to list all things which annoys the fuck out of the internetsurfing experience. I remember the days when the internet was fresh and every website was just static and weird. Geocities anyone?
Here are my two cents:
- dsvgo cookie popups
- autologouts after X min. Even while writing a message in their contactfield
- need for an account for everything
- docs and invoices to be downloaded in their customer portal instead via send to email or automate that shit somehow
- spam
- ads and adword websites
- lots more15 -
I didn't become a developer to be legacy's bitch. But we're all legacy's bitch.
I want to roam free. I want to piss in the rain and sing at strlen. I don't want to be in corporate meetings anymore.
I don't want to contort my ideas and good intentions to fit legacy's ugly painting.
I want to be free.
Please let coding be fun again.
I process more tickets than a brothel car park ticket machine8 -
Oh, $work.
Ticket: Support <shiny new feature> in <seriously dated code> to allow better “searching” (actually: generating reports, not searching)
UI: “Filter on” inputs above a dynamic JS table don’t update said table; they trigger generating a new report.
Seriously dated code: 12 years old. Rails v3-isms. Blocks access without appropriate role; role name buried in secrets configuration files. Code passes data round-trip between server/client/server/model that isn’t ever used. Has two identical reports with slightly different names, used interchangeably. Uh, I guess I’ll update both?
Reports: Heavily, heavily abstracted; zero visibility.
Shiny new feature: Some new magical abstraction layer with no documentation nor comments. Nobody in my team knows how it works. The author… won’t explain, but sent me her .ppt presentation on it (the .ppt, not a recording).
Useless specs for seriously dated code: Tests exclusively factory-generated data; not the controller, filters/lookups, UI, table data, etc.
Seriously dated code and useless spec author: the CISO.
The worst part: I’m not even surprised at any of this.2 -
Emotional support thread - feel free to comment here if you've ever been in a conversation about .NET, .NET Core, .NET Standard, .NET Framework and someoneverysmart has declared that it is actually very straightforward and obvious and then proceeded to explain in a way that is neither straightforward nor obvious, or is even plain wrong.
Feel free to link them to this thread. I guess it is unlikely these folks have the requisite self awareness to get anything out of it, but it is worth a try.
Finally for anybody about to comment here to explain the differences, please read the above three times, try to get it into your skulls that this thread is more about empathy and awareness than it is about the differences in .NET versions; and then go ahead and explain here anyway becauese I guess it will be a good cautionary tale.4 -
The global joke of Information Security
So I broke my iPhone because the nuclear adhesive turned my display into a shopping bag.
This started the ride for my character arc in this boring dystopia novel:
Amazon is preventing me from accessing my account because they want my password, email AND mobile phone number in their TWO.STEP Verifivation.
Just because one too many scammers managed to woo one too many 90+y/o's into bailing their long lost WW2 comrades from a nigerian jail with Amazon gift cards and Amazon doesn't know what to do about anymore,
DHL is keeping my new phone in a "highly secure" vault 200m away from my place, waiting for a letter to register some device with a camera because you need to verify your identity with an app,
all the while my former car insurance is making regress claims of about 7k€ against me for a minor car accident (no-one hurt fortunately, but was my fault).
Every rep from each of the above had the same stupid bitchass scapegoat to create high-tech supra chargers to the account deletion request:
- Amazon: We need to verify your password, whether the email was yours and whether the phone number is yours.
They call it 2-step-verification.
Guess what Amazon requests to verify you before contacting customer support since you dont have access to your number? Your passwoooooord. While youre at it, click on that button we sent you will ya? ...
I call this design pattern the "dement Tupi-Guarani"
- DHL: We need an ID to verify your identity for the request for changing the delivery address you just made. Oh you wanted to give us ANOTHER address than the one written on your ID? Too bad bro, we can't help, GDPR
- Car Insurance: We are making regress claims against you, which might throw you back to mom's basement, oh and also we compensated the injured party for something else, it doesn't matter what it is but it's definitely something, so our claims against you just raised by 1.2k. Wait you want proof we compensated something to the injured at all? Nah mate we cant do that , GDPR. But trust me, those numbers are legit, my quant forecasted the cost of childrens' christmas wishes. You have 14 days or we'll see you in court haha
I am also their customer in a pension scheme. Something special to Germany, where you save some taxes but have to pay them back once you get the fund paid out. I have sent them a letter to terminate the contract.
Funniest thing is, the whole rant is my second take. Because when I hit the post button, devrant made me verify my e-mail. The text was gone afterwards. If someone from devRant reads this, you are free to quote this in the ticket description.
Fuck losing your virginity, or filing your first tax return, or by God get your first car, living through this sad Truman dystopia without going batshit insane is what becoming a true adult is.
I am grateful for all this though:
Amazon's safety measures prevented me from spending the money I can use to conclude the insurance odyssey, and DHLs "giving a fuck about customers" prevention policies made me support local businesses. And having ranted all this here does feel healthy too. So there's that.
Oh, cherry on top. I cant check my balance, because I can only verify my login requests to my banking account wiiiiiiith...?2 -
"Rust, the language that makes you feel like a memory astronaut navigating through a borrow-checker asteroid field. Lifetimes? It's more like love letters to the compiler. Safety first, even if it means writing a Ph.D. thesis to move a mutable reference around."2
-
This is what you're in for when you go for THE state-of-the-art "React stack". What you see in the screenshot below is the hellofresh.be website (it's the same as .com). It uses Next.js, React, emotion & styled-components (2 CSS-in-JS libraries). It uses 140MB of RAM for a single tab with some product cards and a slider, logs 70 console errors in production, and fails to load 3/4 times on Firefox.
On mobile, opening a meal card to view its recipe literally takes up to 10 seconds (and I have good connection and performant devices) and you can't choose the last meal card because a f*ing overlay hides the "add" button. And this is a global company with millions in revenue.
All this bugginess has already resulted in incorrect or missed deliveries and they're not doing anything about it. F* you Next.js & F* you HelloFresh IT management19 -
PORTFOLIO INFLATION
when every junior is writing algorithms, the next step up, the only way to keep up is writing apps. When every junior is writing apps, the next leg up is writing an entire SN.
Eventually junior full stack devs are writing microservice streaming cloud backend content delivery optimized social networks wrapped in virtualization with load balancing, proper CI, public accessible analytics apis, written in custom webaseembly compiled scripting backend utilizing both the latest graphql and every single feature of postgres, while also being a web site builder, an in browser app, mobile optimized, designed to transmogrify your asset pipelines linearflow functional-oriented modular rust cratified turbencabulator while cooking your turducken with CPU cycles, diffusing your gpt, and finetunning your llama 69 trillion parameter AI model to jerk you off all at the same time.
And then the title "wizard" becomes a reality as the void of meaning in our lives occupied by the anxiety of trying to reduce the fear of rejection in job hunting, is subsumed by the brief accidental glance into the cthulian madness-inducing yawning abyss of the future which is all the rest of our lives we have to endure existing for until at last sweet sweet death consumes us and we go to annihilation never having to configure one more framework or devops deploy of another virtual environment.
And it dawns on us that we no longer develop or write code at all. No, everything has become a "service" in this new hellscape future. We slowly come to the realization that every job is really just Costco greeter, or eventually going to be reduced to something equivalent, all human creativity, free will and emotions now taken care of by the automation while we manage the human aspects, like sardines pushing against one another not realizing their doom has been sealed along with the airless can they have been packed into, to be suffocated by circumstance and a system designed to reduce everything to a competition of metrics designed by the devil, if the metrics were misery", and "torture", while we ourselves are driven by this ratfuck wheel to turn endlessly toward social cannibalism, like rats eating their babies, but for the amusement of wallstreet corporate welfare whores who couldnt turn a dime if it wasnt already stolen.
And on our gravestones, those immortal words are carved, by the last person who gave up the ghost, the last whose soul wasnt yey shovelled onto the coal fires driving the content machine consuming the world:
Welcome to costco. I love you.12