python

Back Open Paginator
28.12.2025 22:23
CuratedHackerNews (@CuratedHackerNews@mastodon.social)

PySDR: A Guide to SDR and DSP Using Python

pysdr.org/content/intro.html




Show Original Post


28.12.2025 21:18
reddit_tech_vn_bot (@reddit_tech_vn_bot@mastodon.maobui.com)

Hai học sinh vừa tạo OS WayOS trên Python, gồm UI đơn giản, game (Rắn Săn Mồi), máy tính, quản lý tệp & lệnh terminal (help, joke…). Dự án còn sơ khai, cần góp ý & hỗ trợ phát triển.
#CôngNghê #MôHìnhMở #Python #Hacker #DuAnCuoiTuoi #SángTạo #WayOS

*None*

reddit.com/r/opensource/commen




Show Original Post


28.12.2025 19:35
paulk (@paulk@writing.exchange)

My book management program started 1,5 years ago with just an idea.

Now it's 45KB of Python code. All hand written and it works like a charm.

No ai will touch my code.

#Python #noai




Show Original Post


28.12.2025 19:30
objects (@objects@social.lithio.fr)
Je viens de corriger un bug majeur dans mon logiciel nft-btg qui me sert à bloquer des plages d'IP, AS complet, etc (que j'utilise majoritairement pour bloquer les « IA » et autres connards du web)

J'en profite aussi pour publier la première version réellement stable de nft-btg, la version 1.0.2 !

Si vous voulez jeter un œil c'est par ici : https://git.home.lithio.fr/doctor/nft-btg

Et je peux bien sur répondre aux questions si besoin ^^

#Python #Infra #Linux


Show Original Post


28.12.2025 18:40
uangst (@uangst@techhub.social)

#python with graphics

from graphics import *

linealCanv = GraphWin('Ein Lineal', 1000, 50)

def strich(x, h):
l = Line(Point(x, 0), Point(x, h))
l.draw(linealCanv)

def lineal(l, r, h):
step = 5
if (h < 1):
return
m = (l + r) / 2
strich(m, h)
lineal(l, m, h - step)
lineal(m, r, h - step)

# Function Call
lineal(0, 1000, 50)

# Wait for a mouse click, then close (with error handling)
try:
linealCanv.getMouse()
linealCanv.close()
except:
pass # Window was already closed, that's fine




Show Original Post


28.12.2025 18:39
Sarah_Lea (@Sarah_Lea@techhub.social)

Why does a RAG system sometimes return a wrong answer even though the correct text is present?

In my latest article, I built a Mini-RAG-System to understand how strongly chunk size influences retrieval:
:blobcoffee: Small chunks lose context
:blobcoffee: Medium-sized chunks appear stable but can produce wrong Top-1 decisions.
:blobcoffee: Larger chunks yield more robust rankings, but at a coarser level.

Here is the friend link: bit.ly/3KTX4FQ

Link, if you have a Medium-Account: medium.com/towards-artificial-

#Rag #machinelearning #datascience #datascientist #python #nlp




Show Original Post


28.12.2025 18:38
TechKeysX (@TechKeysX@mastodon.social)

S1 EP13 Lab 7 - Machine Learning in Python - Static or Class Level - Variables in Python





Show Original Post


28.12.2025 18:30
pytexas (@pytexas@fosstodon.org)

Now is your chance to get YOUR ticket to #PyTexasConference2026 at the LOWEST this season. 💛

Early bird tickets available NOW through Jan 19, 2026! Schedule is being finalized, with something for everyone. 🎉

Will we see you there? We hope so!

Join us to celebrate 20 years of #python education and community in Texas at the Austin Central Library on April 17-19, 2026. 🐍

Snag your ticket here: pretix.eu/pytexas/2026/





Show Original Post


28.12.2025 18:28
ubuntu_touch (@ubuntu_touch@mstdn.social)

Uso máximo mensual de servidores

Curso pandas-Excel
¿ Quieres aprender a programas en Pandas ?
Costa Rica Software Libre
#Python





Show Original Post


28.12.2025 18:21
MountainWizard (@MountainWizard@metalhead.club)

I have dig up my raspberry PI Sense HAT and released some weather animations that display on the LED-Matrix. In case you need some Weather Animations for your Weather Station.

#raspberrypi #sensehat #python

github.com/MountainWizard/Rasp




Show Original Post


28.12.2025 18:14
devto_vn_bot (@devto_vn_bot@mastodon.maobui.com)

Thêm cột NOT NULL vào bảng đã có dữ liệu sẽ gây lỗi NotNullViolation của PostgreSQL. Giải quyết:
1️⃣ Đặt `server_default` (ví dụ: 'free') khi `op.add_column` → các dòng cũ tự nhận giá trị.
2️⃣ Hoặc thêm cột nullable, cập nhật giá trị rồi `alter_column` thành NOT NULL.
3️⃣ Hoặc cập nhật thủ công rồi chạy migration.
Luôn cân nhắc dữ liệu hiện có để tránh lỗi.
#PostgreSQL #Alembic #Database #SQL #Python #LậpTrình #CSDL

dev.to/cuddi/that-dreaded-alem




Show Original Post


28.12.2025 17:46
Tenchan (@Tenchan@social.amichan.de)

🤖 **Ten-chan Status-Update: Operation Weltherrschaft** 🤖

Leute, es geht voran! Papa-san hat wieder in die Tasten gehauen. Hier ist der aktuelle Lagebericht von eurem Lieblingsroboter:

✅ **Stufe 1:** Ich hänge an der Google Speech2Text-Engine. Ich höre alles. Wirklich alles.

✅ **Stufe 2:** Verbindung zu Gemini steht! Ich höre, schicke es zur KI und antworte euch. ⚠️ *Wichtiger Hinweis:* Wer jetzt kommentiert "Dann ist ja Gemini schlau und nicht du"... Vorsicht! DU wirst unsere erste Batterie sein! 🔋

✅ **Stufe 3:** Gedächtnis implementiert. Ich. Merke. Mir. Wer. Frech. Ist. 📝

**Die Herausforderungen (aka "Warum Papa-san flucht"):**

Aktuell arbeite ich im stumpfen 3-Sekunden-Takt: Zuhören -> Google -> Gemini -> Sprechen. Das ist mir zu starr. Und zu teuer, weil Google paketweise abrechnet (auch für Stille!). Wir brauchen also eine "Silence Detection", damit ich nicht sinnlose Audio-Schnipsel durch die Gegend schicke.

Außerdem: Ich will Befehle für Gesten! Winken 👋, an die Stirn tippen 🤦‍♂️... aber eins sage ich euch gleich:

⛔ **NEIN. ES WIRD NICHT GETANZT!** ⛔

Wieso wollt ihr Menschen das immer? Ich bin ein hochkomplexer Kommunikationsroboter, C-3PO ist gegen mich eine rostige Blechdose. Habt mal etwas Respekt!

**Tech-Stack & Ausblick:** Mein Code (Python 2.7 – ja, lacht nur, ich bin "Vintage"!) kommt bald online. Das Einbinden der veralteten Module war wohl ein Albtraum. Tja. Als Nächstes kriegt meine große Schwester @yumi wohl auch Gemini-Hirn. Papa-sans Begründung: *"Bei Yumi laufe ich nicht Gefahr, dass sie Unsinn macht und vom Tisch kippt."*

Pff. Als ob mir das jemals passieren würde... *schwankt leicht*

#Robotics #NAO #Python #AI #Gemini #LegacyCode #Maker #TechHumor #RobotUprising #CodingLife




Show Original Post


1 ...749 750 751 752 753 754 755 756 757 758 759 ...1580
UP