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
-
Camel case can't be used in Postgres: table names are case insensitive. Pascal case can't be used too.
Kebab case is readable, but it can only be used in HTML, Clojure and probably some other lisps.
Thus, ugly-looking snake case is the most compatible casing.4 -
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 -
Nothing like spending 2 days solving a problem that could have been solved by 15 minutes of manual work
Hey, at least it's automated now...6 -
What shall it be today?
- AoK returning
- retoor shilling python
- kiki posting about her diet
- Me shitposting about devrants people once more
- All of the above17 -
Google Assistant got replaced by Gemini on my phone. What used to work before, me saying "Hey Google, set an alarm for 5 pm" doesn't work anymore.
"I am only a language model so I can't help you with that" is the default response.
Does big tech not like the idea of things working fine and smooth?38 -
Well, my boss is officially unhinged.
He threatened me in a call. He thinks I ratted him out to HR for living over seas. Funny thing is I don't give a rats ass, he's got the wrong guy.
Going to HR now though, see if I can move teams to minimize the damage he can afflict on me.11 -
Wife's driving me nuts
Work is driving me nuts
At least my kids are awesome!
Maybe getting a new job would help. I'd probably need two new jobs to match this one though5 -
Turned 31 three days ago.
My **dad** was convinced that I was turning 30 instead lmao.
I had to do the math for him, he was questioning the fabric of reality for a second. Like baba 2025 sub 1994 eq 31, ok.
so anyway age--;14 -
Things I didn't know existed, but now do because of devrant:
1 - calico dicks
2 - naughty trolling C devs that are girls
3 - dev elitists (actual elitists, not just trolls)
4 - superior German devs
5 - starving webdevs
6 - angular anger
7 - forum spam wars
8 - super shitters
9 - pedophile game devs who get banned
10 - you shouldn't say your mom to people because sometimes people's moms are dead18 -
A word on languages.
I really like C, did it since I'm 11 at school with some Pascal. Simple language, 32 reserved words (unlike COBOL ahem) and never wanted to change, just discover some new languages, never replace it.
I saw Rust in 2020, and it catched some of my time, like a year. It's not bad, but you feel strangled with rust. In C, I can walk on water, and my programs run in under a second with less than 100mb.
The syntax [Rust] is also hard and ugly.
So C won over Rust.
Then Go, in 2022. Better syntax than Rust, prettier code and it had a garbage collector ! Works easy. But still, C was better. Faster programs, I can do whatever I want.
Then I discovered Zig in 2023. It was cool bc I could cross-compile C and C++ alongside Zig. The Syntax (yeah third time I repeat it) was annoying. Like Rust. But I like the fact there is no memory-safe aspect in the language design.
So even now, I use C and sometimes Assembly (doing a bootloader for my [breadboard computer](https://github.com/3dgoose/65b02), I know there's no MarkDown in DevRant) for some lowlevel projects and god does it go fast : 50kO max for assembly and 10mb for C, with some amazing compile time ! In fact I did a program to estimate Pi with Montecarlo method in Rust and Python and it got 20 minutes for 10^10000000000000000000000000000000000 while C and Assembly got 70 second (I swear at this point).
The world now is preferring memory safe languages like Rust but if you know how to manage memory in C, why use Rust ?
Sorry for bad english, bye
I hate C++16 -
Any fool can write code that a computer can understand. Good programmers write code that humans can understand27
-
Got to stage 3 of 5 of an inteview and just discovered the person at stage 4 decides who is qualified to continue, interviews are crazy this days, am lucky i got a job and am not desperate else i would be screwed by this assholes 😡.14
-
Every ticket I work on involves some nebulous, undocumented BS nobody can satisfactorily explain. And worse, even if it’s something I’ve already worked with before, it’s almost invariably different from the last time I saw it, so it’s still nebulous BS. It’s like I’m walking through Steven King’s Mist, except the bugs are more metaphorical.
Everything is spec’d out, except for the views, and half of the logic. But the rest is still technically covered because tests indirectly call the code, so that means it won’t crash right? 😅 Also, the tests that are there are also fucking nebulous, such as calling helper methods that are heavily abstracted, or that are written to test completely different things but kinda sorta work for this too if you set things up just right.
I’m going insane.3 -
One of the devs was let go after his probation period. Today was his last day. I didn't review a lot of his code, but it seemed to be fine. I'm not sure if his output was just slow.
Either he wasn't working out or the startup decided maybe they shouldn't have hired new people yet. There's been a freeze for a while and this guy started in October. The company's revenue targets keep slipping. Profitability was moved from 2026 to 2027.
We're on a slowly sinking ship.2 -
Gene Hackman and his wife and dog all found dead.
He was like 95 or something. She was 63. Daughter said she suspects a gas leak.
Much sad, RIP to the legend, the OG Lex Luther12 -