Hacker GitHub

← All repos

norvig/pytudes

View on GitHub ↗ ★ 24,420 Jupyter Notebook

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

101 mentions on Hacker News by 79 people: 40 stories, 61 comments · first 2017-06-05 · latest 2026-09-17

Mentions per year 101 mentions · busiest year 2022 (22)
20082026
  1. https://github.com/norvig/pytudes/tree/main/ipynb Look at Norvig's solution - which are a good learning point for even those who are able to solve everything!
    comment by vismit2000 · 2025-12-03 · in Ask HN: Is it OK to look at AoC solutions?
  2. Pytudes by Peter Norvig: https://github.com/norvig/pytudes
  3. pytudes: https://github.com/norvig/pytudes
  4. This is explored in more depth in one of Peter Norvig's pytude notebooks: https://github.com/norvig/pytudes/blob/main/ipynb/Economics....
  5. It's there in form of chain: from itertools import chain flatten = chain.from_iterable Ref: pytudes - https://github.com/norvig/pytudes/blob/main/ipynb/Advent-202...
    comment by vismit2000 · 2024-05-28 · in More Itertools
  6. Peter Norvig's work is great to learn from https://github.com/norvig/pytudes
  7. …have acquired which has done wonders to retaining new concepts. * https://www.pythonmorsels.com/ * https://github.com/norvig/pytudes
    comment by togusa2017 · 2024-03-08 · in Ask HN: How to build mastery in Python?
  8. each one of Peter Norvig's etudes at https://github.com/norvig/pytudes from the sudoku solver http://norvig.com/sudoku.html to things like "NPL in python" https://colab.research.google.com/github/norvig/pytudes/blob... ...…
  9. Peter Norvig's notebooks: https://github.com/norvig/pytudes
    comment by atomicnature · 2023-08-25 · in Ask HN: Where do I find good code to read?
  10. …Still very much worth a read, he goes through the whole problem solving through code process. https://github.com/norvig/pytudes
    comment by sorenjan · 2023-08-24 · in Ask HN: Where do I find good code to read?
  11. …what I would expect from a junior dev who started learning the language a couple weeks ago. [1]: https://github.com/norvig/pytudes/blob/952675ffc70f3632e70a7... [2]: https://github.com/norvig/pytudes/blob/952675ffc70f3632e70a7...
    comment by hk__2 · 2023-08-24 · in Pytudes
  12. Kinda hard to answer as that depends on your definition of new. But most likely yes, https://github.com/norvig/pytudes/commits/main
    comment by benjaminl · 2023-08-24 · in Pytudes
  13. …marvel as a master deftly disecting problems, in the same way you marvel at Peter Norvig's Pytudes https://github.com/norvig/pytudes , and sob as the wonders turn to clay in your ordinary hands. Luckily it has a squeaky little brute force…
  14. …http://norvig.com/spell-correct.html Now dominated by notebooks, linked to from norvig.com: https://github.com/norvig/pytudes#pytudes-index-of-jupyter-i...
  15. My personal goal is to get as close to Norvig as possible for general Python code: https://github.com/norvig/pytudes/blob/main/ipynb/Advent%20o... (short but exact comments, inline testing, good function and variable naming, overall good…
    comment by PennRobotics · 2023-07-19 · in Advanced Python Mastery
  16. …output created, as well as the method for it. [0] Norvig's extremely cool pytudes, wordle example: https://github.com/norvig/pytudes/blob/main/ipynb/Wordle.ipy... [1] My not anywhere near as cool as Norvig's pytudes example:…
    comment by benrutter · 2023-07-07 · in Git and Jupyter Notebooks Guide
  17. …* Laravel https://github.com/laravel/laravel Python * pytudes (notebooks) https://github.com/norvig/pytudes R * sf (ex of functional OOP) https://github.com/r-spatial/sf Ruby * Sequel https://github.com/jeremyevans/sequel/ * Sidekiq
  18. I knew Ellsberg rang a bell. I got to know about him from Peter Norvigs awesome [jupyter] notebooks: https://github.com/norvig/pytudes/blob/main/ipynb/Probabilit... . The probability ones are quite fun to go through and it's very…
    comment by puika · 2023-06-16 · in Daniel Ellsberg has died
  19. …how lightweight and interactive this is. Related: Norvig's runnable intro probability notebooks at https://github.com/norvig/pytudes#pytudes-index-of-jupyter-i...
    comment by abecedarius · 2023-05-14 · in Monte Carlo methods
  20. …need to see people code in clojure live to understand it. https://www.parens-of-the-dead.com/ https://github.com/norvig/pytudes
    comment by monsieurbanana · 2023-04-10 · in REBL
  21. …manner (look at the ones in the Probability section) [1]. [0] https://greenteapress.com/wp/ [1] https://github.com/norvig/pytudes#pytudes-index-of-jupyter-i...
  22. Peter Norvig has written a good analysis with some interesting takeaways: https://github.com/norvig/pytudes/blob/main/ipynb/AlphaCode....
  23. …iterate over input, operating on arrays/lists etc.). Something like Peter Norvig has in Python: https://github.com/norvig/pytudes/blob/main/ipynb/Advent%20o...
    comment by ofrzeta · 2022-12-01 · in Advent of Code 2022 is nigh
  24. …https://greenteapress.com/wp/think-python-2e/ For code examples, I like Peter Norvig's pytudes: https://github.com/norvig/pytudes
  25. …is pure magic to me. Highly recommend it and also checkout his notebooks, unparalleled beauty: https://github.com/norvig/pytudes
  26. …can't possibly be the answer. links: 1. https://i-kh.net/2022/04/22/my-lazy-wordle-strategy/ 2. https://github.com/norvig/pytudes/blob/main/ipynb/Wordle.ipy...
  27. Peter Norvig's python is so elegant: https://github.com/norvig/pytudes#pytudes-index-of-jupyter-i...
  28. …agree (and share the hope). In fact, earlier today I was thinking about Peter Norvig's "pytudes" ( https://github.com/norvig/pytudes ) as good examples of literate programming — and they are notebooks. Also, last weekend I picked up some…
  29. In this case, it's not a matter of image formats, but simply a 404. https://github.com/norvig/pytudes/raw/5e745c392772d150b41462... Here's map4.png: https://github.com/norvig/pytudes/blob/main/ipynb/map4.png There doesn't seem to be a 5 or…
    comment by enobrev · 2022-03-03 · in Split the States (2021)
  30. https://github.com/norvig/pytudes/issues/118 Norvig's Sudoku solver inspired me to make my own Wordle solver last month
    comment by tbonza · 2022-03-02 · in Winning Wordle
  31. …of the "Norvig approach" to things, his Advent of Code solutions in IPython notebooks are fun: https://github.com/norvig/pytudes
    comment by mattarm · 2022-02-07 · in A Retrospective on PAIP (2002)
  32. …insane. A couple of list comprehensions shouldn't scare you. Look above and beyond the details. [1] https://github.com/norvig/pytudes/blob/main/ipynb/Cheryl.ipy...
  33. …at his solutions for advent of code [0] brings just so much learnings. Strongly recommend. [0] https://github.com/norvig/pytudes/blob/master/ipynb/Advent%2...
  34. …the other two probability notebooks: - Probability, Paradox, and the Reasonable Person Principle https://github.com/norvig/pytudes/blob/master/ipynb/Probabil... - Estimating Probabilities with Simulations…
    comment by sillysaurusx · 2021-06-03 · in A Concrete Introduction to Probability (2018)
  35. Check out Peter Norvig's neat BASIC Interpreter https://github.com/norvig/pytudes/blob/master/ipynb/BASIC.ip...
    comment by theodpHN · 2021-04-24 · in Resources for Amateur Compiler Writers
  36. …a "literate programming" system. Notable examples include Peter Norvig's œuvre (there's a list at https://github.com/norvig/pytudes#pytudes-index-of-jupyter-i... ). I find this a very comfortable and powerful medium for this form of…
  37. …ps://github.com/tuvtran/project-based-learning#python * https://github.com/karan/Projects-Solutions * https://github.com/norvig/pytudes * What do you automate with Python at home? - https://www.reddit.com/r/learnpython/comments/k5k1h0/what_…
    comment by asicsp · 2021-02-09 · in Show HN: "100 Page Python Intro" eBook
  38. …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...
  39. …tracking, model deployment, live editing and scheduling for notebooks[1]. - [0]: https://github.com/norvig/pytudes#pytudes-index-of-jupyter-i... - [1]: https://iko.ai
    comment by Jugurtha · 2020-10-05 · in Jupyter Notebooks Gallery
  40. Peter Norvig has provided some good examples here: https://github.com/norvig/pytudes In general, he has some examples of good idiomatic python on his site as well: https://norvig.com/
  41. …years of Advent of Code they are available as notebooks in Peter Norvig's pytudes repository: https://github.com/norvig/pytudes
    comment by sunaden · 2019-12-02 · in Advent of Code 2019
  42. …[2] https://nbviewer.jupyter.org/github/norvig/pytudes/blob/mast... [3] https://github.com/norvig/pytudes [4] http://aima.cs.berkeley.edu/ [5] https://www.udacity.com/course/intro-to-artificial-intellige...
  43. For example Peter Norvig does an exemplary job with jupyter notebooks for expository writings: https://github.com/norvig/pytudes
  44. https://mybinder.org/v2/gh/norvig/pytudes/master and https://github.com/norvig/pytudes/#pytudes to see what it looks like in the original repo (I am a project lead on binder)
  45. OP here. I really enjoyed reading through Peter Norvig's AoC solutions a while back: https://github.com/norvig/pytudes/blob/master/ipynb/Advent%2... I'm no Norvig, but I thought I'd try my hand at walking the reader through my own…
    comment by fogleman · 2018-12-18 · in Advent of Code Python Solutions, Explained
  46. He also did one for 2017[0]. I imagine if he does this one it will end up in the same repo. [0] https://github.com/norvig/pytudes/blob/master/ipynb/Advent%2...
    comment by kbirkeland · 2018-11-30 · in Advent of Code 2018
  47. Peter Norvig did one for Python, and it's pretty cool: https://github.com/norvig/pytudes/blob/master/ipynb/BASIC.ip...
  48. …and calls them "pytudes" = "python" + "etudes", although they should be solvable in any language) https://github.com/norvig/pytudes Rosetta code also has a great selection of problems / solutions in various languages:…
  49. …the main benefit is that others can point errors and omissions. Peter Norvig does it too: https://github.com/norvig/pytudes/blob/master/ipynb/Economic... What you are simulating is just tiny part of the Economies of agglomeration…
  50. …Go through one of them and tell me it's not a good aid in teaching people concepts. [1]: https://github.com/norvig/pytudes/