Salta al contenuto

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 pandoc(1).

    Mondo freesoftwareadvent
    1
    0 Votazioni
    1 Post
    12 Visualizzazioni
    Today in #FreeSoftwareAdvent it's pandoc(1).I author most of my prose in raw HTML (something I've done since the 90s, stemming from my appreciation of WordPerfect's "Reveal Codes" functionality), or occasionally I'll use Markdown. It's nice to just hand the file off to pandoc and get some other format (PDF, Word, RTF, plaintext, whatever).Is the output flashy? Not really. Is it what I would get if I hand-crafted the desired output document? No. But does it let me lazily do conversions with basically zero effort? Yep!
  • 0 Votazioni
    1 Post
    8 Visualizzazioni
    Today in #FreeSoftwareAdvent, I realized how much my daily setup changed over the years.I removed my external monitor and keyboard.Not to be minimalist, but to reduce context switching.I kept the mouse because speed still matters.Working sometimes from my parents house made it clear that relying on an external monitor was fragile, so I forced myself to work only with the laptop.The same thing happened with software.Vim slowly became nvi.Alacritty became xterm, then st.I didn’t look for lighter tools, but for ones I could trust and reason about. Less abstraction, fewer surprises.Today I use two identical laptops -- one for work, one personal -- same setup, side by side, one mouse for each.The environment disappears, and the work stays.#suckless #st #nvi #xterm
  • 0 Votazioni
    1 Post
    11 Visualizzazioni
    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.
  • Today in #FreeSoftwareAdvent #newsraft #RSS

    Mondo freesoftwareadvent newsraft rss
    1
    0 Votazioni
    1 Post
    14 Visualizzazioni
    Today in #FreeSoftwareAdvent #newsraft #RSS ```git clone https://codeberg.org/newsraft/newsraftcd newsraftsudo apt install libcurlpp-dev libgumbo-devmake && sudo make install````1 minute later (without parallelization on a 8yo cpu), you have built a complete RSS reader.You can even get Gemini feeds (gemget needed though).ex:$(gemget -sq https://geminiprotocol.net/news/atom.xml) "GeminiProtocol main feed"Thank you Grigory Kirillov!
  • Today in #FreeSoftwareAdvent it's Inkscape.

    Mondo freesoftwareadvent
    1
    0 Votazioni
    1 Post
    11 Visualizzazioni
    Today in #FreeSoftwareAdvent it's Inkscape. I've used it for years, for generating meme-type images, for producing my resume, for several portfolio projects, drafting SVG source images for laser-cutter/3d-printer work, and likely dozens of other projects I'm forgetting at the moment.Having implemented a *tiny fraction* of a vector image editor/viewer (in VB6 for the PocketPC using custom XML data-structures under the hood…so early-2000s), I appreciate all the more the hard work done by the Inkscape devs.
  • 0 Votazioni
    1 Post
    15 Visualizzazioni
    well today's #FreeSoftwareAdvent is a bit bittersweet.Back at the beginning of the month, I plotted all the projects on my remind(1) calendar, grouping various categories together. Two days ago, lynx¹, yesterday was Dillo², and today it was supposed to be #Firefox. Yet this week has been full of sad Firefox news, with them ignoring users' desires to keep AI rubbish out of the browser (or at least relegated to an optional plugin)The browser that I started using as Netscape, grew to be Communicator, that kinda became Phoenix, then shed the non-browser functions off to Thunderbird (already got mentioned³) and became Firefox. Despite the rise of Chromium/Chrome, I still use Firefox as my daily driver web-browser for the modern web (rather than the *pleasant* web where lynx & Dillo serve me much better).What used to be a "User Agent" has become something that no longer puts the *user* first. 😢 So in this time of wishes and gifts, I wish that the Firefox leadership team would take a strong look at what they're doing and change their course.⸻¹ https://mastodon.bsd.cafe/@gumnos/115735221496156078² https://mastodon.bsd.cafe/@gumnos/115740808963678498³ https://mastodon.bsd.cafe/@gumnos/115684337296307283
  • Today in #FreeSoftwareAdvent it's lynx(1).

    Mondo freesoftwareadvent
    1
    0 Votazioni
    1 Post
    12 Visualizzazioni
    Today in #FreeSoftwareAdvent it's lynx(1). Which is amusing because it's been scheduled for today on my calendar since the beginning of the month, but @neil chose to share links(1) today as well, for many of the same reasons. 😆It's been around for decades—I used it to browse gopherspace (and maybe WAIS?) in the 90s via a 1200 baud dial-up connection to a shell account and later the nascent WWW when it arrived.Sadly, ClownFlare, Google, and anti-AI-bot/scraper tech has made many formerly-accessible-with-lynx sites now inaccessible, some blocking by User-Agent, some blocking due to the lack of JavaScript support.But it has the right amount of usability and friction, so I can use it from my command-line-only writer-deck netbook to do a little research or read some HTML documentation, without getting sucked into the modern web.My custom configuration puts it in Advanced mode (no help-bar at the bottom), specifies vi-key-bindings, a custom color-scheme, uses links-and-form-fields-are-numbered making it easy to jump to them, and text-fields-require-activation so I don't get stuck in text input boxes when using j/k to scroll up/down in the document.I also have a couple shell wrapper-functions to invoke lynx on particular URLs (Wikipedia, dictionary/thesaurus/rhyming resources, web search, etc) with the CLI arguments filled in.I also have mutt configured to show text/html messages in lynx (either using `lynx -dump` and the internal pager, or using `m` from the attachments menu to view it interactively)
  • 0 Votazioni
    1 Post
    8 Visualizzazioni
    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.
  • 0 Votazioni
    1 Post
    16 Visualizzazioni
    Today in #FreeSoftwareAdvent it's the venerable ssh(1)/sshd(8)While I grew up in an age where telnet(1) was my only option, the ssh folks made it a pretty drop-in replacement for the sorts of things I did with telnet, so switching was easy.With the exception of when I'm rebooting or our ISP is having issues, I almost always have at least one SSH connection open and likely more than one connection to other hosts. Even in the "security" of our LAN in the house, I still SSH between machines rather than use unencrypted connections for transfer.I love being able to run things remotely and use them locally, such as$ ssh me@remote dmesg | xsel -ibto put the remote machine's dmesg output on my system clipboard or$ tar czvf - /path/to/data | ssh me@remote 'cd /destination/path ; tar xzf -'to transfer a directory tree to a remote machine.It generally has sensible defaults, allows me to force key-based authentication rather than username+password auth.It allows me to limit $DAYJOB customers to SFTP-only access within their designated chroot directories, insulating them from each other.I use it to tunnel into work and forward my RDP VM's screen so I can access it locally with rdesktop(1)So many delightful little uses.Definitely worth reading @mwl's SSH book to learn more: https://mwl.io/archives/3126
  • Today in #FreeSoftwareAdvent, it's pf(4)

    Mondo freesoftwareadvent
    1
    0 Votazioni
    1 Post
    8 Visualizzazioni
    Today in #FreeSoftwareAdvent, it's pf(4)Having lived through several iterations of firewall management tools on Linux (and FreeBSD offers both IPFW, IPFilter, and pf in the base system), I've come appreciate the simplicity and declarative nature of pf.conf for my firewall management.The only downside is the quirky syntax of pfctl(8) but I do like being able to run my rules through it to sanity-check them from vi/ed with:w !pfctl -nvf -before installing them.
  • #FreeSoftwareAdvent

    Mondo freesoftwareadvent inkscape
    21
    3
    0 Votazioni
    21 Post
    44 Visualizzazioni
    @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