Jonathan Y. Chan's Avatar

Jonathan Y. Chan

@jonathanyc

🐩 Yeti fan, πŸ‡ΊπŸ‡Έ American, and 🐻 Californian, living in 🌁 San Francisco

42
Followers
107
Following
20
Posts
16.11.2023
Joined
Posts Following

Latest posts by Jonathan Y. Chan @jonathanyc

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

17.06.2025 18:56 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
A small white dog yawning.

A small white dog yawning.

Fetch is hard work! 🐢

17.01.2024 02:29 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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

15.01.2024 01:07 πŸ‘ 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…

14.01.2024 19:02 πŸ‘ 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.

14.01.2024 18:08 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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

14.01.2024 05:41 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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

13.01.2024 01:22 πŸ‘ 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!

11.01.2024 10:07 πŸ‘ 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… 🐢

11.01.2024 02:32 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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"))

10.01.2024 04:49 πŸ‘ 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.

10.01.2024 00:04 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Currently reading The Remains of the Day by Kazuo Ishiguro. Absolutely love it so far. πŸ“š

08.01.2024 08:34 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

Serious dog. 🐢

08.01.2024 02:13 πŸ‘ 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.

06.01.2024 20:10 πŸ‘ 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…

06.01.2024 03:32 πŸ‘ 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 :'(

05.01.2024 02:02 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

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

04.01.2024 09:50 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image
03.01.2024 21:28 πŸ‘ 145 πŸ” 11 πŸ’¬ 3 πŸ“Œ 1
Post image

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

03.01.2024 02:09 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Currently reading: A Hero Born by Jin Yong πŸ“š

03.01.2024 02:05 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

selfie

03.01.2024 02:02 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0