Details
-
AboutNeed regular doses of coffee to prevent buffering.
-
SkillsNode.js, PHP, Python, Android, Java
Joined devRant on 7/4/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
-
I wrote a blogging platform around 3.5yrs back in PHP. My friend uses that, and apparently wants me to update the code. To which I refused saying that I am too busy. But the real reason is that it is one of the purest form of cancerous shit I ever wrote. I can't even look at that code now. Its like abandoning your own child, because it is too ugly... Here's a snapshot of the code, I don't even know what this does anymore..
Moral: Don't give your code to your friend no matter how shitty it is, you will end up providing lifetime support for it.1 -
It took long enough for google to do something so basic.
So currently if you have provided mic or camera access to one of the apps, then it can also access those features while running in background..3 -
Just found out that something like this would actually work in Java:
int a = 2;
switch(a) {
case 1:
int b = 1;
break;
case 2:
b = 2;
}
I know about the variable scoping part, but that doesn't means if the language allows this kind of shitty code you should use it.. Fuck took me 15 mins to resolve the merge conflicts. As during merge the 1st case was partially removed. And the code was filled with these kinds of logic. This could have been done in a minute without the shitty code..4 -
So I went to a service center to repair my cracked mobile screen. I thought that the process would be completed in a few hours so I didn't took any backup.
Guy: You need to hand over your device for 2 days.
Me: Okay, no problem just fix it. (At this point i was desperate because a bunch of shops already told me that the complete model needs to be replaced)
Guy: You also need to remove any screen lock from it.
Me: But why?
Guy: We need to test once we fix the display. The repair util can be accessed by an inbuilt app.
Me: *Internally screams, my pr0n collection, my browsing history...*
Me: Just give me a minute. *Uninstalls a bunch of apps*.
Me: Handing the device to him. *crying internally and thinking if anything was left*.
Me: While returning, Fucking fuck now how am i gonna suppose to book myself a cab.. *facepalm myself with a fist*1 -
Colleague: Let's see the luna(r) eclipse.
Me: But that was a while ago.
Colleague: No it is today. Let's go out and see.
Me: Out.!! But how could you run eclipse there?
Colleague: What??
Me: What..?? Oh...!!
*awkward silence*
All the while I was thinking why would a node dev require eclipse, when he could perfectly work with something like vscode. Feels so stupid. -
Is this real?
https://mobile.twitter.com/fs0c131y...
OnePlus spying on its users using the clipboard app.10 -
F*ck software updates..
So while working today, one of the IT support guy came and asked to update my windows machine due to some stupid company 'security policy' they were following .. That update took more than 3hrs.. The reason it took so long because I somehow managed to avoid any updates for 6-8 months.
But that is not the end of the story... Windows update was followed by a bios update, some softwares, and at this point I just gave up and went for a cup of coffee, and left my machine locked in a drawer still updating and it will stay in this condition until tomorrow.. We'll see if something breaks after updating.
F*ck why are there so many updates and why each of them requires a f*cking reboot...
Productivity today was less than the number of side projects I completed. 😪6 -
Wished sudo exists in real life also.
Me: Leave me alone.
Person: No.
Me: sudo Leave me alone.
Person: Sure.12