~/talk

Recreational Coding

Talkat reClojure 2022 · 2022-12-02..12-03· [clojure]
slides:none on file

Starts from a 3x3 magic square summing to 99 and shows a Clojure REPL solution using core.logic that constrains entries to 1..99, finds 2,113 solutions, and proves the center must be 33 in the center. Builds a solver that unifies hints, enforces row/column/diagonal sums, and enumerates all completions. Then models Snakes & Ladders by simulation (1,000,000 runs) and by linear equations/Markov chains to get expected move counts.

AI-written summary · about

  1. 0:00Intro
  2. 0:43To make it more precise
  3. 1:37Creating a puzzle
  4. 2:37Sudoku
  5. 2:50Thinking Programs - core.logic Joy of Clojure, Chapter 16
  6. 3:36Complete View
  7. 3:55What we want
  8. 4:55Grid structure
  9. 5:55The main part
  10. 9:34Including hints
  11. 11:06Sumo
  12. 11:56Relational thinking
  13. 14:19All solutions?
  14. 16:03Questions lead to other questions
  15. 17:34Can you prove that 33 is always in the center?
  16. 18:51Snakes (chutes) and ladders
  17. 21:15Calculations - with mistakes
  18. 22:12REPL experiment needed
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.