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
-
There needs to be some sort of enforcement about who can write code. JK,
but seriously, the current dev wannabes and influencers on sh-t-witter and linkedin are literal cancer.
A dude will make a post about how to "scale" a system, yet they have no grasp of the most basic fundamentals. They have no idea what a CDN is, they think you can just store blobs and be done with it. Like, bro, are you going to be serving a 10MB image from the DB every single time it's requested? How WILL that scale? How will low bandwith users be served? Oh, yeah right, I forgot that everyone in the world has 1Gbps internet from NASA.
They think serverless will take care of it.
BUT HOW? No wonder "serverless" companies like Vercel are making bank out of idiots who can't manage to spin up a decent VPS that would take care of 99% of usecases.
Granted, most copy paste regurgitated AI slop from chatgpt but still.
It's so infuriating. There used to be a decent Twitter dev community, but not it's just AI shills, crypto bros and script kiddies all pretending to write code.
It's time I stopped using that site.
Also probably a sign I should quit this industry. Getting tired of it to be honest.
Don't see myself still writing code in 3 years.9 -
Unpopular opinion: given your server has enough entropy, UUID v4 is a good session token.
It allocates 122 bits for the randomly generated part. OWASP recommends session tokens to contain at least 64 bits of entropy while being at least 16 hexadecimal characters long.18 -
Disclaimer: This joke will be lost in translation but I can't help but make it
In my country, you can use the phrase "it's not beans" to describe something difficult eg "that ielts exam no be beans". Given my recent woes with spring boot, I can also say "spring webflux no be beans". But it's funny to me because the framework calls objects bound to the container "beans" so it's a nerdy, don't leave me joke5 -
Why is spaces the de-facto over tabs? Tabs seems better in every way including the fact you can make them any width you want...29
-
Man, you start doing computer graphics you really get an appreciation for nature
Like "got dayum, god got some good ass graphics, no way I can compete with that"6 -
Working on creating an asyncio UDP server/client. Going to have it talk to another server/client. Why? Because I don't want there to be a round trip to my data. I want send and forget.
So I created a combo server/client in C++. I am testing out the client and I find that it connects and sends data with zero errors as a client even if there is no endpoint (server) active. Okay, well its connection-less so it kinda makes sense. So I am not even sure what connection means at this point. I figured it was sending data into the ether. Fine, I don't have to worry about dropped endpoints or some shit. The server does see messages once it creates itself (tested with Python server). Not old messages, just the ones currently being sent.
So I do the same thing in Python and use asyncio to create server/client with opposite ports to talk to my C++ server/client. However, if C++ server doesn't exist the Python client throws an error. Okay, wtf... So Python UDP client is gonna be extra steps because why? Because fuck you! That's why! lol
UDP Client Comparison:
C++: I don't give a shit, if you don't get the data then fuck off. I won't error no matter what.
Python: Oh shit, there is no server, so I won't even run. Because fuck you and wanting to send messages to the ether.
Now I need to do the same thing in C# and see what kind of "fuck you's" it will have.
What did I learn? I learned Python has a nice asyncio system similar to asio from boost.11 -
Just remembered this in a TES forum. So you get to remember or enjoy for yourself:
https://hezer.naraku.org/sekalaista...1 -
It's almost my birthday. My mom wanted to give me a month ChatGPT for my birthday but I have it already. Actually amazed by the spot-on suggestion. Recently for xmas she was spot-on too. She gave a 10kg warm blanket. Ever slept under such heavy blanket? You sleep in NO TIME. Heavy recommend!
Tip for when somebody asks what to give you for present and you have no idea: supermarket stuff of their own choice. You'll learn some new products that way and will have stuff you normally don't buy. So asked that.
A good friend who lives in Ukraine comes to my birthday so I'm happy.12 -
Need help from fellow devs.
It's been at least 3-4 years and it's getting worse.
I keep being demotivated, forgetful, inconclusive and not on point with code. (Yeah I know, I rant about angular, but that's a 10 years hate).
Today I'm supposed to do some table component that has pagination, buttons and shit in angular (yeah.... from scratch, they want to design the whole thing from 0) and I'm getting all confused by managing pagination, input to angular components, and all the simple stuff that I'VE DONE COUNTLESS TIMES.
I keep forgetting details, small meetups (under 20 mins) where we discuss lot of small details of implementation and I loose a lot of the details, forget a lot of stuff and have an hard time to put all the info togheter in a meaningful group of informations to have all the information available in an usable way at the moment of developing code.
Often I get rage outbursts because I don't understand things like before and I have to read and write down every fucking thing.
Often I get discouraged because I get lost in the details of big projects.
I have a lot of experience and that's what keeps me afloat.
I got panick attacks for small things and I never had panick attacks.
I feel I would need to stay away at all from programming for 2 months to have some passion back in it.
My mind is exhausted.
Some new brilliant colleagues joined the company and so I feel compelled to compete
and it works solely thanks to my superior experience.
I feel like a total dumbass and mentally challenged now.
Is it burnout? is it depression? What is it?9 -
Mac OS X has finally gone open source !
You need to run custom scripts to get basic behaviour back 🤣🤣🤣🤣
Thanks Apple ! 😘
https://github.com/luckman212/...3 -
Why the fuck is the elastic search docker image 900Mb. Why the fuck does it include a complete logging system and why the fuck doesn't it have an up-to-date alpine image?
The arrogance of some systems these days. You're part of someone's software, not the software itself. You don't have the right to claim x resources. It's not about you.
Same for Sentry, a logging application that literally requires 8Gb of ram? I removed the limits and did try it anyway and stuff just crashed. Congrats, a logging system that REALLY requires 8Gb ram. The best my VPS does is 4Gb and therefrom you're only allowed to use 512Mb max imho.
I care about image sizes since my laptop only has 114Gb drive and my internet is a 4g hotspot with 50Gb/day limit (trust me, you can't find better for 40 euro's). 114Gb is maybe a bit outdated but be realistic, I only use vim, vscode, some sdks and source files. Why would my harddisk ever be full? Because of bloated docker setups. That's why. The other option is screwing over your system with everyone's configuration.
Alpine all the things!10 -
It occurred to me that I'm making actual money now and I can pay for my shit, so I tried Youtube Premium, but their background play is poorly implemented and defaults to a floating window that I need to cancel in a finnicky, android-vendor-specific way. How do you consistently make something that much less usable than an unpaid open-source developer who also has to reverse-engineer your API and circumvent your anti-user-choice obfuscation measures? NewPipe would be a success if it could just play the videos in full screen with no controls, and yet it has a better background play story than the actual provider. Fuck centralised software12
-
Almost got scammed on fucking fiverr,
just created my profile and my two gigs, had some people contact me right away, I got real excited, they asked for my email cuz apparently they could not complete their order without it so I provided them my fake email I used to create my fiverr account, then they provided me a link to enter my payment information and this is where I became sus, they were asking for my fucking card balance, I was like wtf is that shit, then I noticed that the mail was shady asf, then some 2 other mfs sent me an email with a different body.
Thank god I noticed before it was too late, joined fiverr to get bank and instead was gonna get drained, fucking motherfuckers!1 -
pLeAsE dOnAtE tO hElP mE aFfOrD hOsTing
lolwut? you have a free-for-all project with no premium features. Users can’t create accounts. All of your code is JS, you don’t even need a server. Just host your stuff on Cloudflare. I have just about a gigabyte of data uploaded there on my free account, so if I can do it, so do you. Just use a CDN for your client-only, JS-only project.
domains though… yours is long and costs around 40 bucks a YEAR.
if you made a good product and want to make some money with it, that’s completely okay, so just say so: “I want money for my work, but I don’t want to take away features that were free and can be provided at no additional cost, so please donate”. Why lie? It’s not like people who won’t donate to you based on this justification will magically donate for “hosting”.2 -
Hmm... I was reading postnatal depression fliers for moms and came across a depression quiz.
Turns out, I have a severe depression, 23/27 score 😁
that would actually explain a lot... A LOT...8 -
If you want a terrifying name for your metal band, don't call it “Whispers from the Abyss of Despair” or “Through the Veil of Darkness and Desolation”.
Call it “Surgery Robot From Temu”.2 -
Is there a hidden joke in the fact that stand up meetings/daily stand-ups share the same word root with stand up comedy? It would seem the creators of that pointless activity thought it naughty/mischievous, if not a humorous giveaway that those gatherings are more for fun, entertainment, a joke, and a platform for product managers to not feel left out from the development process9