Hard to argue this take, happy to see that its at the top. With it being such an old language its amazing that it still holds this position, and not surprising that it has warts, and thing that have turn users off from wanting anything to do with it. timestamped in the link
Command Line Interface Guidelines An open-source guide to help you write better command-line programs, taking traditional UNIX principles and updating them for the modern day. clig.dev This is a pretty sick set of guidelines to help you write better cli programs, I’m definitely coming back to reading this one more in depth later.
External Link fullystacked.net You can explicitly make a script render blocking, nothing will be rendered until this js is ready.
Remove Background Web - a Hugging Face Space by Xenova In-browser background removal huggingface.co I’ve long been a user of remove.bg, and I just discovered that you can run this transformer right within your browser with no api limits.
FastHX - FastHX volfpeter.github.io Very interesting approach to htmx and fast api. It uses separate decorators for returning template partials and json that can be stacked to include both options on a single route. The templates are explicitly set in the decorator. Separate decorators are used for full page and partial pages. I don’t see an example of full and partial pages being combined. I think the demo app must be behaving in a spa like fashion where it does not get all of the data when it calls index and index will ask for user-list. Definitely going to keep my eye on this project and ponder on it.
FastHX - FastHX volfpeter.github.io Very interesting approach to htmx and fast api. It uses separate decorators for returning template partials and json that can be stacked to include both options on a single route. The templates are explicitly set in the decorator. Separate decorators are used for full page and partial pages. I don’t see an example of full and partial pages being combined. I think the demo app must be behaving in a spa like fashion where it does not get all of the data when it calls index and index will ask for user-list. Definitely going to keep my eye on this project and ponder on it.
Pinout and Schematic - nice!nano Pinout and schematic for the nice!nano nicekeyboards.com Pinout for nice!nano boards. Note that P0.15 means gpio port 0 pin 15, they can be referenced in zmk when setting column and row pins.
Check out volfpeter and their project fasthx. FastAPI server-side rendering with built-in HTMX support.
I’m impressed by shmux from typecraft-dev. the shell-script tmux management you didn’t know you needed. baby
I like iximiuz’s project awesome-container-tinkering. List of awesome tools to tinker with containers.
External Link unix.stackexchange.com today I learned that /dev/pts is a pseudo-tty. It amazes me how much linux is still built around things like hardware terminals.
GitHub - svenstaro/miniserve: 🌟 For when you really just want to serve some files over HTTP right now! 🌟 For when you really just want to serve some files over HTTP right now! - svenstaro/miniserve GitHub · github.com miniserve is a sweet http server, replacement for. It’s fast, runs off a small binary, but why would I want to use it over something that already exists on most machines, because it includes a bunch of features like qr codes, pretty themes, and uploads. I’ve used many times to transfer files from one machine to another in a pinch, like at a family members house. But what if they have an android, windows, or something not easy to get a python repl running on, you can run miniserve and upload from their device rather than hosting from their device.
pacman/Tips and tricks - ArchWiki wiki.archlinux.org The arch wiki is always full of good content, and pacman tips and tricks does not disappoint. Today I discovered this command to remove orphaned dependencies on my system.
Inside 22,734 Steam games About a year ago I blogged about games that use curl. In that post I listed a bunch of well-known titles I knew use curl and there was a list of 136 additional games giving credit to curl. Kind of... daniel.haxx.se · daniel.haxx.se Interesting to see that curl is used in so many places. I often think of things like games being so windows centric and curl being so linux centric I don’t even think of these things crossing paths as much as they do.
Looking for inspiration? miniserve by svenstaro. 🌟 For when you really just want to serve some files over HTTP right now!
wcurl is here Users tell us that remembering what curl options to use when they just want to download the contents of a URL is hard. This is one often repeated reason why some users reach for wget instead of cur... daniel.haxx.se · daniel.haxx.se interesting, seems like such a simple way to completely remove the need of a whole other cli. No offense to anyone working on wget, but generally I use it out of lazyness or something wierd is happening and I am looking for a second opinion. Cool to know that wcurl exists and will start shipping with curl.
I’ve started leaning in on kubernetes kustomize to customize my manifests per
deployment per environment. Today I learned that it comes with a diff command.
kubectl diff -k k8s/overlays/local
You can enable color diffs by using an external diff provider like colordiff.
export KUBECTL_EXTERNAL_DIFF="colordiff -N -u"
You might need to install colordiff if you don’t already have it.
sudo pacman -S colordiff
sudo apt install colordiff
Now I can try out kustomize changes and see the change with kustomize diff.
Kubernetes ships with a feature called kustomize that allows you to customize your manifests in a declarative way. It's a bit like helm, but easier to use. I...
Animal well does not let you remap keys, and really doesn’t even inform you
that it is keyboard compatible. I had to play around and discover the keymap,
which can be a bit tricky on a 40% board. This is what I found.
- wasd - move
- space - jump / a
- enter - interact / b
- x - throw
- c - inventory
- 1 - left item / rb
- 2 - open item menu / triangle
- 3 - right item / lb
Calendar data could not load. Try again.