• nothacking@discuss.tchncs.de
    link
    fedilink
    arrow-up
    79
    ·
    edit-2
    1 year 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
    ·
    1 year 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
    ·
    1 year 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
      ·
      1 year 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
        ·
        1 year 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
    ·
    1 year 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@reddthat.com
      link
      fedilink
      arrow-up
      33
      ·
      1 year 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
      1 year 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
        ·
        1 year 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.

      • MomoTimeToDie@sh.itjust.works
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        I got out of a presentation once in high school by doing that. Put a USB keyboard dongle in the computer, and kept randomly entering characters whenever someone tried to log into their Google account to get a presentation, and alt+f4 whenever someone opened programs

    • Brickhead92@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      1 year 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
    35
    ·
    1 year 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.

  • meow
    link
    fedilink
    arrow-up
    33
    ·
    1 year ago

    Hide small plastic babies around their house

  • Hamartiogonic@sopuli.xyz
    link
    fedilink
    arrow-up
    33
    ·
    edit-2
    1 year 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.

  • Nyla Smokeyface@beehaw.org
    link
    fedilink
    English
    arrow-up
    14
    ·
    edit-2
    1 year 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).

  • Cyncit@lemmy.ca
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    1 year 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.

    • MomoTimeToDie@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Man, I remember middle/high school, and the axe bomb. Get an unreasonable amount of axe bodyspray cans, tape the nozzle down, and put them in a room where nobody currently is, but will be.

    • cynar@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year 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.

    • MammyWhammy@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      1 year 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
      ·
      1 year 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.