python

Back Open Paginator
12.02.2026 18:30
pytexas (@pytexas@fosstodon.org)

This first time speaker at #PyTexasConferene2026 is going to show you how to improve your #python performance, catch bugs in automated workflows, and more!

Who do you think it might be?
pytexas.org/2026





Show Original Post


12.02.2026 18:01
r (@r@fed.brid.gy)

*A drunk LLM driver enters GH* > Joined 2 weeks ago *Sends some "ai" slop, gets rejected* *Automates harassing the maintainers* Scene. github.com/matplotlib/m... #Python --- Did they train "ai"-bullying on GH rage posts?

RE: https://bsky.app/profile/did:plc:lpx4s2ddgn54cocsxs7q3n4a/post/3meog255lxs2r


[PERF] Replace np.column_stack...




Show Original Post


12.02.2026 18:01
r (@r@bsky.brid.gy)

*A drunk LLM driver enters GH* > Joined 2 weeks ago *Sends some "ai" slop, gets rejected* *Automates harassing the maintainers* Scene. github.com/matplotlib/m... #Python --- Did they train "ai"-bullying on GH rage posts?

RE: https://bsky.app/profile/did:plc:lpx4s2ddgn54cocsxs7q3n4a/post/3meog255lxs2r


[PERF] Replace np.column_stack...




Show Original Post


12.02.2026 17:54
lexplt (@lexplt@hachyderm.io)

Hey everyone, I'm trying to implement a "slice" function but I'm not sure how to go with negative steps

Let's say we have (slice start end [step])
And
(slice alphabet 0 10) returns abcdefij

What should this
(slice alphabet 0 10 -1) return?
FWIW, #Python returns nothing for alphabet[0:14:-1]

#pldev #ArkScript

jihgfedcba (reversed selection)
zyxwvutsrq (reversed but start at the end)
Other




Show Original Post


12.02.2026 17:51
poxviridae (@poxviridae@piaille.fr)

#Python quiz! What's the result of this code?

n = 6
n -= n >= 2
print(n)

6
5
TypeError
WTF




Show Original Post


12.02.2026 17:50
Changaco (@Changaco@diaspodon.fr)

Lessons from this week's removal of the #pkg_resources module:

- If you don't use the `--no-build-isolation` argument of `pip install`, then `--require-hashes` is only partly effective and your builds may break whenever incompatible changes are made to #setuptools or other build dependencies.

- If you use `--no-build-isolation`, you need multiple `pip install` calls: first for all the needed build dependencies (a.k.a. `setup_requires`), then for the packages you actually want.

#Python #pip




Show Original Post


12.02.2026 17:32
habr (@habr@zhub.link)

Notepad++: счетчики выделенных слов в StatusBar (python скрипт)

Программист часто копирует и вставляет, переименовывает и рефакторит.Вот бы сразу видеть в статусной строке количество переменных или функции в редактируемом файле . Увы, стандартный поиск (Ctrl+F) требует лишние клики. Мой небольшой Python-скрипт для Notepad++ по дабл-клику отображает в Status-Bar количество вхождений , частичных или полных, с учетом регистра и без.

habr.com/ru/articles/995078/

#notepad++ #counter #highlight #счетчик #подсветка_синтаксиса #подсветка_кода #удобство_использования #редактор_кода #plugin #python




Show Original Post


12.02.2026 17:30
Reuven (@Reuven@fosstodon.org)

Instead of choosing which #Python function to run with if/elif/else, use a dispatch table — a dict with functions as values:

from operator import add, sub, mul
ops = {'+':add, '-':sub, '*':mul}

s = input('Enter +, -, or * : ')
r = ops[s](10, 20)
print(f'10 {s} 20 = {r}')





Show Original Post


12.02.2026 17:05
jobsfordevelopers (@jobsfordevelopers@mastodon.world)

Roblox is hiring Senior Software Engineer, Data Platform - Foundation AI

🔧 #python #aws #kubernetes #seniorengineer
🌎 San Mateo, California
⏰ Full-time
🏢 Roblox

Job details jobsfordevelopers.com/jobs/sen
#jobalert #jobsearch #hiring




Show Original Post


12.02.2026 17:03
PythonPeak (@PythonPeak@mastodon.social)

Dict Hash Collision DOS Slows Lookups From 1ms To 47 Seconds?!

HASH COLLISION DISASTER! Attacker crafts colliding keys! Dict becomes linked list! O(1)→O(n) lookup! 47 seconds per request! Complete outage! 470K users logged out! $2.3M lost! Infrastructure FIRED!

(n)lookup

youtube.com/watch?v=f6WZj-_xj5c




Show Original Post


12.02.2026 17:00
adamghill (@adamghill@indieweb.social)

Some concrete thoughts: dev.to/adamghill/checking-djan.

I have prototype code for this, but wanted to get feedback about the ideas first. Might post in the Django forum eventually…

#Django #Python




Show Original Post


12.02.2026 17:00
slint (@slint@fosstodon.org)

Hi! We've just released #Slint 1.15.1, a patch release that fixes a handful of bugs that slipped the last release.
Slint is a native UI toolkit for embedded and desktop apps.
See our change log for a complete list of changes.
github.com/slint-ui/slint/rele

#cpp #cplusplus #rustlang #python




Show Original Post


1 ...493 494 495 496 497 498 499 500 501 502 503 ...1589
UP