points by seltzered_ 6 years ago

Yes, alpine was the password. I'm hoping ipadOS (not iOS) will eventually get some ability to compute/develop/run software without the hacks, just because the current state is absurd. I've made a collage to illustrate this: https://imgur.com/a/CQwApt8

Text summary:

iSH - enable location services to run things in the background.

A couple youtube videos talking about having yet another device to do things like terminal access (via having a raspi over usb-c) or

UTM (virtual machine host) - which from my understanding requires a paid 99/yr developer profile to run.

Cu3PO42 6 years ago

I really like the iPad form factor and carry one around with me for almost all work and study because I really like the digital writing experience on that. Much more than on a Surface, for example.

So I wanted to make this work, I really wanted to be able to use it for light development so I could leave my notebook at home some/most days (depending on what I'm currently working on). But it doesn't stop with all the things in your collage. i(Pad)OS doesn't natively support my keyboard layout, so I was looking at getting a QMK-compatible keyboard so I could do all the remapping before the signal ever reaches the iPad. Only after sinking a non-trivial amount of time into researching that I realized how absurd this was.

A device so powerful and yet so limited by its software. I have since made my peace with the fact that my iPad is a glorified notepad and PDF viewer, but I wish it didn't have to be.

  • epicide 6 years ago

    Depending on exactly what you want to work on, also look into using something like Blink[0].

    I have several servers set up that I can now easily access from my iPad (or anything with an internet connection and an SSH client). I have one "bastion" server that basically acts as a headless dev box with mosh and tmux set up. As long as I have internet, I can quickly access machines that are far more capable than any laptop I've owned.

    Even when I inevitably do need my laptop for something, having this setup is great for continuity [1].

    Of course, this is not a drop-in replacement for a proper desktop OS, especially if you aren't a heavy CLI user [2]. However, in a similar vein to "Linux is NOT Windows" [3], you can't expect a mobile experience to be significantly better without being significantly different.

    Over the past couple years where I've been dabbling with it, I have made a couple of mentality shifts about how I want to use computers going forward. Even if I don't every use an iPad as my main/only physical device, I now happily carry around one of the 12" Macbooks since I don't need all the computing power on my person.

    None of these ideas are particularly new, but I haven't seen many other people really taking it past "SSH into server, run command(s), exit".

    [0]: A very well-made SSH client for iOS that supports mosh): https://blink.sh/ [1]: I can shut my laptop even if a large/long job is running since the job is running on a server. [2]: For some things, I've used VNC or other remote desktop type tools, but this experience also comes with heavy tradeoffs. YMMV. [3]: http://linux.oneandoneis2.org/LNW.htm

    • punnerud 6 years ago

      My setup is Cloudflare in front that works as DDNS (https://github.com/punnerud/cloudflare-ddns), 5-10 VMs with Ubuntu running under Windows 10 Pro using Hyper-V, all VMs have dedicated MAC-address on my router so I easily can make snapshot or reinstall. One of the machines is dedicated for Reverse SSH port forwarding, with a script that auto-reconnect on disconnect. I often use RDP to the Windows through the reverse SSH-proxy.

      In a normal workweek I have tree days at the office with 9h of commute in total, all where I work (and get paid) on the train. Done this the last 5 years so the setup it starting to get solid on a variable 4G connection.

    • Cu3PO42 6 years ago

      Thank you for the pointers! I have Blink installed on my iPad and use it occasionally to restart a system service or similar, but any serious work that requires typing is impossible for me due to the keyboard layout issue.

      I use the Neo-layout [0] which has both a different layout for the letters, as well as using additional modifier keys, such as Caps Lock, to access extra "layers" which map more symbols. I like it very much, but it's so different from the more standard ones such as QWERTY, that I'm now significantly slower in the latter and loathe using it.

      [0] https://neo-layout.org

      • epicide 6 years ago

        Ahh yeah, I use the Apple keyboard cover and that's a bit cramped even for English. I can't imagine typing in German on it would be fun.

        Not sure if it covers everything you need, but have you tried using the Alt/Option key for typing certain things? e.g. Alt+u and then o gives ö. Alt+s gives ß.

        • Cu3PO42 6 years ago

          QWERTZ Bluetooth keyboards work, so I can type most things I need if I ever need to write German, which is honestly rather rare. But I still need to deal with a significantly different keyboard layout and it's just neither fun nor productive.

          I'd rather carry an extra device that works the way I want it to rather than deal with either QWERTY or QWERTZ for extended periods of time.

  • speedgoose 6 years ago

    It's a bit better on Android, but far from perfect. And the hardware is not very exciting.

    • thesuperbigfrog 6 years ago

      On Android, I love Termux: https://termux.com/

      It turns my Android devices into a powerful and versatile programming environment.

      ISH looks great. If I was still using any iOS devices, I would give it a try.

      I really wish iOS / iPadOS supported better software development environments and tools like ISH. Hopefully ISH does not get pulled by Apple App Store regulators.

      • hsitz 6 years ago

        Termux is much, much better than iSH. iSH is not bad, it's just that it doesn't run any code natively, everything runs through a software emulation layer (I believe x86 to the Apple Axxx processors). So it's slow. Whereas Termux is native and very snappy. I tried running emacs on my iPad Pro (2017) and gave up because it was too slow. On Termux emacs is great, even on a midrange phone from several years ago (Moto G5 Plus).

    • Cu3PO42 6 years ago

      It is, but the writing and app experience was so much worse when I last tried it.

      If I were okay with other hardware, I could use a Surface, which requires no workarounds for almost all of my work scenarios. But I'd rather carry two devices than make that compromise, to be honest.

    • wvenable 6 years ago

      Hardware-wise the best Android tablet right now is the Samsung Tab S6. I think it's at least as exciting as some of Apple's offerings -- although the android tablet experience is probably not as good as iOS. However, for the purposes of this discussion the "Linux" experience is much better on Android.

osy 6 years ago

> UTM (virtual machine host) - which from my understanding requires a paid 99/yr developer profile to run.

This is no longer true as of iOS 13.4. Apple fixed the signing bug that broke free profile signing.

  • saagarjha 6 years ago

    I was going to ask you to update the README, but you've already done so :)

layoutIfNeeded 6 years ago

Thanks, I’ve reported iSH to Apple for misusing the location API for background execution.

  • saagarjha 6 years ago

    It’s not a misuse; it actually provides you with location data.

  • lawfulcactus 6 years ago

    ...why? If you don't like it, just don't install it. Not sure why you feel the need to ruin it for everyone else.

    • saagarjha 6 years ago

      Because they, like some people I know, think that Apple should enforce their rules consistently but fail to realize that the position they’re in means they will never do so, and as such their actions are merely petty regardless of their end goal.

  • prashnts 6 years ago

    This is a common approach and I use many apps that use this trick. Examples being Termius, Pythonista, and any app that can log sensor data in background. I hope apple doesn't give a shit about your report.

    All those apps clearly state why they want the permissions.