Skip to main content

December 2026

Every post published in December 2026, newest first. Pick a day to jump straight to it.

Posts
97
Topics
38
Reading time
10 h
Active days
1

Posts 1–30 of 97 · December 1, 2026

Page 1 of 4

Tuesday, December 1, 2026

30 of 97 posts

  1. Apache Airflow® Tutorial for Data Pipelines in Python — Part 1: Install Airflow and Run Your First Dag

    Install Apache Airflow® 3.4 with uv on Python 3.14, start it on your own computer with airflow standalone, and write and run a first Dag that counts yesterday's earthquakes from the free USGS API. Part 1 of a hands-on data pipeline series.

  2. Fixed: "The HMAC key is 24 bytes long, which is below the minimum recommended length of 64 bytes for SHA512" in Apache Airflow®

    Apache Airflow® 3.4.0 warned The HMAC key is 24 bytes long on every sign-in and task run, because its generated [api_auth] jwt_secret is shorter than HS512 needs. A 64-byte secret from secrets.token_urlsafe ends the warnings.

  3. Fixed: "Bundle 'dags-folder' path does not exist … This may cause DAG loading issues" in Apache Airflow®

    Apache Airflow® 3.4.0 started, then warned Bundle 'dags-folder' path does not exist and found 0 Dag files. The dags folder was never created: Airflow warns but doesn't make it. Create it, add a Dag, and the warning is gone.

  4. How to Keep Apache Airflow® Files Out of Git with .gitignore

    Apache Airflow® writes its settings with generated secrets, a database, logs and the admin password into your project folder. Keep them out of Git with a short .gitignore, and check it with git status --ignored. Real output from Airflow 3.4.0.

  5. How to Query the USGS Earthquake API with curl

    Count and list earthquakes from the free USGS earthquake API with curl: the count and query methods, a date range in UTC, a minimum magnitude, plain-text output, and the quoting your shell needs. Real output, no API key.

  6. How to Check the Health of Apache Airflow® with the Health Endpoint

    Check whether the Apache Airflow® metadata database, scheduler, triggerer and Dag processor are healthy with one request to /api/v2/monitor/health, and read every field of its answer. Real output from Airflow 3.4.0.

  7. How to Get an Access Token for the Apache Airflow® REST API

    Get a JWT access token from Apache Airflow® 3 with a POST to /auth/token, see what the REST API answers without it, and call an endpoint with the Authorization: Bearer header. Real output from Airflow 3.4.0 with the simple auth manager.

  8. How to Pause and Unpause a Dag in Apache Airflow®

    Pause and unpause an Apache Airflow® Dag with the toggle on its page in the UI, know why every new Dag starts paused, and what a paused Dag still does. Screenshots from Airflow 3.4.0.

  9. How to Read a Task Log in the Apache Airflow® UI

    Open a task's log in the Apache Airflow® 3 UI, read its numbered lines and collapsed groups, find where print() output goes, and filter the log by level. Screenshots from Airflow 3.4.0.

  10. How to Trigger a Dag from the Command Line with airflow dags trigger

    Start an Apache Airflow® Dag run from the terminal with airflow dags trigger, make sure the Dag is unpaused so the run doesn't wait, and check the result with airflow dags list-runs. Real output from Airflow 3.4.0.

  11. How to Trigger a Dag from the Apache Airflow® UI

    Run an Apache Airflow® 3 Dag by hand from the UI: the Trigger button, every option of the Trigger Dag dialog, what Unpause, Drain and Keep paused do for a paused Dag, and how to see that the run succeeded. Screenshots from Airflow 3.4.0.

  12. How to Write a Dag with the TaskFlow API in Apache Airflow®

    Write an Apache Airflow® 3 Dag as plain Python functions with @dag and @task from airflow.sdk, pass one task's return value to the next, and see the graph and the log of the run. Real code and screenshots from Airflow 3.4.0.

  13. How to Read an Apache Airflow® Setting with airflow config get-value

    Print the value Apache Airflow® actually uses for any setting with airflow config get-value: its syntax, environment variable overrides, and what it does with a name that doesn't exist. Real output from Airflow 3.4.0.

  14. How to Turn Off the Example Dags in Apache Airflow®

    Hide the 119 example Dags that Apache Airflow® 3.4.0 loads by default: set [core] load_examples to False, restart, and see what happens to examples that were already loaded. Real output and screenshots.

  15. How to Change the Port and Host of the Apache Airflow® API Server

    Move the Apache Airflow® UI and REST API off port 8080 and limit it to your own computer by changing [api] port and host in airflow.cfg, or with AIRFLOW__API__PORT, and check the result. Real output from Airflow 3.4.0.

  16. How to Set AIRFLOW_HOME for Apache Airflow®

    Choose the folder where Apache Airflow® keeps its settings, database and logs with the AIRFLOW_HOME environment variable: what happens without it, how to set it, and why every new terminal needs it again. Real output from Airflow 3.4.0.

  17. How to Find the Admin Password for Apache Airflow® standalone

    Find the generated admin password of Apache Airflow® standalone: where the first start prints it, why later starts don't, and how to read it from simple_auth_manager_passwords.json.generated. Real output from Airflow 3.4.0.

  18. How to Start Apache Airflow® on Your Computer with airflow standalone

    Start every part of Apache Airflow® 3.4.0 with one command, airflow standalone: what each component in the output does, how to open the UI, what the files it creates are for, and how to stop it. Real output and screenshots.

  19. How to Install Apache Airflow® with uv and a Constraints File

    Install Apache Airflow® 3.4.0 into a virtual environment with uv and the official constraints file, check the version, and see what happens on a Python version Airflow doesn't support yet. Real output from Python 3.14.10 and uv 0.13.10.

  20. Hugging Face Transformers Tutorial for NLP in Python — Part 1: Install Transformers and Run Your First Pipeline

    Start a Hugging Face Transformers project in Python: what Transformers, the Hub and pipelines are, install Transformers 5.24.1 and PyTorch 2.15.0 with uv, run your first pipeline on your GPU, and build the first version of a support-message router with zero-shot classification.

  21. Fixed: "route: bad keyword" When uv run route Runs the System Command

    A Python project's command named route answered route: bad keyword when run outside the project, because uv ran the operating system's own route command instead. Renaming the command to a name no system tool uses fixed it. Real output from uv 0.13.10 on macOS.

  22. Fixed: AttributeError: 'code' object has no attribute 'co_lnotab'

    On Python 3.15, Hugging Face datasets' Dataset.map with num_proc=2 failed with AttributeError: 'code' object has no attribute 'co_lnotab', raised inside dill. Python 3.15 removed co_lnotab, and datasets pins a dill that still reads it. Moving the project to Python 3.14 fixes it.

  23. How to Pin a Hugging Face Model to an Exact Revision

    Make your code load exactly the same Hugging Face model every time by pinning it to a commit with revision=, find the commit with hf models info, and see the error for a revision that doesn't exist. Real output from Transformers 5.24.1.

  24. How to Choose the Device a Hugging Face Pipeline Runs On

    Run a Hugging Face Transformers pipeline on the GPU or the CPU: what it picks when you set nothing, how device="cpu" and device=0 behave, and the AssertionError device="cuda" gives on a Mac. Real output from Transformers 5.24.1 on an Apple M1 Pro.

  25. Fixed: "No model was supplied, defaulted to distilbert/distilbert-base-uncased-finetuned-sst-2-english"

    A Hugging Face sentiment-analysis pipeline printed No model was supplied, defaulted to distilbert/distilbert-base-uncased-finetuned-sst-2-english and revision 714eb0f, followed by a warning not to do this in production. Naming the model and its revision fixes it.

  26. How to Classify Text into Your Own Labels with Zero-Shot Classification

    Sort text into labels you make up on the spot, with no training, using a Hugging Face zero-shot-classification pipeline: candidate labels, multi_label and the hypothesis template, with their real scores. Transformers 5.24.1 and facebook/bart-large-mnli.

  27. How to Run Sentiment Analysis with a Hugging Face Pipeline

    Tell whether a review is positive or negative in a few lines of Python with a Hugging Face Transformers sentiment-analysis pipeline, a pinned model and its scores. Real output from Transformers 5.24.1 on Python 3.14.

  28. How to Install Hugging Face Transformers with uv

    Install Hugging Face Transformers and PyTorch in a uv project on Python 3.14, check the installed version, and read the environment report with transformers env. Real output from Transformers 5.24.1 and PyTorch 2.15.0.

  29. How to Use Hugging Face Models Offline with HF_HUB_OFFLINE

    Run Hugging Face downloads and models without contacting the Hub by setting HF_HUB_OFFLINE=1: cached files load straight from disk, and missing ones fail with a clear error. Real output from huggingface_hub 2.5.0 in bash and PowerShell.

  30. How to Turn Off Hugging Face Telemetry with HF_HUB_DISABLE_TELEMETRY

    Hugging Face libraries send some usage data by default. Turn it off with HF_HUB_DISABLE_TELEMETRY=1 or DO_NOT_TRACK=1, in bash or PowerShell, and check the setting from Python. Real output from huggingface_hub 2.5.0.