Programming Update: September / October 2021
Across both September and October I got a decent amount of programming done. I just about finished the Learn You Haskell for Great Good book (got up to just before Monads) and started Head First Go. Once I had enough Go language to get started on AoC, I knew I’d be ready for the 2016 problem set. Let’s get into the nitty gritty!
Python (not Advent of Code)
Impractical Python
I finished chapter 11 which contained my old friend the Monty Hall Paradox. I’ve had a version up on my site for a very long time based on a PHP tutorial in Linux Format Magazine. This time I was able to code it in Python as well as creating a GUI version. Chapter 11 also touched upon The Birthday Paradox.
GPL shows benefits in unexpected places!
When most people think of the GPL, if they think of it at all, they tend to think of Linux and perhaps other operating systems. However, there are many benefits to using the GPL for programs on a smaller level. For example there is a Go Application in Facebook. This programmer could have gone through the near impossible headache of creating an implementation of Go.
However, as Wikipedia mentions, it is very tough to create sofware to play go, “While the strongest computer chess software has defeated top players ( Deep Blue beat the world champion in 1997), the best Go programs only manage to reach an average amateur level.” This has to do with the high complexity level of the game’s strategy.