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
-
Tests are for noobs. Seriously it's the kind of thing they teach you at school and on internet fake-ass tutorial made by people who never worked in the industry but no real-life projects ever use them.
If any of you is using tests on a daily basis AND have an actual dev job (and no idiot your missile embarked shit doesn't count), I'm eating my own bowl26 -
I officially got a call that i start a job from 15th december
That's my first job after graduating with a computer science degree, and it took exactly 421 days later.
This is depressing and sad. Im not even interested in starting a job. I hoped they will reject me just like the other 10,468 jobs. Im not used to getting accepted.
I have to finish my side project within these two weeks asap rn5 -
> "Just keep your battery charge between 25% and 75%, bro! It will slow the wearing of your non-replaceable battery!"
So you want me to artificially halve my useable battery capacity just so its actual capacity reduces slower?
That's the insanity with non-replaceable batteries.
A user-replaceable battery is almost like a battery that never dies. No effort wasted with tedious "battery care". No worries about weardown from high usage. Just enjoying using the device.7 -
A house with an elevator that is just wide enough for one person standing sideways, and it can also travel horizontally between houses. Also, near an entrance, there is an orchestra pit, but it's filled with expired smoked meat. There is also a garbage chute, but it's just a well right in the middle of the house between staircases. It also has bars and mesh instead of walls, so everyone can smell everything. It can only be emptied from the roof.4
-
I thought I had seen everything, but today a coworker tried to call one test case from another and asked me if that is an okay thing to do.5
-
Seeing posts about standards vs implementation of compilers. People not getting that "standards release" != "vendor release" for C++ compilers.
-
Did you ever had a bug?
7 years of career and I NEVER introduced a bug. Maybe if you need tests / iterations / type-checking nullshit to make anything work at all, you're not in the right career. I heard uber eat is hiring, retard.10 -
Four steps of professional development:
1. Simple and bad
2. Complicated and bad
3. Complicated and good
4. Simple and good
At CSS and frontend in general, I'm easy four, straight up. At architecture, I'm perhaps two in devops/docker/kubernetes/other crap and three at DB design. At electrical engineering and embedded stuff, I'm 1, no questions asked.
What are your rankings? -
💥🦆 What if... your devRant clone? 🦆💥
Appoint an 8 hrs sprint for your very own DEVRANT CLONE with tech stack of choice. Announce it on https://kbin.melroy.org/m/drbboard/...
For details, open the link above. Keep us posted there with screenshots and ready-to-use app until December 3rd!1 -
Fuck spam, email harvesters and fuck moderators too.
I got tired of getting spam in my email inbox from an email address that I published on my website.
The bots and email harvesters were scraping / harvesting my email address from my website and sending me tons of unwanted spam.
I decided to create a free tool to protect peoples email address behind a form captcha so that it knows the person reading it, is indeed human and not a bot or spammer.
Decided to post to reddit to get the word out and the post gets flagged. Really? What gives?
Its a free tool to stop spam for chrikes sake. I am not trying to make money.
Anyhoo wiill post the link here. Hope you guys and gaals are more friendly and will share the link.
the link is Veilmail.io ( can someone post the link please)
RANT OVER4 -
+++ THEY ARE WRITING TYPE DEFINITIONS +++
THEY ARE UNDOGGING THEMSELVES. THIS IS NOT A DRILL: THEY ARE LEARNING SOME GOOD FUCKING PRACTICES5 -
I am talking with the tech lead for a solution he is proposing for the project.
I already finished coding it yesterday because of our "just deliver" culture. Our tech lead is opposing this culture. The deadline established by the manager is basically tomorrow.
Is this right approch for a tech lead? To oppose the management established deadline?3 -
If people shitted gold i would be the richest man of babylon in the history of mainkind and beyond richer than universe itself1
-
Question for the old timers: is it possible to work as a dev for the rest of your life and be happy?
.
.
.
Does it get any better or is dev burnout baked into the business model of every company?
The CEO flat out admitted it was exactly that where I'm at a few weeks ago 😞9 -
"Write a tech tutorial without explaining something via a fucking stupid as hell analogy" challenge IMPOSSIBLE.4
-
It's 2023 and smartphones can't even properly upload files in background.
When an upload is running in background while I watch YouTube or use other apps, the upload just stops at some point. The speed indicator in the top bar goes down to a few KB/s and I know immediately the upload has stopped well before it could have finished.
When re-opening the tab, I see a blank page and a loading bar. This means the tab has unloaded. Now I will have to re-select all those files again, which comes with its own troubles ( https://devrant.com/rants/9879401/... ).
Mobile browsers need to have a "protect this tab from unloading" option. Samsung already introduced a "keep open" option in the task switcher to protect individual apps from unloading in background. Why not do this on tab level?
Once the user locks their screen, this alone might interrupt the uploading process. On laptops and desktop computers, the upload keeps running in background.
Come on, this should be as easy as childs' play for billion-dollar corporations. Aren't smartphones "smart" enough to detect that a page is currently uploading files so its tab is not unloaded?
If smartphones can not accomplish this simple task that desktop computers and laptops can easily handle since the 2000s, it is a sad and embarrassing state.5 -
OOP coder:
OOP is so useful and realistic!
Let me give you an example -> Cat extends Animal.
Every other coder:
So how is that useful in reality?
OOP coder:
...cat pictures?9 -
Profile (1, 1) --- (1, 1) User
Right?
- A single user *must* have *exactly* 1 profile.
- A single profile *must* belong to *exactly* 1 user.
Makes sense?
I did this because i moved user profile image and user banner image into Profile entity
So now i can easily join tables and fetch user profile image based on username or user ID
By deeply thinking like an asshole and overengineering, i stumbled upon a confusion
If i can join tables and get ALL fields (assuming its a left or full outer join) from both entities...
What is the difference between choosing which entity to fetch on the frontend?
For example if i want to fetch users, inversely, i can fetch Profile entity, which has User entity as a nested object, and that way access users. Now i have access to each user's profile image, banner image, bio etc aside from the entire user object
If the user navigates to a profile page, inversely, i can fetch User entity which will have a Profile entity as a nested object, and that way show the remaining necessary fields that the profile page needs to show
I gave these inverse examples because if i want to fetch users, surely enough i can simply fetch from User entity, and if i want to fetch someones profile data i can fetch from Profile entity directly
So if this is the case, when am i supposed to fetch one over the other?
You tell me. For simplicity lets focus on these two examples. Consider this as an exam question:
1) user navigates to home page. Now paginated users with role X need to be shown, but also their profile image. Do you fetch from User or Profile entity? If you use joins which ones and why?
2) user navigates to their or someone elses profile page. Now profile-based data needs to be shown, but also the user's username and full name need to be shown. Do you fetch from User or Profile entity? If you use joins which ones and why?21 -