Jeff Glass

PyScript Maintainer and author of pyscript.recipes. Interesting in improving Python Performance and WebAsssembley

Jeff Glass boosted:

@villares @cholling @hx2A @py5coding Thanks! I actually did a lot more than I described in the blog post, and made a PyScript version here: cholling.com/geodesic_calculator/

It turns out matplotlib already supports hidden surface removal
😃

Jeff Glassjeffglass
2024-07-19

@kwf It’s surely overkill, but we use Room Alert products in a couple of our exhibit spaces. PoE powered means no batteries to kill.

Mostly rack mount with remote-able sensors and outputs, but they make some small units too:

avtech.com/Products/Environmen

Jeff Glassjeffglass
2024-07-11

Exciting news in the CPython JIT front - with even a bit of casual experimentation, and with limited instruction compatibility, the nbody (tightly looped) benchmark showed significant speedups over the baseline JIT, 6-7%.

Easy small gain hopefully point to bigger, harder gains.

Jeff Glassjeffglass
2024-07-04

After some rescheduling, I’ll be speaking on the CPython JIT at the Chipy Python Meeting Group Next Week 😎

Jeff Glass boosted:
Hynek Schlawackhynek
2024-06-21

If you’re a voting member pls listen up; I’m interrupting my last day in a hammock on the beach just for you.

I’m sure you’ve seen a lot of subposts lately about bylaw change #3 which would allow the PSF board to yeet PSF Fellows for CoC misconduct under certain circumstances.

I am a PSF Fellow and I’ll vote for it—let me explain why. (1/7)

Jeff Glassjeffglass
2024-06-20

More JIT misadventures.

No more segfaults, but the superinstructions (which should be a ~little~ shorter than the sum of their parts) are instead over 40,000 bytes...

A snippet of a file called 'jit_stencils.h', showing the instruction LOAD_FAST_0 with a length fo 71 and and instruction LOAD_FAST_0_PLUS_GUARD_TYPE_VERSION with a length over 40,000.
Jeff Glassjeffglass
2024-06-18

Hey it's progress...

A screenshot of a GitHub commit, with the commit message "Building but segfaulting. Hooray!"
Jeff Glassjeffglass
2024-06-16

@nafiul @hugovk @baconandcoconut now I want to meet the person who triggered 434 downloads via Pex on a saturday. And also to go google what Pex is 😅

Jeff Glassjeffglass
2024-06-12

Well... that's a build error I've never seen before:

Fatal Python error: _PyEval_EvalFrameDefault: We've reached an unreachable state. Anything is possible.
The limits were in our heads all along. Follow your dreams.
xkcd.com/2200

Jeff Glassjeffglass
2024-06-11

@nohlson is the thought to determine a set of additional compiler options to apply for CPython releases, for security purposes?

Jeff Glass boosted:
Hugo van Kemenadehugovk
2024-06-06

🎉 We just had 3 successful core dev votes in parallel!

Each dev focuses on different yet important areas, reflecting the size & breadth of the CPython project.

Please give a big welcome to:

🍏 @freakboy3742 added iOS support ()
discuss.python.org/t/vote-to-p

🐛 Tian Gao works on the pdb debugger
discuss.python.org/t/vote-to-p

🏎️ @mdboom works on benchmarking in the Faster CPython team
discuss.python.org/t/vote-to-p

That's 5 new so far this year, same as last year 🚀
hugovk.github.io/python-core-d

Bar chart of new core developers by year.

Starting in 1989 with one, there were one or two new core devs per year in the 90s.

The 2000s had around 10 added per year.

The 2010s had around 5 per year.

2020 had 5 new, 2021 had 3, 2022 had 8, 2023 had 5, and this year has had 5 so far.
Jeff Glassjeffglass
2024-05-29

@mathsppblog I would guess… “type” and the underscore?

Jeff Glassjeffglass
2024-05-29

One thing I love about speaking at ChiPy is the range of experience and consistency of interest - can’t assume any prior knowledge, but most everyone will follow you as deep down the rabbit hole as you care to take them.

To that end, my ‘CPython JIT’ talk is gonna end up covering everything from “what is bytecode” to “how does the Copy and Patch JIT work?”

A lot of folks at expressed interest in Python’s mechanics and a desire for a jumping off point. I’m hoping this will help.

A snippet Et of Python code and it’s associated bytecodeA visual illustration of the CPython stack machineA slide illustrating how guard elimination works as an optimization fornCPtthon’s tier 2 interpreterA slide labeled “the goal of a JIT”
Jeff Glassjeffglass
2024-05-25

@hugovk @ehmatthes I found the same thing worked in Google Slides! Honestly being able to re-size/edit actual text instead of screenshots ended up being very convenient.

jeff.glass/post/pycon-talk-202

Jeff Glassjeffglass
2024-05-25

A few days of post- R&R have truly been a gift - now remembering I’m giving a another new talk at ChiPy in less than three weeks 😅

But that means I have a project for the plane home! ✈️

Jeff Glassjeffglass
2024-05-23

@freakboy3742 Safe travels!

Jeff Glass boosted:
Robin Riley (fka Josh)josh@josh.tel
2024-05-23

The organizers of @pycon have given community organizers a massive gift 🎁

Let's not squander it!

A *sold out* #PyConUS 2024 proved that even large events can prioritize safety and inclusion for caregivers and immunocompromised people by way of requiring masks, and gathering venue data to calibrate their policy from year-to-year. Smaller events have proven it's possible at that scale, too.

Now is the time for at least one other large event to step up.

Who will it be? 👀

#HealthAndSafety #FOSS #OpenSource #PublicHealth

Jeff Glassjeffglass
2024-05-21

Couldn’t have asked for a better ! Many old friends and new, many techncial deep dives, got to meet so many great people I only know from The Internet… truly a treat.

Same time same place next year?

Jeff Glassjeffglass
2024-05-21

@mathsppblog Safe travels - hope the PyCon Italia folks enjoy Cabo too!

Jeff Glass boosted:
2024-05-20

This joke has probably been made a bunch of times, but...

Python 3.14, not to be confused with PyPI.

#Python

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst