News for hackers. Stuff that matters.
Re:Google CEO says more than a quarter of the company's new ... by remus on Thursday October 31, 2024 @03:41AM (#42004322)
"tab completion good enough to write 25% of code" feels like a pretty good hit rate to me! Especially when you consider that a good chink of the other 75% is going to be the complex, detailed stuff where you probably want someone thinking about it fairly carefully.
Re:Google CEO says more than a quarter of the company's new ... by Maxion on Thursday October 31, 2024 @03:43AM (#42004332)
For me it's really goddam satisfying having good autocomplete, especially when you are just writing boilerplate lines of code to get the code into a state where you actually get to work on the fun stuff (ther harder problems).
Re:Google CEO says more than a quarter of the company's new ... by amelius on Thursday October 31, 2024 @03:56AM (#42004396)
Also if your code gets sent to someone else's cloud?
Re:Google CEO says more than a quarter of the company's new ... by mewpmewp2 on Thursday October 31, 2024 @04:19AM (#42004527)
Have you ever had your code repository hosted by Github, Bitbucket, Gitlab or similar?

If so, all your code is sent to cloud.

Re:Google CEO says more than a quarter of the company's new ... by amelius on Thursday October 31, 2024 @07:29AM (#42005709)
Answer: yes, some code. But other code I and my company like to keep private.
Re:Google CEO says more than a quarter of the company's new ... by mewpmewp2 on Thursday October 31, 2024 @07:44AM (#42005824)
Where exactly is the repo hosted if there is one?
Re:Google CEO says more than a quarter of the company's new ... by _heimdall on Thursday October 31, 2024 @08:47AM (#42006362)
There are alternatives out there for self-hosted git. I have a Gitea instance running on a mini PC at home for my own projects.
Re:Google CEO says more than a quarter of the company's new ... by mewpmewp2 on Thursday October 31, 2024 @10:53AM (#42007539)
Do you have backups of that as well? If something were to happen to your mini pc would you lose your code?
Re:Google CEO says more than a quarter of the company's new ... by _heimdall on Thursday October 31, 2024 @02:29PM (#42009902)
Great question, yeah I do. Right now it backs up to a separate NAS on my home network. Every once in a while I'll copy the most important directories onto a microSD card backup, but its usually going to be at least a few weeks out of date.
Re:Google CEO says more than a quarter of the company's new ... by amelius on Thursday October 31, 2024 @08:59AM (#42006476)
Own servers.
Re:Google CEO says more than a quarter of the company's new ... by mewpmewp2 on Thursday October 31, 2024 @10:53AM (#42007529)
Do they manage their own servers? I wonder what proportion of companies would have in house servers managed by themselves.
Re:Google CEO says more than a quarter of the company's new ... by amelius on Thursday October 31, 2024 @01:04PM (#42008804)
They are colocated in a data center and you need physical keys to access the rack.
Re:Google CEO says more than a quarter of the company's new ... by cesarb on Thursday October 31, 2024 @09:19AM (#42006627)
It's common for companies to have something like self-hosted GitHub Enterprise or self-hosted GitLab hidden behind the company's VPN.
Re:Google CEO says more than a quarter of the company's new ... by mewpmewp2 on Thursday October 31, 2024 @10:52AM (#42007523)
But where is the box where it's hosted? Is it in-house?
Re:Google CEO says more than a quarter of the company's new ... by red_admiral on Thursday October 31, 2024 @07:41AM (#42005792)
Internally hosted gitlab instances are a thing.
Re:Google CEO says more than a quarter of the company's new ... by mewpmewp2 on Thursday October 31, 2024 @07:44AM (#42005819)
They are, but frequently the boxes where they are hosted are in AWS or similar. Or do frequently companies have actual in house servers for this purpose?
Re:Google CEO says more than a quarter of the company's new ... by red_admiral on Thursday October 31, 2024 @12:20PM (#42008391)
Not in house, but in a "segmented" part of the cloud that comes with service level agreements and access control and restrictions on which countries the data can be hosted in and compliance procedures etc. etc.

An extreme example of this would be the AWS GovCloud for government/military applications.

Re:Google CEO says more than a quarter of the company's new ... by infecto on Thursday October 31, 2024 @08:08AM (#42006009)
I don't care. The vast majority of code written in the private space is garbage and not unique. Products are usually not won because of the code.

Would I send the source of a trading algo or chatgpt to a third party, probably not but those are the outliers. The code for your xyz SAAS does not matter.

I am probably an outlier in that I don't really care what corpus a LLM trains off of. Its its available in the public space, go for it.

Re:Google CEO says more than a quarter of the company's new ... by rantallion on Thursday October 31, 2024 @04:32AM (#42004596)
The problem being that the time spent fixing the bugs in that 25% outweighs the time saved. Now that tools like Copilot are being widely used, studies are showing that they do not in fact boost productivity. All claims to the contrary seem to be either anecdotal or marketing fluff.

https://www.techspot.com/news/104945-ai-coding-assistants-do...

Re:Google CEO says more than a quarter of the company's new ... by red_admiral on Thursday October 31, 2024 @07:38AM (#42005771)
As far as I know, LLMs are a genuine boost for junior developers, but still not close to what senior/principal engineers get up to.
Re:Google CEO says more than a quarter of the company's new ... by _heimdall on Thursday October 31, 2024 @08:44AM (#42006334)
It'd be interesting to know how much of Google's code is written by junior engineers. I can't imagine 25% of the code is from juniors, at which point Google's CEO is either exaggerating what he considers LLM-generated code or more than just juniors are using it.

I agree with your take though, it does seem helpful to juniors but not beyond that (yet), and this OP stat seems dubious unless juniors are doing a big portion of the work.

Re:Google CEO says more than a quarter of the company's new ... by makestuff on Thursday October 31, 2024 @09:25AM (#42006676)
I have around 7 YOE, and I have found LLMs useful for very specific questions about syntax whenever I am working in a new language. For example, I needed to write some typescript recently and asked it how can I make a type that does X.

It is not as good with questions about API documentation for popular java libraries though and it will just hallucinate APIs/method names.

If I ask it a generic question like "how can I create a class in Java to invoke this API and store the data in this database" it is pretty useless. I'm sure I could spend more time giving it a better prompt but at that point I can just write the code myself.

Overall they are a better search engine for stackoverflow, but the LLMs are not really helping me code 30% faster or whatever the latest claim is.

Re:Google CEO says more than a quarter of the company's new ... by pawelmurias on Thursday October 31, 2024 @06:45AM (#42005430)
The AI tap complition is >100000% better than the coding assistants, it just saves you typing and doesn't introduce new bugs you need to fix instead of writting buggy shitty code from a text description.
Re:Google CEO says more than a quarter of the company's new ... by keybored on Thursday October 31, 2024 @06:30AM (#42005348)
25% is a great win if you are prone to RSI. And for quicker feedback. But in terms of the overarching programming goal? Churning out code is a small part of it.

Code is often a liability.

Re:Google CEO says more than a quarter of the company's new ... by red_admiral on Thursday October 31, 2024 @07:37AM (#42005762)
"rm re[TAB]" to remove a file called something like "report-accounting-Q1_2024.docx" is really helpful, especially when it adds quotes as required, but not exciting enough to get me out of bed any earlier in the morning.

I feel it's a bit like the old "measuring developer productivity in LoC" metric.

As I hinted at in another comment, in Java if you had a "private String name;" then the following:

    /**
     * Returns the name.
     * @return The name.
     */
    public String getName() {
        return this.name;
    }
and the matching setter, are easy enough to generate automatically and you don't need a LLM for it. If AI can do that part of coding a bit better, sure it's helpful in a way, but I'm not worried about my job just yet (or rather, I'm more worried about the state of the economy and other factors).