Live data from Hacker News

Google CEO says more than a quarter of the company's new code is created by AI

businessinsider.com

521–530 of 1001 posts

Re: Google CEO says more than a quarter of the company's new code is created by AI

#521

I work for Google, and I just got done with my work day. I was just writing I guess what you'd call "AI generated code." But the code completion engine is basically just good at finishing the lines I'm writing. If I'm writing "function getAc..." it's smart enough to complete to "function getActionHandler()", and maybe suggest the correct arguments and a decent jsdoc comment. So basically, it's a helpful productivity…

Kerry said hi

Re: Google CEO says more than a quarter of the company's new code is created by AI

#522

I work for Google, and I just got done with my work day. I was just writing I guess what you'd call "AI generated code." But the code completion engine is basically just good at finishing the lines I'm writing. If I'm writing "function getAc..." it's smart enough to complete to "function getActionHandler()", and maybe suggest the correct arguments and a decent jsdoc comment. So basically, it's a helpful productivity…

This is a great anecdote. SOTA models will not provide “engineering” per se, but they will easily double productivity of a product manager that is exploring new product ideas or technologies. They are much more than intelligent auto-complete. I have done more with side projects in the last year than I did in the preceding decade.

Re: Google CEO says more than a quarter of the company's new code is created by AI

#523

I work for Google, and I just got done with my work day. I was just writing I guess what you'd call "AI generated code." But the code completion engine is basically just good at finishing the lines I'm writing. If I'm writing "function getAc..." it's smart enough to complete to "function getActionHandler()", and maybe suggest the correct arguments and a decent jsdoc comment. So basically, it's a helpful productivity…

[dead]

Re: Google CEO says more than a quarter of the company's new code is created by AI

#524

In Google, there is a process called "Large Scale Change" which is primarily meant for trivial/safe but extremely tedious code changes that potentially span over the entire monorepo. Such as foundational API changes, trivial optimization, code style etc etc. This is a perfectly suitable for LLM driven code changes (in fact I'm seeing more and more of LLM generated LSC) and I guess a large fraction of mentioned "AI ge…

yeh, but the main problem is the quality. with algorithm bug can be fixed. with llm it's more complicated. in practice they do some mistakes consistently, and in some cases cannot recover even with assistance. (don't take me wrong, I'm very happy with the results most of the time)

Re: Google CEO says more than a quarter of the company's new code is created by AI

#525
post #368

Earlier quoted context omitted.

What about (c) the human doesn't realize the LLM-generated code is flawed, and accepts it?

I mean what happens when a human doesn't realize the human generated code is wrong and accepts the PR and it becomes part of the corpus of 'safe' code?

Presumably someone will notice the bug in both of these scenarios at some point and it will no longer be treated as safe.

Re: Google CEO says more than a quarter of the company's new code is created by AI

#526

I work for Google, and I just got done with my work day. I was just writing I guess what you'd call "AI generated code." But the code completion engine is basically just good at finishing the lines I'm writing. If I'm writing "function getAc..." it's smart enough to complete to "function getActionHandler()", and maybe suggest the correct arguments and a decent jsdoc comment. So basically, it's a helpful productivity…

So more or less on par with continue.dev using a local starcoder2:3b model

Re: Google CEO says more than a quarter of the company's new code is created by AI

#527

Earlier quoted context omitted.

To err is human. To err at scale is AI.

To err at scale isn't unique to AI. We don't say "no software, it can err at scale".

It is by will alone that I set my mind in motion.

It is by the juice of Sapho that thoughts acquire speed, the lips become stained, the stains become a warning...

Re: Google CEO says more than a quarter of the company's new code is created by AI

#528

I work for Google, and I just got done with my work day. I was just writing I guess what you'd call "AI generated code." But the code completion engine is basically just good at finishing the lines I'm writing. If I'm writing "function getAc..." it's smart enough to complete to "function getActionHandler()", and maybe suggest the correct arguments and a decent jsdoc comment. So basically, it's a helpful productivity…

Do people find these AI auto complete things helpful? I was trying the XCode one and it kept suggesting API calls that don't exist. I spent more time fixing its errors than I would have spent typing the correct API call.

Re: Google CEO says more than a quarter of the company's new code is created by AI

#529

I work for Google, and I just got done with my work day. I was just writing I guess what you'd call "AI generated code." But the code completion engine is basically just good at finishing the lines I'm writing. If I'm writing "function getAc..." it's smart enough to complete to "function getActionHandler()", and maybe suggest the correct arguments and a decent jsdoc comment. So basically, it's a helpful productivity…

Does it make you 25% more productive?

Between the fraction of my time I spend actually writing code, and how much of the typing time I’m using to think anyway, I dunno how much of an increase in my overall productivity could realistically be achieved by something that just helped me type the code in faster. Probably not 25% no matter how fast it made that part. 5% is maybe possible, for something that made that part like 2-3x faster, but much more than that and it’d run up against a wall and stop speeding things up.

Re: Google CEO says more than a quarter of the company's new code is created by AI

#530
post #305

Earlier quoted context omitted.

> just make search engines look for text in webpages. Google’s verbatim search option roughly does that for me (plus an ad blocker that removes ads from the results page). I have it activated by default as a search shortcut. (To activate it, one can add “tbs=li:1” as a query parameter to the Google search URL.)

> ?tbs=li:1 Thank you, this is almost life-alteringly good to know.

Funny, I can’t even test this because I’d need to know another neat trick to get my browser to let me actually edit the URL.

Seems that Firefox on mobile allows editing the url for most pages, but on google search results pages, the url bar magically turns into a did-you-mean alternate search selector where I cannot see nor edit a url. Surprised but not surprised.

Sure, there’s a work around for this too, somehow. But I don’t want to spend my life collecting and constantly updating a huge list of temporary hacks to fix things that others have intentionally broken.

Post reply on HN