News for hackers. Stuff that matters.
Re:Every time an engineer joins Google, a startup dies by hello_moto on Thursday February 11, 2010 @10:26AM (#1117773)
I'd love to see more people to pursue this stream (Join Google, learn, and become a founder in the future).

There's a lot to learn from Google (especially in terms of code review, writing good, clean, well documented code).

Let's rephrase that: "Every time I see a brilliant kid going to a chaotic startup that encourage shortcuts and brilliant hacks, I see our industry dying slowly."

PS: I understand that not all startups are like that, but what are the odds/ratios?

Re:Every time an engineer joins Google, a startup dies by strlen on Thursday February 11, 2010 @03:43PM (#1118706)
There's a small caveat though. It may have been a clearly good choice to go to Google in early to mid 2000s, but since then there's already an incredible amount of legacy code written supporting business critical functions at Google. This isn't a criticism of Google at all, but it is a limitation on the new things you could do at Google or any other company with legacy systems. Working at Google doesn't free you from the responsibility (not just to yourself, but to the people using your work), as an engineer, to learn on your own what you aren't learning at your workplace.

That being said, I have incredible respect for Google for being a few engineering/science driven Internet companies out there, which respects great hackers and beautiful, quality code. Most Internet companies (including many startups, with few great exceptions) are solving social, rather than scientific or technical problems and treat developers the same way Google treats servers (as a commodity, where the ability to replace them quickly -- and make do if they're unavailable -- is more important than their quality).

Re:Every time an engineer joins Google, a startup dies by hello_moto on Thursday February 11, 2010 @04:13PM (#1118770)
Speaking about legacy code, I read somewhere (probably via twitter) that new hires were given Michael Feather's book: "Working Effectively with Legacy Code".

I have a lot respect to companies that acknowledge these kind of issues and try to fix them.

I know there are many companies that just tell the engineers to quit whining/complaining about the current system and keep patching issues (fire and extinguish).

Re:Every time an engineer joins Google, a startup dies by babycakes on Friday February 12, 2010 @09:53AM (#1120648)
They have me a copy of that book during my orientation at Google, along with a series of other books on the core languages used within Google. Obviously, it's up to every engineer to put that to good use, but the company is making an effort to have people do things the right way.
Re:Every time an engineer joins Google, a startup dies by hello_moto on Wednesday February 17, 2010 @10:28PM (#1133323)
May I know the titles of the other books?
Re:Every time an engineer joins Google, a startup dies by strlen on Thursday February 11, 2010 @05:44PM (#1118981)
That's very interesting! I'll have to check that book out (just given some of the open source projects I've dabbled in), anyone else have an opinion on it?
Re:Every time an engineer joins Google, a startup dies by vorador on Thursday February 11, 2010 @12:05PM (#1118050)
Not necessarily. After all, Unix was built by brillant kids who glorified shortcuts and brilliant hacks.
Re:Every time an engineer joins Google, a startup dies by strlen on Thursday February 11, 2010 @05:43PM (#1118978)
The other thing is that UNIX wasn't built a start-up, it was built at Bell Labs. Google could be argued t be a modern bell-labs.

Most modern start-ups avoid, at all costs, any systems programming (or doing anything at all beyond using a scripting language to read text from a database and display it on a screen).

Note, however, I said most. There are startups solving serious scientific and engineering challenges. It's just "start-up" does not equate "lasting technological/scientific contribution".

Re:Every time an engineer joins Google, a startup dies by nostrademons on Thursday February 11, 2010 @07:37PM (#1119249)
"Google could be argued t be a modern bell-labs."

Particularly given the ridiculous number of ex-Bell-Labs employees at Google. One of the SVPs of Engineering at Google was formerly the VP in charge of the organization that birthed C, C++, UNIX, etc.

Re:Every time an engineer joins Google, a startup dies by gridspy on Thursday February 11, 2010 @09:29PM (#1119545)
I think the key here is to avoid doing any work at all that is not your value proposition. If scripting languages are good enough and will benefit you, use them.

We use Python, Twisted, Django, Matplotlib, JQuery, Movable Type, Postgresql all for this reason. Even our firmware is built as much as possible on a 3rd party neworking library and high level hardware building blocks.

Re:Every time an engineer joins Google, a startup dies by strlen on Friday February 12, 2010 @02:04PM (#1121408)
That's great for you (if it's money you're after), but it does make the start-up fairly uninteresting to someone who's interested in systems level development (and not just glueing together a product based on work others have done).

Generally, top scientists/engineers are not motivated by money, which means given an offer from a typical ("glue a product together") start-up and Google they'd choose Google, unless they're looking for the "start-up experience".

If you want top technical talent (who will always be able to find fulfilling and challenging work at the whatever the current Google-like company is, e.g. SGI in early 90s, Netscape in mid 90s, etc), you have to give them top technical challenges (which is how these companies have themselves been able to compete for talent when they were start-ups).

Re:Every time an engineer joins Google, a startup dies by gridspy on Friday February 12, 2010 @09:07PM (#1122380)
Yes, that is my frustration also. I would rather be doing low level optimisation work, but I haven't yet found someone who wants to pay me for it.

In the next 6 to 18 months, I am going to have to start swapping out the big building blocks with parts meant to scale. At that point there should be plenty of room for the systems engineers to join me.

Re:Every time an engineer joins Google, a startup dies by strlen on Saturday February 13, 2010 @12:13AM (#1122592)
That's fine then. It's better to use high level components to build a product that's correct (i.e. does what customers want it to do well) and then make it fast then build a fast, but incorrect product.

Be careful, however, with treating scale as equivalent of performance. You have to design for scalability, not optimize for it: given the same algorithm, sorting a list of items in python might take 50 times as long as doing it in C; yet using an n^2 vs. n log(n) algorithm a 1 000 000 item list would take 50000 times as long to sort.

Re:Every time an engineer joins Google, a startup dies by gridspy on Saturday February 13, 2010 @06:13PM (#1123755)
Please excuse the tone of this post. I have spent a lot of time thinking about potential performance issues, and rationalising my choices.

I'm a ACM ICPC (programming contest) finalist, and have competed in the Google Codejam, so I know about big-oh.

Anyway, who implements a sorting algorithm in pure Python? I use the builtin sort() function, which is implemented in C (making callbacks into python for comparisons for some types). It uses TimSort - an approach designed to minimise the number of comparisons. http://svn.python.org/projects/python/trunk/Objects/listsort...

I thought you were going to point out that I should ensure that my system is modular (stateless, partitioned, etc) and I can spread the load across several machines - I can.

You are right that I could make a screaming fast bubble sort and still end up with major issues. Fortunately I already have had that epiphany while solving ACM practice problems.

I appreciate your advice, there are far too many who haven't yet understood it.

Re:Every time an engineer joins Google, a startup dies by strlen on Monday February 15, 2010 @07:21PM (#1127937)
Sorry if I sounded condescending. I didn't know the specifics of your system (is it mostly on the server side, embedded, etc...?) so I couldn't give you any specific advise.

The sort example was merely a metaphor for design for scalability vs. optimization for performance. Perhaps better examples would have been dividing the server side portion of your application into asynchronously invoked services is design for scalability. Rewriting some of these services in C or OCaml, switching from JSON to Protocol Buffers, switching from an HTTP server and a layer 7 load balancer to a custom non-blocking server and ZooKeeper (for cluster membership) are optimizations for performance/stability/cost.

Re:Every time an engineer joins Google, a startup dies by strlen on Thursday February 11, 2010 @02:00PM (#1118431)
I understand this is an ironic thing for me to say, given my alias, but is UNIX (along with C and C-descended languages) the best we could do?
Re:Every time an engineer joins Google, a startup dies by peterwwillis on Thursday February 11, 2010 @02:29PM (#1118506)
For the PDP-7/11? Probably.
Re:Every time an engineer joins Google, a startup dies by strlen on Thursday February 11, 2010 @03:34PM (#1118681)
Certainly agreed, it's amazing what they've accomplished on such limited machines, just it shouldn't be held as a pinnacle of engineering or computer science (else, why would the people who built it be at working on plan9 and go?)
Re:Every time an engineer joins Google, a startup dies by jmtulloss on Thursday February 11, 2010 @04:01PM (#1118737)
The best we can do is usually not the goal. Good enough is the goal.

People look at great products and say that sentiment isn't true, but you always have to release. Take the first iPhone. When it came to feature checklists, it was embarrassed by every competitor out there. It nailed the interface though, and that was Apple's definition of "good enough". The shipped, took the industry by storm, and have since added most of those checklist features that everybody thought they needed in the first place.

Re:Every time an engineer joins Google, a startup dies by gridspy on Thursday February 11, 2010 @09:30PM (#1119548)
Every feature you add makes the menu more complex.

There comes a point where removing a feature is itself a feature.

Re:Every time an engineer joins Google, a startup dies by hello_moto on Thursday February 11, 2010 @04:09PM (#1118759)
Were they kids though? I thought they already grew beards and some might have a tiny bit of grey hair here and there...

There may be beautiful hacks in UNIX but the building principals (UNIX Philosophies) lives on and I don't think kids these days that go straight into startup even know these things.

Re:Every time an engineer joins Google, a startup dies by kvs on Thursday February 11, 2010 @09:00PM (#1119494)
Don't go into Google to learn to code. Go into Google to learn to lead. That's what you will need the most as a founder.