See also the short URLs and search.
Tools
Dev
Network
- How to choose DNS TTL values
- gf.dev
- SSH host fallback (and https://unix.stackexchange.com/questions/454728/can-an-ssh-config-host-have-multiple-hostname-entries)
Web
- CSS for Markdown
- web bloat score
- timing with curl
- same origin policy tldr
- slow vivaldi UI
- oneline web server
CSS Tricks
flexbox css grid prefetching/preloading image lazy loading
Golang
- idiomatic go
- project layout
- module & dependancy management
- Efficient Go APIs with the mid-stack inliner
- Index of tags
Rust
- Borrow checker fight
AFAICT people who “fight” the borrow checker want to use refs for everything. If you default to move and clone when you need something in two places this gets you 80%+ of the way there IME. Then treat refs or fancy smart pointer types as optimizations or for advanced cases. Over time one gets comfortable using refs for short-lived cases and such
- Rust #5: Naming conventions
- Crates finding
Git
NeoVim
- vim awesome
- nvim lsp config
- lua profiling
- startup time over multiple runs
- lua config
- vim debug
:lua print(vim.inspect(vim.loop))
SQLite
Blogs
- The real power of the Jeff Bezos memo and how you can put it into practice (even if you don’t have any meetings)
- you-should-write-blogs
- Why You Should Start a Blog Right Now
- It Is Your Responsibility to Follow Up
- Absolute scale corrupts absolutely
- less
- Your Life is Driven by Network Effects
- THIS IS WHY YOU SHOULDN’T INTERRUPT A PROGRAMMER
Tweet
Apropos of nothing, with the Go module proxy there is no reason not to name your Go packages like https://t.co/L68wowSw3z instead of https://t.co/5OIAeSqoeD. It just takes a couple HTML tags.
— Filippo Valsorda @filippo.abyssdomain.expert (@FiloSottile) November 13, 2020
This way, you are not tied to a code host and can move without breaking your users.
The arguments in defense of JWT are the same as PGP:
— Filippo Valsorda @filippo.abyssdomain.expert (@FiloSottile) February 18, 2020
‣ it supports good crypto, too;
‣ it just needs an opinionated library;
‣ you can use only the good parts;
‣ it's battle tested;
‣ it's flexible;
‣ everything can be misused…
You can imagine how I feel about them.
What to use instead of JWS? Super simple.
— Filippo Valsorda @filippo.abyssdomain.expert (@FiloSottile) July 30, 2020
1. Take the thing you want to sign.
2. Encode it as a string somehow.
(I don't care how. JSON+base64 works.)
3. Sign it with Ed25519.
(No other choices. Ed25519.)
4. Put it and the signature in a JSON blob.
{ "sig": "🔏", "data": "📄" }
Paradox 1: Brevity is higher-bandwidth than verbosity (in aggregate reaches more people; in particular conveys more meaning to a single reader).
— Justin M. Keyes (@justinmk) May 20, 2021
Paradox 2: Verbose expression is low-effort.
...esp. for technical comms like commit messages, code comments, PR titles, etc.
Gists
Hacker News
- On side projects: https://news.ycombinator.com/item?id=6107815