@nedbat@hachyderm.io
@nedbat@hachyderm.io avatar

nedbat

@nedbat@hachyderm.io

Python, software, coverage.py, typography, juggling, Boston, autism (dad). Laughing at the world doesn't mean I don't take it seriously. He/him.

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

nedbat, to python
@nedbat@hachyderm.io avatar

New blog post: One way to fix circular imports.

There are better ways, but sometimes simply changing the form of the import statements can untangle the problem:

https://nedbatchelder.com/blog/202405/one_way_to_fix_python_circular_imports.html

Pitosalas, to random
@Pitosalas@ruby.social avatar

I like this: "Generating code snippets" - MP 97: My approach to generating code snippets for presentations.

Note: I've been busy at PyCon this past week. The ongoing series about building a Django project from a single file will continue next week.

I gave a talk at PyCon in Pittsburgh this weekend, and one interesting task was (My comment: "Very useful tutorial on how to turn bits of source code into nice images suitable for presentations.
") https://www.mostlypython.com/generating-code-snippets/?ref=mostly-python-newsletter

nedbat,
@nedbat@hachyderm.io avatar

@Pitosalas I'm not sure what is generating these posts, but it's misleading: these are Eric Matthes' words, but without attribution, linking, or quoting.

nedbat,
@nedbat@hachyderm.io avatar

@Pitosalas I finally understood what was happening because I was at PyCon last week and had dinner with Eric Matthes!

nedbat, to random
@nedbat@hachyderm.io avatar

Small fix to watchgha: don't truncate lists at 30 items (oops!)
WatchGHA reports on GitHub Action progress in a terminal UI.

https://pypi.org/project/watchgha/

nedbat,
@nedbat@hachyderm.io avatar

@sashk Hmm, good point. I doubt "deployment" only because I've never used any aspect of GitHub's "deployment" stuff.

nedbat,
@nedbat@hachyderm.io avatar

@sashk Do you mind testing this doc update? https://github.com/nedbat/watchgha/commit/b84b61c3efbf782167d495d3af65eaa40f409662

"No authentication is needed for public repos. For private repos, OAuth or
classic tokens need the repo scope, and fine-grained tokens need the
"Actions (read)" repository permission."

nedbat, to python
@nedbat@hachyderm.io avatar

The joy of trying to be on the cutting edge of :

HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
'Programming Language :: Python :: 3.14' is not a valid classifier.

nedbat,
@nedbat@hachyderm.io avatar

@cuboimposible MERGE IT!!!1!

nedbat,
@nedbat@hachyderm.io avatar

@SnoopJ I'm running the test suite against nightly builds of 3.14: https://github.com/nedbat/coveragepy/actions/runs/9220268850/job/25366917607

nedbat, (edited )
@nedbat@hachyderm.io avatar

@henryiii @SnoopJ I'll compromise with you: no classifiers until alpha 1. No wheels until release candidate. https://github.com/nedbat/coveragepy/commit/242adea66966b941d2e62bd261652b14f0c88e95

brianokken, to random
@brianokken@fosstodon.org avatar

deleted_by_author

  • Loading...
  • nedbat,
    @nedbat@hachyderm.io avatar

    @brianokken @chrisjrn I also wore surgical, and was surprised to see them in neither the acceptable or unacceptable list, so I had other options with me.

    nedbat,
    @nedbat@hachyderm.io avatar

    @chrisjrn @brianokken Yes, a note for next year is to clarify their status.

    nedbat, (edited ) to random
    @nedbat@hachyderm.io avatar

    I was a guest on the TeenCast podcast made by /r/teenagers. Mostly I said, "find your tribe," "don't listen to the haters," and "things will change" a lot, but it was a fun chat. The audio lag is strange in the recording: I swear I was not talking over the hosts like it seems in the recording!! :)
    https://www.youtube.com/watch?v=QaEQHq2X8aM

    nedbat, to random
    @nedbat@hachyderm.io avatar

    At the same time that bad-faith "pollers" are asking about masking, the attendee survey asks about it as well. But that survey only goes to attendees, meaning people put off by the requirement this year will not be asked. How do we get a complete view of the entire population of potential attendees?

    nedbat,
    @nedbat@hachyderm.io avatar

    Just to be clear: my view is that the mask requirement favors the more vulnerable, and I don't find wearing a mask difficult. I'm all in favor of it.

    nedbat,
    @nedbat@hachyderm.io avatar

    @zzzeek @timbray I never said anyone was inherently horrible (or most of the rest of the quote).

    nedbat,
    @nedbat@hachyderm.io avatar

    @boxed I'm happy to have an honest discussion. Did you see the poll? It asked a question, then he started abusing people who voted one way. "You are blathering", "that is BS", etc. Then he deleted the poll because it wasn't going his way.

    nedbat, to random
    @nedbat@hachyderm.io avatar

    @andreasjung It seems like you started this poll in bad faith. You have a clear opinion on the subject. You were not looking for opinions from people, you were trying to start arguments.

    nedbat, to random
    @nedbat@hachyderm.io avatar

    It's impossible to sum up . But i wanted to note a few things, including yet another appearance of Sleepy Snake: https://nedbatchelder.com/blog/202405/echos_of_the_people_api_user_guide.html

    danzin, to python
    @danzin@mastodon.social avatar

    Did anyone in the fediverse attend the online/remote way?

    I'm interested in trying it next year (hoping it'll be available again), but haven't seen any toots from online attendees.

    In related news, it's been a blast watching all the PRs and issues from the sprints landing, I hope to participate next year.

    nedbat,
    @nedbat@hachyderm.io avatar

    @danzin I chatted with the woman who will be the Online Experience Chair next year, so it sounds like there will be online PyCon 2025.

    nedbat, to random
    @nedbat@hachyderm.io avatar

    It was delightful to get feedback at for my last year's keynote (https://nedbatchelder.com/text/key23.html). But the most surprising and joyous was this drawing by @ludob of the moment when I showed coverage.py's Sleepy Snake mascot (https://nedbatchelder.com/blog/201912/sleepy_snake.html).

    nedbat, to random
    @nedbat@hachyderm.io avatar

    This was one of the memorable lightning-talk moments from .
    https://dmv.community/@akuchling/112476511048634484

    stevesilberman, to random
    @stevesilberman@newsie.social avatar

    Ouch! From IG: @thedailytism, a cheeky Instagram account by people for autistic people.

    nedbat,
    @nedbat@hachyderm.io avatar

    @stevesilberman I hope we can remember that the word autism is broad enough that it also covers people who need their parents to speak for them. This also seems like not so subtle misogyny: why isn't it an autism dad in the picture?

    nedbat, to random
    @nedbat@hachyderm.io avatar

    Anyone at from oss-fuzz, or has experience with its bug workflow? I'm trying to understand a bug they've reported on coverage․py.

    nedbat,
    @nedbat@hachyderm.io avatar

    @danzin That is a great insight! Do you know how to run the fuzzer to find the actual way coverage․py was called?

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