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"
-
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 -
A C++ question. Correct answer will get you a virtual thug glasses & a cigar if you're into that , and upvotes (:
#include <stdio.h>
int main(void) {
int i = 4;
int* p = &i;
i = 8;
printf("i divided by *p is: %d\n", i/*p);
return 0;
}
What is the result of running this code?18 -
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 -
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 -
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 -
!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 :) -
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 -
!rant
I will have almost 3 weeks of vacations coming up. For which I will TRY and understand the idea behind building a REST API using the Microsoft C++ cpprestsdk libraries.
The end goal? Be able to replicate a little project I got going in Node.js in order to compare how well it goes on C++, a language that I greatly fear on accord with how complex the syntax always looked to me :V The thing is, the first time I tried to learn programming was when I was about 17 and c++ was back then not the way to go for me. I sometimes wish I would have stuck to it, I k now enough to get by building and linking shit correctly, and of course the basic concepts are there, some advanced ideas are iffy but I should be able to get them going relatively well once I start working on the code.
I am using this tutorial as a basic guideline :D
https://medium.com/audelabs/...
Will be interesting to see. Always wanted to have something done with C or C++ that was bigger than any of my academic projects. Funny enough, I have a large collection of C++ books, but never really used them since they would bore me :V
Cheers putos! -
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. -
Captain America: Winter Soldier
Thug officer: "Deploy Algorithm"
Me as random operator: "Like all of them? At once? There are tens of thousands running on this thing" -
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 -
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
-
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); -
LORD AM I PRON TO THESE KIND OF PEOPLE AS A DEV!!!?
[09:21, 22/04/2020] +263 78 454 5470: Bro
[10:24, 22/04/2020] Softaz: Wasap
[10:25, 22/04/2020] +263 78 454 5470: Im good fam hwu
[10:37, 22/04/2020] Softaz: Um good bro how is it?
[10:43, 22/04/2020] +263 78 454 5470: All good.. i need help fam... i want to creat application form but dnt knw how to fo th out look appearance
[10:48, 22/04/2020] Softaz: Ummm haven't used out look
[10:51, 22/04/2020] +263 78 454 5470: Nooo I mean appearance of the app. .. not outlook windows no
[10:55, 22/04/2020] Softaz: 🤔
Wat you up to
Want to create a form using outlook or you want to create an application? ??
[GUY SENDS VOICE NOTE]
[11:21, 22/04/2020] Softaz: Is it web app or desktop app
[11:22, 22/04/2020] +263 78 454 5470: I thnk its wise to hv it a web app
[11:24, 22/04/2020] Softaz: Ok so is this a thing chitone market or?
[11:24, 22/04/2020] Softaz: And outline all it's functionality
[11:25, 22/04/2020] Softaz: And the price😋🤑
[11:26, 22/04/2020] +263 78 454 5470: Na. Its just fr records n logs ... for reference
[11:26, 22/04/2020] +263 78 454 5470: 👀U want to thug me now
[11:27, 22/04/2020] +263 78 454 5470: Nigaaa👀wait
[11:42, 22/04/2020] Softaz: 😂 its yo idea
I can't make something I have no idear what information it should take in
What format to generate soft copy
Etc5 -
Fuck... Am getting my laptop's battery changed and this feels like someone's doing a heart transplant of my precious.
What if the new battery isn't compatible, what if the guy turns out to be a thug and takes away my laptop parts ,what if what if what if.... Damn kill me now10 -
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...