Вопрос папищекам, у которых есть свои каналы в Telegram. Каких ботов вы используете для бана удалённых аккаунтов на канале? Руками не очень полезно, потому что интерфейс показывает только 200 последних присоединившихся пользователей
#prog #js #typescript
Banditypes — the mighty 400-byte validator
Check if data conforms to a TS type at runtime — much like zod, yup or superstruct, but in a tiny 400-byte package. Despite the small size, it's not a toy:
Passes the relevant superstruct test suite.
Rich built-in types: maps, sets, tuples, literals, and generic union types.
Mostly API-compatible with the established libraries.
Supports both deriving TS types from schema and declaring a schema for an existing TS type.
User-defined types, refinements, and conversions.
Decent performance — among the top libraries not using code generation.
Banditypes — the mighty 400-byte validator
Check if data conforms to a TS type at runtime — much like zod, yup or superstruct, but in a tiny 400-byte package. Despite the small size, it's not a toy:
Passes the relevant superstruct test suite.
Rich built-in types: maps, sets, tuples, literals, and generic union types.
Mostly API-compatible with the established libraries.
Supports both deriving TS types from schema and declaring a schema for an existing TS type.
User-defined types, refinements, and conversions.
Decent performance — among the top libraries not using code generation.
GitHub
GitHub - thoughtspile/banditypes: 🤠🧨 The mighty 400-byte schema validator for TS / JS
🤠🧨 The mighty 400-byte schema validator for TS / JS - thoughtspile/banditypes
🔥2❤1🌚1
Forwarded from AlexTCH
https://nicholas.carlini.com/writing/2023/little-bobby-endoftext.html
Не так феерично, как SolidGoldMagicarp, но всё равно забавно.
Не так феерично, как SolidGoldMagicarp, но всё равно забавно.
Carlini
Little Bobby <|endoftext|>
TODO
Forwarded from std::chrono::steady_clock::now().time_since_epoch().count() 🏳️🌈🏳️⚧️ (yuki 🌸 malinova-sireneva)
🤯16👌4🫡3🤷1
Блог*
🤨
Так как телега использует гугловский переводчик, там проблема воспроизводится. Проверил — без эмодзи правильно переводит "з української" как "с украинского", а вот если добавить эмодзи в начале или в конце — украинский непонятным образом превращается в русский
😁5🤔5🤨2🫡2😐1🤝1