Peter Norvig's “pytudes” for Advent of Code 2020

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • OPS - Build and Run Open Source Unikernels
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • GitHub repo pytudes

    Python programs, usually short, of considerable difficulty, to perfect particular skills.

    Probably the most indicative part of Norvig's code beauty is the requirements file[0]. With python developers being infamous for importing obscure/questionable libraries for even a simple task, I love how Norvig solved all these with just native libraries and the staples numpy/plt.

    [0]: https://github.com/norvig/pytudes/blob/master/requirements.t...

  • GitHub repo paip-lisp

    Lisp code for the textbook "Paradigms of Artificial Intelligence Programming"

    I'd recommend taking a look at his book Paradigms of AI Programming [0]. It really shows his thought process in developing solutions to problems. The only other way is practice, and in particular practice with languages that offer functional features. Notice his use of lambdas, assignment of existing functions/constructors to more accurate names (Passport instead of dict, day 4), and higher order functions (quantify).

    Those are things that really help in algorithmic code by increasing accuracy of the names of things to the application (almost creating a domain specific language).

    [0] https://github.com/norvig/paip-lisp

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo aoc

    🎄 My solutions and walkthroughs for Advent of Code (https://adventofcode.com) and more related stuff.

    If you like this, you will love https://github.com/mebeim/aoc/tree/master/2020

    The guy created very clean python solutions, and very insigthful walkthrough (although a bit wordy some times). It was my go to repo after validating my solutions on AoC (he managed to publish daily during the whole challenge !).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts