Live data from Hacker News

Claude Sonnet will ship in Xcode

developer.apple.com

301–310 of 418 posts

Re: Claude Sonnet will ship in Xcode

#301
post #173

The irony of this, is that Microsoft was trying to push CoPilot everywhere, however eventually Apple, Google and JetBrains have their own AI integrations, taking CoPilot out of the loop. Slowly the AI craziness at Microsoft is taking the similar shape, of going all in at the begining and then losing to the competition, that they also had with Web (IE), mobile (Windows CE/Pocket PC/WP 7/WP 8/UWP), the BUILD sessions t…

Also OpenAI pioneered but now the many competitors seem to have either caught up or surpassed them. They might still retain a significant brand recognition advantage as long as they don't fall too far behind, though.

Which competitor has alternative to ChatGPT Pro? I have Claude subscription and Opus 4.1 is not on the same level. ChatGPT Pro thinks for 5-10 minutes, while Opus either doesn't think at all or thinks very briefly. And response quality is absolutely different. ChatGPT Pro solves problems, Opus does not. Is there any competitor with "Pro" product which spends significant amount of computing for a single query?

Re: Claude Sonnet will ship in Xcode

#302
post #166

3 days ago I saw another Claude praising submission on HN, and finally I signed up for it, to compare it with copilot. I asked 2 things. 1. Create a boilerplate Zephyr project skeleton, for Pi Pico with st7789 spi display drivers configured. It generated garbage devicetree which didn't even compile. When I pointed it out, it apologized and generated another one that didn't compile. It configured also non-existent dri…

"What am I doing wrong?" Your first prompt is testing Claude as an encyclopedia: has it somehow baked into its model weights the exactly correct skeleton for a "Zephyr project skeleton, for Pi Pico with st7789 spi display drivers configured"? Frequent LLM users will not be surprised to see it fail that. The way to solve this particular problem is to make a correct example available to it. Don't expect it to just know…

> For your second example: treat interactions with LLMs as an ongoing conversation, don't expect them to give you exactly what you want first time. Here the thing to do next is a follow-up prompt where you say "number eight looked like zero, fix that".

Personally, I treat those sort of mistakes as "misunderstandings" where I wasn't clear enough with my first prompt, so instead of adding another message (and increasing context further, making the responses worse by each message), I rewrite my first one to be clearer about that thing, and regenerate the assistant message.

Basically, if the LLM cannot one-shot it, you weren't clear enough, and if you go beyond the total of two messages, be prepared for the quality of responses to really sink fast. Even by the second assistant message, you can tell it's having an harder time keeping up with everything. Many models brag about their long contexts, but I still feel like the quality of responses to be a lot worse even once you reach 10% of the "maximum context".

Re: Claude Sonnet will ship in Xcode

#303

Earlier quoted context omitted.

FWIW, I used Gemini to write an Objective-C app for Apple Rhapsody (!) that would enumerate drivers currently loaded by the operating systems (more or less save level of difficulty as the OP, I'd say?), using the PDF manual of NextStep's DriverKit as context. It... sort of worked well? I had to have a few back-and-forth because it tried to use Objective-C features that did not exist back then (e.g. ARC), but all in a…

I remember writing obj-c naturally by hand. Before swift was even a twinkle in tim cooks eye. One of my favorite languages to program in I had a lot of fun writing ios apps back in the day it seems like

I member obj c, using it was a profound experience, it was so different from other languages I felt like an anthropologist.

Also, fun names like `makeFunctionNameInCommentLongAndDescriptiveWithNaturalLanguage:(NSLanguage *)language`

Re: Claude Sonnet will ship in Xcode

#304
post #302
post #166

Earlier quoted context omitted.

"What am I doing wrong?" Your first prompt is testing Claude as an encyclopedia: has it somehow baked into its model weights the exactly correct skeleton for a "Zephyr project skeleton, for Pi Pico with st7789 spi display drivers configured"? Frequent LLM users will not be surprised to see it fail that. The way to solve this particular problem is to make a correct example available to it. Don't expect it to just know…

> For your second example: treat interactions with LLMs as an ongoing conversation, don't expect them to give you exactly what you want first time. Here the thing to do next is a follow-up prompt where you say "number eight looked like zero, fix that". Personally, I treat those sort of mistakes as "misunderstandings" where I wasn't clear enough with my first prompt, so instead of adding another message (and increasin…

You also need to state your background somehow and at what level you want the answer to be. I often found LLM would give answer that what I ask is too complex and would take months to do. Then you have to say like ignore these constraints and assume I am already an expert in the field, outline a plan how to achieve this and that. Then drill down on the plan points. It's a bit of work, but its fascinating.

Or it would say to do X it involves very complex math, instead you could (and proceeds with stripped down solution that doesn't meet goals). So you can tell it to ignore the concerns about complexity and assume that I understand all of it and it is easy to me. Then it goes on creating the solution that actually has legs. But you need to refine it further.

Re: Claude Sonnet will ship in Xcode

#305
post #267

Still shocked Apple has not created thier own LLM, they have bought so many AI companies and have a rich talent pool and money so what's stopping them ?

Terrible, terrible leadership at the top of the AI org. Plus a fundamental commitment to being a 'product first' company.

This same commitment would be why I wouldn't count them out on the AI side, btw. It's not clear that a private internal foundation model is any kind of required competitive moat. It's also not clear that having one is useless, and all the cool kids do have one or want one, but from a product view it might be that integrating makes sense.

Llama 4 (a terrible release) shows also that making such a model is still really hard. There are not enough ML leads at the pointy tip of the spear to support even 10 high quality foundation model teams globally.

If you have billions of dollars in cash and you are secure in your customer base, and you don't believe AGI liftoff will happen or change your business model, maybe you work out the kinks on product integration now using best in breed providers, not getting locked in on one of them, keep spending 1/10 to 1/100th to stay relevant and on it internally, use your incredibly powerful silicon buying power to get a next gen version of TPUs done, and wait until you know for sure you can spend under $10bn in cash on getting a great proprietary model done, one that you are certain will serve your needs.

Also this will give you time to get better leadership in the AI org.

Upshot - I think it's a mix of reasons, but not fatal, I'm not sure being slow erodes their product customer base, personally I'd like much better and more private AI out of Apple ASAP. We'll see what we get. I predict they'll move internal by 2031.

Re: Claude Sonnet will ship in Xcode

#306
post #262

3 days ago I saw another Claude praising submission on HN, and finally I signed up for it, to compare it with copilot. I asked 2 things. 1. Create a boilerplate Zephyr project skeleton, for Pi Pico with st7789 spi display drivers configured. It generated garbage devicetree which didn't even compile. When I pointed it out, it apologized and generated another one that didn't compile. It configured also non-existent dri…

> What am I doing wrong? Or is this really the state of the art? You're treating the tool like it was an oracle. The correct way is to treat it as a somewhat autistic junior dev: give it examples and process to follow, tell it to search the web, read the docs, how to execute tests. Especially important is either directly linking or just copy pasting any and all relevant documentation. The tool has a lossily compresse…

> The correct way is to treat it as a somewhat autistic junior dev: give it examples and process to follow, tell it to search the web, read the docs, how to execute tests. Especially important is either directly linking or just copy pasting any and all relevant documentation.

Like "Translate this pdf to html using X as a templating language". It shines at stuff like that.

As a dev, I encounter tons of one-off scenarios like this.

Re: Claude Sonnet will ship in Xcode

#307
post #174

3 days ago I saw another Claude praising submission on HN, and finally I signed up for it, to compare it with copilot. I asked 2 things. 1. Create a boilerplate Zephyr project skeleton, for Pi Pico with st7789 spi display drivers configured. It generated garbage devicetree which didn't even compile. When I pointed it out, it apologized and generated another one that didn't compile. It configured also non-existent dri…

I managed to get most AIs to generate C# code when I ask for Java stuff, so it is always a kind of template generator that still isn't quite there.

That's interesting. I use it mainly for C# and Javascript/Frontend stuff.

I wonder if it's because there are maybe millions of MSDN articles, but I don't know if a Java analog to MSDN exists.

Re: Claude Sonnet will ship in Xcode

#308

Earlier quoted context omitted.

Last week I asked Claude to improve a piece of code that downloads all AWS RDS certificates to just the ones needed for that AWS region. It figured out several ways to determine the correct region, made a nice tradeoff and suggested the most reliable way. It rewrote the logic to download the right set, did some research to figure out the right endpoint in between. It only made one mistake, it fallback mechanism was p…

This is just a thought experiment. I don't mean to be treading on feet but I'm noticing this more and more in the debates around AI. Imagine if there are developers out there that could have done this task in 30 mins without AI. The level of performanace of AI solutions is heavily related to the experience level of the developer and of the problem space being tackled - as this thread points out. Unfortunately the mar…

There are two ways to do this. One is to one-shot or maybe few-shot a solution. Maybe this works. Maybe it doesn't. Sometimes it works if you copy a solution from [Product 1] to [Product 2] and say "Fix this."

The other is to look at the non-working solution you get, read through it, and think "Oh, I didn't know about that framework/system/product/library, that's neat" and then do some combination of further research and more hand-holding to get to something that does work.

This is useful, more or less, no matter what your level.

It's also good for explaining core industry tooling you've maybe never used before. If you're new to Postgres/NoSQL/AWS/Docker/SwiftUI/whatever it can talk you through it and give you an instant bootcamp with entry-level examples and decent solutions.

And for providing fixes for widely known bugs and issues in products that may not be widely known to you (yet.)

IME ChatGPT5 is pretty solid with most science/tech up to undergrad. It gets hallucinatory past that, and it's still flattering, which is annoying, but you can tell it to cut that out.

Generally you can use it as a dumb offshore developer, or as an infinitely patient private tutor.

That latter option is very useful. The first, not always.

Re: Claude Sonnet will ship in Xcode

#309

Earlier quoted context omitted.

Anecdotally: Azure is the Teams of cloud services - nobody uses it voluntarily or because it's technically the best solution. They use it because the corporation mandates it.

I’ve used Meet, Slack, Zoom and Teams extensively. Teams beats the others by miles in my opinion.

Zoom is pretty good for video meetings and especially for video conferences. I've never tried to use it for chat, but I imagine it's pretty lackluster. The really nice thing about teams is that it does both in one place.

But you know what's super underrated and I think could really take a hold on the business world? Discord! The video calls are so good! And multiple streams at the same time? Zoom can't do that!

The channels, too, just blow everything teams has out of the water. The video quality is better, its way faster, has more features, and they actually work. The audio filtering stuff actually works.

I really think with the right marketing they could take over the world. Honestly can't believe they haven't tried it yet.

Re: Claude Sonnet will ship in Xcode

#310
post #173

The irony of this, is that Microsoft was trying to push CoPilot everywhere, however eventually Apple, Google and JetBrains have their own AI integrations, taking CoPilot out of the loop. Slowly the AI craziness at Microsoft is taking the similar shape, of going all in at the begining and then losing to the competition, that they also had with Web (IE), mobile (Windows CE/Pocket PC/WP 7/WP 8/UWP), the BUILD sessions t…

What confuses me about MS Copilot is that there are (according to ChatGPT) 12 distinct services that are all Copilot: Microsoft Copilot (formerly Bing Chat) Microsoft 365 Copilot Microsoft Copilot Studio GitHub Copilot Microsoft Security Copilot Copilot for Azure Copilot for Service Sales Copilot Copilot for Data & Analytics (Fabric) Copilot Pro Copilot Vision

Out of all of big tech, Microsoft is by far the worst at naming stuff. Its comically bad most of the time.
Post reply on HN