820 karma · joined April 16, 2011
Preventing an app from opening other apps or arbitrary files if the user desires is awful for the users. Siloing data so that a user cannot use an arbitrary application to read a PDF is awful for the users. One-click installs and refusing to run unsigned apps is awful for the users when the only CA is Apple or Microsoft.
All of the current systems are poorly implemented. They could either be a step forward or two steps back. I'm not sure of the direction they are taking yet.
I agree with you, reference counting is not something that would confuse an experienced programmer, but you do have to be aware of what's happening with your objects.
NSInvocation has a signature of the variable types of the method it represents, so it can retain the object ones without trying to retain plain integers.
Modern Obj-C uses blocks to make closures, which the compiler changes into structs holding all the variables referenced. It knows the types of these as well, so it writes code to retain any object types and releases them as it is released. They haven't got a cycle collector in the runtime, so programmers still make mistakes by accidentally making strong cyclic references.
Assuming the reference-counting GC, it's not hard, but you can still make mistakes.
When I see a large player in the industry fuck up and "steal" someone's copyrighted work, it's yet another example of how they don't give a shit about artists, despite what they claim. These incidents are perhaps a good way to show the public what large media corporations are really concerned with; making money for the execs at the expense of anyone else. If the public is aware, maybe we'll have better success at reforming copyright and other IP laws. (Although I cannot deny there is the schadenfreude aspect of it also.)
But please note the scare quotes, because it's not a theft, due to the exact reasons I would argue regarding any other two entities with copyright disputes.
Also I think this is a good idea in general. With cloud hosting, why run a full Linux OS if you are only going to run a webserver or database shard on it? If the OS could be replaced by a file manager and the runtime code of a single application (with some significant speedup), there are probably a bunch of companies that would be interested.
And the first two steps are rather small, which adds to the surprise.
I guess it just doesn't seem like a burden to me; most of it is just preventing passing a variable as something it is not or double-checking that you've handled all the cases for Maybes and Eithers. It's all stuff I'd like to be doing anyway.
Static typing eliminates an entire class of bugs. It's not like any of us need it, it's just a powerful tool. It might be a nice option in a Lisp if it could be done elegantly.
It just always sounded interesting because I had reasonable success with flashcards for single words. In retrospect, that was before I had the ability to read even short stories, so maybe I am remembering the utility of them wrong, or they seemed useful because the alternative was nothing.
If the vendor does not implement something like that, it should still be available as a third-party software. It doesn't need to be a security problem using a system like permissions. If they had a reasonable system there would be multiple options for blacklists.
I'm not irritated that they choose to implement feature X over feature Y, I am irritated because there's no way to implement feature Y at all without their most holy consent.
Something like a blacklist is simple and useful, why can't we have it? Why can't we have mobile interpreters for our scripting languages? Why can't we have apps that download articles while we sleep, without us babysitting the phone to make sure they are open, and add them to a reading list?
It's a small computer. It's ridiculous to restrict it as it is.
You know what you might like, if you haven't seen it yet, is the Kernel programming language, a Scheme where everything, including macros, is first-class.
I am an Objective-C developer and I love the SDKs on the iPhone, but I am just so tired of Apple's bullshit regarding using our devices the way we want to. I'm tired of waiting for them to enable basic features like phone number black/whitelists.
My next device will be a Nexus. Then I can run apps in the background other than music, share data between apps, sideload apps from third parties, run a mobile terminal, run mobile scripting languages, and basically be free to use my hardware as I'd like.