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
-
#programmingstuff
A parent may kill it's children if the task assigned to them is no longer needed.
*Don't apply it to real world.5 -
~During app demo to our client~
- And when you click here the request will be submitted, the admin will be notified.
*App crashes*
- And of course the app will close itself since it's the end of the process.
- Client: That's good
- Me: ⊙﹏⊙13 -
Well, few days ago I got mine free swag. The stickers look AWESOME!
I really do like them, but since we have holidays, I'll put them on my notebooks in the next school's year.
Greetings from Gdańśk, Poland. Have a great holidays y'all reading this right now!4 -
Thank you devrant for being mainly text so I can enjoy rants on my daily commute through the internet-neuland germany1
-
Usually my workplace is pretty chill, but today something rantworthy happened!
During code review, I found this guy had styled each element inside his components using nth-child selectors. For instance, in a card the heading was styled by nth-child(1), the text was styled by nth-child(2) and so on... No use of actual fucking classnames.
When I pointed this out, he told me it was actually the better way of doing things because classnames increase the size of the HTML document!
He also claimed proudly that nth-child() is more efficient in performance (idk - anybody can confirm this?)
I'm the only "css guy" there so nobody could second my views. Posting it here so that I can show this to him tomorrow by demonstrating what opinion other css devs have on this and prove my concerns / convince him to change his code.7 -
A friend here just deleted his account. We had our debates and tiny fights but he really mattered to me. I know he was going through some pretty bad stuff that really hurt. I doubt you will read this but if you do, and if you need anyone to talk to i'm here to talk to you. My e mail address is srd3v@tuta.io
Please if you know who i'm talking about don't be a dick about it, don't mention his name and don't try to convince him to come back.3 -
'Hey I found a bug in your code, it's probably a typo, see here.'
Me: Oh right, yeah. How stupid of me. Thanks, I'll push it.
'It's okay. You can push it or I can do it too after you push the changes we just discussed. I actually simplified one of your methods.'
Me: You, what... ?
(You crammed multiple lines in a single line with your stupid as fuck, rigid constructs, removing my error handling, loosely coupled service, in the name of simplification?)
' Yeah it's just four lines in a single function now, no need to call the function again and again.'
Me: (No... Just no. This totally undos whatever little I could do to avoid supporting your idiotic object in the first place.)
Oh... okay, we'll see. I'll let you know.
What life.
Life in a company full of ignorant, inflated egos is no joke.
Details:
I created a service that reads a configuration file and returns the configuration. This person needs five entries for his app logic. He collected them in a object. Quite alright. Except that the class prototype is shitty. I, like a normal person, made my service return a value based on input. I was asked to incorporate this awful object so that I can return the five entries together, which is awful because the service is not supposed to know about how the entries are clubbed. It should most certainly not know about the data members of the object!4 -
Not exactly dev related but possible because of my job.
After an interesting and emotional change during the last 0.5years, I am still here in
Ireland.
My job is good, could be better but definitely the best I’ve had so far..
I’m only here because of my job, it wouldn’t have been possible (at least not as easily) if I wasn’t a software engineer.
One of my dreams I saved for for years in Switzerland finally became true with just saving 4 months over here because the government doesn’t take everything you have left at the end of the month.
I finally got an old Jap...
This is my 1997 Toyota MR2 I bought on Monday..
So happy..7 -
Programming in c++ on DOS (dosBox) feels so amazing, I really like it, I'll get a CRT monitor just for this (also a bit of Doom)! So cool!1
-
Does anyone else get irrationally annoyed when a team member says "Hi" via slack/messenger etc. and then nothing else until you say "Hi" back, and only then describes what they want?
Dahhhhhh. Stop wasting my time. Just ask what you want.28 -
Hey Friends! - Milo here once again, just would love to update all of my friends here today on my previous post! I managed to get my line graph working ! 😄 honestly ladies and gentlemen im literally so proud of this feature, staying up last night till 3am and being able to present my project to my classmates was a great success! I think tonight ill be able to sleep in peace :-) ,
Well everyone I’d like to take the time and say thank you for reading my post, as always it means alot!.
Kind regards,
Milo ☺️❤️👍🏼1 -
!dev
So one of our project allows paying in money in different currenceis, and we have few bank accounts that are "outter shell" that are monitored and properly titled wire transfer will work for paying in for certain customer. Simple. So far.
We also have +- 20-30 different bank accounts for different purposes, I dont rly know why. Im just a programmer here. Anyway, I have no idea how and why but apparently one of our partners somehow put his hands on list of our bank acc's. Welp, i should be allright, what can possibly go wronggg.... wait... what?
He had this brilliant idea to streamline more process of "go to app, press button, you will be presented with proper bank acc for you". So he did. He sent mass email to all his customers that here are all bank acc's, use wahtever to pay in. Most of acc's are unmonitored.
This went wrong and we figured out becouse mail of pissed customer....
Congratulations, my friend. You earned "I am idiot" tatoo on forehead. Visit me to redeem your reward. -
My in-house "office". A normal room, but with 2 desks. One for my monitors + laptop and the other one for other electronic stuff. It's a very quiet room :)
-
OPPO sure has the BALLS to fucking install ads on MY FUCKING PHONE, first they force installed “Hot Apps” and “Hot Games” and I can’t remove it. I was like “Yeah sure whatever”. Then they installed sticker ads on THE BUILT IN KEYBOARD. “Ok”. This fucking shit actually installed ads on my fucking notification panel, and pop up a warning every once in two days asking me to”🔥 Update your software to latest version 💢” WITH THAT KIND OF TEXT AND EMOTICONS
FUCK YOU OPPO23 -
Funny story: Me and my dev friend once had a hard time setting up a PS3 controller even though we were two CS majors11
-
So to give you a feel for what evil, clusterfuck code it was in: this projects largest part was coded by a maniac, witty physicist confined in the factory for a month, intended as a 'provisional' solution of course it ran for years. The style was like C with a bit of classes.. and a big chunk of shared memory as a global mud of storage, communication and catastrophe. Optimistic or no locking of the memory between process barriers, arrays with self implemented boundary checks that would give you the zeroth element on failure and write an error log of which there were often dozens in the log. But if that sounds terrifying already, it is only baseline uneasyness which was largely surpassed by the shear mass of code, special units, undocumented madness. And I had like three month to write a simulator of the physical factory and sensors to feed that behemoth with the 'right' inputs. Still I don't know how I stood it through, but I resigned little time afterwards.
Well, lastly to the bug: there was some central map in that shared memory that hold like view of the central customer data. And somehow - maybe not that surprisingly giving the surrounding codebase - it sometimes got corrupted. Once in a month or two times a day. Tried to put in logging, more checks - but never really could pinpoint the problem... Till today I still get the haunting feeling of a luring memory corruption beneath my feet, if I get closer to the metal core of pure C.1 -
Sometimes i dont even feel like i am living at all. I couldnt even state what makes me happy anymore without a second thought.15
-
> be me
> spend 0.02 Ether (about €5) on one of those old-school MUD-style games
> send to the same Ethereum wallet from a previous purchase
> realize that the destination wallet changes for each purchase (probably to mitigate the fact that transaction history and contents in Ethereum wallets is entirely public)
> send an email to the game dev asking to return the transaction or pass it on to my player account
> *cricket noises*
About a week later, i.e. now:
*checks that Ethereum account that I accidentally sent that transaction to*
> $0 on it, transaction has been withdrawn
Now I couldn't care less about the €5 - it's only 2 beers worth - but what I do care about is honesty. Dear Chat Wars admin, that money wasn't yours. Also, I am one of those players that plays very few games but tends to commit to those I do play. The last one I played, I spent several hundreds of euros on over the couple of years I played it. I could've probably paid for your servers, spare time development and then some. But obviously not anymore. Choosing a quick grab of €5 over a relatively steady source of income from someone that tends to financially support what he likes... Re-evaluate your life choices.
Just like that incident with the stolen flash drive that was worth only €10... I couldn't care less about the raw value of them, but I do feel very disappointed in humanity when people go for a quick grab of such worthless things.5 -
Startup rant ---
John and Bob joined a startup at the same day but they were in two different offices.
John joined the US office while Bob joined the European office (let's not share the country here ;) )
Both of them worked really hard, they worked longer hours, showed result and helped the startup to reach and get Serie A funds.
That seems good no? But let's step back, John was promoted twice and get more perks while Bob got only a salary raise that aligned him with the current market.
There are different reasons for this but the most important one is that the company is having two different cultures for the two offices.
What's funny here is that Bob effort is well known across the two offices and his contribution has made a huge difference to the company but unfortunately he wasn't rewarded for it.
So Bob opened a new window not in his office but in his browser to find better opportunities.4 -
Someone told me they identified as an apache helicopter, I responded that I prefer being an nginx helicopter7
-
#LifeRightNow
- need to find a new place and roommates to live with
- my gf's father doesn't want us to marry.
- my joint family wants to get separated.
- my boss wants me to be at our primary office ( i work remotely ) asap irrespective of anything since it is our biggest production yet.
- i am about the least productive i can be from last couple of weeks.
- going through a serious allergic condition.
#FuckMyLife8 -
I turned up for a meeting with some folks from US on time. Waited for 45 minutes and they did not show up.
Come home half an hour later and see a mail that says “anyone available?” from their side after waiting for them for 45 fucking minutes. A meeting that they scheduled. On a fucking Saturday night.
Fuck you!1 -
My 14 year old self stared at Chrome and decided to consult Google on a random fleeting thought...
"How is software made?"
The search resulted in my downloading Visual Studio. Without any understanding of what it was or how it worked I somehow managed to create a new Winforms project.
I started to drag controls from the ToolBox onto the form, and I specifically recall thinking "Wow! This is easy.". Little did I know...
I then inadvertently double clicked either a control or the form which as most will know switches from the designer view to the code editor taking you to the code that drives the form.
"What the hell is this?"
I had absolutely no idea what I was looking at, but decided I was determined to understand what all of that random text did.
So, yeah, my first dev project was a Winforms App consisting of a single button that did absolutely nothing, but yet happens to be the most important app I have ever created.
To think I'd be working in an entirely different sector if it wasn't for that one Google search.4 -
How to comply with GDPR on any website and web application:
- download the law and store it in some folder
- if you have money, pay a lawyer and a security consultant to write something about GDPR. Download reports and papers and store it in some folder
- Don't touch your code, nor your database nor your infrastructure. If you don't have anything encrypted, leave it like that.
- Write somewhere a popup that says: "we are fully compliant with GDPR". If you have still money left you can also buy such a popup.
- DONE.2