Top all-time · #653
Miguel Grinberg
Personal blog · blog.miguelgrinberg.comprogrammingweb
Miguel Grinberg's personal blog at blog.miguelgrinberg.com covers programming and web. Since 2012, 96 different Hacker News readers have linked it 159 times, most often “Flask Mega-Tutorial (2017)”. It is still writing: the last post was on 2026-10-27, and you can follow it by feed.
Often recommended · 21 of 40 sampled comments recommend it?
Why HN links it
HN readers link Miguel Grinberg's blog mainly for the Flask Mega-Tutorial, which commenters call the Flask bible and recommend to beginners, plus his MicroPython posts.
- Recommended for · 21 comments
- Flask Mega-Tutorial called 'the bible' and 'a good starting point'; token auth example 'works very well in practice'.
Summarised by Claude from a sample of 40 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
miguelgrinberg.com
Most-linked posts?
- Flask Mega-Tutorial (2017)27 people · 31 mentions · first linked 2017-02-16
- The Flask Mega-Tutorial12 people · 22 mentions · first linked 2012-10-12
- Ignore All Web Performance Benchmarks, Including This One8 people · 9 mentions · first linked 2020-10-06
- Easy WebSockets with Flask and Gevent3 people · 3 mentions · first linked 2014-02-10
- Python 3.14 is here. How fast is it?3 people · 3 mentions · first linked 2025-10-08
- Designing a RESTful API with Python and Flask3 people · 3 mentions · first linked 2013-05-20
- Generative AI coding tools and agents do not work for me3 people · 3 mentions · first linked 2025-06-15
- Using JavaScript-style async promises in Python3 people · 3 mentions · first linked 2021-11-24
- How to Write Unit Tests in Python, Part 1: Fizz Buzz – Miguelgrinberg.com2 people · 3 mentions · first linked 2021-03-15
- How to Make Python Wait2 people · 2 mentions · first linked 2019-02-05
What Hacker News says?
Django has good tutorials, I don't know about building "one app" though. I'm sure you can find some of lesser quality; Hartl's tutorial is one of the very best. If you don't mind drawing out your learning process, you could walk through Hartl's tutorial and do the equivalent in Python (probably with much help from google). So you couldn't use his code examples, but you could set up the same DB structure, the same ty…
Comment linking /post/the-flask-mega-tutorial-part-i-hello-world
on “Ask HN: What are some books where the reader learns by building one project?”Submitted Python 3.14 is here. How fast is it? as a story · 746 points
HN discussionMiguel Grinberg's "Flask Web Development" [1] is an excellent introduction Python-based web development. You build a Twitter-clone. The book is an adaptation of the authors 18-part tutorial on the same topic [2]. [1] http://shop.oreilly.com/product/0636920031116.do [2] https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial...
Comment linking /post/the-flask-mega-tutorial-part-i-hello-world
on “Ask HN: What are some books where the reader learns by building one project?”Submitted Generative AI coding tools and agents do not work for me as a story · 399 points
HN discussionSame! This tutorial from 2012 was one of the first things I did in Python. Coming from PHP it was so refreshing. https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial...
Comment linking /post/the-flask-mega-tutorial-part-i-hello-world-legacy
on “Python 3.14 is here. How fast is it?”Submitted The Flask Mega-Tutorial as a story · 243 points
HN discussionGreat topic. We sound a lot alike. I work in a different sector, but I'm also now squarely in management and have been for a while, and my previous expertise was data engineering and infrastructure. Started with zero front end ability, and also not much Python either since I'm in the size of company and industry that still accomplishes most data work in SAS, and what it can't, Informatica and DataStage. Here's where…
Comment linking /post/the-flask-mega-tutorial-part-i-hello-world
on “Ask HN: Building a side project that makes money. Where to start?”Submitted Flask Mega-Tutorial (2017) as a story · 234 points
HN discussionI'm a huge fan of Miguel Grinberg's Flask Mega-Tutorial. It's been around for a while, but he did a major update in 2017 to bring it more up to date. https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial...
Comment linking /post/the-flask-mega-tutorial-part-i-hello-world
on “Ask HN: Your favourite tutorial for total beginners?”Submitted How LLMs Work, Explained Without Math as a story · 215 points
HN discussionFor my headless Pis, I attach a BT TTL serial port to the rx/tx pins. They run about $15 or less. This lets me pair to the serial port from my laptop, watch it boot the kernel, login and do whatever cli commands I need. I can also use BlueTerm on my android phone to do the same thing (though make sure you get the hacker keyboard if you go this route). Here's pretty much the article I followed, though I bumped my con…
Comment linking /post/a-cheap-bluetooth-serial-port-for-your-raspberry-pi
on “Raspberry Pi touch display”Submitted How to Make Python Wait as a story · 167 points
HN discussionMaybe reverse-SEO would be good: list higher those sites with less SEO-complicance lol I have an analogy: I'm new to programming and have been trying to build a web app using python. I went through a lot of websites and youtube videos, and the most fancy-looking ones where more often than not incomplete or bad. When there was a video and the "youtuber" would hit me asking for subscription or like all the time, or fa…
Comment linking /
on “Show HN: Runnaroo – A new search engine”Submitted Sync vs. Async Python: What Is the Difference? as a story · 151 points
HN discussionthe bible: http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-...
Comment linking /post/the-flask-mega-tutorial-part-i-hello-world
on “Building Large Flask Apps in the Real World”Submitted The Flask Mega-Tutorial (2012) as a story · 147 points
HN discussionIf your interested in websockets for flask, Miguel Grinberg has a straightforward implementation: http://blog.miguelgrinberg.com/post/easy-websockets-with-fla...
Comment linking /post/easy-websockets-with-flask-and-gevent
on “Building Large Flask Apps in the Real World”Submitted The Ultimate Guide to Error Handling in Python as a story · 96 points
HN discussionAnother great resource for micropython tutorials is Miguel Grinberg’s blog [0]. In fact his blog is a gold mine for Flask development as well. [0] https://blog.miguelgrinberg.com/category/MicroPython
Comment linking /category/MicroPython
on “MicroPython”Submitted Microdot: Yet another Python web framework as a story · 95 points
HN discussion> Seniors' attitudes on HN are often quick to dismiss AI assisted coding as something that can't replace the hard-earned experience and skill they've built up during their careers. One definition of experience[0] is: direct observation of or participation in events as a basis of knowledge Since I assume by "AI assisted coding" you are referring to LLM-based offerings, then yes, "hard-earned experience and skill" can…
Comment linking /post/why-generative-ai-coding-tools-and-agents-do-not-work-for-me
on “Snorting the AGI with Claude Code”Submitted Python 3.14 Is Here. How Fast Is It? as a story · 85 points
HN discussionTo me, every framework or web oriented language out there should have a big tutorial similar to https://railstutorial.org/book because it covers a lot of things regarding classic everyday web development which is extremely useful to beginners. So just for the existence of that book I'd say yeah, Rails is still relevant. There is also this one for flask which builds an web app from start to finish for people who like…
Comment linking /post/the-flask-mega-tutorial-part-i-hello-world
on “Is Rails still relevant in 2018?”Submitted How Fast is Python 3.15? as a story · 79 points
HN discussionFlask will take you pretty far. I'm not sure I would build a build a business around it, but it's the easiest thing I've found for just getting some code up on the web. This tutorial is a pretty in-depth guide that incrementally adds more features to a flask app: https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial... By no means do you need to use everything in here, but I reference it from time to time. Th…
Comment linking /post/the-flask-mega-tutorial-part-i-hello-world
on “Building a fullstack app with Flask and HTMx”Submitted Goodbye, Twilio as a story · 55 points
HN discussionThis is great. For anyone interested in learning further, this is basically considered the Flask bible: http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-...
Comment linking /post/the-flask-mega-tutorial-part-i-hello-world
on “Discover Flask”Submitted Be Using Rootless Containers as a story · 41 points
HN discussionSorry I'm too ashamed, I was learning basically all the technology involved. I can give a recipe: first 4 pages of this: * https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial... swapped out/skipped the sqllite3 for a single hardcoded user class (it's just me!) * throw in boto3 routes which do add/remove/clear ip rules, and start/stop instances, a list of checkboxable instances pulled from ec2 listing them *…
Comment linking /post/the-flask-mega-tutorial-part-i-hello-world
on “Show HN: HomelabOS – Ansible scripts to deploy self hosted cloud services”Submitted Is Python That Slow? as a story · 37 points
HN discussion