News for hackers. Stuff that matters.
Re:I reverse engineered Google Docs to play back any documen... by erickj on Saturday December 26, 2020 @04:54PM (#25546734)
I was working on the Google Slides team at the time this blog post was originally published back in 2014.

Slides and Doc are extremely closely related projects, sharing lots of code (and even sitting next to eachother, at the time at least).

Our entire team was impressed with the details of the operational transform protocols that the author was able to reverse engineer, and for the most part get correct. IIRC our engineering director ended up calling the guy up for a lunch.

Re:I reverse engineered Google Docs to play back any documen... by londons_explore on Saturday December 26, 2020 @06:14PM (#25547230)
Sending around protobufs encoded as JSON makes reverse engineering much easier than you might imagine. I can just imagine what the internal .proto files must look like - especially the arrangement/ordering of fields which tells you how the software design evolved. Two fields with tags next to eachother? They're probably part of the same feature and they were added by the same person as part of the same commit.
Re:I reverse engineered Google Docs to play back any documen... by harikb on Saturday December 26, 2020 @06:37PM (#25547384)
Edit: u meant encoded as Json - never mind.

Just curious, how does Protobuf make it easier? Easier than Json? Protobuf doesn’t even include field names or readable descriptors - unless of course you are talking about reading client side JS

Re:I reverse engineered Google Docs to play back any documen... by londons_explore on Saturday December 26, 2020 @07:14PM (#25547569)
Not easier than JSON, but it's much easier than reversing some C++ structs that some webassembly based application might send over the wire...

Messages and submessages and arrays make figuring out what data is what very easy for the most part.

Re:I reverse engineered Google Docs to play back any documen... by the_arun on Saturday December 26, 2020 @09:40PM (#25548364)
Just curious - Did you guys hire that person to work for Google? or let them go just with a lunch?
Re:I reverse engineered Google Docs to play back any documen... by cinntaile on Sunday December 27, 2020 @03:51AM (#25549794)
He's active on HN as well, his username is jsomers. He made an interesting visualization a couple of days ago and submitted the link.

https://observablehq.com/@jsomers/we-need-more-tiny-knowledg...

Re:I reverse engineered Google Docs to play back any documen... by dannyw on Saturday December 26, 2020 @10:47PM (#25548654)
Sometimes these chats are just good for network building and professional courtesy. They don’t need to have a direct outcome.

The eng director may get some cool ideas from talking to him. The guy might get cool ideas from talking to the eng director. It’s also a free lunch.

This guy may want a job at Google in 2 years. He can then email the eng director for a referral.

Re:I reverse engineered Google Docs to play back any documen... by mhh__ on Saturday December 26, 2020 @11:21PM (#25548799)
In that situation (let's say the boss finds his new protege or whatever) would you still have to go through the (in)famous invert a binary tree technical interviews?
Re:I reverse engineered Google Docs to play back any documen... by vacheron on Sunday December 27, 2020 @04:59AM (#25550034)
I never understood why people advocate for job offers sans interviews for someone who has interesting projects. IMO any company allowing such practices opens itself up to corruption and nepotism.

I've worked for startups and even mid-sized publicly traded companies where managers with sufficient seniority were allowed to extend offers on a whim and it always resulted in friends of said employees being hired. Inevitably, entire teams and even business orgs would be filled with friends or fraternity brothers and their work performance would vary greatly.

No one likes interviews but it's crazy that I keep seeing HN users considering this an acceptable practice.

Re:I reverse engineered Google Docs to play back any documen... by Tarsul on Sunday December 27, 2020 @09:32AM (#25551268)
there's a difference between hiring people with a proven track record (especially in this industry, e.g. known projects through github) and hiring your nephew just because he's a great guy. Although I do agree that knowing about people's projects doesn't say enough about the fit (e.g. teamwork). However, white board code reviews won't really help finding that out either, imo. Parent poster didn't want imply that the whole interview process should be circumvented, only the (or some of the) technical part - I agree.
Re:I reverse engineered Google Docs to play back any documen... by vacheron on Sunday December 27, 2020 @05:24PM (#25554800)
I am against the principle of any individual within a company being able to extend offers at will without any interviews or input from others. A "proven track record" is often too vague and arbitrary a bar and this just lends way to allowing personal bias in hiring decisions. Having interesting experience, projects or an impressive github allows you to get your foot in the door and get to the interview stage. It should not circumvent the technical interviews.

I hire developers and researchers for my company and we are very selective in who we choose to interview (small company in a bleeding edge field). We only consider engineers with relevant, impressive expertise and academics with solid published papers. Still, many of those interviewed don't receive offers and it's not because we ask them to recite some esoteric solution to a riddle. We have called candidates in just because they have promising github projects related to our work, only for these individuals to completely flop when questioned about basic fundamentals. Our interviews were extremely lenient and informal in these cases and we gave multiple chances to some.

Re:I reverse engineered Google Docs to play back any documen... by skj on Saturday December 26, 2020 @11:53PM (#25548958)
Yes.
Re:I reverse engineered Google Docs to play back any documen... by shadytrees on Sunday December 27, 2020 @10:19AM (#25551586)
I think he currently works at Jane Street https://blog.janestreet.com/author/jsomers/
Re:I reverse engineered Google Docs to play back any documen... by dylan604 on Saturday December 26, 2020 @10:29PM (#25548558)
You're assuming the person would want to work at Google.
Re:I reverse engineered Google Docs to play back any documen... by tourist2d on Sunday December 27, 2020 @01:13AM (#25549250)
And you're assuming he wouldn't.
Re:I reverse engineered Google Docs to play back any documen... by spoonjim on Sunday December 27, 2020 @12:57AM (#25549192)
The guy writes for the New Yorker and the Atlantic, doubt he would be willing to work at Google.
Re:I reverse engineered Google Docs to play back any documen... by 1vuio0pswjnm7 on Sunday December 27, 2020 @02:10AM (#25549428)
Both work for employers that depend on ad sales in order to survive.
Re:I reverse engineered Google Docs to play back any documen... by spoonjim on Monday December 28, 2020 @03:10AM (#25557584)
Yes, and both work for employers incorporated in the United States. What is your point?