Details
Joined devRant on 6/19/2016
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
-
In the school we were using slow PCs for learning MS Office things. Every single step we did took ages. There were one guy who was an informatics antitalent: he never were able to work fluently with any electric machine from a microwave to anything smarter. In addition he was a semi-pro athlete and he had some kind of anger management issues, sometimes yelled to the teacher after a bad mark or with us when we lost a in-school soccer match. You know, he was that competitive guy.
One time on computer science class he was very focused. He tried to follow every steps precisly and his machine seemed faster than as usual. He felt like he broke some kind of wall which was between he and the machine.
When we had a break and he went out we tought that we should make a prank. We made a fullscreen screenshot from the desktop and set it as the wallpaper, then killed explorer.exe. As a result the icons and the start menu was only on the screen by the wallpaper.
When he came back he said that there were some bad news from some of the sport event he wanted to go, so he was angry. But then... You know the gif when the guy first hit the side of the screen multiple times then throws out the machine? Yeah, we saw that in real life, but not in that office. First he was just clicking everywhere, we just watched how his face just transforming. Then he started to talk just in himself as the machine could understand. After two minutes he just yelled to the machine why did it freeze, but the last drop was when the teacher said: You'll have to send me your work and it will be marked. In this moment he was just roard a huge and droped the CRT out of the window from the second floor. Luckily the window was facing to a brushy part of the garden so no one was there. He just standed there, looked out to the CRT sitting in a brush for a while, then he turned to the teacher as "Mr, I think something is wrong with my machine"3 -
When you are at a party and people ignore you when you talk about your job. And in my head I'm like:
"You assholes in 10 maybe 5 yrs y'all are gonna be replaced by computers except me. Enjoy your life while you still can."1 -
In my college days i was designing a bootloader for avr microcontroller , i had the idea to flash code wirelessly to avr over bluetooth and also cross compile the compiler for android device so that you can code on android, every thing went well just one thing didn't, i saw that code of certain size is executing properly , greater than that size gives me wired outputs so i have to dump hex from the avr (that is flashed the by bootloader) and compaire it with the original hex of code it got messy as you can see, most fun part of this bug is that error can be anywhere cross compiler may be fucked up , the bootloader may be fucked up , or it may be my bluetooth module , after 14 hours of staring at the hex code i figured out the mess in bootloader instruction that was changing the page address for flashing .
when it worked it was 3am in night i literally burst into tears of joy next day bought myself a cake to celebrate6 -
One of our web developers reported a bug with my image api that shrunk large images to a thumbnail size. Basically looked like this img = ResizeImage(largeImage, 50); // shrink the image by 50%
The 'bug' was when he was passed in the thumbnail image and requesting a 300% increase, and the image was too pixelated.
I tried to explain that if you need the larger image, use the image from disk (since the images were already sized optimally for display) and the api was just for resizing downward.
Thinking I was done, the next day I was called into a large conference room with the company vice-president, two of the web-dev managers, and several of the web developers.
VP: "I received an alarming email saying you refused to fix that bug in your code. Is that correct?"
Me: "Bug? No, there is no bug. The image api is executing just as it is supposed to."
MGR1: "Uh...no it isn't. Images using *your* code is pixelated and unfit for our site and our customers."
MGR2: "Yes, I looked at your code and don't understand what the big deal is. Looks like a simple fix."
<web developers nodding their heads>
Me: "OK, I'll bite. What is the simple fix?"
<MGR2 looks over at one of the devs>
Dev1: "Well, for example, if we request an image resize of 300, and the image is only 50x50, only increase the size by 10. Maybe 15."
Me: "Wow..OK. So what if the image is, for example, 640x480?"
MGR1: "75. Maybe 80 if it's a picture of boots."
VP: "Oh yes, boots. We need good pictures of boots."
Me: "I'm not exactly sure how to break this to you, but my code doesn't do 'maybe'. I mean, you have the image from disk.
You obviously used the api to create the thumbnail, but are trying to use the thumbnail to go back to the regular size. Why not use the original image?"
<Web-Dev managers look awkwardly towards the web devs>
Dev3: "Yea, well uh...um...that would require us to create a variable or something to store the original image. The place in the code where we need the regular image, it's easier to call your method."
Me: "Um, not really. You still have to resolve the product name from the URL path. Deriving the original file name is what you are doing already. Just do the same thing in your part of the code."
Dev2: "But we'd have to change our code"
Mgr2: "I know..I know. How about if we, for example, send you 12345.jpg and request a resize greater than 100, you go to disk and look for that image?"
<VP, mgrs, and devs nod happily>
Me: "Um, no that won't work. All I see is the image stream. I have no idea what file is and the api shouldn't be guessing, going to disk or anything like that."
Dev1: "What if we pass you the file name?"
<VP, mgrs, and devs nod happily again>
Me: "No, that would break the API contract and ...uh..wait...I'm familiar with your code. How about I make the change? I'm pretty sure I'll only have to change one method"
VP: "What! No...it’s gotta be more than that. Our site is huge."
<Mgrs and devs grumble and shift around in their chairs>
Me: "I'm done talking about this. I can change your code for you or you can do it. There is no bug and I'm not changing the api because you can't use it correctly."
Later I discovered they stopped using the resize api and wrote dynamic html to 'resize' the images on the client (download the 5+ meg images, and use the length and width properties)22 -
A colleague just hit his computer with a C++ textbook and shouted a verse that easily would have been bleeped out on TV. All this because he could not log into Windows.
Microsoft need not worry, they seem to have fixed any loophole for such bruteforce login attempts ;-) -
Dear colleagues. Please use your brain. Don't ask me the same things over and over again. It's really annoying... 😡2
-
That moment when your non dev friends are talking about V8 engine, and it takes you a few moments to realize they are talking about cars.3