Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

Comment Re:Missing Reason (Score 1) 789

If an interpreter is written that complies with the OS4 requirements, all apps running in that interpreter will also comply with the requirements. Likewise I could write a machine emulator that runs on OS4 that emulates for example a SNES, and runs SNES games, and all those would also comply because the VM code itself is compiled with the "smart" build tools. This _must_ be true as all an interpreter or VM is is a program that says "if x do X else if y do Y" where "x" and "y" are the source language instructions and "X" and "Y" are the native code to implement them. If this did not work any code that had "if" statements that depended on run-time information (for example "if user presses key "x" do X" would also not work in this new "magic" framework.

Comment Re:Isn't this business-101 ? (Score 1) 789

There is no reason the profiling used for objective-c cannot work with other languages... The OS only sees the machine code (as we are dealing with compiled languages). It is easy to see this is true. If I write a python interpreter in Objective-C, the interpreter itself complies with the OS4 requirements, so automatically any python scripts running in the interpreter must also comply. QED. Objective-C is not the best language either, it is not a "standard" in the way C and C++ are standards. Although parts of an app can be written in C/C++, the environment is designed around Apples pre-C++ object-oriented-ish language "Objective-C". The app itself must be written in objective-c but can link to code in C/C++. IMHO Apple should really move to C++ like the rest of the world.

Comment Re:Learning from the past (Score 1) 789

If your app does not "claim" to support a screen size in the manifest, then it will be auto scaled to the original G1 resolution by the OS. There is no problem unless your app claims to support multiple screen sizes and in-fact does not. We develop for both iPhone and Android, and the Android API is the better, and Java is easier to code in than objective-c (due to managed memory). Also I like the fact the DROID/Milestone/Nexus One etc have a much higher screen resolution than the iPhone.

Comment Comments dont help with other peoples code (Score 1) 580

As someone who frequently gets asked to work with code written elsewhere, adding features, fixing bugs etc, I find comments in code mostly useless. Reading and understanding the code is the only way to really understand what is going on. I find the comments don't really save time, as if there is a bug in the code, the original programmer did not understand the code anyway.

Comment Data Protection Act (Score 2, Informative) 181

The UK has the Data Protection Act to prevent this kind of thing. Companies storing personal data must officially register, and must not share the data without the person concerned giving permission. You have the right to see a copy of any data held about you on payment of a small fee (to cover administrative costs). The law even prevents govenment departments from sharing data.

However, a recent amendment was passed that allows a minister (the Home Secretary I believe) to grant exemptions to this, and to compel disclosure from third parties - this was under the pretense of counter terrorism, but no safeguards were built into the procedures, so the exemptions could be used for political purposes.

Comment LISP (Score 1) 799

I think a simple LISP interpreter would be a great way to get started in programming. You can move on from basic maths (1 + 2) pretty easily to LISP. LUSH looks good http://lush.sourceforge.net/screenshots.html as it provides a complete environment including graphics and combines LISP with inline C, in a similar way to the way BBC Basic has inline assembler.

Comment Apply Social Pressure? (Score 1) 762

Why not display if the copy is pirated on the high score table where everyone can see, and offer a link to "pay now" right there (by paypal?). You could make it apply only over a certain score, so try-before-buying people are not affected, but if you invest serious time in getting a descent high score, are you really going to want to known as someone who didn't pay? To apply more pressure, you could have "pay within X days or have your score removed".

Slashdot Top Deals

WARNING TO ALL PERSONNEL: Firings will continue until morale improves.

Working...