Jim Cheung

Monday, July 21, 2025

Introducing XMLUI

I like it, and probably will add it to my toolbox soon


clojure related:


Astro is a developers f***ing dream

I think I tried astro before, but didn't find it useful, however I missed the import markdown file part, that's interesting..


building a solo version of arkham horror card game, so I can play anytime on my mobile

data is not a problem, there're quite a few sources even with all the card images

then realize I don't have a react project template yet, since I prefer html with pure js most of the time

so I created one, I like simple setup with minium dependencies and eslint is such a mess, I can't keep up with it

Parcel is nice for such small template, no config file it just works

Tuesday, July 29, 2025

not much progress on the card game, wasted time on lazy load components and solving path issue with parcel

I really not enjoying dealing with react, so I just switched back to htmx

the game supposed to be pure client side, that's why I didn't consider htmx at the first place, it will still be client side only, but using htmx to load html fragments

one trick is using this target and outerHTML, so you don't need to create target in the parent

<button hx-get="/card.html" hx-target="this" hx-swap="outerHTML">load</button>


one interesting thing I found in game xmls is they use &#10; for new line


The Hidden Lessons in a re-frame App

like a mini mvc inside a component


some random picks:

Blog Archive
    Newer Entries
  • N/A