Ivan Buryak
793 posts

Ivan Buryak
@11bit
Frontend developer at https://t.co/hmMTmPRsI2 // Ночь темна и полна ежиков // https://t.co/Vei2hey7f8
Dushanbe เข้าร่วม Kasım 2011
314 กำลังติดตาม156 ผู้ติดตาม
Ivan Buryak รีทวีตแล้ว

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.
Playbook@playbook_hq
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"
English
Ivan Buryak รีทวีตแล้ว

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
English
Ivan Buryak รีทวีตแล้ว
Ivan Buryak รีทวีตแล้ว
Ivan Buryak รีทวีตแล้ว

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.


English

В этом году идем стабильно, 23 книги из них 16 аудио. Закончил с циклом романов Золя - 311 часов отличной литературы, x.com/AleksandrSl28/….
Про остальные, ниже
AleksandrSl@AleksandrSl28
В этом году либо книги больше, либо я не спешил и вышло 24 Из них 16 аудио (10 за авторством Эмиля Золя), из оставшихся 7 на английском В топе 2 книги и одна тетралогия
Русский

@11bit О, теперь знаю какой жанр в черный список отправить, спасибо 🌚
Русский

@AleksandrSl28 Ну snuff - это когда он уже испортился. Канонический непроченный пелевин - это до 2000 года
Русский
Ivan Buryak รีทวีตแล้ว

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.
English
Ivan Buryak รีทวีตแล้ว

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
English
Ivan Buryak รีทวีตแล้ว

🚨 I'm hiring backend devs (I mean, @evilmartians are hiring 👽):
evilmartians.com/careers/ruby-b…
tl;dr programming polyglots w/ Ruby in their blood; performance experts (databases!); open source addicts; "managers of one"; EN and RU speaking; remote worldwide*
English
Ivan Buryak รีทวีตแล้ว

@andrey_sitnik @Deymos888 У Грега Игана есть пара книг с «доброй» версией трансгуманизма. Советую коротенькую историю “glory” и, если зайдет, то “Diaspora”
Русский

@Deymos888 Если интересная эта тема, то читайте книги «Квантовый вор» и «Мы — Легион. Мы — Боб»
Русский










