Comment by nadermx

5 days ago

Tangential, but I practically owe my life to this guy. He wrote the flask mega tutorial in what I followed religiously to launch my first website. Then right before launch, in the most critical part of my entire application; piping a fragged file in flask. He answered my stackoverflow question, I put his fix live, and the site went viral. Here's the link for posterity's sake https://stackoverflow.com/a/34391304/4180276

You have made my day, sir. :)

  • When I was in college I discovered the flask mega tutorial and fell in love with programming. Switched from an economics degree to software engineering and now work in the industry.

    Thank you for the work you put in.

    • Also discovered flask in college but was a year away from finishing a marketing degree.

      I'm now a SWE with just a marketing degree!

      1 reply →

    • Economist here, started to learn to code as an elaborate way to procrastinate on my master's thesis after I've quit playing videogames.

  • Absolutely love seeing like a dozen people piling on Mr Grinberg to show gratitude for his work, and indeed the even little things he does to help uplift others in the field. It’s a good reminder that a small helpful contribution, or bit of teaching given at the right time, can be so valuable!

  • I also want to say thank you for the Flask Mega Tutorial.

    When I started my first job as a Data Scientist, it helped me deploy my first model to production. Since then, I’ve focused much more on engineering.

    You’ve truly started an amazing journey for me.

    Thank you. :)

  • Whoa! You're here! Well, I think a lot of us owes you a debt of gratitude. Thank you for all you've done for the Python and Flask community.

  • I also want to chime in and say how you changed my life. I did the same Flask megatutorial and that led me to leaving helpdesk and becoming a support engineer. Years later, and I'm now in big tech. Thanks Miguel!

  • Thank you for the Flask Tutorial, it got me started in web development and down the line into systems development.

  • I came way late to the game, so went more the video side, so I have the same feelings about Pretty Printed, love his stuff.

    But just now checking out the Mega Flask Tutorial, wow looks pretty awesome.

  • Amazing to see all of the people thanking you! Great to see that gratitude is still alive and well. You seemed to have touched a lot of lives through that mega tutorial! wow!

  • I learnt a lot from your numerous Flask blog posts over the years. Your blog is often better than the official Flask docs. Kudos to you, Miguel!

  • I also used your tutorial to get started with web development and helped me get my first job about 11 years ago. Thanks a lot!

  • I also got started in webdev and built a few sitesdl from your tutorial. Thank you!

> flask

Off-topic, but I absolutely loathe new Flask logo. Old one[0] has this vintage, crafty feel. And the new one[1] looks like it was made by a starving high schooler experimenting with WordArt.

[0] - https://upload.wikimedia.org/wikipedia/commons/3/3c/Flask_lo...

[1] - https://flask.palletsprojects.com/en/stable/_images/flask-na...

Nice story! My guess is that the site was https://yout.com/ given your profile. Does it still run Flask?

  • It's all grown up now. Runs on Django for the admin panel. Not that flask ever failed. Just became easier to manage the user base that way.

    • because of Django admin? any downsides/notable warnings for people considering Flask v Django? any migration guide that's helpful?

      4 replies →

Thanks for sharing this story. It goes to show how much of a difference being kind and helping a stranger can make.

Hope I'm able to do the same for someone one day :)

For anyone else wondering whether to click to find what "fragged file" means: no, it's not about Quake and the linked page does not mention 'frag' at all. The question asks how to stream a file to the client in Flask as opposed to reading it all into memory at once and then sending it on. I figured as much (also because e.g. IP fragmentation) but first time I hear this alternative term for streaming

Similar story here. Pleasant to work with too.

The accessibility of this material and also the broader python ecosystem is truly incredible. After reflecting on this recently, started finding ways to give back/donate/contribute.

Same happened to me; I owe a career to having gone through his Mega Tutorial. Miguel if you're reading this, thank you from the bottom of my heart.

When I saw you were using readlines to read binary file I thought wtf at first, seems like he noticed as well.

The other answer to your question there is why Flask is so good. One short file and you have a backend and a frontend!

Yet another appreciation story for Miguel’s mega tutorial. In 2017 I used it to create our wedding site and learn a bit of web dev (my background is in data science). To motivate me to actually do it I used the strategy the fund the then occurring refactoring of the tutorial. I am still very fond and proud of that first time I actually went and funded some open source effort, it gives you back more than you might expect

Cool story, but was your life really at risk in that situation?

Did you throw any money his way?