• nothacking@discuss.tchncs.de
    link
    fedilink
    arrow-up
    84
    ·
    edit-2
    8 months ago

    Put #define true (rand()%1000 != 0) in some obscure C or C++ header file on their system/project. This makes true evaluate to false one in a thousand times, and will make them spend hours trying to figure out why things like infinite loops, aren’t quite infinite.

    Other languages should also allow you to do things like this, if not messing with constants, messing with standard library functions.

  • ristoril_zip@lemmy.zip
    link
    fedilink
    English
    arrow-up
    74
    ·
    8 months ago

    Our kids swapped the position of our bowls and plates in the cabinets, and our knives, forks, and spoons in the drawers. They definitely won.

  • scorpious@lemmy.world
    link
    fedilink
    arrow-up
    53
    ·
    8 months ago

    I closed the tool palette in the illustration app of a coworker and replaced it with a same-size image of same.

    • MammyWhammy@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      8 months ago

      I go for a variation of this if a coworker leaves their computer unlocked when they leave for lunch or the day.

      Screenshot their whole desktop, hide all icons and the toolbar. Set the background to the screenshot. Boom a computer that looks exactly the same as before but doesn’t work.

      Quick, non permanent, takes a few minutes to work out, lesson learned to not leave your machine unlocked.

      • averagedrunk@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        8 months ago

        That’s a classic. We did it for a while. We moved on to all out warfare.

        We had a script that backed up the current desktop exactly the way it was then changed everything about it. It would change all system sounds to the original My Little Pony theme, change the background to a Friendship is Magic wallpaper, change the mouse pointer to a tiny pony with trailing sparkles, and remove edit rights to those files from the account using it. To get things back to normal you had to take ownership of the affected files.

        One guy couldn’t figure it out and disconnected his internal speaker because someone had set up some policy deep in the system where he lost sound settings. I don’t know how that worked. Apparently neither did he.

        Another guy worked remotely the next day so his computer just kept playing the song while he was gone.

        The guy who created it didn’t get a normal birthday cake. The boss got him a My Little Pony birthday cake that year.

        What a lot of folks didn’t realize and never asked about was that there was a reversal script in the user folder.

  • Andy@slrpnk.net
    link
    fedilink
    arrow-up
    44
    ·
    8 months ago

    I’ve heard it said that the key to a benign prank is to creates a mixture of momentary alarm and confusion, followed by relief.

    A few years ago, I put a sign on my boss’ office door that said that his office was off limits for the week, as the building facilities team was going to be proactively placing humane termite traps in his office for two weeks as a preventative measures to lure any termites in and then release them at a nearby forest. He found it amusing.

    • Radioactrev
      link
      fedilink
      arrow-up
      34
      ·
      8 months ago

      On the computer thread, changing the keys on their keyboard is also fun. Works better if they are a touch typist as well, as they may go several hours/days before noticing, until they have to look for that one special key. :)

    • BananaPeal@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      24
      ·
      edit-2
      8 months ago

      If we’re talking computers, screenshot their desktop, set it as background, move taskbar to top, auto hide it, right-click desktop and choose hide icons.

      Advanced mode: also set screen flip to 180 degrees and flip the background so it looks right side up.

      • Supervriendje@lemmy.world
        link
        fedilink
        arrow-up
        12
        ·
        8 months ago

        I did the screen flip thing to a coworker once. And then he just took the monitor and turned it upside down. Didn’t see that coming.

    • Brickhead92@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      8 months ago

      I added this to another similar comment:

      Follow it up by placing a tiny bit of clear soft plastic in with the laser. It doesn’t stop the mouse from working, but if you were you draw a straight line the cursor wobbles slightly.

  • yenahmik@lemmy.world
    link
    fedilink
    arrow-up
    36
    ·
    8 months ago

    This one is a little convoluted, but I just watched this prank video where they fed someone their own cooking in a restaurant. It may be the most wholesome prank I’ve ever seen.

  • Hamartiogonic@sopuli.xyz
    link
    fedilink
    arrow-up
    33
    ·
    edit-2
    8 months ago

    True story. This thing happened last week.

    Person A: I want to eat something.

    Person B: Do you want some of these (B opens a box of boring cookies and shows the contents to A)

    A: No!

    B: How about these (opens another box of bland cookies)

    A: No!

    B: (grabs a third box, realizes it’s empty, but opens it carefully not to show anyone what’s inside) Ooh, I’m not showing this to you. (Puts the box away.)

    A: I wanna see! (Tries to grab the box)

    B: No, it’s mine! (Pushes A further away)

    After some futile struggle B let A have the box. A opens it up and realizes it’s empty. We all had a good laugh.

      • richieadler@lemmy.myserv.one
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        8 months ago

        Do you think that bulling ceases to exist when you graduate? That unwanted violence against others is imaginary, or that you need to endure it in silence because you’re an adult?

        How many people have you victimized just because you can? Give your answer, I’d venture the number is non-zero.

  • Nyla Smokeyface@beehaw.org
    link
    fedilink
    English
    arrow-up
    14
    ·
    edit-2
    8 months ago

    I saw a video once of a prank where two girls go up to a stranger asking them to take a picture of them across the street. The stranger takes the photo and when the two girls start crossing over to the other side, a car passes by and the two girls are replaced with two old men wearing the same shirts. Even the Polaroid photo shows the old men. It’s genuinely funny and completely harmless. It just makes the person getting pranked go, “Wait, what the fuck???”

    I do hope the people were told that they were pranked though and that they don’t live the rest of their lives thinking they’re insane 😂

    ETA: also this video where the guy puts on the collar and leash of his blind husband’s service dog when he asks him to go get his watch. (He immediately reveals himself when the blind husband gets back to pick up his service dog’s leash again and the husband thinks it’s hysterical).

  • dan1101@lemm.ee
    link
    fedilink
    arrow-up
    12
    ·
    8 months ago

    If they leave their phone unattended take funny selfies and then quickly return their phone to exactly where they left it.

      • dan1101@lemm.ee
        link
        fedilink
        arrow-up
        10
        ·
        edit-2
        8 months ago

        I have another in mind but haven’t tried it. If they leave their phone unattended, take a picture of their phone sitting there. Then later on text them the photo and say “You left your phone (wherever)” You will get them to view the photo of their phone on their phone and if you’re lucky they will go looking for it when they already have it.

    • cynar@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      8 months ago

      If they use android, you can open the camera without unlocking the phone. Just double tap the power button, and it pops up. It’s intended for rapid camera use, but great for pranking purposes. Apple has the equivalent, though I can’t remember the button combo, off the top of my head.

      • dan1101@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        8 months ago

        Wow. Been using Android since like version 2 but never knew you could double press the power button to turn the camera on. If screen is off have to press once to turn screen on first.

        IIRC on iOS there is a camera icon on the lock screen.

  • Cyncit@lemmy.ca
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    8 months ago

    I made a “spray grenade” to my friend once. Attached a Ty-wrap to a bottle of Febreeze (trigger in) and throw it in his room while he was there. He was pretty quick to seek scissors and cut it but I can imagine it worse without his quick thinking and a worse scent.

    • beneeney@lemm.ee
      link
      fedilink
      arrow-up
      24
      ·
      8 months ago

      Believe it or not, friends can be mischievous with one another in good faith

    • MammyWhammy@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      8 months ago

      Pranks can 100% be harmless and fun, but if you’re ever questioning whether or not a prank is harmless don’t do it.

    • cynar@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      8 months ago

      A good prank is defined by whether the “victim” is laughing about it as well, at the end. The catch is, this is defined entirely by the victim. There is no arguing about it. If they aren’t smiling, you screwed up.

      I’ve done, and been victim to some good pranks over the years. I’ve also dealt with the bullying version. There is a big difference.