Conversation

Notices

  1. @delores @moonman I can implement it exactly as you two say. Can you add a comment (and maybe a picture) to https://gitgud.io/lambadalambda/the_wired_fe/issues/9?

    Tuesday, 23-Aug-16 06:40:25 UTC from social.heldscal.la
    1. @lambadalambda @delores btw, if you want to avoid a particular kind of problem that qvitter has, separate out calls for actual display type notices (notice, repeat) from update type notices (like favorites, deletes, etc) right now a single user can effectively ddos entire users by flooding it with favorites or deletes, which breaks TWKN timeline for everybody on that server that's getting the updates.

      Tuesday, 23-Aug-16 15:08:30 UTC from shitposter.club
      1. @moonman Haha, we did that over here once to fill someone's screen with notifications.

        Tuesday, 23-Aug-16 15:09:49 UTC from web
        1. @nerthos Qvitter just filters them out, but they're still on the same call for a limited number of results, so instead of getting tons of notifications it just can't display anything and the developers and admins get flooded with people asking why the site is broken.

          Tuesday, 23-Aug-16 15:12:17 UTC from shitposter.club
          1. @moonman Now i get it. That can't be circumvented by frontend changes, though, right?

            Tuesday, 23-Aug-16 15:15:56 UTC from social.heldscal.la
            1. @lambadalambda I will discuss this with you again maybe later today, I can make a backend change and get it added to core.

              Tuesday, 23-Aug-16 15:17:51 UTC from shitposter.club
              1. @moonman OK. I can think of some workarounds (just checking keep polling missing statuses until there is nothing left), but nothing nice. Websockets would be the nicest solution... I'll have to check out that plugin.

                Tuesday, 23-Aug-16 15:20:04 UTC from social.heldscal.la
                1. @lambadalambda I'm gonna set up my own testing server and install that tonight.

                  Tuesday, 23-Aug-16 15:20:59 UTC from shitposter.club
          2. @moonman Over here it didn't cause any server slowdown or anything, but then again it was a completely custom extension. It DID start misworking on it's own after a few months and had to be put off since it'd slow the server to a crawl.

            Tuesday, 23-Aug-16 15:26:56 UTC from web
      2. @moonman @delores @lambadalambda This is why I kept notifications and mentions both.  Not sure why Mentions got hacked out of it.

        Tuesday, 23-Aug-16 15:09:53 UTC from community.highlandarrow.com
      3. @moonman @delores Can you explain that a bit more? What exactly is going on there?

        Tuesday, 23-Aug-16 15:10:56 UTC from social.heldscal.la
        1. @lambadalambda @delores client will poll for a fixed number of activites, which will be a mix of "visible" and "invisible" types. it will them update TWKN. if you flood the stream with non-displayed types, it will screw up TWKN feed. Hannes knows about it but said it would take a nontrivial amount of work to fix.

          Tuesday, 23-Aug-16 15:14:49 UTC from shitposter.club
          1. @moonman @delores @lambadalambda I've actually got code for this, to better segregate different activity verbs, in a local testing branch of postActiv but it "loses" notifications and I cant figure out why.

            Tuesday, 23-Aug-16 15:16:35 UTC from community.highlandarrow.com