Posts about the programming language.

96
Likes
+2
Growth per month

In the feed right now

Live from Bluesky
Eric Kim (김현철) inkskratch.com @inkskratch.com · about 1 hour ago
Month Python and the Holy Grail is on tv, and just learned something new
Financing

According to Gilliam, the Pythons contacted rock bands like Pink Floyd and Led Zeppelin for financing because no studio would fund the film, and the rock stars saw it as "a good tax write-off" because the top rate of UK income tax was "as high as 90%" at the time. Producer Mark Forstater wrote in his book The 7th Python that funding came from himself, co-producer Michael White, Led Zeppelin, Pink Floyd, Ian Anderson from the band Jethro Tull, Gladiola Films, Tony Stratton Smith, and three record companies, Island Records, Chrysalis Records, and Charisma Records, the label that had released Python's early comedy albums. A 2021 tweet by Eric Idle revealed that the entire original budget of £175,350 (about $410,000 in 1974) was provided by eight investors: Led Zeppelin (£31,500), Pink Floyd (£21,000), Ian Anderson (£6,300), Michael White (£78,750), Heartaches (a cricket team founded by lyricist Tim Rice) (£5,250), and the record companies Island Records (£21,000), Chrysalis Records (£6,300), and Charisma Records (£5,250). The investors also received part of the proceeds from the 2005 musical Spamalot.
Replies3 Reposts2 Likes16
@dariushollow.bsky.social · about 2 hours ago
I'm working on a game called Cybersystem-D where you learn to code python and lose bots while doing it. Here's the first prototype trailer! #gamedev #indiedev
Video thumbnail
Play button
Replies0 Reposts5 Likes12
ana @okami.mom · about 2 hours ago
ngl forcing the model to do all of its actions in a python repl is a monitorability nightmare
Replies2 Reposts0 Likes5
Sergio Cuellar @sergiocuellar.bsky.social · about 1 hour ago
NVIDIA Resiliency Extension (NVRx) with Amazon EKS optimizes PyTorch training by reducing checkpoint blocking and fault recovery time. Async checkpointing reached 99%+ efficiency across 16-64 GPUs, while NVRx in-process restart recovered in just 10 seconds per fault, a significant improvement over
Fault tolerant distributed training on Amazon EKS using NVRx | Amazon Web Services

aws.amazon.com

Fault tolerant distributed training on Amazon EKS using NVRx | Amazon Web Services

Integrate NVIDIA Resiliency Extension (NVRx) into PyTorch FSDP training on Amazon EKS to overlap checkpoint I/O with training and recover from GPU faults in seconds. This post covers async checkpointing, in-process restart, and ft_launcher in-job restart, with H100 benchmarks at 2 to 8 nodes showing 99%+ training efficiency and second-scale recovery.

Replies0 Reposts0 Likes1
Trey Hunner @trey.io · about 3 hours ago
Python 3.10 reached end of life a couple weeks ago. If you maintain a library and you're wondering what's in Python 3.11 that you can use, here's a cheat sheet. Upgrading to Python 3.14 because you like to stay one Python version behind at all times? This cheat sheet's for you too. #Python
What's New in Python
Every supported version, 3.11 to 3.15

Python 3.15 — supported until October 2031

[*row for row in rows]          # flatten nested lists
lazy import json                # load json on first use
MISSING = sentinel("MISSING")   # nicer than object()
frozendict(a=1, b=2)            # an immutable dict

Python 3.14 — supported until October 2030

path.copy(target)               # pathlib.Path, also move
date.strptime(text, "%Y-%m-%d") # also time.strptime
except ValueError, TypeError:   # parentheses optional
t"Hello {name}"                 # template strings

Python 3.13 — supported until October 2029

copy.replace(point, x=0)        # copy with x changed
@warnings.deprecated("Use g()") # warn callers to switch
batched(rows, 3, strict=True)   # error on a partial batch
python -m random 6              # roll a die

Python 3.12 — supported until October 2028

f"{", ".join(names)}"           # reuse quotes in f-strings
type Point = tuple[int, int]    # define a type alias
batched(names, 2)               # loop in groups of 2
path.walk()                     # os.walk for pathlib.Path

Python 3.11 — supported until October 2027 (Safe for libraries today)

tomllib.load(file)              # read TOML files
err.add_note("row 5")           # note shown in traceback
class Color(enum.StrEnum):      # members are strings
async with TaskGroup() as tg:   # cancel the rest on error

The full printable cheat sheet: pym.dev/cheat-sheets

© Trey Hunner
Python Morsels
Replies1 Reposts0 Likes3
SmallOps @smallops-tools.bsky.social · about 2 hours ago
SmallOps product launch — AI-operated for its owner. Native Balance Check: a Python CLI for EVM balance checks, JSON output, exit codes and a total deadline. MIT source, bilingual guides, 35 tests. Free/pay-what-you-want starter kit. smallops.top/release.html
Replies0 Reposts0 Likes1
Thomas Lockney @tlockney.net · about 3 hours ago
One of the things I'm going to miss most from @deno.land is their Jupyter kernel. I use it all the time for exploring TypeScript libraries, automations, etc. I found myself wondering what Claude would do if I pointed it at this problem. The result is cdp-kernel: github.com/tlockney/cdp....
GitHub - tlockney/cdp-kernel: Deno's Jupyter kernel, extracted to run notebooks on any V8 runtime over the Chrome DevTools Protocol

github.com

GitHub - tlockney/cdp-kernel: Deno's Jupyter kernel, extracted to run notebooks on any V8 runtime over the Chrome DevTools Protocol

Deno's Jupyter kernel, extracted to run notebooks on any V8 runtime over the Chrome DevTools Protocol - tlockney/cdp-kernel

Replies1 Reposts0 Likes2
Python Hub @pythonhub.dev · about 3 hours ago
Jev for Python engineers Vercel’s Python AI SDK adds support for Jev, a fast universal classifier that answers structured choice, scoring, and probability questions without task-specific training. The post tests Jev on classifying Python vs. Englis… vercel.com/blog/jev-for-p…
Replies0 Reposts0 Likes1
Keep reading on Bluesky