• 1 Post
  • 37 Comments
Joined 4 months ago
cake
Cake day: September 26th, 2024

help-circle






  • neither strictly nor strictly typed.

    I think one of them should be “strongly”, but I understood your point.

    Thinking back, I don’t have the doc easily accessible (on phone), but I think the C API state the type you want to read. Like get_int(smt, VALUE_INDEX, …), so at least in the C API, most of this should not be visible. Maybe only the SELECT 1 = '1' part (or others comparaison fully done in the SQL string)?





  • I only have to “quotes” strings that contains globs. The rest mostly work or use the newer/recommanded way to do things for posix shells.

    But I must admit, I only use it interactively. For scripts I #!/bin/{,ba}sh. I will use something else once it won some/most the distro preinstalls (either nu, elvish, fish, but for now it’s sadly python).





  • I don’t know elvish, but I can’t get into nu. It is too different than what I learned (bash). I’m not sure I understand what they want to accomplish… Maybe I’m not the target, I use the shell to start commands as a dev, not as a devops or data guy…

    I also had a hard time using fish the first time I tried it. But since the version on Debian 10 I re-tried and now the only thing to know is “put the arguments in quotes if you want the command to do globbing”. With that you can use 99% of the commands you find on internet as is.




  • Did you tried UnCiv ? Feels like garbage to play to me. Maybe it is just too complete for my mobile game sessions… (And I don’t really like civilisation turn based games anymore.)

    Mindustry (factorio like) plays badly on mobile (everything is too small, touch is not precise need to zoom a lot but you don’t see anything/can’t build long belt that way). But now I want to play it on PC.

    On the other hand, Feudal Tactics is really nice to play on mobile.



    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.)