20 random bookmarks

stuff me collect

2025-12-02

248.

Удалённое использование pg_dump и psql для бэкапа и восстановления базы данных PostgreSQL

evileg.com/ru/post/881

2025-05-30

Reposted 234.

Sakura, a minimal CSS framework

oxal.org/projects/sakura

How exactly does sakura help you?
- Just drop it in, even on existing HTML content, to get a pretty-looking website (everything “just works”)
- Quick prototyping, especially when working on backend sites and can’t yet be bothered to fidget with CSS/HTML
- Building a quick (but pretty) site/blog for your best friend or aunt!
- No need to remember tons of different class names for every other CSS framework
- Works amazingly with markdown-generated HTML pages (eliminates the need for hacks like including .img img-responsive in <img></img> tags generated from markdown-parser
- Wonderful for people who aren’t really good or interested in design as sakura is nothing but a set of reasonable defaults

2025-04-27

226.

Svgl - library of SVG logos

svgl.app

svg logos gallery

2025-03-26

Reposted 220.

Hive Puzzles vol. 1

gripot.se/hive/HivePuzzles_vol1.pdf

Hive the board game puzzles. A notation for games is also introduced.

via Optozorax

Reposted 219.

Play Hive Like a Champion

tesera.ru/images/items/2372481/ingersoll_randy_play_hive_like_a_champion_strategy_tactics_a.pdf

Wow so advanced

via Optozorax

2025-03-18

215.

Beginner Full-Body Workout

www.muscleandstrength.com/workouts/beginner-fullbody-workout.html

Do this full body split 3 times a week. The goal is to get your form down pat on the most basic and most important exercises in the gym.

2025-03-08

Reposted 211.

Marginalia Search Engine - Marginalia Search

marginalia-search.com

Marginalia got a new design and a new domain.

Reposted 210.

Falsehoods Programmers Believe About HTML

aartaka.me/falsehoods-html

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-24

178.

World Wide Website

oyaswmi.net

with love for Experiments Lain

This site is a love letter to the internet, to Neocities, and to my personal intrests.

2024-11-22

175.

Hyrum's Law in Golang

abenezer.org/blog/hyrum-law-in-golang

With a sufficient number of users of an API, it does not matter what you promise in the contract: all observable behaviors of your system will be depended on by somebody.

2024-10-14

159.

Cognitive load

minds.md/zakirullin/cognitive

The best components are those that provide powerful functionality yet have simple interface.

Do not add layers of abstractions for the sake of an architecture. Add them whenever you need an extension point that is justified for practical reasons.

2024-07-23

Reposted 134.

Where Should Visual Programming Go? @ tonsky.me

tonsky.me/blog/diagrams

TempleOS has images in comments btw.

2024-07-08

128.

Self Hosted для домашнего сервера

habr.com/ru/articles/826832

Эту статью я пишу во многом для нескольких друзей, которые решили приобщиться к этому тренду, и здесь будет обзор моего личного self hosted - про всякие разные штуки, которые показались полезны лично мне, и плотно заняли своё место на моём домашнем сервере.

2024-07-01

110.

Electude Simulator Challenge

simulator.electude.com

Online simulator to learn automotive wiring and how to troubleshoot and fix problems with it

2024-06-28

105.

SilasMarvin/lsp-ai: LSP-AI

github.com/SilasMarvin/lsp-ai

LSP-AI is an open-source language server that serves as a backend for AI-powered functionality, designed to assist and empower software engineers, not replace them

2024-06-17

87.

Цифровой сад

rustamagamaliev.ru?page_id=39

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-30

63.

93% of Paint Splatters are Valid Perl Programs | Colin McMillen

www.mcmillen.dev/sigbovik

merely 93% of paint splatters parse as valid Perl.

2024-04-22

59.

DIY-Gaming-Mouse

github.com/wareya/DIY-Gaming-Mouse

Completely open source DIY gaming mouse, including hardware (PCB, shell) design files - wareya/DIY-Gaming-Mouse