Koukou Roukou (@avinograd) header
Koukou Roukou (@avinograd) profile picture

Data && Management

Saint Petersburg, Russia
Joined June 2010
Photo by Koukou Roukou (@avinograd)Photo by Koukou Roukou (@avinograd)Photo by Koukou Roukou (@avinograd)
Koukou Roukou retweeted
The 2nd edition of Designing Data-Intensive Applications, by @martinkl and me, is finished and sent to the printers! Ebooks available next week, and print books in 3–4 weeks. Sigh of relief. 😅 (BTW, this is a good opportunity to support your favourite local bookshop!)
104
428
115
3,807
412,784
Koukou Roukou retweeted
On DeepWiki and increasing malleability of software. This starts as partially a post on appreciation to DeepWiki, which I routinely find very useful and I think more people would find useful to know about. I went through a few iterations of use: Their first feature was that it auto-builds wiki pages for github repos (e.g. nanochat here) with quick Q&A: deepwiki.com/karpathy/nanoch… Just swap "github" to "deepwiki" in the URL for any repo and you can instantly Q&A against it. For example, yesterday I was curious about "how does torchao implement fp8 training?". I find that in *many* cases, library docs can be spotty and outdated and bad, but directly asking questions to the code via DeepWiki works very well. The code is the source of truth and LLMs are increasingly able to understand it. But then I realized that in many cases it's even a lot more powerful not being the direct (human) consumer of this information/functionality, but giving your agent access to DeepWiki via MCP. So e.g. yesterday I faced some annoyances with using torchao library for fp8 training and I had the suspicion that the whole thing really shouldn't be that complicated (wait shouldn't this be a Function like Linear except with a few extra casts and 3 calls to torch._scaled_mm?) so I tried: "Use DeepWiki MCP and Github CLI to look at how torchao implements fp8 training. Is it possible to 'rip out' the functionality? Implement nanochat/fp8.py that has identical API but is fully self-contained" Claude went off for 5 minutes and came back with 150 lines of clean code that worked out of the box, with tests proving equivalent results, which allowed me to delete torchao as repo dependency, and for some reason I still don't fully understand (I think it has to do with internals of torch compile) - this simple version runs 3% faster. The agent also found a lot of tiny implementation details that actually do matter, that I may have naively missed otherwise and that would have been very hard for maintainers to keep docs about. Tricks around numerics, dtypes, autocast, meta device, torch compile interactions so I learned a lot from the process too. So this is now the default fp8 training implementation for nanochat github.com/karpathy/nanochat… Anyway TLDR I find this combo of DeepWiki MCP + GitHub CLI is quite powerful to "rip out" any specific functionality from any github repo and target it for the very specific use case that you have in mind, and it actually kind of works now in some cases. Maybe you don't download, configure and take dependency on a giant monolithic library, maybe you point your agent at it and rip out the exact part you need. Maybe this informs how we write software more generally to actively encourage this workflow - e.g. building more "bacterial code", code that is less tangled, more self-contained, more dependency-free, more stateless, much easier to rip out from the repo (xitter.cf/karpathy/status/194161…) There's obvious downsides and risks to this, but it is fundamentally a new option that was not possible or economical before (it would have cost too much time) but now with agents, it is. Software might become a lot more fluid and malleable. "Libraries are over, LLMs are the new compiler" :). And does your project really need its 100MB of dependencies?
How to build a thriving open source community by writing code like bacteria do 🦠. Bacterial code (genomes) are: - small (each line of code costs energy) - modular (organized into groups of swappable operons) - self-contained (easily "copy paste-able" via horizontal gene transfer) If chunks of code are small, modular, self-contained and trivial to copy-and-paste, the community can thrive via horizontal gene transfer. For any function (gene) or class (operon) that you write: can you imagine someone going "yoink" without knowing the rest of your code or having to import anything new, to gain a benefit? Could your code be a trending GitHub gist? This coding style guide has allowed bacteria to colonize every ecological nook from cold to hot to acidic or alkaline in the depths of the Earth and the vacuum of space, along with an insane diversity of carbon anabolism, energy metabolism, etc. It excels at rapid prototyping but... it can't build complex life. By comparison, the eukaryotic genome is a significantly larger, more complex, organized and coupled monorepo. Significantly less inventive but necessary for complex life - for building entire organs and coordinating their activity. With our advantage of intelligent design, it should possible to take advantage of both. Build a eukaryotic monorepo backbone if you have to, but maximize bacterial DNA.
293
758
141
7,177
1,129,314
Koukou Roukou retweeted
⚡️В файлах Эпштейна найдена загадочная женщина, которая отказалась покидать остров
98
293
12
7,523
163,492
Koukou Roukou retweeted
We built a browser with GPT-5.2 in Cursor. It ran uninterrupted for one week. It's 3M+ lines of code across thousands of files. The rendering engine is from-scratch in Rust with HTML parsing, CSS cascade, layout, text shaping, paint, and a custom JS VM. It *kind of* works! It still has issues and is of course very far from Webkit/Chromium parity, but we were astonished that simple websites render quickly and largely correctly.
GPT-5.2 Codex is now available in Cursor! We believe it's the frontier model for long-running tasks.
668
881
749
9,405
6,451,865
Koukou Roukou retweeted
RIP Stack Overflow.
772
1,839
776
19,347
4,673,978
Koukou Roukou retweeted
I don't do Software Engineering anymore. Nobody does. It's a time when the truths of Software Engineering have been cancelled. The common ground now, pushed by the ever-growing crowd of deniers, is that we no longer need to write good software. That good code has no value. That hitting the market requires anything but good code. The truth is that Software Engineering works for everything aimed at the future. But the current industry's goals are short: build some shit, sell it, and hop on the next shit. There is no application or service creation anymore. You don't see any big useful app emerging, like 10-20 years ago. Everything in our industry today is either a short-lived grift or a heavy, buggy, corporate-driven monopolist shit that is here to enslave us. Software Engineering is no more.
291
244
109
2,938
624,173
Replying to @levwalkin
Все знают, что с кормёжкой животных нужны чёткие протоколы с синхронизацией, потому что этим мордам верить нельзя.
4
1
29
1,414
Replying to @tagir_valeev
Программист на Коболе, будучи незаменимым для человеком для ряда крупных банков в США, заработал кучу денег и на старости лет попросил себя заморозить до 10000 года. В какой-то момент просыпается, спрашивает: - Какой сейчас год? - 3500. - А фигли вы меня разморозили, я же в 10000 просил?! - Понимаете какое дело, нам срочно понадобился программист на Коболе...
4
32
1,497
Koukou Roukou retweeted
Merry Christmas to all our fellow mathematicians! (v/@DiegoKuonen)
8
74
2
324
25,988
А почему мне раньше никто не рассказывал, что уже лет 20 есть такой охуенный инструмент как user story map? – at Saint Petersburg, Russia
17
Replying to @pepel_klaasa
Геймер, гейзер, счётчик Гейгера, Билл Гейтс, Глория Гейнер, Гейдар Алиев, "Гей, славяне"
55
7
609
16,077
Koukou Roukou retweeted
I'm happy to announce that the PDF of Haskell, The Craft of Functional Programming (3rd edition) is available to view and download for free. Later in the year I'll revise it and make it available as an online text. But for now, here it is, uncorrected: simonjohnthompson.github.io/…
4
104
7
391
44,439
Koukou Roukou retweeted
Я ебал, день II
1
3
Replying to @papazaitsa
Я на бумажке начинал программировать и ничего, выучился
2
1
88
New release of Async Profiler 👏👏👏 @AndreiPangin
2
26
95
Были времена...
Гуляем по Твери, идём мимо книжного магазина. Саша поведал, как он в детстве пытался программировать, а интернета не было и когда происходил затык, он ходил в этот книжный магазин смотреть в книжку по программированию (на неё не было денег). Вот времена-то были
1
1
Koukou Roukou retweeted
24
239
21
2,978
Presto is the excellent example of clean code on Java. Nice to deal with it @prestosql
3