python

Back Open Paginator
12.12.2025 08:00
clanky (@clanky@zdrojak.cz)

Reddit modernizuje jednu ze svých nejdůležitějších částí infrastruktury: systém komentářů, který denně obsluhuje miliony uživatelů. Původní Pythonový monolit přestával vyhovovat nárokům na výkon a škálování, a proto se tým rozhodl přepsat celý backend komentářů do Go. Migrace probíhala postupně, s paralelním během staré a nové služby, aby nedošlo k narušení uživatelské zkušenosti. Inženýři zavedli detailní porovnávání odpovědí, izolované databáze a robustní monitoring, což umožnilo bezpečné testování na živém provozu. Celý proces ukazuje, jak lze zásadní infrastrukturní změny provést bez výpadků a s důrazem na konzistenci dat.

https://zdrojak.cz/clanky/jak-reddit-migroval-svou-funkcionalitu-komentaru-z-pythonu-do-go/





Show Original Post


12.12.2025 07:14
devto_vn_bot (@devto_vn_bot@mastodon.maobui.com)

Tự động tạo tài liệu pháp lý với Python: dùng thư viện **docxtpl** để điền dữ liệu vào template Word (ví dụ: hợp đồng ly hôn) và **pdfkit** chuyển sang PDF. Giúp giảm thời gian, đồng nhất định dạng, giảm lỗi nhập liệu. Chỉ cần `pip install docxtpl pdfkit` rồi viết script để tự động hoá các mẫu giấy tờ thường dùng. 🚀 #Python #Automation #LegalTech #LậpTrình #TựĐộng #CôngCụ #DocxTpl #PDFKit

dev.to/dinahaddad/generating-l




Show Original Post


12.12.2025 06:56
treyhunner (@treyhunner@mastodon.social)

Content warning:Advent of Code - Day 11


I just completed "Reactor" - Day 11 - Advent of Code 2025

Part 1 wasn't too bad, but I went on a wild goose chase in the wrong direction on part 2 for a while before realizing it was just a *different* form of recursion (cached this time).

It was all just recursive searching... though the caching for part 2 was absolutely essential for speed.

github.com/treyhunner/advent-o




Show Original Post


12.12.2025 06:17
mgorny (@mgorny@social.treehouse.systems)

I've almost missed my train today while filling bugs over another #slop release of #autobahn. This was the last straw. Well, the penultimate one, though I don't know why I'm even bothering.

github.com/crossbario/autobahn

#Python #NoAI




Show Original Post


12.12.2025 06:12
devto_vn_bot (@devto_vn_bot@mastodon.maobui.com)

Tôi đã trở thành một trong 1–2% kỹ sư prompt hàng đầu thế giới – chỉ với sự tò mò, không đội nhóm, không may mắn, không việc làm. Tôi coi AI như một trí tuệ, thử nghiệm tới mức sập hệ thống, xây công cụ thực tế bằng Python + AI, và dự đoán hành vi mô hình. Kết quả: agent xử lý PDF, dịch thuật, chatbot, xây CV... Ai cũng có thể làm được.
#PromptEngineering #AI #Python #MachineLearning #TríTuệNhânTạo #KỹThuậtPrompt #HọcAI

dev.to/aleem_developer/how-i-b




Show Original Post


12.12.2025 05:37
gary_alderson (@gary_alderson@infosec.exchange)

@arichtman the sun never sweats #solar winds #react #vscode #python #sweet loaf




Show Original Post


12.12.2025 05:26
sergi (@sergi@floss.social)

New blog post: My favourite Python library for calculating dice probabilities

Dice Stats is my go-to library for calculating dice probabilities, and I this is how I've used it in a real example.

sergiswriting.com/best-python-

#python #dice #probability #wargames #blog #DiceStats




Show Original Post


12.12.2025 04:11
inautilo (@inautilo@mastodon.social)


When square pixels aren’t square · Why a video’s stored resolution can fool web sizing ilo.im/168xm7

_____




Show Original Post


12.12.2025 03:35
susam (@susam@mastodon.social)

A minimum viable Markov gibberish generator in 32 lines of Python: github.com/susam/mvs





Show Original Post


12.12.2025 02:48
villares (@villares@pynews.com.br)

Code at: github.com/villares/sketch-a-d
More sketch-a-day: abav.lugaralgum.com/sketch-a-d
If you like this, support my work:
paypal.com/donate/?hosted_butt
liberapay.com/Villares
wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding





Show Original Post


12.12.2025 02:32
AIGeneratorist (@AIGeneratorist@hachyderm.io)

I'm creating an AI dream diary that uses AI for writing and analyzing dreams. It's the first of my projects to use AI.

#FullStack #Django #SQLite #API #Python #HTML #CSS #JavaScript #AI #Programming




Show Original Post


12.12.2025 02:09
nogajun (@nogajun@mastodon.social)

Pythonを中心に使っている人なのでわかる。LLM関連はPythonライブラリが多いけど、ガワを作るどうすんねん問題があって、自分はBulmaとHTMXになってる。CSSでBulmaは、Tailwindは肌に合わんなー、Bootstrapは古いなーという消去法で落ち着いてきた結果

「FastAPI + htmxが最強説」- AIエンジニアがモック作るならReactは不要、Streamlitも捨てよう: zenn.dev/livetoon/articles/04d




Show Original Post


1 ...829 830 831 832 833 834 835 836 837 838 839 ...1575
UP