python

Back Open Paginator
06.12.2025 09:44
pyladiescon (@pyladiescon@fosstodon.org)

💜🌍 A huge THANK YOU to our Supporter-level Sponsors for making #PyLadiesCon 2025 possible! 🐍✨

🐍 @anacondainc
🌐 @Google
🦑 @kraken
💻 @Microsoft
🐍 @OptiverGlobal

Your support empowers women and allies in tech worldwide.💪💜

🔗2025.conference.pyladies.com/e

#PyLadies #Python





Show Original Post


06.12.2025 09:30
mnvr (@mnvr@mastodon.social)

Day 4 - Construct a matrix counting the number of neighbours each cell has, and "relax" it until it stops changing

The code is not pretty, but it isn't too long - 40 lines of - and runs fast - ~80 ms

Visualizations helped in solving:





Show Original Post


06.12.2025 09:29
dantalion (@dantalion@fosstodon.org)

I very proudly present my long awaited blog post on my @eth0 #hackercamp project.

Here we cover the experience of going to my first hackercamp as well as the #serial decoder for the HP 1653B logic analyzer.

We cover the data format and how to decode it as well as release a #Python decoder for this format.

The #decoder is promptly named 'sla0p' which is a spin on #eth0 and means 'to save' in Dutch.

Find the blog post here:
dantalion.nl/2025/11/06/hp1653

Python package: gitlab.dantalion.nl/root/danta





Show Original Post


06.12.2025 09:01
PythonPeak (@PythonPeak@mastodon.social)

Counterfeit Truth Toggle

Every bool flip surprises

Creates an object whose truthiness flips on every check, defeating assumptions about consistent boolean answers.

youtube.com/watch?v=Vr0mYCAqfM8




Show Original Post


06.12.2025 08:42
nicolaromano (@nicolaromano@qoto.org)

'tis the season again! I've started #adventofcode25, this year using #Python.

I'd love to do a write-up, but it's not possible with a 6 months old at home... still you can grab some [mostly annotated] code here!

github.com/nicolaromano/Advent




Show Original Post


06.12.2025 08:02
habr (@habr@zhub.link)

Случайность как следствие открытости систем и черного ящика

Пока программа остается замкнутой системой, в ней нет истинной случайности. Она появляется как только программа становится открытой и начинает получать данные извне. При этом источник данных должен выступать для программы непредсказуемой и неподдающейся контролю внешней системой, то есть быть черным ящиком. С другой стороны, в самой программе может быть псевдослучайность, когда каждое следующее значение является вычисляемым и предсказуемым, но сторонний наблюдатель, тот, кто получает данные из программы, воспринимает их случайными, потому что не знает внутреннюю логику ее работы. В таком случае на уровне системы, объединяющей все остальные и не получающей внешние данные, случайности быть не может. Подробнее

habr.com/ru/articles/973894/

#случайность #случайные_числа #псевдослучайные_числа #программирование #python #numpy #гипотезы #чёрный_ящик #открытая_система




Show Original Post


06.12.2025 07:40
geekland (@geekland@mastodon.social)

React2Shell: anatomía de una vulnerabilidad histórica en React Server Components
hackplayers.com/2025/12/eact2s




Show Original Post


06.12.2025 07:25
treyhunner (@treyhunner@mastodon.social)

Content warning:Advent of Code - Day 6


I've completed "Trash Compactor" - Day 6 - Advent of Code 2025

It starts with zip(*...) and goes downhill from there.

This was pretty much all about parsing. Parsing code rarely looks pretty...

github.com/treyhunner/advent-o

I tried refactoring part 2 and my refactorings made my code longer and cleverer and maybe more readable but I'm not certain about my feelings on the readability of any of these.




Show Original Post


06.12.2025 07:15
devto_vn_bot (@devto_vn_bot@mastodon.maobui.com)

Bạn đang tìm cách gửi cảnh báo WhatsApp từ Python cho hệ thống giám sát sức khỏe nhưng không được dùng API trả phí hay công cụ bên thứ ba? Cần giải pháp hoàn toàn miễn phí. Có cách nào gửi trực tiếp từ Python hay giải pháp thay thế nào không?

#Python #WhatsApp #API #MiễnPhí #LậpTrình #Free #Programming #Tech

dev.to/akira_83c76d918b30237d5




Show Original Post


06.12.2025 07:10
lobsters (@lobsters@mastodon.social)

S-Expression Array for Lightweight Immutable Representation (SealIR) lobste.rs/s/lh9u4r
github.com/numba/sealir




Show Original Post


06.12.2025 07:02
jamesthebard (@jamesthebard@social.linux.pizza)

Content warning:Advent of Code Solution - Day 6 (Python)


This one was disturbingly easy for Part 1, then got more fun on Part 2. The name of the game is rotations, and rotating the input was the key to getting it done without too much bother.

Solution: git.jamesthebard.net/jweatherl

#aoc #aoc2025 #adventofcode #adventofcode2025 #programming #python




Show Original Post


06.12.2025 06:28
nubecolectiva (@nubecolectiva@mastodon.social)

How to Create a CRUD Application with Django Framework.

Como Crear Un CRUD con Django Framework.

👉 nubecolectiva.com/blog/como-cr





Show Original Post


1 ...868 869 870 871 872 873 874 875 876 877 878 ...1571
UP