First steps with FastAPI and Poetry, revisited after Poetry 2
In February 2025 I posted a FastAPI walkthrough with Poetry. A month earlier, Poetry 2 had taken two commands the post used out of its core. This is the version that works today.
Python
34 articles
All the articles I've archived.
In February 2025 I posted a FastAPI walkthrough with Poetry. A month earlier, Poetry 2 had taken two commands the post used out of its core. This is the version that works today.
Python
In 2024 I explained variables with the image of a box in memory and the ASCII table. Revisiting it, two things need adjusting: Python doesn't work exactly like a box, and the example itself had text outside ASCII.
Programming fundamentals
In 2024 I posted the Zen of Python aphorisms with a tip and an example for each. Looking back, several examples didn't show what the aphorism says, and two contradicted each other. This is the corrected version.
Python
touch, mkdir, mv, cp, rm, chmod, echo, nano and vim. Revisiting the 2024 guide, which had options that don't exist and a mixed-up nano shortcut. This version has only what I tested.
Linux
ls, pwd, cd, find, grep, cat, less and wc. Revisiting the January 2024 guide, whose sample outputs didn't match the text. This version uses real outputs.
Linux
In 2023 I posted the OBJECT_DEFINITION query I use at work with SQL Server databases. It works, but LIKE's _ is a wildcard, encrypted procedures come back empty and, to find who uses a table, there's a better way.
Databases
The second article of the intro-to-programming series, from 2017, with the properties and types of algorithms. Rereading it, two of the properties I would write differently today.
Programming fundamentals
In 2017 I opened an intro-to-programming series with the most basic question: what is a program? Revisiting the text, with the credit that was missing and what I would add today.
Programming fundamentals
Learn how to use the "ls" command in Linux to list directory contents, including options like -l, -a, -i, and more. Explore file permissions and concepts like setuid, setgid, and sticky bit.
Linux
In January 2017 I opened a series on Linux explaining what it is. Revisiting the text, with the history I promised and never wrote, and with what changed at the companies I mentioned.
Linux
Discover what Agile software development is and how Scrum has become a practical approach to increase productivity. Explore the principles of Scrum and why it is a valuable tool in software engineering projects and beyond.
Agile methods
In 2016 I recommended MaterializeCSS for simple projects with strong visual appeal. Two years later the original project stopped at version 1.0. Revisiting the recommendation with what we know today.
Front-end
Learn how to customize the name and link of your PrestaShop store's homepage directly in the database. This guide offers step-by-step instructions to make this change using a database management tool like phpMyAdmin.
PrestaShop · Databases
Learn how to use an SQL query to list posts by category in WordPress. This guide includes instructions on how to find the ID of the desired category.
WordPress · Databases
In 2015 I wrote that raising upload_max_filesize was enough. post_max_size was missing, and so was where the change works: php_value in .htaccess brings down sites that run PHP-FPM.
PrestaShop · PHP
Learn how to easily convert a MySQL database character set to UTF-8.
Databases
Learn how to resolve the "Mage registry key _resource_helper/core already exists" error when transferring your Magento store to a hosting server and avoid registry issues.
Magento
Learn how to resolve the "Technical Error Unable To Load Form" when creating a new account in Prestashop store and avoid sales loss.
PrestaShop
Learn how to enable error debugging in Prestashop to diagnose problems and troubleshoot them efficiently.
PrestaShop · PHP
Learn how to fix the PHPMAILER_RECIPIENTS_FAILED error when trying to submit a form on your Joomla site, either by editing the code or adjusting email settings in Joomla administration.
Joomla
Learn how to fix the PayPal error that says "Callback URL is wrong type" when configuring it in your Magento store. This solution involves disabling express checkout or installing an SSL certificate on your server.
Magento
Learn how to delete unfinished, old, or test orders in Prestashop, either by editing the AdminOrders.php files or using a free module.
PrestaShop
Learn how to resolve issues with tracking codes not appearing after changing the product status to 'Shipped' in Prestashop. This guide explains how to add the tracking URL directly into the database, especially for version 1.4.x of the Prestashop store.
PrestaShop
Learn how to fix the 'Warning - PARAMETER 1 TO MODMAINMENUHELPER::BUILDXML() EXPECTED TO BE A REFERENCE' error that occurs due to script incompatibility with PHP 5.3 or higher in Joomla.
Joomla · PHP
Learn how to fix the 500 PHP REGULAR EXPRESSION LIMIT REACHED (PCRE.BACKTRACK_LIMIT) error in Joomla by adding lines of code to the configuration file or php.ini.
Joomla · PHP
Learn how to reset the administrator password in WordPress when dashboard access is locked, using SQL queries or manipulating the active theme's functions.php file.
WordPress · Databases
Learn how to use SQL queries to check allocated space and free space in a MySQL database, allowing better management of your system.
Databases
The error shows up when the setting that tells which status an order gets is missing. In 2013 I published an INSERT to recreate those keys; today I would query first, because the IDs vary from store to store.
PrestaShop · Databases
In 2012 I swapped the file with phpinfo() for php -i over SSH. The command is still useful, but it shows the command-line configuration, which is not always the same as the website's.
PHP · Linux
In 2012 one line in .htaccess made my site faster. Looking back: what that line does, where Keep-Alive is configured in Apache and how to check it with curl.
Infrastructure · Performance
Learn how to allow access to the WordPress admin panel using the email address as the username. This guide shows how to add a conditional code to your theme's functions.php file to facilitate login if you forget your username.
WordPress · PHP
In 2012 I listed WordPress's 11 tables. Today there are 12, and the list alone isn't enough: the table + meta pattern explains almost everything, and editing the database directly has two well-known traps.
WordPress · Databases
The 2012 rules still block wp-config.php, but they use Apache 2.2 syntax, the .htaccess rule had a regular expression bug and backup copies were left out.
WordPress · Security
In 2012 I showed how to store the FTP details in wp-config.php or use FS_METHOD direct. Both work, but the FTP screen isn't about 755 permissions: it's about who owns the files.
WordPress · Infrastructure