Details
Joined devRant on 7/27/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
-
boss' revenge
So here https://devrant.com/rants/1349878/... posted prank played on boss. For 3days I been freaking out what boss will do as revenge (check env and alias everytime I login). Then yesterday happened his revenge.
Was doing testing on my programs & sometime some programs would run but sometime it get segmentation fault. Seemed random first but then saw a pattern... everytime I get segmentation fault and I run again it would be fine. Checked alias... nothing, /etc/crontab, env, ps -ef... nothing seemed off, cksum of my binary... correct. Fuck! "What my boss did?" asked myself. Finally .5hrs later I saw entry in my id's crontab but then 1min later it's gone from my crontab
From there figured out how boss did it:
1) He replaced ntpd with his C program that runs in background creating an entry in my crontab every few mins
2) The entry in my crontab set to run /foobar/ulittleprick.sh every 2mins
3) ulittleprick.sh picks random binary owned by me, rename binary.name to .binary.name.nitwit and create a script named binary.name
4) Then ulittleprick.sh will remove itself from cron
What the generated binary.name script does? Sleep for 2 secs, echo "Segmentation fault", then rename back .binary.name.nitwit to binary.name. It even exits with status 139! I want to cry! Worst part is comment in 2nd line of ulittleprick.sh... kill me now29 -
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 -
Revived my grandmas computer with Linux and she is happily using it without problems.
Today it was a good day.7 -
It happened.
I wrote "you're missing a tab in your python code" as an answer on StackOverflow.
I was downvoted AND told that I wasn't correct: it was missing 4 spaces and not a tab, according to the python guidelines.
Now, I haven't read them, but my Richard Hendrix fucking intensifies.
Fuck spaces. And if python guidelines talk about spaces, fuck python guidelines too!31 -
Why are the fastest laptops always considered "gaming" laptops and look like fucking alien spaceships? 😩
They're ugly as fuck45 -
I was told during my initial interview that the book "Clean Code" is their Bible here.
And it's true. It's lying, unread in drawers and shelves all over the office.15 -
Another dev on my team just got a new machine. Before he came in today I made two separate USB installers and left him these notes.60
-
Me if there's no coffee at work:
(╯°□°)╯︵ ┻━┻ I WANT COFFEE.
┻━┻ ︵ ヽ(°□°ヽ) I WANT COFFEE.
┻━┻ ︵ \\('0')// ︵ ┻━┻
I WANT COFFEE!
ಠ_ಠ Kurt...
ಠ_ಠ Put.
ಠ__ಠ The tables.
ಠ___ಠ Back.
(╮°-°)╮┳━┳
(╯°□°)╯︵ ┻━┻ NEVER!24 -
My coding behavior:
1. console.log("Hello World");
2. CTRL S
3. this.date=moment();
4. CTRL S
5. const yesterday = this.date
6. CTRL S
7. Open Chrome Browser to preview
8. Accidentally pressed CTRL S and saved that page19