Details
-
LocationBangalore
Joined devRant on 2/26/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
-
Javascript is McDonald's.
1) everyone says they hate it....but they just keep going back.
2) very few people admit they keep gong back...
3) When McDonald's started doing salads, dressing nice, and delivering to tables it seemed a little much, you're a burger place. A few years later I'm writing my app in react JS, serving up eJS templates with my NodeJS server, running off a NOSQL JSon database, and munching down a Greek salad from McD's.
4) you start your burger (project) with high hopes. As you eat though....you start to regret it, but oh well, you're halfway in. By the end, never again, last time. A little while later, npm asks you if you'd like fries with that.
Feel free to disagree or add more!12 -
Coworker: "Hey do you have 30 minutes? We should debug my broken code together."
Me: *slightly interested in the project he's working on* "Sure, let's do it."
Coworker: *explains the problem for 10 mins*
Me: "Maybe--"
Coworker: "OH here's the problem!" *type type type* *git commit -am 'Fixed'* "Done."
Me: *wants 10 minutes of life back*9 -
Probably the most rage inducing data loss story...
When it comes to my cellphone I'm a data hoarder, I store each relevant meme, conversation, video, contact, nudes, etc. Had to replace my phone? Easy, change the SD.
I did this for about 4 years, had over 11GB of almost everything and anything in a 36GB SD, one afternoon my buddies and I went to a small tech convention and on our way to my car we got mugged by 5 armed men.
They took my brand new phone along with my wallet and all my cash, luckily I had GPS tracking enabled and we were able to pinpoint the exact location of my phone within 30min.
So far so good...
We called the cops and went with them, we found the car with illegal plates and weapons inside (knives, a bat, gun) so I tell the robbers were in there inside a closed cyber cafe and showed him the point on the map confirming this.
Cop: oh we can't do that we don't have an order...
Me: are you kidding me, here's the GPS, there's the car, there's the weapons, doesnt that count as at least probable cause or some shit?
Cop: we don't have that in this country, you can file a report and after 3 business days we can come here to inquire.
Me: (fucking lost it) do you fucking think they'll be here in 3 days?! I'll give you 500 bucks if you go bust their ass now.
Cop: (thinks about it) but what if they are armed? [4 patrols, 8 cops, 4 rifles and at least 6 guns plus vests] Maybe if you had contacts within the bureau we could have an order now...
(┛✧Д✧))┛彡┻━┻
I lost a lot that day, including respect to this fucked up system.
t(ಠ益ಠt) FUCK THE POLICE go eat a dick.10 -
Happy April Fool's!
- Windows 8 == Best OS
- Apple is fairly priced
- PHP > C++
- Java === JavaScript
- facebook > devrant
- Github useless, use .zip
- Comic Sans best terminal font
- Nobody needs a web developer because Wordpress much better
- Linux is for virgins22 -
Came to work and there ware my boss and CEO waiting there next to my place.
"Hey, you remember that you mentioned yesterday that you had a break through and the thing is finally starting to do something? We have few journalist downstairs can we show them a demo in like five minutes?"
"Ok, give me five minutes and don't click here and there otherwise it blows up."
My boss came back from presentation after ten minutes that it doesn't work, after little investigation turns out to be hw issue, replaced hardware went to the conference room and it worked.
Crazy deadlines? No, just another day at work. -
F**king sh*t management...there was a training schedule for Casandra (for basics and advance), I added my name to interested list and as I wanted my site ppl know I sent a email to HR stating to look at it and add more ppl....now I am out from the list and a line manager's name got added...WTF....why the hell he needs rather then a programmer... :(2
-
*Working on personal project*
Don't get excited about another project
Don't get excited about another project
Don't get excited about another project
Don't get excited about another project
...DAMNIT16 -
I have just landed my dream job. Coming from a background of java and python, I applied for a C++ heavy company... The interview process was centred on algorithms and I passed it. Now I get to learn the language I have always wanted to learn from pretty hardcore devs while I am getting paid. One of the best fucking days of the 21 years I have been alive for.3
-
"I want blah blah blah and I need it now! There's a commercial expression called TIME TO MARKET!"
And there's a programming expression called TIME TO DEVELOPMENT, you stupid brick.2 -
Witch hunting:
I just spent the last 90 trying to fix a visual bug with the UI
I made a functional component to render pretty forms with minimal information in React
Turns out some random ass fields were not rendering with their respective lower borders
Refactored the shit out of the components
Actually got them to follow a strict styling
Two cups of coffee later it clicked: everything was perfectly functional, I just have a shitty small monitor and tried zooming in
WOULD YOU LOOK AT THAT, IT'S THE FUCKING BORDER I WAS LOOKING FOR ALL ALONG!
Don't be like me: check les differents view ports4 -
*wrestling commentator voice*
"In this weeks episode of encoding hell:
The iiiinnnfamous UTF-8 Byte Order Mark veeeersus PHP!"
For an online shop we developed, there is currently a CSV upload feature in review by our client. Before we developed this feature, we created together with the client a very precise specification, including the file format and encoding (UTF-8).
After the first test day, the client informed us, that there were invalid characters after processing the uploaded file.
We checked the code and compared the customer's file with our template.
The file was encoded in ISO-8859-1 and NOT as specified UTF-8.
But what ever, we had to add an encoding check, thus allowing both encodings from now on.
Well well well welly welly fucking well...
Test day 2: We receive an email from said client, that the CSV is not working, again.
This time: UTF-8 encoding, but some fields had more colums with different values than specified.
Fucking hell.
We tell the customer that.
(I was about to write a nice death threat novel to them, but my boss held me back)
Testing day 3, today:
"The uploading feature is not working with our file, please fix it."
I tried to debug it, but only got misleading errors. After about 30 minutes, at 20 stacks of hatered, I finally had an idea to check the file in a hex editor:
God fucking what!?!!?!11?!1!!!?2!!
The encoding was valid UTF-8, all columns and fields were correct, but this time the file contained somthing different.
Something the world does not need.
Something nearly as wasteful as driving a monster truck in first gear from NYC to LA.
It was the UTF-8 Byte Order Mark.
3 bytes of pure hell.
Fucking 0xEFBBBF.
The archenemy of PHP and sane people.
If the devil had sex with the ethernet port of a rusty Mac OS X Server, then 9 microseconds later a UTF-8 BOM would have been born.
OK, maybe if PHP would actually cope with these bytes of death without crashing, that would be great.3 -
Just recently I found myself in the position I never thought I would. I was at work and my boss said, "Hey could you pickup *Item* from *sister location*? So I went to *sister location* I knew what I was looking for but I couldn't remember what they were called. So I asked one of my coworkers," Hey, I'm supposed to pick up something here." She didn't know what I was talking about. I told her I could remember what they were called.
Her response: "If you don't know what the were called, why do you EVEN come over here?" The rudeness in her voice was unmistakable.
In retrospect I could have been rude right back but there where people nearby and I had already decided I didn't like her. She is the kind of girl that you assume spends her paycheck on outfits. (or maybe she just dresses well I can never be sure, but I digress) Eventually I found what I was supposed to do. By the time I had to go to back for the second batch of *items*, I get sent back to my boss's office. To my surprise, my boss had overheard what happened.
Apparently one of the people nearby thought SHE was being rude and REPORTED HER.
It was incredible; someone was offended FOR ME?!!!
I have no idea how you even go about doing that where I work. I went back to work and I saw her walk though the door to the boss's office. I actually felt a bit sorry for her.4 -
A friend (also a colleague) of mine had hacked the password of his manager's Netflix account 😆
Well, can't call it as "hacking" in 2018 when you can sneak into an idle laptop and view stored passwords in Chrome.
Now this Netflix account works as a "charitable trust" and more than 30 people are aware of the password 😆18