← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 16
  1. I previously announced my Python optimization workshop in Lisbon, on 10th October (which still has a few places).

  2. Got a directory that you want to tidy up bloat from?

  3. 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.

  4. I’m running a workshop in Lisbon next month, and you’re invited!

  5. 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.

  6. I made another package!

  7. Zsh modifiers are a family of suffixes that transform words as they’re expanded.

  8. django-upgrade is my tool for automatically upgrading your project code for new Django versions.

  9. 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…

  10. 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 /...

  11. 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 /...

  12. New package just landed!

  13. Back in January, I introduced tprof, a targeting profiler for Python 3.12+ that measures the time spent in specific functions, rather than your whole program.

  14. It’s another day, another new package day here.

  15. I got another commit merged in Git 2.55 (2026-06-29), yay!

  16. To list all files in your repository as they were at a given commit, use git ls-tree with its -r and --name-only options: $ git ls-tree --name-only -r <commit> Replace <commit> with any commit reference: a SHA, a branch name, a tag like above, a relative…