• 0 Posts
  • 24 Comments
Joined 11 months ago
cake
Cake day: January 2nd, 2024

help-circle








  • iarigby@lemmy.worldtoProgrammer Humor@lemmy.mlGot no time to code
    link
    fedilink
    arrow-up
    11
    arrow-down
    3
    ·
    6 months ago

    Also, tests ARE THE code, and equally important too! However so many people make the mistake of writing tests after the function, when the benefit is less immediate. They also have the illusion that they are done and have to do extra work. And since they didn’t write the test first, they most likely wasted a ton of time and energy on extra work of testing changes manually


  • Why isn’t this an app?

    The main reason for this is that I wanted to create a voice assistant that is completely offline and doesn’t require any internet connection. This is because I wanted to ensure that the user’s privacy is protected and that the user’s data is not being sent to any third party servers.

    Weird reasoning, why constrain the assistant to pi’s power and memory when you can use it for interaction and utilize another, more powerful server at home







  • iarigby@lemmy.worldtoAsklemmy@lemmy.mlInsomnia
    link
    fedilink
    arrow-up
    4
    ·
    8 months ago

    yes, all of that are very important as well. Sometimes I think about how exhausting it is to follow all these, and try my best to forget about the fear of not falling asleep when going to bed. I’ve noticed that overcoming that psychological “surrender” had a big impact on nights where I experience some problems - it’s important to keep calm and not spiral. But damn, it’s hard living like this.


  • iarigby@lemmy.worldtoAsklemmy@lemmy.mlInsomnia
    link
    fedilink
    arrow-up
    4
    ·
    8 months ago

    one more thing: I have to limit the amount of stress inducing activities throughout a day/days so my brain is not in alert mode for too long. I have social anxiety so this mostly means spending enough time at home, not going to more than 2 different places during one day, etc.


  • iarigby@lemmy.worldtoAsklemmy@lemmy.mlInsomnia
    link
    fedilink
    arrow-up
    28
    ·
    8 months ago

    My rules to have a higher chance of falling asleep at 11-12

    • always wake up early, even after I went to bed late, otherwise I won’t be able to fall asleep on time
    • no active brain work (studying, working) after 8pm
    • no food after 7-8pm
    • no ceiling lights after 8-9 pm, only yellow dim lamps
    • no staying in bed if I couldn’t fall asleep. get up, go to another room, try again in 15-20 minutes

  • iarigby@lemmy.worldtoLinux@lemmy.mlNixOS for gamedev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    9 months ago

    If you were able to set it up yourself I feel like nix learning curve shouldn’t be too hard for you. Especially since if you decide to go back, you’ll bring back lots of value - you can use nix package manager and home manager on any distro. I’m very interested to try them out but am a bit wary since I don’t have experience with nixos