Ivan Buryak retweeted
My colleague Yuri Mandrikov and I have developed a framework that enforces the design system for AI agents and prevents the slop from leaking into the codebase.
evilmartians.com/chronicles/…
Ivan Buryak retweeted
How to disable Shorts in the YouTube app:
youtube.com/watch?v=SjAQEkF6…
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"
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
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…
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.
Ivan Buryak retweeted
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.
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
Ivan Buryak retweeted
🚨 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*
Ivan Buryak retweeted
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.
Ivan Buryak retweeted
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/…
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.
Ivan Buryak retweeted
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.
Ivan Buryak retweeted
That’s why I love it though! The Swiss precision of category theory layered on the most Californian surfer dude of a runtime
Ivan Buryak retweeted
New blog post alert! I implemented Custom Mutators on the server for @zero__ms in Ruby on Rails. Then turned those learnings into a general purpose walk through anyone could follow for any language.
Ivan Buryak retweeted
TIL about setPointerCapture & releasePointerCapture Element methods.
developer.mozilla.org/en-US/…
Ivan Buryak retweeted
🚀 Zed v0.176 is out!
Today, we started inviting users from the Git beta waitlist to test the new integration in Zed. We'll continue adding more users from the waitlist daily.
zed.dev/git
Ivan Buryak retweeted
Про пневмонию
Я не врач, но хочу рассказать вам важную вещь, усвоенную на личном опыте.
Если после начала антибиотика при пневмонии через 24-48 (в крайнем случае 72 часа) больному — вам или вашему близкому — не стало существенно лучше, надо менять антибиотик. Я бы просто через сутки начинал записываться на прием/вызывать врача, пока увидитесь, станет совсем понятно, помогает ли.
Дело в том, что часто первый антибиотик не помогает, но врачи забывают про это сказать и больной тупит неделю, думая, что, ну, он же лечится.
У нас в семье раза четыре такое было, первые два я и жена чуть не померли, зато потом уже на горьком опыте научились, и с дочерью, и с женой во второй раз действовали быстрее.
А если неделю тупить, то можно и кони двинуть: пневмония во многих странах является ведущей причиной смерти от инфекционных заболеваний.
Чтобы вы не верили просто рандомному челу из интернетов, вот исследование medicalnewstoday.com/mnt/rel…, которое показывает, что антибиотикотерапия первой линии неэффективна в 22% случаев. Бета-лактамы оказывались неэффективными в 25,7% случаях, макролиды — в 22,9%, тетрациклины — в 22,5% и фторхинолоны — в 20,8%.
А в этом, менее широком исследовании, процент доходит до 30%: risksafety.ru/jour/article/v…
Своевременная коррекция схемы не панацея, но позволяет достичь положительной динамики в большом проценте случаев.
P.S. Это всё было до ковида, про ковидную пневмонию мнения не имею.




























