@pganssle@qoto.org
@pganssle@qoto.org avatar

pganssle

@pganssle@qoto.org

Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.

#python #programming #foss

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

pganssle, to random
@pganssle@qoto.org avatar

Do they have this specific brand and flavor of yogurt outside of Spain? I think it is basically Oikos Triple Zero, but this particular flavor is super good (it has little chunks of banana in it), and doesn’t compare to the banana cream flavor we have in the States.

pganssle, to languagelearning
@pganssle@qoto.org avatar

Since it came up several times at , I thought I’d post here. The method I’ve been using to learn Spanish (and liking quite a bit), is Comprehensible Input.

A good starting point for finding information about CI, and finding materials in your target language is Compehensible Input Wiki

For Spanish, I started with Dreaming Spanish

pganssle, to random
@pganssle@qoto.org avatar

Theme so far of the open space: Beautiful Soup has made it easy to preserve inaccessible archives.

pganssle, to random
@pganssle@qoto.org avatar

“The addition of type hints [to BeautifulSoup] has found probably about 18 subtle bugs”.

@leonardr suggests that users of BeautifulSoup should probably test the next beta.

pganssle, to random
@pganssle@qoto.org avatar

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 and want a flashlight, let me know.

pganssle, to Travel
@pganssle@qoto.org avatar

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.

pganssle, to python
@pganssle@qoto.org avatar

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

pganssle, to random
@pganssle@qoto.org avatar

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.

pganssle, to Pittsburgh
@pganssle@qoto.org avatar

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.

pganssle, to random
@pganssle@qoto.org avatar

@freemo Is there any kind of “status” page for qoto.org that is independent of the mastodon instance? Or somewhere that lists known issues?

I’m experiencing significantly degraded performance and I feel like it would be good to have a place to go to find out if this is scheduled maintenance, a DDoS attack, or something else.

pganssle, to random
@pganssle@qoto.org avatar

Heh, I just noticed that it looks like virtualenv seems to use the “COVID-time” version of : https://virtualenv.pypa.io/en/latest/changelog.html

Version 20 starting in 2020, still version 20 now… 😛

pganssle, to python
@pganssle@qoto.org avatar

Oops, someone made it so that you could lazy-load dateutil submodules over 4 years ago and I never cut a release including that.

That has now been rectified in python-dateutil version 2.9.0. Enjoy: https://pypi.org/project/python-dateutil/

pganssle, to esperanto
@pganssle@qoto.org avatar

One thing I really like about is the infix -iĝ- which refers to becoming, it basically makes words intransitive, like:

So ruĝa = red, ruĝiĝi = to blush
naski = to give birth, naskiĝi = to be born
edzi = to marry, edziĝi = to get married

There is a similar (maybe annoyingly so) infix for “to make/cause”, -ig-, which makes them transitive:

morti = to die, mortigi = to kill
riĉa = rich, riĉigi = to become rich, riĉigi = to enrich

Those and the question marker “ĉu” are features I often wish I had in other languages.

pganssle, to random
@pganssle@qoto.org avatar

We are far too informal these days, which is why I’m taking a bold stand against the rampant use of Nicholasnames.

Thank you for coming to my THEODORE Talk.

pganssle, to random
@pganssle@qoto.org avatar

There’s a website I use all the time where the log-in mechanism involves sending a code to my e-mail address.

Anyone know of a simple way to write a script that retrieves that code? I can set up a custom e-mail address on any free provider and have all these “log-in” e-mails automatically forwarded to that. Is the best way to use something like imaplib?

pganssle, to random
@pganssle@qoto.org avatar

“Hey look, they have video games for the Switch here; maybe we can try something other than Minecraft?”
My 6 y/o: “Cool! Is everything square in this one, too?”

(I think it was a deal-breaker if the answer was “no”)

pganssle, to random
@pganssle@qoto.org avatar

My 2-year old was mashing keys on my keyboard and somehow summoned an emoji picker (something I’ve been meaning to configure for ages), and I can’t figure out what he did…

pganssle, to microsoft
@pganssle@qoto.org avatar

Haven’t interacted with a product in a long, long time, then my son got really into and I bought a Windows computer. So far I’ve found:

  1. Not only is internet required to install Windows, you also need a Microsoft account¹.
  2. The Switch, Xbox and PS4/PS5 versions of Minecraft can only connect to “featured” servers rather than custom servers.²

Not a good track record for like… 1 week of interacting with their products.

¹I realize that there’s some convoluted way to do this, but it definitely derailed me from doing the Windows install when I wanted to. Particularly since I’m just dual-booting Windows as a “just-in-case” type situation.
²Luckily someone has hacked around this requirement, though who knows how long that can last.

pganssle, to linux
@pganssle@qoto.org avatar

Does anyone have a good solution for typing emojis in any random box on ? Right now I’ve got compose key shortcuts set up for a few of them, but I have to remember which ones I’ve defined, and that doesn’t exactly scale. Ideally I’d be able to define a hotkey that would bring up a little search box that I can type in “tada” for 🎉 and “flamingo” for 🦩.

pganssle, to random
@pganssle@qoto.org avatar

Since my new only has 1TB of space and no expandable storage, I decided that I would keep all my “on device” videos as 720p instead of the 4k 60fps originals (it’s visually indistinguishable while watching them on the phone anyway, as far as I can tell).

450GB compressed all the way down to 21 GB, wow!

pganssle, to espanol
@pganssle@qoto.org avatar

Anyone aware of something like the Speech Accent Archive (https://accent.gmu.edu/) but for Spanish? SAA has people (native and non-native speakers) read a short example phrase in English to capture their accent. I seem to remember encountering a similar thing for French years ago, I would be curious to hear the same thing with Spanish.

pganssle, to random
@pganssle@qoto.org avatar

I don’t understand why it’s 2023 and I’ve never seen a Bluetooth connection UI that allows filtering by the type of device you are looking for. I’m trying to pair headphones, I don’t need to see that there are 50 TVs and computers broadcasting their IDs around me.

pganssle, to random
@pganssle@qoto.org avatar

I had a dream last night that Java came out with a new packaging spec that involved encoding your metadata as a crystal that you then dissolved in a liquid, and somehow my first thought was, “That seems convoluted, but who are we (Pythonistas) to judge?”

pganssle, to vexillology
@pganssle@qoto.org avatar

Having trouble remembering the difference between the flag of Belgium and the flag of Germany?

Remember this simple rhyme:
“Black touches Red, you’re in Germany like Kaiser Fred¹.
Black touches yellow, you’re in Belgium, so have a waffle with marshmallow².”³

¹This assumes that you know that Kaiser Frederick III was the second Emperor of Germany.
²This is only a slant rhyme, and it barely works since — while dessert waffles are associated with Belgium, and they would be pretty good with marshmallows on them — marshmallows are not particularly associated with Belgian waffles.
³Yes, I am not particularly good at coming up with mnemonics.

#flags #vexillology #mnemonics

The flag of Germany, a black/red/yellow horizontal tricolor.

pganssle, to random
@pganssle@qoto.org avatar

Learning a new language: “Why are there two words that both seem to mean ‘very’ in this language? How am I supposed to know which one to use?”
Speaking English: “There really should be a word between ‘amble’ and ‘stroll’, ‘meander’ isn’t quite right.”

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