Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Claude Code now reads AGENTS.md if there is no Claude.md(claude.com ↗)
    133comments
  2. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    184comments
  3. Saving another 100TB of RAM(cloudflare.com ↗)
    33comments
  4. Cloudflare Quick Tunnels(cloudflare.com ↗)
    218comments
  5. Xcode 27.1 Beta Release Notes(developer.apple.com ↗)
    58comments
  6. Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)(arxiv.org ↗)
    11comments
  7. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    44comments
  8. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    71comments
  9. How to Write with an LLM(sockpuppet.org ↗)
    241comments
  10. US troop deaths during Iran war exceed Pentagon count by at least four(reuters.com ↗)
    15comments
  11. OpenJev(openjev.com ↗)
    237comments
  12. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    35comments
  13. The Implications of Linguistic Illegibility for LLM Security(arxiv.org ↗)
    17comments
  14. Two parallel neural ectoderm progenitors contribute to the developing brain(newscientist.com ↗)
    51comments
  15. Cyclomatic Complexity in C#(ndepend.com ↗)
    9comments
  16. From Geometry to Algebra and Back Again: 4000 Years of Papers (2023) [video](youtube.com ↗)
    discuss
  17. C++26: Trivial infinite loops are no longer undefined behaviour(sandordargo.com ↗)
    167comments
  18. Minimal Phone 2(minimalcompany.com ↗)
    146comments
  19. How SpaceX streamlined the Raptor engine(construction-physics.com ↗)
    24comments
  20. Warez: The Infrastructure and Aesthetics of Piracy (2021)(archive.org ↗)
    12comments
  21. Size-Specialized Memory Allocation(go.dev ↗)
    3comments
  22. Inside ZCode: Silently uploading your Git history to the cloud(ferstar.org ↗)
    89comments
  23. I vibed a proof of Conway's conjecture(overreacted.io ↗)
    174comments
  24. A search-and-inference database from scratch in pure Zig(antfly.io ↗)
    16comments
  25. Korea raises data breach fines to 10% of revenue(koreajoongangdaily.com ↗)
    71comments
  26. Cekura (YC F24) Is Hiring(ycombinator.com ↗)
    discuss
  27. Mathematicians Build Long-Awaited Graph Sandwich(quantamagazine.org ↗)
    15comments
  28. US Military had close call after using AI for hallucinated intelligence report(cnn.com ↗)
    280comments
  29. Border agents can search cellphones without a warrant or reasonable suspicion(lawandcrime.com ↗)
    135comments
  30. North Korean nuclear test sets off years of earthquakes(science.org ↗)
    148comments

Xcode 27.1 Beta Release Notes

102 pointsby 4h agodeveloper.apple.com
58 comments
3h agoHN ↗

I'm just gonna ignore this thing and continue as if it never existed. Worked with Vision Pro that no body uses and will work with this.

3h agoHN ↗

taking the Apple strategy with the Apple ecosystem, genius

3h agoHN ↗

I'm not fangirling over it, but comparing it to Vision Pro is ridiculous.

2h agoHN ↗

But will you gain anything by building for it? Will you see noticeably more users or people choosing another alternative because you didn't specifically building the app for Duo? At least if it doesn't outright break.

2h agoHN ↗

But will you gain anything by building for it?

Nothing ventured, nothing gained.

Will you see noticeably more users or people choosing another alternative because you didn't specifically building the app for Duo?

I haven't done iOS development in a long time, but my understanding is that if your iPhone app is designed well and uses all of Apple's recommended methods, adjusting for different screen sizes and orientations is fairly easy.

If you decided to go cheap/easy/dumb from the outset, then you made your bed, and now you get to lie in it.

2h agoHN ↗

I would get a little bit of joy if a duo user noticed the effort I put into making my app work well on their device. Why put effort into anything? Your take is bordering dangerously on cynicism. :)

2h agoHN ↗

Duo users also likely have disposable income to spend on in app purchases, maybe click on ads to purchase things, and other monetization. So I do think it's worth building for it.

2h agoHN ↗

As a user, this attitude makes me sad.

As a professional programmer, it at least gratifies me to know this is the attitude I'm competing against.

1h agoHN ↗

You could say this about every QoL feature though. That’s not a reason to not do it though, it adds up and at some point other apps that do bother to make their apps as good as possible will become more popular than yours.

25m agoHN ↗

Can two people use opposite sides while in tent mode? Because that makes for some fun in-person games.

2h agoHN ↗

It is exotic, and bring only a little to the table for a stiff price increase.

35m agoHN ↗

Not really. It's an iPad + iPhone. That's hardly exotic. Both of those product categories sell very well. People who own an iPad mini and an iPhone have every reason to consider this for the merged cost.

3h agoHN ↗

I had the 1st-gen Vision Pro, and then sold it.

I really wanted to use it as my primary computing display, but as is almost always the case with Apple, the amazing hardware was hamstrung by the crippled OS.

Even just being able to use it as a generic display i.e. with a Nintendo Switch would have been amazing.

3h agoHN ↗

It is indeed a niche product. Its price reflects the sales expectations of Apple.

But its form factor has been validated for almost a decade now from other manufacturers. So iPhone Duo will do fine. It will not surpass a slab iPhone but fine.

Vision Pro was a completely new beast, the hardware was not there, the market was not there.

3h agoHN ↗

The price, hardware, and market was not there for the Vision Pro. There was no reason to buy a VR headset that couldn’t play games.

3h agoHN ↗

Its price reflects the sales expectations of Apple.

People famously said that of the first iPhone, expensive at the time.

Then about the $1k iPhone X.

Apple have made phones a fashion accessory and status symbol. I won’t be surprised if the Duo sells extreme well, even by iPhone standards.

2h agoHN ↗

My only concern is that they'll sell out so quickly for so long that I'll have to wait for the iPhone Duo Two-o because they won't be easy to get until like May 2027.

2h agoHN ↗

It is indeed a niche product.

It's worth noting that "niche" in this case means ~10M in its first year, comparted to an estimated 250M Apple smartphone shipments in 2027. So far, Apple has sold ~600K Vision Pro in total.

Also, supporting Duo is not an enormous lift if you're already supporting resizable windows, as developers are required to do for OS 27.

2h agoHN ↗

The form factor of Vision Pro has also been validated for a decade from other manufacturers.

And that means nothing. Because other manufacturers are not doing well either.

1h agoHN ↗

Yeah the market had shown that anything bulkier/heavier than a pair of regular glasses is not acceptable. Not sure why apple released it unless it is a glorified dev kit that would allow devs imagine a use case for a product that is 10 years away.

2h agoHN ↗

I know exactly one person who has a foldable phone and I live in sf. I’ve never even considered getting one and I like new tech.

I’m not doubting that there’s demand for it but I wonder who/where?

2h agoHN ↗

I’m not doubting that there’s demand for it but I wonder who/where?

I spend a lot of time in hospitals, and I see doctors with them.

That may also explain why Apple isn't too worried about the price.

3h agoHN ↗

Developer here. Apple often rejects app submissions if the app doesn't look optimized for some iPhone device or iPad device. So won't be surprised if they reject new apps and updates for not being optimized for the Duo. This could be their way of getting developers to comply.

2h agoHN ↗

That seems like a tough road. They've never been able to enforce that iPhone app makers build an iPad-compatible version or vice versa, and this looks exactly like that scenario.

2h agoHN ↗

It's mostly enforced, the only exception being apps with a legitimate iPhone-only hardware dependency.

iPhone apps must function on iPad in iPhone-compatibility mode, apps must support window resizability as of OS 27, and apps can't detect iPad and refuse to run. And I don't think this is new, but setting the target to iPhone-only doesn't prevent iPhone apps from running on iPad.

3h agoHN ↗

It really feels quite irrelevant. Also, the amount of work to support this with zero support from Apple since WWDC is just absurd. And even if one does the work, Apple will just sherlock the cool features into their apps.

2h agoHN ↗

Why does it feel irrelevant? And what kind of support should Apple be providing beyond releasing Xcode and an iPhone Duo simulator?

2h agoHN ↗

And when did Apple decide to grace us with tools to support the Duo? Yeah, 3 hours ago. This should've been out in June so they can also get the feedback about all the silly design choices the Duo brings (and the bugs in that simulator). Too bad I can't just send them an invoice for all the wasted time.

1h agoHN ↗

Honestly if they were really serious about this they would have released this back in December. Shame. Steve Jobs is rolling in his grave!!

2h agoHN ↗

What is your point? That they eventually released something? The simulator came out today... on Friday afternoon lol

2h agoHN ↗

I don't understand what you mean by "eventually" when you can't even pre-order it yet.

2h agoHN ↗

I presume this Xcode 27.1 beta will not want to launch on our Mavericks Forever, the last Mac OS we actually like and use.

2h agoHN ↗

I think this is my main hesitation with picking up the Duo on the first release. I have no doubt the build quality is exceptional, but the chance that the apps I use are not well optimized for this new form factor is pretty high in the first year of its release.

I don't think they won't work, but I anticipate oddities to appear for a while, especially for older applications.

2h agoHN ↗

I’m not sure about this, we already support resizing on our app for a while now because of our iPad/mac catalyst version, so I fail to see how different it would be on the Duo.

I assume other apps will have have the same, since our team is super small compared to everyone else.

2h agoHN ↗

The small screen is so small they had to move controls to the right, I would expect glitches because of that, especially for custom controls.

1h agoHN ↗

Apps not rebuilt with the latest SDK will display in pillar-boxes mode, centred on the screen.

22m agoHN ↗

This is my feeling too. It looks great - I think I might pick one up. But I’m going to give apple a few years to iron out the bugs first. Version 3 of the duo will be a much better product than version 1.

2h agoHN ↗

Waiting for my coding agent to have zero idea what I mean when I say build for iPhone duo (due to knowledge cutoffs in pre-training; happened when Liquid Glass came out previously).

1h agoHN ↗

I coincidentally asked Gemini a question about the iPhone Duo a few hours ago and, while it seemed to understand that it's a folding phone, it confidently hallucinated that in "tent" pose, there would be a display visible from both sides. In reality, only one side in this pose is the display, the other side is just back glass with the large cameras.

2h agoHN ↗

Finally! So we have a little over a month between getting the simulator and first customers running our apps in Duo.

I expect that most apps will look rather broken on release, but it will be smoothed out eventually.

2h agoHN ↗

I expect that most apps will look rather broken on release, but it will be smoothed out eventually.

Sadly, many apps will continue to look rather broken.

There are still thousands of apps that still look wrong on iPad 16 years after its release, even with the 2x button pushed, for no good reason.

I think I heard that Instygram only recently figured it out.

2h agoHN ↗

Instagram released a Reels-first iPad app that is much, much worse than the old iPhone-on-iPad app.

1h agoHN ↗

They finally released the full experience a few months back. I think their original excuse (years ago) was that 'people take photos on iPhone so iPad is unnecessary for Instagram'.

2h agoHN ↗

To me that's said more about Instagram than the feasibility of building an app for a tablet.

2h agoHN ↗

"You are a experienced iOS Software Engineer, your task is to migrate this application to the iPhone Duo layout...

2h agoHN ↗

“Here is your iOS app migrated to Surface Duo…”

Tongue half in cheek, my point is that agents may be unreliable with fresh libraries.

It looks like there are some fun edge cases too:

A reserved region can be active or inactive. For example, a reserved region that represents the fold is active when iPhone Duo is partially open, but inactive when it is fully open.

source: https://developer.apple.com/documentation/technologyoverview...

1h agoHN ↗

Tongue half in cheek, my point is that agents may be unreliable with fresh libraries.

You may find Axiom (my FOSS project, updated for iPhone Duo) helpful. https://charleswiltgen.github.io/Axiom/

Note: I'm scrubbing it against the final 27.1 beta SDK as I type this, so it's likely that its Duo knowledge will get an update within the next few hours.

1h agoHN ↗

Fun fact, I’ve now worked on the surface duo (technically the windows version not the android version) and the iPhone duo.

I thought the ideas of the surface duo were great and I’m super excited to see them evolved and shipped in a product that I think a lot of people are going to love.

1h agoHN ↗

Fired it up to check my own app (RunnerCast) and it looks fine. The Liquid Glass menu moves from the bottom to the right side automatically both on the inner and outer screens. If you already had a layout that worked for iOS and iPadOS, things adapt fine to the inside screen and when you go split screen with two apps, the layout adapts nicely. I don't think I'll need to do a thing.

I've also noticed a flurry of recent app updates from some of the bigger apps (MLB, NYTimes, etc.) to switch to the Liquid Glass menu which I assume Apple strongly suggested they do prior to the Duo launch.

1h agoHN ↗

Most apps people actually use will look fine because there's a team of mobile devs in all big companies who get paid to keep up with Apple breaking their apps every year with their 'updates' (among other things).

I mean, don't expect advanced features like consistent smooth scrolling, non-broken UI, absence of animation flickers, cloud sync that works consistently even for paid apps developed by Apple or anybody else but other than that :)

8m agoHN ↗

This is the first time we get an iPhone skew that is significantly different and with no sales track record.

For instance, very few company bothered to do anything for the Vision Pro. Now we'll see if Google or Microsoft for instance see the iPhone Duo as a main line product or an exotic offshoot that needs to prove itself before any money is spent on it.

1h agoHN ↗

Apple also bundles a /uikit-app-modernization skill which should help with adopting layouts to iPhone Duo.

1h agoHN ↗

Thanks for Axiom, looks useful. Does it already cover the new 27.1 beta APIs?