News for hackers. Stuff that matters.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by gruturo on Tuesday September 12, 2023 @02:31PM (#37485448)
It looks like the one feature I was more eagerly awaiting is there: It can drive a display through the USB-C cable (https://www.apple.com/iphone-15-pro, scroll down to "Gigablast your gigabits" and then click on "Explore Connectivity".

Looking forward (assuming it will work like the iPad Pro) to not carrying a laptop with me when I know there is a USB-C or HDMI (with an adapter) screen available at my destination. Bluetooth keyboard and mouse, and I'm set. No more syncing with the phone - I am using the phone itself.

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by rcarmo on Tuesday September 12, 2023 @02:39PM (#37485643)
I don't think Apple will ever do that, to be honest. It took nearly a decade for them to get keyboard support working properly on the iPad, and they have zero incentive to copy Samsung DeX given they prefer to sell 3 different devices to people.

What they will do is allow you to record video directly to storage devices and preview photos on large displays as they are taken.

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by ricardobeat on Tuesday September 12, 2023 @02:41PM (#37485713)
This is already possible.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by Xylakant on Tuesday September 12, 2023 @02:48PM (#37485856)
> I don't think Apple will ever do that, to be honest.

Apple sells lightning->HDMI adapters that could drive a display at 1080p and it’s been possible to pair a keyboard with your iPhone. I know folks that used that setup for writing longer texts while traveling.

Given that a lot of the infrastructure was already there, I wouldn’t be surprised if it trickles in over time.

You can see the same trajectory with iPads: At first they could mirror screens only, but with the recent changes to stage manager, they’re a pretty full-featured laptop if you use a keyboard and trackpad. My 11” pro is capable of driving a huge widescreen.

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by rcarmo on Tuesday September 12, 2023 @05:05PM (#37488338)
Yeah, I know - https://taoofmac.com/space/blog/2022/12/14/1230

I’ve been doing that for years now on the iPad, and knowing Apple (my site’s 20+ years old, BTW), I would be extremely surprised if they ever put Stage Manager or anything similar on an iPhone. You can hack your way around things (Blink and Remote Desktop support external displays, etc., and there has been an external display API for a while that third-party apps have used creatively), but it is just not the way Apple thinks about the iPhone.

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by ako on Tuesday September 12, 2023 @03:08PM (#37486248)
I regularly use my bluetooth mechanical keyboard (nuphy air 75) with both ipad and iphone. Works fine. Much better than the keyboards sold by apple. What are you missing?
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by rcarmo on Tuesday September 12, 2023 @05:08PM (#37488375)
My point was that there will never be a full “desktop mode” or even a good generic (supporting all apps) way of running apps on an external display. Right now you can develop apps that draw on an external display, but that has to be done on a per-app basis (there was a notable one a few years back that used “web apps” to build a “desktop” on the external display, but it’s not full, generic, zero code changes native app support).
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by konradb on Tuesday September 12, 2023 @02:37PM (#37485617)
Would be interesting to see how it can use a larger screen. Definitely the phone is powerful enough for most tasks.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by gessha on Tuesday September 12, 2023 @02:37PM (#37485607)
I really wish Apple let's you develop apps on Linux/iPad/iPhone.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by Jtsummers on Tuesday September 12, 2023 @02:46PM (#37485803)
One third of your wish is already answered. You can develop apps on the iPad.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by hack4supper on Tuesday September 12, 2023 @05:25PM (#37488645)
How pray tell ... I was looking into doing that.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by Jtsummers on Tuesday September 12, 2023 @05:39PM (#37488832)
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by internetter on Tuesday September 12, 2023 @05:52PM (#37489022)
This is pitched as an education tool...
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by Jtsummers on Tuesday September 12, 2023 @06:10PM (#37489259)
> This is pitched as an education tool...

And? From the page:

> When you’re ready to share your completed app, you can submit it to App Store Connect right from your iPad or Mac with Swift Playgrounds.

Someone asked about developing apps on the iPad, this is a way to develop (and submit to the App Store) apps on the iPad.

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by hbn on Tuesday September 12, 2023 @06:27PM (#37489445)
Show me one serious iOS developer who's using an iPad as their primary dev machine.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by larme on Tuesday September 12, 2023 @04:45PM (#37488019)
I use blink[0] with a 40% keyboard to develop linux program on a vps.

If you want to do programming without wireless interenet, another option is to connect a raspberry pi zero 2w (with usb gadget mode enabled) to the usb c port using a single usb cable. Then the rpi zero will share a ethernet network with iOS device. Then you can use blink (again) to mosh to raspberrypi.local to do the development on the pi.

The reason that I don't do it on android with termux is that there's no high quality terminal emulator like blink on android.

[0]: https://blink.sh

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by paxys on Tuesday September 12, 2023 @02:43PM (#37485748)
I bought an Android phone that transforms into a desktop computer when you plug in a USB-C monitor, and the entire experience is mind blowing. You can even connect a bluetooth keyboard and use the phone screen as a touchpad. Unfortunately I don't think Apple is going to go in that direction anytime soon.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by automatoney on Tuesday September 12, 2023 @03:24PM (#37486549)
Ooooh more info please! Which phone? And what's the experience like? Are you using it for development at all or is it more things like word? I wanna know all about this setup, since I'm definitely going to need to upgrade my phone soon.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by lostmsu on Tuesday September 12, 2023 @03:33PM (#37486706)
Sounds like Samsung Dex + something like VS Code on Android.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by paxys on Tuesday September 12, 2023 @04:12PM (#37487485)
Any Samsung flagship will work (make sure it supports DeX). All the first party apps and plenty of store ones have a desktop UI. I haven't tried any native IDEs yet, but a cloud editor in the browser works perfect.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by liminalsunset on Tuesday September 12, 2023 @05:01PM (#37488286)
I have had a number of Samsung devices that I bought specifically to test out the DeX capabilities, and it's really hard to say whether I recommend it. I ended up going back to a real PC, and it was such a breath of fresh air.

My setup was: Anker A8383 USB-C hub, 1440p 120hz monitor, USB keyboard/mouse

-Apps close themselves even when the RAM isn't full, and the "RAM Plus" feature which gives you 8 GB of swap on a 12GB RAM phone doesn't necessarily fix it.

-Multiple apps can play audio at the same time if you install Sound Assistant and enable the requisite feature (multi-app sound). Similarly, you should get the Good Guardians and Good Lock apps from the Galaxy store (or apkmirror if in Canada) and tinker with the settings to taste. This is necessary to get 4K60 support or anything more than 1080p.

-I use Kiwi Browser, which supports all Chrome extensions and otherwise works like normal desktop Chrome. You'll want to go into the flags and enable the zoom thing (search for zoom) and then enable the zoom option under Accessbility in Kiwi settings, to fix websites that don't scale correctly. Tabs get unloaded/lazy loaded in background due to RAM issue.

-Doing anything moderately describable as "productive" or "intensive" (example: google maps website) creates more heat than the phone can handle over more than 10 minutes. Do not buy a Snapdragon 888, or other weak processor device (I am aware it is old but some people like used phones). Things like particles.js, hidden autoplays, etc that don't cause issues on desktop waste TDP on phones. The problem isn't necessarily that the phone overheats, it's that Samsung makes it so that not only does the battery stop charging if it gets over 36 C, it actually starts draining. For reference, your body temperature is around 36 C. On the S23 Ultra, with the Snapdragon 8 Gen 2, it's more or less usable now, with some battery drain from time to time. Weirdly, the battery drain issue is solved if you use a charger that supports USB PD PPS. The PPS part is VERY important. If you look at Samsung schematics, you will see that the PMIC does normal USB PD and there's a separate chip for PPS. Not all docks support PPS, in fact I'm not certain if ANY do. This is an area where more research is required. Of course, the fact that the PPS chip isn't affected might not be a thermal issue, but rather a "Samsung forgot to throttle charging on PPS", which would not be a good thing to talk about then because I don't want them to "fix" this.

-I cannot imagine development would be particularly easy on this device. I briefly looked into getting VSCode on there and whatnot but the Android Linux projects seem to have fallen quite some from their former glory. While web based stuff is likely fine, the aforementioned memory and CPU problems will make this difficult to use for anything too serious.

-All of the current common remote desktop solutions i.e. RustDesk (slow performance), Parsec (keyboard issues, no zoom), Reemo (mostly works, no keyboard shortcuts, lag, thermal problems), TeamViewer (3fps), Moonlight (mouse capture issue, thermal problems), RDP (low fps) etc have some kind of usability problem that makes them difficult to use for this application, in case you wanted to use the phone as a thin client.

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by rcarr on Tuesday September 12, 2023 @07:06PM (#37489854)
I don't understand why you wouldn't just use VSCode/Codespaces or Cloud9/CodeCatalyst. The big cloud providers have their own remote desktop solutions now e.g AWS Workspaces, Azure Virtual Desktop that you can just use in the browser or if you want to stream a single app there's AWS AppStream and Azure RemoteApp.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by rcarr on Tuesday September 12, 2023 @07:00PM (#37489798)
Rumour has it Google are going to introduce a desktop mode with the Pixel 8. In the mean time there's Samsung DeX, Motorola Ready For, and Huawei Easy Projection. If it has desktop mode I'll be getting the Pixel 8, if not the Samsung Galaxy S22. Pair it with a Quadlock Mag Case and the battery pack attachment and you just have one cable going from your phone to your AR glasses and you can quickly and easily swap battery packs when needed.

You can do dev work using the Termux terminal and online VSCode/Codespaces/CodeCatalyst or someone recently (like just this week I think) ported a native version of VSCode to the Play store.

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by saiya-jin on Wednesday September 13, 2023 @04:48AM (#37493988)
S22 ultra works out of box. I plugged once my phone by mistake at work to some more advanced usbc cable for connecting our HP notebooks for all data and power to their dock, and immediately colleague's massive ultrawide screen turned on and showed whole phone's display in what seemed native resolution.

It was also rotating screen as I was rotating the phone. Nothing installed nor enabled on top of default install, didnt even know it could do it.

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by MuffinFlavored on Tuesday September 12, 2023 @04:24PM (#37487676)
Can you do a Bluetooth keyboard and mouse?
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by lostapathy on Tuesday September 12, 2023 @05:56PM (#37489091)
iphone has supported that forever.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by 112233 on Wednesday September 13, 2023 @03:48AM (#37493498)
Be careful, though. Last I tried (iphone 7), you needed 3rd party bluetooth mouse, apple iphone worked with all mouses except apple one. Also, you had the scary "this device causes radio interference" (do not remember the exact wording) warning from the apple trackpad on the apple ipad.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by bsimpson on Tuesday September 12, 2023 @05:49PM (#37488976)
This sounds like Motorola in about 2012.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by dwayne_dibley on Wednesday September 13, 2023 @04:15AM (#37493697)
I'm kind of doing this with iPad, and microsoft remote desktop. it allows me to just carry an ipad and be able to access my CAD machine in work. Love it.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by colinjoy on Tuesday September 12, 2023 @02:44PM (#37485759)
> assuming it will work like the iPad Pro

I doubt they would sneak in such a feature without at least mentioning it. I expect this to be even more limited, perhaps just tethered airplay for better resolution.

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by rcarmo on Tuesday September 12, 2023 @05:09PM (#37488404)
It’s not even that. It’s just direct storage access for recording and image previews.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by ksec on Tuesday September 12, 2023 @03:24PM (#37486535)
I hope this is true. Even with a Keyboard and mouse and I can browse Internet with it would be great.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by masklinn on Tuesday September 12, 2023 @03:52PM (#37487086)
FWIW keyboards have worked OK all along, I regularly use one of my wireless keyboards switched over to the phone to type longer stuff, though the autocorrect gets more annoying in that case.

Mice are a lot more annoying, because they're part of the assistive devices, so you need to enable Assistive Touch, and then you either have the mouse connected or the Assistive Touch menu taking space on the display, which is probably not useful if you're abled. If Assistive Touch is disabled, the mouse "works" but you don't get a visible pointer which is completely stupid.

Possibly connecting to an external display won't have that issue, or iOS 17 will make the experience a bit better for non-assistive mousing.

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by chx on Tuesday September 12, 2023 @03:36PM (#37486767)
Something is not clear here.

20x faster than 0.48gbit/s is about 5gbit/s and I find it really is weird they would only use 5gbit/s instead of 10gbit/s.

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by zamadatix on Tuesday September 12, 2023 @03:40PM (#37486845)
You might want to check your math :).
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by NavinF on Tuesday September 12, 2023 @03:56PM (#37487164)
I don't see anything about displays on that page. All I see is "iPhone 15 Pro lets you shoot ProRes video directly to external storage, so you can quickly switch drives and keep your iPhone camera rolling on set. Want to capture slow motion Hollywood style? Now you can record ProRes 4K at 60 fps to an external SSD."

I highly doubt the 15 Pro can drive a display. In the unlikely case that it can, you'll be limited to very low res. Why would they limit USB to 10gbps if the PHY can push the ~32gbps eDP bandwidth required for a modern display?

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by gruturo on Tuesday September 12, 2023 @04:15PM (#37487525)
The "Explore Connectivity" modal window you can open in the "Gigablast your gigabits" (meh) section, as I quoted in my original post, has this block of text:

USB‑Convenient.

Now you can connect USB‑C gear like thumb drives, fast external storage, 4K displays, and microphones. And you can charge Apple Watch or AirPods from your iPhone.9

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by NavinF on Tuesday September 12, 2023 @08:04PM (#37490401)
I must have landed on the wrong side of an AB test because that text doesn't show up for me on the "Explore Connectivity" modal window. I checked with both Chrome/Windows and iOS.

Anyway I really hope that text refers to DP alt mode, not displaylink. Any USB port works with displaylink chips as long as the OS has the driver

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by zamadatix on Tuesday September 12, 2023 @09:33PM (#37491095)
It seems to support normal DP output (from the "tech specs" page https://www.apple.com/iphone-15-pro/specs/):

> Video mirroring and video out support: Up to 4K HDR through native DisplayPort output over USB-C or USB-C Digital AV Adapter

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by NavinF on Tuesday September 12, 2023 @11:19PM (#37491808)
Thanks, that confirms it. I wonder if they have separate DP and USB PHYs and an external mux chip.

Also TIL iPhone SoCs are used in Apple TVs. Apparently they use a MCDP2920A4 DisplayPort 1.4 to HDMI 2.0 converter for that: https://www.ifixit.com/Teardown/Apple+TV+4K+2021+Teardown/14...

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by MarkMarine on Tuesday September 12, 2023 @04:13PM (#37487503)
“ Now you can connect USB‑C gear like thumb drives, fast external storage, 4K displays, and microphones.”

Right in the linked site

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by Havoc on Tuesday September 12, 2023 @06:57PM (#37489763)
> No more syncing with the phone - I am using the phone itself.

That sounds about as productive as the never ending stream of “I tried switching to an iPad for dev” blogs

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by Gareth321 on Wednesday September 13, 2023 @09:42AM (#37496636)
But they'll be able to write so much in the text editor with their bluetooth keyboard!
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by gruturo on Wednesday September 13, 2023 @03:51PM (#37500904)
Heh, a decent chunk of my work happens in Outlook, regrettably. Another good bit in the browser, accessing corporate stuff with the phone's per-app VPN.

So yeah it's sad, but I'd be able to write a lot with it.

But, to give you an example, tonight I went home carrying a laptop as this week I'm on call, and can only use a corporate device to reach our internal systems if something goes pear shaped. I often (weather permitting) bike to work and back, so a laptop is a significant annoyance to bring along.

Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by v7p1Qbt1im on Tuesday September 12, 2023 @07:04PM (#37489834)
Would be cool once they would allow geforce now. Plug in phone to display, connect mouse/keyboard and play AAA games at 4K60+.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by AceJohnny2 on Wednesday September 13, 2023 @03:11AM (#37493217)
Hmm, I was doing that on an iPad last winter, albeit with an XBox One controller.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by qingcharles on Tuesday September 12, 2023 @07:26PM (#37490088)
I have to go this way with some apps, because the PC/Mac desktop versions are unavailable (banking apps), or are missing significant numbers of features (CapCut). So I have to use a smartphone as my primary work terminal, which is impossible if you just use the touchscreen.
Re:Apple iPhone 15 Pro and iPhone 15 Pro Max by firecall on Tuesday September 12, 2023 @07:47PM (#37490275)
Oh that's interesting!

LOL - I have to get my Apple news from tidbits in comments nowadays as I cannot stand to watch the saccharine overproduced videos that Apple make.

I used to love an Apple Keynote... but now, they are a huge turnoff.