@hugovk@mastodon.social
@hugovk@mastodon.social avatar

hugovk

@hugovk@mastodon.social

Python 3.14 & 3.15 release manager, core developer, PSF Fellow, open-source maintainer, PEP editor, NaNoGenMo organiser, winter bicycler

This profile is from a federated server and may be incomplete. Browse more on the original instance.

nedbat, to random
@nedbat@hachyderm.io avatar

A fun browser toy: The Blob Toy.
Here's an example: https://oimo.io/works/blob/
https://oimo.io/works/blob/?id=07eb178b

hugovk,
@hugovk@mastodon.social avatar
quixoticgeek, to random
@quixoticgeek@v.st avatar

Walking back from Voting earlier I noticed this interesting contraption on the pavement.

The first thing I saw was the solar panel, so I initially wondered if it was an ebike charging station. I crossed the road to have a closer look.

It's not a charging station. I couldn't see any power outlets. So what is it?

It's another attempt by some designer to "innovate" in the bike parking space.

The intention is kinda sound. Dense bike storage in min space. What's not to like? Thread time

1/n

hugovk,
@hugovk@mastodon.social avatar

@quixoticgeek "The intention is kinda sound. Dense bike storage in min space."
And look at all that empty space all around it! I would avoid things like this and find a lamppost instead.

hugovk, to python
@hugovk@mastodon.social avatar

๐ŸŽ‰ 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 ()
https://discuss.python.org/t/vote-to-promote-russell-keith-magee/53821

๐Ÿ› Tian Gao works on the pdb debugger
https://discuss.python.org/t/vote-to-promote-tian-gao/53895

๐ŸŽ๏ธ @mdboom works on benchmarking in the Faster CPython team
https://discuss.python.org/t/vote-to-promote-michael-droettboom/54227

That's 5 new so far this year, same as last year ๐Ÿš€
https://hugovk.github.io/python-core-devs/by-year.html

hugovk, to python
@hugovk@mastodon.social avatar

๐Ÿ“ฃ๐Ÿ๐Ÿ“š Calling all Python library maintainers!

Python 3.13 is now in beta, with the second of four beta releases out later today!

It's now time to start testing your libraries with 3.13 and report any problems back to CPython so they can be fixed before the big October release. And make any updates you need to upgrade your library; keep an eye out for removals and deprecations.

Here's how to test 3.13 on GitHub Actions:

https://dev.to/hugovk/help-test-python-313-14j1

hugovk,
@hugovk@mastodon.social avatar

@hynek ๐Ÿ™ˆ Maybe during RC? ๐Ÿคž

hugovk, to python
@hugovk@mastodon.social avatar

๐Ÿ‡ฎ๐Ÿ‡น "Benvenuti! Questa รจ la documentazione di Python 3.12.3."

https://docs.python.org/it/3/

The Python docs are now officially available in Italian! ๐Ÿš€

If you want to help out with a translation, see https://devguide.python.org/documentation/translating/

treyhunner, (edited ) to python
@treyhunner@mastodon.social avatar

New article on Python's many command-line tools ๐Ÿ“ฃ

Did you know that 3.12 comes bundled with 50 command-line tools? ๐Ÿ˜ฎ

An HTTP server, a sqlite prompt, a code profiler, and so much more! โœจ

https://pym.dev/cli-tools/

hugovk,
@hugovk@mastodon.social avatar

@treyhunner Coming soon in 3.13: a random CLI! ๐ŸŽฒ

$ python -m random curry "fish n chips" tacos
curry

$ python -m random 6
6

https://docs.python.org/3.13/library/random.html#random-cli

hugovk, to random
@hugovk@mastodon.social avatar
rennerocha, to random
@rennerocha@chaos.social avatar

Anyone know if the tutorial recordings of @pycon will also be available? #pycon #pyconus2024

hugovk,
@hugovk@mastodon.social avatar

@rennerocha @pycon No, only the regular talks and keynotes were recorded and will be available. Not the sponsored talks or summits, although I think the typing summit made ad-hoc recordings.
#PyConUS #PyCon #PyConUS2024

hugovk,
@hugovk@mastodon.social avatar

@rennerocha @pycon I stand corrected! https://us.pycon.org/2024/speaking/guidelines/ says tutorials should be on YouTube in June.

And there were tutorials in earlier years, for example:
https://www.youtube.com/playlist?list=PL2Uw4_HvXqvY2zhJ9AMUa_Z6dtMGF3gtb

I think I mixed up the livestream, which didn't include tutorials :)
PyConUS

minrk, to random
@minrk@hachyderm.io avatar

Close for inactivity bots are one of the most useless/counterproductive things in open source maintenance. They are never a good idea, help with nothing, and only waste both maintainers and contributors time, with an added signal that maintainers have contempt for contributors

hugovk,
@hugovk@mastodon.social avatar

@minrk I think it depends on how you configure them.

For @pillow, if a reporter is unresponsive to our requests for more information, we may add a "Awaiting OP Action" label. If there's still no response after a week, the bot closes the issue.

The reporter, and others, can still add more info, and we'll happily re-open. It doesn't really help anyone keeping unactionable issues open indefinitely.

sethmlarson, to random
@sethmlarson@fosstodon.org avatar

This is a /really/ great read about how software needlessly requiring always-on and fast internet are failing users: https://brr.fyi/posts/engineering-for-slow-internet

hugovk,
@hugovk@mastodon.social avatar

@sethmlarson @brainwane

"Follow these best practices to make your site accessible to disabled people"

tech nerds: ...

"Follow these best practices to make your site work on your shiny new smartwatch"

tech nerds: sure!

hugovk, to random
@hugovk@mastodon.social avatar

@nohlson Welcome to Mastodon, I'm excited about your project!

hugovk, to random
@hugovk@mastodon.social avatar

Listening to one #EMFcamp stream with the other two playing in the background! #EMF2024

https://streaming.media.ccc.de/emf2024/

bbelderbos, to python
@bbelderbos@fosstodon.org avatar

Did you know about this optimization tip? ๐Ÿ’ก

Integers from -5 to 256 are cached, meaning they are preallocated and reused, boosting memory efficiency. ๐Ÿ“ˆ

See below where I use "is" to show the ints that are preallocated to the same object = optimized:

hugovk,
@hugovk@mastodon.social avatar

@bbelderbos Please remember to include alt tags for images: https://fedi.tips/how-do-i-make-posts-more-accessible-to-blind-people-on-mastodon-and-the-fediverse/

alt:

>>> a = [5, 200, 256, 257, 300, 500]
>>> b = [5, 200, 256, 257, 300, 500]
>>> for i, j in zip(a, b):
... print(i, j, i is j)
...
5 5 True
200 200 True
256 256 True
257 257 False
300 300 False
500 500 False

muheuenga, to random
@muheuenga@hachyderm.io avatar

๐Ÿš€ I had a great time at @pycon US 2024 in Pittsburgh! ๐ŸŒโœจ It was an amazing experience connecting with passionate individuals from around the world and exploring the vibrant city of Pittsburgh. ๐ŸŒ‰

๐Ÿ‘‰ Check out the full blog post here: https://kafkai.com/.../our-experience-at-pycon-us-2024.../
Attending PyCon US 2024 was a truly enriching experience. We left with a wealth of new knowledge, a deeper appreciation for the Python community, and a renewed sense of enthusiasm for our work.

A big thanks to @ThePSF

hugovk,
@hugovk@mastodon.social avatar
jonafato, to random
@jonafato@mastodon.social avatar

@ThePSF Is there a reason that the "Voting Member" option in the Managing / Contributing membership self-certification form (https://psfmember.org/civicrm/contribute/transact/?reset=1&id=32) defaults to "No"? If this option needs a default, I would hazard a guess that the average new member signup intends to vote, and it would be a shame to see someone put in the work, enroll as a member, and then accidentally default opt-out of voting privileges.

hugovk,
@hugovk@mastodon.social avatar

@jonafato @indepndnt @ThePSF

The OpaVote 2023 results page linked from https://discuss.python.org/t/psf-board-election-dates-for-2023/26699/26 is no longer up, but it just so happens I had written:

"But the good news is there were more than 9 votes separating each of the top 4 vote winners, and from the number 5 spot.

"And the 5th place will also serve a one-year term to fill an off-cycle resignation, and there were more than 9 votes between 5th and 6th."

hugovk,
@hugovk@mastodon.social avatar

@jonafato @indepndnt @ThePSF
re: 9 votes - I was only interested that the gaps were at least 9 because there had been 9 empty votes due to a bug. I don't remember how much more than 9 the gaps really were.

I don't know if the missing page is intentional or a mistake.

jrrickerson, to random
@jrrickerson@fosstodon.org avatar

Having learned the vernacular of the funicular, we proceeded to board this particular funicular. We enjoyed our climb (diagonal, not perpendicular), and when we reached the peak, the view was spectacular.

hugovk,
@hugovk@mastodon.social avatar

@jrrickerson

Having learned the rhyme of the incline, we proceeded to board this fine incline. We enjoyed our climb (diagonal, not skyline), and when we reached the peak, the view was sublime.

quixoticgeek, to random
@quixoticgeek@v.st avatar

Reminded by a survey from @sinituulia. I need a new backpack. Mostly for running errands around town, going to the supermarket etc... needs to be durable, with an external mesh side pocket for a water bottle. Big enough to also fit a laptop would be good.

What do people recommend?

hugovk,
@hugovk@mastodon.social avatar

@quixoticgeek @sinituulia I have a Deuter Bike 1 20. Two side mesh pockets, suitable for leeks, zipaway loaf-holding net, zipaway waterproof cover. Fits a laptop. Comfortable back padding.

pradyunsg, to random
@pradyunsg@mastodon.social avatar

Wait... do people actually use LinkedIn?

I decided last night that I should bother with updating things and adding connections since I saw so many people pointing to it while at PyCon, and I'm surprised to see people respond to connection requests in the order of minutes.

hugovk,
@hugovk@mastodon.social avatar

@pradyunsg I try and avoid it, I only updated my job there today after changing 14 months ago...

wgrav, to python

does anyone know of a good api wrapper for creating ? looking to create something similar to reddit's u/cahbot for the fun of it (if it doesn't exist already)

hugovk,
@hugovk@mastodon.social avatar
briancohan, to random
@briancohan@fosstodon.org avatar

Did anyone get a good picture of the world maps at the @ThePSF booth showing pins of where all the attendees were from?

hugovk,
@hugovk@mastodon.social avatar

@pythonbynight @briancohan @ThePSF Here's a couple more a bit earlier, from Saturday morning.

Close up of Europe.

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

For my talk last week, I ended up rendering images of my code snippets for the slides.

I wrote up my process for generating those snippets, with the ability to regenerate all of them with different formatting options at any time:

https://www.mostlypython.com/generating-code-snippets/?ref=mostly-python-newsletter

hugovk,
@hugovk@mastodon.social avatar

@ehmatthes Nice workflow!

When preparing my slides, I noticed copying and pasting from into kept the colours.

So I switched PyCharm into light theme and copied code into PyCharm, and them into Keynote. Then I can change the font size and edit directly in Keynote as needed, like adding the comments in red.

https://hugovk.github.io/python-calver/#23

hugovk, to python
@hugovk@mastodon.social avatar

๐Ÿ๐Ÿงช Python 3.13.0 is due out in October 2024 and work is underway to implement experimental support for PEP 703 "Making the Global Interpreter Lock Optional in CPython".

As the Steering Council noted in their acceptance of the PEP, to succeed it's important to have community support.

I wrote a little guide on how you can help test out the beta in your project, and help us find bugs in CPython:

https://dev.to/hugovk/help-us-test-free-threaded-python-without-the-gil-1hgf

hugovk,
@hugovk@mastodon.social avatar

๐Ÿ๐Ÿงช Python 3.13 beta 2 is out!

https://discuss.python.org/t/3-13-0b2-now-available/55056

The macOS installer joins the Windows installer in adding an option to install free-threaded binaries as python3.13t, making it even easier to try it out.

See https://github.com/python/cpython/issues/120098 for all the details, and https://dev.to/hugovk/help-us-test-free-threaded-python-without-the-gil-1hgf for an overview.


  • All
  • Subscribed
  • Moderated
  • Favorites
  • โ€ข
  • JUstTest
  • ngwrru68w68
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • GTA5RPClips
  • Durango
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • provamag3
  • tacticalgear
  • osvaldo12
  • tester
  • cubers
  • cisconetworking
  • mdbf
  • ethstaker
  • modclub
  • Leos
  • anitta
  • normalnudes
  • megavids
  • lostlight
  • All magazines