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. ▲ 1
    How to Count Things (2020)
    story by sam1r · 2022-03-03 · 0 comments
  2. 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)
  3. ▲ 78
    Split the States (2021)
    story by tosh · 2022-03-03 · 38 comments
  4. 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
  5. ▲ 231
    Winning Wordle
    story by monsieurpng · 2022-03-01 · 131 comments
  6. …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)
  7. …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...
  8. ▲ 198
    Pytudes: Python programs for perfecting particular programming skills
    story by Tomte · 2021-12-27 · 13 comments
  9. ▲ 2
    Ask HN: What are you favourite public jupyter notebooks?
    story by kosyooo · 2021-06-07 · 0 comments
  10. …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...
  11. …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)
  12. ▲ 529
    A Concrete Introduction to Probability (2018)
    story by tosh · 2021-06-03 · 75 comments
  13. ▲ 1
    A Concrete Introduction to Probability (using Python) (Norvig, 2018)
    story by tosh · 2021-05-10 · 0 comments
  14. 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
  15. …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…
  16. …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
  17. …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...
  18. ▲ 306
    Peter Norvig's “pytudes” for Advent of Code 2020
    story by ff7f00 · 2021-01-06 · 89 comments
  19. ▲ 5
    Pytudes: Python programs of considerable difficulty to perfect particular skills
    story by kristianp · 2021-01-01 · 0 comments
  20. …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
  21. 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/
  22. ▲ 242
    Peter Norvig's Economic Simulation (2018)
    story by ColinWright · 2020-02-21 · 112 comments
  23. …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
  24. ▲ 1
    Pytudes: Python programs to practice or demonstrate skills
    story by mpiedrav · 2019-11-28 · 0 comments
  25. ▲ 8
    Convex Hull Problem – Norvig
    story by e83f70479b · 2019-07-31 · 0 comments
  26. …[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...
  27. For example Peter Norvig does an exemplary job with jupyter notebooks for expository writings: https://github.com/norvig/pytudes
  28. ▲ 6
    Peter Norvig's Pytudes: Python programs to practice or demonstrate skills
    story by headalgorithm · 2019-03-07 · 0 comments
  29. 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)
  30. 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
  31. 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
  32. Peter Norvig did one for Python, and it's pretty cool: https://github.com/norvig/pytudes/blob/master/ipynb/BASIC.ip...
  33. …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:…
  34. …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…
  35. …Go through one of them and tell me it's not a good aid in teaching people concepts. [1]: https://github.com/norvig/pytudes/
  36. …you should read norvig post: http://norvig.com/21-days.html , also to learn to program in python: https://github.com/norvig/pytudes I believe that in a year or two you could be prepared to judge your progress
  37. …many Jupyter or IPython notebooks would qualify, for example Peter Norvig's programming exercises: https://github.com/norvig/pytudes
    comment by jonjacky · 2018-04-14 · in Ask HN: Example of annotated source code
  38. ▲ 2
    Solution to Xkcd Name Dominoes Comic by Peter Norvig
    story by deegles · 2018-04-03 · 1 comment
  39. …builds confidence to the model. Some other results: * Peter Norvig: Simple Economics Simulation: https://github.com/norvig/pytudes/blob/master/ipynb/Economic... * Uri Wilensky even simpler version http://www.decisionsciencenews.com/2017/06/…
  40. ▲ 13
    Peter Norvig's Pytudes
    story by prando · 2018-03-02 · 1 comment
  41. …they're worth learning about too. Nowadays if you prefer Python you can get a similar experience at https://github.com/norvig/pytudes#pytudes-index-of-jupyter-i... treating different examples. One more personal reaction I had to this book:…
  42. There is mybinder.org to run jupyter notebooks online . For example, https://github.com/norvig/pytudes
    comment by d0mine · 2018-02-01 · in Show HN: Observable Notebooks
  43. +1 Here's a link to Norvig's (self annotated!) github repo: https://github.com/norvig/pytudes
    comment by svec · 2017-12-29 · in Effective Engineer – Notes
  44. …be similar to what you are looking for. I enjoyed reading his Advent of Code post last year[2] [1] https://github.com/norvig/pytudes [2] https://nbviewer.jupyter.org/url/norvig.com/ipython/Advent%2...
    comment by anuragsoni · 2017-12-01 · in Perl 6 Advent Calendar
  45. …I browsed make sense, but his coding style is peculiar, and somewhat un-pythonic. For instance: https://github.com/norvig/pytudes/blob/master/py/SET.py Why the CAPS name? Why are we defining `test` if we’re just running it on the next line…
  46. https://github.com/norvig/pytudes/blob/master/ipynb/Cheryl-a...
  47. Isn't it right here? https://github.com/norvig/pytudes/blob/master/ipynb/Cheryl-a...
  48. ▲ 937
    Norvig's Python programs to practice or demonstrate skills
    story by federicoponzi · 2017-11-27 · 84 comments
  49. ▲ 7
    Pytudes by Peter Norvig
    story by rrherr · 2017-10-03 · 0 comments
  50. ▲ 1
    Countdown to 2016
    story by happy-go-lucky · 2017-09-25 · 0 comments