20 random bookmarks

stuff me collect

2025-12-02

Reposted 250.

Scripts I wrote that I use all the time

evanhahn.com/scripts-i-wrote-that-i-use-all-the-time

I've written a number of little scripts over the years, many of which I use every day. Here's a little collection.

2025-06-18

237.

Micro Habits that Fuel Depression

youtu.be/EyC5yJVLlUM

2025-05-14

233.

Delimiter-first code

arogozhnikov.github.io/2022/11/29/delimiter-comes-first.html

I argue for wider usage of delimiter-first in the code. three friends [tic, tac, toe] becomes three friends ・tic ・tac ・toe.

2025-05-07

231.

On Not Carrying a Camera

hedgehogreview.com/issues/after-neoliberalism/articles/on-not-carrying-a-camera

Cultivating memories instead of snapshots.

2025-03-18

Reposted 216.

Life Altering Postgresql Patterns

mccue.dev/pages/3-11-25-life-altering-postgresql-patterns

2025-03-03

207.

SvgPathEditor

yqnn.github.io/svg-path-editor

2024-12-15

190.

One big choice shapes a hundred more

sive.rs/ripple

Knowing the consequences I want, what choice would create them? What big choice would nudge a hundred others that way?

2024-12-09

189.

Tiger Style

github.com/tigerbeetle/tigerbeetle/blob/a43f2205f5335cb8f56d6e8bfcc6b2d99a4fc4a4/docs/TIGER_STYLE.md

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.

Safety

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.

Developer Experience

  • 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.

2024-11-19

Reposted 174.

FutureRack

futurerack.info/main.php

Server racks as home furniture.

2024-11-01

Reposted 166.

Does the Dog Die?

www.doesthedogdie.com

Trigger warnings for movies, TV, books, video games and more!

2024-10-28

164.

No More Alarm Clocks

ajkprojects.com/nomorealarmclocks

I’ve completely eliminated the alarm clock from my morning routine for about six months. The biggest impacts it's had on my life are: I’ve become a morning person. I wake up feeling great and feel less sleepy during the day.

2024-10-12

154.

Tenno – Markdown and JavaScript = a hybrid of Word and Excel

tenno.app

2024-07-03

120.

Как на самом деле запоминать всё, что прочитал

fedorovpishet.ru/kak-na-samom-dele-zapominat-vsyo-chto-prochital
  • Приложения для сбора хайлайтов из статей и книг не помогают запоминать прочитанное

  • Для того, чтобы запоминать прочитанное не нужна хорошая память

  • Лучший способ запомнить прочитанное — понять то, что ты прочитал

  • Чтобы на самом деле понять прочитанное, нужно приложить усилия

  • Объясняй другим идеи, чтобы лучше понимать и запоминать их

  • Заведи блог

  • Участвуй в сетевых дискуссиях

  • Откажись от автоматизации

2024-07-02

Reposted 117.

Как правильно работать с убеждениями

spectator.ru/entry/6701

Вывели с клиентом универсальную «инструкцию к терапии». На случай, если кому-то это нужно. Как часто и бывает, у него была популярная мечта сначала что-то поменять в голове, а потом зажить по-новому.

113.

Some tips/opinions about self-hosting

hacktivis.me/articles/self-hosting
  • make it for yourself first

  • automate the backups; prefer to edit locally and push

  • avoid SBCs (ie. RaspberryPi) and prefer PCs

  • you don't have to let everyone in

2024-05-23

79.

git man page generator

git-man-page-generator.lokaltog.net#dGVhciQkaGFzaA==

Create an infinite amount of straightforward and readable git manual pages.

Service that generates random man pages mocking Git’s dense documentation style.

2024-05-21

Reposted 77.

OLLOS

alexanderobenauer.com/ollos

OLLOS is an experiment that organizes everything in my personal computing environment on one unified timeline.

2024-05-12

70.

Why I prefer the iPad over a MacBook

arslan.io/2024/05/11/why-i-prefer-the-ipad-over-a-macbook

2024-04-08

55.

Naming Schemes

namingschemes.com/Main_Page

2024-03-15

41.

Комнатные растения: подробный гид для новичков

dzen.ru/a/Xrn1GQRu2BR53dnx