Sr. Content Developer at Microsoft, working remotely in PA, TechBash conference organizer, former Microsoft MVP, Husband, Dad and Geek.
165236 stories
·
33 followers

A Nerdy Little Christmas with Rick Claus and Joey Snow

1 Share

What does the geek in your life really want for Christmas? Richard chats with Rick Claus and Joey Snow for the annual nerdy gift guide! The list ranges from genuinely useful gear like USB-C power testers, Pocket Ethernet, label makers, travel routers, and the Starlink Mini to retro cassette players, LEGO Game Boys, a Flipper Zero, a miniature lightsaber, and even an AI-powered Mars rover. And then there’s the ultimate home lab accessory: a rack-mounted refrigerator. Whether you’re shopping for your favorite IT pro or just building your own wish list, there’s something here to make the holidays a little nerdier.

Links

Recorded Oct 15, 2026





Download audio: https://cdn.simplecast.com/media/audio/transcoded/5379899c-61c5-43c3-aa3f-1128cffd9ef4/c2165e35-09c6-4ae8-b29e-2d26dad5aece/episodes/audio/group/4e9c3f6e-fde7-4e9d-acc5-d2e0482e2eb6/group-item/ba6a985f-b09e-4d63-aee9-bea31625e236/128_default_tc.mp3?aid=rss_feed&feed=cRTTfxcT
Read the whole story
alvinashcraft
38 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

#505 Introducing diskcache-oxide

1 Share
Topics covered in this episode:
Watch on YouTube

About the show

Sponsored by LongLink: pythonbytes.fm/longlink

Connect with the hosts

Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Tuesday at 7am PT. Older video versions available there too.

Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it.

Michael #1: tinyjobs: a SQLite job queue goes free-threaded

tinyjobs is a Python job queue and cron scheduler that starts with a SQLite file and no dependencies. Switch the URL to Postgres or Redis without rewriting tasks. It runs async tasks natively, embeds workers in FastAPI, and plugs into Django 6's tasks framework. The creator's free-threading audit found four races hidden by the GIL.

  • Background jobs without deploying a broker, plus a concrete case study in what removing the GIL exposes.
  • The creator reports races in the task registry, codec cache, cross-thread flag and thread pool. hiredis can re-enable the GIL; the worker warns when it detects that.
  • On 3.14t, --loops N runs event loops in separate threads. The author's laptop benchmark hit 42,000 async jobs/s with eight loops and two Redis instances, close to eight processes. SQLite rejects loops above one.
  • Clock-skew lesson: two hosts 20 minutes apart duplicated 492 of 3,000 jobs on 0.7.0. Using Redis server time fixed that test, not the general exactly-once problem.
  • Author's SQLite measurements: about 572 jobs/s end-to-end; a 20,000-job burst drained in four seconds. Synthetic workloads and different harnesses, not interchangeable throughput claims.
  • At-least-once delivery still requires idempotent tasks. Python 3.12+; young project, with the README now listing v0.11.0 versus the email's v0.9.0. Docker setup:
services:
  web:
    build: .
    command: uvicorn main:api --host 0.0.0.0
    volumes: [jobs:/data]
  worker:
    build: .
    command: tinyjobs worker --app tasks:app --shutdown-timeout 25
    stop_grace_period: 40s
    volumes: [jobs:/data]
volumes:
  jobs:
    external: true

Calvin #2: funkycache: cache Python functions in SQLite

  • Alex Chan's functools.cache-style decorator stores results in SQLite, so they survive after the process exits. He built it to speed up his static site build.
  • It's released on PyPI: funkycache 1.0.4, from November 15. The first release, 1.0.0, came out November 7. It needs Python 3.14+ and depends on pydantic and xxhash.
  • Usage: cache = FunkyCache(storage="sqlite"), then @cache.register(files=[...], values=[...]). A cache entry is invalidated when the function's source file changes or when any listed file or value changes, such as a library version.
  • Return values go through Pydantic's TypeAdapter, based on the return type hint, so it only works on typed code.
  • Generators get special handling. functools.cache hands every caller the same generator object. funkycache saves the output as a list and gives each caller a fresh iterator, up to a soft memory limit.
  • Cache keys are JSON hashed with XXH64. They're deliberately lossy, and that's fine because nothing reads the original arguments back out of a key.
  • The design notes are a good segment on their own: the author had used MD5 because they "conflated weak with fast," and in their limited testing JSON was faster than pickle and easier to debug.
  • With a warm cache the site builds in about half a second, and the library is only a few hundred lines including tests. It doesn't watch files on purpose, to stay small.

Calvin #3: Ghostman - a keyboard-driven terminal API client

  • A local-first Postman alternative that runs in the terminal, with no cloud account required. It's MIT licensed and was featured in PyCoder's Weekly #760.
  • It's released on PyPI: pip install ghostman, then run ghostman. The current version is 0.1.8, from November 3. The first release, 0.1.0, came out October 31. It needs Python 3.10+.
  • It's built on Textual, httpx and Rich, so it's pure Python under the hood.
  • It sends GET, POST, PUT, DELETE and PATCH requests, shows DNS and time-to-first-byte timing live, and colors JSON responses automatically.
  • A built-in webhook inspector: Ctrl+W starts a listener on port 9090. Captured payloads show headers and timestamps, and you can load one straight into the request editor.
  • Collections are plain JSON/YAML files you can commit to Git. The README gives two different folders for them (.ghostman/ and ~/.ghostman/).
  • It's fully keyboard-driven: Ctrl+S sends, Ctrl+K saves, Ctrl+N starts a new request, Ctrl+Q quits.
  • The author claims about 30MB of RAM and a cold start of about 150ms; I haven't checked either number. It's a young project, with 158 stars and 15 commits.

Michael #4: diskcache-oxide: A shared, durable disk cache

Michael's diskcache-oxide is a Rust-backed, SQLite-based cache for Python workers sharing one directory on the same machine. Entries survive process restarts without running a cache server. It keeps the familiar diskcache API, adds fork and free-threading safety, and uses msgpack or JSON by default instead of pickle.

  • Michael's item: a shared cache for multi-worker apps without deploying Redis or keeping a separate dict warm in every process.
  • Cache, FanoutCache sharding and transactions are available now. NullCache switches caching off without changing call sites; Caches manages named caches for an app.
  • Author's bench/gate.py, Linux container on Apple Silicon, CPython 3.14, 99:1 reads/writes: about 750k ops/s with one thread and 723k with eight; diskcache 5.6.3 falls to 44k. Not independently tested here.
  • Free-threading support is explicit: the Rust extension declares gil_used = false. A process-wide fork barrier protects SQLite state when workers fork.
  • Pickle is opt-in. Tagged serialization preserves types such as tuples, sets, datetimes and Decimals, with registration for custom types.
  • The docs come to about 70,000 words, the length of a typical novel. Of that, about 53,000 are the written story (guide, recipes and the home page), and the rest is API reference, the agent skill and code samples.
  • Early release, not full diskcache parity: string keys only; AsyncCache, memoize, tags, Deque and Index are still planned. The network cache server is a roadmap item too.
  • Python 3.14+; macOS and Linux wheels include SQLite. Windows support is planned. Migration changes the import and uses a new directory, not the old cache.db.

Extras

Calvin:

  • Django Software Foundation Board Nominations open until December 2nd Michael:
  • Startpage paid plans
  • Test driving Helium Browser
  • Tallyman got a big update, give it another try
    • Tallyman is my command-line tool for seeing the shape of a codebase, with line counts grouped by language and categories such as Code, Docs, and Specs. Version 0.4.3 bundles new controls and a long list of fixes.
      • I made a bunch of massive updates this week. If you tried Tallyman before and it didn't work for your project, give it another try.
      • Use --no-save to try setup choices without writing a config, and --exclude PATTERN for one-run file exclusions.
      • Lots of fixes to gitignore handling, nested configs, the setup TUI, encodings, and image export. First runs in CI or pipes no longer hang waiting for setup.
      • Optional exclusion of inline Rust test code, plus MATLAB and Solidity support, bringing the language count to 44.
      • Want another feature? Submit an idea through a GitHub issue.
  • Bunny.net fonts disappoint.
    • Root cause: Bunny Fonts began serving its font files from cdn.jsdelivr.net, which our CSP blocks - production had silently fallen back to system fonts.
  • Talk Python Meetup: SQLite Might Actually Be All You Need

Jokes:





Download audio: https://pscrb.fm/rss/p/dts.podtrac.com/redirect.mp3/pythonbytes.fm/episodes/download/505/introducing-diskcache-oxide.mp3
Read the whole story
alvinashcraft
39 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

Ran Aroussi

1 Share

Ran Aroussi is the founder of VarOps and Automaze and creator of yfinance, a widely used open-source financial data library. His work focuses on organizational memory, context engineering, local models, and agent infrastructure for enterprise AI.

You can find Ran on the following sites:

PLEASE SUBSCRIBE TO THE PODCAST

You can check out more episodes of Coffee and Open Source on https://www.coffeeandopensource.com

Coffee and Open Source is hosted by Isaac Levin





Download audio: https://anchor.fm/s/63982f70/podcast/play/129641999/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2026-10-17%2F436996487-44100-2-682a683cefea48.mp3
Read the whole story
alvinashcraft
39 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

Introducing the Starter Pack for Work IQ

1 Share

Announcing the Starter Pack for Work IQ

Anyone who has prepared a Copilot demo or who wanted to play with Copilot and Work IQ without touching real business data knows the hardest part is the lack of demo/test content in the target tenant: no emails worth summarizing, no meetings to recap, no documents or business records for an agent to reason over. Today we are excited to announce the launch of the Starter Pack for Work IQ, a new open source project that fills a demo or developer tenant with a consistent, realistic and fully fictitious set of users, content and business data, so you can start exploring Work IQ in minutes rather than days.

The post Introducing the Starter Pack for Work IQ appeared first on Microsoft 365 Developer Blog.

Read the whole story
alvinashcraft
39 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

Tax and price updates for apps, In-App Purchases, and subscriptions

1 Share

The App Store is designed to make it easy to sell your digital goods and services globally, with support for 43 currencies across 175 storefronts.

From time to time, we may need to adjust prices or your proceeds due to changes in tax regulations or foreign exchange rates. These adjustments are made using publicly available exchange rate information from reputable financial media (e.g., The Wall Street Journal) or financial companies (e.g., Bloomberg) to help make sure prices for apps and In-App Purchases stay consistent across all storefronts.

Tax updates

Your proceeds from the sale of eligible apps and In‑App Purchases have been modified in:

  • Botswana: Value‑added tax (VAT) introduction of 14%
  • Cameroon: Significant Economic Presence (SEP) tax introduction of 3%
  • Côte d'Ivoire: SEP tax introduction of 3%
  • Rwanda: VAT introduction of 18%

Exhibit B of the Paid Applications Agreement will be updated to indicate that Apple collects and remits applicable taxes in Botswana and Rwanda.¹

In addition, a new “Software as a Service (SaaS)” attribute is now available for the following tax categories: App Store Software, Software Training Material, Dating, and Boosting. If this tax attribute is relevant to your apps or In-App Purchases, you can review and update your selections in the Pricing and Availability section of Apps.

Moreover, effective January 1, 2027, the following categories of apps will be subject to sales and use tax in California: SaaS, App Store Software, Software Training Material, Dating, and Boosting. Prices on the United States storefront are displayed to customers exclusive of taxes, so the tax change will not affect them. Your proceeds will also not change. The total amount customers are charged, inclusive of tax, may increase.

Price updates (effective December 3, 2026)

Pricing for apps and In-App Purchases will be updated for Botswana, Colombia, Egypt, Rwanda, and Türkiye if you haven’t selected one of these storefronts as the base storefront for your app or In‑App Purchase.² These updates also consider the VAT introductions listed in the tax updates section above.

If you’ve selected Botswana, Colombia, Egypt, Rwanda, or Türkiye as the base storefront for your app or In-App Purchase, prices on that storefront won’t change. On other storefronts, prices will be updated to maintain equalization with your chosen base price.

Prices won’t change in any region if your In‑App Purchase is an auto‑renewable subscription.

Prices won’t change on the storefronts where you manually manage prices instead of using the automated equalized prices.

The Pricing and Availability section of Apps has been updated in App Store Connect to display these upcoming price changes. As always, you can change the prices of your apps, In‑App Purchases, and auto‑renewable subscriptions at any time.

Learn more about managing your prices and tax categories

View or edit upcoming price changes

Edit your app’s base country or region

Pricing and availability start times by country or region

Set a price for an In-App Purchase

Set a tax category

  1. Translations of the updated agreement will be available on the Apple Developer website within one month.
  1. Excludes auto-renewable subscriptions.
Read the whole story
alvinashcraft
39 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

v2026.10.33

1 Share

OpenClaw 2026.10.33

Read the whole story
alvinashcraft
40 minutes ago
reply
Pennsylvania, USA
Share this story
Delete
Next Page of Stories