I'm reading Don't Teach Coding Until You've Read This Book and working through some of the exercises there. Their code/languages are distributed with Dr. Racket, but the animations one crashes on my machine (Ubuntu 25.04). Here's one example:
#lang dtc/frames/animations
(animation `(1 2 3))
When I run that with F5, it prints "HI" and then after a moment, the entire Dr. Racket window goes poof! and disappears. In the terminal, I see:
(drracket:314334):
exception raised by error display handler: internal error: attempt to deschedule the current thread in atomic mode; original exception raised: exception raised by exception handler: internal error: tried to deschedule a descheduled thread; original exception raised: internal error: attempt to deschedule the current thread in atomic mode
internal error: tried to reschedule a scheduled thread
internal error: terminated in atomic mode!
Any suggestions on how to fix that? It works on a Macbook, so it's something Linux- or Ubuntu-specific.
Also, the book says its homepage is https://www.dont-teach.com/coding -- but that site gives a 502 error. I've tried to contact the authors but have gotten no response. It would be great if the book's site was available, or at least had a page saying that it's been taken down.
(FWIW, it does look like the book's code is available at https://github.com/srfoster/dtc.)