20 random bookmarks

Тут будут ссылки на всё-всё, что я найду интересным

2026-04-19

Пример, как можно сделать свой режим в Емаксе, привязать его к конкретным файлам и назначить свои шорткаты только для этого режима.

960.

2026-04-06

Clean Code doesn't work—not because the principles are wrong, but because the real world is dirty, chaotic, unpredictable, and asynchronous. The best code I’ve ever seen violated a good half of Clean Code’s commandments.

953.

2026-03-25

944.

2026-03-04

935.

2025-12-20

918.

2025-12-02

916.

2025-10-13

# life
898.

2025-02-02

831.

2024-10-24

PostgreSQL Query Plan Visualizer add new plan

787.

2024-05-27

It is very important to conduct regular code reviews within every software team, but it is not so easy to do them right; here are a few typical pitfalls.

668.

2024-04-11

In many other languages, you have to not only evaluate testing libraries, but also write your tests in a style that complies with that library’s expectations. Gophers are blessed to have a thoroughly adequate solution out-of-the-box, and even further blessed to have an active ecosystem where folks are making in-depth testing a walk in the park.

604.

2024-04-09

601.

2024-03-10

For me, this imagined audience is more important than getting it right. Which is why I write my blog posts with the wiki spirit. All these sites are pretty similar, in essence. Blog, wiki, digital garden, Zettelkasten, there’s not enough difference to draw lines. It’s all a question of intent, of culture, of belonging. The blog spirit is to write pages over time, and they disappear into the archive. The digital garden spirit is to write unfinished articles and papers, to be refined or not. The Zettelkasten spirit is to follow the trail of thoughts you thought and add new branches, small notes with new thoughts leading to more thoughts on new notes. And the wiki spirit is to write and edit online, to hit the Save button and then it’s live. There is no editor, there is no draft. Wiki is like brutalism in content management. I can see the page sources and the end result is obvious and full of that old web power. It’s not an app. The software has no idea of process. The wiki spirit is to open that window, write the text and hit save. And then I read it again, and edit it. And tomorrow, I read it again, and edit it. And next week, perhaps, I read it again, and edit it.

I no longer live in the Wiki Now. The pages are intended for future readers but they are not timeless. I add timestamps all over the place. The blog spirit is strong. The pages do disappear into the great compost of thoughts. The archive gobbles them up. I do go back but I don’t rewrite the pages completely. I’m more likely to simply add a timestamp and some thoughts like I did on this page.

568.

Я согласен с тем, что логику нужно разносить по сервисам. Но сервисы должны использовать общую шину данных: базу, очередь сообщений, файлы в S3 в конце концов. Гонять друг другу JSON выглядит хорошо в теории, но на практике — фу.

Условный Постгрес выплюнет миллион записей за доли секунды. Забрать этот же миллион из другого сервиса — приключение на неделю. Тут и метрики, лимиты, квоты, сетевые спайки, etc… А когда таких запросов несколько, сервис ложится спать.

567.

2024-03-02

In this post I describe a couple of practice that makes the process of writing code faster, more predictable and straightforward

540.

2023-12-02

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.

445.

2023-11-14

Офигенно

413.

2023-11-13

# life
408.

2023-03-21

SVG иконки

132.

2023-03-05

О том, почему ё важна

54.