News for hackers. Stuff that matters.
Re:The price of a messy codebase: No LaTeX on the iPad by joelhaasnoot on Tuesday November 22, 2011 @03:41AM (#3264701)
Here comes the problem: Apple requires it to be a single binary, distributed once. You can't install packages the LaTeX ways should you want to, so you have to bundle most (if not all) packages into the single binary.
Re:The price of a messy codebase: No LaTeX on the iPad by r00fus on Tuesday November 22, 2011 @01:33PM (#3266712)
What about in-app purchases? Why not a set of free in-app "purchase" options for large sets of these packages?
Re:The price of a messy codebase: No LaTeX on the iPad by msbarnett on Tuesday November 22, 2011 @04:07PM (#3267367)
In-app purchases can be used to trigger your application to download new data, but not new executable code.
Re:The price of a messy codebase: No LaTeX on the iPad by angus77 on Tuesday November 22, 2011 @06:02PM (#3267846)
The packages are text files, not executables.
Re:The price of a messy codebase: No LaTeX on the iPad by joelhaasnoot on Wednesday November 23, 2011 @02:37AM (#3269181)
Exactly, so all you could do is trigger certain bundles to be 'unlocked': you would always have to ship them.
Re:The price of a messy codebase: No LaTeX on the iPad by Tomis on Tuesday November 22, 2011 @04:18AM (#3264777)
You could use a virtual machine library (if anything suitable exists) and run everything inside one executable - it would probably have horrid performance but you get rid of the single binary restriction. You can put on a nice front-end and tell the user how much longer he has to wait until the operation is complete.
Re:The price of a messy codebase: No LaTeX on the iPad by shaggyfrog on Tuesday November 22, 2011 @05:05AM (#3264877)
Virtual machines are generally prohibited by the guidelines as well. (Exceptions exist for things like script interpreters, which need to be present for some games to run, e.g. Lua.)
Re:The price of a messy codebase: No LaTeX on the iPad by gurkendoktor on Tuesday November 22, 2011 @09:09AM (#3265532)
I think the difference here is between interpreting scripts that come with the binary, and downloading new scripts from the internet (or other untrusted locations). The latter is prohibited.

To get around it, you'd have to make it In App Purchases, because these also come from a the App Store.

Re:The price of a messy codebase: No LaTeX on the iPad by einhverfr on Tuesday November 22, 2011 @08:04PM (#3268236)
So the issue here is not that the TeX codebase is messy, but that it doesn't conform to Apple's App Store guidelines, right?
Re:The price of a messy codebase: No LaTeX on the iPad by einhverfr on Tuesday November 22, 2011 @05:57AM (#3264995)
So, go with LuaTeX ;-)
Re:The price of a messy codebase: No LaTeX on the iPad by iqster on Tuesday November 22, 2011 @08:10AM (#3265362)
I never understood the exception for game engines (ala Lua). Why are those okay but other VMs not okay (from Apple's perspective, of course)?
Re:The price of a messy codebase: No LaTeX on the iPad by bzbarsky on Tuesday November 22, 2011 @09:10AM (#3265535)
Apple wants to restrict the platform options available to preserve their user lock-in. They were sort of forced to make an exception for games because they had no alternative to offer.
Re:The price of a messy codebase: No LaTeX on the iPad by albertzeyer on Tuesday November 22, 2011 @08:37AM (#3265432)
They don't want to have other platforms inside their platform because they think it would result in a bad user experience.
Re:The price of a messy codebase: No LaTeX on the iPad by Tomis on Tuesday November 22, 2011 @08:45AM (#3265459)
You can't do very much within those guidelines, can you?
Re:The price of a messy codebase: No LaTeX on the iPad by shaggyfrog on Tuesday November 22, 2011 @02:57PM (#3267076)
Totally, that's why there are hardly any apps for iOS, and the paying market is such a fraction of that on Android.
Re:The price of a messy codebase: No LaTeX on the iPad by Tomis on Tuesday November 22, 2011 @06:15PM (#3267898)
It seems the cult of Apple is touchy today and can't detect a joke. I'm sorry if I have inadvertently hurt your feelings - I will be sure to clearly state my humorous intentions next time. </humour>

For the record, I do not own devices based on iOS or Android and I don't care for your little Apple-Google feud with which you seem to be so concerned with. So please, carry on with those market statistics about Android, I am dying to know more.

Re:The price of a messy codebase: No LaTeX on the iPad by shaggyfrog on Tuesday November 22, 2011 @06:53PM (#3268014)
This ad hominem kind of scrawl is inappropriate for HN.
Re:The price of a messy codebase: No LaTeX on the iPad by Tomis on Wednesday November 23, 2011 @03:15AM (#3269254)
I get carried away from time to time, sorry about that. No offense meant.