Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
In CommonMark, there are two ways to add line breaks within a paragraph: Add two spaces at the end of the line Add a backslash (\) character at the end of the line I tend to prefer the latter, since extraneous whitespace is invisible in many editors and t…
-
Shot: Two simple rules that let LLMs streamline and improve your writing without pasteurizing and jacking it with corn syrup.
-
Prompted by Brandur’s 15 years later, a day without Tmux, I remembered my own slow removal of tmux from my stack a while back.
-
Every time you write the statement go in a program, you should consider the question of how, and under what conditions, the goroutine you are about to start, will end.
-
I use hugo as my SSG. hugo has a --clock flag that lets you set the clock (using a starting RFC 3339 formatted timestamp) that the CLI uses for its commands.
-
I recently learned that NetNewsWire supports opting-in individual feeds to “always use reader view”, so I’ve been noticing more closely which of my feeds provide the full content of their feeds versus just a summary, and opting in the latter to that setti…
-
In Go, it’s common to wait on a condition via a channel while also respecting context cancellation.
-
I recently read Will Manidis’ Against Taste and found myself nodding along to much of that essay: The taste thesis, at its deepest and most simple structure, reverses this order.
-
TIL of “sargable” conditions in SQL queries, which just means that an index can be used to speed up the query.
-
Again, not something I learned today, but within the last few weeks: “tangenting”.
-
TK means “to come”.
-
This weekend, I built a language server for CEL called cells.
-
Yesterday, I was working on improving buf’s lsp protobuf semantic tokens, and needed to test out how my changes were working in a real LSP client.
-
Growing up playing World of Warcraft (WoW)1, I became familiar with the concept of “Fog of War” — that is, areas of the world that your character hadn’t visited.
-
I had assumed that to interact with Tree-sitter in Neovim, you still needed to use the utilities from nvim-treesitter.
-
TIL about WikiGnomes: A WikiGnome is a wiki user who makes useful incremental edits without clamoring for attention.
-
Since moving out to suburban Ipswich from Boston, I’ve been on a “seasons” kick — you know, those things that feel wonderful the first couple weeks they’re here and then eventually drag on until the next one comes along?
-
Riffing on Tom MacWright’s “Using super” post from yesterday, I saw the post and immediately thought of using jq.
-
I was lucky enough to be included in the inaugural Internet Phonebook, in the “Atmosphere” section on p. 22 — I’m number #58 if you’d like to Dial-my-site.
-
neovim released v0.11.0 a little while back, and in the interest of using the defaults, I removed some of my LSP-related keymaps that are now automatically mapped.
-
TIL about the Postgres citext type (that is, case-insensitive text type), from reading this schema.
-
I’ve long struggled with the choice of how to pass around Go values, specifically structs.
-
Last week I learned that an HTML datetime attribute can represent a duration.
-
Last week, I watched a coworker bring up a file on a different branch using fugitive.vim’s :GBrowse and I was floored: almost daily I find myself using it to open the URL to a file to share (or a few lines).
-
I’ve long wanted to figure out how to get nfnl's directory-local configuration working, but it took me until yesterday to figure it out — mostly by opening a discussion and then realizing my mistakes. 🤡 First, exrc needs to be enabled.
-
This isn’t something I’m just learning today, but I’ve looked this up enough to warrant writing it down.
-
My Overcast settings screen shows the following: Smart Speed has saved you an extra 949 hours beyond speed adjustments alone.
-
Inspired by https://defaults.rknight.me, here are my current defaults: Mail Client: Mail.app Mail Server: Migadu Notes: Drafts To-Do: Things iPhone Photo Shooting: Camera.app Photo Management: Photos.app Calendar: Calendar.app Cloud File Storage: iCloud D…
-
Inspired by Louie Mantia’s CSS for This Blog, I figured I’d publish the page I use locally for testing out how my CSS looks.
-
A quick retrospective on my November Goals post: Run 80 miles I fell a little short here, running just 58 miles for the month.
-
I’ve been a little hesitant to write here, for whatever reason.
-
TIL of Service Wrappers a technique I’ve used in the past but have never had a name for.
-
Watched “The Blair Witch Project” last night as a bit of a pre-Halloween treat.
-
I’ve spent a decent amount of time tweaking my … “system” for reading articles and blogs on the ’net that I figured I’d jot down what I’ve tried, and what’s currently working for me.
-
Setting some November goals a little early: Run 80 miles I set a goal of 500 miles this year — I’m already at 864 miles for the year, most of which I ran in the early summer.
-
I’ve been a little hesitant to write here, for whatever reason.
-
Not sure how I hadn’t seen this before: in Go, you can specify the index of the format argument you want to use for each formatting verb.
-
These notes are basically cribbed from Ben Johnson’s excellent “Building Production Applications Using Go & SQLite” GopherCon talk, specifically the “Configuring SQLite” section.
-
For a long time, I’ve used commandline as the name for the syntax of code fences in markdown whenever I’ve wanted to denote a shell command or session.
-
Found a bug in one of our systems at work that deals with jsonb data stored in Postgres today.
-
I still feel rather new to PostgreSQL, and a few times now in Go I’ve tried to do something along the lines of: type pgdb struct { db *sql.DB } func (db *pgdb) getEntityByID(ctx context.Context, ids []string) ([]Entity, error) { query := "SELECT * FROM…
-
I wasn’t aware of the Go fmt package %q verb, for quoting strings.
-
Recently I polished up and published my seven-guis project.
-
When writing HTML templates in Go, knowing about the whitespace modifiers is crucial for keeping both the templates and the output HTML looking good.
-
I’ve added a new uses page, detailing my personal computing setup.
-
The time.Ticker type in Go is incredibly useful for situations in which polling is needed.
-
I typically don’t do much with concurrency in Go, but messed around this morning with both oklog/run and sync/errgroup.
-
I’m constantly using jq to deal with JSON via the CLI.
-
A quick domain update: svbn.me -> stefan.vanburen.xyz and to match, an email address update: me@svbn.me -> stefan@vanburen.xyz Will hold on to the old domain for awhile, so it should still work, but most things are being redirected.
-
At $work, I’ve been writing a web application that is server-side rendered via Go’s html/template package.