Miguel Grinberg

Miguel Grinberg

@miguelgrinberg.com

I write software. And from time to time, I write or speak about writing software.

475 followers53 following49 posts

Miguel Grinberg reposted

I don't know how to explain to the people who pop up when creatives complain about "AI" to say there are legit uses for it just how much they sound like someone saying "Well actually fire is used to make bread" when people are talking about an organized arson ring burning down their fucking houses

Miguel Grinberg reposted

A Borges story about a guy who gets AI to summarize all the world’s information for him, and then summarize the summary, until the AI has the whole world summarized into a single word. He sits alone at his desk, staring at the word, repeating it endlessly, certain he is experiencing everything

The cons of generative AI for authors and artists are still there, even if you as a software developer don't experience them directly.

Simon Willison@simonwillison.net

I think that may be the core division here: if you are an author or an artist the cons of generative AI very likely outweigh the pros for you If you are a software developer the opposite is true

Miguel Grinberg reposted

Python tip: the str.split() method does something completely different when called without arguments vs. passing a separator character. I spent more time than I'm willing to admit today debugging a string parser, and this was the main issue!

This means a lot coming from you @daniel.feldroy.com, thanks!

Daniel Roy Greenfeld@daniel.feldroy.com

Today I'm marvelling at @miguelgrinberg.com's Microdot framework. Concise yet understandable code. Lovely in-line documentation. I've always respected his work, today I'm in awe of it. github.com/miguelgrinbe...

And here is the list of Microdot features, both for the core part (just 765 lines of code!) and the optional features. I am really proud of having been able to pack so much stuff in so few lines of code!

I'm back from #EuroPython. I have to congratulate the organizers for including a well balanced selection of topics in the program, with a lot of options for those of us who are tired of hearing about Generative AI.

However, Generative AI as a topic crept pretty much into every hallway conversation at #EuroPython. Even though I'm tired of hearing about GenAI and being asked what I think of it, I was surprised to find much more people than I expected aligned with my views and sharing my concerns.

In case you haven't heard, The Pragmatic Bookshelf is offering my Flask Mega-Tutorial ebook on sale at 40% off between today and May 7th. Use promo code "2025POLYGLOT" at checkout to receive the discount! pragprog.com/titles/d-mgf...

pragprog.comThe New and Improved Flask Mega-TutorialOverarching tutorial for Python beginner and intermediate developers that teaches web development with the Flask framework.

media.pragprog.com/n... - Advanced Hands-on Rust by @herberticus.bsky.social - Automate Your Home Using Go by Ricardo Gerardi and Mike Riley - Effective Haskell by @cercerilla.bsky.social - The New and Improved Flask Mega-Tutorial by @miguelgrinberg.com

Just received confirmation that my talk on Microdot has been accepted at #EuroPython2025 in Prague. I look forward to seeing some of you in July and sharing an update on this project!

Miguel Grinberg reposted

@miguelgrinberg.bsky.social I have tried close to 10 times to sit down and truly get flask and databases in general, until your flask tutorial made it all click. Literally everything down to the source files. Did it take a while to digest? Yes. But will I know it forever now? Absolutely. Thanks!

Studious@studiousb.bsky.social

“The New and Improved Flask Mega-Tutorial” by Miguel Grinberg is one of the best resources for people who have made a few flask apps before and are ready to really dive in. I really appreciate how in depth it went conceptually. #python #flask #webapp #web #software

It's great that I have a long holiday break from work, as that allows me to give my full attention to my open source projects. In the last few days I have released new versions of my Socket.IO packages for Python, with several improvements and bug fixes, so be sure to upgrade if you use them!

Someone asked me if GitHub Copilot and other GenAI tools help me make more money in my work. The answer is no. Despite the hype, these tools are very primitive and cannot write production level code. How do you make money with AI then? A sure way is to sell AI as the product itself!

This works because while the AI hype lasts, lots of people want to learn AI topics. Even though I find AI coding tools to be pretty useless for serious work, I'm sure a course that teaches others how to code with AI would do very well. I'm just glad I have no need to do that to earn money!

You are up to date.