News for hackers. Stuff that matters.
Re:Kchat: Persistent group chat in <50 lines using kdb+/k/q ... by IshKebab on Tuesday May 09, 2023 @03:35AM (#35871261)
Well sort of. Server Sent Events is basically "official long polling" and it works very well. Way simpler than websockets in many cases. Websockets is obviously better here though.
Re:Kchat: Persistent group chat in <50 lines using kdb+/k/q ... by vidarh on Tuesday May 09, 2023 @04:04AM (#35871439)
The point isn't that the way the data is sent from the server matters much, but that using javascript to handle the retrieval is beneficial. The first Javascript enabled chats still relied on the same methods of retrieval for a long time, but still significantly improved usability.