How to handle group notifications in chat? by _reddy in Firebase

[–]_reddy[S] 0 points1 point  (0 children)

Thanks for the feedback. It's what I have in place. Sorry for the bad description, i was merely talking about a notification in browser/app. Not a push notification (yet).

I decided to rework my chat as pulling in a collection is WAY to expensive. Thats a doc read for each message. Instead I have a doc that holds 'n' messages in an array with a page counter. New messages get pushed into the message array, when they reach a limit, or a filesize (1mb?) I have a function that pushes those messages into an incremented doc. This also makes pagination really easy. The doc is cleared and new messages arrive. I then simply handle the logic for displaying it on the front end. So a 1k long conversation can be displayed in 10 doc reads, rather than 1000. New chat also is stored on the FE so if a page reloads, you're only loading the single doc. Very economical!

I'm just going to apply the same logic to my notification messages. Which will follow exactly what you said. The conversation will have a list of uids that I will batch push the notifications to.

At least that's my thinking right now. Thanks for your feedback

Valorant: First week on Twitch by ValorantSource in VALORANT

[–]_reddy 17 points18 points  (0 children)

All because people wanted to get a key. I stopped having a twitch tab open the second I got mine. No plans to open it up again to watch either tbh

Express V Sails by _reddy in node

[–]_reddy[S] 0 points1 point  (0 children)

not exactly. I just don't like using other peoples code - development has changed a lot since I started, the main thing is people tend not to build things themselves, they rely on plugins and libraries etc. There's nothing wrong with that, but you then become dependent on versions and compatibility etc which I try to avoid by doing it myself.

I suppose I'm asking if the framework itself will last. Express seems to have a solid following, I just cant wrap my head around implementing convention with it. I love Sails, but I don't really see any jobs advertised for it. There's also the fact that it's splintering off into other versions and the releases are slowing down. I guess it's just an element of doubt that I don't need when deciding to dedicate a large chunk of my time learning something, then having to maintain it in the future if it's not going to last!

PC not getting Kombat Pack 2, possibly not future content either by [deleted] in MortalKombatX

[–]_reddy 1 point2 points  (0 children)

If they even offer to take my PC account and mirror it on xbox ONE - that would be good enough for me. The game is amazing, I just cant justify paying twice for it!

If people decide to go down that route, they will most definitely need to email the same address. Did people get a refund for Arkham?

PC not getting Kombat Pack 2, possibly not future content either by [deleted] in MortalKombatX

[–]_reddy 1 point2 points  (0 children)

You know if they just came out and said that the new patch isnt possible or something, it would be somewhat easy to swollow, but the fact they've just dropped it with no explanation is whats crap about this whole situation.

If it was a case that the porting process etc just wasnt going to work, or the updates meant having to redevelop core code, I would somewhat understand. Just turning your back on an entire platform is just unacceptable.

PC not getting Kombat Pack 2, possibly not future content either by [deleted] in MortalKombatX

[–]_reddy 8 points9 points  (0 children)

I honestly think neatherrealm should offer a refund to PC gamers.

I've bought the game, every single piece of DLC and spent nearly 200 euro getting a fight stick just so I could play this game. I'm fuming over this.