Week 5 Links

https://docs.astral.sh/uv/: Extremely fast Python package and project manager https://github.com/animotionjs/animotion: Presentational framework for creating slides and visualizing ideas with code https://github.com/slidevjs/slidev: Presentation Slides for Developers (with support for Shiki Magic Move) https://block.github.io/goose/: On device AI-agent

February 8, 2025 · 1 min · 34 words · Me

Week 4 Links

https://jamesclear.com/the-1-percent-rule: Pareto Principle, Winner-takes-all, Matthew Effect, the 1 Percent Rule https://pub.dev/packages/is_even_ai: For when you want to use AI but don’t know how. https://ts.llamaindex.ai/: TypeScript support for LlamaIndex

February 8, 2025 · 1 min · 27 words · Me

Week 3 Links

https://mynoise.net/: Ad-free background noise generator https://lobste.rs/: Lobsters is a computing-focused community centered around link aggregation and discussion https://netnewswire.com/: Free RSS feed reader https://github.com/KKKZOZ/hugo-admonitions: GitHub style callouts for Hugo blogs https://sfpc.study/: The School for Poetic Computation (a cool website design) https://exa.ai: AI search how it should be done https://og.new/: No-code app for creating slick OG images https://gradio.app/: Build ML models in minutes

February 8, 2025 · 1 min · 61 words · Me

Undo Latest Git Commit

A simple one: git reset HEAD~

February 8, 2025 · 1 min · 6 words · Me

Websocket Basics

All websockets begin as normal HTTP servers. On the upgrade event, the server can upgrade to a websocket, allowing bidirectional communication. This video gives a pretty good overview of the process.

February 8, 2025 · 1 min · 31 words · Me

Make Git Recognize File Name Changes

Apparently, changing a character in a file name from uppercase to lowercase is not detected by git. For example, changing NoteTaker.ts to noteTaker.ts is not registered as a change. To fix this (obviously bad default), you can run this in your terminal: git config core.ignorecase false

February 8, 2025 · 1 min · 46 words · Me

Preview Images vs Code

I accidentally discovered that if you hover over the image link in VS Code you can preview the image. Ctrl + clicking takes you to the image:

February 8, 2025 · 1 min · 27 words · Me

Dots per Inch

My Corsair Scimitar mouse started acting up this week so I had to completely deconstruct it to clean out two small cats worth of fur from around the scroll wheel. During my internet travels related to this procedure, I came across the acronym DPI, or dots per inch, that many mouses use to quantify their sensitivity. A low dots per inch value (ex. 800) results in slower, more precise cursor movements when the mouse moves in the physical world. A higher value obviously means the opposite - your cursor zings across the screen when the mouse is nudged one way or another. You can typically adjust this value using your mouse’s software provider and/or by using the mouse settings on your computer. ...

February 8, 2025 · 1 min · 122 words · Me

Promise Race Typescript

There is a static method in JavaScript called Promise.race() which “takes an iterable of promises as input and returns a single Promise that resolves with the first promise that settles”. This provides an easy way to set maximum timeouts on your functions: const timeoutPromise = new Promise<boolean>((resolve) => { setTimeout(() => { console.log("EOU detection timed out after", TIMEOUT_MS, "ms"); resolve(true); }, TIMEOUT_MS); }); const detectionPromise = (async () => { ... }); return Promise.race([timeoutPromise, detectionPromise]);

February 8, 2025 · 1 min · 75 words · Me

Fast Swap vs Code Themes

In VS Code, you can use the Browse Color Themes in Marketplace command to quickly peruse through hundreds of popular VS Code themes. Just use the up and down arrow keys to preview each theme in the list. Hit enter to download and apply it:

February 8, 2025 · 1 min · 45 words · Me