Peter Norvig’s Advent of Code solutions

Peter Norvig, Director of Research at Google, has published his solutions for Advent of Code 2016.

They are available here.

Advent of Code: Day 14 Solution

This year, I’m posting my solutions to the puzzles in the Advent of Code.

I’m changing the format of these posts: from now on, I will post the code directly, along with a link to the solution on Github.
Continue reading

Advent of Code: Day 6 Solution

This year, I’m posting my solutions to the puzzles in the Advent of Code. Each post will consist of pseudocode, with a link to the actual code I used to solve the puzzle on Github. Continue reading

The Advent of Code 2016 has begun!

Last year, Eric Wastl created a website called Advent of Code. It’s an Advent calendar made up of programming puzzles.

Each day, the next puzzle is revealed and users are encouraged to solve the puzzle any way they choose. The subreddit /r/AdventOfCode contains solutions in many different languages. My preferred language is C#.

Although I didn’t manage to solve all of the puzzles last year, I still enjoyed the event. Happily, the Advent of Code has returned for 2016!

At the time of writing, the 2016 Advent of Code is on Day 3, and will continue until Christmas Day. So far, I have managed to complete Days 1 and 2.

I encourage everybody to take part. Even if you don’t know how to program, you could still write a plan to solve the puzzle in English, and then break it down into smaller pieces and see how it would fit together. Although it would be difficult to solve the unique puzzle input generated for each user this way, examples are provided for each puzzle.


Hi there!

I’m Jason, and this is my web site. Thanks for dropping in!

About me

I’m a full-time system administrator/application developer and part-time consultant. My part-time job mainly consists of solving general computer issues,malware/virus removal, and all manner of troubleshooting. If your computer’s not doing what it should be, I’m the man to whip it into shape.

In my full-time position, I’m working in any number of areas. My team designs, secures, and maintains a network of over 2,000 devices including servers, desktops, laptops, and tablets. While we mostly focus on Windows, we use Apple products as well.

On the development side, I work with SQL Server for database back ends, and develop applications to support our internal users. For this, we generally use C# and WPF. We’re currently supporting a mix of Windows 7, 8, and 10. In the future, we will be upgrading all machines to Windows 10.

In my free time, I enjoy playing games (both digital and physical), creating computer programs.

About this site

While this is mainly a site for me to write random thoughts, I hope you will find the content on here useful. The content will mostly concern events and ideas in the fields of technology and ICT.

If you have a technology-related question, please feel free to contact me at [email protected] and I will do my best to answer.

Feedback, both positive and negative, is always welcome.