Live data from Hacker News

AI teaches itself to use an API

twitter.com

91–100 of 162 posts

Re: AI teaches itself to use an API

#91
post #5

I’ve recently thought about iron man movies, where tony stark actually designs stuffs by simply talking to jarvis. I’ve always thought « if only i could have those kind of tools available, i would too be able to design crazy stuffs ». We didn’t think « damn, tony stark didn’t have to write a line of code, he got rendered obsolete by this damn AI ». That’s how i choose to think about AI tools for developers from now o…

> We didn’t think « damn, tony stark didn’t have to write a line of code, he got rendered obsolete by this damn AI »

Because it's a movie.

In reality an AI like that would be more important than all the other nonsense. But it wouldn't be fun to watch an AI easily unravel the mysteries of magic, time travel, multiverse, etc.

Re: AI teaches itself to use an API

#92
I wonder if farriers and ice deliverypeople mumbled amongst themselves about job security as much as I see devs do it these days. A lot of us are in the business of deprecating people’s careers. Hopefully the irony isn’t lost.

I feel like for the actual job lots of us do day to day, we’re ridiculously overpaid. I’m not even on a rooftop with tar and a mop! I’m enjoying it but I’m expecting the gravy train to stop eventually.

I think for my next career I’ll do something with… hmm drawing a blank. Let me ask ChatGPT.

…well… it suggested project management.

Re: AI teaches itself to use an API

#93
post #80
post #45

Earlier quoted context omitted.

>If you have a technology with practically zero marginal cost, pricing it very low and distributing it widely would maximize your profit. This is just fundamentally not true or else all software would be sold for next to nothing. If a company is choosing between selling a billion copies of its software for $1 each or two copies of its software for $1b dollars each, it will choose to set the price at $1b. The sky-high…

> This is just fundamentally not true or else all software would be sold for next to nothing. If a company is choosing between selling a billion copies of its software for $1 each or two copies of its software for $1b dollars each, it will choose to set the price at $1b. Sure, you can make up numbers and have it say whatever you want. > The sky-high potential of AGI means that a few very rich people/companies will be…

> Even if you have a monopoly, your profit maximizing quantity is determined by where marginal revenue matches marginal cost.

Yes, and we established that the marginal cost is near zero so the profit maximization strategy depends entirely on the shape of the demand curve. AGI isn’t going to have a linear demand curve because it’s value to me is not proportional to its value to a billionaire. The curve with have an exponential shape and therefore setting a higher price can potentially yield more profit than a lower price.

Re: AI teaches itself to use an API

#94
post #82

So how much longer before it can discover how to use cloud-provider APIs to (assuming you've given it a credit card number or cryptocoin wallet) get more hosting for itself?

On the other hand, what’s the point, cloud providers already have good APIs and clients for almost all languages, so what’s the use of something “interpreting” the API?

> so what’s the use of something “interpreting” the API?

Mostly to not be restricted to only ones that were known in advance and so could be hard-coded.

Re: AI teaches itself to use an API

#95
post #36

So the AI can learn to use APIs that follow perfect RESTful semantics, are fully documented and intuitively behave exactly like one would expect. Our jobs are safe.

lol!

something funny about the way I interact with ChatGPT, I basically never give a shit about correcting mistakes or bothering with good grammar because no matter what, it pretty much always understands me. and it's insanely good at solving tip-of-my-tongue type problems.

I guess maybe we should go back to SOAP to eek out a few more months of job security?

Re: AI teaches itself to use an API

#96
post #5

I’ve recently thought about iron man movies, where tony stark actually designs stuffs by simply talking to jarvis. I’ve always thought « if only i could have those kind of tools available, i would too be able to design crazy stuffs ». We didn’t think « damn, tony stark didn’t have to write a line of code, he got rendered obsolete by this damn AI ». That’s how i choose to think about AI tools for developers from now o…

[dead]

Re: AI teaches itself to use an API

#97

A little off topic but I do wish we had some more precise language for machine learning applications. When we say it "knows" something it seems to anthropomorphize it, as if it's conscious. As a start to replace "knows" maybe "infers" or "calculates"

The amount of mental gymnastics some will go through to discount a LLM performing a task it is clearly doing is amazing. People just be making up their own vague and ill defined definitions of understanding and reasoning just so an LLM won't qualify.

Re: AI teaches itself to use an API

#98
post #62

Earlier quoted context omitted.

I'm not so confident. Places that industrialized during the industrial revolution saw explosive growth as automation yielded unprecedented productivity. Factory jobs paid very well and were readily available because demand was generally high for like a century... but automation and labor passed a tipping point and now we have very few manufacturing jobs and the days of guaranteed high salaries and growth are gone. Ru…

As the need for cog-in-the-machine factory workers declined over the years, the labor force moved to industries like service, construction, transportation, and technology. My understanding is that if you could take a 2023 UPS driver or WalMart employee back in time and give them a day working at a factory in 1930 or 1970, they would eagerly return to the present. And those modern jobs exist today at such great scale…

What you call understanding is assumption. There were retail jobs back then too and a hell of a lot of people worked in those factories. Being able to raise a family in a nice house that you own, drive new cars, send your kids to college without scrimping and retire in your early 60s with a pension is a pretty compelling reason to endure difficult work environments. Meanwhile, in some states, 3% of full-time non-elderly non-disabled Walmart employees need medicaid and food stamps. Again, the amount of poverty and decay in once vibrant rust belt cities are a living argument against the assumption that everybody just sort of figures it out when large swaths of people are rendered obsolete.

Re: AI teaches itself to use an API

#99
post #21

Earlier quoted context omitted.

I just tried getting ChatGPT to interact with a command prompt on my machine. It managed to: 1. Create a directory. 2. Put a text file in it. 3. Try to move the file into a nonexistent directory. 4. Based on the error message, create the target directory and do the move again. 5. Verify that the move was successful. Then it stopped running commands and tried to have a conversation with me. It's probably only a matter…

How did you do this?

I haven't tried this with recent versions, but this was great fun early on:

https://github.com/f/awesome-chatgpt-prompts#act-as-an-ai-tr...

Re: AI teaches itself to use an API

#100
post #45
post #32

Earlier quoted context omitted.

The marginal cost of technology is pretty close to zero (albeit slightly higher for large LLM model inference) so it would make sense that the technology gets distributed widely. Kind of like how everyone has essentially the best smart phone. And it's laughable when someone tries to create a luxury smartphone for $10k and its just a sub-par Android with leather accents. If you have a technology with practically zero…

>If you have a technology with practically zero marginal cost, pricing it very low and distributing it widely would maximize your profit. This is just fundamentally not true or else all software would be sold for next to nothing. If a company is choosing between selling a billion copies of its software for $1 each or two copies of its software for $1b dollars each, it will choose to set the price at $1b. The sky-high…

> The sky-high potential of AGI means that a few very rich people/companies will be willing to pay an enormous amount of money to have a monopoly on the technology.

Companies regularly pool resources to share the cost of building technology, and they regularly do it for competitive reasons.

Kubernetes, for example, is an open source public good that splits its development costs between several companies. By sharing the runtime code as open source, the cost for any one cloud provider to build a competitive Kubernetes offering goes down. Google built it to compete with AWS’ offerings.

The edge I see these AI companies potentially having is data to train or knowledge how – not money.

Post reply on HN