python

Back Open Paginator
13.02.2026 23:00
PythonPeak (@PythonPeak@mastodon.social)

Python vs JS Token Bucket: Bot Storm Shield

Burst control that keeps your launch alive.

#python #javascript #tokenbucket #ratelimiting #botprotection #launchday #viralcoding #codecomparison #performance

youtube.com/watch?v=I_BIgFyjKE4




Show Original Post


13.02.2026 22:46
davep (@davep@fosstodon.org)

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: oldnews.davep.dev/grab_filters/

github.com/davep/oldnews

#Python #RSS #RSSReader #FeedReader




Show Original Post


13.02.2026 22:29
r (@r@fed.brid.gy)

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...




Show Original Post


13.02.2026 22:29
r (@r@bsky.brid.gy)

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...




Show Original Post


13.02.2026 21:59
RodStephens (@RodStephens@hachyderm.io)

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.

rodstephensbooks.com/julia_set

#Python #Fractals





Show Original Post


13.02.2026 21:53
r (@r@fed.brid.gy)

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





Show Original Post


13.02.2026 21:53
r (@r@bsky.brid.gy)

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





Show Original Post


13.02.2026 21:30
15r10nk (@15r10nk@fosstodon.org)

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.

15r10nk.github.io/inline-snaps

#python





Show Original Post


13.02.2026 21:03
diazona (@diazona@techhub.social)

@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" 😂

#Python #asyncio




Show Original Post


13.02.2026 20:58
mark (@mark@mastodon.fixermark.com)

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."

#python #asyncio




Show Original Post


13.02.2026 20:56
robertspang (@robertspang@chaos.social)

#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:
github.com/RGreinacher/polar-h

#Psychophysiology #HRV #FOSS #Python #HeartRateVariability





Show Original Post


13.02.2026 20:39
maik (@maik@norden.social)

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. go.theregister.com/feed/www.th




Show Original Post


1 ...487 488 489 490 491 492 493 494 495 496 497 ...1589
UP