• mmmac@lemmy.zip
    link
    fedilink
    arrow-up
    17
    ·
    22 hours ago

    Man when I was a kid I ran a runescape private server for anywhere within 20-100 people at a time, and for the first few weeks users reported a lot of downtime, which didn’t make sense to me as whenever I tried to login it was totally fine!!

    Eventually figured out closing my laptop lid put the laptop to sleep and scraped together some chore money for a VPS lol

      • AllHailTheSheep@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        20 hours ago

        I had a dell latitude for my first server. even when I removed the magnets, some how it still would detect that the kid was closed and turn off. I tried everything I could think of and more, without any luck. the solution? I removed the display entirely so it couldn’t be closed and only used it via ssh or a VGA monitor if I really needed it.

        • ulterno@programming.dev
          link
          fedilink
          English
          arrow-up
          9
          arrow-down
          1
          ·
          edit-2
          1 day ago

          I might/might not be one.
          But it definitely is a proximity sensor. Unless yours is an Apple device, in which case, it might be an angle sensor.


          The term “Hall sensor” would refer to the tech used in it, whereas the term “proximity sensor” refers to its function.
          It could be using any other proximity sensing technique too and it would still be a proximity sensor.

          • serenissi@lemmy.world
            link
            fedilink
            arrow-up
            6
            ·
            1 day ago

            technically yes. usually proximity sensor is used to mean IR or sonic sensors and I read in that sense.

  • some_guy@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    67
    ·
    2 days ago

    This laptop is secretly downloading scientific papers behind a paywall to release them on the public internet. Sadly, the owner will be prosecuted unfairly and threatened with unreasonable punishment.

    Remember Aaron.

    • Stovetop@lemmy.world
      link
      fedilink
      arrow-up
      127
      arrow-down
      1
      ·
      2 days ago

      Could be an overheating concern maybe. Some laptops weren’t designed to run with the lid closed, if it inhibits the air flow.

      • over_clox@lemmy.world
        link
        fedilink
        arrow-up
        132
        ·
        2 days ago

        As right as that might be, it’s on carpet!

        I don’t believe they put much thought into airflow and overheating…

        • taco@piefed.social
          link
          fedilink
          English
          arrow-up
          52
          ·
          2 days ago

          Which is exactly why it overheats so quickly when they close the lid.

          Let’s face it, the place using a laptop on the floor with a paper sign probably doesn’t have the budget for real sysadmins. At the same time, most real sysadmins know to disable the lid-closing behavior and get the laptop off of the carpet because they’ve been foiled in their past by people who refused to read the goddamn paper sign.

        • Sadbutdru@sopuli.xyz
          link
          fedilink
          arrow-up
          1
          arrow-down
          2
          ·
          2 days ago

          We don’t know that it’s directly on the carpet. When i want to put my thinkpad on a soft surface I use the Beano annual as a handy intermediate layer (other A4 hardbacks are available).

      • MajorasMaskForever@lemmy.world
        link
        fedilink
        English
        arrow-up
        18
        ·
        2 days ago

        I can’t tell for sure, but it looks like a Lenovo y510p. Or at least it looks very similar to the one I owned back in the day.

        There was a vent in the hinge, and these things would absolutely cook themselves with the lid closed

        • zourn@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          1 day ago

          I’m currently using a y510p as a home lab. Every update resets the shutdown-on-lid-close setting. Had to set up a cron job to re-disable it on boot.

      • BakerBagel@midwest.social
        link
        fedilink
        arrow-up
        1
        ·
        2 days ago

        It’s still better to have a server like that run hot for a while before someone who knows what up can open it back rather than allowing someone to just walk up, accidentally close it, and shut everything down. If your laptop is mission critical, no sleep when closed needs to be on

  • lemmyknow@lemmy.today
    link
    fedilink
    arrow-up
    9
    ·
    1 day ago

    TIL: maybe my local laptop-server shouldn’t have the lid closed. Probably not gonna change my ways, though. What an inconvenience that’d be

      • lemmyknow@lemmy.today
        link
        fedilink
        arrow-up
        1
        ·
        20 hours ago

        I have the lid closed, yes. I wasn’t aware that there could be a reason to choose to keep it open

    • MonkeMischief@lemmy.today
      link
      fedilink
      arrow-up
      19
      ·
      1 day ago

      Yes! Very important!

      I remember it being a bit trendy to turn old laptops into desktops by just unplugging the display and plugging peripherals into them, but people were finding that the keyboard actually was designed as another heat escape, so running them with the lids closed wasn’t so great!

      • MonkderVierte@lemmy.zip
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        1 day ago

        There’s people who gut them and build a nice wood-and-allu mini-pc (not me, too lazy, would order a case).

  • jcs@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    1 day ago

    Disable suspend when the laptop lid is closed:

    sudo sed -i 's/#HandleLidSwitch=suspend/HandleLidSwitch=ignore/g' /etc/systemd/logind.conf
    sudo sed -i 's/#HandleLidSwitchExternalPower=suspend/HandleLidSwitchExternalPower=ignore/g' /etc/systemd/logind.conf
    sudo systemctl restart systemd-logind
    

    If you are in a TTY, you can blank the screen before closing the lid to prevent burn-in. After running this, come back later and press a key to turn the screen on again.

    alias blankscreen='setterm --blank=force; read ans; setterm --blank=poke'

    • Damage@feddit.it
      link
      fedilink
      arrow-up
      8
      ·
      2 days ago

      Well, for one it’s got a built-in UPS… Too bad for the storage connectivity tho

  • The_v@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    2 days ago

    Lol, reminds me of my old setup.

    It was all old W98 laptop that I got used. I installed xunbuntu on it back when it first came out in 2006. It sat on my desk, open like that with a bit of tape over to hold the power cord because it was loose. The battery was completely dead.

    It was the server I used to host all the modded maps I made for a silly little tank game. Thing ran seemlessly only going down when the power went out or somebody juggled the power cord for 5 years.

  • Balldowern@lemmy.zip
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    2 days ago

    OMG, Y500 ? Mine is still running after 13 years!

    Lenovo made some kickass computers back then.

    • ggtdbz@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      I think that’s a Y510p. This was the machine that made me think Lenovo knew what they were doing and were the true successors to IBM, for laptops at least.

      This machine was released right before the gaming laptop age really kicked off, so its paltry GT750(M! Sometimes two of them) was about as good as it got outside of a sketchy DTR from a company you’ve never heard of. Only a few years later did the standard go way up for gaming laptop performance, with everyone and their dog getting an Nvidia 1050/1060/1070 machine.

      But I really liked the Y500/Y510. Serious design that made it look like a thick business laptop with polished black surfaces and cool red key edges vs gaudy RGB sludge with LOOK AT ME I AM EPICLY GAMERING all over it. I kind of wish they kept this design style.

      Oh well. Tongfang has my back now.

  • maxwells_daemon@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    2 days ago

    My server is a loose motherboard with a loose PSU, thrown into the living room TV rack, which I leave open for cooling. It’s a repurposed (free) Athlon, DDR2. I only use it for smb and git backups, and project sharing between my desktop and laptop. What amazes me most is my IT coworkers don’t find that a perfectly acceptable scenario.

        • grue@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          2 days ago

          Even in winter, it’s terrible compared to a heat pump or (probably) directly burning gas or wood.

          • deadbeef79000@lemmy.nz
            link
            fedilink
            arrow-up
            2
            ·
            1 day ago

            Not how heat works.

            If you’re trying to heat your home, every electronic device becomes 100% efficient. All its “waste” heat becomes wanted heat. That it might only be 40W of heat is not the point.

            • mic_check_one_two@lemmy.dbzer0.com
              link
              fedilink
              English
              arrow-up
              2
              ·
              21 hours ago

              Heat pumps can actually be over 100% efficient if you’re measuring it based on heat produced. Because heat pumps aren’t designed to produce heat; They’re designed to move it around via refrigerant. And if you can use 1w of energy to soak up and bring in 3w of heat, you’re now 300% efficient.

              So by that metric, a server would be a “bad” heater. It would still contribute to your heating, but not as much as a heat pump would. It doesn’t mean the device is below 100% efficient, it just means the bar for “good” heaters is much higher than 100%.

            • grue@lemmy.world
              link
              fedilink
              arrow-up
              3
              ·
              edit-2
              1 day ago

              Every electronic device is 100% efficient after the electricity has already been generated and delivered, sure, but a bunch of efficiency losses occurred before that. If you’re comparing methane burned on-site in a furnace to methane burned at a power plant, transmitted to the site as electricity, and then used for electric resistance heating, burning on-site is gonna be better even if the furnace loses more heat up the chimney than the power plant does.

              Also, a heat pump is “300%-500% efficient” in the sense that it moves 3x-5x as much heat as it uses. See also: https://en.wikipedia.org/wiki/Coefficient_of_performance