Jim Cheung

Monday, October 20, 2025

I am sorry, but everyone is getting syntax highlighting wrong

I started to use a dark version of alabaster theme on vs code, I like it so far

for emacs I found this, didn't find a dark theme yet.


Why I chose Phoenix LiveView over Rails, Laravel, and Next.js

I was looking for a CRUD framework for typescript, NestJS and AdonisJS are two popular choices, but I don't like any of them

I started to look into Phoenix, and I want to try Oban background job library

this book From Ruby to Elixir has some good introduction on phoenix and related libraries


there're few clojure background job libraries I found

but I still want to try Oban first, even I need to learn a new framework


for web API I like Hono, CJ at Syntax podcast has some videos about it

hono has its own rpc feature, but trpc looks more stable, and it's very easy to plug trpc to hono via @hono/trpc-server

Wednesday, October 22, 2025

this is a very good youtube channel: Practical Engineering

people mentioned content is from Designing Data-Intensive Applications, but still it's a very good web page: Build Your Own Database

this is very useful, URLPattern is now Baseline Newly available


adding a new font to my dekstop app: RETROCIDE // Monospaced Font by orbit


noteworthy links:


games:


Hammerspoon is super useful, and much better developer experience than writing applescript

Saturday, October 25, 2025

some useful stuffs here: Scripts I wrote that I use all the time


keep the function pure (only logics) and wrap it with IO: Simplify Your Code: Functional Core, Imperative Shell

more clear if watched the video: Moving IO to the edges of your app: Functional Core, Imperative Shell - Scott Wlaschin


got a xteink x4 pocket eink reader, 4.3 inch and very slim, can attach on iphone by magnet

supports epub and txt but I found epub is slow and laggy, and its english support is minimum (only system font etc.), so I mainly only read txt files

I have iphone shortcut to extract webpage and save as txt (pretty easy to write, just ask ai), also use an app called Drafts to aggregate highlighted text (hn comments etc.)

satisfied with the size and price, highly recommend


reading more elixir stuffs recently, quite interested in Ash Framework, people said too much magic but still interesting

started reading the book


listened couple episodes recently:

and add this to the reading list: Understanding Eventsourcing

Wednesday, October 29, 2025

adding a mindmap to my toolbox: hizzgdev/jsmind: a mind mapping library built by javascript

also interested in React Flow, but Who needs Graphviz when you can build it yourself?


a new place to look for clojure projects: Clojure Land


I have two vortex Core keyboards, I got the second one when I heard they're out of production

now they have a new version of it: Core Plus, aluminum case, wireless, hot swap low profile switches and via compatible

I want it but I ordered a wing45 recently..


decker is really impressive, their web build is one html and only 600KB, you can create so many things on it.

Thursday, October 30, 2025

two simple tool to preview markdown file:

for nodejs, unhappychoice/mdts: A local markdown preview server.

npx mdts

and python, joeyespo/grip: Preview GitHub README.md files locally before committing them.

uvx grip -b

(add -b to open url in browser)

Blog Archive
    Newer Entries
  • N/A