Replies

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

nedbat, to random
@nedbat@hachyderm.io avatar

One open question in dribbling blog posts for decades: how to highlight the "evergreens" that could be useful into the future?

An attempt: I made a page of "Frequent Python questions" that inspired some of my often-referenced posts over the years:
https://nedbatchelder.com/text/pyfaq.html

nedbat,
@nedbat@hachyderm.io avatar

@llimllib Thanks this piece is interesting both for its content and its form(!). It is easily the most elaborately structured and formatted "blog post" I have seen. It's addressing a slightly different problem than mine: he's talking about how to alert people when a post has been substantially updated.

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

nedbat,
@nedbat@hachyderm.io avatar

@phildini I remember something like that, but never used it. I'm sure it exists...

nedbat,
@nedbat@hachyderm.io avatar

@Bleyddyn Yes, another reason to prefer it.

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

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!

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

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