Live data from Hacker News

How I reverse-engineered Google Docs to play back keystrokes (2014)

features.jsomers.net

11–18 of 18 posts

Re: How I reverse-engineered Google Docs to play back keystrokes (2014)

#11
post #8
post #4

Earlier quoted context omitted.

It falls apart if someone makes the document in any other tool and then pastes it on gDocs. Unless you make it a requirement to do the entire thing on that platform...

Yeah, you'd have to, but gMail/gDocs is pretty prevalent. I know a bunch of schools already use it for their email/office suite so it wouldn't be too hard to make that requirement. I really like it because it's grabbing metadata out of something people already use rather than having them use some horrible web app from the 90's that was contracted out by a now defunct company.

Eventually google docs may become the new horrible web app :)

If I am grading a text for its content, I shouldn't force students to use any particular tool. There should be more evaluation tools that confirm if the student has the skills I'm evaluating for, like written or oral tests in a controlled environment.

Re: How I reverse-engineered Google Docs to play back keystrokes (2014)

#12
post #3

That would make for a hell of an anti-plagiarism tool. If you were a teacher and took 30 essays written in gDocs, threw them into the change timeline that he built, the copy/pasted ones would hugely stick out. It would even catch the folks that put a paid/plagiarized essay up on one screen and type it out again given all the natural backspacing and editing.

Not sure about that. You assume everybody will be happy to work in GoogleDocs to write their assignment. But that's not true. If you are a commuting student you probably want to write it in an offline tool (even the notepad is fine). Also, sometimes, especially if you need to be creative, to plain old paper are a much better tool to write the first draft. Finally, I like to use a spellchecker a little bit better than the one provided by Google Docs, so I will probably run the text in it and then copy back to Google Docs. Never in my flow I cheated (unless using a spellchecker is cheating that could be true for an English class). But it will be very difficult for me to prove it because you assume cheating is using a different tool from the one you try to force me. That's not fair!

Re: How I reverse-engineered Google Docs to play back keystrokes (2014)

#14
post #3

That would make for a hell of an anti-plagiarism tool. If you were a teacher and took 30 essays written in gDocs, threw them into the change timeline that he built, the copy/pasted ones would hugely stick out. It would even catch the folks that put a paid/plagiarized essay up on one screen and type it out again given all the natural backspacing and editing.

Copy and Paste probably a terrible signal of plagiarism in the modern writing workflow -- which involves tons of editing, multiple documents, and more legitimate use cases for it than illegitimate.

Re: How I reverse-engineered Google Docs to play back keystrokes (2014)

#16
This is simply fantastic. I always thought operational transformation was pretty difficult to implement robustly, but looking at Google's implementation lets you build interesting experiments without getting all those details right -- like building the world's best writing time machine. It reminds me of Cory Doctorow's approximation built on git: http://craphound.com/news/2009/02/13/flashbake-free-version-...

I think there are great possibilities for building on this idea...

Re: How I reverse-engineered Google Docs to play back keystrokes (2014)

#17
post #3

That would make for a hell of an anti-plagiarism tool. If you were a teacher and took 30 essays written in gDocs, threw them into the change timeline that he built, the copy/pasted ones would hugely stick out. It would even catch the folks that put a paid/plagiarized essay up on one screen and type it out again given all the natural backspacing and editing.

Copy and Paste probably a terrible signal of plagiarism in the modern writing workflow -- which involves tons of editing, multiple documents, and more legitimate use cases for it than illegitimate.

Maybe in large academic publications. A middle school, high school, or even undergrad book report style document? You betcha copy/paste would be indicative of something, especially if a few students copy/pasted a lot more than the class average.

Also, this is just one signal and would be powerful as the preliminary one. There would probably be a few false positives, but nearly no false negatives. It's not like kids are going to be expelled for copy/pasting documents, but it certainly warrants more suspicion.

Re: How I reverse-engineered Google Docs to play back keystrokes (2014)

#18
post #4
post #3

That would make for a hell of an anti-plagiarism tool. If you were a teacher and took 30 essays written in gDocs, threw them into the change timeline that he built, the copy/pasted ones would hugely stick out. It would even catch the folks that put a paid/plagiarized essay up on one screen and type it out again given all the natural backspacing and editing.

It falls apart if someone makes the document in any other tool and then pastes it on gDocs. Unless you make it a requirement to do the entire thing on that platform...

then someone can have the pre-written document in the other window and just type and pretend to revise the essay on gDoc!
Post reply on HN