schmonz.com is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.
This server runs the snac software and there is no automatic sign-up process.
I think this is a bug in the #Python argparse library. The following program, run with `./program --example 1`, fails with the error `program: error: ambiguous option: --example could match --example-a, --example-b`
I think it should complete successfully, printing `Namespace(example_a="1")`.
Worth filing a report? A fix?
✂️ --------------------
import argparse
parser = argparse.ArgumentParser(description='Fetch logs from Snapser API')
parser.add_argument('--example-a', '--example-b', help='example')
args= parser.parse_args()
print(args)
✂️ --------------------
(A workaround is to add `--example` as a third synonym.)
Top Links Give Your .NET MAUI Android Apps a Material 3 Makeover (Gerald Versluis) WinUI agents and skills for Windows app development (Windows Dev Team) Visual Studio May Update – Plan, Review, Refine (Mark Downie) Write Cleaner WinForms Code with Copilot and the WinForms Expert Agent | Visual Studio Toolbox (Robert Green & Klaus Loeffelmann) … Continue reading Dew Drop – May 27, 2026 (#4677)
A Short Guide to Naming by Tim Ottinger is free with a Leanpub Reader membership! Or you can buy it for $6.50! https://leanpub.com/naming_shortguide #computer_programming #python #javascript #java #web_development #refactoring
Top Links VS Code Insiders Podcast Episode #22 – Agent-First Development Workflows in VS Code with Brigit Murtaugh (James Montemagno & Pierce Boggan) Building an On-Device Voice Assistant with Microsoft Foundry Local (Lee Stott) Building Fluent Icon Finder with the WinUI Copilot Skill (Joseph Finney) Cortex Episode #179 – The Philosophy of Obsidian, with CEO … Continue reading Dew Drop – May 26, 2026 (#4676)
Top Links Automatically getting API difference diagrams in your .NET PRs (Morten Nielsen) Automating Intakes to the Awesome Copilot Marketplace (Aaron Powell) Introducing Syncfusion Toolkit for Blazor: Free Open-Source Blazor Components (Saravanan G.) Learn how to host your agents on Microsoft Foundry (Pamela Fox) TechBash CLI – A GitHub Copilot CLI skill that connects your … Continue reading Dew Drop – May 25, 2026 (#4675)
People in the #Python ecosystem, has there ever been a developer survey that gathered data about the *usage* of static analysis tools in the Python community? Frustratingly the JetBrains developer survey didn't seem to contain this question.
I know "AI" is a polarizing topic around here, but I wanted to share a small side-project I've been tinkering with to scratch a personal itch: MastoSum.
It’s a lightweight web app that listens to public streams, filters for the hashtags I actually care about, and uses an LLM to generate a daily digest of the last 24 hours. Basically, a personalized news feed to help cut through the noise.
It works reasonably well for what I need. Here’s an example of today's run: https://mastosum.linuxserver.pro/s/6q1ZdTOuHBfKyQ3aVU3dOw
It's IPv6-only. Not reachable via IPv4.
#python #fastapi #mastodon #newsfeed #selfhosting #ai #llm #ipv6
A Short Guide to Naming by Tim Ottinger is free with a Leanpub Reader membership! Or you can buy it for $6.50! https://leanpub.com/naming_shortguide #computer_programming #python #javascript #java #web_development #refactoring
Top Links Plan Before You Build: Introducing the Plan agent in Visual Studio (Rachel Kang) Windows App SDK Version 2.1.3 Stable Release Notes and Windows App SDK Version 2.1 Experimental 8 (2.1.4-Experimental8) Release Notes (Microsoft Learn) Announcing Agent Governance Toolkit MCP Extensions for .NET (Jack Batzner) PowerShell is now notarized and hardened for macOS (Jason … Continue reading Dew Drop – May 22, 2026 (#4674)
Dirty Data Dojo: Cleaning Data (Excel & Python): Learn to Clean Your Dirty Data in Minutes, not Months by Lee Baker is the featured course 🎓 on Leanpub!
Link: https://leanpub.com/courses/leanpub/dirtydatadojo-excelpython
#python #business_analysis #data_science #science #social_science
Build Your Own Coding Agent by J. Owen is on sale on Leanpub! Its suggested price is $34.99; get it for $15.99 with this coupon: https://leanpub.com/build-your-own-coding-agent/c/LeanpubWeeklySale20260519 #ai #python #software_engineering #machine_learning #computer_programming
Dew Drop Weekly Newsletter 484 - Week Ending May 20, 2026
#dewdrop #newsletter #javascript #aspnetcore #azure #css #cpp #windowsdev #winui #dotnet #csharp #ai #mcp #devops #agile #gamedev #appdev #podcasts #m365 #sqlserver #data #powershell #python
Convert standard input to italics with #Python
#!/usr/bin/env python3
import sys
a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
b="𝘈𝘉𝘊𝘋𝘌𝘍𝘎𝘏𝘐𝘑𝘒𝘓𝘔𝘕𝘖𝘗𝘘𝘙𝘚𝘛𝘜𝘝𝘞𝘟𝘠𝘡𝘢𝘣𝘤𝘥𝘦𝘧𝘨𝘩𝘪𝘫𝘬𝘭𝘮𝘯𝘰𝘱𝘲𝘳𝘴𝘵𝘶𝘷𝘸𝘹𝘺𝘻"
print(" ".join(sys.argv[1:]).translate(str.maketrans(a,b)))
That One Draft Post (you know the one) that I've been working on for [unintelligible] months now had me wondering if I even remember how to _finish_ something, so, this was a brief interlude where I checked to see if I could in fact still do that. And also I wanted to write a little bit about #Python programming (a thing I actually like) and not just more about AI
"Wait… SQLAlchemy Core Support?", I hear you ask. Yes, #DBXS supports #SQLAlchemy Core, and has done so for quite some time. This was previously undocumented so I can certainly forgive you for not knowing.
So the *real* story of this release is not so much any big code changes, but rather updated dependency testing as well as *comprehensive documentation* for the SQLAlchemy feature. This may teach you a few things you didn't know about #Python database support. https://dbxs.readthedocs.io/en/latest/howto.html#sqlalchemy-core-support
A couple go to Python debugging aids of mine, first is breaking into the debugger.
import pdb; pdb.set_trace()
The second is:
```
def printtb(fun):
import functools
@functools.wraps(fun)
def wrapper(*a, **kwa):
try:
return fun(*a, *kwa)
except:
import traceback; traceback.print_exc()
raise
return wrapper
```
Then any functions that is throwing an exception that I can't easily wrap elsewhere (or have no clue where it's being called from), I just throw this wrapper around it and I get the traceback I need.
Top Links Composition Stack for AI-Assisted .NET Development (Matt Mattei) Things I Think I Think… about Coding Agents and IDEs (Ted Neward) What’s new in Microsoft Foundry | April 2026 (Nick Brady) WinUI 3 Performance: A Leap Forward (Beth Pan) GitHub Copilot CLI + GPT-5-mini BYOK: The Code Was Cheap, the Quality Gates Were Expensive … Continue reading Dew Drop – May 12, 2026 (#4666)
They say you're supposed to scratch your own itches, so here's my take on a printer-friendly version of the #PyConUS 2026 schedule:
https://snoopj.dev/files/PyConUS_2026_printable/
My target here is to fit one day on a double-sided landscape 8.5x11" (on my browser/printer) and it just about squeezes down this way.
Top Links Build an AI-Powered Rich Text Editor in .NET MAUI with AI AssistView (Tamilarasan Gunasekaran) Getting started with the GitHub Copilot SDK in .NET (Bart Wullems) Claude Code inside Obsidian — academic research skills, inline diff editing, MCP support (hkcanan) Merge Conflict Episode #514 – Running Local LLMs in VS Code (James Montemagno & Frank Kreuger) Syncing Claude Memory … Continue reading Dew Drop – May 11, 2026 (#4665)
RE: https://fosstodon.org/@ThePSF/116555573783540910
The PSF Board has been developing a strategic plan and today we're sharing the high-level goals for community feedback. Full draft with detailed objectives follows in June.
This plan will shape how the PSF spends its resources for the next five years. If Python is part of your world, we'd love to hear from you.
Build Your Own Coding Agent: The Zero-Magic Guide to AI Agents in Pure Python by J. Owen is the featured book 📖 on Leanpub!
Skip the black-box frameworks. Build a production-grade AI coding agent from scratch in pure Python - cloud or local, tested with pytest, all in a single file.
Link: https://leanpub.com/build-your-own-coding-agent
#ai #python #software_engineering #machine_learning #computer_programming
Ultimate ML interpretability bundle: Interpretable Machine Learning + Interpreting Machine Learning Models With SHAP by Christoph Molnar is the featured bundle of ebooks 📚 on Leanpub!
OK @glyph challenge accepted. Here is python programming talk.
I have a script that uses "with Popen(...,stdout=PIPE)" to run a program and roughly run grep. Now I'd like to add a timeout, but I don't want to buffer the output (because it is unbounded), so run is out. Currently I am running /usr/bin/timeout from python, but this is, uh, unpythonic.
RE: https://wandering.shop/@LAcon/116528709912868061
I’m proud that my work is helping to make the #HugoAwards happen again this year. When you vote in the Hugo Awards, or download the packet, you're using software I wrote. It's open source -- a rarity in convention software, but in my opinion, so critical to the trust we must have in the process -- and made with #Python and #Django and many other software libraries that are also freely given to the developer community.