Blog
Decisions and war stories
Short notes on problems I hit and how I solved them. More notes in Russian on my Telegram channel Kindexation.
2026
- 01AI · essay Code is no longer the bottleneck AI writes good code now, and it carries out a task brilliantly. But it doesn't yet know which tasks should be set in the first place: Open Graph, performance tests, translation checks, security. That is what I cover from above as a CTO, and AI does the rest. 2026
- 02AI · TaleCheck How I started building TaleCheck Ten years into writing a book, I couldn't find an editor or beta readers — so I asked Claude to play bad cop. That grew into a linter for prose. 2026
- 03security · web3 The keys were safe. The money left anyway After the Binance hack, where nobody stole the keys and the money left anyway: why neither encryption, nor KMS, nor an isolated server saves you from a “send” command, where that ends up (a smart contract or a quorum of people), and where models help for the first time. 2026
- 04AI · TaleCheck I built my own AI agent The advisor in TaleCheck: a zoo of models under the hood, and everything that turns them into an agent — context, memory, edits in the margin — built by hand. 2026
-
I built my own Minecraft — and learned why Minecraft is built the way it is Antica, this year's voxel game: a day spent on the gap at the water surface, then lighting, chunks, villages and regions — and the conclusion that you can't do much better than Minecraft here. 2026
2024
2022
- 01data · crawling Pollen over Europe for a month: a crawler that saved the forecast for every hour The SILAM model only shows today's pollen forecast. I wanted to see how it moves over a long stretch — so I wrote a crawler that saved the map for every hour and stitched the maps into a video. 2022
-
A roach that gets tired: modelling race biology ATP, oxygen and lactate instead of a speed stat — and an admin simulator to balance it. 2022
2019
-
Game balance when you can't patch the items In a blockchain game, released assets are permanent. Our first season flooded the economy — and fixing it took a new mechanic, not a patch. 2019 -
Three DDoS attacks, one $200 ransom note — and why we paid Cloudflare instead Blockchain Cuties was attacked in June 2019, blackmailed in September and hit again in 2020. We never paid; each time the defence got stronger. 2019
2018
- 01debugging · databases Debugging production at 130 km/h Production broke, the team was stuck, and I was in a car crossing Poland. A laptop, a tunnel through my office PC — and a query that ran far too many times. 2018
-
Splitting a game between the chain and the server: signatures, a watermark and plugins How Blockchain Cuties kept NFTs on-chain and everything else off-chain — with one-time signatures, a “minimum sign ID” that kept contract storage flat, and plugins instead of proxy upgrades. 2018
2017
2016
2015
-
Hiring juniors through a meetup and an office tour How a game-dev college group became a hiring pipeline for our content team. 2015 -
Tuning match-3 difficulty with one number: win rate A sawtooth difficulty curve, win rate as its unit, and production data that told us the right number of moves for every level — without another playtest. 2015 - 03team · process An onboarding checklist where every line has an owner Two new hires with the same name on the same day — and the checklist that made onboarding boring, in a good way. 2015
2014
-
A level editor you paint with — and an argument about “feeling” the game Turning a store-bought prefab into a palette-based match-3 editor with a Play button, and why a designer doesn't need final art to make a playable level. 2014 -
One engine, many games: how a small studio shipped 160+ titles Seven genre engines, one shared core, and a new game in two weeks. 2014 -
The $100 asset that we rewrote completely — and that paid off A match-3 template from the Unity Asset Store, a full rewrite, and a game that outperformed our flagship at a fraction of its cost. 2014 -
Satisfaction: a roach game in 25 hours A small Unity contract: squash roaches on a phone screen, don't touch the black ones and don't let the glass crack. Every task a row in a sheet with an estimate and the time spent. 2014
2013
-
BotWars: letting the game test itself overnight A test scene where bots spawned and killed each other all night — and the bugs no human tester would ever catch. 2013 - 02games · tooling Designer-first configs: a month that turned a tester into a level designer Rebuilding Steam Defense's configs for the game designer, with scenarios as real code. 2013
-
The GG button: everyone on main, and a button that screams A physical button that yelled when someone broke the build — and what trunk-based development cost and gave a small team. 2013 - 04games · git Who keeps reverting my commits: the game designer who clicked “No” My changes to the Steam Defense configs kept disappearing. The game designer was reverting them without knowing it, with one button in a reload dialog. 2013
-
Measure first: making Steam Defense run on an iPhone Frame rate on iPhones was the worst. The fix wasn't in the game logic but in shaders, transparency — and a grenade icon stored in Full HD. 2013 -
An engine built for a mechanic nobody needed Steam Defense's engine was built around branching paths before the game design was settled. The players never used them; the graph stayed in the core and taxed everything. 2013 - 07games · product Shut up and write down the criticism Independent testers tore our tutorial apart. We stopped defending it and rebuilt it. 2013
2012–2017
2011–2021
2011
2010–2025
2010
2009
- 01debugging · C++ Three lines that computed the wrong answer: a bug in the compiler A program gave a mathematically wrong result. We cut it down to three or four lines, disassembled it — and found the bug not in our code but in Visual C++. 2009
- 02graphics · experiments A 3D monitor without glasses: a camera that follows your eyes Not VR yet: a webcam on the monitor tracks your head and the picture is redrawn for where you look — so you can peer into the screen like a window. 2009
- 03security · cryptography Keys were generated only in pairs: one types the command, the other presses Enter When I worked in cryptography, keys for clients were generated with no magic at all, just by the generally accepted practices with no exceptions: computers cut off from the internet, encrypted disks, a password in two halves, one person types the command, the other presses Enter, and both sign under every step. 2009
2008
2006–2008
2006
2005
2004–2007
2004–2005
-
Mainframe assembler: eight minutes, a locked door and marks that multiply In my third year we were taught IBM mainframe assembler, because the programmers who wrote it were retiring. Eight-minute tests behind a locked door and a grading system where every retake multiplied your score. 2004–2005 - 02teaching · algorithms Reference solutions instead of tests: the algorithms course in our third year In our first year two very different audiences came to the university: olympiad people who programmed better than the teachers, and those seeing begin and end for the first time. Then in the third year one teacher let us off the tests and asked us instead to write reference solutions for automatic checking. 2004–2005
2004
- 01AI · experiments The neural network that mixed up digits: it answered with a file number In 2004, for a university course, I wrote a multilayer perceptron in C++ that recognised digits drawn with crosses. I draw a five, it says “four”. The teacher gave me top marks, and the next day I realised the network had been working correctly all along. 2004
- 02sysadmin · teaching 15 computers overnight: hard disks instead of Norton Ghost We had to clone one machine onto 15, and Ghost over the network was too slow. So we swapped hard disks by hand, and at 9 a.m. on the first day of the semester we were still at it. 2004
- 03hiring · Java The Exigen course: Java from a generator and an interview where I didn't get the job Two months on Exigen's “Java and Web Programming” course: a database model in a pseudo-language that generates Java code. Then an interview that cared more about my English than about how I program. 2004
- 04ML · languages A language a week: why ML was my favourite At university we had a course where every week we covered a new programming language and wrote homework in it. The cleanest turned out to be ML: functions, types and pattern matching, no input/output and no hacks. Later Solidity gave me the same feeling. 2004
2003–2004
2003
2002–2008
2002
-
“Best algorithm ever”: binary search and an IOI gold My coach kept insisting one algorithm was the best of all. At IOI 2002 one task needed it again and again — along one axis, then the other — and it gave me 100 points. 2002 -
Baltic Olympiad 2002: problems in the Lithuanian parliament Vilnius, April 2002: an olympiad inside the Lithuanian parliament, a metal detector at the door, a broken grader on day one, cards in the Seimas — and my bronze. Based on the report my teammate wrote at the time. 2002 - 03olympiad · algorithms The bracket problem: why I always finished the practice tasks At the 2002 Latvian olympiad I was the only one to score 100 on two problems. We had worked through almost the same one in training, and I was the only one who had taken it to the end. 2002
- 04olympiad · algorithms A 65-point stub: how I won IOI gold without solving the problem At IOI 2002 I never came up with a solution to the bus-terminals problem, so I wrote a stub just to score something. It got 65 points, and, it seems, the gold. 2002
-
Nobody took me to olympiads, then I won IOI gold From sneaking into the school computer room to 18th place at the International Olympiad in Informatics, after a spring of solving past olympiads at home. 2002 -
IOI 2002 from the inside: an Ilyushin to Seoul, a hundred dollars and “Congratulations on what?” How I flew to the International Olympiad in Informatics in Korea: my first big plane, knocking on the doors the night before the contest, a hundred dollars from my coach, frogs in n³ and a ceremony where I didn't believe in a medal until the very end. 2002 - 07teaching · team Problem first, then the tool: how I taught programming First lesson: 60 minutes of material in 40. Then a method, a show of hands to check understanding, and night-time LAN parties where olympiad kids, students, teachers and musicians met. 2002
-
The Golden Pen of the Riga City Council: the best 14 subjects The rule was “120 points across 14 subjects plus olympiads”. I added up my school report and found something in the rules nobody had noticed. And the pen meant for your most important teacher did not go to the school. 2002 - 09origins · teaching Entrance tests and a railway wagon in Skanste I volunteered at the entrance selection for programming courses. We carried the test results on foot through Skanste, picked apples, pushed a railway wagon by hand — and disappeared for a couple of hours. 2002
2001
-
Doom RF: a birthday present that took two weeks — and a year A 4-player hot-seat deathmatch in Pascal, a bank-switching trick to beat the 64 KB video window, and the reason I like starting projects on February 28. 2001 -
The teacher who couldn't close my game The teacher pushes me off the computer and can't quit the game: neither Escape nor Ctrl+Alt+Del works. My friend and I had simply swapped the keyboards. 2001
2000–2002
2000
- 01origins · olympiad How I got into Progmeistars: the list that lied A friend told me I wasn't on the list. A week later they called to ask why I hadn't come to the second round. Then came for instead of while, the fifth semester instead of the second, and the “elite” olympiad group. 2000
-
Space War 2K: one engine, three games — in the year 2000 A single executable that became a space shooter, a top-down tank game or a Worms clone depending on the folder you pointed it at — and a video player written in Pascal. 2000
1999
1998–2002
- 01origins A stack of floppies and a hard disk under your arm How we passed games and films to each other: first on floppies, in archives cut exactly to the size of a disk, then on hard disks carried round to a friend's place. And how Half-Life left a whole computer class speechless. 1998–2002
-
School computer science: the recycle bin, dot folders and the sixteenth computer A “Windows” exam where a deleted file had to be restored through the recycle bin and nothing else, games hidden in dot folders, and a team olympiad in Ugāle that gave the school its sixteenth computer. 1998–2002 - 03origins Stirting MS-DOS: my computer pranks A mouse that moves one pixel every ten seconds, “Stirting MS-DOS” at boot, and a Windows that tells you right after power-on that you can switch the computer off. 1998–2002