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
-
We have a bug.
I fixed it, then I said it was a super tricky bug, a race condition in the library code, and that I had to put on an issue and wait for their answer.
Boom, day off.
God I'm a genius.21 -
How is MSSQL so popular? "Oh yeah, sometimes you have to use dynamic SQL because the compiler doesn't correctly detect the impact of DDL commands and rejects working code" god fucking what? Why does the compiler infer the future structure of tables after a DDL command if it can't do so reliably? In my world, if it becomes public knowledge that a compiler incorrectly infers something, the maintainer scrambles to remove the inference instead.
I also find it surreal that I have to disengage versioning on a table in order to be able to modify the version history. Like surely, there should be a mechanism to temporarily skip the hooks other than ALTERing the table into a regular unversioned database table and then ALTERing it back, rebuilding the versioning infrastructure from scratch. SQL is awful and MSSQL is doubly awful.5 -
Dark Humor
Lets try some seriously dark dark humor. Lets find what lurks in the hearts of men.
My Kid: I was adopted.
Me: We wouldn't have picked you.
Oedipus: <whilst banging his wife> You remind me of my mom.
What do you call Rock Hudson in a wheelchair?
Rollaids
What did Christa McAuliffe say to her husband before the launch?
You feed the dog, I will feed the fish.
Some I found from searching web:
What's worse than a baby in a dumpster?
A baby in 2 dumpsters.
If we had mosquito nets in Africa we could save millions of mosquitos from getting AIDS.
Down syndrome in military is called special forces.
Mom told me to eat my vegetables, now where do I put the wheelchairs.
Whoever thought white men can't jump obviously never watched the 9/11 footage.15 -
Trying to get flex container overflow to scroll is like funking pulling teeth. I've worked with flex containers for 5+ years straight and it still makes me want to kill myself.
Here's the tools you need to make a flex container scroll. God help you if it's nested more than 2-3 containers from the root. You apply these randomly until you see the scroll bar in the correct place.
min-height: 0px;
min-height: min-content;
overflow: auto;
overflow: hidden;
display: flex;
flex: 1;
(Real pro tip: you can place a "dummy" element inside the container you wish to make scroll. The dummy element should be a huge size, like 10k pixels. This allows you to see what containers up the DOM tree are still not correct (any container that is 10,000px is WRONG. Work your way down the DOM tree and fix fix fix))13 -
me likes competition me thinks competition good for me. Gives me them blings and fussies and yep me happy1
-
Back from Alpine to Debian as my daily driver. Here are the reasons:
1. Alpine doesn't support a very niche fan control utility made by one guy for my specific laptop, and HP left me with no alternative
2. Alpine doesn't have OpenSnitch, period
3. My laptop is quire powerful, so the speed difference is insignificant.
If it wasn't for this two super specific edge cases, I would've stayed on Alpine --- such a marvellous OS it was.20 -
IIS, aka Apache But Worse, with the world's shittiest plugin manager, a graphical XML config editor that only shows the attributes of one node at a time, invalid configuration errors that don't tell you anything about which part of the configuration is invalid, and a custom GC config optimized for hosted .NET apps that's somehow even less suitable for hosting than the default desktop GC config.
I had to enable 3 categories of Windows features and 20 additional features that weren't included in the default set for those categories just to host a WCF service.6 -
Management has reviewed DevOps which is already being shown to customers and wants to introduce a code coverage metric to show customers how good the code is. Code coverage now has to be 80% or higher across the board, it's been decided by management, and there is no discussion on this topic. The front-end presentation layer has minimal business logic and most of the code that exists is generated objects to shift data to the backend (which in turn mostly shifts it to a 3rd party API that does a lot of the business logic). I now have to write thousands of pointless tests while also being 85% billable to the client.
I think code coverage can be used as a tool, but should not be used as a metric to promote the product.
I suggested an automated e2e test might be better placed to prove that things are working, but have been told we're not going in that direction.
I'm close to writing a code coverage test that uses reflection to touch all of the code, catch all exceptions, and return a positive result.6 -
We "engineered a prompt" (in other words, crapped a very poorly written paragraph using only short sentences) that gathers many arguments pro and against the usage of AI to code our production data pipelines.
Most of the "pro" arguments are variations of "we'll get fired if we don't use this crap in something".
Prompted with the whole argument, even Gemini thinks we should not use AI to write our code. Nowadays, we use Gemini mostly to justify why we shouldn't use Gemini.
Seriously. We made the whole setup so that any PO who demands AI has to convince the AI it is a good idea. I'll admit, the AI is doing a good job to deter people who want to use it. It hasn't cracked even once. Not that it matters, anyway. POs just ignore what the AI says and organically write orders telling us to use it anyway.4 -
So this recruiter reached to me. They supposedly like my profile and have a role in mind but need more info than what's currently on my CV
They want 15 bullets points for duties per role.
As in 15 for each job... My CV is already two pages long.
What the fuck do recruiters actually do12 -
Well, dR just disappeared for a bit but glad it's back, but I can see that recent rants are gone (because I was trying to catch up on missing rants)
https://devrant.molodetz.nl/Screens...2 -
If anyone needs a casual game that's not long, and that you can play after you put the kids to bed, I recommend Neva. It's a fun, indie, left-to-right platformer.
My full review: https://battlepenguin.com/gaming/...2 -
What I’d give for a modern version of gladiator fights. And no, not to watch people die. The belief that they massacred themselves in the arenas is hollywood propaganda. Many fighters werent even slaves. And had pretty high status3