Re:WorldChat.io: Chat with realtime translation
by vfl0 on Tuesday May 21, 2013 @04:56PM
(#5746766)
Due to the massive amounts of spamming going on right now I think there should be some sort of chat room system on there which allows you to create a room and send the link.
Or you could even follow a similar idea to Omegle by pairing two people together but make it so it pairs two people who speak in different languages?
Re:WorldChat.io: Chat with realtime translation
by octatone2 on Tuesday May 21, 2013 @02:56PM
(#5745899)
Don't encode entities on the server side if you are using handlebars, it will do that for you (that's the point of using {{}} it will make all user input "safe").
Re:WorldChat.io: Chat with realtime translation
by obviouslygreen on Tuesday May 21, 2013 @03:27PM
(#5746180)
I built a proof of concept for something like this for someone quite a while ago... what he had that you desperately need is channels. This is entirely useless with any amount of people (particularly when spammers can't be controlled, which is just how the net is). Excellent idea, but it needs some concept of segmentation to be useful.
Re:WorldChat.io: Chat with realtime translation
by shared4you on Tuesday May 21, 2013 @02:35PM
(#5745767)
I choose the "German" flag. Does it mean that I should type in German or others' messages are translated to German? It's not at all clear from the wording: "Choose your username and language to start chatting with the world"...
What if I want to type in English but read others' messages in German?
Re:WorldChat.io: Chat with realtime translation
by anonfunction on Tuesday May 21, 2013 @02:46PM
(#5745846)
Sorry to confuse you, the UX is kinda wonky. Whatever flag you choose is what determines your language for both outgoing and incoming messages. So if you choose German, that is what will determine the "From" language to translate on your outgoing messages and the "To" language for incoming.
Re:WorldChat.io: Chat with realtime translation
by anonfunction on Tuesday May 21, 2013 @02:41PM
(#5745812)
This is correct. Basically whatever flag you choose is what determines the "From" translation language on your outgoing messages and the "To" language for incoming.
Re:WorldChat.io: Chat with realtime translation
by anonfunction on Tuesday May 21, 2013 @02:12PM
(#5745551)
Since I made this, I'm glad some people like it (and not surprised some don't) but I'd love to answer some technical questions or hear any bugs / issues / security holes you hackers might have found. Cheers!
Re:WorldChat.io: Chat with realtime translation
by C1D on Tuesday May 21, 2013 @02:16PM
(#5745584)
It feels like I'm being spammed, there isn't enough time to read the messages and its also getting flooded by people with the usernames flood and flooder.
Re:WorldChat.io: Chat with realtime translation
by anonfunction on Tuesday May 21, 2013 @02:17PM
(#5745596)
Ya, I tried to implement rate limiting and failed, this was last night at 3am, so let me try again. If you code you might be able to beat me to it: https://github.com/Mashape/worldchat
Or you could even follow a similar idea to Omegle by pairing two people together but make it so it pairs two people who speak in different languages?
also, rate limit the users, this is thing is managing to crash chrome!
That's the only thing that would make sense.
You trust your server-side sanitization that much?
good job shutting that fellow down. Very cool little app.
edit:
well...maybe some kind of rate limit might help.