# Adam Johnson

Published articles for Adam Johnson.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Zsh: measure command durations with the time command, TIMEFMT, and REPORTTIME

DevFeed: [Zsh: measure command durations with the time command, TIMEFMT, and REPORTTIME](<https://devfeed.tech/articles/zsh-measure-command-durations-with-the-time-command-timefmt-and-reporttime-126493.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/11/09/zsh-time/>)

Author: Adam Johnson

Published: 2026-11-09T00:00:00Z

Content type: article

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [Shell](<https://devfeed.tech/topics/shell.md>), [POSIX](<https://devfeed.tech/topics/posix.md>), [Bash](<https://devfeed.tech/topics/bash.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [cpu-time](<https://devfeed.tech/tags/cpu-time.md>), [posix](<https://devfeed.tech/tags/posix.md>), [time](<https://devfeed.tech/tags/time.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

Zsh's built-in `time` reports a command's user and system CPU time, CPU percentage, and elapsed time in one line; its figures have the same meanings as Bash's `real`, `user`, and `sys` values, though Bash formats them across three lines. CPU percentage can help indicate whether a command is computing or waiting, and values above 100% indicate use of multiple cores. Zsh reports pipeline commands separately; wrap a pipeline, multiple commands, a brace group, or a shell function in parentheses to time them together. Customize output with `TIMEFMT`, which can use different time precision and include resource statistics such as maximum memory. The `%M` memory unit differs by OS: the article reports kilobytes on macOS and megabytes on Linux due to a long-standing bug. Set `REPORTTIME` to report commands above a CPU-time threshold; commands that mostly wait may not trigger it.

### Source excerpt

time is a POSIX utility for timing commands. Most shells build it in, and Zsh's version has a lot more to offer than the one in Bash. Put time before a command to time it. For example, to time a Python script: $ time python example.py python example.py ...

## Django: introducing django-launch-editor for jump-to-file debugging

DevFeed: [Django: introducing django-launch-editor for jump-to-file debugging](<https://devfeed.tech/articles/django-introducing-django-launch-editor-for-jump-to-file-debugging-123533.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/11/08/introducing-django-launch-editor/>)

Author: Adam Johnson

Published: 2026-11-08T00:00:00Z

Content type: release

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Django](<https://devfeed.tech/topics/django.md>), [Visual Studio Code](<https://devfeed.tech/topics/visual-studio-code.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>)

Tags: [debugging](<https://devfeed.tech/tags/debugging.md>), [django](<https://devfeed.tech/tags/django.md>), [editor](<https://devfeed.tech/tags/editor.md>)

### AI overview

django-launch-editor turns file locations on Django's debug error page into links that open an editor at the reported line and, when available, column. Setup requires installing the package, setting Django's DEFAULT_EXCEPTION_REPORTER to its reporter class, and adding its URLs. With DEBUG=False, it adds nothing to error pages and does not register its URL. Because it launches the editor from the Django server process, direct opening works only when the server runs on the same machine as the editor; for a remote or containerized server, clicking instead shows a dialog and copies the location to the clipboard. The underlying launch-editor-py package detects editors and uses editor-specific command syntax; its API and CLI accept file locations with optional line and column.

### Source excerpt

I've made another package! django-launch-editor makes the file locations on Django's debug error page into links that open your editor. Here's how it looks, on a KeyError from the package's example project: (Click to enlarge.) The change against stock Django is subtle, but can you spot ...

## Zsh: glob case-insensitively with the (#i) glob flag and the no\_case\_glob option

DevFeed: [Zsh: glob case-insensitively with the (#i) glob flag and the no\_case\_glob option](<https://devfeed.tech/articles/zsh-glob-case-insensitively-with-the-i-glob-flag-and-the-no-case-glob-option-110591.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/10/30/zsh-case-insensitive-globbing/>)

Author: Adam Johnson

Published: 2026-10-30T00:00:00Z

Content type: article

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>)

Tags: [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

Zsh globs are case-sensitive by default, regardless of whether the filesystem is case-insensitive. For a single pattern, add `(#i)` where case-insensitive matching should begin; it applies through the rest of the pattern, including directory names. This glob flag requires `extended_glob`, which can be enabled in `~/.zshrc`. To make all globs case-insensitive, enable `no_case_glob`; this also matches directory names such as `Photos/` in `photos/*.jpg`. Enable `case_paths` as well if literal directory names should remain case-sensitive. The article notes that `set -o` reports options in their "no" form by default, so `nocaseglob off` indicates case-sensitive globbing.

### Source excerpt

By default, Zsh globs are case-sensitive, so *.jpg matches beach.jpg but not CAT.JPG or dog.Jpg: $ ls photos/*.jpg photos/beach.jpg This is true even on macOS, where the filesystem is case-insensitive by default. Zsh shares this behaviour with Bash, but provides per-glob and global controls to ...

## Zsh: uncover hidden files in globs with (D)

DevFeed: [Zsh: uncover hidden files in globs with (D)](<https://devfeed.tech/articles/zsh-uncover-hidden-files-in-globs-with-d-107281.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/10/29/zsh-d-glob-qualifier/>)

Author: Adam Johnson

Published: 2026-10-29T00:00:00Z

Content type: article

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [dotfiles](<https://devfeed.tech/topics/dotfiles.md>), [ls](<https://devfeed.tech/topics/ls.md>)

Tags: [configuration](<https://devfeed.tech/tags/configuration.md>), [directories](<https://devfeed.tech/tags/directories.md>), [files](<https://devfeed.tech/tags/files.md>), [hidden](<https://devfeed.tech/tags/hidden.md>), [include](<https://devfeed.tech/tags/include.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

By default, Zsh globs skip names beginning with a dot. Add the `(D)` qualifier to include hidden files and directories; it does not match the special `.` or `..` entries. This matters with recursive `**/` globs: `**/*.yml` can miss YAML files under `.github`, while `**/*.yml(D)` includes them. Leaving `(D)` off can also be useful: `**/*.py` skips a hidden virtual-environment directory such as `.venv`, whereas `**/*.py(D)` includes its files.

### Source excerpt

By default, Zsh globs skip hidden files and directories, meaning those with names starting with a dot. For example, in a project directory, * misses all the configuration files and directories: $ ls -d * README.rst generate_pigeon.py To include them, add the (D) glob qualifier, which stands for "dot files": $ ls ...

## Zsh: parse command-line options with zparseopts

DevFeed: [Zsh: parse command-line options with zparseopts](<https://devfeed.tech/articles/zsh-parse-command-line-options-with-zparseopts-105876.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/10/28/zsh-zparseopts/>)

Author: Adam Johnson

Published: 2026-10-28T00:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [Shell](<https://devfeed.tech/topics/shell.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [argument](<https://devfeed.tech/tags/argument.md>), [arguments](<https://devfeed.tech/tags/arguments.md>), [array](<https://devfeed.tech/tags/array.md>), [bash](<https://devfeed.tech/tags/bash.md>), [code](<https://devfeed.tech/tags/code.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [function](<https://devfeed.tech/tags/function.md>), [git](<https://devfeed.tech/tags/git.md>), [help](<https://devfeed.tech/tags/help.md>), [options](<https://devfeed.tech/tags/options.md>), [scripts](<https://devfeed.tech/tags/scripts.md>), [shell](<https://devfeed.tech/tags/shell.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

Zsh's `zparseopts` handles short and long command-line options, including options with arguments, and stores parsed values in arrays. The excerpt's `caw` example uses `-D` to remove options from positional parameters, `-E` to allow options after positional arguments, and `-F` to reject unknown options or missing arguments; parsing errors can trigger a usage message, which must be maintained by hand. Options taking arguments use `:`, and repeated values can be read from the array (the example uses the last one); `+` makes an option accumulate. Unlike some command-line parsers, `zparseopts` does not treat `=` specially in `--number=3`, so the equals sign becomes part of the argument and must be stripped explicitly if that form is supported.

### Source excerpt

Sometimes you want your shell scripts to take options, like --verbose or --help, along with any positional arguments. Handling options is fiddly to do by hand, with the traditional portable approach being a large block of code using a while loop, a case statement, and some shifts. Bash has ...

## Django: check version support with norwegianblue

DevFeed: [Django: check version support with norwegianblue](<https://devfeed.tech/articles/django-check-version-support-with-norwegianblue-88924.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/10/16/django-norwegianblue/>)

Author: Adam Johnson

Published: 2026-10-15T23:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Django](<https://devfeed.tech/topics/django.md>), [EOL Grace period](<https://devfeed.tech/topics/eol-grace-period.md>), [Git](<https://devfeed.tech/topics/git.md>)

Tags: [amazon-aurora](<https://devfeed.tech/tags/amazon-aurora.md>), [django](<https://devfeed.tech/tags/django.md>), [end-of-life](<https://devfeed.tech/tags/end-of-life.md>), [eol](<https://devfeed.tech/tags/eol.md>), [heroku-postgres](<https://devfeed.tech/tags/heroku-postgres.md>)

### AI overview

The article shows how Django developers can use the norwegianblue command-line tool to check support and end-of-life dates across Django, Python, databases, caches, and other parts of a software stack. It explains how to install and run the tool and interpret its release-cycle output, highlighting versions that need upgrades.

### Source excerpt

Django projects end up slotting into a bunch of software release cycles: Django itself, Python, database servers, cache servers, and more. It can be hard for us developers to keep track of all of them, with their different support policies and end-of-life dates, and running an unsupported version means missing ...

## Django: set up its test suite with uv

DevFeed: [Django: set up its test suite with uv](<https://devfeed.tech/articles/django-set-up-its-test-suite-with-uv-77569.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/10/08/django-test-suite-uv/>)

Author: Adam Johnson

Published: 2026-10-07T23:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Test automation](<https://devfeed.tech/topics/test-automation.md>), [Django](<https://devfeed.tech/topics/django.md>), [Bun](<https://devfeed.tech/topics/bun.md>)

Tags: [django](<https://devfeed.tech/tags/django.md>), [python](<https://devfeed.tech/tags/python.md>), [unit-tests](<https://devfeed.tech/tags/unit-tests.md>), [uv](<https://devfeed.tech/tags/uv.md>)

### AI overview

A guide to setting up and running Django's test suite with uv. It explains how to create a virtual environment, install Django and test requirements, and skip pylibmc when its C library dependencies are difficult to compile; tests requiring pylibmc are skipped.

### Source excerpt

When contributing to Django, you'll want to run its test suite to check your changes. The official contributing docs cover setup in Running the unit tests, using a virtual environment and pip. Here's an alternative guide using uv. Setup First, clone Django and change into the repository: $ git ...

## Zsh: set aside a command with "Escape Q" / push-line

DevFeed: [Zsh: set aside a command with "Escape Q" / push-line](<https://devfeed.tech/articles/zsh-set-aside-a-command-with-escape-q-push-line-66445.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/10/06/zsh-push-line/>)

Author: Adam Johnson

Published: 2026-10-05T23:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [branch](<https://devfeed.tech/tags/branch.md>), [checkout](<https://devfeed.tech/tags/checkout.md>), [dx](<https://devfeed.tech/tags/dx.md>), [git](<https://devfeed.tech/tags/git.md>), [pytest](<https://devfeed.tech/tags/pytest.md>), [test](<https://devfeed.tech/tags/test.md>), [tests](<https://devfeed.tech/tags/tests.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

The article explains how Zsh's `push-line` widget temporarily saves a command so you can run a setup command first and resume the original command at the next prompt. It recommends binding Escape Q to `push-line-or-edit`, which also handles multiline commands, and describes related Oh My Zsh shortcuts.

### Source excerpt

Do you ever do this? You carefully type out a command, like this pytest one: $ pytest tests/test_checkout.py -k discount --reuse-db -x ...then, just before pressing Enter, you remember that something will stop it from succeeding, like being on the wrong Git branch. What now? Maybe you run the ...

## Zsh: tab complete glob qualifiers

DevFeed: [Zsh: tab complete glob qualifiers](<https://devfeed.tech/articles/zsh-tab-complete-glob-qualifiers-64270.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/10/02/zsh-glob-qualifier-completion/>)

Author: Adam Johnson

Published: 2026-10-02T18:50:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [friendly interactive shell](<https://devfeed.tech/topics/fish.md>)

Tags: [completion](<https://devfeed.tech/tags/completion.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

Zsh provides tab completion inside glob qualifier parentheses, listing available qualifiers and their descriptions. Further Tab presses can show sort specifiers and filename modifiers. The completion system is enabled by default in many setups; if it is not working, the article suggests enabling it with compinit in ~/.zshrc.

### Source excerpt

I've written a few posts on Zsh's glob qualifiers recently, covering: (om[1]) to select the most recently modified file. (m0) to select files modified today. (e) and + to select files with arbitrary code. (OL) to find the largest files. (n) to sort in natural order. These single-character ...

## Django: serve apple-app-site-association and assetlinks.json

DevFeed: [Django: serve apple-app-site-association and assetlinks.json](<https://devfeed.tech/articles/django-serve-apple-app-site-association-and-assetlinks-json-63655.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/10/02/django-app-links/>)

Author: Adam Johnson

Published: 2026-10-01T23:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [Django Admin](<https://devfeed.tech/topics/django-admin.md>), [deeplinks](<https://devfeed.tech/topics/deeplinks.md>)

Tags: [adb](<https://devfeed.tech/tags/adb.md>), [android](<https://devfeed.tech/tags/android.md>), [api](<https://devfeed.tech/tags/api.md>), [code](<https://devfeed.tech/tags/code.md>), [django](<https://devfeed.tech/tags/django.md>), [json](<https://devfeed.tech/tags/json.md>), [links](<https://devfeed.tech/tags/links.md>)

### AI overview

A Django tutorial shows how to serve Apple's apple-app-site-association and Android's assetlinks.json files from the .well-known path. It covers the JSON contents for Universal Links and App Links, Django views and URL patterns, tests for response behavior and file contents, and ways to verify the files through Apple and Google services.

### Source excerpt

If your site has companion Apple or Android apps, you probably want links to your site to open in those apps, when installed. Both platforms support this, with Apple calling the feature Universal Links and Android calling it App Links. But an app can't just claim to handle your ...

## Django: serve a security.txt file

DevFeed: [Django: serve a security.txt file](<https://devfeed.tech/articles/django-serve-a-security-txt-file-62976.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/10/01/django-security-txt/>)

Author: Adam Johnson

Published: 2026-09-30T23:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Django](<https://devfeed.tech/topics/django.md>), [Security](<https://devfeed.tech/topics/security.md>), [google play protect](<https://devfeed.tech/topics/google-play-protect.md>)

Tags: [bug-bounty](<https://devfeed.tech/tags/bug-bounty.md>), [django](<https://devfeed.tech/tags/django.md>), [security](<https://devfeed.tech/tags/security.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

### AI overview

A Django tutorial explains how to serve a security.txt file so security researchers can report vulnerabilities. It covers required file fields, HTTPS and content type requirements, and a Django view, URL configuration, tests, and a system check to keep the file current.

### Source excerpt

When a security researcher finds a vulnerability in your site, they need a way to tell you about it. Without a clear contact, they may resort to guessing at addresses like security@<yourdomain>, messaging random folks on social media, or give up. And of course, in the worst case, they ...

## Zsh: sort globs in natural order with the (n) glob qualifier

DevFeed: [Zsh: sort globs in natural order with the (n) glob qualifier](<https://devfeed.tech/articles/zsh-sort-globs-in-natural-order-with-the-n-glob-qualifier-62975.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/09/30/zsh-n-glob-qualifier/>)

Author: Adam Johnson

Published: 2026-09-29T23:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>)

Tags: [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

The article explains how to use Zsh's n glob qualifier to sort filenames in natural numeric order. It demonstrates fixing the page order when combining numbered PNG files into a PDF with ImageMagick and mentions enabling natural ordering by default.

### Source excerpt

Globs sort filenames character by character, so numbered files often come out in a surprising order, with 10 before 2. Zsh has a neat fix for this: the n glob qualifier, which applies a "natural" sort, treating any run of digits as a number rather than a string of characters ...

## Python: join my meetup in Lisbon, 8th October

DevFeed: [Python: join my meetup in Lisbon, 8th October](<https://devfeed.tech/articles/python-join-my-meetup-in-lisbon-8th-october-61462.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/09/28/python-mini-meetup-lisbon/>)

Author: Adam Johnson

Published: 2026-09-27T23:00:00Z

Content type: news

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Django](<https://devfeed.tech/topics/django.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [developer-experience](<https://devfeed.tech/tags/developer-experience.md>), [django](<https://devfeed.tech/tags/django.md>), [dx](<https://devfeed.tech/tags/dx.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [meetup](<https://devfeed.tech/tags/meetup.md>), [python](<https://devfeed.tech/tags/python.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [workshop](<https://devfeed.tech/tags/workshop.md>)

### AI overview

A free Python and Django meetup in Lisbon is scheduled for October 8, 2026, with informal conversation about software engineering and developer experience. The event is hosted by Django contributor Adam Johnson; places are limited.

### Source excerpt

I previously announced my Python optimization workshop in Lisbon, on 10th October (which still has a few places). I am now pleased to add a Python/Django meetup on the Thursday before. Here are the details: What: Python/Django meetup When: Thursday 8th October 2026, 18:00-20:00 Where ...

## Zsh: find the largest files with the (OL) glob qualifier

DevFeed: [Zsh: find the largest files with the (OL) glob qualifier](<https://devfeed.tech/articles/zsh-find-the-largest-files-with-the-ol-glob-qualifier-57703.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/09/21/zsh-ol-glob-qualifiers/>)

Author: Adam Johnson

Published: 2026-09-20T23:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [Repository](<https://devfeed.tech/topics/repository.md>), [Django](<https://devfeed.tech/topics/django.md>)

Tags: [build](<https://devfeed.tech/tags/build.md>), [django](<https://devfeed.tech/tags/django.md>), [repository](<https://devfeed.tech/tags/repository.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

A tutorial on using Zsh glob qualifiers to find and sort the largest files recursively. It demonstrates the technique with the Django source repository and explains qualifiers for file selection, size thresholds, sorting, and limiting results.

### Source excerpt

Got a directory that you want to tidy up bloat from? Whether you're trying to find bad build artifacts in your work repository or clear out old cat videos from your home directory, Zsh's (OL) glob qualifier can help you find the largest files. Using the Django source ...

## macOS: use caffeinate to keep your computer on

DevFeed: [macOS: use caffeinate to keep your computer on](<https://devfeed.tech/articles/macos-use-caffeinate-to-keep-your-computer-on-55645.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/09/20/macos-caffeinate/>)

Author: Adam Johnson

Published: 2026-09-19T23:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [macOS](<https://devfeed.tech/topics/macos.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Process](<https://devfeed.tech/topics/process.md>), [long-running](<https://devfeed.tech/topics/long-running.md>)

Tags: [command](<https://devfeed.tech/tags/command.md>), [commandline](<https://devfeed.tech/tags/commandline.md>), [computer](<https://devfeed.tech/tags/computer.md>), [job](<https://devfeed.tech/tags/job.md>), [long-running](<https://devfeed.tech/tags/long-running.md>), [macos](<https://devfeed.tech/tags/macos.md>), [process](<https://devfeed.tech/tags/process.md>), [screen](<https://devfeed.tech/tags/screen.md>), [terminal](<https://devfeed.tech/tags/terminal.md>)

### AI overview

A practical guide to using macOS's built-in caffeinate command to keep a Mac awake while a long-running job executes. It covers running commands under caffeinate, keeping the system awake until interruption or a process exits, preventing display sleep, and limitations such as closing the lid.

### Source excerpt

If you're starting a long job on your Apple Macintosh Computer and wandering off for a coffee, the machine may go to sleep before it finishes due to inactivity. To prevent that from happening, also give your computer a boost with the caffeinate command, a macOS built-in since 2012 ...

## Python: join my optimization workshop in Lisbon, 10th October

DevFeed: [Python: join my optimization workshop in Lisbon, 10th October](<https://devfeed.tech/articles/python-join-my-optimization-workshop-in-lisbon-10th-october-55467.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/09/19/python-optimization-workshop-lisbon/>)

Author: Adam Johnson

Published: 2026-09-18T23:00:00Z

Content type: article

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Optimization](<https://devfeed.tech/topics/optimization.md>), [Python](<https://devfeed.tech/topics/python.md>), [Django](<https://devfeed.tech/topics/django.md>), [Code](<https://devfeed.tech/topics/code.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [django](<https://devfeed.tech/tags/django.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [optimizations](<https://devfeed.tech/tags/optimizations.md>), [performance](<https://devfeed.tech/tags/performance.md>), [profiling](<https://devfeed.tech/tags/profiling.md>), [python](<https://devfeed.tech/tags/python.md>), [workshop](<https://devfeed.tech/tags/workshop.md>)

### AI overview

Adam Johnson announces a free, small in-person Python optimization workshop in Lisbon on 10 October 2026. The hands-on session will teach profiling and optimization workflows using Django and other codebases, with opportunities to develop potential Django pull requests.

### Source excerpt

I'm running a workshop in Lisbon next month, and you're invited! It's a small, in-person, hands-on session on optimizing Python code, with a Django flavour. Here are the details: What: Python optimization workshop When: Saturday 10th October 2026, 10:00-13:00 Where: Martinhal Lisbon Oriente, Parque ...

## Django: serve the change password well-known URL

DevFeed: [Django: serve the change password well-known URL](<https://devfeed.tech/articles/django-serve-the-change-password-well-known-url-51103.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/09/16/django-change-password-url/>)

Author: Adam Johnson

Published: 2026-09-15T23:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Django](<https://devfeed.tech/topics/django.md>), [passwords](<https://devfeed.tech/topics/passwords.md>), [Web](<https://devfeed.tech/topics/web.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [django](<https://devfeed.tech/tags/django.md>), [implementing](<https://devfeed.tech/tags/implementing.md>), [password](<https://devfeed.tech/tags/password.md>), [test](<https://devfeed.tech/tags/test.md>), [web-dev](<https://devfeed.tech/tags/web-dev.md>)

### AI overview

A Django tutorial explains how to serve the well-known change-password URL so password managers can discover and redirect users to a site's password-change page. It covers the URL configuration, temporary redirects, testing, deployment over HTTPS, and checking the result with Chrome's password checkup.

### Source excerpt

When a password manager detects that a user's password has been leaked or reused, it can prompt them to change it, but the password change URL varies by site. The web's answer to such discovery problems is the reserved /.well-known/ URL namespace (RFC 8615), home to machine-readable files ...

## Django: introducing django-mcpz, for making MCP servers

DevFeed: [Django: introducing django-mcpz, for making MCP servers](<https://devfeed.tech/articles/django-introducing-django-mcpz-for-making-mcp-servers-51102.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/09/15/introducing-django-mcpz/>)

Author: Adam Johnson

Published: 2026-09-14T23:00:00Z

Content type: release

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Django](<https://devfeed.tech/topics/django.md>), [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [API](<https://devfeed.tech/topics/api.md>), [ASGI](<https://devfeed.tech/topics/asgi.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [JSON](<https://devfeed.tech/topics/json.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [data](<https://devfeed.tech/tags/data.md>), [django](<https://devfeed.tech/tags/django.md>), [http](<https://devfeed.tech/tags/http.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [json](<https://devfeed.tech/tags/json.md>), [llms](<https://devfeed.tech/tags/llms.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-servers](<https://devfeed.tech/tags/mcp-servers.md>), [server-sent-events](<https://devfeed.tech/tags/server-sent-events.md>), [sessions](<https://devfeed.tech/tags/sessions.md>)

### AI overview

This release introduces django-mcpz, a Django package for building Model Context Protocol servers. It targets MCP's stateless HTTP transport, allowing servers to run in a synchronous Django view within a normal WSGI deployment without additional infrastructure, while retaining compatibility with earlier stateless MCP versions.

### Source excerpt

I made another package! Say hello to django-mcpz, for building Model Context Protocol (MCP) servers in your Django project. The package tagline is easy peasy MCP servers in Django. MCP, the place to be? MCP specifies a way for LLMs to interact with external data sources. MCP servers can expose ...

## Zsh: manipulate filenames with modifiers like :r (root) and :e (extension)

DevFeed: [Zsh: manipulate filenames with modifiers like :r (root) and :e (extension)](<https://devfeed.tech/articles/zsh-manipulate-filenames-with-modifiers-like-r-root-and-e-extension-51101.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/08/24/zsh-filename-modifiers/>)

Author: Adam Johnson

Published: 2026-08-23T23:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Zsh](<https://devfeed.tech/topics/zsh.md>), [Code](<https://devfeed.tech/topics/code.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [ImageMagick](<https://devfeed.tech/topics/imagemagick.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [build](<https://devfeed.tech/tags/build.md>), [command](<https://devfeed.tech/tags/command.md>), [files](<https://devfeed.tech/tags/files.md>), [imagemagick](<https://devfeed.tech/tags/imagemagick.md>), [images](<https://devfeed.tech/tags/images.md>), [loops](<https://devfeed.tech/tags/loops.md>), [variable](<https://devfeed.tech/tags/variable.md>), [variables](<https://devfeed.tech/tags/variables.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

A tutorial on using Zsh filename modifiers such as :r for removing extensions and :e for extracting them, including chaining modifiers and applying them in a loop that converts PNG images to WebP with ImageMagick.

### Source excerpt

Zsh modifiers are a family of suffixes that transform words as they're expanded. Several of them are dedicated to slicing up filenames, replacing fiddly calls to dirname, basename, and friends. Let's take a look at them now! The filename modifiers Four modifiers cover most filename manipulation. Take this ...

## Django: django-upgrade 1.32.0 out now, with 44 AI-assisted bug fixes

DevFeed: [Django: django-upgrade 1.32.0 out now, with 44 AI-assisted bug fixes](<https://devfeed.tech/articles/django-django-upgrade-1-32-0-out-now-with-44-ai-assisted-bug-fixes-51100.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/08/18/django-upgrade-1.32.0-44-bug-fixes/>)

Author: Adam Johnson

Published: 2026-08-17T23:00:00Z

Content type: release

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Django](<https://devfeed.tech/topics/django.md>), [upgrade](<https://devfeed.tech/topics/upgrade.md>), [bug](<https://devfeed.tech/topics/bug.md>), [Python](<https://devfeed.tech/topics/python.md>), [Claude](<https://devfeed.tech/topics/claude.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Continuous integration](<https://devfeed.tech/topics/continuous-integration.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [bug](<https://devfeed.tech/tags/bug.md>), [bug-fixes](<https://devfeed.tech/tags/bug-fixes.md>), [claude](<https://devfeed.tech/tags/claude.md>), [code](<https://devfeed.tech/tags/code.md>), [django](<https://devfeed.tech/tags/django.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [llm](<https://devfeed.tech/tags/llm.md>), [python](<https://devfeed.tech/tags/python.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

The django-upgrade 1.32.0 release fixes 44 bugs discovered and fixed by Claude through two rounds of self-directed bug discovery. The article reviews issues involving regular-expression-to-route-syntax conversions, including literal angle brackets and unescaped dots, and describes the limits imposed by code review capacity and GitHub Actions CI runs.

### Source excerpt

django-upgrade is my tool for automatically upgrading your project code for new Django versions. It rewrites your Python files to fix deprecations and adopt some new features, taking a chunk of the monotony out of upgrading between Django versions. Yesterday, I released version 1.32.0, which fixes 44 bugs ...

## Python: use re.prefixmatch() instead of re.match() from Python 3.15

DevFeed: [Python: use re.prefixmatch() instead of re.match() from Python 3.15](<https://devfeed.tech/articles/python-use-re-prefixmatch-instead-of-re-match-from-python-3-15-51099.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/08/16/python-prefer-prefixmatch-to-match/>)

Author: Adam Johnson

Published: 2026-08-15T23:00:00Z

Content type: article

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>), [deprecated](<https://devfeed.tech/topics/deprecated.md>)

Tags: [bug](<https://devfeed.tech/tags/bug.md>), [code](<https://devfeed.tech/tags/code.md>), [deprecated](<https://devfeed.tech/tags/deprecated.md>), [python](<https://devfeed.tech/tags/python.md>), [regex](<https://devfeed.tech/tags/regex.md>)

### AI overview

This article explains why Python's re.match() can accept unwanted suffixes when validating an entire string. It recommends re.fullmatch() for whole-string validation and describes Python 3.15's re.prefixmatch() as a clearer name for prefix matching, with re.match() soft deprecated in favor of it.

### Source excerpt

Take this validation function: import re TRAIN_NUMBER_RE = re.compile(r"\d{6}") # six digits def is_valid_train_number(value: str) -> bool: return bool(TRAIN_NUMBER_RE.match(value)) It looks reasonable, and it works for the intended cases: >>> is_valid_train_number("345071") True >>> is_valid_train_number("ABC123") False But, woah, it also accepts garbage suffixes: >>> is_valid_train_number("345071-in-abbey-wood") True ...

## Python: fix SyntaxWarning: invalid octal escape sequence

DevFeed: [Python: fix SyntaxWarning: invalid octal escape sequence](<https://devfeed.tech/articles/python-fix-syntaxwarning-invalid-octal-escape-sequence-51098.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/08/14/why-does-python-log-a-warning-for-invalid-octal-escape-sequence/>)

Author: Adam Johnson

Published: 2026-08-13T23:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [c](<https://devfeed.tech/tags/c.md>), [code](<https://devfeed.tech/tags/code.md>), [deprecation](<https://devfeed.tech/tags/deprecation.md>), [python](<https://devfeed.tech/tags/python.md>), [warnings](<https://devfeed.tech/tags/warnings.md>)

### AI overview

This tutorial explains why Python warns about invalid octal escape sequences in string and bytes literals. It describes the warning changes introduced in Python 3.11 and 3.12, explains how oversized octal values are interpreted, and suggests escaping the backslash or substituting the intended character.

### Source excerpt

Take this code: path = "C:\477_data" If we run this with Python 3.11+ in development mode (to enable deprecation warnings), we will see: $ python3.11 -X dev example.py /.../example.py:1: DeprecationWarning: invalid octal escape sequence '\477' path = "C:\477_data" On Python 3.12+, we instead get ...

## Python: fix TypeError: NamedTuple() got an unexpected keyword argument

DevFeed: [Python: fix TypeError: NamedTuple() got an unexpected keyword argument](<https://devfeed.tech/articles/python-fix-typeerror-namedtuple-got-an-unexpected-keyword-argument-51097.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/08/13/python-fix-typeerror-namedtuple-got-an-unexpected-keyword-argument/>)

Author: Adam Johnson

Published: 2026-08-12T23:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Code](<https://devfeed.tech/topics/code.md>), [deprecated](<https://devfeed.tech/topics/deprecated.md>), [implementation](<https://devfeed.tech/topics/implementation.md>), [syntax](<https://devfeed.tech/topics/syntax.md>), [version](<https://devfeed.tech/topics/version.md>)

Tags: [classes](<https://devfeed.tech/tags/classes.md>), [code](<https://devfeed.tech/tags/code.md>), [deprecated](<https://devfeed.tech/tags/deprecated.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [python](<https://devfeed.tech/tags/python.md>), [release-notes](<https://devfeed.tech/tags/release-notes.md>), [syntax](<https://devfeed.tech/tags/syntax.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

This tutorial explains that the undocumented keyword-argument form of Python's NamedTuple was deprecated and removed in Python 3.15. It shows the supported class-based and functional alternatives and notes that Ruff can rewrite the deprecated form to class syntax.

### Source excerpt

Take this code, defining a small NamedTuple with a keyword argument per field: from typing import NamedTuple Point = NamedTuple("Point", x=int, y=int) Run it on Python 3.13 or 3.14, and you'll see: $ python3.14 example.py /.../example.py:3: DeprecationWarning: Creating NamedTuple classes using keyword ...

## Python: introducing emojet, a fast emoji lookup library

DevFeed: [Python: introducing emojet, a fast emoji lookup library](<https://devfeed.tech/articles/python-introducing-emojet-a-fast-emoji-lookup-library-51096.md>)

Original publisher: [Read original article](<https://adamj.eu/tech/2026/08/12/python-introducing-emojet/>)

Author: Adam Johnson

Published: 2026-08-11T23:00:00Z

Content type: article

Language: en

Sources: [Adam Johnson](<https://devfeed.tech/sources/adam-johnson.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Library](<https://devfeed.tech/topics/library.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [API](<https://devfeed.tech/topics/api.md>), [JSON](<https://devfeed.tech/topics/json.md>), [Parsing](<https://devfeed.tech/topics/parsing.md>)

Tags: [benchmark](<https://devfeed.tech/tags/benchmark.md>), [claude](<https://devfeed.tech/tags/claude.md>), [go](<https://devfeed.tech/tags/go.md>), [json](<https://devfeed.tech/tags/json.md>), [library](<https://devfeed.tech/tags/library.md>), [macos](<https://devfeed.tech/tags/macos.md>), [python](<https://devfeed.tech/tags/python.md>), [python-3-14](<https://devfeed.tech/tags/python-3-14.md>)

### AI overview

The article introduces emojet, a Python emoji lookup library implemented in Rust. It describes the package's conversion and search APIs, compatibility with existing emoji data and names, and reported speed and memory improvements over the original package.

### Source excerpt

New package just landed! emojet is an emoji library for Python: it converts between emoji and their names, in both directions, plus the searching and lookup functions that go with that. It covers the core API of the emoji package, a library that been available for this job since 2014 ...

[Next page](<https://devfeed.tech/sources/adam-johnson.md?cursor=WyIyMDI2LTA4LTExVDIzOjAwOjAwKzAwOjAwIiwgIjllMjJlM2M0LTZhNjAtNDRjNi05OGM2LTI4ZDg0NDZjMjEzMSJd>)