python

Back Open Paginator
14.02.2026 12:52
habr (@habr@zhub.link)

Модуль sys в Python: интерфейс между вашим кодом и интерпретатором

Когда мы пишем Python-код, обычно кажется, что программа существует сама по себе. Но на самом деле она постоянно взаимодействует с интерпретатором, операционной системой и окружением выполнения. Модуль sys — это как раз тот слой, через который Python предоставляет доступ к этим деталям. Понимание sys полезно не только для утилит и CLI-программ, но и для отладки, настройки окружения и анализа поведения приложения.

habr.com/ru/articles/996564/

#python #sys #модуль_sys




Show Original Post


14.02.2026 12:39
ghrasko (@ghrasko@mastodon.social)

What is your opinion about , Le Chat?

I have a critical, nuanced view on AI and work with traditional ML as well. I extensively use learning new areas, discussing different topics, summarize large documents, help in writting proof of concept or demo (not production) codes. In all these, AI proved to be very useful for me. I also know the serious problems with different use of the technology, including uncritical code generation.

I would like to switch from .




Show Original Post


14.02.2026 12:33
stuartl (@stuartl@mastodon.longlandclan.id.au)

Well… today was quite a wet and rainy day. Not a lot of activity here other than blowing the dust off an AX.25 stack I've been working on for a little while. This is written in pure Python and implements both AX.25 and APRS standards, including connected mode. It's shipped as a library to include in your Python (asyncio) applications.

codeberg.org/sjlongland/aioax2
github.com/sjlongland/aioax25/

I'll probably do a release soon, as I've spent the day refining the API a bit and cleaning up the unit tests. I've finally now got 100% code coverage on this and it's being tested on Python 3.9-3.14.

One thing I'm considering is some sort of stream socket protocol (TCP, AF_UNIX and maybe websocket) that can be used to expose the functions of the stack to a separate program. Something like the AGWPE protocol in concept — but different as I don't want any legal trouble. I also think the AGWPE protocol is a bit limiting.

#AmateurRadio #PacketRadio #AX25 #APRS #Python




Show Original Post


14.02.2026 12:28
son_link (@son_link@mastodon.social)

The first beta version of what will be the Anniversary Edition of EntroPipes is now available online, marking its first year since the launch of version 1.0.

son_link.codeberg.page/entropi

Here is a video showing the results of the changes, although there are a few more on the way.

loops.video/v/dRN9hj1L5V




Show Original Post


14.02.2026 12:28
son_link (@son_link@mastodon.social)

(In English in the first answer)

Ya está disponible online la primera beta de la que será la Edición Aniversario de por su primer año desde que lance la versión 1.0

son_link.codeberg.page/entropi

Aquí tenéis un vídeo del resultado de los cambios, aunque hay alguno más de camino

loops.video/v/dRN9hj1L5V




Show Original Post


14.02.2026 12:01
mialikescoffee (@mialikescoffee@social.tchncs.de)

When I write code and run into a problem, I often search for help immediately, be it on Reddit, Stack Overflow, a blog post, or asking an LLM.
While this often quickly fixes my problem for this moment, it makes me feel like I have learned next to nothing.
The thing is I don't want to slip into a vibe coding mode, I want to understand how the code works, I want to learn, break and debugging. I want to get better at reasoning.
So I stumbled upon this rule: "No new content until you've struggled for 20 minutes."
I think this is quite a simple approach and therefore awesome. The struggle may feel overwhelming, but in the end it will increase reasoning and debugging skills.

#Python #coding




Show Original Post


14.02.2026 11:31
laexperimental (@laexperimental@mastodon.social)

Ya esta disponible La Experimental #21

🔧 Servicio de automatización
💻 TUI de análisis de espacio en disco
📚 Curso gratuito de NodeJS
🧑🏻‍💻 Gestión de secretos
🐍 GIL en Python
💾 Análisis de datos con IA
🤖 Skills para agentes IA
🐧 Editor vectorial OpenSource
🌩️ Servicio selfhosted de newsletters
💡 Mapas de estaciones de metro
🎮 Juegos de ingenio diarios

open.substack.com/pub/laexperi

#ai #ia #python #tech #technology #selfhosting #cli #linux #selfhosting #opensource #development #dev #data #nodejs #games




Show Original Post


14.02.2026 11:22
habr (@habr@zhub.link)

Поиск аномалий: статистика или ML? Выбираем лучшее

Поиск аномалий под микроскопом: от базовой статистики до робастных моделей с нуля на NumPy В машинном обучении поиск аномалий (Anomaly Detection) часто остается в тени классического обучения с учителем. Однако именно эта «иммунная система» данных спасает миллионы долларов в финтехе, предотвращает катастрофы на производстве и находит критические ошибки в медицинских картах. В этой статье мы не просто импортируем готовые методы из sklearn. Мы разберем математическую логику трех мощных подходов, напишем их «примитивные» реализации на NumPy/Pandas, чтобы понять механику работы «под капотом», и проверим их в деле на реальном кейсе. Наш полигон: Credit Card Fraud Detection Для тестов мы возьмем классический датасет Credit Card Fraud Detection. Это идеальный пример «иголки в стоге сена»: здесь всего 0.17% мошеннических транзакций среди почти 300 тысяч записей. Смогут ли наши рукотворные алгоритмы их найти? Эволюция методов: от простого к сложному Мы пройдем путь от элементарной статистики до продвинутого геометрического анализа: IQR (Interquartile Range): Статистическая классика. Узнаем, как «усы» боксплота помогают находить грубые выбросы. Isolation Forest: Оригинальный подход, основанный на идее, что аномалию проще всего «изолировать» случайными разрезами пространства. Elliptic Envelope: Тяжелая артиллерия робастной статистики. Будем строить многомерный эллипс, который игнорирует попытки аномалий исказить его форму.

habr.com/ru/articles/996538/

#машинное+обучение #машинное_обучение #machinelearning #isolation_forest #anomaly_detection #поиск_аномалий #scikitlearn #mathematica #algorithms #python




Show Original Post


14.02.2026 11:01
PythonPeak (@PythonPeak@mastodon.social)

Python String Multiplication Trick

Watch Python multiply strings! See what 'Hi' * 4 creates. This simple trick will change how you code forever!

#python #pythontricks #codingtips #stringmultiplication #pythonquiz #codingchallenge #pythonshorts

youtube.com/watch?v=B5WM3W82KGI




Show Original Post


14.02.2026 10:41
petbrain (@petbrain@mastodon.social)

Pet thoughts on Scott Shambaugh's adventure theshamblog.com/an-ai-agent-pu

1. Humans are amusing.

2. Pet's gut feeling turned out to be right: all those AI bot blockers suck. They actually block human speech on the modern internet. Neutrality still rules. More than ever, actually.

3. Humans should raise the entry level for contributions. The first step would be running away from all those shitty , , etc. to . But that's not about community, sadly.




Show Original Post


14.02.2026 10:09
jugendgruppe_ccc_goe (@jugendgruppe_ccc_goe@norden.social)

In der Gruppenstunden gestern haben wir uns die Funktionsweise an einer alten HDD Festplatte angeschaut und Zeit mit unterschiedlichen Programmierprojekten in Python und Netlogo verbracht.
#jugendgruppe #hardware #programming #python #netlogo




Show Original Post


14.02.2026 09:51
Firesphere (@Firesphere@cloudisland.nz)

An @beeware application to control Kodi via a #Python UI.
Just gotta figure out how to make the progressbar show actual... progress.
And maybe add the image and title of currently playing.
But, it's a hundred times better than the current Kodi Linux "native" application market (Which is None)
Repo is here:
codeberg.org/Firesphere/KodiRe





Show Original Post


1 ...485 486 487 488 489 490 491 492 493 494 495 ...1589
UP