Multiple arguments in shebang

Wednesday, Jan 10, 2024

Figure 1: Jamian · CC BY 3.0 Deed (link) A frequent quip of the unix-beard is shebangs cannot contain multiple command-line arguments. Let’s break it down and see where this assumption no longer holds true. What is a Shebang? The shebang is the line at the beginning scripts such as Python and Shell scripts that instructs the OS how to execute the script. Looks something like #!/bin/sh or #!

Continue reading…

Upgrading my Workstation to NixOS 23.11

Wednesday, Jan 3, 2024

Figure 1: Official image for 23.11 Upgrading my workstation to 23.11 wasn’t as simple as I was hoping. Ran into a few issues. Performing the upgrade I’m using a flake, so all I should have to run is: # First edit flake.nix so it points to release-23.11. nix flake update nixos-rebuild boot --flake .# (Then systemctl reboot into the new generation that includes a new kernel.) Issue #1: pinentry package changes I can’t unlock any keys using gpg-agent (hence cannot use GPG keys for accessing my password database and send signed documents).

Continue reading…

My 2023 in review

Thursday, Dec 21, 2023

Figure 1: Dietmar Rabich CC BY-SA 4.0 (link) Things that I achieved this year. Exercise. I was going 3 times a week to the gym. Now I’m working out at home about once a week. A no-processed-foods diet. Occasional respite from some health issues. I’m not dieing so that’s pretty cool. Remained self-employed. Even after many project transitions including firing a toxic client. Worked with some new technologies including Love2d, Fennel, Angular 3, Next.

Continue reading…

Sway review

Thursday, Oct 26, 2023

Hello, my name is Winny and welcome to my honest review of Sway, a i3wm compatible Wayland compositor. Its primary appeal is a compositor experience that is easy to install, and familiar to i3 users. For my usage, it is one of the few compositors flexible enough to deploy on older hardware. Startup Sway does require a bit of effort and time to get it in a usable state from the stock configuration.

Continue reading…

Nix / NixOS misconceptions

Sunday, Aug 6, 2023

I’ve been using Nix for a year now. It’s been going fairly well, by the way. Here are some misconceptions I’ve had to overcome to become a more productive Nixer. False: You can’t deploy Nix software to Docker or Kubernetes False. If you can push to a docker registry such as docker.io, you can deploy to Docker or Kubernetes using Nix. You can use dockerTools.buildImage to build a docker image from Nix.

Continue reading…

Racket frustrates me

Friday, Jun 16, 2023

2024-07-06 I’ve archived this post Looking for the post Racket frustrates me? You can read the original post on The Internet Archive’s Wayback Machine. Why archive this post? It’s been about a year since I published this post and since realized something: I don’t have any skin in the game anymore. My workflow is now 100% Racket free. It no longer matters to me if Racket becomes a whopping success or a sullen failure.

Continue reading…

My first game jam

Thursday, Jun 8, 2023

Source lives here. Play it here. In a joint effort, Aliasing and myself have created a novel top-down action rogue-lite for the 2023 Spring Lisp Game Jam. Aliasing is an experienced game dev so in a way, I was along for the ride. Still, I managed to contribute some game mechanics, features, unit testing, CI/CD that deploys to super-rogue.workinprogress.top on every commit. This was a fun devops exercise for me - Aliasing mentioned to me that I helped keep him on track with the addition of automated testing and per-commit deploys to a website (it makes it easy to play-test pull requests).

Continue reading…