• 0 posts
  • 18 comments
Joined 2 years ago
Cake day: September 26th, 2024
  • SteamDeck’s isn’t the same at all. It is a fake sleep: “Go to sleep but you can finish downloading whatever you need before” (inside the steam software, outside of it it has no idea).

    On OLED screens you get to have the screen powered off. On LCD we see the screen is still powered. Maybe they just turn the brightness to the minimum and send black color of pixels?

    Anyway, once the download queue finish, the SteamDeck goes to proper hibernation and does only get to wake up when using the power button. Not at any notification or when a background process want it like I see explained on comments in this thread.

    Edit: The SteamDeck version looks a lot more like the “Finish the update and restart/shutdown/hibernate button”

  • Why no ones seems to remind this person that they are using a GPL V3 software? Like they say “you broke my stuff you should have fixed it within a day” while in the same time the license state (scream?) all over the place :

    1. Disclaimer of Warranty.

    THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

  • Maybe you should join forces with YuNoHost. It let peoples selfhost on a Raspberry Pi or any old computer. Can be a “when I start it spare board only visible at home”.

    They already have a lot of apps packages that are 1 click to install. Maybe you can discuss to propose an option in their package script to reduce network to the current machine?

    The only downside to this approach is that their solution is targeted at being an entire OS. So I suspect most of the work would be to extract the app management from the rest?

    One issue I have with your idea is that most open source servers/app are designed to be run on Linux right? Not every users use it on their main machine. You also talk a lot about docker… does it work on Windows? I mean WSL sounds like a nightmare to manage with script, for other peoples. From my point of view, YuNoHost solution is easy enough for a layman, and they will be happy not to break their main PC, have access from their phone, … even if only at home.

  • I’m with the others: fd default syntax is easier to remember.

    And for the interactive search I’m using skim. With it I cd to the dir I want and Alt t to trigger fuzzy finding. There are also bindings to search for dir or in the history. The neat part is that results are inserted as is in the command line, no need to xargs or copy them. It also make the history look like I always know where the files I want are when in reality they are just fuzzy-found

    1. You need a license
    2. usage should just be help (avoid extra step)
    3. connect does not exist (see add and cmd list)
    4. You can git clone <REPO> <DEST FOLDER>, no need to cd
    5. maybeCreateDir is not used each time, there are some mkdir
    6. “changes” is not a helpfull commit message. Accept an optional argument string and {MESSAGE:=change}
    7. Accept a different repo path
    8. set -euxo pipefail at the start of the script if you want to exit at any error. Some sort of bash strict mode
    9. shellcheck does not like iterating over ls’s output

    I’m too lazy to open issues/PR for all that, and I still need to learn stow. Hopfully this might help me ? (I don’t really need help with git that this sçript look to abstract too much for me.)

  • Sadly I can’t recommand pop-os. In 2 years, the updates broke twice on me.

    The resolutions where simple enough if you can use the command line to run sudo apt update, sudo apt upgrade. But the GUI shop updater just crashed on me without the apt error message visible.

    It is a nice distro overall with which you can even try tiled windows without commiting to it.

    -> pop-os is nice but it may break from times to times. So if (like me or most dev) you are ok with the CLI and just a bit of fixes from times to times then go for it. But if you are affraid of the CLI or never want to fix anything, then some other distro may be a better choice.

  • Just use this one… or any of this 4 others.

    This is the issue for us, python outsiders. Each time we try we get a different answer with new tools. We are outside of the comtunity, we don’t know the trend, old and new, pro and cons.

    Your first recommandation is hatch… first time I’ve heard of it. Uv seems trendy in this thread, but before that it was unknown to me too.

    As I understands it, it should be pip’s job. When it detect I’m in a project it install packages in it and python use them. It can use any tool under the hood, but the default package manager shoud be able to do it on its own.

  • On that note, I’m hesitant between writing my scripts in perl or python right now. Bash prevent sharing with Windows peoples… I just want to provide easy wrappers tools that are usually aroud 10 lines of shell, but testers ain’t on linux so they cannot use them.

    I don’t know perl, but each time I interract with pyton’s projects I have a different venv/poetry/… to setup. Forget adout it the next time and nothing is kept easy to reuse.