• 3 Posts
  • 232 Comments
Joined 2 years ago
cake
Cake day: July 7th, 2023

help-circle


  • diffusivetoLinuxWhy is sleep so hard for laptops?
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 months ago

    This kind of stuff must happen at hardware level… wake on lan is in hardware.

    Ethernet cards keep in getting packets (arp at very least) even if they are not directed for them. If the OS needs to check all packages it would be always on

    That said… wake on lan is also a waste of energy if you don’t need (why powering the Ethernet cards?)


  • diffusivetoLinuxWhy is sleep so hard for laptops?
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    2
    ·
    5 months ago

    I researched this in (checking notes) 2009 or so… things may have slightly changed since (and my memory is fading away)

    At the time there was a standard for sleeping. Microsoft was part of the standard… and then they decided to implement in a different way (classic Microsoft, of course).

    Hardware producers then adjusted to windows because… well… we were dozens of us using Linux on laptops.

    This created issues in Linux because there were some purist developers that wanted to follow the standards, others that were more pragmatic and wanted to implement the windows way. In the end nothing worked.

    Fast forward to today, windows waking up constantly I guess it’s broken as expected because it wants to allow background processes to do stuff. Linux not waking up sounds still the issue from 2009: there are multiple levels of sleep and the deepest was the most problematic. If I have to guess your laptop wakes up just fine if the battery is full and you left closed for few minutes… while it doesn’t when the battery is low-ish and/or you left sleeping for a longer period


  • diffusivetoDad for a MinuteDad, can I ask for your advice about my life?
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    edit-2
    5 months ago

    My dear, I am sorry to hear you are trough a rough patch.

    I think that for running, you need to have your legs, feet and muscles working. If they don’t, you need to go to a doctor before enrolling in a marathon. So that would be my path.

    You mentioned you are not easily replaceable at work, that causes stress but also work safety. So on that front you have a bit of calm.

    You may use the money you earn from there and go see a therapist. Make sure to address your anxiety. Take the time it takes, Rome wasn’t built in a day and, again, you need to be fit before “running“.

    If family creates you troubles maybe you need indeed to move out (when you feel ready) because that environment may slow your recovery down. Maybe find some flatmates… and when you see the apartment also try to figure out if they seem mentally healthy (sadly people with trauma are attracted by other people with trauma).

    Alternatively you may look into college but, indeed, working full time and studying requires you to be well in shape.

    I wish you all the best and, at the end of the day, life is an adventure… you never know when everything starts to turn for the best.

    Good luck and an hug






  • Call me a weirdo but the more errors a compilers give me the happier (albeit a bit frustrated) I am. That stuff generally surfaces in a way or another… and I prefer at compile time 🙂

    That said I haven’t spent quality time with Rust yet… so not sure if there are a lot of nitpicks (ala go) or these are valgrind-level of “holy s*** I am so grateful to this tool” 😃




  • diffusivetopolitics Alligator Auschwitz
    link
    fedilink
    arrow-up
    17
    arrow-down
    1
    ·
    5 months ago

    Here is the neat part…nobody will get involved for a matter of internal “policies” with the country with the biggest army in the world.

    I suspect US is on its own now.

    But at least libs have been owned, Biden has been punished for supporting Israel, the trans will not play sport (all 5 of them that wanted to)…

    It’s so depressing that the social network disinformation campaigns where so effective 😕








  • diffusivetomemesThey maybe did...
    link
    fedilink
    arrow-up
    5
    ·
    5 months ago

    I think it turned out worse than that.

    I am ok with “question everything”, the problem is that people don’t believe in reputable sources that don’t confirm their beliefs, they look (possibly unreliable) sources that confirm them

    I think it is due to the echo chamber of social networks. People have constant confirmation of superficial “sources” and they continue to want that.

    Incidentally it’s the reason I use lemmy where the algorithm is not optimised to the point of echo chambers (also looking for “all” helps)