Julia text editor on iPad?

1,277 views
Skip to first unread message

Sheehan Olver

unread,
May 10, 2016, 9:28:46 PM5/10/16
to julia-users

Anyone know of a text editor for the iPad that supports Julia syntax highlighting?  I guess ideally this could link into JuliaBox (or another SSH server) so that code can be run in Safari/SSH.

(Just got the iPad Pro + Smart Keyboard and it seems fairly useable for on-the-go programming...)




Jon Norberg

unread,
May 11, 2016, 1:03:22 AM5/11/16
to julia-users
I've found that the best solution for me was to install Jupyter server on my desktop machine and just run Julia as well as write code by opening a webbrowser on my iPad Connection to it. Jupyter has a text-only editor that supports Julia syntax in addition to the notebooks. I do miss atom though...

Sheehan Olver

unread,
May 11, 2016, 4:47:42 AM5/11/16
to julia...@googlegroups.com
Coda looks promising 


I'll look into whether it's possible to make a Julia syntax mode. (Hopefully the format is similar to SubEthaEdit.)

Sent from my iPad

cormu...@mac.com

unread,
May 11, 2016, 7:02:32 AM5/11/16
to julia-users
Textastic can use TextMate definitions: http://www.textasticapp.com/v6/manual/lessons/How_can_I_add_my_own_syntax_definitions__themes_and_templates.html

Koder, another main contender, doesn't let you add syntax highlighting yet.

Sheehan Olver

unread,
May 11, 2016, 7:42:52 AM5/11/16
to julia...@googlegroups.com
It works! I'm using the textmate mode

https://github.com/JuliaLang/Julia.tmbundle

Sent from my iPad

Rob J. Goedman

unread,
May 11, 2016, 11:13:36 AM5/11/16
to julia...@googlegroups.com
Yes, that definitely works.

I actually bought the iPad Pro + keyboard + pen to make JuliaBox better usable on an iPad. And that certainly is the case for me, I can now try Julia constructs while on the road. Just having easy access to Shift-Return was key to me.

The combination of Juliabox + uploads from iCloud (or Dropbox or Google drive) also is nice.

A minor inconvenience is that the 4 arrow keys on the Pro keyboard don’t work, in those cases it’s ‘back to the pen’.

It took me a while to discover for e.g. \lambda-Tab the Tap needs to be Option-Tab.

Rob

Sheehan Olver

unread,
May 11, 2016, 8:15:44 PM5/11/16
to julia...@googlegroups.com

The arrows sometimes work for me…and sometimes not. It’s too bad the native IPython app didn’t survive:

http://computableapp.com

The biggest problem I have is that JuliaBox still doesn’t seem very reliable. This may be since Australia is the middle of the night in the US, which Amazon may feel is an appropriate time to do server maintenance.

I wonder if buying a personal Amazon Web Server is a better idea, especially for doing serious computation.

Sheehan

cdm

unread,
May 13, 2016, 5:56:22 PM5/13/16
to julia-users

an alternative to JuliaBox is the SageMathCloud:



there are members servers available
for a monthly subscription.

Sheehan Olver

unread,
May 14, 2016, 6:53:09 PM5/14/16
to julia-users
SageMathCloud doesn't seem to work that well on an iPad, unfortunately

Andrew Gibb

unread,
May 15, 2016, 3:11:04 AM5/15/16
to julia-users
Is there a way to do shift-enter to execute a cell using the iPad software keyboard? Does shift enter just work on the hardware keyboard?

Sheehan Olver

unread,
May 15, 2016, 5:25:06 AM5/15/16
to julia...@googlegroups.com
It works on the smart keyboard for me. Otherwise, you have to press the “play” button in the toolbar.

Rob J. Goedman

unread,
May 16, 2016, 12:05:39 PM5/16/16
to julia...@googlegroups.com
Sheehan,

Interesting link to computableapp.com

Have you ever seen the arrow keys work on IJulia or JuliaBox? I’ve certainly seen them work in other apps, e.g. Textastic, just not in IJulia. My guess is that the key codes have changed. Neither do they work on the older bluetooth keyboard. This is more a Jupyter issue than an Julia issue I would expect.

For serious computation JuliaBox is probably not the answer, but for less demanding situations (classroom experiments, teaching Julia, exploratory programming) it should work reliably. I wonder if we could confirm your Amazon maintenance assumption as in July I’ll be traveling in Europe and will certainly try it throughout the day. Could it also be network issues?

Rob

Rob J. Goedman

unread,
May 16, 2016, 12:28:32 PM5/16/16
to julia...@googlegroups.com, Viral Shah, Tanmay K. Mohapatra
My apologies. The remark on the arrow keys is not correct. I should have gone to try.jupyter.org before sending the email.

From that site the arrow keys on the iPad work fine!

Viral or Tanmay, could this be specific to JuliaBox?

Rob

Viral Shah

unread,
May 16, 2016, 2:23:39 PM5/16/16
to Rob J. Goedman, julia...@googlegroups.com, Tanmay K. Mohapatra
Perhaps we need to update to a newer version of Jupyter for the arrow keys?

On the reliability front, Sheehan can you tell us what kind of instabilities are you facing? We are quite keen to make this reliable, and generally there are thousands of sessions every week. The sessions are retstricted for memory and compute, and time out after 4 hours - so perhaps that is the instability you may be seeing.

For serious computations, we are soon going to launch a service that gives you dedicated compute machines (no sharing or multiplexing). Would be great if you can try it out.

-viral

Jon Norberg

unread,
May 16, 2016, 2:28:57 PM5/16/16
to julia-users
I mentioned a few issues on the Jupyter group regarding iPad usability, such as kinetic scrolling and some issues mentioned above. It's working ok, but a few things are still awkward for ipad

Rob J. Goedman

unread,
May 17, 2016, 6:51:12 PM5/17/16
to julia...@googlegroups.com, Tanmay K. Mohapatra
Thanks Viral,

Let me know if I can be of any help testing a newer version of Jupyter (if installing a newer version is feasible and not too time consuming). Or I could point my iPad to a test version, whatever is easiest.

As far as testing dedicated compute engines is concerned I am also very interested, not just for Stan, but more so for some other applications.

Inspired by another utopia thread on this list, the dream here is to make this awesome tripleJ-some (Julia, Jupyter and Juliabox) a solid foundation for cloud-based EDx courses.

Regards,
Rob

Rob J. Goedman

unread,
May 17, 2016, 7:21:47 PM5/17/16
to julia...@googlegroups.com, Tanmay K. Mohapatra
Thanks Viral,

Let me know if I can be of any help testing a newer version of Jupyter (if installing a newer version is feasible and not too time consuming). Or I could point my iPad to a test version, whatever is easiest.

As far as testing dedicated compute engines is concerned I am also very interested, not just for Stan, but more so for some components of item 3 in below’s postscript

Inspired by another utopia thread on this list, the dream here is to make this awesome tripleJ-some (Julia, Jupyter and Juliabox) a solid foundation for cloud-based EDx courses.

Regards,
Rob

> On May 16, 2016, at 11:23, Viral Shah <vi...@mayin.org> wrote:
>
Reply all
Reply to author
Forward
0 new messages