7 ms·
I definitely love those kind of easter eggs. There are also similar methods in the Android SDK: UserManager.isUserAGoat() link: http://developer.android.com/r
by DominikR 13y ago
I definitely love those kind of easter eggs.
There are also similar methods in the Android SDK:
UserManager.isUserAGoat()
link: http://developer.android.com/reference/android/os/UserManager.html#isUserAGoat() http://developer.android.com/reference/android/os/UserManage...
Log.wtf()
link: http://developer.android.com/reference/android/util/Log.html#wtf(java.lang.String http://developer.android.com/reference/android/util/Log.html..., java.lang.Throwable)
AdapterViewFlipper.fyiWillBeAdvancedByHostKThx()
link: http://developer.android.com/reference/android/widget/AdapterViewFlipper.html#fyiWillBeAdvancedByHostKThx() http://developer.android.com/reference/android/widget/Adapte...
- dermatthias 13y agoNot to forget the gravity constants of the Death Star and The Island, defined by the SensorMananger. http://developer.android.com/reference/android/hardware/SensorManager.html#GRAVITY_DEATH_STAR_I http://developer.android.com/reference/android/hardware/Sens... http://developer.android.com/reference/android/hardware/SensorManager.html#GRAVITY_THE_ISLAND http://developer.android.com/reference/android/hardware/Sens...
- DominikR 13y agoI wonder if they seriously discussed internally that gravity constants for other planets were needed in case Android devices would be used in space travel.
- russellsprouts 13y agoWell, there are several on the ISS.
- nwh 13y agoThere'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, that's way uncool.
- raverbashing 13y agoI wonder if this has (or had had) some legal significance. I remember some issues with the Apple II rom being copied and that they had to add a "Copyright Apple" or something similar to the binary data.
- Someone 13y agoThey added stuff to the Mac ROMs in reaction to the copying of Apple II ROMs. See http://www.folklore.org/StoryView.py?story=Stolen_From_Apple.txt http://www.folklore.org/StoryView.py?story=Stolen_From_Apple...
- pcwalton 13y agoThe idea is that this poem is copyrighted as a creative work, and therefore Apple can control its distribution. The actual key contains a copyright message after the poem.
- gizmo686 13y agoIf I recall correctly, they added a watermark to the ROM. The concern was that as adversary could modify the code to make it difficult to prove that it was actually a copy. The watermark was a hidden section of the code which could be executed to demonstrate that the code did in fact originate from Apple. If anyone can confirm/deny this, please do.
- josteink 13y agoEvery Maccard on the planet seems to think pirating OS X is an oh so terrible thing to do (to the point that parent post is bringing up poems about it like its a cute, non-weird thing). At the same time pirating everything else on the planet seemingly is OK. I've never understood the rationale behind this. Keep in mind I'm a software developer myself and run strictly non-pirated software, and open-source as much as possible. You could never make me replace a Linux desktop with a limited OS X experience, and I see no reason what so ever to put in the effort to pirate it. But why is it worse to pirate a OS with bad hardware-support out of the box than pirating... say Microsoft Office? I'm just curious what's up with that.
- saurik 13y agoThese are not the same, as these are left in production. The code names in the iOS binaries were later replaced by their real functionality as it no longer needed to be secret.
- DominikR 13y agoI see, so this is some kind of obfuscation. Thanks for the information.
- danabramov 13y agoThere is also WTF in WebKit source. It stands for Web Template Framework, but it's funny it appears all the time in crash reports: http://google.com/search?q=wtf+webkit+crash http://google.com/search?q=wtf+webkit+crash For example: Thread 2 name: WebThread Thread 2 Crashed: 0 JavaScriptCore 0x32a97d46 WTF::StringImpl::hash() const + 42 1 JavaScriptCore 0x32a97c6a WTF::HashTable<WTF::StringImpl*, WTF::StringImpl*, WTF::IdentityExtractor<WTF::StringImpl*>, WTF::StringHash, WTF::HashTraits<WTF::StringImpl*>, WTF::HashTraits<WTF::StringImpl*> >::lookupForWriting(WTF::StringImpl* const&) + 18 2 JavaScriptCore 0x32a9b028 std::pair<WTF::HashTableIterator<WTF::StringImpl*, WTF::StringImpl*, WTF::IdentityExtractor<WTF::StringImpl*>, WTF::StringHash, WTF::HashTraits<WTF::StringImpl*>, WTF::HashTraits<WTF::StringImpl*> >, bool> WTF::HashTable<WTF::StringImpl*, WTF::StringImpl*, WTF::IdentityExtractor<WTF::StringImpl*>, WTF::StringHash, WTF::HashTraits<WTF::StringImpl*>, WTF::HashTraits<WTF::StringImpl*> >::add<WTF::StringImpl*, WTF::StringImpl*, WTF::IdentityHashTranslator<WTF::StringImpl*, WTF::StringImpl*, WTF::StringHash> >(WTF::StringImpl* const&, WTF::StringImpl* const&) + 448 3 JavaScriptCore 0x32a9ae30 WTF::AtomicString::addSlowCase(WTF::StringImpl*) + 96 4 WebCore 0x31bade0c WebCore::AtomicHTMLToken::initializeAttributes(WTF::Vector<WebCore::HTMLToken::Attribute, 10ul> const&) + 232
- nwh 13y agoYou can also boot an iPhone in WTF mode, though I'm not entirely sure anybody outside of Apple knows what it does. http://theiphonewiki.com/wiki/WTF http://theiphonewiki.com/wiki/WTF
- downandout 13y agoI love how wtf, in Androidland, stands for "What a Terrible Failure"