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
Search - "thug life."
-
Manager: Write a function to get tomorrow's date.
Kids:
int getTomorrowsDate() {
return getCurrentDate() + 1;
}
Legends:
int getTomorrowsDate() {
sleep(1000*60*60*24);
return getCurrentDate();
}14 -
'rona virus working from home thug life.
MS Teams, several people including my PM, my company's sales lead, and the top brass from the client.
Sharing my center monitor with some technical documents etc.
A wild messenger message appears from my wife with the contents, "I'm gonna come home for lunch and fuck you sideways."
I'd put the amount of time it took me to mouse up there and flick that thing off the screen at about 900 miliseconds.
How fucked (in addition to sideways) am I?
Tl;dr ~ Fucked my wife. Fucked my life.11 -
Made live code changes to production site... during peak visitation hours... things broke... no one noticed... Thug life.2
-
So, our SMART Dean decided to have the collage WiFi MONITORED instead of blocking INAPPROPRIATE sites as blocked sites are easy to tackle...
What we did? Hosted a site using free hosting server with codes to simply get INAPPROPRIATE videos, split, and rename them and change the extension to PDF...
OUR COLLAGE WI-FI IS EXPERIENCING HUGE DOWNLOADS OF EBOOKS NOW!!! 😎😎😎😎23 -
HR : Hiring for a senior flutter developer with 8+ years experience
Flutter release date : May 2017
Thug life4 -
Using FireFox Dev edition:
Me: Cool a new update, lets hit update and restart button.
*two seconds later*
Me: FUUUUUUUCK, I was using incognito and now all my tabs are gone -.-8 -
I'm the bone of my project
Steel is my brain and fire is my eye
I have created over a thousand bugs
Unknown to people, Solve by death.
Have withstood pain to create many function
Yet, those bugs will never be solved
So as I pray, Unlimited Hope Worksdevrant android studio java depressed in despair sleepy life of programmer thug life work about to death4 -
Me and my colleague where debugging an issue with a 3rd party provider we are integrating with, we received this error result:
Making the request failed (dunno why)
The award of best error message goes to those fellas T_T3 -
!rant
True its a two days old story but now ReactJs 16 is out, and license is now MIT.
this is a good way to start my day :) -
Badass scenario:
Professor: writes a loop to sum up first five numbers and asks the output.
Me: 500
Other random student: 15
Prof praises him.
He runs the code.
Output: 500 ( internal server error)
(He had a missing semicolon) 😅6 -
Python. Oh dear Python. Why, oh why, when I have your function with parameters defined as an int, do you blithely accept a string and just go about your merry day? If I wanted you to be able to accept a string I would have let you accept a string. But no, I want ints. Its not a suggestion. Its a demand.
You're dynamically-typed thug life gets on my static-typed backgrounds nerves.
(I am fully aware of the reasons for it and why, but my goodness I do sometimes miss my static-typed compile error languages, rather than pseudocode that accidently compiles python)25 -
Created a hidden role in the Postgres database, with some tricky constraints, which only a DBA can find and remove, to give myself, disguised as the postgres account, a role which no one else in the system can have.
Called it "pharaoh". Thug life ;2 -
wow, to think about it , I have not been really 'excited' about stuff for last few years...
Now its like yeah, this is all a rat race...gotta learn this , learn that ,learn everything...but not really excited about it..Maybe feel like a thug-life boss if I get paid or recognised for my work...
However this is a race I am happy to run in,I like coding, like nerdy/smart tech jokes , like learning new stuff, and like my programming life.
A day without opening my laptop is really a day I feel sad but not the other way round. -
I can write articles to tech sites. I used to be editor at one Windows news site and kinda liked it. Although, they've kicked me for being Windows Mobile sceptic 😐2
-
A few months back, I was having the last few days of my college / university. Already had a job offer, wasn't fond of attending classes, so I had not much to do. I had been a student placement coordinator, and a few of other student coordinators along with the University Placement Cell decided to overhaul the current placement structure with a new, more efficient one. So, they asked whether I could take interviews (along with a few others) for new placement coordinators, who'd take over the following year, making the existing posts null and void.
So, I was interviewing a 2nd year girl for the technical team. In her form, she had mentioned that she'd been an executive member of the programming club of our University, founded the previous year, was peaking in terms of popularity among other clubs.
I found it strange, and during the interview, I kept pushing it until she accepted that she was just a member and not an executive member.
Then, I asked, do you know Bugs Buggy (name changed)... She said, yes, he is the founder of that club. I said, I am, Bugs Buggy.
Felt thug life B)1 -
new Promise(function (resolve, reject) {
self.getPaid(function (err, money) {
if(err) {
reject(err);
console.log("fml");
} else {
resolve(money);
console.log("fuck yeah!") ;
});
})
.then(resolve)
.catch(reject); -
For being smoker, I used to get this line everyday "don't smoke that way, that's harmful for health"
I'm like "we work with errors, not warning "1 -
Was debugging a php project (for a friend) the header(location) wasn't working for some reason, and I didn't want to go through his 1000 lines of code to see where the trouble was, so I just inserted JavaScript to redirect the page to a location he wanted.
Now he thinks I'm a genius😂😂 -
Do you know when you're testing your code and anything works as it should, even when everything looks all right? I dunno how about you, but... everytime this happens, I just change var/function name to something like "fuckingCalculate()" or "suckerAvg". It's similar as punching an old TV everytime it stops, or kicking a door that doesn't open.
.
.
Once I change the var/function to It's previous name, everything stops working as before.
.
What a shame...