home.social

#backoff — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #backoff, aggregated by home.social.

  1. If you golf & haven't seen 'Country Club Adjacent' roast golfers on the tee non-stop, you're in for a real treat. 😜

    "Oh boy. We've got DJ Needs-a-Salad." 😂

    OUR MOST ILLEGAL BACK OFF CHALLENGE!
    youtube.com/watch?v=44cc4ZmD-6

    #countryclubadjacent #comedy #humor #golf #roasts #backoff

  2. CW: not screenreader friendly, code

    Instead of writing complicated try-catch constructs to #retry things, using auto-retrying function #decorators certainly changed my life to the better.

    This is using #SQLAlchemy & the #backoff library pypi.org/project/backoff/ to retry generating a unique token, in the rare event that we chose a token that’s already in the database. On an IntegrityError, the function will “call itself” again.

    (Event hooks & exponential backoff are available too.)

    #Python #SQLModel