Hacker Newsnew | past | comments | ask | show | jobs | submit | jan_k_'s commentslogin

WebSocket?


WebSocket is over TCP, so still ordered. I think by message-based GP is talking not only about message framing (which WebSocket provides) but also reliable out-of-order delivery.


When does a long out of order delay look like a packet loss?

Is it possible for an out of order packet to get delayed by a millisecond? A second? A minute? An hour?

Have you written code to be robust to this?


Other people have probably thought about it more than I have, but the way I see it working is that a set of unacked messages are stored on each end of the connection. When a connection receives a message, it acks it by ID. When acks come out of the order the client sent them in (or after a timeout period), it re-sends the packet that may have dropped.

If every message is getting dropped, the set of unacked messages fills up and the connection stops accepting messages from the application, similar to TCP in that situation.

I mostly work with TCP so haven't had to deal with unreliable channels generally, but I do use a similar approach at the application level for reliable delivery across reconnects.


My point is that a lost message looks the same as an arbitrary delay.


Notepad wouldn't recognize Unix line endings and would interpret the whole file as one line. Word wrapping doesn't fix that.


There was also some weirdness where you could not have the status bar and word wrapping enabled at the same time.


Oh I see. Yes, I remember that.

FYI, notepad can cover this use case now, as it can handle more character encodings and line-endings.


You can make excellent sourdough without any kneading using the fermentolysis technique. No machine needed and absolutely not "too much effort".


The most active multiplayer Doom port is Zandronum, using the Doomseeker server browser to join games. Mac support may be a bit flaky, but I think it currently works (join the Discord for help).

https://zandronum.com/ - get the software, join the discord

https://doomlist.net/ - see active servers


I've always much preferred Zandronum over Zdaemon because it's open source and it has much more advanced mod capabilities (with much more Zdoom/Gzdoom mod support than Zdaemon), supporting mods adding game modes like the PVE Invasion mode.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: