Re:Show HN: Social experiment with live textboxes
by penpapersw on Wednesday August 02, 2017 @06:07PM
(#14915138)
Yep definitely have a feature like that in the works. Where if > 50% active users vote to kick someone they're kicked out for 30 mins. Easy to do, just a matter of finding the time to code it :/
Re:Show HN: Social experiment with live textboxes
by penpapersw on Wednesday August 02, 2017 @06:09PM
(#14915150)
I didn't realize how new that was. Yeah I rely on the newest of the newest features. I check caniuse.com and if at least 3 major browsers supports a feature then I use it freely. Sometimes that means using stuff that doesn't work on older browsers or IE11.
Re:Show HN: Social experiment with live textboxes
by penpapersw on Wednesday August 02, 2017 @06:10PM
(#14915157)
It was originally vanilla JS on the front-end but I changed to Vue.js because it was really inconvenient without something like that. Vue has its own caveats but they're less annoying than nothing. The backend is a single free-tier EC2 server running a single Node.js process, using Websockets. Everything is custom except a canned websocket lib (and Vue).
>There are 0 people here (NaN have typed stuff).
I'm also getting JS errors: "Uncaught TypeError: Object.entries is not a function connection.onmessage @ (index):403".