Andrei Markeev (@amarkeev) header
Andrei Markeev (@amarkeev) profile picture

Principal full-stack engineer, architect, opensource author, doer. High volume systems, scalability, AI engineering.

Helsinki, Finland
Joined April 2011
Photo by Andrei Markeev (@amarkeev)Photo by Andrei Markeev (@amarkeev)Photo by Andrei Markeev (@amarkeev)Photo by Andrei Markeev (@amarkeev)Photo by Andrei Markeev (@amarkeev)Photo by Andrei Markeev (@amarkeev)Photo by Andrei Markeev (@amarkeev)Photo by Andrei Markeev (@amarkeev)Photo by Andrei Markeev (@amarkeev)Photo by Andrei Markeev (@amarkeev)
Did you know you can make your serialisation type-safe in #typescript? Enjoy 😏
1
237
a cool new adventure starts here! 😎 trying to revive my old Nokia Lumia - honestly, what a wonderful device, still love it. and now hopefully will make it more useful.
146
fine tuning on a 2017 laptop without GPU. batch_size=1. fans at 100% ETA: 2031 😅
1
172
Andrei Markeev retweeted
We release Needle 2: A 14MB agentic LLM for phones, wearables, smart home, robots and microcontroller. The whole model is a single 14MB binary that runs a full session in 28MB of RAM. It is built on our Simple Attention Network findings, compressed to CQ2-bit with Cactus Quants, and baked into its own engine. Needle 2 has 45m parameters trained from the ground up on 140B tool call, device use structured generation tokens. On mobile device use benchmarks, Needle 2 trades wins with frontier small LLMs like LFM2.5 230M, Apple FM Gemma-270m, at 5× to 70× smaller, and 2 bits against their f16. Needle hits 500 tokens/sec decode speed on a Raspberry Pi 5, between 400–1,500 tokens/sec on VR devices like Meta Quest 3S and Apple Vision Pro, and ranges 300–700 on sub-$200 phones such as the Samsung A-Series. Needle also runs on newer microcontrollers like ESP32. A conventional transformer of Needle's width and depth spends 164 MFLOPs per token, and even one squeezed down to Needle's parameter count spends 87, Needle spends 70. Even on a high-end phone, an always-on assistant lives inside a power budget; every MFLOP is milliwatt-hours, and Needle spends 7x to 85x fewer of them per token than the smallest performant LLMs. Read more: cactuscompute.com/needle
100
243
61
2,411
294,960
TIL that part of Golang syntax was inspired by Niklaus Wirth’s work on Oberon, e.g. PROCEDURE (self: Circle) Scale*(factor: REAL); BEGIN self.radius := self.radius * factor; END Scale; also the whole idea of records (structs) instead of classes, and so on interesting!
109
Random idea: using ZIP format as a file system. We can treat the whole disk / partition as a ZIP file with empty spaces. You would say, if there are millions of files, how do you show folder contents? Answer: a separate index file. But other than this, all matches! 🤓
179
faced an interesting situation: had to restart journald to change some settings, which triggered (code=killed, signal=PIPE) for all Golang services on this VM. they were configured to "Restart: on-failure" so they never restarted since SIGPIPE is not considered a failure 🤦‍♂️
44
we live in amazing world I built a simple game for my son he kept coming to me for new features, with the energy of a nine years. it was impossible to keep up so I built a small app where he could say what he wants, and then AI builds it, redeploys the game, voila!
1
1
89
And he has a ton of fun. He already made >20 new levels. Every level has its own unique mechanics, enemy types, etc. There are 2 mini-games inside, one is 3D basketball and one is car racing. He added achievement system, game shop, cheat codes, etc.
1
56
This is actually insane but I think this is the future. Instead of 1 product and 5 devs in a team, the chances are we will have 2-3 products and 1 dev, and the dev will be building and maintaining AI pipeline and maybe fixing complex issues / helping with big features.
1
20
Interesting: there's one service in my codebase where AI (both Gemini 3 Flash and Claude Opus 4.6) feels utterly confused every time. The service calculates stats based on audit log. This seems to be one of the gaps where AI is currently not very good.
1
90
one problem people face when using nginx as load balancer is how to pass real client IP address to the backend servers nginx supports ip transparency but network setup is complex simpler way: use proxy_protocol between load balancer nginx and backend nginx!
1
91
not sure how much longer I am going to stay on Azure. there was a perfectly working free/cheap feature - now it is either working much worse or discontinued. happened with several features already, which makes me think it gonna happen with the rest as well…
57
Big day, ts2c 3.0.0 is published after 7 months of development! 🎉 Main changes: - moved to use a much faster parser 💨 - multiple .c and .h files can be emited ✨ - a lot of smaller improvements and bugfixes 🛠️ github.com/andrei-markeev/ts…
1
72
Currently at work: new language, new platform, conceptually new database technology. Big rewrite project. Fun times 😁
47
A really interesting incident report regarding the Thursday’s Google Cloud outage status.cloud.google.com/inci…
69
Good read about #nodejs timeouts, very important to get them right to prevent resource exhaustion atatus.com/blog/node-js-time…
55