RSSAmplifier

Blog

charlesrocket

homepage

failsafe.monsterRSS feed ↗19 posts

Latest posts

TopBar

# Eww It all started with waybar on Wayland a few years ago. Then a brief barless era while I was enjoying my new wallpapers. Then I switched to eww , and that was pretty fun: "lisping" GTK widgets, I got pretty close to what I wanted to achieve. A lot of things worked out of the box on FreeBSD , including system stats and the network stack. I still had to write a few scripts for things like the…

Mastodon comments for Zola

# Intro # GitHub The first comment system that I implemented for Halve-Z was Giscus . It is based on GitHub discussions. I like GitHub, despite its limited security (no way to set Content Security Policy for GitHub Pages was the reason I moved to Netlify). I guess it's just a habit. And I don't really care about LLM training. It's not like me or anybody else from training models on…

Another World

# Beginning MS-DOS 4 got open-sourced a few months ago, and this reminded me that I wanted to try to run something very special (old?) on my BSD machine. Vintage stuff like OpenTTD and Diablo is pretty dope, but not vintage enough. And I never really got a chance to finish Another World —debugging pirated Red Hat CDs was an exceptionally time-consuming hobby. It is not like I finished Diablo (the…

Twitter Archive

Your browser does not support the video formats in use. Your browser does not support the video formats in use. Your browser does not support the video formats in use. Your browser does not support the video formats in use. Your browser does not support the video formats in use. Your browser does not support the video formats in use. Your browser does not support the video formats in use. Your…

Bluetooth sound on FreeBSD

I enjoy the quality and responsiveness of classic cable connections. And another battery to maintain is a drag. But in some cases (like the top of the mountain or an empty train), security and quality are not important. Or I just want wireless workflow. So being able to use the same devices is somewhat critical. For this test, I will use Skull Candy SCTAW packing Bluetooth version 5.2 . The system…

T480 and FreeBSD 14

I heard good things about this model, but I did not expect it to be that good. This is by far the best machine I had my hands on. Fantastic keyboard, swappable batteries, an ethernet port, USB-C charging, and 32GB of RAM. What else to ask? And the LED on the lid is a neat touch. The laptop is quite heavy and bulky, but it is definitely worth it. # Setup Disable Secure Boot and TPM in BIOS settings…

Artifact attestations

# Overview I have been waiting for something like this for quite some time, and a few months ago, GitHub rolled out its Artifact Attestations (still in beta). Powered by Sigstore , the idea is simple—these attestations ensure the build environment and the source code. Artifacts are linked to their repositories and the build process with cryptographically signed claims—attestations. Consumers then…

A capable PWA

# Problems I am not a fan of JavaScript . But I already started with some Service Worker examples from Mozilla some time ago, and PWA s have proven to be very effective. So, let's go. # Static deployments My first implementation was pulling cache lists from a dedicated page generated by the Zola template using a macro that pulls assets from taxonomies, pages, etc. But besides the need for…

Halve-Z

# Migration Last year, I decided to migrate my Jekyll website to Zola . The old project was based on the Halve theme and was quite outdated, so I thought it would be a good exercise refreshing it. While porting the old site wasn't hard, making Halve-Z a flexible theme was a slightly different challenge. I had to refactor and combine page layouts to allow proper template overrides, implement…

The Salton Sea

New divorce, want to separate myself from all these cold-blooded wars. I close my eyes, but wherever I turn myself I find another source of no remorse, moving towards the verge of collapse. And I can't force you or anyone else to help me to restore.

Structs 5X

# Intro The year is 20X5 and humanity has fallen: now there are only Coindroids. The machines we designed to manage our finances have supplanted and destroyed the human race by turning our own economy against us. Now they battle each other in the ruins of our fallen cities, driven by a single directive: money is power. Battle your way to the top of the leaderboard through manual labor or the sweet…

Migrating to Zola

# Jekyll I started using Jekyll around 5 years ago and never needed another SSG . Its workflow is very straightforward and easy to tame on Linux/Mac (not to mention integrations with GitHub, etc). But a lot has changed, including restricted plugins. Now instead of debugging pages, I have to write ports for plugins or deal with rbenv . Let's fix this. # CI My legacy workflow was built…

Sempiternal dust

There was a man of double deed, Who sowed his garden full of seed; When the seed began to grow, 'Twas like a garden full of snow; When the snow began to melt, 'Twas like a ship without a belt; When the ship began to sail, 'Twas like a bird without a tail; When the bird began to fly, 'Twas like an eagle in the sky; When the sky began to roar, 'Twas like a lion at my door;…

Dørst

dorst is a source code backup manager. Right now, it only works with git , and its purpose is to mirror repositories into a local (or remote) destination. ssh-agent is supported along with gitconfig 's credential helper. I am still working on CLI concurrency, but GUI feels completed: GTK is fun to work with - I feel that this would probably drive both interfaces into something bigger than a…

EWW

Barless is great. But sometimes you want direct readings without extra steps (to observe a long script, or just tired?). After writing a small GUI for pixelmosh , I wanted to add some GTK to my desktop as well. And eww is a fantastic instrument to do so. There is no GTK v4 yet, but I managed to port 100% of my old layout with all projected improvements. My dependency tree is not perfect, but it…

Sway + FreeBSD

I started to migrate from macOS back in December 2020 - kext "deprecation" was the last drop. And we won, eventually . But the fact that you had to fight for it, and the internal reaction - everything now is just screaming there is nothing left of what used to be OSX . Not to mention no macOS Server and no Pro. That is it. So... Early FreeBSD 13B1 builds on my laptop were not as smooth as I wanted…

Frightcrawler

Frightcrawler is a small tool I wrote to prepare for MtG tournaments. It fully supports Helvault and AetherHub (just in case) files. To validate your deck - scan the cards with Helvault and load the CSV file into Frightcrawler : Usage: frightcrawler -g modern -f PATH/TO/FILE -g GAME_FORMAT Set game format -f CSV_FILE Path to CSV file -i SCRYFALL_ID Get card info -h, --help Print…

Watchy

So it's 3rd month now, and my watch is still alive, despite all the punk rock. (altho DOWN button is missing). # Firmwares Beastie Skully # Tricks Increase battery life with this example . Set black border: Tweak GxEPD2_154_D67::_InitDisplay() in GxEPD2_154_D67.cpp ( line ) and change _writeData to 0x02 . _writeCommand ( 0x 3C ); // BorderWavefrom _writeData ( 0x 02 ); You can find…

RaspiBlitz

RaspiBlitz is the fastest and cheapest way to get your own Lightning Node running on a RaspberryPi with a nice LCD. Use this guide to build and spin up your node. If you are confident in your wifi network - use sudo raspi-config to setup wireless connection ( ref ).