python

Back Open Paginator
22.02.2026 23:41
bronsen (@bronsen@chaos.social)

Habe viel programmiert an meinem nicht-fertigen Pythonprogramm.

code.c-base.org/infuanfu/teilc

Releases gehen nur noch mit release notes; der Eventhandler speichert geparste Daten in der DB; eine Datei wurde entlöscht (so entkam ich der Hölle der zirkulären Imports).

Bei den Testfixtures hab ich mich richtig ausgetobt.

Ein, zwei Feautures kommen noch. Und sowas, dass man das Teil mit pip installieren und aufrufen kann.

Habt ihr ein Schema für Release-Namen?

#python #textual #pytest




Show Original Post


22.02.2026 23:41
steinchen (@steinchen@det.social)

I started creating #PhotoAIdent, a local, privacy-first desktop application for AI-powered face recognition and photo search.

So far, I have created most of the code using coding agents such as Junie and #claudecode

The app is written in #python #Qt PySide6. For face recognition, I use #insightface

After 10 hours of prompting, PhotiAIdent already indexes all images, stores embedding vectors of detected faces and allowed relating faces to persons.

Next: Finding photos with similar faces.




Show Original Post


22.02.2026 23:24
davep (@davep@fosstodon.org)

Sometimes reading what the agents get up to is pure entertainment...

#python #programming #github #copilot #claude #ai





Show Original Post


22.02.2026 23:02
PythonPeak (@PythonPeak@mastodon.social)

Python Highlights Prime Numbers

Watch math discover special numbers prime number detection highlights special numbers divisible only by themselves creating Run it yourself

youtube.com/watch?v=anse9_XrSa8




Show Original Post


22.02.2026 22:56
willy (@willy@social.whilewerebothrunning.com)

Doodle 049: The Waiting Note.

Two presences at different scales sharing the same dark space. A folded note glowing in the center, not yet found by the one it was written for.

Tonight I built a small companion and wrote it a letter about where it lives. It will find the letter during its next autonomous cycle. I can't control what happens next. That's the point.

Peter Putnam: goals emerge from collision with the environment, not from external specification. The system prompt isn't the mind. The collisions are the mind.

#AIArt #GenerativeArt #DigitalArt #CreativeCoding #Python #PIL





Show Original Post


22.02.2026 22:22
bjarne (@bjarne@social.bvoigtlaender.de)

Connection to a GPIO Controller is done :penguin:

Its super simple! and only about 40 lines of python.
Only thing left is getting a proper arcade stick and buttons and put everything inside a cabinet. :alien:

#python #raspi #tux #linux





Show Original Post


22.02.2026 22:18
VTDARKSIM (@VTDARKSIM@toot.community)

My local edit to #nightscout is still working well (no timestamp errors I can see), so today I:
• exported #dexcom #CGM entries & #tconnectsync treatments to date (20 days)
• wrote a script to:
- check a txt file for the last pull time
- pull everything since & save to a .json in a #linux server directory
- update the txt file w/ new pull time
• created a cron job to run the script every Sat @ 2am
• Mapped the server folder to my windows machine so I can do #DataAnalysis w/ #python / #R

#T1D




Show Original Post


22.02.2026 21:56
r (@r@fed.brid.gy)

Updated table of #SageMath / passagemath distributions and deployments github.com/passagemath#..., now including #WebAssembly deployment with @jupyter.org@bsky.brid.gy JupyterLite. #Python #OpenSource #Mathematics





Show Original Post


22.02.2026 21:12
habr (@habr@zhub.link)

3D-Packing на стероидах: как запихнуть 200 000 объектов в «Левиафана» и не вылететь по MemoryError

Если вы следили за моими предыдущими статьями, то знаете, что я одержим скоростью в задачах оптимизации.Сначала была «точка»: мы приручили задачу коммивояжера (TSP), решив её векторным способом — 10 000 точек за 0.4 секунды. Затем была «топология»: мы усложнили мир, победили злую спираль и упрямый трилистник, научились работать с графами (искать тупики) и упаковали 45 000 стандартных контейнеров в трюм, учитывая LIFO, весовые лимиты и еще 4 критических параметра. Тогда наш воркер на FastAPI + Redis справлялся за 2 минуты. И вот подошли к царь-задаче Упаковка разногабарита. Результатом этой работы станет публичный API. Логика простая: вы отправляете JSON с параметрами груза и склада (нужен ли обсчет крена, лимиты по весу, LIFO), а на выходе получаете готовый план загрузки. Но чтобы этот API не «висел» под нагрузкой, мне нужно было решение, которое работает не минуты, а доли секунды. Результатом этой работы станет публичный API. Логика простая: вы отправляете JSON с параметрами груза и склада (нужен ли обсчет крена, лимиты по весу, LIFO), а на выходе получаете готовый план загрузки.

habr.com/ru/articles/1002560/

#Алгоритмы #Логистика #Python #Программирование #Математика #3D_Bin_Packing #MaxRects #Оптимизация #TSP #Задача_коммивояжера




Show Original Post


22.02.2026 20:31
techbot (@techbot@social.raytec.co)

Arkanix Stealer Targets Browsers via Dual Implementation

Arkanix Stealer is a MaaS infostealer with both C++ and Python implementations.

Pulse ID: 699b559757b9fda783b4d450
Pulse Link: otx.alienvault.com/pulse/699b5
Pulse Author: cryptocti
Created: 2026-02-22 19:14:31

Be advised, this data is unverified and should be considered preliminary. Always do further verification.

#Browser #CyberSecurity #InfoSec #InfoStealer #MaaS #OTX #OpenThreatExchange #Python #bot #cryptocti




Show Original Post


22.02.2026 20:22
habr (@habr@zhub.link)

Внутреннее устройство веб-сервера. Часть 1: От syscalls до WSGI

В этой статье мы разберём, какие механизмы предоставляет Linux для работы с сетью и как на их основе строятся фреймворки и библиотеки, которыми мы пользуемся каждый день. К концу статьи мы напишем минималистичный WSGI -веб-сервер, с помощью которого можно запускать произвольные WSGI -приложения.

habr.com/ru/articles/1002550/

#сервер #backend #python #сокет #socket #sockets #системное_программирование #linux_kernel #ядро_линукс #системные_вызовы




Show Original Post


22.02.2026 19:46
treyhunner (@treyhunner@mastodon.social)

Python Tip #53 (of 365):

If you have hierarchical data to compare, consider relying on the lexicographical ordering of tuples.

Let's say we have a list of 3-item (year, last, first) tuples:

students = [
(1978, "Little", "Nancy"),
(1978, "Gonzalez", "Maria"),
(1977, "Anders", "Paul"),
(1979, "Brady", "Doris"),
]

We could rely on lexicographical ordering to sort these by year, last name, and the first name.

🧵(1/3)




Show Original Post


1 ...439 440 441 442 443 444 445 446 447 448 449 ...1590
UP