Live data from Hacker News

Emacs on an iPad

andschwa.com

41–50 of 113 posts

Re: Emacs on an iPad

#41

Should any android people stroll by: the Termux app has a native emacs package, it even gobbled up spacemacs for me. I never really used it though because I don't have a tablet. For org only users on ios: beorg is soo good. Miss it on android very much.

Orgzly is pretty good too, but perhaps not as nice.

Re: Emacs on an iPad

#42
post #30

Earlier quoted context omitted.

> It's really impressive what an iPad can do. It is just accessing a VPS via ssh. That is not at all impressive, rather the opposite: you have to connect to another machine because the ipad just cannot do what you want. And you then still have to deal with keyboard issues.... And that is kind of a shame because the screen and form factor are both really nice.

A lot of companies are moving into development in cloud, for example GitHub. Which is a future for many use cases, and for which iPad is an ideal device to work with. > And you then still have to deal with keyboard issues.... What kind of issues?

The ones mentioned in the article under "Some keys that won’t work"

Re: Emacs on an iPad

#43
post #35
post #33

Earlier quoted context omitted.

Your comment made my week, I've been looking for a way to run Emacs (not remotely) on my iPad Pro since buying it in 2020. To confirm I just downloaded iSH and installed Emacs 27.2 (i586-alpine-linux-musl build) successfully. Now lets see what devilish compromises I need to make on keybindings..

I can't mentally get over cringing while using ish, thinking about how many emulated x86 calls are being made under the hood, wasting the incredible CPU in the iPad. I tried emacs in it once and it was too slow to be usable - would be keen to hear if you get a performant setup.

As an alternative, using UTM with a lightweight linux distro might be more performant. https://www.youtube.com/watch?v=OJfRJhJznzM

Or just run alpine with openssh and ssh in locally through an iOS client. I'd be curious how running UTM/qemu continuously would affect battery life. Is it 10% or 50% less? 10% would be an acceptable trade off for me.

Re: Emacs on an iPad

#44
post #5

Author should consider replacing port forwarding with Tailscale.

Can you briefly share what's the workflow with Tailscale? I heard a lot about it but not really sure how it works.

I run a Wireguard VPN for some context

Re: Emacs on an iPad

#45
post #30

Earlier quoted context omitted.

A lot of companies are moving into development in cloud, for example GitHub. Which is a future for many use cases, and for which iPad is an ideal device to work with. > And you then still have to deal with keyboard issues.... What kind of issues?

The iPad is not an ideal work device for most people. Typing on a touchscreen is much slower than a keyboard. Add a keyboard to your iPad, congratulations you've now got a laptop with half the features. Cloud development sucks if you live far away from the datacenter due to latency. Also, if your internet connection goes down then you're unproductive until it comes back.

I’m doing all my development in the cloud for the last two years and never had any latency problems whatsoever.

And it’s not about feature comparison to a laptop, even with a keyboard as MacBook Air M2 is better and cheaper than iPad. But easy content consumption, taking notes, sketching, writing, and many others. It’s just more fun than a heavy laptop. But yes, it’s not for everyone as using it full-time requires a change in personal habits. There’s also not much pro apps, but for now you can produce videos, music, cad designs, web design (figma, adobe, serif), so it’s not so limiting as it was years ago.

Re: Emacs on an iPad

#46
post #35

Earlier quoted context omitted.

I can't mentally get over cringing while using ish, thinking about how many emulated x86 calls are being made under the hood, wasting the incredible CPU in the iPad. I tried emacs in it once and it was too slow to be usable - would be keen to hear if you get a performant setup.

As an alternative, using UTM with a lightweight linux distro might be more performant. https://www.youtube.com/watch?v=OJfRJhJznzM Or just run alpine with openssh and ssh in locally through an iOS client. I'd be curious how running UTM/qemu continuously would affect battery life. Is it 10% or 50% less? 10% would be an acceptable trade off for me.

I would be pretty surprised if it was more performant.

Re: Emacs on an iPad

#47

Title is misleading. Emacs is on a VPS not running natively on ipad

Probably wouldn't be allowed because of the app store rule against apps with embedded languages.

That rule was softened, so there are a bunch of apps like Pyto, Pythonista, Python2IDE, Swift Playgrounds (doesn't quite count since it's by Apple) that let you run code on the device.

Re: Emacs on an iPad

#48
post #16

>>> So first off, you cannot run Emacs directly on an iPad as an app, but can certainly access something else which is running it In comparison, I have been running Vim on iDevices (as native app) for over 7 years. Vim design of using letters insteads of Chords proved useful in the simple onscreen keyboards.

The reason Apple allows Vim and would not allow Emacs in the Store is very interesting to reflect about.

Re: Emacs on an iPad

#49
I've done this (vps for emacs). My tuppenth worth:

- NoMachine with X works really well, especially over a VPN. Full linux desktop, great scaling and kb support

- Use mosh instead of ssh, especially if connecting over cellular, as it is tolerant of dropped connections

- Like the person who switched to an X230, I followed a similar path finally settling on a Microsoft Surface v7 which was £300 second hand. The hardware is fantastic, with a glorious screen and lovely typecover keyboard. Live in WSL and it could be a linux box. I leave the ipad behind now when I travel.

Having said that, even if it had to be handbuilt against a testflight account, it would be wonderful to have a native emacs app. Seems like the developers of hummingbird eXceed or blink might be clever enough to do that?

Although I went into the purchase knowing about Apple's walled garden, I really do resent the way good hardware has been artificially crippled. It feels like being treated like a child, I should be able to make informed decisions with my own hardware! I won't be buying another ipad unless things change up big time.

Re: Emacs on an iPad

#50
post #26

Earlier quoted context omitted.

M1 Air is passively cooled. Still pretty great.

Oh don't worry, it's possible to make passive cooling worse.

Sure, but the current Air doesn't even have a proper heatsink, and still delivers a ton of performance with thermal throttling setting in quite late compared to what I would have expected. They're pretty much doing it badly on purpose and it's still really good.
Post reply on HN