Ivan Buryak (@11bit) profile picture

Frontend developer at https://xitter.gq/t.co/hmMTmPRsI2 // Ночь темна и полна ежиков // https://xitter.gq/t.co/Vei2hey7f8

Dushanbe
Joined November 2011
Photo by Ivan Buryak (@11bit)Photo by Ivan Buryak (@11bit)Photo by Ivan Buryak (@11bit)Photo by Ivan Buryak (@11bit)Photo by Ivan Buryak (@11bit)Photo by Ivan Buryak (@11bit)Photo by Ivan Buryak (@11bit)Photo by Ivan Buryak (@11bit)Photo by Ivan Buryak (@11bit)Photo by Ivan Buryak (@11bit)
Found a pretty cool way to learn a new programming language: vibe-code something, review the code, and ask about any unfamiliar constructs
10
680
Ivan Buryak retweeted
A year and a half in the making. Tried it too early, shelved it, never stopped experimenting. Today it's real. Just ask your files what you need -- they'll listen.
Today, we're launching Playbook Intelligence 🔮 10 days of design iterations, 10 weeks of campaign work, and 10 years of brand, taste, and direction. All captured in a single conversation. → "Find all files related to this client and prep a share" → "Clean up my intakes folder" →"Crop all assets, remove background, and add a watermark"
2
8
312
Ivan Buryak retweeted
My dear front-end developers (and anyone who’s interested in the future of interfaces): I have crawled through depths of hell to bring you, for the foreseeable years, one of the more important foundational pieces of UI engineering (if not in implementation then certainly at least in concept): Fast, accurate and comprehensive userland text measurement algorithm in pure TypeScript, usable for laying out entire web pages without CSS, bypassing DOM measurements and reflow
1,304
7,974
2,664
64,287
24,610,269
Ivan Buryak retweeted
releasing a fun little library today, on-zero it makes @zero__ms feel more like Rails
5
4
1
43
9,640
Ivan Buryak retweeted
If profiling feels useless in complex apps (systems), maybe that’s not because nothing can be done. But because we’re still looking from the wrong perspective. medium.com/@rdvornov/why-pro…
3
5
616
Ivan Buryak retweeted
That comes from a lack of an underlying system beneath the UI. When designing the UI for @httpie, we built a whole system that dictates which items and icons should appear in a given context for a particular entity.
1
2
7
726
Here's something interesting about cache eviction - instead of tracking the exact LRU (Least Recently Used) item, we can just pick two random items and evict the older one. This is called "2-random," and it works surprisingly well. The idea is simple. When we need to evict something from our cache, randomly sample two keys, compare their last access times, and evict the one that was accessed longer ago. That's it. Why not just track true LRU? because, maintaining a perfect LRU requires extra memory and CPU overhead. We need a doubly linked list with pointers for every cache entry, plus the cost of updating it on every access. Btw, picking two keys at random and evicting the least recently used of the two becomes virtually indistinguishable from true LRU. It works because it avoids the worst random choices (by picking the better of two) while retaining enough randomness. 2-random also degrades gracefully when your working set exceeds the cache size. True LRU can cause near-100% cache misses when looping over data larger than the cache. Random eviction handles this better, and 2-random gives you the best of both worlds. Many in-memory databases are full of such "good enough" approximations. Dig deeper when you find time. It's fun.
41
98
13
1,408
82,130
Ivan Buryak retweeted
Fix the News published 38 editions of their newsletter this year, "featuring 1,932 stories from 170 countries, and what we found was that while the headlines kept insisting on collapse, the data ... kept showing stubborn progress." buff.ly/2Jeoldi #ShareGoodNewsToo
1
10
3,135
🚨 I'm hiring backend devs (I mean, @evilmartians are hiring 👽): evilmartians.com/careers/rub… tl;dr programming polyglots w/ Ruby in their blood; performance experts (databases!); open source addicts; "managers of one"; EN and RU speaking; remote worldwide*
4
24
6
78
26,052
I love stories about products that didn’t find market fit right away but became iconic later. When the Roland 808 drum machine was released, mainstream musicians didn’t appreciate its “ugly” synthetic sound, and the company didn’t make any money from it.
1
1
7
236
You never know what you will find in css nowadays. There will soon be a way to style and animate the caret drafts.csswg.org/css-ui/#the… caret-shape is experimental in 140 chrome (and 124 opera 🤔). developer.mozilla.org/en-US/…
1
3
7
1,196
Still can't believe that we (not me but Evil Martians) do our own ruby conference sfruby.com/! I just learned some details, and it's so cool. A crazy amount of work and attention from the guys
2
9
894
Ivan Buryak retweeted
Multiple times per day now I have the feeling of "I cannot believe how amazing Claude is". But it doesn't make me feel *worried* for my job, it makes me feel *enabled*. I cannot believe how fast I can move now. And it's not in the places you expect. Claude doesn't make me *much* faster on the work that I am an expert on. Maybe 15-20% depending on the day. It's the work that I don't know how to do and would have to research. Or the grunge work I don't even want to do. On this it is hard to even put a number on. Many of the projects I do with Claude day to day I just wouldn't have done at all pre-Claude. Infinity% improvement in productivity on those.
35
37
9
497
126,075
The ability to offload grunt work to AI is the biggest improvement in my workflow. For example, with ‘git worktree’ it is very easy to let Claude fix all the little typescript errors after main implementation is done while I am doing something else
A lot of people say AI will make us all "managers" or "editors"...but I think this is a dangerously incomplete view! Personally, I'm trying to code like a surgeon. A surgeon isn't a manager, they do the actual work! But their skills and time are highly leveraged with a support team that handles prep, secondary tasks, admin. The surgeon focuses on the important stuff they are uniquely good at. My current goal with AI coding tools is to spend ~100% of my time doing stuff that matters. (As a UI prototyper, that mostly means tinkering with design concepts.) It turns out there are a LOT of secondary tasks which AI agents are now good enough to help out with. Some things I'm finding useful to hand off these days: - Before attempting a big task, write a guide to relevant areas of the codebase - Spike out an attempt at a big change. Often I won't use the result but I'll review it as a sketch of where to go - Fix typescript errors or bugs which have a clear specification - Write documentation about what I'm building I often find it useful to run these secondary tasks async in the background -- while I'm eating lunch, or even literally overnight! When I sit down for a work session, I want to feel like a surgeon walking into a prepped operating room. Everything is ready for me to do what I'm good at. --- Notably, there is a HUGE difference between how I use AI for secondary vs primary tasks. For the core design prototyping work, I still do a lot of coding by hand, and when I do use AI, I'm more careful and in the details. I need fast feedback loops and good visibility. (eg, I like Cursor tab-complete here) Whereas for secondary tasks, I'm much much looser with it, happy to let an agent churn for hours in the background. The ability to get the job done eventually is the most important thing; speed and visibility matter less. Claude Code has been my go-to for long unsupervised sessions but Codex CLI is becoming a strong contender there too, possibly my new favorite. These are *very* different work patterns! Reminds me of @karpathy's "autonomy slider" concept. It's dangerous to conflate different parts of the autonomy spectrum -- the tools and mindset that are needed vary quite a lot. --- The "software surgeon" concept is a very old idea -- Fred Brooks attributes it to Harlan Mills in his 1975 classic "The Mythical Man-Month". He talks about a "chief programmer" who is supported by various staff including a "copilot" and various administrators. OK, so there is a super obvious angle here, that "AI has now made this approach economically viable where it wasn't before", yes yes... But I am also noticing a more subtle thing at play, something to do with status hierarchies. A lot of the "secondary" tasks are "grunt work", not the most intellectually fulfilling or creative part of the work. I have a strong preference for teams where everyone shares the grunt work; I hate the idea of giving all the grunt work to some lower-status members of the team. Yes, junior members will often have more grunt work, but they should also be given many interesting tasks to help them grow. With AI this concern completely disappears! Now I can happily delegate pure grunt work. And the 24/7 availability is a big deal. I would never call a human intern at 11pm and tell them to have a research report on some code ready by 7am... but here I am, commanding my agent to do just that! --- Finally I'll mention a couple thoughts on how this approach to work intersects with my employer, @NotionHQ First, as an employee, I find it incredibly valuable right now to work at a place that is bullish on AI coding tools. Having support for heavy use of AI coding tools, and a codebase that's well setup for it, is enabling serious productivity gains for me -- *especially* as a newcomer to a big codebase. Secondly, as a product -- in a sense I would say we are trying to bring this way of working to a broader group of knowledge workers beyond programmers. When I think about how that will play out, I like the mental model of enabling everyone to "work like a surgeon". The goal isn't to delegate your core work, it's to identify and delegate the secondary grunt work tasks, so you can focus on the main thing that matters.
4
3
1,687
This. And how process is replacing the vision. Everyone thinks that if you’re gonna follow some 🌈magic framework🌈 it will help you build an amazing product, you’re gonna figure it out in the process. Nope. Vision first, process doesn’t matter.
This book articulates something I’ve fought for my whole career: goals and team metrics lead to mediocre outcomes. Actually novel work must be exploratory.
1
5
301