Live data from Hacker News

GitHub cuts AI deals with Google, Anthropic

bloomberg.com

651–660 of 742 posts

Re: GitHub cuts AI deals with Google, Anthropic

#651

Earlier quoted context omitted.

You. Can. Write. Tests.

How do you write a test for code clarity / readability / maintainability?

If the code is a generated artefact and conforms to the test cases, who cares?

What maintenance is required when the codebase is regenerated from scratch on each build?

Re: GitHub cuts AI deals with Google, Anthropic

#652
post #634

Earlier quoted context omitted.

How is that different to a human reading your code and building up their experience? Is reading code now also covered by a license? It does not reproduce your code 1:1.

As soon as something can be automated, people start acting irrationally upset, especially if the thing is seen as even remotely "creative". Those people are going to have a bad time moving forward.

[deleted]

Re: GitHub cuts AI deals with Google, Anthropic

#653

Earlier quoted context omitted.

> The more time I spend in a codebase the better idea I have of what the writer was trying to do. This whole thing of using LLMs to Code reminds me a bit of when Google Translate came out and became popular, right around the time I started studying Russian. Yes, copying and pasting a block of Russian text produced a block of english text that you could get a general idea of what was happening. But translating from en…

Coding isn't the hard part. The hard part is translating the business needs in code. You can tell a junior programmer "Make a DB with tables book, author, has Written, customer, stock, hasBought, with the following rules between them. Write a repository, for that DB. Use repository in BooksService and BasketService. Use those services in Books controller and Basket controller." and he will do a fine job. Ask the juni…

This.

I write in Clojure and "coding" is perhaps 10% of what I do? There is very little "plumbing", or boilerplate, most of the code directly addresses the business domain. "AI" won't help me with that.

Re: GitHub cuts AI deals with Google, Anthropic

#654
post #634

Earlier quoted context omitted.

How is that different to a human reading your code and building up their experience? Is reading code now also covered by a license? It does not reproduce your code 1:1.

As soon as something can be automated, people start acting irrationally upset, especially if the thing is seen as even remotely "creative". Those people are going to have a bad time moving forward.

I don't see this being raised as an automation issue. The GP comment is concerned with their work, including licensed code, being used by Microsoft to train LLM models without any kind of agreement or even compensation.

There isn't clear legal precedent yet whether training models is an acceptable use of licensed work, but it has nothing to do with automation.

Re: GitHub cuts AI deals with Google, Anthropic

#656

Earlier quoted context omitted.

I'm pretty sure that to upload your code to GitHub, you have to agree to their terms of service, which potentially give them all sorts of rights to your code. This creates a special relationship between you and GitHub that is separate from the license you assign to your project.

I'm curious: Suppose I upload some code to GitHub, but I didn't have the authority to share it with anyone at all. And then it was used to train DL models. How would various jurisdictions handle that? Would any of them force the deletion of all resulting model weights? And how might the remedies differ based on the kind of data? E.g., copyright vs. trade secret vs. protected medical info vs. military secrets?

Not a lawyer, but I would expect you to be the one on the hook there as you shared code without permission and likely lied when agreeing to GitHub's T&Cs.

Microsoft wouldn't be able to pull that code out of already trained and, given that MS didn't do anything illegal when they used code that you said was yours to share, I wouldn't expect them to liable at all. That means MS wouldn't likely be fined, nor would they have to eat the costs of removing the models entirely.

If it were that easy to ruin anyone's model after it was trained no one would be able to make one at all. The training sets used to date almost certainly contain legally questionable content, and anyone interested in stopping GitHub (for example) would just pepper repos with content that violates licenses.

Re: GitHub cuts AI deals with Google, Anthropic

#657

Earlier quoted context omitted.

Reading this comment is like listening to Tesla in 2014 tell me about how their cars will be driving themselves. Give it 10 years.

Tesla gave out free trials of their self driving upgrade this month. I didn't buy it initially because of the grandiose claims that never seemed to materialize, but I've actually been pretty impressed with the trial. I still don't think it's worth it, but my Model Y has driven itself (with my close supervision of course) to a number of destinations I've keyed into the navigation, without me having to intervene. There…

Let me guess, you're in the US along one of the hardcoded routes?

Re: GitHub cuts AI deals with Google, Anthropic

#658
post #634

Earlier quoted context omitted.

How is that different to a human reading your code and building up their experience? Is reading code now also covered by a license? It does not reproduce your code 1:1.

As soon as something can be automated, people start acting irrationally upset, especially if the thing is seen as even remotely "creative". Those people are going to have a bad time moving forward.

[deleted]

Re: GitHub cuts AI deals with Google, Anthropic

#659
post #221

I use cursor and its tab completion; while what it can do is mind blowing, in practice I’m not noticing a productivity boost. I find that ai can help significantly with doing plumbing, but it has no problems with connecting the pipes wrong. I need to double and triple check the updated code - or fix the resulting errors when I don’t do that. So: boilerplate and outer app layers, yes; architecture and core libraries,…

Zed AI is much better than cursor I've found.

In what way exactly? I wish Zed was better here but it's at about the same level as the current nvim plugins avail. As far as I can tell it's just a UI for adding context.

Re: GitHub cuts AI deals with Google, Anthropic

#660
post #221

I use cursor and its tab completion; while what it can do is mind blowing, in practice I’m not noticing a productivity boost. I find that ai can help significantly with doing plumbing, but it has no problems with connecting the pipes wrong. I need to double and triple check the updated code - or fix the resulting errors when I don’t do that. So: boilerplate and outer app layers, yes; architecture and core libraries,…

I'm actually very curious why AI use is such a bi-modal experience. I've used AI to move multi thousand line codebases between languages. I've created new apps from scratch with it. My theory is the willingness to baby sit and the modality. I'm perfectly fine telling the tool I use its errors and working side by side with it like it was another person. At the end of the day it can belt out lines of code faster than I…

+++1

THIS!

exactly my style of working and how i think about that: i've also not enabled/installed CoPilot or similar, just AutoSuggestion by default in VS.NET But i use LLM heavily to get rid off all the exhausting tasks, and to generate ideas what to improve in some larger code blocks so i dont have to rewrite/refactor it on my own.

It boosts my productivity by 10x at least.

Post reply on HN