Live data from Hacker News

How Apple hides new functionality in iOS: isYoMamaWearsCombatBootsActive

github.com

61–70 of 122 posts

Re: How Apple hides new functionality in iOS: isYoMamaWearsCombatBootsActive

#61

Earlier quoted context omitted.

> Apple just says "that's obsolete in a year" and lets everything break Carbon is now _15 years old_, you know...

As far as I've understood it, iOS apps are under constant pressure to remain compatible with the latest APIs. When Apple did the architecture shift from PowerPC it "was get over or get out". That sort of attitude is very different from the one highlighted in the linked MSDN blog where they are building compatibility bridges for illegal, abandoned APIs which were never meant to be public in the first place, to ensure…

> As far as I've understood it, iOS apps are under constant pressure to remain compatible with the latest APIs

Not really. Applications sometimes break from version to version, but usually due to use of undocumented behaviour etc; APIs are rarely deprecated.

> When Apple did the architecture shift from PowerPC it "was get over or get out".

PPC was supported for five years after the shift...

Re: How Apple hides new functionality in iOS: isYoMamaWearsCombatBootsActive

#62
post #45

Earlier quoted context omitted.

What is a Maccard? I've never heard anyone say that pirating OS X was more ok than any other kind of piracy.

Maccard = Mac user. And the attitude I've seen (especially in the OSX 86 community) is that general piracy is completely OK, but you have to buy OS X from Apple, otherwise you are doing something super-duper wrong. Then they move on to pirate Photoshop. It's a mind-bending sort of ethics, and I was curious about what the reasoning behind it was.

That's not the mac using community as a whole then, is it. It's exactly the same a saying that all user of open source software are cheap because they don't want to pay for software. An entirely ridiculous statement that I'm sure you'll find abhorrent for many different reasons.

Re: How Apple hides new functionality in iOS: isYoMamaWearsCombatBootsActive

#63
post #12

I don't understand, what does this function do? Is it a reference to something? Or just a simple easter egg?

Apple ships iOS beta builds before announcing new hardware. They obviously don't want to leak information about new functionality like HDR support too early. So they use a special string "YoMamaWears..." meaning of which is known only to people in the appropriate team. Then, when iPhone 5s is finally released, they easily find-and-replace the obfuscated methods with proper identifiers.

It does look like an HDR placeholder, or one hell of a coincidence.

From `AVCaptureFigVideoDevice.h`

    -- (BOOL)isYoMamaWearsFancyGlasses;
    -- (void)setYoMamaWearsFancyGlassesDetectionEnabled:(BOOL)arg1;
    -- (BOOL)isYoMamaWearsFancyGlassesDetectionEnabled;
    -- (BOOL)isYoMamaWearsFancyGlassesDetectionSupported;
    +- (BOOL)isHighDynamicRangeScene;
    +- (void)setHighDynamicRangeSceneDetectionEnabled:(BOOL)arg1;
    +- (BOOL)isHighDynamicRangeSceneDetectionEnabled;
    +- (BOOL)isHighDynamicRangeSceneDetectionSupported;

Re: How Apple hides new functionality in iOS: isYoMamaWearsCombatBootsActive

#64

Earlier quoted context omitted.

It's called a BETA for a reason :-) The 3GS was released in 2009 which is quite a long time ago in technology terms so to expect it to be able to handle a more CPU-intensive update easily is a bit silly.

Did you even read? > It's called a BETA for a reason My "upgrade" was NOT BETA. > The 3GS was released in 2009 which is quite a long time ago in technology terms so to expect it to be able to handle a more CPU-intensive update easily is a bit silly. It worked perfectly BEFORE the "upgrade" (batter life: 3-4 days!), why would it not AFTER the "upgrade"? I mean, the "upgrade" was SPECIFICALLY coded for the 3GS. If it's…

No offence, but what does that have to do with iOS7's battery life? It seems you just wanted to start screaming about how everyone that buys Apple is a 'sheep' and use some terrible puns. You do tend to get downvoted if you don't contribute anything to the conversation.

You said my 'phone is useless now' which is completely incorrect. I wouldn't expect it to have perfect battery life in a BETA...

Re: How Apple hides new functionality in iOS: isYoMamaWearsCombatBootsActive

#65
post #45

Earlier quoted context omitted.

What is a Maccard? I've never heard anyone say that pirating OS X was more ok than any other kind of piracy.

Maccard = Mac user. And the attitude I've seen (especially in the OSX 86 community) is that general piracy is completely OK, but you have to buy OS X from Apple, otherwise you are doing something super-duper wrong. Then they move on to pirate Photoshop. It's a mind-bending sort of ethics, and I was curious about what the reasoning behind it was.

You know 1 person doesn't represent a community right?

Re: How Apple hides new functionality in iOS: isYoMamaWearsCombatBootsActive

#66

Earlier quoted context omitted.

As far as I've understood it, iOS apps are under constant pressure to remain compatible with the latest APIs. When Apple did the architecture shift from PowerPC it "was get over or get out". That sort of attitude is very different from the one highlighted in the linked MSDN blog where they are building compatibility bridges for illegal, abandoned APIs which were never meant to be public in the first place, to ensure…

Apple switched to Intel processors in 2006, but maintained support for running PowerPC apps on Intel processors up until OS X Lion shipped, in 2011. Apple kept compatibility with a completely different processor architecture for half a decade. When I got my first Intel Mac, I just copied over all my PowerPC binaries, and they ran fine. It was unbelievable. And this wasn't even the first time. Recall the 68k emulator…

Remember Windows NT which ran on PowerPC, MIPS and Alpha. They even ran x86 binaries on Alpha which were not only emulated but also translated for later runs [1].

Admittedly, all the other architectures Windows supported apart from x86 were added and later dropped again, so it were more sidesteps instead of transitions.

[1] http://en.wikipedia.org/wiki/FX!32

Re: How Apple hides new functionality in iOS: isYoMamaWearsCombatBootsActive

#67

Earlier quoted context omitted.

Did you even read? > It's called a BETA for a reason My "upgrade" was NOT BETA. > The 3GS was released in 2009 which is quite a long time ago in technology terms so to expect it to be able to handle a more CPU-intensive update easily is a bit silly. It worked perfectly BEFORE the "upgrade" (batter life: 3-4 days!), why would it not AFTER the "upgrade"? I mean, the "upgrade" was SPECIFICALLY coded for the 3GS. If it's…

No offence, but what does that have to do with iOS7's battery life? It seems you just wanted to start screaming about how everyone that buys Apple is a 'sheep' and use some terrible puns. You do tend to get downvoted if you don't contribute anything to the conversation. You said my 'phone is useless now' which is completely incorrect. I wouldn't expect it to have perfect battery life in a BETA...

> what does that have to do with iOS7's battery life?

It has to do with Apple's apparent general battery strategy. The devaluing of devices sold as "upgrade" was done a few years back, and as I've mentioned above, it's still done today.

> You do tend to get downvoted if you don't contribute anything to the conversation.

The contribution here is: DO NOT "UPGRADE", UNLESS you are ok with being forced to buy a new phone BEFORE your "old" phone ceases to fulfill your actual/real needs! I hope this is now clear enough.

If this warning is NOT valuable, then I'm clearly on the wrong site here.

> You said my 'phone is useless now' which is completely incorrect.

Of course it is useless as a mobile phone. It's supposed to be a mobile phone (for travel etc.). So, if I have to keep it plugged in just to do calls, WiFi and bluetooth, then it's called a landline phone and I have to buy a new mobile phone.

> I wouldn't expect it to have perfect battery life in a BETA...

Why do you keep talking about "beta". As I've said in the downvoted posts already (twice): It was a NORMAL UPGRADE downloaded because iTunes kept bugging me with it. NO BETA HERE.

Re: How Apple hides new functionality in iOS: isYoMamaWearsCombatBootsActive

#68

Earlier quoted context omitted.

Apple ships iOS beta builds before announcing new hardware. They obviously don't want to leak information about new functionality like HDR support too early. So they use a special string "YoMamaWears..." meaning of which is known only to people in the appropriate team. Then, when iPhone 5s is finally released, they easily find-and-replace the obfuscated methods with proper identifiers.

It does look like an HDR placeholder, or one hell of a coincidence. From `AVCaptureFigVideoDevice.h` -- (BOOL)isYoMamaWearsFancyGlasses; -- (void)setYoMamaWearsFancyGlassesDetectionEnabled:(BOOL)arg1; -- (BOOL)isYoMamaWearsFancyGlassesDetectionEnabled; -- (BOOL)isYoMamaWearsFancyGlassesDetectionSupported; +- (BOOL)isHighDynamicRangeScene; +- (void)setHighDynamicRangeSceneDetectionEnabled:(BOOL)arg1; +- (BOOL)isHighDy…

It's funny because "Fig" was supposed to be replaced by CM or CoreMedia at some point but it was so integrated into the code that it never happened. So here we have a rare case of double export obsfucation.

Re: How Apple hides new functionality in iOS: isYoMamaWearsCombatBootsActive

#69

Earlier quoted context omitted.

No offence, but what does that have to do with iOS7's battery life? It seems you just wanted to start screaming about how everyone that buys Apple is a 'sheep' and use some terrible puns. You do tend to get downvoted if you don't contribute anything to the conversation. You said my 'phone is useless now' which is completely incorrect. I wouldn't expect it to have perfect battery life in a BETA...

> what does that have to do with iOS7's battery life? It has to do with Apple's apparent general battery strategy. The devaluing of devices sold as "upgrade" was done a few years back, and as I've mentioned above, it's still done today. > You do tend to get downvoted if you don't contribute anything to the conversation. The contribution here is: DO NOT "UPGRADE", UNLESS you are ok with being forced to buy a new phone…

I've said it once and I'll say it again: This has nothing to do with the original topic. I posted about iOS7s battery life in the BETA and you started getting agitated about an iPhone 3gs upgrade (not iOS7...)

The phone is 4 years old. That's quite a long lifespan for a phone and if you're angry because the battery life has depleted, you obviously don't have an idea about how batteries work. Of course a new update is going to have an impact on the battery. Since it requires more CPU/Memory (which the iPhone 3gs is severely lacking in) the battery takes a hit.

>Why do you keep talking about "beta". As I've said in the downvoted posts already (twice): It was a NORMAL UPGRADE downloaded because iTunes kept bugging me with it. NO BETA HERE.

Then why are you talking about it? We are talking about the iOS7 BETA. Not iOS3.

>Of course it is useless as a mobile phone. It's supposed to be a mobile phone (for travel etc.). So, if I have to keep it plugged in just to do calls, WiFi and bluetooth, then it's called a landline phone and I have to buy a new mobile phone.

You said my phone. Not yours. My phone acts perfectly as a mobile device :)

>The contribution here is: DO NOT "UPGRADE", UNLESS you are ok with being forced to buy a new phone BEFORE your "old" phone ceases to fulfill your actual/real needs! I hope this is now clear enough.

Don't upgrade if you don't want to. Nobody is forcing you to buddy. I wouldn't expect an old computer to handle all the new games perfectly at full resolution

>It has to do with Apple's apparent general battery strategy. The devaluing of devices sold as "upgrade" was done a few years back, and as I've mentioned above, it's still done today.

Which is nothing to do with iOS7

Re: How Apple hides new functionality in iOS: isYoMamaWearsCombatBootsActive

#70
post #17

Earlier quoted context omitted.

There's been balmy little bits of stuff like this all the way through OSX and iOS for ages, though maybe not quite as flippant. Every Mac has the kernel extension "Dont Steal Mac OS X.kext" for example, which loads into RAM a short poem. There once was was a user that whined his existing OS was so blind, he'd do better to pirate an OS that ran great but found his hardware declined. Please don't steal Mac OS! Really,…

I can definitely understand that, having pulled and Android app from the store because of piracy recently. (in app purchase is really hard to circumvent by pirates, but apps where you pay upfront are pirated like crazy)

How does pulling the app from the store benefit you?
Post reply on HN