This week, I learned:
- The Disconnected Git Workflow explains how to use the
git send-emailworkflow. That’s like using email instead of GitHub as the collaboration mechanism - decentralizing and reducing dependencies. - Grok throws a HTTP 431 when you pass it a query over 6,890 characters in the URL. Here’s an example with 6,900 characters.
- As of now, there’s no way to tell
uvto use the cache and install only missing repos (#15454). But this is Deno’s default behavior, making Deno a slightly better choice in this regard. - Shelling Out Sucks shares common pitfalls when calling the shell from programs. Suggestion: Shell-escape ALL inputs. Use
set -o pipefailto detect failures in the middle of a pipe chain. Explicitly check the error code, not just stderr. - dax, which is based on zx, is a simpler Deno-based alternative to shell scripts. See examples. ChatGPT. However, scripting language matters more when humans maintain shell scripts. Since I’m using AI, it’s easier to use
bashscripts and let it handle any complexities. git push --force-with-leaseis likegit push --forcebut won’t overwrite if others have pushed in the meantime. Default to this instead of--force– it’s safer.- Microsoft’s docfind generates a WASM search index for documents, building a dependency free browser based compact and fast search.
- diffs seems a promising library for rendering diffs in the browser.
- Genie 3 seems pretty good. We should expect to see World Models becoming usable in a few months.