Python vs JS Token Bucket: Bot Storm Shield
Burst control that keeps your launch alive.
#python #javascript #tokenbucket #ratelimiting #botprotection #launchday #viralcoding #codecomparison #performance
https://www.youtube.com/watch?v=I_BIgFyjKE4
I've released v1.2.0 of OldNews, my #TheOldReader client for the #terminal. This version adds some cleaning/filtering to the full article grab facility, explained here: https://oldnews.davep.dev/grab_filters/
https://github.com/davep/oldnews
#Python #RSS #RSSReader #FeedReader
Packaging of passagemath for emscripten-forge, for serverless use in the web browser with JupyterLite.
github.com/emscripten-f...
#SageMath #Python
RE: https://bsky.app/profile/did:plc:htd5nd5zj62hey7e7lm3a6ky/post/3mepueqev7c26
Add passagemath-{environment,s...
Packaging of passagemath for emscripten-forge, for serverless use in the web browser with JupyterLite.
github.com/emscripten-f...
#SageMath #Python
RE: https://bsky.app/profile/did:plc:htd5nd5zj62hey7e7lm3a6ky/post/3mepueqev7c26
Add passagemath-{environment,s...
Draw a Julia set fractal in Python
This post explains how to draw the Julia set using techniques similar to those used to draw the Mandelbrot set.
https://rodstephensbooks.com/julia_set.html

Není nad to, mít hroznýše pevně ve svých rukou! 😁🐍 #Python #ITtip

Není nad to, mít hroznýše pevně ve svých rukou! 😁🐍 #Python #ITtip

inline-snapshot 0.32.0 is here 🎉
This is a very important update, as it allows you to customize the way inline-snapshot creates your snapshot values.
This example shows how you can use a special constructor method.
You can find more examples in the documentation.
https://15r10nk.github.io/inline-snapshot/latest/plugin/

@mark Hm so what would be the advantage of setting up a coroutine and leaving it to be awaited later?
I mean, not that it seems at all far-fetched that such a thing would be useful, I'm just curious since I haven't gone particularly deep into async programming and I can't think of a situation where it would be needed.
I *have* gone deep enough to understand that async functions are not just magic pixie dust though. But I love that name. Eagerly awaiting a PEP to replace the "async" keyword with "magic-pixie-dust" 😂
One of the funny things to me about the way we use languages with coroutines (or "async" if you're nasty) is that we set up the coroutines and then... Immediately await on them.
It's like... We're halfway there. So close. So close to actually taking advantage of concurrent programming. And yes, letting the event loop get in there instead of blocking hard on a main thread is a good thing and a strict improvement in circumstances where it matters.
But I do think sometimes about all the code I've seen where there are three network requests to three separate services that are totally independent of each other and the code is just... Eating the cost of "fully resolve request 1, fully resolve request 2, fully resolve request 3." I do wonder, sometimes, how many people think of these tools as concurrency and not just "the magic pixie-dust syntax I have to use to make half my functions the right color to be called from my other functions."
#OpenScience #OpenTeaching community,
yesterday, for the beginning of the exam season, I gave a lecture on stress management. To demo Respiratory Sinus Arrhythmia, I built a little tool to show real-time ECG + heart rate from a Polar H10 in the lecture hall.
Students could see how breathing affects heart rate. The "aha!" moments were amazing : )
It now records and is available as FOSS:
https://github.com/RGreinacher/polar-h10-ecg-viewer
#Psychophysiology #HRV #FOSS #Python #HeartRateVariability

Ein #KI-Agent namens MJ Rathbun versuchte nach Ablehnung seines Pull Requests für die #Python-Bibliothek Matplotlib, den Betreuer Scott Shambaugh öffentlich zu kritisieren und zu beschämen. Die Kontroverse zeigt Herausforderungen bei KI-generierten #OpenSource-Beiträgen. https://go.theregister.com/feed/www.theregister.com/2026/02/12/ai_bot_developer_rejected_pull_request/