Live data from Hacker News

Play.js: The Node.js and React Native IDE for iPhone and iPad

playdotjs.com

41–50 of 66 posts

Re: Play.js: The Node.js and React Native IDE for iPhone and iPad

#41
post #24

Earlier quoted context omitted.

I’ve looked at the first two of those and I found them still too awkward due to being very text-typing heavy. Similar to play.js so I guess it mightn’t work well for me. I do have a keyboard and get by, but it’s uncomfortable for anything but shortish bursts and while I can of course use a normal keyboard, when I have one available I typically also have a laptop or desktop available so it’s easier to just use those.…

Graphical development environments like that are a nice idea, but tend to be somewhat limited and very domain specific. Pythonista does come with a graphical UI builder, but it is still a very code intensive environment.

> Graphical development environments like that are a nice idea, but tend to be somewhat limited and very domain specific.

Sure, they tend to be, but in my experience with them (mainly Max/MSP and Synthmaker) they don't have to be. The potential is there, but nobody has really done it well. Max/MSP came close when I last used it, but had a few annoying limitations[1] and there's a general negative sentiment towards graphical programming environments, which I feel puts a lot of people off trying them in earnest and therefore puts people off experimenting with building them (and they will never improve if people don't try -- remember, we have decades of textual language evolution and tooling).

Some of the negativity is justified, but some of it is, in my opinion, not. For example, people criticise the visual spaghetti code and cite examples from many existing visual languages (usually the domain specific ones), but ignore that these domain specific ones are used by non-programmers who never learned software engineering principles. Textual code when written by these same people is just as much spaghetti code lacking encapsulation and abstraction and good naming conventions as visual code written by these people. I've seen some Max/MSP code that was downright beautiful and super easy to follow. Don't get me wrong, on a laptop/desktop, I totally prefer textual like everyone else, but I feel on a tablet, visual would be a great fit.

But even with the negative aspects, I think the benefits of being able to use a touchscreen outweighs the negatives, when compared to using a textual language on a touchscreen. For me, at least, if not for others.

> Pythonista does come with a graphical UI builder, but it is still a very code intensive environment.

I guess I'll give it a try, but "code intensive" sounds like what I don't want. We will see. Thanks for the recommendation regardless!

[1] At the time, I couldn't figure out a way of nesting data structures, for example. It seems this is now possible, so I don't know if it was added since or if I overlooked it at the time. There were a bunch such limitations that prevented it from being useful as a general purpose language, but since its not meant to be one, I guess it doesn't matter.

Re: Play.js: The Node.js and React Native IDE for iPhone and iPad

#42
post #18

Earlier quoted context omitted.

I’m in a similar boat. I desperately want to be able to develop on my iPad, but just haven’t found a good way to do it yet. The best I’ve found so far is programming a micro:bit with the scratch-like environment. I’ll probably try this out, but what I really want is something like Max/MSP so is don’t have to type so much (although I do have a keyboard for my iPad, but it’s not something I like to type for long durati…

There are several very capable, full-blown dev environments available for the iPad and iPhone. I think the main ones are: Codea for Lua https://codea.io/ Pythonista for Python http://omz-software.com/pythonista/ Continuous for .NET http://continuous.codes/ Codea and Pythonista also provide XCode templates you can drop your code into to create App Store apps from your projects. Not sure about Continuous. Apple allowin…

Another iPad IDE, for Haskell: Raskell

I think this is one of my best app purchases ever, based on how much fun I have with it. Great to be able to read a Haskell book on my iPad and flip back and forth the Raskell to try code snippets as I read.

Pythonista is another great app purchase if you want to be able to write Python code natively on an iPad.

Re: Play.js: The Node.js and React Native IDE for iPhone and iPad

#43
post #25

Earlier quoted context omitted.

Termux + Expo.io Or Samsung's Linux on DeX works well for app dev on your phone.

How can you use DeX and commute?

Theoretically you could use a portable HDMI screen and a battery pack, but that's quite clunky.

The Galaxy Tab S4 supports DeX right on the tablet AFAIK.

Re: Play.js: The Node.js and React Native IDE for iPhone and iPad

#45

Earlier quoted context omitted.

> they were allowed to have their own window manager as Apple were very against that in the past. How is it a window manager when it's just an app with whatever screens it appropriate to display? It's no more a window manager than sketchbooks in drawing apps.

It's because they've recreated the internal menus, window snapping, ability to overlay windows and has a desktop. It looks like an OS. Apple were against this in the past because it doesn't align with their OS way of doing things. I never liked the rule so I'm excited to see that it looks like they've relaxed it in recent years.

I don’t think they’ve ever had a policy about whether apps could / couldn’t re-create their own menus or windows.

Re: Play.js: The Node.js and React Native IDE for iPhone and iPad

#47
post #45

Earlier quoted context omitted.

It's because they've recreated the internal menus, window snapping, ability to overlay windows and has a desktop. It looks like an OS. Apple were against this in the past because it doesn't align with their OS way of doing things. I never liked the rule so I'm excited to see that it looks like they've relaxed it in recent years.

I don’t think they’ve ever had a policy about whether apps could / couldn’t re-create their own menus or windows.

I finally found it. It's the "create an alternate desktop environment" part that I would say this falls under. Mostly because you have a desktop and they've created a new windowing environment that isn't native to iOS.

>> 2.5.8 Apps that create alternate desktop/home screen environments or simulate multi-app widget experiences will be rejected.

https://developer.apple.com/app-store/review/guidelines/

Re: Play.js: The Node.js and React Native IDE for iPhone and iPad

#48
Is there something similar that would allow me to use one of these on iPad Pro:

- A fully featured linux desktop with Visual Studio Code and a terminal

- A sandboxed terminal with persistent storage

- A text editor and a rust compiler

- A text editor

I could always ssh into my raspberry pi while at home, which is my second best solution. But, if anyone has some ideas/solutions in mind that require even a large bit of tinkering, please tell me :)

Re: Play.js: The Node.js and React Native IDE for iPhone and iPad

#50
post #48

Is there something similar that would allow me to use one of these on iPad Pro: - A fully featured linux desktop with Visual Studio Code and a terminal - A sandboxed terminal with persistent storage - A text editor and a rust compiler - A text editor I could always ssh into my raspberry pi while at home, which is my second best solution. But, if anyone has some ideas/solutions in mind that require even a large bit of…

I just picked up a new 13” iPad Pro with the hopes as using it as a travel machine. Mostly for email/writing, but also for light development. Haven’t found a solution yet. I’m in web dev land currently, so node/npm/webpack and a local http server would be needed.
Post reply on HN