-
llama98.c ↗
Alex Cheema at Exo Labs presents llama98.c — a modified llama2.c by Andrej Karpathy that runs on Windows 98.
- 260K model: 35.9 tok/sec
- 15M model: 1.03 tok/sec
- 1B model: 0.0093 tok/sec
A few days ago, Alex shared a behind-the-scenes look on how it was made. The thread covers using FTP to transfer model weights and inference code to discovering how to build modern software for Windows 98:
On the topic of compiling for old hardware, Sam D’Amico shared DJGPP — a relatively modern port of GCC and interesting on its own!
-
React Scan ↗
React Scan by Aiden Bai automatically detects performance issues in React apps. From the website:
Previously, existing tools required lots of code change, lacked simple visual cues, and didn’t have a simple, portable API
Instead, React Scan:
- Requires no code changes – just drop it in
- Highlights exactly the components you need to optimize
- Available via script tag, npm, CLI, you name it!
React Scan will soon show what props caused a component to render as well:
And allow for recording and replying renders!
Previously: Bippy and React Fibers.
-
Bippy Inspector ↗
You can visually inspect React trees with a couple lines of code with the excellent Bippy toolkit by Aiden Bai.
import { Inspector } from 'bippy'; <Inspector enabled={true} />
Works with React v17-19!
Previously: Bippy and React Fibers.
-
Cool URIs Don’t Change (1998) ↗
What makes a cool URI?
Tim Berners-Lee, 1998
A cool URI is one which does not change.
What sorts of URI change?
URIs don’t change: people change them.Lots of respect for people who keep old URIs working. It becomes a lot easier when URIs are designed like the rest of your software.
Tim Berners-Lee invented the World Wide Web in 1990. He wrote the first browser on a NeXT Computer.
-
The Case for Kebab Case ↗
Using a mix of lowercase and uppercase causes pain on case-insensitive file systems like APFS by default on macOS.
Changing file case in Git commits is a bit weird already. My preference is to keep with existing conventions instead of injecting my own but if you’re starting a new project skip the (lower) camel case.
In the last week, I imported a TypeScript file with a different case than what was on disk by mistake. Some tools accepted it. The import-x/extensions ESLint rule failed because of the case mismatch. The error message there did not suggest anything about letter case.
Follow
Featured Blog Post
-
Starting at Apple
I will help small businesses succeed by building Apple Business Essentials — a product which brings together device management, 24/7 Apple support, and iCloud storage into flexible subscription plans. More →