Welcome to my blog!

HTML USWDS Accordion

Lately I’ve been building some side projects using USWDS, or US Web Design System and it has been going great. They have a pretty good selection of components and mix together very well. Most recently I wanted to use the Accordion component but was faced to see it was using <div> elements and required using the provided JS bundle in order to perform its collapse and expand functionality. As a developer in the future I had a feeling we could build it natively with <details> so that’s exactly what I set out to do....

April 20, 2025

Using a `<table>` with grid layout

There have been quite a few number of times where the default layout algorithm of the <table> element has surprised me. Most particularly how there isn’t much control on the width of columns. There seems to be some CSS workarounds for this but in 2025 we have display: grid. Is there any way we can use that with tables? As it turns out, there sure is! Thanks to subgrid we can keep the HTML markup of our table but have fine-grained control over layout with this below class and a single grid-template-columns definition....

April 19, 2025

git-deleteallotherbranches

As an avid contriubtor to open source, I accrue a lot of branches in my local Git repos. However once the PR has been merged upstream I wanted an easy way to clean up. This new command (usually ran from master/main) will enumerate over all other branches and delete them. git-deleteallotherbranches() { git branch | grep -v $(git branch --show-current) | xargs -L1 git branch -D } Happy coding!...

January 30, 2025

git-commit2pr

As an avid contriubtor to open source, both in my own repositories and others', I interact with Git a lot and need to submit changes to those projects. If one such project happens to be on GitHub, then those changes need to go in a standalone branch before submission. Following up from my previous articles, I’m finally at a command I’ve been very excited to share about. It took a few tries to nail this down but ever since I did, it’s been indispensable....

June 24, 2024

git-newbranch

As an avid contriubtor to open source, both in my own repositories and others', I interact with Git a lot and need to submit changes to those projects. If one such project happens to be on GitHub, then those changes need to go in a standalone branch before submission. This is a very light addition on top of yesterday’s post where we defined git-newbranchname but this one has just as much joined its spot in my toolbox so I wanted to give it its own moment (URL) to shine....

June 20, 2024

git-newbranchname

As an avid contriubtor to open source, both in my own repositories and others', I interact with Git a lot and need to submit changes to those projects. If one such project happens to be on GitHub, then those changes need to go in a standalone branch before submission. For single file changes the GitHub on-site editor is often sufficient however the branch name will be something like patch-1, patch-2, etc and incrementing up as you make more....

June 19, 2024

Magnolia ImageViewer

Hey y’all, in our last installment I showed off the first “real application” coming out of Magnolia Desktop and today I wanted to show some screenshots for a new app aptly named ImageViewer. Just like many other operating systems I feel that a user should not have to open a web browser in order to view the pictures on their computer. To this end we now have the ImageViewer program. There is still much work to do but as of today it contains fully custom working implementations for BMP, QOI, TGA, PNG, and JPG....

October 24, 2023

Magnolia Calculator

https://mastodon.social/@nektro/110857823907433264 I’ve been working on a nice catalog of demos for Magnolia Desktop, but it now has reached a point where I made real app: Calculator This has been a long time coming since my first introductory post to Magnolia Desktop over a year ago both because a lot of life happened and other projects took precendence for a while. A myriad of other demos have been added in that time and if you check mastodon I posted that about a month ago....

October 10, 2023

Making Zigmod More Friendly to System Package Managers

As the developer of a source package manager (for the reference point of this article) rather than one of a system package manager (eg apt, apk, pacman, nix) it is very easy for me to prioritize the users who only build their apps from source by running zigmod fetch and zig build, either locally or in CI. Zig already makes a lot of headway in ensuring this is a just-works experience and Zigmod fits in snuggly....

August 5, 2023

A journey in contributing to LLVM for the first time

One of the biggest factors in how intimidating something is is how little you know about it. At the time of starting this project I consider myself a bit of GitHub expert and wanted to try contributing to projects that I used all the time but whose development processes were totally unknown to me. As it happens this actually started as an article about contributing to Linux and I was inspired to do so after seeing Andreas Kling’s FIXME Roulette series on his YouTube channel where he deep-dives into a random TODO or FIXME in the SerenityOS codebase, and that article is still in the works....

August 2, 2023