News for hackers. Stuff that matters.
Re:Show HN: Social experiment with live textboxes by Rjevski on Tuesday August 01, 2017 @09:49AM (#14900526)
This needs some way of voting posts down/flagging. Too many "Send nudes" and other inappropriate messages.
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 jdiez17 on Tuesday August 01, 2017 @03:36AM (#14898575)
Site looks broken to me. Using Chrome on Linux.

>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".

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 mercer on Tuesday August 01, 2017 @04:13AM (#14898695)
Maybe you're on an older version of Chrome? I can't be bothered to do the research but I recall Object.entries being a (relatively) recent addition.
Re:Show HN: Social experiment with live textboxes by Ndymium on Tuesday August 01, 2017 @03:53AM (#14898625)
Object.entries requires Chrome 54, have you upgraded?
Re:Show HN: Social experiment with live textboxes by cardamomo on Tuesday August 01, 2017 @07:05AM (#14899439)
I wonder how subtle changes to the way the game is framed may alter what people write.
Re:Show HN: Social experiment with live textboxes by sabujp on Tuesday August 01, 2017 @05:04AM (#14898882)
caused it to freeze for chrome users with max craziness text from this site : https://lingojam.com/GlitchTextGenerator
Re:Show HN: Social experiment with live textboxes by benjyclay on Tuesday August 01, 2017 @07:07AM (#14899446)
Rick roll links and profanity incoming!
Re:Show HN: Social experiment with live textboxes by Ndymium on Tuesday August 01, 2017 @03:01AM (#14898453)
That's cool! How did you make it?
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).
Re:Show HN: Social experiment with live textboxes by M4v3R on Tuesday August 01, 2017 @04:01AM (#14898652)
From what I can see it uses VueJS for the UI and websockets for server communication. I would bet that the backend is in NodeJS :).
Re:Show HN: Social experiment with live textboxes by agentd00nut on Tuesday August 01, 2017 @11:52AM (#14902014)
Looks like it died?