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.
The reason why #nodejs apps are full of these "micro libraries" is that the standard library lacks basic functionality.
Writing code is #Javascript ist just a huge liability (Same goes for #python IMO).
📣📣 ATTN PSF Voting Members: The 2025 PSF Board election vote closes tomorrow, September 16th, at 2PM UTC- but don't wait, go vote today! If you affirmed for 2025 or are pre-affirmed from last year, check your email for voting instructions 🗳️ #python
https://pyfound.blogspot.com/2025/08/the-2025-psf-board-election-is-open.html
Python devs, is this familiar: Your team writes beautiful snake_case code, but every external API wants camelCase.
You could:
- Pollute your codebase with non-Pythonic naming
- Write manual conversion layers
- Live with the friction
Or you could use Pydantic's field aliases to solve this once and for all.
New guide: How to handle non-Pythonic naming conventions seamlessly 👇
https://link.testdouble.com/e357d1
When I write tests for code, I often include references to TV or books or other such things.
If I need a text string, I rarely do "Hello World". I used to do "Hello Kitty" but these days I usually use "Hi Bob" (from For All Mankind). I even added a test API header "X-Hi: Bob" the other day. 😁
For errors I often go with "Out of cheese error" or "Divide by cucumber error" from Discworld.
Days between today and any date with #Python #69
#!/usr/bin/python3
import sys; from datetime import datetime,date
formats=["%m/%d/%Y","%m/%d/%y","%Y-%m-%d","%d-%m-%Y","%d %b %Y","%d %B %Y"]
for f in formats:
try: d=datetime.strptime(sys.argv[1],f).date(); break
except: pass
else: exit("bad format")
print(abs((date.today()-d).days))
@glyph Same laptop, same version of cpython (3.13), same requirements.txt file with pip:
real 2m5.404s
user 0m42.650s
sys 0m5.081s
So 125 seconds versus 14 seconds. Pip and uv calculate dependencies differently, though uv tries to be compatible. Pip did 253 packages and uv did 250. But pip works sequentially, one package at a time. One download at a time. Like many #rust programs, uv is "embarrassingly parallel."
So I just rebuilt my personal #python venv in my home directory on my #linux daily driver laptop. I did pip freeze > requirements.txt to capture all the packages I had installed. Then I took away all the ==a,b.c versioning so I'd install the latest compatible version.
Then I ran uv pip install -r requirements.txt. This blew me way:
$ time uv pip install -r requirements.txt
Resolved 250 packages in 2.38s
Built python-ldap==3.4.4
Built py-cui==0.1.6
Built docopt==0.6.2
Built email-normalize==2.0.0
Built ecos==2.0.14
... bunch of lines...
real 0m14.028s
user 0m11.605s
sys 0m4.131sWow. 250 packages in 14 seconds.
Ultimate ML interpretability bundle: Interpretable Machine Learning + Interpreting Machine Learning Models With SHAP https://leanpub.com/b/interpretability by Christoph Molnar is the featured bundle of ebooks 📚 on the Leanpub homepage! https://leanpub.com #DataScience #Python #MachineLearning #books #ebooks
Advanced Conformal Prediction:Practical Uncertainty Quantification for Real-World ML by Valery Manokhin is on sale on Leanpub! Its suggested price is $44.95; get it for $31.96 with this coupon: https://leanpub.com/sh/jlvBbw3N #Python #MachineLearning #DataScience
If a highly customisable #python, #scrum or #agile utility actually sounds like something you'd be keen on using, I'd actually really love to know. v0.2 has a couple of significant design changes that would effect calling it as a library or creating your own templates, and I'd love some feedback on the design (probably in a week or two) before I merge it in.
But - `pip install scrummd` will already give you the scrum tool nobody asked for!
Sometimes, when coding your own thing, you do little things to make yourself happy even if it isn't _strictly in scope_ of the feature you're building.
I'm adding writing fields to #ScrumMD. I needed to rewrite the output code to make that work - which meant I'm moving (eventually) all output to Jinja2 templates rather.
And, to make me happy: I added ANSI color when using interactively to the new default template.
Mastering Modern Time Series Forecasting by Valery Manokhin is on sale on Leanpub! Its suggested price is $54.95; get it for $42.46 with this coupon: https://leanpub.com/sh/2ct53JYb #ComputerScience #MachineLearning #Mathematics #Python #DataScience #DeepLearning #Education
I did not make any good progress on my project to read GPX data with Python today. (Trying to read speed.) May need to just read it as XML.
There are a bunch of nerds who do Python and bikes though, so someone might have the code example I need.
Introduction to GIS Programming: A Practical Python Guide to Open Source Geospatial Tools https://leanpub.com/gispro by Qiusheng Wu is the featured book on the Leanpub homepage! https://leanpub.com #Python #books #ebooks #GIS
Find it on Leanpub!
boosted#devops #virtualization #python #python3 #coding #tools #pve #prox #proxlb #drs #clustering #loadbalancing #features
Forecasting Professional https://leanpub.com/b/forecasting_professional by Valery Manokhin is the featured bundle on the Leanpub homepage! https://leanpub.com #ComputerScience #MachineLearning #Mathematics #Python #DataScience #DeepLearning #Education
The following 2 books are included in this bundle...
Mastering Modern Time Series Forecasting and Probabilistic Forecasting with Conformal Prediction in Python
Find it on Leanpub!
I was laid off recently so I'm looking for a new job!
I have a decade of experience as a web backend dev writing APIs in Python and Ruby in a variety of frameworks. I'm usually the git and Postgres expert on the team, and if you leave me alone I'll start writing tests and doing security updates. Used to help run PyLadies Vancouver, now PyCascades. More: https://hollybecker.net/resume/
Looking for: full-remote, hiring in Canada, minimal LLM nonsense
Feature Selection in Machine Learning by Soledad Galli, PhD is on sale on Leanpub! Its suggested price is $29.99; get it for $21.24 with this coupon: https://leanpub.com/sh/D3vVpWb8 #Python #Ai #MachineLearning #ProgrammingCookbooks
It's 2025 and I am still not 100% sure how to have #PyGame go to sleep and wait for *either* an event from the keyboard/mouse/controller *or* an event from the network *or* a vblank interrupt without some kind of hard-coded polling timeout. Various attempts I've made at this in the past have violated thread safety rules and I'm not sure the documentation even covers all the constraints I need to preserve. #python
The Hitchhiker’s Guide to Plotnine by Jodie Burchell and Mauricio 'Pacha' Vargas Sepúlveda is free with a Leanpub Reader membership! Or you can buy it for $10.00! http://leanpub.com/plotnine-guide #DataScience #Python
The Forecasting, CatBoost & Conformal Prediction Tetralogy https://leanpub.com/b/forecasting_catboost_conformal_predictiontetralogy by Valery Manokhin is the featured bundle on the Leanpub homepage! https://leanpub.com #ComputerScience #MachineLearning #Mathematics #Python #DataScience #DeepLearning #Education #books #ebooks
Find it on Leanpub!
I think the bug I resolved (I wouldn't say fixed) in @novelwriter today is the weirdest I've encountered so far.
The app uses @-based keywords to set meta data in the text. An auto-complete menu pops up to suggest which keyword when you type an @ on a new line.
In the current version (at least) if you have the editor "justified margins" set, type an @, then type backspace, then *and only then* will Qt/PyQt segfault and crash the app.
Feature Selection in Machine Learning: Over 20 methods to select the most predictive features and build simpler, faster, and more reliable machine learning models. https://leanpub.com/feature-selection-in-machine-learning by Soledad Galli, PhD is the featured book on the Leanpub homepage! https://leanpub.com #Python #Ai #MachineLearning #ProgrammingCookbooks #books #ebooks
Find it on Leanpub!
A #documentary about #Python just got released, and it's really good.
It talks about Python's origins, the founding of the PSF, the Python 2 to Python 3 transition, the struggle to increase diversity, Guido's resignation over the walrus operator, as well as Python's relevance as a language now and in the future.
Mastering Modern Time Series Forecasting by Valery Manokhin is on sale on Leanpub! Its suggested price is $54.95; get it for $42.46 with this coupon: https://leanpub.com/sh/o8R2Rcp2 #ComputerScience #MachineLearning #Mathematics #Python #DataScience #DeepLearning #Education
@aparrish let the record state that it's 2025 and there's no official Delphi-like #OpenSource RAD IDE for, say, #python. (Python's official GUI toolkit is laughably TCL/Tk). Not even $5 million can be scrounged for funding this, by, say, the #Linux Foundation, which is a sum of money which is next to nothing for them.
New 📚 Release! Practical MCP: A Python Developer's Guide by Arjuna Sky Kok #books #ebooks #python #programming
Large Language Models are powerful, but they're trapped. They can't access real-time data, call APIs, or even count characters reliably. *Practical MCP* is your guide to setting them free.
Find it on Leanpub!
Interpreting Machine Learning Models With SHAP: A Guide With Python Examples And Theory On Shapley Values https://leanpub.com/shap by Christoph Molnar is the featured book on the Leanpub homepage! https://leanpub.com #DataScience #Python #MachineLearning
Master machine learning interpretability with this comprehensive guide to SHAP – your tool to communicating model insights and building trust in all your machine learning applications.
Find it on Leanpub!