python

Back Open Paginator
01.08.2025 16:48
pybay (@pybay@fosstodon.org)

🚨 The PyBay 2025 speaker lineup is LIVE at pybay.org/speaking/current-spe
✔️ 28 speakers
✔️ Python legends
✔️ Real-world tech talks

🎟️ Tickets moving fast → pretix.eu/bapya/pybay-2025/
#PyBay2025 #Python





Show Original Post


01.08.2025 16:00
leanpub (@leanpub@mastodon.social)

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: leanpub.com/sh/NlOWKklm




Show Original Post


01.08.2025 15:56
nuculabs (@nuculabs@mastodon.social)

Had a weird DNS bug today, the most annoying one so far. Pymongo 13 with the asynchronous client could not connect to the mongodb database. This was only when it was running inside a Kubernetes pod and it also messed up the pods dns, making connections to Kafka, rabbit and other services fail.




Show Original Post


01.08.2025 14:32
__sharky__ (@__sharky__@mastodon.social)

Is there an alternative to pytest-testinfra ? It would be so good to have a pluggable backend.




Show Original Post


01.08.2025 13:53
qiita (@qiita@rss-mstdn.studiofreesia.com)

本番環境にベイズモデルをデプロイする方法、全部話します
qiita.com/Gotoubun_taiwan/item

#qiita #Python #R #Stan #PyMC #Numpyro




Show Original Post


01.08.2025 13:00
abrignoni (@abrignoni@infosec.exchange)

🌋 The LEAPPs Artifact Viewer App (LAVA) is right around the corner.
🌋 Learn how to build artifacts for the LEAPPs that will work with LAVA.
🌋 Watch the video tutorial here: youtube.com/live/qTgZUh4GPxk?

#DigitalForensics #LAVA #MobileForensics #DFIR #Python #Coding





Show Original Post


01.08.2025 12:48
Python4DataScience (@Python4DataScience@mastodon.social)

We have added several geopython libraries: python4data.science/en/latest/




Show Original Post


01.08.2025 12:26
mgorny (@mgorny@pol.social)

#Matplotlib ma sporo testów opartych o "porównywaniu grafik", które często się sypią. Technicznie rzecz biorąc, większość z nich dopuszcza pewien odchył od obrazów referencyjnych, ale całkiem często dostałem większe wartości RMS. Tak więc przez długi czas musieliśmy utrzymywać spore łatki, które zwiększały tolerancję w tych testach, i regularnie wymagały aktualizacji.

W pewnym momencie autorzy zaczęli dodawać do testów warunki, dopuszczające większą tolerancję na platformach innych niż x86_64. Oczywiście, każda taka zmiana zmuszała mnie do aktualizacji naszej łatki. Co ciekawe, wartości, które poprzednio wprowadziłem, były zbliżone do tych, które teraz dodano dla platform innych niż x86_64.

Dziś do mnie w końcu dotarło, że zamiast znów aktualizować łatkę, mogę spróbować ją całkiem wywalić i podmienić sedem wszystkie instancje `platform.machine() == 'x86_64'` na `False` — i jak się okazuje, po tej zmianie poza zakresem zostały 3 testy (związane z TeΧ). I nie muszę już spędzać 15 minut ręcznie robiąc właściwie to samo.

#Gentoo #Python




Show Original Post


01.08.2025 12:22
mgorny (@mgorny@social.treehouse.systems)

#Matplotlib has a lot of "image comparison tests" that are horrible fragile. Technically, most of them permit some deviation from the reference images, but quite often I've been getting higher RMS than that. So for a long time, we've been maintaining patches that increased the tolerance in tests, and regularly either had to be rebased and updated for new tests.

At some point upstream started adding conditions permitting higher tolerance on non-x86_64 platforms. Of course, these changes forced me to rebase our patches. Curious enough, my previous overrides often happened to be close to the tolerance given for non-x86_64 platforms.

Today, it finally occurred to me that instead of updating the patch once again, I can try dropping it entirely and just sed-ing all `platform.machine() == 'x86_64'` with `False`. And guess what — down to 3 failures (related to TeΧ). And I don't have to spend 15 minutes manually doing what effectively accounted to the same thing.

#Gentoo #Python




Show Original Post


01.08.2025 12:06
eclecticpassions (@eclecticpassions@fosstodon.org)

New short post #BurgeonLab ✍️

➡️ burgeonlab.com/blog/retext-cod

Fixing my first ever bug was a fun experience. I am not sure when and if there will be another chance for me to do so! It was a bug fix regarding syntax highlighting in #ReText, the #Markdown editor I've been raving about lately. 😜

#blog #blogging #bugfix #python




Show Original Post


01.08.2025 12:01
djangonews (@djangonews@mastodon.social)

📰 Django News - Django and AI - Aug 1st 2025

django-news.com/issues/296




Show Original Post


01.08.2025 11:54
JGraber (@JGraber@mastodon.social)

Friday #290: Record Audio With

pythonfriday.dev/2025/08/290-r




Show Original Post


1 ...1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 ...1545
UP