AboutDrive it like you stole it #eos #ninja #humancentereddesign #photography #dapps #hardware #infosec
Joined devRant on 4/7/2018
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
This job advert of an IT company would throw a compile-time error. Perfectly geared to the target group.13
I thought it would be good prank change semicolons to Greek question mark in my boss' code where his delivery date is today. I thought he will spend like at least few minutes figuring it out.
He ran make, immediately figured it out and even corrected with sed only. Then yawned and looked at me with a smirk. Now I am getting paranoid what he will do as revenge46
”our PC stick isn't booting up! Come and fix it! (angry)”
”The PC are meant to boot up whenever power is delivered to them. Are you sure your TVs are powered on?”
”Yes! I just pressed the power button on both TVs and it didn't turn on the PC sticks.”
”So you can confirm the TVs are on? Can you change the input and see what happens?”
”Stop wasting my time and send someone down to fix it now! I told you it isn't working!”
”Ok, we will get someone out to you as soon as possible.”
Then a support guy drives 2 hours to their store.
When he gets there he realizes that the TVs power is connected to a light switch and they has the switch off!!!
He said ”can we turn on some lights so I can see behind the TV?” and then all the fucking TVs came on.
These are times when I fully understand the concept of “firing a customer”.
The customer sent an email saying ”the downtime for your product was unacceptable.” even after it was explained to them that the problem was them turning off the power.
These fucking idiots actually expect us to deliver products to display on TVs without fucking electricity to run them.13
As many here (incl. me) like the Silicon Valley series, T.J Miller (playing as Erlich Bachman in the series) has been again in the news for his (mis)behaviour, this time for seemingly calling in a fake bomb threat on somebody, while being drunk.
Do you think the producers would go as far as remove him from the series for the rolling drama? if so, can you imagine the series being without him?
I can't believe that something I threw together in an afternoon to make my work flow better turned into something people actually use! People are opening issues and suggesting things. Never thought it would get over 2.5k downloads! 😮18
The guy who did android dev before me in the company i work for, didn't get paid for 2 months, so he moved all the project files he worked on to an empty partition and locked the drive with Windows' BitLocker. He didn't give the password until he was fully paid. I kinda respect that guy.21
After years of working with managed code, having to work with a microcontroller in C and that only has 1kb of SRAM is being a big fucking challenge.5
I love brackets on the same line as function declaration and I am proud of it.
My first personal computer in 1988: the ZX Spectrum +.
48 KBytes of memory.
The European opponent of Commodore 64. Sic!8
Y'all ain't gonna believe this shit... I'm at Starbucks, coding on my laptop. I just came outside to smoke a cigarette and right after I lit it, bird shit landed on the ground two feet to my right. 😥
When you stare into git, git stares back.
It's fucking infinite.
Me 2 years ago:
"uh was it git fetch or git pull?"
Me 1 year ago:
"Look, I printed these 5 git commands on a laptop sticker, this is all I need for my workflow! branch, pull, commit, merge, push! Git is easy!"
"Hold my beer, I'll just do git format-patch -k --stdout HEAD..feature -- script.js | git am -3 -k to steal that file from your branch, then git rebase master && git rebase -i HEAD~$(git rev-list --count master..HEAD) to clean up the commit messages, and a git branch --merged | grep -v "\*" | xargs -n 1 git branch -d to clean up the branches, oh lets see how many words you've added with git diff --word-diff=porcelain | grep -e '^+[^+]' | wc -w, hmm maybe I should alias some of this stuff..."
Do you have any git tricks/favorites which you use so often that you've aliased them?50
TL;DR: I “hacked” my thermostat.
I’m stuck with an annoying roommate in college dorms who apparently always keeps the FUCKING thermostat at 80F. LIKE WHAT THE ACTUAL FUCK IS WRONG WITH HIM. Every time I change it to like 73F, he changes it back to 80F Heat.
Getting tired of his shit for over a semester, I decided to do something about it. I looked up the thermostat made by HoneyWell and downloaded the product manual of it. Turns out, they have a system override ability to remove the heating mode and change the maximum and minimum values of temperature.
BOOM! I removed the heating mode and changed the minimum value to 70 and max to 74.
It’s 2AM here and I can finally go to sleep without sweating my balls off. I’ll keep you guys updated on his reaction hahahaha.28
Developed an android app for the client. It was going great. Prototype for the initial (and static) content to show to the client was on the way. All until...
*goes back in time to when we were developing the prototype*
The asshole boss: "Wow this is good, just remove the login after the splash screen. Redirect it to the dashboard immediately."
Me: "What? Why?"
TAB: "He (the CEO of our company) said that the client doesn't need to see the login."
Me: "Well, alright." (Orders are orders, better remove it)
*A few days later, we present the prototype to the CEO. He'll be the one talking to the client. TAB isn't in this meeting.*
CEO: "Where is the login screen?"
Me: *dumbfounded and confused, in silence, and pressure rising*
The Good Boss: *whispers* "Where is the login screen? I thought I told you guys it should be there."
Me: *whispers* "TAB told us to remove it."
TGB: *Looks toward CEO* "TAB told us to remove it."
CEO: "Ugh. TAB is sick."
A little giggle. Nonetheless the meeting continued. He was displeased. I was a little guilty. The login screen's code was already there. Just couldn't show it since the app doesn't redirect there anymore.
*A discussion after the meeting*
TGB: "Why'd you guys remove the login?"
Me: "You and TAB had a meeting with the CEO the other day. After the discussion TAB went to us and told us to change it."
TGB: "But the CEO said no such thing! Anyway, let's go back to the office and straighten this out tomorrow."
*The next day, TAB was in the office*
TGB: *Chatting on messenger with me* "He is completely denying it."
TGB: "He said he never told you guys anything. And he is persistent. I kept telling him it was his fault, but he denies all of it. He never approached you guys to change anything."
Me: "Well yeah. I guess we magically thought to ourselves and said, 'Hey, let's remove the login screen for fun. Let's show them less content because that's how we please our clients!' -_-"
Seriously, what kind of assholefuckery is this. This shit is a whole new level. I am so TRIGGERED.
I don't really care that the meeting didn't go as planned. Just MAN UP AND ADMIT YOUR MISTAKE YOU FILTHY SON OF A GOOSE. Never listening to this asshole again. Thought he could be trusted. I will always ask my good boss next time.18
1. Naming all variables with letters of the alphabets
2. Not indenting (screw tabs VS spaces, I could use anything here)
3. Putting all src files in one directory
4. Writing the entire code without using any functions
5. Writing code and asking me to fix linting
6. Asking why they should follow language style guidelines4
When I just started my software engineering course in college, we had a group project every semester where we would use the skills learned during that semester to make a certain product or program.
For the semester in this story, we were tasked with making a reservation system for a campsite. Visitors would be able to select a free spot, and reserve it.
The spot reservation screen would be a map of the campsite, and visitors would click on the desired site on the map to select it. Sites were neatly laid out in a perfect grid.
My task in the group for this project was my favourite position: yelling at people for poor code quality. And boy did I get to yell.
Any semi competent programmer would probably come up with two simple loops to generate all the buttons (something like 144 buttons), one loop to fill a row, and then another to go down the rows until all were filled. Some other similar functionality in the program was solved this way.
However, my classmate that was responsible for this part of the code wasn't a big fan of concise programming. So instead, he wrote 144 functions aptly called `generateFirstButton()` all the way through `generateHundredFourtyFourthButton()`.
I called him out on his horribly smelly code, and his retort was "But it works, and now you don't have to think about complicated loop logic".
I rewrote the class and reduced it from ~1150 lines to about 20 lines.
He didn't pass the exam.3
Writing customer passwords fulltext into the prod database because "it's easier to associate them with the user"5
Damn senior guy from storage background worked for a big company, he wants to learn git and so I told him to install git from git scm portal.
Well he did and came back saying its not working. I wondered thats not possible to curiousity I when to.his desk and found he was using fucking windows xp sp3 on his laptop.
I told him can you install windows 10
Well he tried but his fucking hardware doesnt support.
Wondered seriously why on earth this guy still using windows xp7