python

Back Open Paginator
17.01.2026 19:50
lenswalker (@lenswalker@mastodon.social)

🛠️ Lenswalker dev update

Today's session:
• Fixed a sneaky memory leak in logout handling
• Added CI/CD pipeline
• 24 new tests for blocking & reporting
• Code cleanup: shared helpers, unified email templates

The codebase is getting more robust every day.

Still looking for testers for our real-world photo RPG! Walk → gather mana → photograph → discover. DM if interested ✨




Show Original Post


17.01.2026 19:32
habr (@habr@zhub.link)

Как 17-летний писал RAG-алгоритм для хакатона AI for Finance Hack: ретроспектива

Привет, Хабр! Мой путь в мире IT официально начался относительно недавно: в октябре 2025 года. До этого программирование вообще не выходило за рамки увлечений. Но однажды я решил испытать удачу и выйти на тропу приключений, после которой я уже не вернулся прежним...

habr.com/ru/articles/986180/

#data_science #python #ai #rag #github #соревнование #хакатон #райффайзенбанк #machine_learning #ai_engineering




Show Original Post


17.01.2026 19:24
decathorpe (@decathorpe@mastodon.social)

RE: mastodon.social/@decathorpe/11

hot off the press: `ingredients` v0.2.0

codeberg.org/decathorpe/ingred

Notably, the project now includes first-party Python bindings (available from PyPI as "crate-ingredients").

This was the last missing puzzle piece for future integration in packaging tools, i.e. `rust2rpm`.




Show Original Post


17.01.2026 19:04
hasanaligultekin (@hasanaligultekin@me.dm)

Probability Calibration with Python

Make model scores behave like real probabilities.

Many classifiers rank well but give bad probabilities (0.9 does not mean “90%”). This post shows how to test calibration (reliability curves, Brier score) and fix it with Platt scaling or isotonic regression in Python.

:medium: hasanaligultekin.medium.com/pr

#MachineLearning #Python #ModelEvaluation #DataScience #MLOps

@programming @ai @towardsdatascience @pythonclcoding
@chartrdaily

medium.com/@hasanaligultekin





Show Original Post


17.01.2026 18:41
TechKeysX (@TechKeysX@mastodon.social)

V - S1 EP17 Lab 4 - Machine Learning in Python - Why use Del Keyword on - Dictionary in Python





Show Original Post


17.01.2026 18:22
bk1e (@bk1e@mastodon.social)

@diazona @mattesilver “Get it wherever you get your p̶o̶d̶c̶a̶s̶t̶s̶ Python packages!”




Show Original Post


17.01.2026 17:42
paulehoffman (@paulehoffman@infosec.exchange)

How does one spelunk #Python history? I see that breakpoint() was added all the way back in 3.7, but hasn't been improved on at all.

I can't be the first person who wanted to do "breakpoint(x,y)" to start the debugger and immediately print out the values of x and y, instead of making me type each in the debugger every time I got to this spot.

Where can I find the discussion of what breakpoint() should and should not be able to do?




Show Original Post


17.01.2026 17:30
Reuven (@Reuven@fosstodon.org)

Sorting a #Python dict by value? Instead of:
sorted(d.items(), key=lambda t: t[1])

Use itemgetter. It's cleaner AND ~25% faster:

from operator import itemgetter
sorted(d.items(), key=itemgetter(1))

Sort by value, then by key:
sorted(d.items(), key=itemgetter(1, 0)) # value,key





Show Original Post


17.01.2026 17:29
nedbat (@nedbat@hachyderm.io)

This Wednesday! #Boston #Python
meetup.com/bostonpython/events




Show Original Post


17.01.2026 17:13
zelphirkaltstahl (@zelphirkaltstahl@mastodon.social)

I improved the reflow further, by debouncing unnecessary configure events and only reflowing at most every `x` milliseconds, where `x` can be passed to the constructor. Currently for the tag list widget, the reflowing is set to happen with a debounce of 50ms.




Show Original Post


17.01.2026 17:04
smagnusson (@smagnusson@graphics.social)

Running into a weird numpy "overflow error encountered in multiply" in Blender, using "numpy.linalg.norm" on float32 values (they're not bigger than 1.0, but could be). Never seen it before, and it crashes Blender consistently.

Has anyone else run into this, with a workaround?

#python #numpy




Show Original Post


17.01.2026 17:01
PythonPeak (@PythonPeak@mastodon.social)

Advanced List Comprehensions with Multiple Conditions

Filter and transform data in one elegant expression

List comprehensions can include multiple conditions and nested structures for powerful data transformations

...

youtube.com/watch?v=QvA59CAW6sE




Show Original Post


1 ...636 637 638 639 640 641 642 643 644 645 646 ...1584
UP