221
submitted 1 year ago by br3d@lemmy.world to c/fediverse@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] PeleSpirit@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

Okay, I swear I almost have it. Where does the stock number come from? Does it regularly pull a number instead of counting, is that the difference? I think what you're saying is, instead of it checking live, it has a total number taken every so often. Yes?

Edit: Okay I get it, except for where my initial count comes from. I guess it starts at 0?

  • First way, constantly checking the number of comments and just goes off of that.
  • Second way, stores the number 0 at first and then only updates when a comment is added or removed.

Am I ready for my certificate yet? Yikes. Thanks for going slow, lol.

[-] athlon@lemm.ee 3 points 1 year ago

No, you just update the number whenever you make any changes to how many apples you have.

this post was submitted on 11 Aug 2023
221 points (98.3% liked)

Fediverse

28555 readers
452 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 2 years ago
MODERATORS