Details
-
AboutAn idiot who likes to code but is scared of it too. Trying to find his own way in this humungous coding world
-
SkillsJavaScript, jQuery, AngularJS and Outsystems
-
LocationNagpur
Joined devRant on 4/21/2018
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
-
So if you guys had a variable with an "ID" in it, would you write it like this:
"var userId;"
or like this:
"var userID;"
?
Just curious.43 -
Dates are f***ing annoying, we humans deal with them in such a weird way. It's almost impossible to define a algorithm dealing with them consistently.8
-
We noticed that in our landing directory we were receiving duplicate files.
I asked the source to investigate.
He told me that the issue was not at his end. He asked me to mark the issue has been resolved from his end. I refused.
We get on a call to debug the issue. After 30mins he is extremely frustrated. As he was sharing his screen, he runs the command `ls -ltr | uniq -cd` on his server which sends the files and then screams at me "Where are the duplicates? Show me. Check the output. There are no duplicates.".
I first muted the call. Had a good laugh. Made him repeat it to show my team mates. They had a good laugh too.
I then asked him to call it a day. And once you cool down, think about what you just showed me. -
How many of you use GIT from a plugin in the IDE?.
I've never even tried to use it.
I feel that cli is the way to work with git.18 -
Recently, I had to make a minor modification to some Node.js code a coworker wrote a year ago which buffers stringified JSON into Kinesis. I just needed to add a new key to the input object, it took minutes to make the change, but hours to make sense out the absolute trash spaghetti code this guy wrote. After spending half a day trying to make his code readable, I just got so pissed off. I replaced his 15 files/+1,500 lines of uncommented code, filled with classes, factory functions, poorly named functions and vars, and so, so many spelling mistakes.
We now have a single, well commented, 300 line file that does the same thing.
Get that shit code out of here. -
Here are few hillarious coding puns I found....
class Brick implements Throwable { }
byte me;
char acter;
float stone;
Exception taken;
string me_along;
int elligence;5 -
At my study's final exams, I coded a system with login and everything included.
Showed it at the final delivery:
Fake client: awesome! So how do I logout?
Me: 😐
Me: 😶
Me: 😁
Me: 😓
Me: 😭
Yeah, you couldn't logout.30 -
I don't know why everyone seems to think Chrome uses too much memory... My work machine has 32 GB of RAM and it runs fine with Chrome only consuming half of that. I'm thinking of upgrading to 128 GB and then I'll be able to run Chrome AND Atom at the same time!4
-
Facebook just announced a dating mode.
I don't know what to say. Is Zuckerberg that desperate to see how humans date?
https://theverge.com/2018/5/...8 -
*15 new emails*
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy
We have updated our privacy policy41 -
2 days to find where the NullPointerException came from, in a nearly 150 tables database. Once I found it I feel like the guy who found the grain of sand blocking the whole machine.2
-
Me: hello IE, you see that div with id?
IE: ...... ..... .... yes.
Me: would you like to set it as absolute and stick to bottom?
IE: ........... i don't know...
Me: but all the other guys like chrome and firefox are doing it.. come on it's not object-fit: cover; just absolute positioning. Please.
IE: ......... I can't!
Me: why the fuck not??
IE: ......because I don't see the id...
Me: FUCK YOU YOU FUCKING PIECE OF FUCKING SHIT!!!!!
IE:...............10 -
Hey guys,
I posted my first side project in producthunt today
https://producthunt.com/posts/...
please upvote/comment if you like the product and any type of feedback/feature requests are welcome.
Thanks,5 -
A: There is not even a single forum for cyber security. Let's build one.
Me: Are you sure that there is not even a single forum?
A: Yes, I'm a cyber security expert. I have 5 years of experience in this field.
Me: **walks out quitely**1 -
Shared by codechef on their Facebook page. Not sure who the original author.
But it sure does make a pretty good header for your code. ;)
#DontMessWithMyCode3 -
$sis: hey $me, can you help me?
$me: Uhm, sure, what's wrong?
$sis. The printer doesn't work..
$me: what does it say?
$sis: what do you mean?
$me: like, when you try to print something, what does it say?
$sis: uhm... idk...where should it say something
$me: On your screen you should be getting an error message right?
$sis (now getting irritated for some reason): no it doesn't..
$me: okay, let me check it out
*I walk to the printer with my sister's laptop and plug in the usb*
*Select printer > click print*
"Printer offline"
$me: was it also saying this before
$sis: uhm...yes
$me: ok
At this point im already getting a bit fed up
$me: are you sure this port is working
$sis: yes, I am sure
Okay, check other ports just to be sure, also don't work.
After about 15 minutes of debugging, turns out she managed to unplug the cable on the printer...
And all I got was a "o thanks"
Fml4