@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 programming
@pganssle@qoto.org avatar

datetime.utcnow and datetime.utcfromtimestamp will be deprecated in 3.12: https://github.com/python/cpython/issues/103857

If you maintain a package, now is probably a good time to grep your source code for utcnow and utcfromtimestamp to get out ahead of the deprecation warnings. 📅🕐

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

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

Reminder: If you are attending PyCon in person, you also have access to the Online streams through your dashboard. Useful for watching the morning lightning talks on your way to the conference if you are running late 😉

(Though for some reason the stream right now doesn’t have any sound 🙁)

pganssle, to random
@pganssle@qoto.org avatar

Long shot, but anyone with Android / Android Auto experience know what’s going on here?

https://stackoverflow.com/q/76297425/467366

pganssle, to Minecraft
@pganssle@qoto.org avatar

Anyone out there with installed willing to take a screenshot for me?

I’m trying to get an image to illustrate the sentence “you put it there, but I want it here” for an Anki deck to teach my son to read.

I was thinking something like a house in minecraft with a door attached in the wrong spot (like above a door-shaped hole in the wall), or maybe a railroad with a few rails shifted over by a few voxels.

Prefer if you’d release the image CC-0, since that will minimize complications when I eventually make the deck public.

pganssle, to random
@pganssle@qoto.org avatar

It was just a few days ago that I was spontaneously praising @kevin for his work transforming Bloomberg’s culture with respect to open source. You could do much worse than hiring him.

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

“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

Psst. Next year is a leap year. Depending on your deployment story, now (or 3 months ago😅) might be a good time to start looking into logic that won’t handle leap years correctly.

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,
@pganssle@qoto.org avatar

These are just two of the affixes, by the way. I really liked the whole system of them, it makes it pretty easy to quickly build a big vocabulary, and it’s very expressive: https://en.wikibooks.org/wiki/Esperanto/Appendix/Table_of_affixes

-ul = person characterized by (juna = young, junulo = a youth)
-ej = place characterized by (lerni = to learn, lernejo = school)
-ilo = instrument (skribi = write, skribilo = writing implement)

They can also be used by themselves, like:

iĝi = to become
ulo = dude, chap
ilo = tool

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

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 random
@pganssle@qoto.org avatar

Caught up with @brianokken and @mkennedy, who for some reason weren’t talking at 3x speed in person.

pganssle, to random
@pganssle@qoto.org avatar

Mario’s lightning talk last year was, quoting my tweet at the time, “[a] banger”, probably worth getting up for this one.

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

I’ll be giving a talk on time zones at tomorrow (April 21st) at 14:30 MDT. If that sounds interesting to you, please join me in 355DEF or online!

The slides are here: https://pganssle-talks.github.io/pycon-us-2023-timezones

pganssle, to android
@pganssle@qoto.org avatar

I am really disappointed by the current state of org mode (or just note taking in general) on Android.

I really want a simple, dedicated app where I can:

  1. make a simple list or takes some notes
  2. have that be saved in some plain text format that can be edited in vim or emacs on my computer
  3. have that file be accessible in a way that Syncthing can pick it up
  4. Pick up changes made on the file system

Orgzly seems to want to do its own thing and fails at 3 and 4. orgro is read-only. Every other note-taking or list app I’ve seen just stores stuff in its own little database in its own format.

webology, to random
@webology@mastodon.social avatar

🤔 Instead of creating new terms/words for AI and LLMs that have run amuck, I think “AI bullshit” and “LLM bullshit” both roll off the tongue rather well. You may optionally shorten bullshit to “BS” or even the 💩 emoji if you prefer. I encourage you to call people out on their bullshit when they are abusing this autocompletion technology.

pganssle,
@pganssle@qoto.org avatar

@webology To be honest, I can’t see this being helpful. I can’t really take “enshittification” seriously, and it comes off as annoying and polemical to me.

I feel like taking rhetoric to the extreme like this is likely to enforce all-or-nothing thinking about AI, whereas coming up with descriptive terms for specific failure modes will improve awareness about them.

pganssle, to python
@pganssle@qoto.org avatar

I’m not really a textbook reader type, anyone have a recommendation for my colleague who is a Java/Kotlin expert and looking to skill up on ?

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,
@pganssle@qoto.org avatar

A lot of very compelling stories coming out of the BeautifulSoup Open Space. BS has helped get dog racing banned in Florida, and facilitated access to and use of scientific data, among many other things.

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