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

cnx, (edited ) to random
@cnx@larkspur.one avatar

Fucking academia.edu takes open-access works and puts them behind a spywall :blobfoxdisgust:

pganssle,
@pganssle@qoto.org avatar

@cnx Like a reverse scihub?

pganssle,
@pganssle@qoto.org avatar

@cnx Yeah I know someone who gave them an email address to download something once. It was not a recommended experience.

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

@gaborbernat @hugovk The version before 20.x was 16.x, though. The whole version history is actually pretty weird: https://pypi.org/project/virtualenv/#history

It jumps from 1.x to 12.x… in 2014, then it looks mostly like semver until 2020 when it jumps to 20.x and holds there.

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

Also it turns out I set up release automation for dateutil over 3 years ago and completely forgot about it and only ever used it once. Thanks, past me!

Cutting this release has made me nostalgic for the days when I was a conscientious, responsive and organized maintainer 😛

y2mango, to random
@y2mango@mastodon.social avatar

No leap year bug reported for Mango Baby today 🎉

pganssle,
@pganssle@qoto.org avatar

@y2mango You have jinxed it. Now you are going to get a report tomorrow that says, “Cannot report bugs on Feb 29” 😛

glyph, to random
@glyph@mastodon.social avatar

Proposed new jargon: “toothbrush botnet” to mean “unfounded public panic about an information security threat derived from incompetent journalism about hypothetical scenarios”

Example usage: “it turns out juice jacking was just a toothbrush botnet”

pganssle,
@pganssle@qoto.org avatar

@glyph Wait is juice jacking really a toothbrush botnet? I bought USB condoms for nothing?

I guess I always thought of it like plugging a random USB device into my computer. Actually a dangerous thing to do, but also if you spent all day plugging random USB drives you found or got at conferences into your device, the modal outcome is that nothing bad would happen to you.

mkennedy, to python
@mkennedy@fosstodon.org avatar

Looks like I won’t be speaking at this year folks. That's 0/8 talks (accepted / submitted) over the years. You'd think just by the numbers one of them would have made it in. Oh well. Here are my 3 talks that were not accepted.

  • 20+ Cutting Edge Python Frameworks, Packages, and Tools You Should Know About
  • Python's Types: 5 Amazing Ways Python Type Hints Will Supercharge Your Code
  • HTMX + Flask: Modern Python Web Apps, Hold the JavaScript
pganssle,
@pganssle@qoto.org avatar

@mkennedy Do you ever make your proposals publicly available? I have never been on the PyCon committee, but I would be willing to take a look and give an opinion.

I usually get a talk in, though I don’t know how much of that is from being good at writing proposals and how much of it is other factors (choice of topic, track record as a speaker, position in the community, etc).

This is the proposal that I got accepted this year: https://gitlab.com/pganssle/proposals/-/blob/master/pytest-unittest/2023-pycon-us-pytest-unittest.md?ref_type=heads

It was rejected last year on favor of this one: https://gitlab.com/pganssle/proposals/-/blob/master/datetime/2023-pycon-us-working-with-timezones-redux.md?ref_type=heads

The year before that I gave this talk: https://gitlab.com/pganssle/proposals/-/blob/master/upstream_bugs/2020-pycon-upstream-bugs.md?ref_type=heads

(Originally scheduled for 2020)

henryiii, to random
@henryiii@fosstodon.org avatar

Using Charlie Marsh's UV (pip/venv replacement) as a nox backend drops the time taken to build docs from 22 seconds to 4.2 seconds!

video/mp4

pganssle,
@pganssle@qoto.org avatar

@henryiii This is honestly pretty shocking to me. I would have been confident that the bottleneck for pip was disk I/O and network latency, in which case rewriting in Rust would not really matter.

Is pip just slow now because of the resolver? Or is pip leaving a lot of performance on the table?

freemo, to random
@freemo@qoto.org avatar

If there is one thing that I learned from TV is that you can survive a fall from any height so long as someone catches you at the bottom.

pganssle,
@pganssle@qoto.org avatar

@freemo That is actually a myth. I have played a lot of Minecraft recently and the actual rule is that if you fall into water you won’t be hurt at all, no matter how shallow the water.

If you are working at high heights, it is best to keep a bucket of water on you in case you fall.

brainwane, to random
@brainwane@social.coop avatar

I dislike that language acquisition often involves saying aloud a lot of sample sentences that are not true.

My husband does not live in Osaka!

My aunt's book is not on the table!

Lies!

pganssle,
@pganssle@qoto.org avatar

@brainwane The comprehensible input people apparently agree with you, since they think you basically don’t talk at all until you basically know the language 😛

https://comprehensibleinputwiki.org/wiki/Main_Page

hynek, to random
@hynek@mastodon.social avatar

I am once again reminded how much I hate reading paper books. My ebook reader is in a very prominent space on my home screen & there’s zero friction for me to read. So I read a lot.

When I read a paper book it takes me so much activation energy to take up the damned thing. Like I’ve been trying to read “Salt Fat Acid Heat.” for 2 years solid but I’m still fighting the preface.

One of the main reasons is light and me trying keep my flat dim in the evenings for better sleep. Maybe in summer…

pganssle,
@pganssle@qoto.org avatar

@hynek I don’t know how much I hate reading paper books because I don’t think I’ve read one in 12 years or so, but I was surprised at where this went. For me reading on a phone or tablet is not nearly as good as reading on a front-lit epaper device. Once the Kindle Paperwhite came out I was like, “Well, never need to read a physical book again I guess!”

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.

webology, to random
@webology@mastodon.social avatar

❓ Since RSS 2.0 is the default in Django these days, is there any reason to include an ATOM 1 feed?

I had two reports from two different Discord channels that don't seem to like my RSS 2 feed despite it validating with numerous check and monitor tools.

Anyone have experience with this?

https://docs.djangoproject.com/en/5.0/ref/contrib/syndication/#specifying-the-type-of-feed

pganssle,
@pganssle@qoto.org avatar

@webology @cnx noticed that my Atom feed was broken and he seems like a discerning consumer of technologies, so he might have opinions…

pganssle,
@pganssle@qoto.org avatar

@cnx @webology Oh, weird. I don’t think I configured that feed content thing at all, so that must be the default of whatever SSG I’m using for the blog…

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

The other thought I had was that I’d set up a local e-mail provider. Normally I’d be afraid of getting on an e-mail blackhole list or something, but presumably deliverability is less of an issue if you never send anything?

pganssle,
@pganssle@qoto.org avatar

@LouisIngenthron Any pointer to how to do this?

webology, to random
@webology@mastodon.social avatar

People don’t understand planned obsolescence. https://bsd.network/@sjmulder/111807278606787147

pganssle,
@pganssle@qoto.org avatar

@webology I don’t really think the phenomenon described there s planned obsolescence, it’s more like a hydraulic principle. Hardware gets better and suddenly there’s a lot more room to trade off performance for developer time / functionality, etc.

pganssle,
@pganssle@qoto.org avatar

@webology The popularity of Python is in some sense a side-effect of this, since in a lot of cases it is a lot slower than compiled languages, but companies adopt it anyway because compute is less expensive than developer time.

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

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