Дмитрий Тусаев retweeted
Очень удобный бы календарь получился )
И тринадцатое всегда в пятницу!
Этот календарь называется International Fixed Calendar (IFC)
По сравнению с обычным календарем IFC намного проще:
– год разделен на 13 месяцев по 28 дней
– календарь каждый год выглядит одинаково
– в каждом месяце ровно четыре недели
– каждое число каждого месяца приходится на один и тот же день недели (например, тринадцатое — всегда пятница)
Говорят, что основатель Kodak Джордж Истман был поклонником IFC и использовал календарь для облегчения отчетности в Kodak: в каждом месяце было одинаковое количество дней (и выходных), что облегчало сравнение отчетов о прибылях и убытках за разные месяцы и годы
Дмитрий Тусаев retweeted
Replying to @YourAnonNews
Most nuanced political commentary coming from Anonymous — says something about the state of the world...
Дмитрий Тусаев retweeted
👀 “…the event of your death… coming later this year.” apple.com/macos/monterey/
Дмитрий Тусаев retweeted
Got a question in DMs: “How do I grow my JavaScript skills?”
My favorite trick:

ALT My favorite trick: try following a tool that you use every day (like e.g. Vue or Babel) on GitHub. Many issues and PRs have solid discussions about library internals, rare features, use cases you weren’t aware about, and so on. A few years ago, I tried following React and Redux repos like this – and this gave me a lot of deep knowledge I wouldn’t find anywhere else.
Дмитрий Тусаев retweeted
Wow! 😱
I just made this dot notation string type-safe with TypeScript 4.1
I wanted this for so long!
typescriptlang.org/play?ts=4…
Дмитрий Тусаев retweeted
Ok, just _one more_ TypeScript 4.1 experiment:
Reimplementation of document.querySelector() but this version parses complex CSS queries and infers the correct return type 🔥
Get the code: https://teapaw.org/t.co/Y8hdTdMorR
Дмитрий Тусаев retweeted
New in Firefox’s console
:block/:unblock commands for quickly blocking all network requests whose URLs contain a specific string
Дмитрий Тусаев retweeted
Amazing stuff coming to TypeScript 4.1🚀 Template string types will help us to create more expressive💃 and better typed code! See some examples below 🎉
github.com/microsoft/TypeScr…
Дмитрий Тусаев retweeted
When dealing with SMS validation code form, don't forget to add the autocomplete attribute with the value "one-time-code".
It allows iOS to autofill the input with the incoming SMS 📩
Дмитрий Тусаев retweeted
Судя по первой секции с Пичаем, сегодняшний допрос глав Facebook, Google, Apple и Amazon в Конгрессе — публичная порка. Председатель задаёт жёсткие вопросы на основе расследования их деятельности, обличает и критикует, а Пичай не отвечает по существу, и они идут дальше.
Дмитрий Тусаев retweeted
Письмо Джобса по поводу главного iOS-разработчика Facebook Джо Хьюитта, публично раскритиковавшего новый SDK в iOS и использование Objective-C: «Я бы предложил перекрыть Джо кислород».
Это был апрель 2010-го. Через год Хьюитт покинул Facebook
teapaw.org/housejudiciary/status/…
Дмитрий Тусаев retweeted
Small git tip that I feel like not everybody knows:
`git checkout -` will always checkout the previous branch you've been on
Дмитрий Тусаев retweeted
I have tried really really hard to change my ways. But. I love working from bed
Дмитрий Тусаев retweeted
Everything we call civilization was invented in the last 500 generations—way too short a time for our bodies and brains to re-optimize. We're a bunch of forest primates in a totally unnatural environment, trying our little best. Someone needs to give our species a hug.
Дмитрий Тусаев retweeted
Now you can right click on a node in Elements panel and capture the node screenshot! 📸
Like it? Freshly landed on Chrome Canary. Update and give it a try! 🔥
Дмитрий Тусаев retweeted
Replying to @auren
So, to be cynical - here is the answer. The only people who can afford to take very low salary are some combination of (a) no family to support (b) young & (c) already rich. So, what you have discovered is basically a corollary to this: thein.fo/73bf070950d68314
Дмитрий Тусаев retweeted
That's a fun one! When could this snippet log 💥?
if (foo == 1 && foo == 2 && foo == 3 && foo == 4) {
console.log('💥');
}































