Вторая глава той WIP книжки. Глубоко погружаются в пучину безумия color spaces. Красиво и интересно, но сложно и мало кому на самом деле нужно :)
#color #ui
#color #ui
🔥5❤1
Подвернулся интересный вопрос на StackExchange: почему сообщения времен второй мировой содержали приписку «This telegram must be closely paraphrased before being communicated to anyone»?
#cryptography #encryption
#cryptography #encryption
History Stack Exchange
"This telegram must be closely paraphrased before being communicated to anyone." Why?
Some historical documents from WWII have a notice on them stating
This telegram must be closely paraphrased before being communicated to anyone.
The documents I've seen were received by the United
This telegram must be closely paraphrased before being communicated to anyone.
The documents I've seen were received by the United
❤4👍2
Разбирают, как так получилось, что asyncio с нами в python уже 10 лет, а его до сих пор неохотно используют. Причин масса. И ущербность языка и рантайма, и разработчики, которым «сложно думать асинхронно», и сложности поддержки sync и async API в одной и той же библиотеке. В целом хорошо характеризует средний уровень этой экосистемы.
#python #async
#python #async
tonybaloney.github.io
Python has had async for 10 years -- why isn't it more popular?
A deep-dive into the challenges and misconceptions surrounding async programming in Python
❤2
Эссе с размышлениями на тему: «Do the simplest thing that could possibly work». Рассуждают по сути о том, когда можно делать просто, а не правильно и масштабируемо, и почему это может быть хорошо.
#code #programming #async
#code #programming #async
Seangoedecke
Do the simplest thing that could possibly work
When designing software systems, do the simplest thing that could possibly work. It’s surprising how far you can take this piece of advice. I genuinely think…
💯2
Вот вроде бы и прикольный пост, а вроде бы и странный. Сначала чел намазывает, какие Unix pipes чудесные: изоляция, композиция, асинхронность, универсальные стандартные потоки для данных. Потом говорит, что это уже устарело, так уже не носят: всё линейно и очень ограничено. Настоящим пацанам хочется и структурированных данных (кстати, в Windows в PowerShell вроде что-то такое наплодили? Типа объекты на выходе CLI программ?), и всяких fan-in/fan-out, и чтобы все это с очередями и GC. Я с ужасом представляю себе баш скрипт со всем этим добром. И искренне не понимаю, что же они там такое в баше делают, что им это все потребовалось.
#unix #shell #cli
#unix #shell #cli
Substack
What UNIX Pipelines Got Right (And How We Can Do Better)
2025-08-30
🤣4🥰1
Emacs невероятно крут и бесконечно гибок, но в то же время за годы оброс удивительными проблемами, которые не так-то просто решить. Поэтому многим приходит в голову шальная мысль Emacs переписать. Но ведь хочется весь Elisp API сохранить, чтобы существующие пакеты работали. И тут начинается: кастомные мутабельные строки, которые поддерживают диапазон символов шире, чем большинство ЯП, своя особая система регулярок, таблицы для самых разных вещей, каждую из которых юзер может менять, и т.д.
#emacs #editor
#emacs #editor
Kyou is kyou is kyou is kyou
Why Rewriting Emacs Is Hard
There have been quite a few attempts to re-implement (part of) Emacs'
functionalities in languages other than C, like JEmacs, remacs, and lem. And we
are seeing new efforts in EmacsConf 2024: rune 1, schemacs 2,
and the revived Guilemacs 3. (Strictly speaking…
functionalities in languages other than C, like JEmacs, remacs, and lem. And we
are seeing new efforts in EmacsConf 2024: rune 1, schemacs 2,
and the revived Guilemacs 3. (Strictly speaking…
❤1🔥1
Сравнивают Docker с Podman и всячески нахваливают второго: rootless, pods, systemd service / k8s YAML generation, и т.д.
#docker #podman
#docker #podman
CodeSmash
Switching from Docker to Podman
Podman offers better security, uses fewer resources, and integrates seamlessly with Linux and Kubernetes, making it a superior Docker alternative
🔥3❤2👍1
Брайан Керниган про историю Unix. Если не из первых, то из вторых рук, так сказать. Кайф, и секция с вопросами в конце хорошая.
#talk #history #unix
#talk #history #unix
YouTube
VCF East: UNIX: A History and a Memoir by Brian Kernighan
Brian Kernighan talks about the history of UNIX and promotes his 2019 book.
#vcfeast
#vcfeast
❤1👍1🔥1
URL-shortener, но только ссылки в результате выглядят как жёсткое порево!
- Вот ссылка на
- А вот на одну страничку в вики:
Кайф же, ну?) Там всё чисто, честное слово!
#url #internet #humor
- Вот ссылка на
goo.gl: https://cam-xxx.live/phishing/adware_module.exe?endpoint=flood&id=a67b&user=impersonate- А вот на одну страничку в вики:
https://cheap-bitcoin.online/scanner-controller/adware_dropper_tool.exe?id=9d87&noscript=overwrite&useragent=trackКайф же, ну?) Там всё чисто, честное слово!
#url #internet #humor
🔥14😁8
Просто смешная пачка фактов о Jeff Dean (AI-боярин в Google). Так и не понял, почему этот "Чак Норрис от мира гугл" мем образовался, но смешно.
During his own Google interview, Jeff Dean was asked the implications if P=NP were true. He said, "P = 0 or N = 1". Then, before the interviewer had even finished laughing, Jeff examined Google's public certificate and wrote the private key on the whiteboard.
The rate at which Jeff Dean produces code jumped by a factor of 40 in late 2000 when he upgraded his keyboard to USB 2.0.
Unsatisfied with constant time, Jeff Dean created the world's first O(1/N) algorithm.
#google #humor #ai
During his own Google interview, Jeff Dean was asked the implications if P=NP were true. He said, "P = 0 or N = 1". Then, before the interviewer had even finished laughing, Jeff examined Google's public certificate and wrote the private key on the whiteboard.
The rate at which Jeff Dean produces code jumped by a factor of 40 in late 2000 when he upgraded his keyboard to USB 2.0.
Unsatisfied with constant time, Jeff Dean created the world's first O(1/N) algorithm.
#google #humor #ai
😁13🗿1
Тут описывают, почему SQLite - вполне себе хороший и даже правильный выбор для многих веб-приложений / серверов. Разбирают плюсы и минусы. Рассказывают, чего можно ожидать.
#sqlite #db
#sqlite #db
👍6
Интересный доклад от мэйнтейнера HTMX. Выкладывает свои мысли и идеи о том, как писать веб-приложения, которые могут жить десятилетиями, не требуя особой поддержки. Удивительным образом мы оказались в мире, в котором самая первая веб страница всё ещё работает везде и доступна каждому, а нативные мобильные и десктоп приложения перестают работать очень быстро и постоянно чего-то требуют.
#talk #web #browser
#talk #web #browser
🔥4😁2
Интересный документ попался.
self-reliant programmer manifesto.
Немного спорный, но интересный.
#rant #programming
self-reliant programmer manifesto.
Немного спорный, но интересный.
#rant #programming
❤4🥱1
О том, как желание заставить пробел нажиматься идеально ровно переросло во вполне себе приличный бизнес по сборке сумасшедших клавиатур за много денег и с вэйтлистом в 69 месяцев.
#talk #keyboard #hardware
#talk #keyboard #hardware
YouTube
Fixing the Biggest Problem With Mechanical Keyboards
Adam recently met Ryan Norbauer, a designer and propmaker who is obsessed with mechanical computer keyboards. He has spent the past five years building what he considers the perfect mechanical keyboard: a beautiful and precisely crafted keyboard called the…
💊3❤🔥1
Очень интересный доклад, где и про историю науки, и про то, как она отражается в коде астрономической библиотечки, и про дизайн API этой самой библиотеки.
#talk #python #history
#talk #python #history
YouTube
The History of a Science Hidden in Astronomy Code - Brandon Rhodes - code::dive 2023
The History of a Science Hidden in Astronomy Code
For thousands of years, humans struggled to understand the paths that the planets take across the night sky. As our instruments improved, our theories were forced to adapt — producing the high-precision computations…
For thousands of years, humans struggled to understand the paths that the planets take across the night sky. As our instruments improved, our theories were forced to adapt — producing the high-precision computations…
🔥1
Один из разработчиков KDE рассказывает, как работать с негативным фидбеком. Но на самом деле рассказывает, через какое дерьмо проходят бесплатные мэйнтейнеры FOSS.
#talk #feedback #oss
#talk #feedback #oss
YouTube
Handling Negative Feedback - Akseli Lahtinen
In this talk I would go over various negative and positive feedback I've gotten during my time of being KDE contributor.
Notable examples are window outlines, rounder corners to items and KUrlNavigator changes.
I've gotten both "hatemail" and seen "redditors"…
Notable examples are window outlines, rounder corners to items and KUrlNavigator changes.
I've gotten both "hatemail" and seen "redditors"…
😢3❤1
Тут вот интересная драма развернулась. Чел, опоздав в merge window, прислал в Linux Kernel патч вокруг RISC-V. В этом патче в какой-то общий (non-RISC-V-specific) header просочился helper
#linux #kernel
make_u32_from_two_u16. На что Линус стриггерился и проехался катком по бедному пареньку: мол, не надо нам этого вообще, напиши явно inline. Проблема в том, что если писать inline, легко допустить неприятных ошибок. Вот тут разбирают подробнее. Я затрудняюсь выбрать сторону, и там, и там валидные аргументы. Если бы писал сам, скорее всего написал бы с helper. Кто что думает?#linux #kernel
Giovanni Dicanio's Blog
Linus Torvalds and the Supposedly “Garbage Code”
Linus Torvalds criticized a RISC-V Linux kernel contribution from a Google engineer as “garbage code.” The discussion focuses on the helper function make_u32_from_two_u16() versus Linus’s pro…
👎1