Live data from Hacker News

Claude Sonnet will ship in Xcode

developer.apple.com

371–380 of 418 posts

Re: Claude Sonnet will ship in Xcode

#371

Earlier quoted context omitted.

In other words, the vibe coders of this world are just redundant noobs who don't really belong on the marketplace. They've written the same bullshit CRUD app every month for the past couple of years and now they've turned to AI to speed things up

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…

> Maybe 1 hour of work. On my own it would have taken me close to a working day to figure it all out.

1. Find out how to access metadata about the node running my code (assumption: some kind of an environment variable) [1-10 minutes depending on familiarity with AWS]

2. Google "RDS certificates" and find the bundle URL after skimming the page [1] for important info [1-5 minutes]

3. Write code to download the certificate bundle, fallback being "global-bundle.pem" if step 1 failed for some reason? [5-20 minutes depending on all the bells and whistles you need]

Did I miss anything or completely misunderstand the task?

[1] https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Using...

edit: I asked Claude Sonnet 4 to write robust code for a Node.JS application that downloads RDS CA bundle for the AWS region that the code is currently running in and saves it at the supplied filesystem path.

0. It generated about 250 lines of code

1. Fallback was us-east (not global)

2. The download URLs for each region were hardcoded as KV pairs instead of being constructed dynamically

3. Half of the regions were missing

4. It wrote a function that verifies whether the certificate bundle looks valid (i.e. includes a PEM header)... but only calls it on the next application startup, instead of doing so before saving a potentially invalid certificate bundle to disk and proceeding with the application startup.

5. When I complained that half of my instances are downloading global bundles instead of regional ones (because they're not present in the hardcoded list), it:

- incorrectly concluded that not all regions have CA bundles available and hardcoded a duplicate list in 2 places containing regions that are known to offer CA bundles (which is all of them). These lists were even shorter than the last ones.

- wrote a completely unnecessary function that checks whether a regional CA bundle exists with a HEAD request before actually downloading it with a GET request, adding another 50 lines of code

Now I'm having to scrutinize 300 lines of code to make sure it's nothing doing something even more unexpected.

Re: Claude Sonnet will ship in Xcode

#372

Earlier quoted context omitted.

is this sarcasm? Teams is by far the worst ive used out of those mentioned

Yeah, if it’s not sarcasm, it’s a very good indicator that their opinion should be ignored because no one in their right mind would say Teams is better.

Teams is objectively better, but it's hard to beat the emotional connection that geeks have to Slack from its pre-Salesforce days.

Re: Claude Sonnet will ship in Xcode

#373

Earlier quoted context omitted.

Microsoft owns 49% of OpenAI so why they should worry? JetBrains just proudly announce that they now use GPT-5 by default. > going all in at the begining and then losing to the competition Sure, but there are counter examples too. Microsoft went late to the party of cloud computing. Today Azure is their main money printing machine. At some point Visual Studio seemed to be a legacy app only used for Windows-specific a…

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.

Truer words have never been spoken. Every time I hear an exec say we're a Microsoft shop so we've got to use copilot/Azure, I wonder if they hear themselves.

Re: Claude Sonnet will ship in Xcode

#375
it’s funny how much i’ve seen mods here nitpick titles, yet this one gets to slide? Not only does the title summarize one small part of this page, but it’s also a bit misleading. Models will not ship IN Xcode, Xcode can now send your code to the API.

Re: Claude Sonnet will ship in Xcode

#376
post #224

Earlier quoted context omitted.

If my experience is anything to go by - a good proportion of this will be people accidentally double clicking a .md (or other random text suffix), and cursing whilst they wait for XCode to slowly load enough that they can quit it and open the file in a proper lightweight editor..

I feel like the #1 reason to install Xcode is to get Git working on macOS. Yours is probably #2. I wouldn't bet money on iOS/macOS development sitting at #3.

Command Line Tools for Xcode is a separate smaller package than the full graphical Xcode tho: `xcode-select --install`

Re: Claude Sonnet will ship in Xcode

#379

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…

Claude is bad at embedded. Not sure why, it just is what it is for now.

Re: Claude Sonnet will ship in Xcode

#380
post #52

Earlier quoted context omitted.

Something is wrong with your laptop. That is absolutely not normal, and not something you should blame on the software design.

If you want me to blame "software design" then I can point to the fact that the TV app lags constantly on my M2 especially when I click the "download episode" button which should not ever be a thing on their native hardware, that there is a WindowsServer process that steadily eats up all the RAM that consistently needs to be quit in order to free up memory, that the headphone balance constantly resets to some random…

Seems pretty a pretty cherry picked list tbh. I could find issues like that on any OS. I suspect you just are frustrated with your particular machine, which is fine, but you were talking about it like it was a universal truth lol
Post reply on HN