Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Today in #FreeSoftwareAdvent it's Inkscape.

Uncategorized
1 1 0

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    1 Posts
    0 Views
    Today's #FreeSoftwareAdvent entry is my podcatcher, castget(1). I've used several CLI podcatchers over the years, changing mostly because hpodder (my then-favorite) became deprecated and dropped out of repos, so I had to find a replacement.Configuration is a simple INI-style file, it allows me to post-process files (certain ones I cut off the 7-minutes of advertising at the beginning, customize ID3/ID3v2 tags), and give them a naming-convention that works for how I listen.It runs nightly from cron(8) downloading to my queue directory-tree, emailing me the resulting output, and saves its state in files that can be fairly easily tracked in version-control (annoyingly it doesn't sort them, so every run mangles them, but a little processing with vim makes quick work of them, meaning the resulting diff output is just the new podcasts and a top-level timestamp change, not a complete remunging of the file). About every 3–4GB of queued-up files, I've usually reached the ones on my player/phone, delete those, and replace them with the fresh queue. It does mean that news podcasts are largely worthless because there could be a 3–4wk lag between when the episode releases and I eventually catch it in my player.It's simple, it works, and it plays well with the rest of my ecosystem. I like it.
  • 0 Votes
    1 Posts
    0 Views
    Following on the heels of ssh(1) yesterday, today's #FreeSoftwareAdvent is rsync(1).It's one of the key elements in my podcast listening (more on that to come later this month), where my podcatcher pulls down podcasts into a backlog tree structure, and I rsync the whole thing to my phone for listening. It also undergirds my blog deployment, building in Nikola (still gotta find some time to switch that to my custom Makefile driven build process) and then rsync'ing the output/ tree up to my web-server.And last night our teen wanted our family photo website content's pictures for a school project, so I was able to rsync the latest copy of them to a backup USB drive that he could browse offline.It's reliable and does a particular job (keeping two directory trees in sync) very well. Yes, ZFS send/receive is more efficient if both sides support it and they're whole datasets, but that's not always the case.Also, since I use bash as my shell, the "^" substitution makes it easy to issue something like$ rsync -n -avr $SRC $DESTand if it looks good, use$ ^-nto remove the dry-run flag and run it for real.
  • Today it's awk(1)

    Uncategorized freesoftwareadvent
    1
    0 Votes
    1 Posts
    4 Views
    Today it's awk(1)I use it almost daily—from simple column-extraction (specifying column separators and mashing together various columns feels easier with awk than with sort(1)), to summing and running totals, to aggregating counts of data, to reformatting text, etc…so many little uses pop up.It's available on every POSIX platform making it easy to write cross-platform utilities without having to install additional run-times like Python/Ruby/Node and the heavy dependencies that come with them.I've even written cgi-bin/ scripts in awk, allowing dynamic data processing on my stock OpenBSD systems with httpd+SlowCGI without non-stock software in the chroot.https://blog.thechases.com/categories/awk/#FreeSoftwareAdvent
  • #FreeSoftwareAdvent

    Uncategorized freesoftwareadvent inkscape
    21
    3
    0 Votes
    21 Posts
    5 Views
    @TerryHancock @JoannePaixa my guess is that using APT it's harder for people to sell you their proprietary appsI'll just keep using APT from the distribution repository, thanks, and yell at those youngsters