Managing Multiple Tool Versions with Nix
This post is extremely similar to nix flakes and direnv. Here, I repeated my process, but with a little more thought and a little less language model magic.
This post is extremely similar to nix flakes and direnv. Here, I repeated my process, but with a little more thought and a little less language model magic.
I was following this guide to setup nix-darwin on a new Mac when I ran into an issue following the section about cross-compiling Linux binaries. I put this issue to the side when I first encountered it because I was trying to setup dependency management for my new system and this problem didn't...
Last year I wrote about nix and direnv as I explored the potential convenience of an isolated, project-specific environment. There were some interesting initial learnings about nix, but I didn't really know what I was doing. Now, I still don't know what I'm doing, but I've been doing it for...
I just did a fresh clone of my site for the first time in (probably) years. I've been using nix on my new system, so I was writing a flake to setup a development environment for the site with Hugo and Python. When I ran hugo serve, I saw all my content show up
I tried out Deno for the first time. Deno bills itself as the most productive, secure, and performant JavaScript runtime for the modern programmer
Edit (2024-07-21): Vercel has updated the ai package to use different abstractions than the examples below. Consider reading their docs first before using the example below, which is out of date.
Goku has a concept called a simlayer. A simlayer allows you to press any single key on the keyboard, then any second key while holding the first and trigger an arbitrary action as a result. I'm going to write a karabiner.edn config that opens Firefox when you press <kbd>.</kbd>+<kbd>f</kbd>.
Karabiner is a keyboard customizer for macOS. I've used it for a while to map my caps lock key to <kbd>cmd</kbd> + <kbd>ctrl</kbd> + <kbd>option</kbd> + <kbd>shift</kbd>. This key combination is sometimes called a hyper key. With this keyboard override, I use other programs like Hammerspoon and...
I've starting playing around with Fireworks.ai to run inference using open source language models with an API. Fireworks' product is the best I've come across for this use case. While Fireworks has their own client, I wanted to try and use the OpenAI Python SDK compatibility approach, since I have...
In a previous note, I discussed running coroutines in a non-blocking manner using gather. This approach works well when you have a known number of coroutines that you want to run in a non-blocking manner. However, if you have tens, hundreds, or more tasks, especially when network calls are...