Show more

> "#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. treyhunner.com/2024/05/my-favo

They finally fixed the 'exit' thing! Yay! πŸŽ‰ πŸ₯³ 🎈

#programming

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 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"

youtube.com/watch?v=8rUm46mk0Y

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: docs.google.com/presentation/d

parenting, slightly negative, decisions 

@Greg Practice makes perfect πŸ˜‰

I have set up Mixtral 8x7B to generate Spanish example sentences for my Anki deck and I came across one that seems to randomly be in Catalan. Fun times.

@brianokken That is a common misconception. Actually, they make shoes using a machine that also makes hats for gnomes. It is easier to make the shoes pointy in the middle than to have to recalibrate them to asymmetry whenever they switch workflows.

Any 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”).

@davidism Yeah, you may want to look into comprehensible input. I’ve been using it to learn Spanish and among the 6 foreign languages I’ve spent time learning, this is the one I’ve made the most progress the fastest.‑

See: comprehensibleinputwiki.org/wi

‑This effect may be confounded by the fact that I learned 5 other languages first, evidence for which being that I was able to have simple conversations with Spanish speakers even before I started learning the language at all…

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. πŸ˜›

Show thread

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. pycon.blogspot.com/2023/10/pyc

Happy Friday Python Friends (and non-Python Friends too)!

I'll be attending my first-ever PyCon US this year, so if we haven't seen each other in a while, let's meet up!

🎲 Do you like Python's little CLIs? For example:

$ python -m http.server
$ python -m webbrowser 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
discuss.python.org/t/command-l

If there's support we *might* be able to get it into 3.13 before May's beta cutoff! 🀞

#Python #Python313 #CLI #random

@kushal @rhysw I think that you just need to send an email to permissions-commons@wikimedia.org to confirm that you own the license to the photos in question.

@kushal @rhysw Note that it seems like for photos taken in Sweden the subjects specifically need to have consented to having their photo used commercial.

@kushal @rhysw All the photos I see seem to be of living people, mostly in non-public settings, so I think this policy applies: commons.wikimedia.org/wiki/Com

Presumably you need to add the {{consent}} template.

@kushal @rhysw Where is that showing as marked for deletion? I would have thought it would be in the talk page?

Show more
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.