Advertisement · 728 × 90

Posts by Jonathan Y. Chan

The Loops work well for me! Was still able to talk with them in :)

10 months ago 1 0 0 0
A small white dog yawning.

A small white dog yawning.

Fetch is hard work! 🐶

2 years ago 2 0 0 0

Elixir match failure messages are much nicer than in TypeScript/Swift/OCaml: blog.jonathanychan.com/2024/01/14/elixir-match-...

2 years ago 1 0 0 0

conda singlehandedly takes up 85% of my zsh startup time (170 ms out of 200 ms)!!! Used for i in $(seq 1 10); do time zsh -i -c exit; done to check. Switching to micromamba now…

2 years ago 1 0 0 0

Just found Superkey by Ryan Hanson. I’d already been using Rectangle Pro by him for window management. Type text and it’ll find it & click it, in any open app in macOS. Going to see if it sticks but it’s an interesting concept executed well. Love how macOS has so many indie apps.

2 years ago 0 0 0 0

Notes on using Burrito to build a command-line application with Elixir: blog.jonathanychan.com/2024/01/13/notes-on-usin...

2 years ago 0 0 0 0

How to access an Ecto repo within a Mix Task: blog.jonathanychan.com/2024/01/12/how-to-access...

2 years ago 0 0 0 0

Hypothesis: as ∫prestige of institution dt → 1, P(grifter at institution) → 1. But p never reaches 1; grifters are clever enough to realize they need some non-grifters to launder their reputations. Thus always to the institutions of creative destruction—sic semper institutis!

2 years ago 1 0 0 0
A dog lying with a sleepy expression in a chair, her head tucked under the armrest.

A dog lying with a sleepy expression in a chair, her head tucked under the armrest.

Waiting for the clock to hit 5pm… 🐶

2 years ago 1 0 0 0
Advertisement

Hopefully my last Vim TIL for a while: embedded Lua in Vimscript in Neovim wasn’t working. nvim-treesitter + this in ~/.config/nvim/after/queries/vim/injections.scm works:
; extends
(lua_statement
(script
(body) @injection.content)
(#set! injection.language "lua"))

2 years ago 0 0 0 0

Vim TIL:

:Inspect() tells you the highlighting group of the text under the cursor; useful for creating color schemes.
ZZ is the same as:x; writes & closes the current file/window.
:verbose set foo tells you who last set the variable foo; useful for debugging.

2 years ago 1 0 0 0

Currently reading The Remains of the Day by Kazuo Ishiguro. Absolutely love it so far. 📚

2 years ago 0 0 0 0
Post image

Serious dog. 🐶

2 years ago 1 0 0 0

I’d definitely rather have a pretty car than an ugly one. But I’d never say “what a striking Mercedes SUV, let me make sure to get that in the background of my photo!”I suspect that to many people the fundamental goal here is to minimize ugliness, not to maximize prettiness.

2 years ago 0 0 0 0

Finally looked up how to get Fastmail to automatically add (not accept) calendar invites. By default it only does this for contacts. Go to Settings > Calendars > Calendar options > Invitations then set “For messages from” to “Anyone.” Now if they could just fix their spam problem…

2 years ago 0 0 0 0
A fire hydrant with a sad face graffitied onto it.

A fire hydrant with a sad face graffitied onto it.

Sad fire hydrant :'(

2 years ago 0 0 0 0
Advertisement
Post image

Creative heated outdoor seating. In Incline Village, near Lake Tahoe.

2 years ago 0 0 0 0
Post image
2 years ago 145 11 3 3
Post image

Isuien Garden in Nara uses these cute rocks to mark closed paths.

2 years ago 0 0 0 0

Currently reading: A Hero Born by Jin Yong 📚

2 years ago 0 0 0 0
Post image

selfie

2 years ago 2 0 0 0