{"id":426,"date":"2009-10-06T03:39:29","date_gmt":"2009-10-06T08:39:29","guid":{"rendered":"http:\/\/vgable.com\/blog\/?p=426"},"modified":"2009-10-06T03:43:54","modified_gmt":"2009-10-06T08:43:54","slug":"yum","status":"publish","type":"post","link":"https:\/\/vgable.com\/blog\/2009\/10\/06\/yum\/","title":{"rendered":"&#8216;Yum!&#8217;"},"content":{"rendered":"<p>I give <a href=\"http:\/\/vgable.com\/blog\/2008\/07\/10\/money-and-sales-are-not-a-metric-for-good\/\">Microsoft&#8217;s current Mac software<\/a> <a href=\"http:\/\/vgable.com\/blog\/2008\/10\/11\/steve-ballmer-admits-microsoft-office-for-mac-is-shitty\/\">some shit<\/a>, but I think it&#8217;s deserved. So it&#8217;s only fair I mention their glory days.<\/p>\n<p>From <a href=\"http:\/\/en.wikipedia.org\/wiki\/Mac_OS_8#Mac_OS_8.1\">&#8220;Classic&#8221; Mac OS 8.1<\/a> in 1998 through <a href=\"http:\/\/en.wikipedia.org\/wiki\/Mac_OS_X_v10.2\">Mac OS X 10.2<\/a> <strong>Microsoft&#8217;s <a href=\"http:\/\/en.wikipedia.org\/wiki\/Internet_Explorer_for_Mac\">Internet Explorer (for Mac)<\/a> was the default web browser Apple chose for Mac OS<\/strong>.  The very fist iMac? It came with IE:mac, just like the first version of Mac OS X.<\/p>\n<p>And IE:mac wasn&#8217;t so bad, for it&#8217;s era. (It was the first browser to have color correcting PNGs, by the way!) There was one really neat feature that I think is worth calling out: <strong>it would match your iMac&#8217;s color, automagically.<\/strong><\/p>\n<h3>Technical Details That I Only Half Remember<\/h3>\n<p><strong>If you have a better understanding of how this worked, please let me know!<\/strong> I couldn&#8217;t find any details online. Mostly, I&#8217;m writing down what I remember before I forget.<\/p>\n<p>The poorly named <code><a href=\"http:\/\/developer.apple.com\/mac\/library\/documentation\/Carbon\/Reference\/Gestalt_Manager\/Reference\/reference.html#\/\/apple_ref\/doc\/uid\/TP30000036-CH1g-F01632\">Gestalt<\/a><\/code> function lets you check information about the Mac OS runtime, like &#8220;<a href=\"http:\/\/vgable.com\/blog\/2008\/05\/04\/getting-mac-os-x-version-information\/\">what version of Mac OS is this?<\/a>&#8220;. You pass it a <a href=\"http:\/\/vgable.com\/blog\/2008\/04\/23\/printing-a-fourcharcode\/\"><code>FourCharCode<\/code><\/a>, and replies with a 32-bit value or an error code &#8212; old stuff from the &#8220;Classic&#8221; Mac OS days.<\/p>\n<p>There was an <em>undocumented<\/em> code, <code>'yum!'<\/code> <sup>1<\/sup>, that returned the color of an the iMac or iBook case. IE:mac would check this when it first started, and choose a color scheme to match the operator&#8217;s Mac. It was a seamless personal touch that really impressed me.<\/p>\n<p>It&#8217;s the sort of thing I&#8217;d like to see more of on today&#8217;s multi-colored iPods and iPhones.<\/p>\n<p><sup>1<\/sup><small>It might have been <code>'Yum!'<\/code>, I don&#8217;t remember exactly, and <code>Gestalt()<\/code> returns <code>gestaltUndefSelectorErr<\/code>, <code>-5551<\/code>, for all of variations on my MacBook Pro under Snow Leopard.<\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I give Microsoft&#8217;s current Mac software some shit, but I think it&#8217;s deserved. So it&#8217;s only fair I mention their glory days. From &#8220;Classic&#8221; Mac OS 8.1 in 1998 through Mac OS X 10.2 Microsoft&#8217;s Internet Explorer (for Mac) was the default web browser Apple chose for Mac OS. The very fist iMac? It came [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,203,3,4],"tags":[304,305,420,113,453,96],"class_list":["post-426","post","type-post","status-publish","format-standard","hentry","category-design","category-iphone","category-macosx","category-programming","tag-color","tag-history","tag-internet-explorer","tag-mac","tag-memories","tag-microsoft"],"_links":{"self":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts\/426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/comments?post=426"}],"version-history":[{"count":3,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts\/426\/revisions"}],"predecessor-version":[{"id":429,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts\/426\/revisions\/429"}],"wp:attachment":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/media?parent=426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/categories?post=426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/tags?post=426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}