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
Search - "pranked"
-
Piece of shit admin installed a chrome plugin which changed the new tab to no internet default image ... The whole office was pranked5
-
Today pranked my colleague changing some semicolons in his PHP Code to greek question marks.
It took him tears, sweat and a long time until I told him.
Now he wants to kill me.
XD9 -
Me on my laptop. My flatmate is next to me. I'm trying to create a live CD.
Me: I'm gonna dd this iso on the USB. What is the output file? /dev/...?
Flatmate: /dev/sda.
Me: Okay, th... Waiiiiitt...
*Flatmate laughs his ass off*5 -
Back the mid 90s at secondary school, a friend came back from holiday with a Casio CMD-40 TV remote control watch. It was like magic, no one had never seen anything like it before.
We pranked our history teacher so badly, changing the channels, volume and turning the TV off while we were supposed to be watching some video on Henry VIII or something (no idea, too busy PMSL).
We'd pass the watch round the class to keep em guessing.
In the end, school replaced ALL the TVs and were seriously pissed off, to this day I believe they had no idea it was us!4 -
Previous developers read entire result of a SELECT into array of arrays.
Then used that later on in the following fashion.
print "name: " + result[row][17]
print "address: " + result[row][23]
...
without any description whatsoever what the numbers mean.
And it's here "result" and "row", in the actual code it was "arr" and "ii".
And these arrays were "public static" used everywhere, but initialized only at few places, so if you went onto wrong screen or if there was a phone call that kicked the app out it crashed.
But real fun began when people started changing queries and altering tables...
I seriously thought I was being pranked as a new hire.9 -
Pranked the people working in my office by including fartscroll.js which (you guessed it) plays fart sounds on our website, internally.
It was amazing hearing random farts in the office when people have their sound maximum and don't know where it is coming from! -
A couple years ago my now ex-colleagues pranked the lead dev for being nitpicky about the importance of the story post-it wall in the agile process.
His desk was like this the next morning.
Needless to say, he was pissed and we had a good laugh :D -
I pranked my friends ex, nothing bad, just fun. First i screen shorted is desktop, flipped it and made it his new desktop. Then flipped the resolution, so my upsideiwn bf was cool. Lastly I change his mouse behavior, I set it for reversed.
Fun right? A typical person might get a lil pussy and have to fix it. Some might even fix it themselves. Regardless have a lil chuckle.
He smashes the monitor and keyboard, left them, both in a pile.3 -
I don't know if I'm being pranked or not, but I work with my boss and he has the strangest way of doing things.
- Only use PHP
- Keep error_reporting off (for development), Site cannot function if they are on.
- 20,000 lines of functions in a single file, 50% of which was unused, mostly repeated code that could have been reduced massively.
- Zero Code Comments
- Inconsistent variable names, function names, file names -- I was literally project searching for months to find things.
- There is nothing close to a normalized SQL Database, column ID names can't even stay consistent.
- Every query is done with a mysqli wrapper to use legacy mysql functions.
- Most used function is to escape stirngs
- Type-hinting is too strict for the code.
- Most files packed with Inline CSS, JavaScript and PHP - we don't want to use an external file otherwise we'd have to open two of them.
- Do not use a package manger composer because he doesn't have it installed.. Though I told him it's easy on any platform and I'll explain it.
- He downloads a few composer packages he likes and drag/drop them into random folder.
- Uses $_GET to set values and pass them around like a message contianer.
- One file is 6000 lines which is a giant if statement with somewhere close to 7 levels deep of recursion.
- Never removes his old code that bloats things.
- Has functions from a decade ago he would like to save to use some day. Just regular, plain old, PHP functions.
- Always wants to build things from scratch, and re-using a lot of his code that is honestly a weird way of doing almost everything.
- Using CodeIntel, Mess Detectors, Error Detectors is not good or useful.
- Would not deploy to production through any tool I setup, though I was told to. Instead he wrote bash scripts that still make me nervous.
- Often tells me to make something modern/great (reinventing a wheel) and then ends up saying, "I think I'd do it this way... Referes to his code 5 years ago".
- Using isset() breaks things.
- Tens of thousands of undefined variables exist because arrays are creates like $this[][][] = 5;
- Understanding the naming of functions required me to write several documents.
- I had to use #region tags to find places in the code quicker since a router was about 2000 lines of if else statements.
- I used Todo Bookmark extensions in VSCode to mark and flag everything that's a bug.
- Gets upset if I add anything to .gitignore; I tried to tell him it ignores files we don't want, he is though it deleted them for a while.
- He would rather explain every line of code in a mammoth project that follows no human known patterns, includes files that overwrite global scope variables and wants has me do the documentation.
- Open to ideas but when I bring them up such as - This is what most standards suggest, here's a literal example of exactly what you want but easier - He will passively decide against it and end up working on tedious things not very necessary for project release dates.
- On another project I try to write code but he wants to go over every single nook and cranny and stay on the phone the entire day as I watch his screen and Im trying to code.
I would like us all to do well but I do not consider him a programmer but a script-whippersnapper. I find myself trying to to debate the most basic of things (you shouldnt 777 every file), and I need all kinds of evidence before he will do something about it. We need "security" and all kinds of buzz words but I'm scared to death of this code. After several months its a nice place to work but I am convinced I'm being pranked or my boss has very little idea what he's doing. I've worked in a lot of disasters but nothing like this.
We are building an API, I could use something open source to help with anything from validations, routing, ACL but he ends up reinventing the wheel. I have never worked so slow, hindered and baffled at how I am supposed to build anything - nothing is stable, tested, and rarely logical. I suggested many things but he would rather have small talk and reason his way into using things he made.
I could fhave this project 50% done i a Node API i two weeks, pretty fast in a PHP or Python one, but we for reasons I have no idea would rather go slow and literally "build a framework". Two knuckleheads are going to build a PHP REST framework and compete with tested, tried and true open source tools by tens of millions?
I just wanted to rant because this drives me crazy. I have so much stress my neck and shoulder seems like a nerve is pinched. I don't understand what any of this means. I've never met someone who was wrong about so many things but believed they were right. I just don't know what to say so often on call I just say, 'uhh..'. It's like nothing anyone or any authority says matters, I don't know why he asks anything he's going to do things one way, a hard way, only that he can decipher. He's an owner, he's not worried about job security.13 -
We had a co worker that we once pranked by doing the old flip screen trick (ctrl+alt+down keys if I remember rightly). Except when he returned to see that his windows desktop had been rotated, he physically picked up the monitor and tried to balance it on its head to correct it. Nevertheless it subsequently fell over and we pointed and laughed.
-
Monday. Missed my two alarms. Woke up on time anyways. Got to the office early to be on time. Now i am waiting all my colleagues.. idk if today everyone took a day off or i am being pranked 🤔 #hatemondays2
-
I got pranked. I got pranked good.
My prof at my uni had given us an asigment to do in java for a class.
Easy peasy for me, it was only a formality...
First task was normal but...
The second one included making a random number csv gen with the lenght of at least 10 digits, a class for checking which numbers are a prime or not and a class that will check numbers from that cvs and create a new cvs with only primes in it. I have created the code and only when my fans have taken off like a jet i realised... I fucked up...
In that moment i realised that prime checking might... take a while..
There was a third task but i didnt do it for obvious reasons. He wanted us to download a test set of few text files and make a csv with freq of every word in that test set. The problem was... The test set was a set of 200 literature books...17 -
I once accidentally pranked myself with a simple batch file that opened explorer windows on .25 second intervals.
The best part is that I was testing the timeout function and thought opening an explorer window would be the best way to gauge its success.1 -
So everyone is talking about those Greek sign pranks right? But I got something just as bad (I haven't used it as a prank but I've just encountered it on my own -> pranked my self)
So on Mac OS you can type this character with ALT+Space and it looks like a space, but it isn't. If you don't have render whitespaces on you would never know that it is not a space... Imagine the time you can spend on finding that xD you mistyped 1character and BAM broken xD5 -
that moment when you allow access to an application and you see your mouse moving by itself ..... autoit .... pls don't do this 😢1