Sythe Chat!

Discussion in 'Denied Suggestions' started by Stickly, Apr 15, 2014.

Thread Status:
Not open for further replies.
Sythe Chat!
  1. Unread #41 - Apr 17, 2014 at 7:56 PM
  2. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,072
    Referrals:
    492
    Sythe Gold:
    5,411
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    Sythe Chat!

    It's more complicated than it seems. For example, if you have five pages open do you have five separate connections to the chat system? No? Well then you have to use intercom or similar to proxy chat messages around, and one of the active tabs has to host the main connection. But then you have more trouble because the background tabs don't update reliably on modern browsers (to save CPU).

    I'm not saying its impossible but until there is widespread adoption of chat, I'm not going to burden every page of the site with it.
     
  3. Unread #42 - Apr 17, 2014 at 11:43 PM
  4. Superman
    Joined:
    May 17, 2009
    Posts:
    30,031
    Referrals:
    12
    Sythe Gold:
    11,790

    Superman
    Retired Administrator $500 USD Donor

    Sythe Chat!

    Popping out private chats possible?
     
  5. Unread #43 - Apr 20, 2014 at 3:02 PM
  6. Stickly
    Joined:
    Jul 3, 2013
    Posts:
    1,014
    Referrals:
    0
    Sythe Gold:
    0

    Stickly Guru
    Banned

    Sythe Chat!

    Bump for Matthew?
     
  7. Unread #44 - Apr 20, 2014 at 9:34 PM
  8. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,211
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    Sythe Chat!

    Couldn't you just write your own (or find one) asynchronous chat protocol? Just stick them in a DB and stuff. Then you don't have to deal with connections and stuff.
     
  9. Unread #45 - Apr 21, 2014 at 7:23 PM
  10. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,072
    Referrals:
    492
    Sythe Gold:
    5,411
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    Sythe Chat!

    The protocol isn't the issue. The issue is exactly mirroring the same chat client on several tabs without overuse of resources both on the client end and on the server end.

    Basically: Either every tab has a "connection" (be that a long poll, a series of short polls, a websocket, or whatever), OR there is a single "connection" that is shared somehow between the tabs. (I put connection in quotes because I don't necessarily mean a direct TCP connection but rather a means of obtaining and sending data to the server.) The second option is far preferable. Many users have dozens of sythe tabs open at the same time. In addition to the resource overhead on the server, browsers limit the number of simultaneous connections to the same server. The chat clients also have to sync perfectly so that a message sent in one tab will appear as a message sent in the others.

    As I said before it's not impossible, just tricky. I have a partial solution using intercom.js already written up. If enough people start using chat I'll do some more work on it.
     
  11. Unread #46 - Apr 21, 2014 at 7:37 PM
  12. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,211
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    Sythe Chat!

    Are you able to make use of a shared local cache to sync up all the different instances? Then you can just talk to one of the tabs and make the rest sync through the cache?
     
  13. Unread #47 - Apr 21, 2014 at 7:47 PM
  14. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,072
    Referrals:
    492
    Sythe Gold:
    5,411
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    Sythe Chat!

    Yes this is exactly the model I am talking about. Except I use intercom.js which makes use of whatever type of local shared data is available.
     
  15. Unread #48 - Apr 21, 2014 at 8:20 PM
  16. Delta Squad
    Joined:
    May 19, 2011
    Posts:
    9,455
    Referrals:
    6
    Sythe Gold:
    3,341
    Discord Unique ID:
    1141474466820538398
    Discord Username:
    deltasquadsythe
    Live Streamer Two Factor Authentication User

    Delta Squad Don't mind me, just getting my postcount up.
    Village Drunk C++ Programmer $200 USD Donor New

    Sythe Chat!

    would it be possible to get sythe chat to dock into the webpage somehow?

    i really hate having to keep tabbing over to it =\
     
  17. Unread #49 - Apr 21, 2014 at 8:48 PM
  18. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,211
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    Sythe Chat!

    That's the whole issue. Having it in every page makes a lot of connections and is slow and stuff. Richard is working on something for that.
     
  19. Unread #50 - Apr 21, 2014 at 8:58 PM
  20. Delta Squad
    Joined:
    May 19, 2011
    Posts:
    9,455
    Referrals:
    6
    Sythe Gold:
    3,341
    Discord Unique ID:
    1141474466820538398
    Discord Username:
    deltasquadsythe
    Live Streamer Two Factor Authentication User

    Delta Squad Don't mind me, just getting my postcount up.
    Village Drunk C++ Programmer $200 USD Donor New

    Sythe Chat!

    why i suggested a docking feature, so the one client transfers over to the next page, granted this would cause it to reload it time you change pages im sure i t could work like how the facebook system works.
     
  21. Unread #51 - Apr 22, 2014 at 7:16 AM
  22. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,211
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    Sythe Chat!

    So I've got single click To open a private conversation working. I just need to pack it in as a patch and I'll send it to Richard. I already sent him a fix for the pm command.
     
  23. Unread #52 - Apr 22, 2014 at 7:46 AM
  24. J E Parts
    Joined:
    Jul 10, 2013
    Posts:
    436
    Referrals:
    0
    Sythe Gold:
    0

    J E Parts Forum Addict

    Sythe Chat!

    Surely there is an 'out of the box' solution for the current version of vb you are running?
     
  25. Unread #53 - Apr 22, 2014 at 4:01 PM
  26. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,211
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    Sythe Chat!

    I think there are performance and feature concerns.
     
  27. Unread #54 - Apr 23, 2014 at 4:55 AM
  28. J E Parts
    Joined:
    Jul 10, 2013
    Posts:
    436
    Referrals:
    0
    Sythe Gold:
    0

    J E Parts Forum Addict

    Sythe Chat!

    Why not install the shoutbox plugin for vb then?
     
  29. Unread #55 - Apr 23, 2014 at 5:06 AM
  30. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,072
    Referrals:
    492
    Sythe Gold:
    5,411
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    Sythe Chat!

    There's nothing out of the box that does what we want. And there is security risk with third party products.
     
  31. Unread #56 - Apr 23, 2014 at 7:08 AM
  32. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,211
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    Sythe Chat!

    For the same reasons I just posted.
     
  33. Unread #57 - Apr 24, 2014 at 1:54 PM
  34. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,211
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    Sythe Chat!

    I tried to do this and I can't. Its due to some stupid DOM crap. Matthew will have to look into it.

    I've fixed the PM command so it lets you know what you have PM'd. I'm going to submit that to Richard when I have time.
     
  35. Unread #58 - Apr 24, 2014 at 4:29 PM
  36. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,211
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    Sythe Chat!

    Ok. I lied. I got auto-scrolling off. Now received PMs never scroll but I'll fix that soon.
     
  37. Unread #59 - Apr 24, 2014 at 5:31 PM
  38. Stickly
    Joined:
    Jul 3, 2013
    Posts:
    1,014
    Referrals:
    0
    Sythe Gold:
    0

    Stickly Guru
    Banned

    Sythe Chat!

    I'll change OP when I get home. (5 hours or so)
     
  39. Unread #60 - Apr 24, 2014 at 7:16 PM
  40. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,211
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    Sythe Chat!

    Is there anything people want first?
     
< [Sythe] Sythechat Minirank | Clarity on Sythe's Account Selling Rule. >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site