Live data from Hacker News

Google Is 2B Lines of Code, All in One Place

wired.com

331–340 of 347 posts

Re: Google Is 2B Lines of Code, All in One Place

#331

Earlier quoted context omitted.

So much is shared, though, right? Which is why Android is sorted into proper repositories but still has the 'repo' front-end wrapper to make sure you're getting the right versions of everything you need. If I wanted to change something fundamental, like I found a 10% speedup in Protobuf wire decode by changing the message slightly, there are likely very many services that all need it. Everyone at Google operates on H…

From my perspective, at least, this design seems to explain why Google websites are so frequently broken in the ways different services integrate. Because Googlers edit shared resources that affect products they don't personally work on, and they just trust automated tests, which almost certainly miss a lot of the edge cases I encounter. I admit that I'm not an expert at large software development, but this seems to…

"I have literally no idea what i am talking about, but here's something that i believe fully explains every problem i have ever encountered" :)

Re: Google Is 2B Lines of Code, All in One Place

#332

Earlier quoted context omitted.

Or if you are a non-techie it means forced upgrade is built into your product.

I think Microsoft has tried to address this with 8/10, which have a "refresh" feature, which tries to clean out everything besides Modern apps and your personal data.

Glad they are addressing a fundamental flaw in windows albeit not in the root cause (the need for a "refresh").

Re: Google Is 2B Lines of Code, All in One Place

#333

Earlier quoted context omitted.

Don't forget Google Life Sciences -- we have lots of software. (The team I'm on is 100% software, and we're around 25 people split among 3 sub-teams.) All our code is in piper, and depends heavily on the rest of the google infrastructure.

Is Google going to split this out of their infrastructure, or is this whole separation between "Alphabet" companies and "Google" really just a marketing ploy for no change at all?

At least as far as Google Life Sciences is concerned, there are multiple reasons that are known internally (at least within GLS) that I cannot comment on at this time.

An astute observer may be able to come up with some plausible reasons (at least for GLS) as to why such an arrangement would be desirable.

As far as splitting up the infrastructure, we're still going to depend on Google infrastructure and use their services where it makes sense.

Re: Google Is 2B Lines of Code, All in One Place

#334

Earlier quoted context omitted.

> single-digit _multiple_ of the entire Netflix movie catalog Strange unit of comparison, although I may start using it.

Facebook gets a Flickr worth of photos every few days.

How many VW Bugs is that ?

Re: Google Is 2B Lines of Code, All in One Place

#335

Earlier quoted context omitted.

I'm just saying I'd like to see how it goes long-term. Particularly in terms of TCO. Google, AFAIK, doesn't have any vendors making Toughbook-style Chrome OS machines yet.

Same. For the price of a toughbook you just buy 5 Chromebooks and throw them away.

Sure, but then the question is which lasts longer: Five Chromebooks or one toughbook? :D

Re: Google Is 2B Lines of Code, All in One Place

#336

Earlier quoted context omitted.

I think Microsoft has tried to address this with 8/10, which have a "refresh" feature, which tries to clean out everything besides Modern apps and your personal data.

Glad they are addressing a fundamental flaw in windows albeit not in the root cause (the need for a "refresh").

I think it's gotten better over time, but non-technical users have an incredible willingness to push buttons they shouldn't. Unfortunately, your options are to either cripple your product's functionality (Chromebook) or accept that users have the power to do things that they shouldn't. I vastly prefer the latter, and I think the latter is better for consumers, in fact, as well. But to each their own.

Re: Google Is 2B Lines of Code, All in One Place

#337
post #13

Earlier quoted context omitted.

Because Google and Facebook are using Mercurial over Git internally. Edit: And for those that are just shocked that git isn't the answer. Facebook: https://code.facebook.com/posts/218678814984400/scaling-merc... Google: http://www.primordia.com/blog/2010/01/23/why-google-uses-mer...

Well, Piper conforms to the Perforce API-ish, and Android and Chrome are both on Git. Mercurial was pushed internally as being the "better" (for some dimension of better) between it and Git back in 2010, but I think even the most hardline Mercurial fans have realized that in order to meet developers in the middle in 2015, we need to use Git for our open-source releases. We have a large investment in Gerrit [1] and Gi…

Though both Android and Chromium still build in a way more similar to that for a monolithic repo. They use repo and depot_tools, respectively, as abstractions on top of Git in order to clone and manage all their Git repositories together as if they were a single large repository.

Re: Google Is 2B Lines of Code, All in One Place

#338
post #329

Earlier quoted context omitted.

He didn't say "within an order of magnitude", he said, "the same order of magnitude." There is a difference.

So you think he meant within a factor of 3 and 1/3? That's not what the original netflix comment said.

"The same order of magnitude" means a multiplicative constant of a number from [1,10). 1/3 is decreasing by an order of magnitude. That is the typical usage in the sciences. Anyway, it's splitting hairs over something even less worthy of splitting hairs over.

Re: Google Is 2B Lines of Code, All in One Place

#339

Earlier quoted context omitted.

> Windows is slow? Compared to what? In what task? I dual booted a laptop for a while with Vista. (I can't speak to anything later, because I use Linux now, and haven't looked back, so take the appropriate grain of salt.) So with Vista / Gentoo on exactly the same hardware (a Lenovo T61): - boot time on Linux was orders of magnitude faster - WiFi AP connect was significantly faster[1], esp. on resuming from suspend-t…

Not only is boot faster on linux. When linux boots it's actually ready. When windows login screen comes up you login and then have to wait again .

Well, in all fairness, isn't this true of Linux too? At login, only lightdm (or whatever) is ready; we've not yet loaded the WM, mate-panel, other random stuff, etc.

Re: Google Is 2B Lines of Code, All in One Place

#340

Earlier quoted context omitted.

Same. For the price of a toughbook you just buy 5 Chromebooks and throw them away.

Sure, but then the question is which lasts longer: Five Chromebooks or one toughbook? :D

That's a good question!
Post reply on HN