By the way for various reasons I happen to have a bunch of Google Open Source swag to give away and nowhere to give it away, so if you are at #pyconus and want a flashlight, let me know.
Pro tip for #pyconus #pycon speakers, presenters, tutorial hosts - dark text on white background is more legible than vice versa. The projector does a better job at projecting white light and the dark text shows off in a better contrast. As a member of the audience it’s more legible on a projector screen than white text on dark background - especially from far.
#pycon2024 #PyCon #PyConUS2024
If you are coming in person to #PyConUS in Pittsburgh this weekend, and are comfortable playing the guitar in public, let me know? I may be preparing a surprise for the 20th anniversary of Beautiful Soup https://www.harihareswara.net/posts/2024/celebrate-beautiful-soups-20th-anniversary/ .
I’m thinking small, clearly labeled Tupperware containers and a few scoops will maybe put customs inspectors in a less suspicious frame of mind?
Ok, I am traveling to Spain soon, and when I travel I usually bring a bit of protein powder (I put it in cottage cheese or yogurt to add some flavor and texture).
However, I suspect that my usual approach — Ziploc baggies in a freezer bag — might invite, uh… extra scrutiny… at customs (see photo).
Anyone have alternative ideas about how to transport this stuff without creating suspicion? The original packaging won’t work because it is very bulky.
I've just released cibuildwheel 2.18.0, with prerelease support for CPython 3.13 - set CIBW_PRERELEASE_PYTHONS to test building 3.13 wheels! (No free-threading yet, waiting on binaries & pip) https://github.com/pypa/cibuildwheel/releases/tag/v2.18.0 #python #release
> "#Python 3.13 just hit feature freeze with the first beta release today. Just before the feature freeze, a shiny new feature was added: a brand new Python REPL."
> My favorite Python 3.13 feature. https://treyhunner.com/2024/05/my-favorite-python-3-dot-13-feature/
They finally fixed the 'exit' thing! Yay! 🎉 🥳 🎈
Next month, @the_compiler is organising a pytest sprint in Austria, next to the Swiss border.
There's also a possibility for paid travel/accommodation.
See https://github.com/pytest-dev/sprint for more info and signup.
#Python #pytest #sprint
What better way to spend Friday afternoon than watching me talk about Chapter 7 of Probably Overthinking It?
"Causation, Collision, and Confusion"
I was at Google today to give a talk about Chapter 7 of Probably Overthinking It: Causation, Collision, and Confusion.
I'll post the video when it's available, but in the meantime, the slides are here: https://docs.google.com/presentation/d/e/2PACX-1vT3Wb80roqlKxQTQQlug4cRTKIZ304S453OehgE7Xpomed2OdG1xQEDGUo6el5Wfkrhfzl8Dbb79rxe/pub
Any #python folks know of a library for drawing pretty-looking, clean boxes arranged in various patterns?
I am looking to make some simple images like this to demonstrate addition, subtraction, multiplication, etc.
Bonus points if it has support for some existing pedagogical framework (e.g. “ten frames”).
#pedagogy #education #earlyeducation #visualization #homeschooling
Of course, a countervailing force here is that they are also stupidly good at translation, so the utility of actually learning another language is reduced.
They can explain nuances in a way that automatic sentence-to-sentence translation can’t, and you can give them enough context to let them know how to select the right way to translate what you want to say into idiomatic speech.
Of course, you will sound like an obsequious PR person if you don’t take steps to avoid that. 😛
As I’ve been learning Spanish these past months, I am almost compelled to create an LLM-powered language learning application. It is really hard to do spaced repetition without it turning into a grind, and the ability to create (and parse!) custom, idiomatic text programmatically could be an absolute game changer here.
They are also really good at answering questions about how language use and I haven’t noticed much (anything?) in the way of hallucination with frontier models.
@hugovk As stated at the end of this blog post, PyCon US official hashtag is #PyConUS 😅 I guess we need to make that even more obvious and repeat that statement many times. https://pycon.blogspot.com/2023/10/pycon-us-2024-launches.html
🎲 Do you like Python's little CLIs? For example:
$ python -m http.server
$ python -m webbrowser https://www.python.org
$ python -m uuid
$ python -m calendar
What about adding one to `random`?
$ python -m random curry "fish n chips" tacos
curry
$ python -m random 6
6
$ python -m random 2.5
1.6423361547011504
Give your feedback on my proposal at
https://discuss.python.org/t/command-line-interface-for-the-random-module/51304
If there's support we *might* be able to get it into 3.13 before May's beta cutoff! 🤞
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.