Re:Rot8000
by tuttle7 on Tuesday November 20, 2018 @01:30PM
(#18496298)
Noone is concerned by the fact this is sending your text using POST requests. The guy could not use DOM/JS.
[ Parent
| on HN ]
No, no one is concerned by this. Not every toy website needs to have JS.
Re:Rot8000
by Sohcahtoa82 on Tuesday November 20, 2018 @05:07PM
(#18498287)
I think the point the tuttle7 was trying to make was that this site could be implemented client-side quite easily. There's no real reason to make the translation server-side and require more server CPU resources and bandwidth.
I feel the same way about https://www.base64decode.org/ . By default, everything gets translated server-side. I wonder how many people use this site on a regular basis for translating secrets. I'd bet my life that the number is greater than zero.
Re:Rot8000
by ravenstine on Tuesday November 20, 2018 @02:25PM
(#18496840)
Nah bro, it needs Webpack and a mishmash of Angular and Vue with a "sprinkling" of React along with an Elixir backend so it's fault-tolerant. Else, how is this toy site supposed to scale at all?
Re:Rot8000
by stilldavid on Tuesday November 20, 2018 @01:34PM
(#18496342)
I'd be more concerned if you used this for actual secrets.
Re:Rot8000
by richrichardsson on Tuesday November 20, 2018 @02:06PM
(#18496673)
That's why you write rude messages to give him/her a laugh when checking server logs.
Yep, passed the test.
There is then checks made on contents send. A little warning on how the send data is handled would have been appreciated. Thank you.
Re:Rot8000
by marssaxman on Tuesday November 20, 2018 @03:29PM
(#18497422)
Why on earth would you need a warning that text entered into an HTML form would be posted to the server when you pressed the button? What else would you expect it to do?
Re:Rot8000
by Sohcahtoa82 on Wednesday November 21, 2018 @04:04AM
(#18501209)
I'd expect such a trivial operation to be done client-side in JavaScript and not need to ask a server to do it for them.
I was delighted that a fun toy didn't need JS for once. If the concern is one of privacy, the author could just be sending the text to the server in the background with JS too.