Details
-
AboutI am a curious guy who loves to make his code better. I don't stop until I am completely satisfied with my work and thus learning fast. Hoping to get to meet good programmers here.
-
SkillsHTML/CSS, javaScript, C, C++ , jQuery, Python
-
LocationNew Delhi
-
Github
Joined devRant on 6/16/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
-
Had to wirte and optimize a C++ program that finds for 1000x1000x1000 grid points the 100 nearest points for each (with an additional factor to make it more complicated).
It had to run in under 18 minutes to pass. No matter what I did I couldn't get it fast enough. I tried kd-trees, caching of certain points, optimizing distamce calculations by ommiting any irrelevant factor, saving points' calculated squares etc etc. When Ibwas down to 20 minutes, I realized, that my makefile had an error and ignored the - O3 flag...
Well, it actually ran 5 minutes with -O3.8 -
When I was a kid I fucked with a ouija board and now trying to debug massive regex expressions I swear Satan has finally come to screw me9
-
Grammarly just found and corrected an embarrassing mistake in a legal document...
My typo was "onimated"...
Googles spelling and grammar changed it to "dominated"...
Grammarly figured out it should have been "nominated".3 -
Client came to visit ,
The team had to give a presentation on our achievements...
I was asked to create the presentation...
Represented our achievements using memes and the client loved it 😬😬 -
Happened a while ago but I still find it funny.
*phone rings*
Me: good morning sir, how can I help you?
Client: MY WEBSITE IS OFFLINE, FIX IT RIGHT NOW.
M: I'm going to take a look, what's the domain?
C: *gives domain*
M: I see, that domain expired already, it was cancelled through our customer portal by the client, you maybe or someone you know?
C: WHAT?! MY INTERNATIONAL BUSINESS DEPENDS ON THAT DOMAIN, I'D NEVER CANCEL IT, THIS IS BULLSHIT! I'F THE SITE GOES OFFLINE FOR A MONTH I'LL FUCKING GO BANKRUPT, YOU'RE GOING TO FIX THIS RIGHT NOW.
M: if I may ask, how is your business doing right now?
C: HOW IS THAT QUESTION RELEVANT RIGHT NOW?!
M: well, you said that if the site would go offline for a month, you'd go bankrupt. The domain registration ended about half a year ago so that's why I aske......
*beeeeep beeeeep beeeeep*
Well, okay then.13 -
Oh yeah. Hey guys. 2 things.
First off. Forgot to say. Officially got a job. Finally. So thank you for all the help/advice and patience with my depressive rants!!
I'm in a new chapter of my life now so thanks.
And secondly.
I FUCKING HATE MY JOB6 -
Lately I'm finding issues on git more helpful than StackOverflow.
I know those are different beasts, but for the harder/specific questions I'm finding more resources on the repos than on SO.2 -
We all once printed "Hello World" & were acting like a pro 😏
Cheers, we all made it till here, more than "Hello World! 🍺8 -
Git.
The smallest utility made its way to being the largest companies must-have, the most critical part of the whole development landscape.
Using just plain C, Git can shred huge amounts of data insanely fast. It never gets old.
Git is a developer's scalpel.11 -
Why does everyone screenshot a Tweet, instead of using a perfectly good app 'Tweet2Pic' being available on Play Store.
P.S: I am the dev, shamelessly promoting my app. I am not sure if I can share links here 😅3 -
Got semi drunk and thought "Now would be a good time to implement this feature"
*Codes for 2 hours straight without compiling once*
"Done. Good night"
The next morning:
Gets up and tries out feature
*Fixes 2 syntax errors/typos*
*Tries again*
*Feature works*7