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

This is going to turn me into one of those airline miles people who gets on random flights to Singapore for the points, except I’m going to have to set up an alert for any time plane tickets to anywhere in Spain drop below $100 so I can show up for 3 hours to buy yogurt and then fly right back.

pganssle,
@pganssle@qoto.org avatar

@quentinpradet I don’t want to fly to Spain every month to buy a case of yogurts, but I don’t see that I have any other options.

pganssle, to languagelearning
@pganssle@qoto.org avatar

Since it came up several times at #pyconus, 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

#comprehensibleinput #languagelearning

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.

#pyconus

pganssle, to random
@pganssle@qoto.org avatar

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

pganssle,
@pganssle@qoto.org avatar

Another theme: Automating manual processes. BeautifulSoup has helped save much toil over the past 20 years! #pyconus

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. #beautifulsoup #pyconus

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

I’m thinking small, clearly labeled Tupperware containers and a few scoops will maybe put customs inspectors in a less suspicious frame of mind?

pganssle,
@pganssle@qoto.org avatar

@carlton They usually only sell it in bulk anyway, in my experience. I wouldn’t even be able to get less than a 2 month’s supply of the kind I like in the US. Looking at this: https://maps.app.goo.gl/Rud7VQcWetLP9Dfu9

Seems like it is a similar deal. Worst case scenario I can do it, but it is also a bit uncertain. Quality for this stuff varies a lot.

pganssle,
@pganssle@qoto.org avatar

@hynek That is exactly what a criminal would do. Maybe I should print labels that say “Cocaine” and “Heroin”, since that is something no smuggler would do.

glyph, to random
@glyph@mastodon.social avatar

OK so I wrote these two functions (and I did not even unit test them, so they're probably wrong):

https://gist.github.com/glyph/ad25a9e8d93bb9f7ac15a947cbf53a5d

There must be a better way to do this with the standard library, right? Something buried in datetime somewhere?

pganssle,
@pganssle@qoto.org avatar

@glyph Needs a deprecation warning. Not that you can actually deprecate the use of 12 hour clocks by fiat in a random library, but it’s worth a shot.

pganssle,
@pganssle@qoto.org avatar

@glyph No I don’t mean you should deprecate the function. I think we, as a society, should heap approbation and disdain on humans who use 12 hour clocks. 12 hour clocks are ridiculous.

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

@webology Yeah but both “bullshit” and “enshittification” are not specific or descriptive. If “enshittification” were called something else like “extractive entropy” or “profit-driven degradation”, it would be easier to understand and remember the term.

“LLM bullshit” is even worse, because it could refer to a lot of things, some of which are basically just anti-big tech rhetoric, and some of which are very legitimate. A taxonomy like “slop” and “hallucination” for the specific failure modes provide actionable targets that you can notice and work against, and they are evocative of what is actually going on.

brianokken, to random
@brianokken@fosstodon.org avatar

deleted_by_author

  • Loading...
  • pganssle,
    @pganssle@qoto.org avatar

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

    pganssle, to python
    @pganssle@qoto.org avatar

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

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

    @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: https://comprehensibleinputwiki.org/wiki/Main_Page#Japanese

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

    kushal, to Wikipedia
    @kushal@toots.dgplug.org avatar

    How many #Wikipedia #editors do I have here? I need a bit of emergency help. Someone marked all of my photos for deleting due to “missing permissions”. I think they will be deleted within 7 days.

    Please boost so that more people can see this.

    pganssle,
    @pganssle@qoto.org avatar

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

    pganssle,
    @pganssle@qoto.org avatar

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

    pganssle, to Pittsburgh
    @pganssle@qoto.org avatar

    Anyone know if there is a gym in #pittsburgh 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.

    #pycon #pyconus #pycon24

    jerub, to random
    @jerub@mastodon.social avatar

    Every day this week has felt like Friday.

    pganssle,
    @pganssle@qoto.org avatar

    @jerub For you, too? Weird.

    I’m just glad it’s actually finally Friday.

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