Welcome to my website! I'm Jonathan Y. Chan (jyc), a 🐩 Yeti fan, πŸ‡ΊπŸ‡Έ American, and 🐻 Californian, living in 🌁 San Francisco.

Some things I've worked on:




is the card of the week.

I'm computing the week number by dividing the number of days we are into the year by 7. This gives a different week number from ISO 8601. Suits are ordered diamonds, clubs, hearts, spades (like Big Two, unlike Poker) so that red and black alternate. On leap years there are 366 days in the year; the card for the 366th day is the white joker. Karl Palmen has proposed a different encoding.