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
Posts by Miguel Grinberg
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
If you have purchased any of my books or video courses, note that I am migrating my courses site to a new platform. Details in this blog post: blog.miguelgrinberg.com/post/my-cour...
New blog post: How to Add a Quick Interactive Map to your Website blog.miguelgrinberg.com/post/how-to-...
New blog post: CSRF Protection without Tokens or Hidden Form Fields blog.miguelgrinberg.com/post/csrf-pr...
New blog post: How to Securely Store Secrets in Environment Variables blog.miguelgrinberg.com/post/how-to-...
The cons of generative AI for authors and artists are still there, even if you as a software developer don't experience them directly.
PyCon Ireland 2025 is next weekend and I will be speaking about Server Sent Events. I hope to see some of you there!
On this week's episode, @digiglean.bsky.social and I talk about loads of PEPs, more 3.14 news, and discuss what it means to have good engineering taste.
With content from: @brianokken.bsky.social @miguelgrinberg.com @changs.co.uk @davepeck.org and others not on the 🦋
@nader.mx hi, I'll try to find out what's going on. The people who used your gifts are still members as far as I can see.
A true professional is measured by the quality of their work, not by the tools they choose to use or not use.
A Python screenshot that shows that str.split() breaks a string and groups multiple spaces into a single break, while str.split(" ") breaks at every single space, creating additional empty elements in the split list.
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!
Certainly! 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!
This is the slide of my #EuroPython presentation about my Microdot web framework for Python and MicroPython in which I compare its size against well known frameworks.
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.
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.
Miguel Grinberg and me
The man, the myth 🇦🇷 @miguelgrinberg.com
And I'm off to #EuroPython. I hope to meet some of you in Prague this week!
Why Generative AI Coding Tools and Agents Do Not Work For Me blog.miguelgrinberg.com/post/why-gen...
So you let Claude loose on the code, let it try and fail a few times (we don't know how many/for how long) and led it to find you which flag can be used here. Still impressive that it found you a solution, but it would be useful to see the entire context for this session and not just the last bit.
I feel you are underselling yourself here. A person of your experience doesn't just "copy paste". You must have realized that adding an option with such a vague name as "--all-features" could be trouble, correct? Even before seeing the build still failing you must have known this option had to go.
The bug that was addressed by Claude in this example was introduced in a previous commit in that same PR, when the --all-features flag was added to the wasm build. Was this flag added by you, or by Claude in a previous attempt? In other words, is Claude here fixing your mistake or its own?