Show newer

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.

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

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

In Python 3.11+ datetime.datetime.fromisoformat( accepts any number of decimal places in the seconds component, extra digits are truncated (not rounded)

>>> datetime.datetime.fromisoformat('2011-11-04T00:05:23.1234567Z')
datetime.datetime(2011, 11, 4, 0, 5, 23, 123456, tzinfo=datetime.timezone.utc)

gist.github.com/moreati/85de3f #TIL #Python

Quick #Python packaging tip: if you ever find yourself wanting to type `import src.anything` or `from src import anything`, turn back. `src` should never be part of an import.

Now I just need to figure out why my server computer freezes up whenever I turn off the monitor it's connected to and I'll be a happy man. 😅

Show thread

For the past few years, my computers have failed to wake up the large 4k monitor connected to my dock, which has been a source of great annoyance to me.

Just a few days ago I came across something that suggested maybe the issue was that the monitor needs HDMI 2.0+, so I bought a newer HDMI cable and now it works perfectly, so if you are having a similar problem, might be a good idea to try a newer cable.

Anyone know if there is a gym in that is reasonably close to the convention center that will sell me a short term membership while I'm at PyCon?

A cable machine, dumbbells and an elliptical is enough to do my whole workout.

I recently optimised .startswith() and .endswith() to be more than 4x faster than before. Before, a bulky slice-and-comparison operation (s[:n] == other) would be faster; now the idiomatic variant is faster. Keep on writing idiomatic code!

- PR: github.com/python/cpython/pull

Python 3.13 time.time() on Windows now has a resolution of *238 ns* instead of *15.6 ms*: it's 65 500x more accurate! The feature was requested 11 years ago (2013)! Better late than never 😉 github.com/python/cpython/pull

Extremely excited to share my team at NVIDIA is hiring for a full time role working on ✨ open source Python packaging projects ✨ like Warehouse, pip, and more!

If you are or know someone excited about open source Python development, especially focusing on open source packaging projects, please take a look! And if you have any questions for me, please reach out.

Please boost for spread!

nvidia.wd5.myworkdayjobs.com/e

#python #opensource #getfedihired #fedijobs

When you say #PiDay, I hear #PyDay. Let's celebrate this day with a special episode with a special guest: sitting Steering Council member and #Python core developer, Emily Morehouse-Valcarcel!

We're talking about the Steering Council, progress bars, least and most favorite parts of Python, and of course, assignment expressions.

I'd use a walrus emoji, but the best we've got is a tuskless seal! 🦭 There's no anonymous crow either...

podcasters.spotify.com/pod/sho

I logged on to twitter for the first time in ages because I wanted to contact someone whose preferred contact method was twitter DMs, and twitter suggested that I "interact with [my] timeline more" to help them learn that I'm human.

With the current state of twitter, I'm not sure that "likes to interact with this website" is a particularly common trait among humans...

On the plus side, I suppose this means I'll have a backup motherboard if the new one ever goes out. Maybe I should get a backup CPU as well to reduce downtime.

Show thread
Show older
Qoto Mastodon

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