Details
-
LocationEarth
Joined devRant on 3/2/2017
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
-
Me : Posts a original developer joke after thinking for 15 long minutes.
Gets 20 ++'s.
Me : Posts random computer science joke stolen from Facebook that everyone would have already seen.
Gets 200++'s.
Fuck this shit.43 -
People complaining about heat and the hottest day of the year. They are saying that this is the hottest summer that they have experienced in 10 years.
One intelligent person: This is the coolest summer that you will experience for the next 10 years.
P.S. didn't care about the environment and global warming that much but this shit hit hard.3 -
Some ideas for variable names. Thank me later :))
1. bool sheet;
2. int entionally;
3. char mander;
4. double penetration;
5. string cheese;
6. long schlong;23 -
Under settings, we made a checkbox labeled “Run Program Faster”. The state was saved but it didn’t do anything.
We turned it “on” when people said things were slow. Usually they were happy and no one complained the “run faster” option wasn’t working.29 -
German went to Russia 3 times unprepared
1) World War 1
2) World War 2
3) World Cup 2018
It seems they never learn from their past
🤣🤣🤣🤣🤣8 -
I found this amazing repository on github and just had to share it.
https://github.com/danistefanovic/...
I've already built a document scanner.
There's enough tutorials to keep a dev busy for a lifetime 😄14 -
If Gordon Ramsay made code reviews, I would watch that show. Especially the insults he would use for handling clients.
"This code has so much spaghetti, it decided to open it's own restaurant"23 -
I hate every non -American in my office who tries to flaunt a stupid fucked up American accent when we are trying to discuss a logical problem. Fuck the accent , do you have a solution you fucked up asshole.2
-
I stayed at a hotel called "Crowne Royal Plaza" for a work event in Denver. The TV in the room was a nice new '50 Samsung. Much to my dismay I discovered they had disabled the ability to change the input to HDMI. I called the front desk to compain and the pesent who answered the phone had the nerve to tell me that feature had been disabled because it was "illegal". I laughed histarically and explained the reason was actually to try and force customers to buy shitty pay-per-view content, to which he replied, "Probably".
We must put an end to such blantant disregard for hardware and software freedom. This is beyond uneccaptable. I am completely and utterly disgusted by such slimy business practices.
To the management of the Crowne Royal Plaza, from the bottom of my heart, fuck you and burn in the deapest, darkest part of hell, you scum sucking dick fucks!5 -
HR: How many years you've been developing on Android ?
Me: Two years, with many projects on my own.
HR: So, you're familiar with Android Studio?
Me: No, I've been using "Paint" to code.37 -
This code review gave me eye cancer.
So, first of all, let me apologize to anyone impacted by eye cancer, if that really is a thing... because that sounds absolutely horrible. But, believe me, this code was absolutely horrible, too.
I was asked to code review another team's script. I don't like reviewing code from other teams, as I'm pretty "intense" and a nit-picker -- my own team knows and expects this, but I tend to really piss off other people who don't expect my level of input on "what I really think" about their code...
So, I get this script to review. It's over 200 lines of bash (so right away, it's fair game for a boilerplate "this should be re-written in python" or similar reply)... but I dive in to see what they sent.
My eyes.
My eyes.
MY EYES.
So, I certainly cannot violate IP rules and post any of the actual code here (be thankful - be very thankful), but let me just say, I think it may be the worst code I've ever seen. And I've been coding and code-reviewing for upwards of 30 years now. And I've seen a LOT of bad code...
I imagine the author of this script was a rebellious teenager who found the google shell scripting style guide and screamed "YOU'RE NOT MY REAL DAD!" at it and then set out to flagrantly violate every single rule and suggestion in the most dramatic ways possible.
Then they found every other style guide they could, and violated all THOSE rules, too. Just because they were there.
Within the same script... within the SAME CODE BLOCK... 2-space indentation... 4-space indentation... 8-space indentation... TAB indentation... and (just to be complete) NO indentation (entire blocks of code within another function of conditional block, all left-justified, no indentation at all).
lowercase variable/function names, UPPERCASE names, underscore_separated_names, CamelCase names, and every permutation of those as well.
Comments? Not a single one to be found, aside from a 4-line stanza at the top, containing a brief description of that the script did and (to their shame), the name of the author. There were, however, ENTIRE BLOCKS of code commented out.
[ In the examples below, I've replaced indentation spacing with '-', as I couldn't get devrant to format the indentation in a way to suitably share my pain otherwise... ]
Within just a few lines of one another, functions defined as...
function somefunction {
----stuff
}
Another_Function() {
------------stuff
}
There were conditionals blocks in various forms, indentation be damned...
if [ ... ]; then
--stuff
fi
if [ ... ]
--then
----some_stuff
fi
if [ ... ]
then
----something
something_else
--another_thing
fi
And brilliantly un-reachable code blocks, like:
if [ -z "$SOME_VAR" ]; then
--SOME_VAR="blah"
fi
if [ -z "$SOME_VAR" ]
----then
----SOME_VAR="foo"
fi
if [ -z "$SOME_VAR" ]
--then
--echo "SOME_VAR must be set"
fi
Do you remember the classic "demo" programs people used to distribute (like back in the 90s) -- where the program had no real purpose other than to demonstrate various graphics, just for the sake of demonstrating graphics techniques? Or some of those really bad photo slideshows, were the person making the slideshow used EVERY transition possible (slide, wipe, cross-fade, shapes, spins, on and on)? All just for the sake of "showing off" what they could do with the software? I honestly felt like I was looking at some kind of perverse shell-script demo, where the author was trying to use every possible style or obscure syntax possible, just to do it.
But this was PRODUCTION CODE.
There was absolutely no consistency, even within 1-2 adjacent lines. There is no way to maintain this. It's nearly impossible even understand what it's trying to do. It was just pure insanity. Lines and lines of insanity.
I picture the author of this code as some sort of hybrid hipster-artist-goth-mental-patient, chain-smoking clove cigarettes in their office, flinging their own poo at their monitor, frothing at the mouth and screaming "I CODE MY TRUTH! THIS CODE IS MY ART! IT WILL NOT CONFORM TO YOUR WORLDLY STANDARDS!"
I gave up after the first 100 lines.
Gave up.
I washed my eyes out with bleach.
Then I contacted my HR hotline to see if our medical insurance covers eye cancer.32 -
They ask me how i can stare at a screen for 6h and go to sleep right away. They say it makes them unable to sleep after that time.
I say EMBRACE THE POWER OF F.LUX1 -
My girlfriend comes in and sees me on devrant.
GF: "What is that app? I see you using it all the time. Is it like an endless blog with updates?"
Me: "It's kinda like facebook. But for developers. And you don't have any friends".
GF: "That seems like a sad app"37 -
I apologies for my bad English.
I was 14 and addicted to PC games, I take money from my dad and bought new games every day
One day he got angry and told me: "What's are you doing with your life son? I don't pay for your games anymore! If you can build your own game and play with it!"
My mother had a computer academy, So i ask her to teach me how to build a game! She starts teaching me VB6, It was amazing.
After that, i started programming, Searching for VB6 sample code all day.
We had a local online game and it was a time killer, So i build an auto bot for this game to play for me, wit VB6. It works great, And send it to my friends and they loved it. Then I create a website and put it there so other players can use it, And after some days downloads reach 5000 times! I was shocked! Then I put a lot of time and improve it, Downloads reach 15000! After three years it reaches 50,0000 and more.
Between these years I learned VB.Net, C#, HTML, CSS, JS, Java and Android programming. Just because of some game.
And really thanks to my parent to put me in this path, It's great.
I think I can never get enough of coding!
But haven't created any games yet, So learning continues :)9 -
1) Stop going to univershity
2) Started python coding at home from online courses.
3) Got the best paid job among batchmates.14 -
After learning about the ability to tag software in git, I've made this quick graphic to remind myself of what numbers I should increment when I'm making changes.
http://semver.org/7 -
I am so fucking jealous of all you assholes. Oh look at me, i am a full stack developer and yada yada. I have the time and patience to do whatever app or game i want and show it off.
Fuck, you.
If i get home, i am glad i can stay awake for dinner and play a little game before i go to bed and my next day starts.
I have ideas, i need to do some self study to get all parts of those ideas going, but i fucking can't.
I have no motivation and no energy to spend when i get home, and even the weekends rarely i will feel like proframming jack shit. When or how do you even do it?! It's driving me up the wall and it makes me feel useless.
Stop being better then me in every possible way!29