• Aggravationstation@feddit.uk
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        9 days ago

        I think the person you responded to might not have fully realised their own age maybe? It’s happened to me before.

        I was at a festival waiting for a band to come on. Talking to people in the audience one of them asked me if I’d seen this band before. I said “yes, in X year”. A girl there says " Wow, I was born in X year". For a second I wondered how she got the beer she was holding then quickly calculated that X year was 18 years previous to the current one and realised I was talking to a group of people roughly half my age. Nothing wrong with that but it just felt kind of weird that I hadn’t really been cognisant of it before that moment.

  • Krik@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    9 days ago

    In university we were taught C programming. We started with simple things like loops and stuff. After a while the topic processes, threads & stuff came up and of course we were instructed to use that.

    In the computer lab there where only thin clients so everything actually ran on the server.

    A good friend of mine - not know what was about to happen - entered:

    while (true) {
        fork();
    }
    

    Astoundingly it took a whole minute until the server froze. 🤣
    That was the same server most of the school stuff ran on. So nearly everything went down. 😂
    He got scolded by the sysadmin the next day but nothing serious happened.

    • optional@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      9 days ago

      I’d scold the sysadmin instead for not cofiguring critical systems in a secure way. Ulimit exists for a reason.

      • tetris11@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        8 days ago

        Huh. I never made that connection before. I always thought ulimit was to prevent excessive disk writes or something

        • optional@sh.itjust.works
          link
          fedilink
          arrow-up
          0
          ·
          8 days ago

          ulimit -H -u 10 will (hard)limit the current process (the shell) to 10 subprocesses. You can also use it to limit the number of open files etc.

          To globally configure that for a user/group you’d use /etc/security/limits.conf instead.

          If you want to prevent users from filling up the disk, take a look into quota.

    • tetris11@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      8 days ago

      :(){ :|:& };:

      or (more clearly written):

      function forkbomb() {
          forkbomb | forkbomb &  ## background the process whilst recursing
          ## the pipe ensures that both instances are called at the same time, instead of waiting on the other
          ## without the pipe, you just get a linear increase in processes. Slow bomb. We want fast.
      };
      forkbomb  ## start it all off
      
  • MehBlah@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 days ago

    If I had been running a school in 2018 you wouldn’t have been able to get to the control panel anon.

  • ChickenLadyLovesLife@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 days ago

    Waaaaaaaay back in my Visual Basic 5 days I used to hide easter eggs in my corporate apps. It was always just a dialog box that would pop up randomly saying something kinda funny. To keep them from being discovered by the other developers, I would put the code in some obscure file and instead of a (searchable) string variable containing the text for the popup, I would convert it to a concatenated series of CHR(ASCII#) statements, and then each line of code would start with a couple of hundred spaces, so it would only ever be seen if someone happened to open the file and also happened to notice that there was a horizontal scroll bar at the bottom. We got many bug reports about the easter eggs but nobody was ever able to locate the code that was producing them. I might have been fired for this but probably not - nobody really cared much about shit like this in 1999.

  • Dagamant@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    9 days ago

    back in the 90s my highschool had a computer lab and we would go there for certain assignments. I think it was history class when we went to do “research” which consisted of clicking links in an html doc from a shared drive and summarizing the articles on them. Someone changed some of the links to go to a porn site. The only thing that happened was the teacher said “whoever did this is a sick person”. I don’t know if they investigated but I was never caught.

      • Dagamant@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        9 days ago

        When I edited it I didn’t know it was a shared drive. I thought I was changing it for the one computer for the next class. So once I changed it, I moved to a different computer and then people started getting porn.

  • FellowEnt@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    9 days ago

    Takes me back to the good ol’ days of adding echo commands to autoexec.bat so the computers would display stupid shit on boot.

  • RedSnt@feddit.dk
    link
    fedilink
    arrow-up
    0
    ·
    9 days ago

    I don’t know why I’m taking mental notes like “don’t forget to change the system clock before doing crimes!” like I’ll ever need it.

    • zurohki@aussie.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 days ago

      It’s school IT, so it was probably a teacher who ‘knows computers’ and not anyone with IT training.

      • Trainguyrom@reddthat.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        9 days ago

        All of the school districts (rural area so each town large enough for its own schools has its own school district and the smaller ones will share a “unified” school district) near me go through the same MSP so it’s better than the teacher who’s good with computers but not as good as having an actual IT department

  • bulwark@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    10 days ago

    I remember our stupid prank back in the day was to take a screenshot of your desktop, make it your background and delete all your icons.

    • Jimmycrackcrack@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      9 days ago

      Haha we all did that one. So funny watching angry teachers trying to click on things that were just screenshots. We also did it with things that were like annoying pop ups so you’d be really motivated to click to get rid of it.

    • Honytawk@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      9 days ago

      Don’t forget to flip the screenshot upside down, then flip the display on the monitor also upside down.

      The computer will look normal, but the cursor will be move in the opposite direction.

      • ITGuyLevi@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        9 days ago

        I was a fan of leaving the orientation normal, but moving the start bar and setting it to auto-hide. A long time ago I put a simple bat file (like “shutdown -l -t 0” or similar) in a coworkers startup folder… I guess that was a step too far though and he thought I broke his computer. Thanks for the trip down memory lane.

  • Flummoxed@lemmy.today
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 days ago

    He needs to set it to like 15 seconds so people think they are crazy for awhile. Needs to go back to normal faster. And then like 500 normal screens in the folder.

  • DaddleDew@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    10 days ago

    That reminds me of back when I was in high school. The IT guy was a big gamer and had installed RainbowSix on all the machines so we could play against each other during lunch time including himself.

    One stuck up, self-righteous teacher heard about the game and tried to have the IT guy delete it from all the computers because they were “violent games that had no business being in school”. He refused and the school’s administration seemed to have his back on it. So during a computer class she instructed the entire class to delete the game folder from their computer and empty the recycle bin and then leave the file explorer open so she could walk around and see that it has been done.

    While everyone else were deleting theirs I copied the game folder on my machine elsewhere, then deleted the original to show her that it wasn’t there anymore. After she was gone I moved the folder back where it belonged and shared it on the network so everyone else could copy it back into their computer. The following lunch break it took less than 5 minutes to get the game back on everyone’s computer and we kept playing like nothing happened. Get fucked, hag.

    • Honytawk@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      9 days ago

      We just played Counter Strike 2D from a flash drive.

      Those LAN parties with the entire class were insane and there was nothing they could do since it wasn’t installed.

    • sp3ctr4l@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      9 days ago

      I actually got all of Civilization 2 by finding it randomly installed on a single PC in one teacher’s classroom.

      Copy and pasted the entire directory to a zip disk that I uh… borrowed… brought said zip disk to another computer in the school computer lab that had both a zip drive and a cd burner, burned it onto a blank cd i had, cleared the zip disk, returned it, brought the cd home, copied over the game files, played civ 2 on my piece of shit eMachine that did not have a zip drive.

    • edric@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      9 days ago

      The surprising part here is that the school sided with the IT guy.

      • Confused_Emus@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        9 days ago

        That, plus a school computer lab running without something like Faronics Deep Freeze (even my shitty Mississippi public school in the 90s had that or something similar), and the lack of permissions control that apparently allows student users to delete and restore program files at will is giving the story some real “that happened…” energy.

        • mosiacmango@lemm.ee
          link
          fedilink
          arrow-up
          0
          ·
          9 days ago

          You give woefully underfunded school IT departments too much credit, especially in the “desktops are new tech” days.

          Honestly, sounds like your Mississippi school was ahead of the curve from a lockdown perspective.

          • Confused_Emus@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            0
            ·
            9 days ago

            It was one of the main city schools, so I suppose they could have been. That place was a shithole, otherwise, despite the best efforts of some really good teachers with the misfortune of being stuck working there.

        • DaddleDew@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          9 days ago

          All I knew from my perspective was that this teacher was angry at the existence of those games and the IT guy never removed them. To me that tells me that the school management either allowed it or simply didn’t care.

          The computers weren’t really that locked down or secure from user tampering. Some idiots would even install malware all the time on them like Bonzi Buddy for shits and giggles. The IT guy didn’t strike me as the hard working type and would only re-image a computer if it was no longer functioning.

    • salarua@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      0
      ·
      9 days ago

      Certain types of computer monitors can get a hardware issue (read: broken) that results in a permanent thin white line across or down the screen.

      • Creosm@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        9 days ago

        Hmm, but if it was a hardware issue the thin white line should appear regardless of if the screenshot was edited.

  • I Cast Fist@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    8 days ago

    During my college years, we’d have fun lan parties until the room monitor would send a command to shutdown all machines. This was ~2009 and we mostly played counter strike 1.6 (portable that was less than 100mb) or Digital Paintball 2. Sometimes emulated Bomberman, too :)

  • saltesc@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    9 days ago

    We had a “computer monitor” kid that could’ve been the base of the stereotype you have in your head right now.

    He acted like a god, everyone knew a lot more than him, ended up never leaving and became head of IT there. Got busted creeping on school girls. Classic cliche.