News for hackers. Stuff that matters.
Re:Show HN: Chrome extension that replaces words into a diff... by dvcrn on Sunday November 06, 2016 @09:40PM (#12888419)
Very cool idea but slightly disappointed by the language options and constraint on websites. I barely use any of the sites it supports and don't learn any of the languages.

I'm wondering how difficult it would be to pipe random words into google translate and replace them.

Re:Show HN: Chrome extension that replaces words into a diff... by perilunar on Sunday November 06, 2016 @10:04PM (#12888496)
Pretty easy. You wouldn't even need Google - just store a list of the thousand or so most used words in the script.

I wrote bookmarklet once that replaced every word in a webpage with 'blah'. Rather amusing when used on news websites.

Re:Show HN: Chrome extension that replaces words into a diff... by drshrey on Sunday November 06, 2016 @10:50PM (#12888675)
Yeah, definitely not hard at all. Although, I think the harder problem is figuring out a specific word's complexity so it corresponds to the relevant immersion factor. For instance, having a lower immersion level shouldn't just mean lesser words (which is what is right now) but also more common and memorable words. Maybe a type of sentiment analysis problem?
Re:Show HN: Chrome extension that replaces words into a diff... by drshrey on Sunday November 06, 2016 @11:08PM (#12888737)
OH! And it works on other sites too, but that's "experimental" since it's not tested on all sites (which is why we put the on/off slider). Might be interesting to build a DOM parser- in the future -that figures out where relevant, "could be translated" content is in the webpage.
Re:Show HN: Chrome extension that replaces words into a diff... by Insanity on Monday November 07, 2016 @06:37AM (#12890324)
It was not very clear to me what the slider meant. Good thing that I read this comment section I guess. The slider 'on' means that the translation happens on all websites, whereas off it only happens on the selected sites?
Re:Show HN: Chrome extension that replaces words into a diff... by drshrey on Monday November 07, 2016 @02:58PM (#12894441)
Yeah, I'm going to make that clearer in the next update. It's much simpler, 'ON' means make the page translatable and 'OFF' means to leave the page alone. Because sometimes you just want to read the damn thing