Tuesday, October 20, 2020
Network Programming
Monday, October 19, 2020
fp-course
Following the Learn Haskell recommendation, the FP study group at Recurse Center worked through the fp-course exercises after finishing CIS 194.
https://github.com/bitemyapp/learnhaskell
The exercises seem to provide good practice, with modules like State and StateT requiring some mental gymnastics training..!
The repo unfortunately has some incomplete tests files, so I transcribed a few from the comments into HSpec format for Parser.hs and MoreParser.hs: https://github.com/tkuriyama/puzzles/tree/master/fp-course.
The test cases were tedious but turned out to be worthwhile, since JsonParser.hs is comprised of more abstract parser combinators. (Interestingly, the parser combinator in CIS 194 is almost identical to fp-course in its building blocks... a coincidence, or a common design pattern?).
Anagrams and Cheque remain to be completed, but we're moving on to writing a toy database in Haskell (with the goal to complete in the last two weeks of the Fall 1 batch!).
Monday, October 12, 2020
Dijkstra '74 on Scientific Thought
Some slides from a short talk at Recurse Center on Dijkstra's 1974 essay "On the role of scientific thought"
Sunday, October 11, 2020
Game of Risk Elm Visualization
Building on the previous post... an interactive(ish) Elm visualization of the game's probability trees:
https://tarokuriyama.com/projects/risk.php