20 random bookmarks

stuff me collect

2025-07-22

Reposted 241.

Become a command-line superhero with Simon Willison's llm tool

simonwillison.net/2025/Jul/7/become-a-command-line-superhero-with-simon-willisons-llm-tool#atom-everything

2025-04-28

227.

How to Stop Eating Candy for Breakfast

www.raptitude.com/2025/04/how-to-stop-eating-candy-for-breakfast

2025-03-24

Reposted 218.

I see, I can draw!

www.ninakalinina.com/notes/iseeidraw

After reading Blue Period, Nina got inspired and invested time into learning how to draw, following guidelines from a book. She shared her learnings from the journey. Very inspiring! Can I draw? Should I learn how to?

2025-03-08

212.

If it is worth keeping, save it in Markdown

p.migdal.pl/blog/2025/02/markdown-saves

I like the idea, but my laziness makes me avoid any non-automatic methods. I’d prefer a format similar to Mycomarkup or Markdown, but with built-in support for embedding images and other binary content, turning a web article into a single file. I’m aware of data: images in Markdown, but they’re not very convenient to use.

2025-03-04

208.

How Core Git Developers Configure Git

blog.gitbutler.com/how-git-core-devs-configure-git

What git config settings should be defaults by now? Here are some settings that even the core developers change.

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-12-02

185.

How to Use Tags

karl-voit.at/2022/01/29/How-to-Use-Tags
  1. Use as few tags as possible.

  2. Limit yourself to a self-defined set of tags.

  3. Tags within your set must not overlap.

  4. By convention, tags are in plural.

  5. Tags are lower-case.

  6. Tags are single words.

  7. Keep tags on a general level.

  8. Omit tags that are obvious.

  9. Use one tag language.

  10. Explain your tags.

2024-10-17

Reposted 161.

FFmpeg - Ultimate Guide | IMG.LY Blog

img.ly/blog/ultimate-guide-to-ffmpeg

This guide covers the ins and outs of FFmpeg starting with fundamental concepts and moving to media transcoding and video and audio processing providing practical examples along the way.

2024-08-09

Reposted 145.

То что

ilyabirman.ru/meanwhile/all/to-chto

2024-07-14

Reposted 130.

Self-care checklist – Thomas Baart's Microblog

micro.thomasbaart.nl/2024/07/13/self-care-checklist

2024-07-04

Reposted 121.

Writebook

once.com/writebook

Instantly publish your own books on the web for free, no publisher required.

Blogging and posting on social is easy. But why is it so hard to publish a whole book on the web? It’s not anymore. Writebook is remarkably simple software that allows you to publish text and pictures in a simple, browsable online book format.

2024-07-02

Reposted 115.

GitHub - martinvonz/jj: A Git-compatible VCS that is both simple and powerful

github.com/martinvonz/jj

2024-06-22

99.

File Browser

filebrowser.org/features

2024-05-20

76.

D3 in Depth

d3indepth.com

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-05-07

64.

GPUDeploy

www.gpudeploy.com

Rent and sell GPUs. Low-cost GPU instances ready for machine learning.

2024-04-01

51.

NEVER TOO SMALL - Japanese Artist’s Unique Open Air Family Home

www.youtube.com/watch?v=4i8WENruig0

Set in Tokyo’s Suginami-ku neighbourhood, home to many manga artists, Open Sky House is home to artists and architect Zajirogh, his wife, and their three children. Having always dreamed of living in a camper or a ship, Zaijrogh designed a large central open-air courtyard and covered it with a retractable sail-like sheet. The family uses the courtyard as a living room which is furnished with camping furniture that can get wet or be moved quickly if needed. A series of colourful walls line the courtyard, with precious items that need to stay dry kept behind a set of glass and steel sliding doors with another set connecting to the fully equipped L-shaped kitchen. The second story features space for the family to sleep, work and play and includes a 1sqm (small closet-sized) study that Zajirogh refers to as “his little sanctuary”. A door leading onto the balcony wraps around the open roof, this provides access to open and close the roof as well as an area for Zajirogh to paint freely without concern about mess.

2024-03-18

Reposted 42.

JPEG DCT text lossifizer

lcamtuf.coredump.cx/lossifizer

Did you ever wake up in the middle of the night wondering what would happen if you applied JPEG-style lossy compression to text?

2024-03-13

23.

Sage advice for a calmer, more fulfilling digital life | datagubbe.se

www.datagubbe.se/sage

If you can't decide between two applications, pick the one with less input lag.

2024-03-12

19.

How I backup my Photos

arslan.io/2023/02/25/how-i-backup-my-photos

How to backup photos using Apple, lightroom, nextcloud