516 bookmarks
Тут будут ссылки на всё-всё, что я найду интересным
Тут будут ссылки на всё-всё, что я найду интересным
A linter for Go that finds nil panics. It found several potential nil panic in Betula and Mycorrhiza codebases that I didn't bother fixing.
The coolest thing I've seen today!
Long daily commutes can leave little time around busy work days for commuters, who tend to be less physically active, overweight, drink more alcohol, and sleep poorly as a result.
Информационные войны в прошлом? А что теперь вместо них? А как мы участвуем? А они что? А мы что? А они что? И что же теперь делать?
Доклад с описанием истории электронной почты и некоторыми техническими подробностями
The author doesn't like how modern UI:s are designed. Gives good examples.
Functions that are part of your project’s source code but can never be
reached in any execution are called “dead code”, and they exert a drag
on codebase maintenance efforts.
Today we’re pleased to share a tool named deadcode to help you identify them.
Go developers said they are more interested in AI/ML tooling that improves the quality, reliability, and performance of code they write, rather than writing code for them. An always-awake, never-busy expert “reviewer” might be one of the more helpful forms of AI developer assistance.
The top requests for improving toolchain warnings and errors were to make the messages more comprehensible and actionable; this sentiment was shared by developers of all experience levels, but was particularly strong among newer Go developers.
Our experiment with project templates (gonew) appears to solve critical problems for Go developers (especially developers new to Go) and does so in a way that matches their existing workflows for starting a new project. Based on these findings, we believe gonew can substantially reduce onboarding barriers for new Go developers and ease adoption of Go in organizations.
Three out of every four respondents work on Go software that also uses cloud services; this is evidence that developers see Go as a language for modern, cloud-based development.
Developer sentiment towards Go remains extremely positive, with 90% of survey respondents saying they felt satisfied while working with Go during the prior year.
Из комментариев под статьёй:
Кто-то не очень понимает, что ORM в первую очередь - маппер. Да, и называется он Object-Relational Mapper. Отвечает за взаимосвязь между реляционными данными и объектно-ориентированным миром.
Тот, кто хотя бы раз сталкивался с опечаткой при загрузке поля в объект, уже не задаёт вопросы, оправдан ли ORM. Когда за тебя связку делает кодогенератор с нулевой возможностью ошибки на любой сложности схеме - начинаешь ценить надёжность такого решения.
Что касается SQL. ORM не может в принципе покрыть весь синтаксис SQL. И не должен, это не его задача. Его задача - сделать простым синтаксис 95% случаев, когда дальше джойна и WHERE ничего не надо. ORM не мешает использовать чистый SQL, а чаще всего может его дополнить, переводя результат сложного запроса в набор объектов.
GQL is a query language with a syntax very similar to SQL with a tiny engine to perform queries on .git files instance of database files, the engine executes the query on the fly without the need to create database files or convert .git files into any other format, note that all Keywords in GQL are case-insensitive similar to SQL.
This belief is, for me, not some abstruse theoretical assertion, but a deeply felt belief that essentially any question I might care to ask (about computers) has a comprehensible answer which is accessible with determined exploration and learning.
The disappearance of the sex scene in American cinema, the suppression of the body under the moral imperative of commodities in neoliberal capitalism, and Verhoeven as antagonizer.
Reduce friction in facial upkeep, build a healthy habit, and potentially save thousands on dental bills by chronologically ordering your toiletries.
Федресурс — официальный портал раскрытия существенных фактов деятельности субъектов экономической деятельности.
A fresh take on typesetting
Игорь рассказывает, как делает заметки.
Вложенные теги не нужны
Do not try to create a hierarchy (taxonomy) for your notes. It is not scalable and only works for narrow domain. Prefer tags.
Не понимал, зачем раскрашивать буквы в книжках, но Игорь пишет, что это полезно, когда есть комментарии
It is not useful to highlight without commenting. Writing summary is mandatory, highlighting is optional 1.
— О чем вы подумали, впервые открыв секретный архив ГУЛАГа и узнав, что число репрессированных значительно меньше, чем считалось и говорилось?
Земсков о репрессиях
Про автомобили, химию, эксперименты, скандалы, историю, политику, сферы влияния, махинации, войны итд итп.
3 часа восторга!
Я начитался историй об оппозиционной ботферме и подметил закономерность: для союзников и противников у них разные слова, которые обозначают одни и те же явления
Minimizing your keyboard layout is a slippery slope.
34-keys has been reasonably comfortable to use, for both prose and program. My palms do not move across the desk at all, as I reach for keys. I mostly write Rust and Bash, and my layout has evolved to accomodate special characters from their grammars (angled brackets and hyphens, specifically). If you are on a similar journey, I would suggest focusing on accuracy and comfort over speed. Speed comes with time.
a minimalist and opinionated feed reader.
Функции должны быть чистыми, чтобы по ним работал индекс
Using UPPER or LOWER for case-insensitive search is not a good practice. Prefer using a _CI collation if possible or at least add the right indexes to make your query fast.
The most important consideration when defining a concatenated index is how to choose the column order so it can be used as often as possible.
Например, поиск по имени без фамилии бесполезен. Значит, составной индекс должен начинаться с фамилии, а потом уже будет имя.
An index lookup requires three steps: (1) the tree traversal; (2) following the leaf node chain; (3) fetching the table data. The tree traversal is the only step that has an upper bound for the number of accessed blocks—the index depth. The other two steps might need to access many blocks—they cause a slow index lookup.
SQL has evolved. Beyond the relational model. Discover it now.
Sort-merge joins do not need indexes on the join predicates.
MySQL does not support sort-merge joins at all.
Index the independent
where
predicates to improve hash join performance.
Indexing join predicates doesn’t improve hash join performance.
Indexing a hash join is independent of the join order.
Select fewer columns to improve hash join performance.
Hash joins do not need indexes on the join predicates. They use the hash table instead.
A hash join uses indexes only if the index supports the independent predicates.
Reduce the hash table size to improve performance; either horizontally (less rows) or vertically (less columns).
Hash joins cannot perform joins that have range conditions in the join predicates.
Avoid LIKE expressions with leading wildcards (e.g., '%TERM').
Rule of thumb: index for equality first—then for ranges.
Офигенно
Fun fact: There is no limit clause in the SQL standard.
Everyone uses limit.
And yet, according to the standard, we should be using fetch
When I’ve listened the most effectively to people, it’s because I was intensely curious—I was trying to build a detailed, precise understanding of what was going on in their head.
Yaamp — aудио-плеер Winamp с интегрированным сервисом Яндекс.Музыка
Centering things in CSS is the poster child of CSS complaining. Why does it have to be so hard? They jeer. I think the issue isn't that it's difficult to do,
Мой любимый рецепт борща
Сегодня публике нужно быть впереди соседа. Увидеть Париж первым — и умереть. Важен не процесс — но атрибутика вокруг.
Pagefind is a fully static search library that aims to perform well on large sites, while using as little of your users’ bandwidth as possible, and without hosting any infrastructure.
Расширение, которое позволяет открыть текущее место в соответствующем сервисе карт.
This huge collection of non-scary optical illusions and fascinating visual phenomena emphasizes interactive exploration, beauty, and scientific explanation.
Free Encyclopedia of Programming Languages.
Ещё один сайт для ссылок
Большая коллекция сайтов по разным темам.
Кажется, он будет источником для этого экземпляра бетулы на ближайшее время!
Now I use my inbox as a to do list of sorts. Emails are only there as long as they're relevant. Confirmation of a table reservation at a restaurant? It's at most relevant until the date of the booking has past. Archive it.
Earth looked very different long ago. Search for addresses across 750 million years of Earth's history.
Best dinosaur images and info on the internet. Curated high quality database of dinosaurs
Уже нельзя просто постоять на улице.
Благо, в России такой дичи нет.
Дрю также пишет про специальные устройства, которые должны своим писком мешать просто так находиться в общественном месте.
Просто напоминаю про прекраснейший блокировщик рекламы, который не только — внезапно — скрывает рекламу от любимого пользователя, но и старательно засерает статистику рекламным площадкам ("все кликают ВСЁ"), сводя на нет самый смысл персонифицированной слежки.
Luxury beliefs have, to a large extent, replaced luxury goods.
Luxury beliefs are ideas and opinions that confer status on the upper class, while often inflicting costs on the lower classes.
Anxious? Depressed? You might be suffering from capitalism
Статистика по беженцам из Украины
Генерирует фотку экрана с кодом, который вставит пользователь
The fast-loading recipe site with cooking only and no ads.
О том, почему важно занимать обе стороны на эскалаторе в метро.
Постоянно об этом задумывался, а тут мне скинули статью.
Hundreds of utilities available for recovery, maintenance, testing and more
Живой диск линупса для починки поломанных систем. Не содержит графического интерфейса, голая консоль и куча утилит.