Knowledge Updates
Observations while developing web applications and creating great software.
-
Gopher and the early days of AI
-
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) ↗
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.