irfan (@ir_foo) header
irfan (@ir_foo) profile picture

posting into the void

Joined September 2010
Photo by irfan (@ir_foo)Photo by irfan (@ir_foo)Photo by irfan (@ir_foo)Photo by irfan (@ir_foo)Photo by irfan (@ir_foo)Photo by irfan (@ir_foo)Photo by irfan (@ir_foo)Photo by irfan (@ir_foo)Photo by irfan (@ir_foo)Photo by irfan (@ir_foo)
I don't know what stage of AI psychosis this is, but I like it!
I trained a 1-bit language model smol enough to ship as a PNG 16M weights, one pixel each. I wrapped the image on a brain, the page runs the model straight from it, so painting on the brain edits the model live 0.5% damage and it starts misspelling. grab the brush and break it yourself
2
1
64
instead of prompting your agent in prose all the time, write more pseudocode
24
my hair is 0% of my face, no issue here
I laughed at a guy once who told me he spent $130 on a haircut. He asked how much I spend, and I said $22. He didn’t argue, he just said matter-of-factly “your hair is 40% of your face” and shrugged... I no longer go to Supercuts.
27
Liftoff! My weekend project to write an AI inference engine from scratch has produced the most BEAUTIFUL tokens I've seen in my entire life 🥰 It runs on the CPU and is a complete toy - but doing this has demystified the LLM internals to me (at least a little bit)!
1
1
1
47
My PR pitch: Jensen rocks a white leather jacket and returns as Jensen the White
548
4,461
364
82,720
1,586,110
Hand-writing code for a first time in a ~year, on a side-project. Asking AI to review every new chunk I write. Pretty slow, but it's the best code I wrote in my entire life!
2
70
Introducing e-means, an algorithm beating k-means in 10x fewer epochs. With order of magnitude wall-clock speedups, e-means is released in FAISS and needs no hyperparameter tuning beyond k. It is robust to various scales and datasets. Still skeptical ? Just try e-means [1/10]🧵
150
1,235
258
10,234
903,390
Surprised that nobody is reviving Donald Knuth's Literate Programming... Seems like it would work super well with AI coding agents.
1
46
We asked GPT-6 Astra to edit Qwen3.5-0.8B weights to improve math. It directly changed only 0.016% of weights, fixing 0.8B's reasoning loops & improving math up to 6x and even instruction following 3x, without gradients or training. We call this Weight-Space Programming: frontier LLMs can now natively read/write neural network weights! 🧵 Blog: rikiyat.github.io/blog/weigh…
Readers added context they thought people might want to know
LLM was given weights explicitly as text in prompt and used code/forward passes (per authors' logs) to ablate Qwen looping direction, a known thinking-mode issue per model card. Primarily fixed repetition in that mode, not general 'natively' improving weights/math. rikiyat.github.io/blog/weight-sp… github.com/RikiyaT/lm_und… huggingface.co/Qwen/Qwen3.5-0… huggingface.co/RikiyaT/Qwen3.…
2,366
7,250
5,759
55,876
10,116,494
tell Claude to turn your X bookmarks into a personal wiki you're not going to regret it
48
The sort of thing your agent writes tests for
The chances of being killed by a landmine delivered by a bear are low, but they are never zero.
77
835
36
14,198
328,795
to be fair, PROLED was *right there*… I can’t believe nobody thought of it before
1
33
AI is the only patient teacher I ever had
32
irfan retweeted
it’s been an honor using the computer with you all
129
2,556
66
27,385
395,777
one day you wrote console.log("here") for the last time and didn't even know it
16
319
7
4,086
112,533