Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
codeinabox ( codeinabox@programming.dev )  to Programming@programming.devEnglish · 4 months ago

Retry is not a loop, its a data structure

siddhantkhare.com

external-link
message-square
5
link
fedilink
4
external-link

Retry is not a loop, its a data structure

siddhantkhare.com

codeinabox ( codeinabox@programming.dev )  to Programming@programming.devEnglish · 4 months ago
message-square
5
link
fedilink
Retry is not a loop, its a data structure · Siddhant Khare
siddhantkhare.com
external-link
Under partial failure, retry loops can rearrange history. If order, duplication, or staleness matters, retry needs state.
alert-triangle
You must log in or register to comment.
  • Lysergid ( Lysergid@lemmy.ml ) 
    link
    fedilink
    arrow-up
    13
    ·
    4 months ago

    TLDR: a lot of text to say that maybe you have a bug because you forgot ordering and idempotence. Check your code.

    Has nothing to do with retry in particular btw.

    • thingsiplay ( thingsiplay@lemmy.ml ) 
      link
      fedilink
      arrow-up
      8
      ·
      4 months ago

      Probably written by Ai. Talks about what “Humans does” and the resume is full of Ai stuff, probably made up. On the bottom the site description is:

      Siddhant Khare

      Infrastructure for AI agents and LLM systems.

      That explains why there is lot of fluff and expanded talk about nothing.

  • thingsiplay ( thingsiplay@lemmy.ml ) 
    link
    fedilink
    arrow-up
    5
    ·
    4 months ago

    Retry Ai prompt again and again, until it looks like working.

    • Hexarei ( Hexarei@beehaw.org ) 
      link
      fedilink
      arrow-up
      3
      ·
      4 months ago

      They call that a Ralph loop

  • Marija_ ( Marija_@programming.dev ) 
    link
    fedilink
    arrow-up
    3
    ·
    4 months ago

    That’s a useful mental model. Retries carry state and intent.

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 467 users / day
  • 369 users / week
  • 1.69K users / month
  • 4.41K users / 6 months
  • 453 local subscribers
  • 29.2K subscribers
  • 3.07K Posts
  • 23.7K Comments
  • Modlog
  • mods:
  • snowe ( snowe@programming.dev ) 
  • Ategon ( Ategon@programming.dev ) 
  • UlrikHD ( UlrikHD@programming.dev ) 
  • bugsmith ( bugsmith@programming.dev ) 
  • Spyro ( Spyro@programming.dev ) 
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code