{"id":245,"date":"2006-03-27T16:26:30","date_gmt":"2006-03-27T21:26:30","guid":{"rendered":"http:\/\/mattclare.ca\/wordpress\/2006\/03\/27\/beos-has-bes\/"},"modified":"2006-03-27T16:31:10","modified_gmt":"2006-03-27T21:31:10","slug":"beos-has-bes","status":"publish","type":"post","link":"https:\/\/mattclare.ca\/blog\/2006\/03\/27\/beos-has-bes\/","title":{"rendered":"BeOS has Bes"},"content":{"rendered":"<p>When I write code I like to make it interesting. For example, a variable<sup>1<\/sup> named $person can just as easily be name $dude. I once wrote a Flash animation with a function<sup>2<\/sup> that created four rings, naturally I called it audi().<\/p>\n<p><small>1 A value that can be set and changed.<br \/>\n2 Bunch of code that does something, written as a function so the function can be executed instead of recreating all of the code in it. Functions are called with their name and brackets at the end in which you can pass values in.<br \/>\n<\/small><\/p>\n<p>It&#8217;s because of this style that I really have to commend BeOS, the operating system created by Be Inc. Not only did Be and it&#8217;s owner, <a href=\"http:\/\/en.wikipedia.org\/wiki\/Jean-Louis_Gass%C3%A9e\">Jean-Louis Gass\u00c3\u0192\u00c2\u00a9e<\/a>, have the Bes to scoff at a mere $200 million when Apple tried to purchase BeOS for OSX and held out for $400 million &#8211; they didn&#8217;t get it.  BeOS also has the following system functions that I could work with:<\/p>\n<p><a href=\"http:\/\/flickr.com\/photos\/roadhunter\/68017745\/\"><img align=\"right\" title=\"Server On Fire\" id=\"image247\" alt=\"Server On Fire\" src=\"http:\/\/mattclare.ca\/wordpress\/wp-content\/uploads\/2006\/03\/68017745_546e6dd592_m.jpg\" \/><\/a><\/p>\n<p><strong><tt><font size=\"+1\">get_system_info()- <\/font><\/tt><\/strong> <small>The <strong><tt>get_system_info()<\/tt><\/strong> function tells you more than you want to know about the physical capacities of your computer&#8230;.<\/small><br \/>\n<strong><tt><font size=\"+1\">is_computer_on(<\/font><\/tt><\/strong><strong><tt><font size=\"+1\">) - <\/font><\/tt><\/strong> <small>Returns 1 if the computer is on.  If the computer isn&#8217;t on, the value returned by this function is undefined.<\/small><br \/>\n<strong><tt><font size=\"+1\">is_computer_on_fire(<\/font><\/tt><\/strong><strong><tt><font size=\"+1\">)- <\/font><\/tt><\/strong><small>Returns the temperature of the motherboard if the computer is currently on fire. If the computer isn&#8217;t on fire, the function returns some other value.<\/small><br clear=\"all\" \/> More at <a href=\"http:\/\/www.tycomsystems.com\/beos\/BeBook\/The%20Kernel%20Kit\/System.html\">http:\/\/www.tycomsystems.com\/beos\/BeBook\/The%20Kernel%20Kit\/System.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I write code I like to make it interesting. For example, a variable1 named $person can just as easily be name $dude. I once wrote a Flash animation with a function2 that created four rings, naturally I called it audi(). 1 A value that can be set and changed. 2 Bunch of code that&hellip; <a class=\"continue\" href=\"https:\/\/mattclare.ca\/blog\/2006\/03\/27\/beos-has-bes\/\">Continue Reading<span> BeOS has Bes<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,1,3],"tags":[],"_links":{"self":[{"href":"https:\/\/mattclare.ca\/blog\/wp-json\/wp\/v2\/posts\/245"}],"collection":[{"href":"https:\/\/mattclare.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattclare.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattclare.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mattclare.ca\/blog\/wp-json\/wp\/v2\/comments?post=245"}],"version-history":[{"count":0,"href":"https:\/\/mattclare.ca\/blog\/wp-json\/wp\/v2\/posts\/245\/revisions"}],"wp:attachment":[{"href":"https:\/\/mattclare.ca\/blog\/wp-json\/wp\/v2\/media?parent=245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattclare.ca\/blog\/wp-json\/wp\/v2\/categories?post=245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattclare.ca\/blog\/wp-json\/wp\/v2\/tags?post=245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}