punkx.org

punkx.org · Personal blog · on HN since 2022

Programmer who builds card games, board games and puzzles to teach his daughter machine code, C pointers and Unix, and writes on code and trust.

What HN saysCommenters treat it as a source of hands-on teaching games, praising the 4-bit CPU card game and a gentle APL intro, and mention a coming C deck.
15HN people shared it
5linked it in comments
30stories submitted
728story points
3 months agolast shared
2022people per year2026

Most-shared posts

  1. 1
    Show HN: 4917 Machine Code for Kids – Card Game
    4 people · 55 points · first shared 2022 · 11 comments on HN
  2. 2
    Projekt: Overflow RISC-V assembly board game
    4 people · 14 points · first shared 2023 · 1 comments on HN
  3. 3
    The Unix Pipe Card Game
    3 people · 490 points · first shared 2022 · 59 comments on HN
  4. 4
    Machinist and Machine
    3 people · 16 points · first shared 2025 · 2 comments on HN
  5. 5
  6. 6
  7. 7
    Code and Trust: Vibrators to Pacemakers
    2 people · 62 points · first shared 2025 · 43 comments on HN
  8. 8
  9. 9
    My Anti AI Computer
    2 people · 3 points · first shared 2026 · discussion on HN
  10. 10
    Show HN: PUNK0 – A Function Composition Card Game
    2 people · 1 points · first shared 2023 · 1 comments on HN
  11. 11
    Guide
    2 people · first shared 2022
  12. 12
  13. 13
    Show HN: One Button Calculator (Morse code Python REPL)
    1 people · 6 points · first shared 2023 · discussion on HN
  14. 14
    RISC-V assembly for kids: snakes and ladders [pdf]
    1 people · 3 points · first shared 2023 · 1 comments on HN
  15. 15
    Panic: Small prank programs for kids and grownups
    1 people · 3 points · first shared 2023 · discussion on HN

What HN people wrote when they linked it

jackdoe · 2026-07-07
I vibecoded https://punkx.org/apl/learn.html its good slow entry into gnu-apl, at least it got me to be able to make tictactoe, vibecoded or not, it helped me to start. I am amazed how quickly APL changed the way I think. Also strongly recommend watching Aaron Hsu on youtube. There is no better time to re-learn programming, try APL, Forth, LISP, z80 machine code, UXN TAL, just try new things. "Men are born soft and supple; dead they are stiff and hard. Plants are born tender and pliant; dead, they are brittle and dry. Thus whoever is stiff and inflexible is a disciple of death. Whoever is soft and yielding is a disciple of life. The hard and stiff will be broken. The soft and supple will prevail."
throwaway71271 · 2024-07-09
> Linux experience is so miserable This is just not true. I switched back to linux recently https://punkx.org/jackdoe/linux-desktop.html and honestly the experience is amazing. I even did dist-upgrade and everything still works, including all my pytorch stuff. Windows experience is hundreds of times worse. MacOS is quite good, I would recommend it as well, but don't dismiss linux without trying.
punkx · 2022-12-05
i love 4 bit cpus, it is so nice to teach with them i made a card "game" for Richard Buckland's made up instruction set and my daughter was very receptive, we also started to build Ben Eater's cpu, but it was too slow and she got impatient i think nibbler is the right amount of fun/effort, i will absolutely try it link to the game if someone is interested (you can also print it yourself): https://punkx.org/4917
throwaway47292 · 2022-10-16
I am halfway done with the C deck, as we are switching to C soon, and I will setup a kickstarter after, should be done around December. I want her to know why x[3] and 3[x] are the same thing. int x[3]; 2[x] = 5; printf("%d %d\n", 2[x], x[2]) A lot of people struggle with x = 5 y = 6 y = x x = 7 print(y) and x = [1,2] y = [3,4] y = x x.append(5) print(y) There is something magical in understanding how the computer uses its memory, its almost as if you walk out of a mist. I think it will be very valuable to have a set of 4 decks: python, machine code, unix pipes and C, so that the decks compliment each other. In the machine code deck there are few cards that have pointers (e.g. https://punkx.org/4917/play.html#43), and they can be used to help with the C deck for example. Then its LISP.
pmontra · 2023-11-21
Well, this is not the n-th visual block language but an IDE with realtime reruns of modified code. Tangentially, but not so much: I was talking with a 17 yo last weekend. She teached Python herself a couple of years ago and they are teaching it now in her class. She can't understand how her classmates can have difficulties understanding x = 5 y = 6 z = x + y I asked the value of z to a 30 yo that was listening to the conversation and he first answered 5 + 6, then looked at us, thought again and said 11. The student then told me that some of the other students eventually understood that z takes the value of 11 but their question was "how a machine can do that" and nobody answered to them. I wonder if a little of assembler on a toy CPU could be a better starting point. For example this Machine Code for Kids card game [1] They are selling the cards from the home page of the site (I'm not affiliated with them, I just bought a few decks.) Or a two bits binary adder with logic gates. [1] https://punkx.org/4917/guide.html

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close