20 random bookmarks
stuff me collect
stuff me collect
I've written a number of little scripts over the years, many of which I use every day. Here's a little collection.
Automatic headphone equalization
Being prolific forces you to take notice. Taking notice develops your taste.
Our design goals are safety, performance, and developer experience. In that order.
Contrary to popular belief, simplicity is also not the first attempt but the hardest revision
code, like steel, is less expensive to change while it's hot.
NASA's Power of Ten — Rules for Developing Safety Critical Code
Use only very simple, explicit control flow for clarity.
Put a limit on everything. Fail Fast
Assertions detect programmer errors. The only correct way to handle corrupt code is to crash.
Assertions are a safety net, not a substitute for human understanding.
Build a precise mental model of the code first.
encode your understanding in the form of assertions,
write the code and comments to explain and justify the mental model to your reviewer,
and use VOPR as the final line of defense, to find bugs in your and reviewer's understanding of code.
No memory may be dynamically allocated (or freed and reallocated) after initialization.
Declare variables at the smallest possible scope, and minimize the number of variables in scope.
Good function shape is often the inverse of an hourglass: a few parameters, a simple return type, and a lot of meaty logic between the braces.
Centralize control flow. When splitting a large function, try to keep all switch/if statements in the "parent" function, and move non-branchy logic fragments to helper functions.
Centralize state manipulation. Let the parent function keep all relevant state in local variables, and use helpers to compute what needs to change, rather than applying the change directly.
Add units or qualifiers to variable names, and put the units or qualifiers last, sorted by descending significance. latency_ms_max rather than max_latency_ms.
Callbacks go last in the list of parameters.
Order matters for readability (even if it doesn't affect semantics). On the first read, a file is read top-down, so put important things near the top. The main function goes first.
Don't overload names with multiple meanings that are context-dependent.
Отмена любого действия.
Поддерживает чтение и запись в Git remote
Легко переписывать историю коммитов, rebase становится тривиальным, коммиты (патчи) можно спокойно перемещать между ветками, конфликтов меньше
Paced web reader (pwr) - an esoteric feed reader and workflow for keeping up to date online.
Open source 2FA authenticator, with end-to-end encrypted backups
immich Self-hosted photo and video backup solution directly from your mobile phone
Eidos is an extensible framework for managing your personal data throughout your lifetime in one place
Similarly, one might begin to talk instead of watching talk-shows and to play instead of watching game shows — To value the entire spectrum of sensations as necessary members of the whole that is the deliberate existence, with its potential for failure, awkwardness, loneliness, harm and death included.
unix is user-friendly—it’s just choosy about who its friends are.
I even have it [Windows] installed on my gaming pc so that I can buy games I never play.
It is easy to shoot your foot off with git, but also easy to revert to a previous foot and merge it with your current leg.
Кажется уже не получится "улучшить" эл. почту. Нужна новая децентрализованная технология. Как сделать её простой для обычных пользователей? Как убедиться, что никто не сможет украсть или заблокировать твою личность? Идентификации просто по публичному адресу уже давно не достаточно.
Мессенджеры полностью заменили почту в плане общения, возможно их надо доработать?
Кстати, бетулу можно использовать как твиттер Х микроблог
Rent and sell GPUs. Low-cost GPU instances ready for machine learning.
When perpetual avoidance is allowed, this familiarity never develops, and the kryptonite effect entrenches itself. The activity in question, however innocuous to everyone else, seems to wither your power and confidence whenever you get too close. Only by getting close despite the effect, and experiencing what dancing, algebra, or working with puff pastry is all about — rather than simply reacting to your old, scorned-outsider’s thoughts about it — can you neutralize the effect.
Innovation tokens and whatnot.