{"id":672,"date":"2008-09-03T13:32:11","date_gmt":"2008-09-03T11:32:11","guid":{"rendered":"http:\/\/alaskagirl.de\/wordpress\/?p=672"},"modified":"2008-09-03T13:32:11","modified_gmt":"2008-09-03T11:32:11","slug":"spas-beim-arbeiten","status":"publish","type":"post","link":"https:\/\/alaskagirl.de\/wordpress\/spas-beim-arbeiten\/","title":{"rendered":"Spa\u00df beim Arbeiten"},"content":{"rendered":"<p>Ich war die letzten beiden Tage mal wieder unterwegs in Deutschland. Wer we<a rel=\"lightbox\" href=\"https:\/\/i0.wp.com\/alaskagirl.de\/wordpress\/Bilder\/Foto-0408.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignright\" style=\"margin: 5px; float: right;\" src=\"https:\/\/i0.wp.com\/alaskagirl.de\/wordpress\/Bilder\/Foto-0408.jpg?resize=250%2C250\" alt=\"\" width=\"250\" height=\"250\" \/><\/a>i\u00df wo das Haus, in dem ich \u00fcbrigens auch gerne ne Wohnung h\u00e4tte, wenn es in Karlsruhe stehen w\u00fcrde, steht, wei\u00df auch wo ich war. Jedenfalls war ich zum Arbeiten da und hab die Stadt nur im Vorbeigehen kurz sehen k\u00f6nnen. Bei der Arbeit hatte ich daf\u00fcr ziemlich Spa\u00df. Ich habe versucht ein Matlabscript zu schreiben um meine Messdaten besonders sch\u00f6n darzustellen. Aus irgendeinem mir immernoch unbekannten Grund, schrieb Matlab aber nur NaN (not a number) in die Matrix. Weil ich dar\u00fcber so verzweifelt war, tippte ich im Command Window &#8222;warum&#8220; ein. Das kannte Matlab nat\u00fcrlich nicht und in einem Anflug von Wahnwitz, formulierte ich meine Frage dann auf englisch: &#8222;Why&#8220;. Und ich bekam Antwort. &#8222;Pete wanted it that way.&#8220; gab Matlab aus. Ich war so begeistert, dass ich gleich nochmal &#8222;why&#8220; frug. Und nochmal, und nochmal. Matlab generierte daraufhin immer neue Antworten, die meistens sogar Sinn ergaben. Meine Favorits waren &#8222;The computer did it.&#8220;, &#8222;To satisfy the smart and terrified hamster.&#8220;, &#8222;How should I know?&#8220; und &#8222;In the beginning, God created the heavens and the earth&#8230;&#8220;.<\/p>\n<p>Die zugeh\u00f6rige Helpdatei und die why.m-Datei habe ich mir dann auch mal angeschaut.<\/p>\n<blockquote><p>&gt;&gt;help why<br \/>\nWHY    Provides succinct answers to almost any question.<br \/>\nWHY, by itself, provides a random answer.<br \/>\nWHY(N) provides the N-th answer.<br \/>\nPlease embellish or modify this function to suit your own tastes.<\/p><\/blockquote>\n<p>Spektakul\u00e4r, dass da tats\u00e4chlich ein Programmierer Zeit damit verbracht hat das zu programmieren. Allerdings hat sich&#8217;s wirklich gelohnt. Mein \u00c4rger auf Matlab war verflogen (obwohl das Problem seit dem auf Eis liegt).<br \/>\nHier noch ein Auszug aus dem m-file. Die special_cases finde ich n\u00e4mlich am Besten.<\/p>\n<blockquote><p>function a = special_case<br \/>\nswitch fix(12*rand)<br \/>\n    case 0,   a = &#8218;why not?&#8216;;<br \/>\n    case 1,   a = &#8218;don&#8220;t ask!&#8216;;<br \/>\n    case 2,   a = &#8218;it&#8220;s your karma.&#8216;;<br \/>\n    case 3,   a = &#8217;stupid question!&#8216;;<br \/>\n    case 4,   a = &#8218;how should I know?&#8216;;<br \/>\n    case 5,   a = &#8218;can you rephrase that?&#8216;;<br \/>\n    case 6,   a = &#8218;it should be obvious.&#8216;;<br \/>\n    case 7,   a = &#8218;the devil made me do it.&#8216;;<br \/>\n    case 8,   a = &#8218;the computer did it.&#8216;;<br \/>\n    case 9,   a = &#8218;the customer is always right.&#8216;;<br \/>\n    case 10,  a = &#8218;in the beginning, God created the heavens and the earth&#8230;&#8216;;<br \/>\n    otherwise,a = &#8218;don&#8220;t you have something better to do?&#8216;;<br \/>\nend\n<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Ich war die letzten beiden Tage mal wieder unterwegs in Deutschland. Wer wei\u00df wo das Haus, in dem ich \u00fcbrigens auch gerne ne Wohnung h\u00e4tte, wenn es in Karlsruhe stehen w\u00fcrde, steht, wei\u00df auch wo ich war. Jedenfalls war ich zum Arbeiten da und hab die Stadt nur im Vorbeigehen kurz sehen k\u00f6nnen. Bei der [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[47],"tags":[],"class_list":["post-672","post","type-post","status-publish","format-standard","hentry","category-zum-lachen"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/alaskagirl.de\/wordpress\/wp-json\/wp\/v2\/posts\/672","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alaskagirl.de\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alaskagirl.de\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alaskagirl.de\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alaskagirl.de\/wordpress\/wp-json\/wp\/v2\/comments?post=672"}],"version-history":[{"count":0,"href":"https:\/\/alaskagirl.de\/wordpress\/wp-json\/wp\/v2\/posts\/672\/revisions"}],"wp:attachment":[{"href":"https:\/\/alaskagirl.de\/wordpress\/wp-json\/wp\/v2\/media?parent=672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alaskagirl.de\/wordpress\/wp-json\/wp\/v2\/categories?post=672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alaskagirl.de\/wordpress\/wp-json\/wp\/v2\/tags?post=672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}