News for hackers. Stuff that matters.
Re:iPadOS by ben7799 on Tuesday September 24, 2019 @12:09PM (#21061659)
Wow.. you can finally plug in a USB drive/card reader/camera/whatever...

That alone actually takes the iPad a long way towards actually being real/Pro/whatever.

I sold my first Gen iPad Pro over this stuff. It was just to painful to do a lot of real world stuff that involved files.

Maybe today the experience would be a heck of a lot better.

Re:iPadOS by prashnts on Tuesday September 24, 2019 @12:12PM (#21061692)
Adding to the whatever list, you can also use USB Optical drives with a powered hub (just tried yesterday). It appears in Files app. Seems like they’ve finally implemented proper usb stack.
Re:iPadOS by wlesieutre on Tuesday September 24, 2019 @12:28PM (#21061874)
Interesting implementation tidbit from a Federighi interview:

>From a security architecture point of view, we did not want to have file system drivers running in the kernel communicating with external media that could have been tampered with. Getting all of our file systems to be isolated from the kernel, it was real hardcore engineering efforts.

Re:iPadOS by robin_reala on Tuesday September 24, 2019 @01:22PM (#21062467)
Link? I’d like to read that.
Re:iPadOS by saagarjha on Tuesday September 24, 2019 @01:25PM (#21062506)
There's not much more, unfortunately: https://youtu.be/5ygYSdL42Zw?t=4778
Re:iPadOS by radnor on Tuesday September 24, 2019 @12:16PM (#21061723)
You can connect quite a few things via the Camera Connection Kit (CCK) which has a USB port in it. MIDI controllers and USB soundcards are two things I've used recently.
Re:iPadOS by prashnts on Tuesday September 24, 2019 @12:24PM (#21061821)
Not sure what’s the CCK. Is it one of the dongles they sell with HDMI, SD Reader, and USB?

I first got excited that it can connect to USB webcams — I have some modded webcams I use as microscope — would be super useful if I could interface it with a camera app. But it didn’t work, last I tried. Are you aware of some way to do that? :)

Re:iPadOS by biztos on Tuesday September 24, 2019 @02:00PM (#21062920)
I believe they're talking about the "Lightning to USB 3 Camera Adapter."[0]. I have one of these and so far I have only used it to plug into my DAC[1] so I can use Apple Music on an old iPhone with a real HiFi, but I think this has been the preferred way to connect to multimedia stuff for a while.

A long time ago on an iPad now far far away, I had the cordless little SD card reader, but the iPad itself wasn't much use for editing RAW photos in that generation.

[0]: https://www.apple.com/shop/product/MK0W2/lightning-to-usb-3-...

[1]: https://www.schiit.com/products/fulla-1

Re:iPadOS by radnor on Tuesday September 24, 2019 @12:30PM (#21061904)
I haven't heard of any webcams that work in iOS via the CCK - sorry!

I'm not too familiar with how it all works, but I imagine it has a lot to do with the individual apps that are running to be able to read/write to the USB port.

Re:iPadOS by prashnts on Tuesday September 24, 2019 @12:36PM (#21061981)
Seems like it, thanks anyway! Maybe now that there’s USBKit (although not sure if it’s MacOS only), one might be able to work out a camera driver implementation. Yay, weekend project!
Re:iPadOS by layoutIfNeeded on Tuesday September 24, 2019 @01:47PM (#21062748)
USBDriverKit is macOS only.
Re:iPadOS by layoutIfNeeded on Tuesday September 24, 2019 @01:45PM (#21062727)
I’m pretty sure the USB stack was there all along, they just kept it to themselves. Just like how the iPhone baseband chip would be capable of receiving FM radio, they just don’t want to enable it.
Re:iPadOS by gumby on Tuesday September 24, 2019 @05:28PM (#21064823)
Not arguing with your overall point, but I don't think your use of the term "real world" is appropriate.

Clearly many people are using iPads in the real world for all sorts of things and are satisfied with the results. You mean "laptop/desktop like things" which is a reasonable comparison to make, for the small subset of people who want that kind of functionality. But to say that that stuff is "real world" while other uses cases are not is condescending.

It's like the people who say MacBook pros "aren't really designed with pros in mind". I've written over a hundred thousand lines of code for work on MacBook airs and plain old MacBooks which are just great for my particular work flow. Doesn't mean I'm not a pro, any more than it means that people who need a larger machine to run Xcode etc are more pro, or less pro, than I.

I don't mean to harsh on you but I do think this is an important point.

Re:iPadOS by robbyking on Tuesday September 24, 2019 @12:17PM (#21061740)
In 2018 I took a year off fro work to be a stay-at-home dad, and one thing that really surprised me was how little I used my MacBook; the only time I would drag it out was to connect my pre-bluetooth Garmin to sync my cycling workouts to Strava.

Had my iPad supported USB devices, there's a good chance I wouldn't have used it at all.

[dead]
Re:iPadOS by simonh on Tuesday September 24, 2019 @03:15PM (#21063571)
Maybe they’re mostly used for that, but ‘made for that’ is just not true. Apple has consistently, right from the start marketed it as a productivity and creative device, even emphasising iWork apps in the launch presentation and releasing Garage Band for it a few months after launch. They’ve consistently highlighted creative apps for the iPad year after year.

For me, my iPad is m primary creative device, by far. I write on it, sketch on it, code on it, spruice up photos on it. I don’t know what I’d do without Google Docs/Drive. I’m writing this on it. A few minutes ago I was posting, while doing some fact checking in Safari in a split view. It’s awesome!

Re:iPadOS by xpe on Tuesday September 24, 2019 @04:41PM (#21064386)
What do you use for (a) coding and (b) keyboard?
Re:iPadOS by throwaway413 on Tuesday September 24, 2019 @06:12PM (#21065172)
Here's my setup:

1) iPad Pro 256gb 11"

2) Apple keyboard case

3) Apple magic keyboard 2 w/ number pad (when I need to really get into it)

4) DigitalOcean VM instance

5) Termius ssh iOS app

6) Neovim on the VM, or sometimes I pull out VS Code via code-server [1] and exposed via #7

7) Custom domain name w/ nginx serving up my projects and services from the VM

8) AirPlay via my Apple TV to any connected displays

[1] https://github.com/cdr/code-server

Re:iPadOS by read_if_gay_ on Tuesday September 24, 2019 @06:33PM (#21065357)
Blink is by far the best ssh/mosh app I have found. mosh is a gamechanger if you use mobile data and the interface of the app is the best implementation of a shell I came across so far. If you haven't tried it yet it's worth looking at. Steep price tag but justified by how much you use it.
Re:iPadOS by throwaway413 on Tuesday September 24, 2019 @07:34PM (#21065869)
I have read about it but have yet to give it a try. Thanks for the recommendation!

Update: just tried it, and holy smokes, what a difference. Mosh feels local. And Blink is super cool too, I like the CLI-style menus.

Re:iPadOS by son_ngu on Thursday September 26, 2019 @12:23AM (#21078142)
For your use, what instance size did you get for your DO instance?
Re:iPadOS by throwaway413 on Thursday September 26, 2019 @10:19AM (#21081076)
I pay for the $40/mo droplet, just because I am able to afford it and I host several active, multi-user prototype projects out of that box and sometimes end up using the power. But I could probably get away with a much more lightweight instance.
Re:iPadOS by simonh on Wednesday September 25, 2019 @12:31PM (#21072364)
I use Pythonista mainly, though I started with Codea (Lua) years ago and I'm currently trying out Pyto.

I just use the on screen keyboard.

Re:iPadOS by luckydata on Tuesday September 24, 2019 @03:36PM (#21063744)
Apple can say a lot of stuff, doesn't make it true.
Re:iPadOS by chipotle_coyote on Tuesday September 24, 2019 @04:49PM (#21064474)
The OP literally just told you stuff they're creating on the iPad. I get we should be cynical of marketing-speak and all, but "it is possible to create real things on the iPad" is not just marketing speak, it's stuff people who are actually creating real things on the iPad have been saying for years.

I'm currently kind of down on my iPad due to travails using it for writing screenplays (long story, not that interesting), but I have used it for creating -- and presenting -- slideshows to large audiences, writing multiple articles and publishing them directly to WordPress and Medium sites, creating technical diagrams for my office, writing a 110,000-word novel, doing revisions (change tracking and comments) on other people's novels, touching up photographs, doing GitHub reviews, on and on. There are people who edit successful podcasts with Ferrite, edit multitrack 4K video with Luma Fusion, on and on and on.

iPads are tricky-to-useless for most development work currently and that tends, for obvious reasons, to be a major limitation for HN's main demographic. But that doesn't make the iPad "just for watching videos". To claim that it's not capable of being used for a wide range of real work is either ignorant or trolling.

Re:iPadOS by simonh on Wednesday September 25, 2019 @12:37PM (#21072428)
When you wonder what something was 'made for', and the people who made it tell you why they made it, and then invest a lot of money and resources consistent with that reason, it seems bizzare to deny it.
Re:iPadOS by supermatt on Tuesday September 24, 2019 @12:43PM (#21062067)
You've been able to do a lot of that for a while with the official camera adapter.
Re:iPadOS by banana_giraffe on Tuesday September 24, 2019 @01:27PM (#21062521)
And on the iPad Pro, you can do it with a random USB-C card reader.
Re:iPadOS by noja on Tuesday September 24, 2019 @12:25PM (#21061841)
It's meant to replace MacOS eventually
Re:iPadOS by chadlavi on Tuesday September 24, 2019 @01:19PM (#21062431)
Once they give access to a terminal (even if it's sandboxed) and start letting developers port apps like vscode and sketch to iPadOS, there will be 0 barrier any more for me personally to making the leap.
Re:iPadOS by Keyframe on Tuesday September 24, 2019 @04:13PM (#21064138)
I love ma iPad. It replaced laptop for me for almost everything I do. Even the MS Office suite is great. There’s even vim for it, but it’s half there. What I miss the most is having an ability to go into a zsh, spin up my vim, run node, gcc, acme+vice (I code for c64 as a hobby)... Essentially, the dev side of laptop use is missing. And I really miss it. It feels like the machine could handle it with ease, but Apple won’t have it.
Re:iPadOS by simonh on Tuesday September 24, 2019 @03:20PM (#21063611)
Your wish is granted.

http://osxdaily.com/2018/01/08/get-terminal-app-ios-command-...

Bit limited, but it’s a start. Personally I prefer Pythonista with the Stash shell command extensions package.

https://github.com/ywangd/stash

Re:iPadOS by stephen_g on Tuesday September 24, 2019 @09:25PM (#21066651)
Pretty sure they've specifically said that's not the case. There's always been rumors that Apple are going to switch the Mac to ARM and make it only run iOS, but this is going the other way if anything, with iPadOS splitting off from iOS.
Re:iPadOS by criddell on Tuesday September 24, 2019 @01:22PM (#21062475)
What makes you say that?
Re:iPadOS by gowld on Tuesday September 24, 2019 @01:10PM (#21062335)
It's amazing that "connecting a peripheral" is not considered Pro.

Remember when the Mac was the "digital hub" ? https://www.imore.com/evolution-apples-digital-hub