Joined devRant on 6/28/2016
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
I have just thought of the perfect solution when support for fucking ancient IE versions creaps in the requirements (and asking the assholes to produce numbers to support the crazy does not help)
Just do browser detection and if IE < 9 Replace body with one of those winXP alert boxes that tell them there Computer is infected and that they can get a free scan (it's what they are used to anyway). Put a link to the installer of your favourite browser over the entire image.😎
Good news is 100℅ code reuse! Works on every outdated IE and every website that requires IE support.4
So at one point I worked on an inherited project that had the worst code I've ever seen. I mean bad, so bad there may no quantifiable measure that can accurately convey how bad. We ended up naming the thing 'the hydra', cause it had a million issues and they just kept growing as we fixed things. To my point, in C++ they implemented their own primitive type Boolean32 as a signed int32 pointer. If that wasn't enough they used it as an octal bit mask. They also switch the value using logical and / or between 2 numbers, 037777777777 and 000000000001. So essentially they only switch this value to 1 or -1 and end up comparing it to their own const true or false. In c++ any value not 0 is == true...apparently not in this code.
Anyone else have to deal with an asshole who refuses to use the git repo? Not sure how much longer I can hold onto my sanity.9
For fucks sake, I thought devrant was about ranting on something, not about some dudes reposting wannabe funny 5 years old memes and other things found online.
Especially posting images from 9gag or reddit.
This is a community of developers and people who believe to be developers soon, not a social network where you could post your shitty memes and pictures from your newsfeed.
Thank you for your understanding.5
So my job doesnt use any version control. They just edit the files directly from the network drive. Wtf? Is this the 90's?4
am i the only one who likes quoting Blazing Saddles in git commits?
most recent being adding mongo to a project.
"So what do you do?"
"I am a software engineer"
3 most frequent conversation routes
1. "I have some great app ideas maybe you could help me..."
2. "My computer/phone crashes frequently, what is wrong with it?..."
3. "so how many software/games/mobile apps have you developed?..."5
1. Code works
2. Add if statement
3. Code breaks
4. Comment out if statement
5. Code works
6. Uncomment if statement
7. Code works
Fun drinking game:
Take a shot every time the support department contacts a developer over a previously answered question.4
I saw a self called "senior developer" store a boolean as a "t" or "f" in a character varying with a max of one character in our postgres database. wtf13