Unofficial Hacker News companion — get notified on comment replies, and more.

Show HN: bouncemarket – a live prediction market game for a bouncing ball (opens external site)

432 points by mday404 4 days ago | bouncemarket.minhanhday.com | 149 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (8)

  1. > The drop is pre-simulated over SSE anyway

    Trying to understand this phrase but its meaning escapes me

    Replies (2)
    1. The backend runs the physics upfront and just streams the coordinates to the browser via Server-Sent Events.
    2. The server calculates the balls’ motions and uses Server Sent Events to stream the results to the browser.
      Replies (1)
      1. Ah so like a replay! Is SSE a specific term of art or does any event generated on a web server sent to a client count regardless of technology? At the risk of sounding sarcastic (I’m not), why did you capitalize S, S, and E?
        Replies (2)
        1. It's a specific web tech: https://developer.mozilla.org/en-US/docs/Web/API/Server-sent...

          But in colloquial usage I'd expect people probably do use that phrase referring to any system for events sent to clients by servers, such as long polling or websockets.

          Replies (1)
          1. > But in colloquial usage I'd expect people probably do use that phrase referring to any system for events sent to clients by servers, such as long polling or websockets.

            I feel seen. I consider async web socket data to be SSE.