Wed 20 August 2025

Vibe Coding Experiment Failures

Posted by Al Sweigart in misc   

Over the past week I've been experimenting with vibe coding: asking LLMs such as ChatGPT, Claude, and Gemini write entire apps as if I had absolutely no programming ability at all. LLMs can easily solve programming challenges or interview questions. But I wanted to see how far the current LLMs can go when asked to make complete apps, and what kinds of failure patterns emerge. From the role of a non-programmer, I would only be able to fix bugs by describing them to the LLM. For simplicity, I choose small apps written in Python that use only the standard library and the tkinter package for the GUI. This blog post details the failures: the kinds of apps that AI just isn't capable of making.

Read more...


Mon 18 August 2025

Al Sweigart's Endorsements for PSF Board 2025

Posted by Al Sweigart in misc   

The nominees for the Python Software Foundation's Board of Directors 2025 election have been announced. You can find a full list on the nominees page. This year there are 4 seats open on the PSF Board. You can see who is currently on the board on the PSF Officers & Directors page. I'm pleased to announce I'm endorsing the following nominees: Abigail Dogbe, Archana Vaidheeswaran, Daniele Procida, Jannis Leidel, Sheena O'Connell, Simon Willison

Read more...




Mon 07 July 2025

Audio, Video, and Webcams in Python (Lost Chapter from Automate the Boring Stuff)

Posted by Al Sweigart in misc   

The third edition of Automate the Boring Stuff with Python is now available for purchase or to read for free online. It has updated content and several new chapters, but one chapter that was left on the cutting room floor was "Working with Audio, Video, and Webcams". I present the 26-page rough draft chapter in this blog, where you can learn how to write Python code that records and plays multimedia content.

Read more...



Sun 29 June 2025

What is the difference between GitHub vs. GitLab vs Alternatives?

Posted by Al Sweigart in misc   

This article and its content were written, reviewed, and verified by a human, Al Sweigart. In my research I found that most "GitHub vs GitLab" articles are AI slop containing false or outdated information. I wrote this article with links to actual documentation pages, and not just copying what every other article on this topic says. For those who have heard of this "Git stuff," here's a summary of the differences and details. My hot take: For the needs of most individual or small group users, they're basically the same. GitLab seems to be more oriented towards self-hosting and custom configuration. Wikipedia has an extensive comparison list of source code repo hosting servers.

Read more...



Sat 04 May 2024

Fabric.js Tutorial Part 6

Posted by Al Sweigart in misc   

Part 5 of a tutorial series on the Fabric.js canvas/graphics library for JavaScript, we'll learn how to change the size of shapes by scaling them with the scale() method. We'll also get some more practice drawing in general. We'll draw this forest:

Read more...