Get started with App.net.

  Sign up now  
gruber
    Pythonista is a really cool app, but how did it make it into the App Store? http://bit.ly/PKPN8F
    There are 12 new posts
    myfreeweb
      [Post deleted]
      jtregunna
        @gruber Most likely they're compiling down to javascript and running it on the javascript runtime built into webkit. This would make it legit.
        gte
          @gruber They want to stop interpreted code from the network. They wrote rules stricter than they actually want. They look the other way when it suits them. Like with almost every game ever shipped for iOS.
          remino
            So, are we going to have QBASIC for the iPad soon? RT @gruber Pythonista is a really cool app, but how did it make it into the App Store? http://bit.ly/PKPN8F
              [Post deleted]
              gtc
                @gruber Maybe all that emulator stuff was really about Flash and Java. Lua is all over games. Also, what’s that game development app?
                mrgan
                  @gte @gruber One of those situations where it’s great that you can probably ship something against the rules, but scary that Apple can change their mind any time.
                  sford
                    @gruber The app store rules prevent downloading executable code. Python, Lua, Ruby, & Javascript may be run if embedded in or produced by an app. I presume the reason is to prevent hijacking the app store to build a competing platform on top of it.
                    joelparsons
                      @gruber Its not much different from Codea http://twolivesleft.com/Codea/ which has been out for ages.
                      stuffmc
                        @gruber as awesome as the app might be, they should have their website be "retina ready". It's terrible to look at on my MacBook Pro #nt
                        morsecode
                          @gruber I keep hearing about Pythonista and meant to check it out. Now that I have I’m with you: how the hell did it make it into the App Store? Buy now, ask later.
                          gte
                            @mrgan @gruber Yup. I gambled that back in ‘08 and it’s been ok. Though the night before submitting I changed all the file extensions for the scripts to .cfg from .lua so as not to temp the beast! And the app does download script code. Shh.
                            viticci
                              @gruber Runs in its own sandbox. Uses standard iOS clipboard module to set and get clipboard. I'm testing the upcoming version, they'll add more integration with standard iOS elements. Caveat: can't download code (no Dropbox sync for instance)
                              taglia
                                @gruber Not the only python interpreter either. "Python 2.7 for iOS" goes as far as exposing the app underlying filesystem.
                                viticci
                                  @gruber So you're stuck with standard libraries and modules of its built-in interpreter. Dev is very responsive and already added lots of stuff to beta (including Markdown). There also ways to "get around" Apple's limitation - like importing...
                                  viticci
                                    @gruber ...GitHub gists from URL. Overall, it's a great app that will get a lot better with version 1.2. I just hope Apple never decides to kill it.
                                    maronoff
                                      @gruber Pretty sure it falls in the category of Lua interpreters, etc. – you aren’t downloading anything in the app (”all docs are self-contained!”), and it’s all within the app’s sandbox. HyperCard/Smalltalk seems like a good paradigm to think about this.
                                      aurynn
                                        @maronoff @gruber can it open network sockets? Or is it a very limited env?
                                        holbrook
                                          @maronoff @gruber Now that sounds fun (if semi-useless) - Smalltalk on iOS.
                                          djacobs
                                            @gruber I have wondered that myself! It doesn't save things, right? Not that there is that much nuance in the review process.
                                            djacobs
                                              @gruber Wow, as of 1.1 you can save *and* export to Xcode. Not long for this world.
                                              danielpunkass
                                                @djacobs @gruber Python is not an imminent threat to Apple’s way of life. In fact, Apple embraces Python. The whole “nothing but ObjC” thing was purely anti-Flash. The “no-interpreted code” is a paranoid firewall for dynamic end-runs around the App Store.
                                                mdhughes
                                                  @gruber Scripting languages have been allowed for well over a year. See also BASIC! and a couple of Lua things. You're not supposed to allow downloading code, but copy/paste or iTunes transfer's fine with Apple.
                                                  mike3k
                                                    @danielpunkass @djacobs @gruber we've submitted apps written in Lua (Aqua Pets) and it's been approved.
                                                    spyder
                                                      @jtregunna @gruber there's a pretty decent JavaScript python interpreter; a coursera course I'm in uses it to drive their teaching tool. http://skulpt.org/ Doesn't support full python though, so maybe pythonista is doing something else?
                                                      gtc
                                                        @danielpunkass Also anti-Java, guessing. Totally the right call in both cases.
                                                        al45tair
                                                          @danielpunkass @djacobs @gruber IMO the “no interpreted code” rule is also there to stop people from writing apps that download malicious code to end-users’ devices after the app is approved by Apple.