Skip Navigation
Why is sleep so hard for laptops?
  • 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

  • Dad, can I ask for your advice about my life?
  • 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

  • Learning to program in rust
  • 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” 😃

  • Alligator Auschwitz
  • 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 😕

  • GOP Budget Bill Would Make ICE “Largest Federal Law Enforcement Agency” in U.S. History
  • I am not saying Democrats are good (or not corrupted)… but blaming democrats for what Republicans are doing is apologetic to republicans

    “They would have done x if they were the majority “ is just your speculation. The reality is that the US voted this… and it’s getting this

  • Meet ICEblock: The app that lets residents know when immigration agents are in their community
  • How can you tell firebase who to notify?

    I guess you need a firebase id of sort… and firebase needs the device id… and firebase is an US Company… so it’s just an extra step but the result is the same. They have to store IDs that can link to devices

  • Meet ICEblock: The app that lets residents know when immigration agents are in their community
  • Not an expert but ephemeral IDs would not give you much.

    AFIK under the hoods android notifications is just… a chat app (Ehehe classic google). So for sending a notification you need to send it to the ID of your mobile. Even if you manage to convince Android to register with an additional ephemeral ID Google would be able to map the ephemeral to the real since… well… it is running on the mobile

  • They maybe did...
  • 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)

  • Why is the manosphere on the rise? UN Women sounds the alarm over online misogyny
  • And internet is telling women it’s men fault. And poor people it’s immigrants fault. And insecure people it’s trans fault.

    We are the most narcissistic generation ever: it’s always someone else fault… and while we are arguing online changes go in the wrong direction (more inequality, more war, less affordable education that means less social mobility)

  • Know before you buy: starting today, EU’s new labels shake up the smartphone market
  • I think the big value of these labels are not the energy class (like for bigger appliances) it’s the fields under the energy class. Repeatability, (official declaration of) battery duration, simple to spot resistance to dust/water, etc

  • www.businessinsider.com Sundar Pichai is vibe coding. 'It feels so delightful to be a coder.'

    Sundar Pichai said he's using two tools — Cursor and Replit — to build a custom webpage.

    Sundar Pichai is vibe coding. 'It feels so delightful to be a coder.'

    Google's CEO, Sundar Pichai, is doing something unexpected for one of the biggest names in tech: casually building web apps with AI coding assistants.

    "I wish I could do more," Pichai said on Wednesday at Bloomberg Tech in San Francisco.

    "I've just been messing around — either with Cursor or I vibe coded with Replit — trying to build a custom webpage with all the sources of information I wanted in one place. I could type a location and get it all," Pichai said.

    17
    Messaging app

    I am really fed up with WhatsApp (closed source, jurisdiction that may impose backdoors soon)

    I would even try to convince friends and family to move to something else but to what?

    Signal so far has been the obvious choice but the fear that they may impose backdoors becomes more and more concrete.

    Threema seems great! But they want 3€ and there is no chance in hell that my friends and family would pay it.

    I saw a bunch of options on https://european-alternatives.eu/category/instant-messaging-apps but I would like to gather experiences and opinions

    10
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)DI
    diffusive @lemmy.world
    Posts 3
    Comments 201