ZWQbpkzl [none/use name]

  • 0 Posts
  • 19 Comments
Joined 2 years ago
cake
Cake day: April 8th, 2022

help-circle
  • If python is too big for you and you’re dealing with heterogeneous systems then you’re probably stuck with sh as the lowest common denominator between those systems. I’m not aware of any scripting languages that are so portable you can simply install them with one file over scp.

    Alternate route is to abandon a scripting interpreter completely and compile a static binary in something like Go and deploy the binary.

    There was also some “compile to bash” programming languages that I’ve sneered at because I couldn’t think of a use case but this might be one.


  • Elixir checks most of those boxes. If you want a good functional scriptibg language, Elixir soynds like the go to. Some lisp language like guile should also be sufficient, and probably have a lighter footprint.

    This requirement stands out though:

    has a simple/straightforward setup (ideally, it should be a single executable that I can just copy to a remote system, use to run a script and then delete)

    Thats basically what ansible does. If you plan on doing this to multiple machines you should just use ansible. Also how do you plan on ensuring the scripting interpreter is installed on the machines?





  • Yeah I only suggested obsidian because its so popular and is completely out-of-the-box.

    If you want everything exactly as you want it you’ll need to spend time coding it all yourself. Otherwise you’re shopping around for different tools for specific things. Some editor plugin for notes. Another for tasks. Another for reminders etc.

    My issue with task warrior was its syncing service taskd. It required that you generate a self signed ssl certificate. You couldn’t host it behind caddy. But all the issues listed I’m pretty sure it covers. Its extremely robust.


  • Is there a reason you’re not looking at tools explicitly built for this like orgmode, obsidian, task-warrior, etc? There’s a plethora of these tools and my experience with this is you really don’t want to over-engineer your productivity suite.

    That said, if you go the SQL route, sqlite is the way to go. Other SQL databases must be run as a daemon whereas sqlite operates on a local file directly.

    However any SQL database isnt going to have the CLI youre asking for. Its interface is… SQL, so you’re scripts are going to have a bunch of SQL code embedded that isnt easily reusable. A non-sql database will probably be better. I’m not familiar with them but I think there’s some that store their data as text files in a folder which is organized a certain way. But that starts looking like the tools I mentioned before.




  • ZWQbpkzl [none/use name]@hexbear.nettoLinux@lemmy.mlanti-snap stance is anti-consumer
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    3 months ago

    I have a standing fatwa on snap only because it comes installed and enabled by default on Ubuntu server. Maybe it’s good for grandmas laptop but it’s kill-on-sight in a server environment. Every Ubuntu server I’ve seen has eventually been taken offline without any warning because of snapd doing some auto update.

    Ubuntu server should have snapd disabled. Ubuntu shouldn’t be the default distro for VPS providers. AFAIK its only the default because its the distro most people might have prior experience with.

    While I’m at it, Fedora is also on my shit list as dnf requires over a gig of memory to do a major version upgrade.


  • I like #Nix, I do not like what has happened to it.

    With no explanation of what happened, the conclusion is almost certainly Internal politics.

    It seems like forgejo split from gitea because it looked like gitea was going the route of gitlab. Idk if NixOS is going to commercialize though. Based on recent gossip it sounds like they’re overly adverse to commercialization. IE banning people for having DoD connections. Aux’s talk about special interest groups makes it sound like they’re going embrace that like redhat.







  • Sounds like deadbeef

    I remember using foobar2000 on windows and then trying out deadbeef on linux. The problem is it falls into a demand gap on linux. People drawn to foobar2000 tend to be power users but on linux there is way more options available for power users.

    Like how the author enjoys the directory based music browser for the exact same reasons I did. My music wasnt tagged correctly but it was manually sorted correctly by me. On linux the solution is to use beets to automatically sort and correctly tag all of your music.

    Then there’s the issue of the player. On linux the titan is MPD, a music player server. MPD has no UI but and client can have any UI it wants. Then you get stuff like, mpc, ncmpc, ncmpcpp, cantata, etc. Once you learn about all the possibilities of MPD, you dont want to use a foobar2000 clone unless its a MPD client.

    Also writing plugins in a custom language (fooscript) is usually a bad idea. Just use Lua. Its literally what lua is built to do.