<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Scratchbook &#187; Informatik</title> <atom:link href="http://scratchbook.ch/category/informatik/feed/" rel="self" type="application/rss+xml" /><link>http://scratchbook.ch</link> <description>Das Leben ist immer anders als die Realität.</description> <lastBuildDate>Thu, 02 Feb 2012 18:53:26 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>7XX HTTP Status codes</title><link>http://scratchbook.ch/2012/01/24/7xx-http-status-codes/</link> <comments>http://scratchbook.ch/2012/01/24/7xx-http-status-codes/#comments</comments> <pubDate>Tue, 24 Jan 2012 08:55:50 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Humor]]></category> <category><![CDATA[Informatik]]></category> <category><![CDATA[Webentwicklung]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11438</guid> <description><![CDATA[Es gibt neue HTTP Statuscodes. There are many ways for a developer to screw up their implementation, but no code to share the nature of the error with the end user. We humbly suggest the following status codes are included in the HTTP spec in the 7XX range. 70X &#8211; Inexcusable 701 &#8211; Meh 702 [...]]]></description> <content:encoded><![CDATA[<p>Es gibt neue HTTP Statuscodes. <img src='http://scratchbook.ch/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p><blockquote><p>There are many ways for a developer to screw up their implementation, but no code to share the nature of the error with the end user.</p><p>We humbly suggest the following status codes are included in the HTTP spec in the 7XX range.</p></blockquote><p><span id="more-11438"></span><ul><li>70X &#8211; Inexcusable<ul><li>701 &#8211; Meh</li><li>702 &#8211; Emacs</li></ul></li><li>71X &#8211; Novelty Implementations<ul><li>710 &#8211; PHP</li><li>711 &#8211; Convenience Store</li><li>719 &#8211; I am not a teapot</li></ul></li><li>72X &#8211; Edge Cases<ul><li>720 &#8211; Unpossible</li><li>721 &#8211; Known Unknowns</li><li>722 &#8211; Unknown Unknowns</li><li>723 &#8211; Tricky</li><li>724 &#8211; This line should be unreachable</li><li>725 &#8211; It works on my machine</li><li>726 &#8211; It&#8217;s a feature, not a bug</li></ul></li><li>73X &#8211; Fucking<ul><li>731 &#8211; Fucking Rubygems</li><li>732 &#8211; Fucking Unicode</li><li>733 &#8211; Fucking Deadlocks</li><li>734 &#8211; Fucking Deferreds</li><li>735 &#8211; Fucking IE</li><li>736 &#8211; Fucking Race Conditions</li><li>737 &#8211; FuckThreadsing</li><li>738 &#8211; Fucking Bundler</li><li>739 &#8211; Fucking Windows</li></ul></li><li>74X &#8211; Meme Driven<ul><li>741 &#8211; Compiling</li><li>742 &#8211; A kitten dies</li><li>743 &#8211; I thought I knew regular expressions</li><li>744 &#8211; Y U NO write integration tests?</li><li>745 &#8211; I don&#8217;t always test my code, but when I do I do it in production</li><li>746 &#8211; Missed Ballmer Peak</li><li>747 &#8211; Motherfucking Snakes on the Motherfucking Plane</li><li>748 &#8211; Confounded by Ponies</li><li>749 &#8211; Reserved for Chuck Norris</li></ul></li><li>75X &#8211; Syntax Errors<ul><li>750 &#8211; Didn&#8217;t bother to compile it</li><li>753 &#8211; Syntax Error</li></ul></li><li>76X &#8211; Substance-Affected Developer<ul><li>761 &#8211; Hungover</li><li>762 &#8211; Stoned</li><li>763 &#8211; Under-Caffeinated</li><li>764 &#8211; Over-Caffeinated</li><li>765 &#8211; Railscamp</li><li>766 &#8211; Sober</li><li>767 &#8211; Drunk</li></ul></li><li>77X &#8211; Predictable Problems<ul><li>771 &#8211; Cached for too long</li><li>772 &#8211; Not cached long enough</li><li>773 &#8211; Not cached at all</li><li>774 &#8211; Why was this cached?</li><li>776 &#8211; Error on the Exception</li><li>777 &#8211; Coincidence</li><li>778 &#8211; Off By One Error</li><li>779 &#8211; Off By Too Many To Count Error</li></ul></li><li>78X &#8211; Somebody Else&#8217;s Problem<ul><li>781 &#8211; Operations</li><li>782 &#8211; QA</li><li>783 &#8211; It was a customer request, honestly</li><li>784 &#8211; Management, obviously</li><li>785 &#8211; TPS Cover Sheet not attached</li></ul></li><li>79X &#8211; Internet crashed<ul><li>797 &#8211; This is the last page of the Internet. Go back</li><li>799 &#8211; End of the world</li></ul></li></ul><p><a href="https://github.com/joho/7XX-rfc">github.com/joho/7XX-rfc</a></p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2012/01/24/7xx-http-status-codes/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Wenn es dunkel wird&#8230;</title><link>http://scratchbook.ch/2012/01/18/wenn-es-dunkel-wird/</link> <comments>http://scratchbook.ch/2012/01/18/wenn-es-dunkel-wird/#comments</comments> <pubDate>Wed, 18 Jan 2012 11:00:34 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Aktivitäten]]></category> <category><![CDATA[Informatik]]></category> <category><![CDATA[Nachdenklich]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11431</guid> <description><![CDATA[Die Freiheit des Internets ist in Gefahr. Der zurzeit im US-Kongress diskutierte Gesetzesantrag SOPA (Stop Online Piracy Act) bedroht die Existenz von Wikipedia. Mit der Begründung, Urheberrechte schützen zu wollen, sind Maßnahmen vorgesehen, deren Anwendung Zensur bedeutet. Die englischsprachige Wikipedia ist heute aus Protest gegen dieses Vorhaben abgeschaltet. Auch die deutschsprachige Wikipedia ist vom Gesetzesvorhaben [...]]]></description> <content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-11432" title="blackout" src="http://scratchbook.ch/wp-content/uploads/2012/01/blackout-300x259.jpg" alt="" width="300" height="259" /></p><blockquote><p>Die Freiheit des Internets ist in Gefahr.</p><p>Der zurzeit im US-Kongress diskutierte Gesetzesantrag SOPA (Stop Online Piracy Act) bedroht die Existenz von Wikipedia. Mit der Begründung, Urheberrechte schützen zu wollen, sind Maßnahmen vorgesehen, deren Anwendung Zensur bedeutet.</p><p>Die englischsprachige Wikipedia ist heute aus Protest gegen dieses Vorhaben abgeschaltet. Auch die deutschsprachige Wikipedia ist vom Gesetzesvorhaben betroffen.</p><p>Wie viele andere Websites auch machen wir daher klar:</p><p><strong><a href="http://blacklists.eff.org/">Das Internet darf nicht zensiert werden!</a></strong></p></blockquote><p>Das Gesetz wurde auf Bestrebungen der Lobbyorganisation Motion Picture Association of America (MPAA) hin ausgearbeitet, die Teile der amerikanischen Filmindustrie vertritt. Es soll dem Online-Filesharing und den damit verbundenen angeblichen Urheberrechtsverletzungen einen Riegel vorschieben. Tatsächlich werden aber Millionen von unbescholtenen Bürgern kriminalisiert und demokratische Rechte abgebaut. So soll es ermöglicht werden, Seiten einfach abzuschalten, sobald sie auch nur ansatzweise Links auf Seiten mit durch die MPAA nicht erwünschten Inhalten beinhalten. Des Weiteren sollen Inserenten verpflichtet werden, ihre Anzeigen nicht mehr auf Seiten zu schalten, die sich angeblicher Urheberrechtsverletzungen schuldig machen.</p><p>Um die geforderten Massnahmen umzusetzen, müssten Kommunikationsdienstleister ihre Kunden und deren Kommunikation in einem Umfang kontrollieren, der nicht mit freiheitlich-demokratischen Werten vereinbar ist. Freier Informationsaustausch im Internet wird damit effektiv unterbunden. Die MPAA widerspricht diesen anti-demokratischen Tendenzen gar nicht erst, sondern weist vielmehr darauf hin, dass sich der von ihr vorgeschlagene Überwachungs- und Filtermechanismus schon in Ländern wie China, dem Iran oder Syrien bewährt habe, welche für ihre Unterdrückung der freien Rede und Zensur bekannt sind.</p><p>Das aktuelle Vorhaben der USA geht weit über ein Verbot von File-Sharing im Internet hinaus. Das Gesetz schränkt die Möglichkeit, am Gedankenaustausch im Internet, der weltweiten Kommunikation und der Teilhabe am Kulturgut Sprache und Medien derart ein, dass für Jedermann drastische Einschränkungen zu erwarten sind.</p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2012/01/18/wenn-es-dunkel-wird/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Filesharing ist jetzt eine Religion.</title><link>http://scratchbook.ch/2012/01/05/filesharing-ist-jetzt-eine-religion/</link> <comments>http://scratchbook.ch/2012/01/05/filesharing-ist-jetzt-eine-religion/#comments</comments> <pubDate>Thu, 05 Jan 2012 07:29:14 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Erfreulich]]></category> <category><![CDATA[Humor]]></category> <category><![CDATA[Informatik]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11421</guid> <description><![CDATA[Ein paar Piraten haben in Schweden File-Sharing als Religion angemeldet. Die Religion nennt sich &#8220;Church of Kopimism&#8221; und hält CTRL+C und CTRL+V für heilige Symbole. Since 2010 a group of self-confessed pirates have tried to get their beliefs recognized as an official religion in Sweden. After their request was denied several times, the Church of [...]]]></description> <content:encoded><![CDATA[<p><img src="http://scratchbook.ch/wp-content/uploads/2012/01/kopimichurch.jpeg" alt="" title="" width="475" height="116" class="alignnone size-full wp-image-11422" /></p><p>Ein paar Piraten haben in Schweden File-Sharing als Religion angemeldet. Die Religion nennt sich &#8220;Church of Kopimism&#8221; und hält CTRL+C und CTRL+V für heilige Symbole.</p><blockquote><p>Since 2010 a group of self-confessed pirates have tried to get their beliefs recognized as an official religion in Sweden. After their request was denied several times, the Church of Kopimism – which holds CTRL+C and CTRL+V as sacred symbols – is now approved by the authorities as an official religion. The Church hopes that its official status will remove the legal stigma that surrounds file-sharing.</p></blockquote><p><a href="http://kopimistsamfundet.se/">kopimistsamfundet.se</a></p><p>Amen.</p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2012/01/05/filesharing-ist-jetzt-eine-religion/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Antiforensik</title><link>http://scratchbook.ch/2011/12/30/antiforensik/</link> <comments>http://scratchbook.ch/2011/12/30/antiforensik/#comments</comments> <pubDate>Fri, 30 Dec 2011 13:06:51 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Erfreulich]]></category> <category><![CDATA[Informatik]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11418</guid> <description><![CDATA[[Im Feed kann dieses Video nicht angezeigt werden.Klicke zum Blogeintrag um das Video anzusehen.] Antiforensik ist ein noch eher neues Thema und bekommt zunehmend mehr Bedeutung. IT-Forensik als Mittel zur Aufklärung von Sachverhalten kann vor Gericht aber auch in internen Ermittlungen maßgeblich für Freisprüche oder Schuldsprüche sorgen. Daher ist es besonders schlimm, wenn die dazu [...]]]></description> <content:encoded><![CDATA[<p>[Im Feed kann dieses Video nicht angezeigt werden.<a href="http://scratchbook.ch/2011/12/30/antiforensik/">Klicke zum Blogeintrag um das Video anzusehen.]</a></p><p>Antiforensik ist ein noch eher neues Thema und bekommt zunehmend mehr Bedeutung. IT-Forensik als Mittel zur Aufklärung von Sachverhalten kann vor Gericht aber auch in internen Ermittlungen maßgeblich für Freisprüche oder Schuldsprüche sorgen. Daher ist es besonders schlimm, wenn die dazu verwendeten Programme nicht korrekt arbeiten und sogar mit präparierten antiforensischen Aktionen angegriffen werden können. Der Vortrag zeigt eine bisher unbekannte und dennoch technisch einfache Sicherheitslücke in mindestens einer weltweit verwendeten Forensik-Suite und wie diese ausgenutzt werden kann: Hinzufügen von Ermittlungsergebnissen, Löschen/Verändern von Ermittlungsergebnissen, Infektion des Auswertesystems mit Malware.</p><p>Antiforensik ist ein noch eher neues Thema und bekommt mehr Bedeutung in dem Maße, wie IT-Forensik an Bedeutung gewinnt. IT-Forensik als Mittel zur Aufklärung von Sachverhalten kann vor Gericht aber auch in internen Ermittlungen maßgeblich für Freisprüche oder Schuldsprüche sorgen. Die Anforderungen an die Korrektheit der verwendeten Programme und der eigenen Arbeitsweise sind daher besonders hoch. Personen, die eine IT-forensische Auswertung ihrer Computer und IT-Systeme befürchten, verwenden Maßnahmen der Antiforensik, um zukünftige Ermittlungen zu sabotieren oder wenigstens zu erschweren.</p><p>Antiforensik kann z.B. bedeuten, Spuren wie Zeitstempel zu vernichten, damit eine spätere Auswertung nicht mehr möglich ist. Besonders schwerwiegend sind Aktionen, wenn sie die Auswertesysteme eines IT-Forensikers so angreifen, dass unbemerkt Ermittlungsergebnisse manipuliert werden. Der Vortrag soll eine Sicherheitslücke in einer weltweit verwendeten Forensik-Suite zeigen und diese ausnutzen, um nachträglich Informationen in forensische Berichte einzufügen, Informationen zu entfernen und den Auswerte-PC unbemerkt mit Malware zu infizieren. Der dazu nötige Angriff ist technisch sogar sehr einfach. Eine vergleichbare Lücke gibt es auch in einem behördenintern verwendeten Programm, welche nach Möglichkeit auch vorgestellt werden soll. Zwei Forensik-Suites aus dem US-Markt müssen noch auf Lücken untersucht werden.</p><p>Der Vortrag soll die neu gefundene Lücke in den beiden Programmen vorstellen und ausnutzen und vorab kurz in das Thema Antiforensik einführen, inkl. kurzer Vorstellung des aktuellen Stand der Technik. Falls auch die US-Programme anfällig sind, sollen die entsprechenden Funde vorgestellt werden.</p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/12/30/antiforensik/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>BuggedPlanet</title><link>http://scratchbook.ch/2011/12/28/buggedplanet/</link> <comments>http://scratchbook.ch/2011/12/28/buggedplanet/#comments</comments> <pubDate>Wed, 28 Dec 2011 22:47:52 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Freie Informationen]]></category> <category><![CDATA[Informatik]]></category> <category><![CDATA[Pfeifferisches Menschenfieber]]></category> <category><![CDATA[Politik]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11414</guid> <description><![CDATA[BuggedPlanet.Info is a small Wiki that tries to list and track down the activities of the surveillance industry in the fields of &#8220;Lawful Interception&#8221;, Signals Intelligence (SIGINT), Communications Intelligence (COMINT) and related fields to gain access to data from telecommunication systems. In this talk I want to explain the idea behind the project and also [...]]]></description> <content:encoded><![CDATA[<p><a href="http://buggedplanet.info/index.php?title=Main_Page">BuggedPlanet.Info</a> is a small Wiki that tries to list and track down the activities of the surveillance industry in the fields of &#8220;Lawful Interception&#8221;, Signals Intelligence (SIGINT), Communications Intelligence (COMINT) and related fields to gain access to data from telecommunication systems. In this talk I want to explain the idea behind the project and also discuss some bbservations made between industrial activites and governmental actings.</p><p>[Im Feed kann dieses Video nicht angezeigt werden.<a href="http://scratchbook.ch/2011/12/28/buggedplanet/">Klicke zum Blogeintrag um das Video anzusehen.]</a></p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/12/28/buggedplanet/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Gefährliche Datenhaufen</title><link>http://scratchbook.ch/2011/12/28/gefahrliche-datenhaufen/</link> <comments>http://scratchbook.ch/2011/12/28/gefahrliche-datenhaufen/#comments</comments> <pubDate>Wed, 28 Dec 2011 22:45:13 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Informatik]]></category> <category><![CDATA[Nachdenklich]]></category> <category><![CDATA[Pfeifferisches Menschenfieber]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11413</guid> <description><![CDATA[Redbeard zeigt uns, was man so alles mit grossen Datensammlungen anstellen kann&#8230; [Im Feed kann dieses Video nicht angezeigt werden.Klicke zum Blogeintrag um das Video anzusehen.]]]></description> <content:encoded><![CDATA[<p>Redbeard zeigt uns, was man so alles mit grossen Datensammlungen anstellen kann&#8230;</p><p>[Im Feed kann dieses Video nicht angezeigt werden.<a href="http://scratchbook.ch/2011/12/28/gefahrliche-datenhaufen/">Klicke zum Blogeintrag um das Video anzusehen.]</a></p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/12/28/gefahrliche-datenhaufen/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Raketentechnologie.</title><link>http://scratchbook.ch/2011/12/06/raketentechnologie/</link> <comments>http://scratchbook.ch/2011/12/06/raketentechnologie/#comments</comments> <pubDate>Tue, 06 Dec 2011 10:18:28 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Basteleien]]></category> <category><![CDATA[Informatik]]></category> <category><![CDATA[Pfeifferisches Menschenfieber]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11376</guid> <description><![CDATA[hybris applications run on Apache Tomcat, offering our customers best performance, least memory usage and fastest development.]]></description> <content:encoded><![CDATA[<p><img src="http://scratchbook.ch/wp-content/uploads/2011/12/Bildschirmfoto-2011-12-06-um-09.38.27-Kopie-618x177.jpg" alt="" title="" width="618" height="177" class="alignnone size-large wp-image-11377" /></p><blockquote><p>hybris applications run on Apache Tomcat, offering our customers <strong>best performance, least memory usage</strong> and fastest development.</p></blockquote> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/12/06/raketentechnologie/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Can you help me with this SQL-Query?</title><link>http://scratchbook.ch/2011/10/25/can-you-help-me-with-this-sql-query/</link> <comments>http://scratchbook.ch/2011/10/25/can-you-help-me-with-this-sql-query/#comments</comments> <pubDate>Tue, 25 Oct 2011 14:07:21 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Humor]]></category> <category><![CDATA[Informatik]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11330</guid> <description><![CDATA[Jeroen&#8217;s colleague had the misfortune of being assigned to debug an intermittent, unspecified error in the one of the oldest of the legacy applications. &#8220;The good news is that I&#8217;ve isolated it to a database query,&#8221; he told Jeroen, &#8220;the bad news is that I&#8217;ve isolated it to a database query.&#8221; Knowing that his colleague [...]]]></description> <content:encoded><![CDATA[<p>Jeroen&#8217;s colleague had the misfortune of being assigned to debug an intermittent, unspecified error in the one of the oldest of the legacy applications.<br /> &#8220;The good news is that I&#8217;ve isolated it to a database query,&#8221; he told Jeroen,<br /> &#8220;the bad news is that I&#8217;ve isolated it to a database query.&#8221;</p><p>Knowing that his colleague wasn&#8217;t a big fan of databases, Jeroen offered his assistance. In response, he received the following image.</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/10/query-618x348.jpg" alt="" title="query" width="618" height="348" class="alignnone size-large wp-image-11331" /></p><p>xD</p><p>Legacy Hostapplikationen. Enjoy!</p><p><a href="http://thedailywtf.com/Articles/The-Query-of-Despair.aspx">.</a></p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/10/25/can-you-help-me-with-this-sql-query/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Richard Stallman: A Free Digital Society</title><link>http://scratchbook.ch/2011/10/17/richard-stallman-a-free-digital-society/</link> <comments>http://scratchbook.ch/2011/10/17/richard-stallman-a-free-digital-society/#comments</comments> <pubDate>Mon, 17 Oct 2011 18:15:13 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Informatik]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11270</guid> <description><![CDATA[]]></description> <content:encoded><![CDATA[<p><a href="https://www1.ethz.ch/foss/news/rms"><img src="http://scratchbook.ch/wp-content/uploads/2011/10/VeranstaltungsPlakat_2011-10-18.png" alt="" title="VeranstaltungsPlakat_2011-10-18" width="507" height="719" class="alignnone size-full wp-image-11271" /></a></p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/10/17/richard-stallman-a-free-digital-society/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Nein. Nein. Nein.</title><link>http://scratchbook.ch/2011/10/11/nein-nein-nein/</link> <comments>http://scratchbook.ch/2011/10/11/nein-nein-nein/#comments</comments> <pubDate>Tue, 11 Oct 2011 11:11:37 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Informatik]]></category> <category><![CDATA[Pfeifferisches Menschenfieber]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11198</guid> <description><![CDATA[Was passiert, wenn studierte Enterprise-vergewaltigte OOP-Sektenmitglieder ihre Pattern-Ergüsse auf Javascript giessen? Ich hoffe Ihr habt schon gegessen. Das folgende verdirbt Euch den Appetit&#8230; Haltet Euch fest: Genau das meine ich. Chunt kei Sau drus. Getter&#8230;Setter&#8230;Iterator&#8230;Proxypättern&#8230; yeah motherfucker! 17&#8217;000 Zeilen Code. Alles in einer Datei. Und das Programm erzeugt folgende Ausgabe: Hello World. Verdammte Scheisse. Jetzt [...]]]></description> <content:encoded><![CDATA[<p>Was passiert, wenn studierte Enterprise-vergewaltigte <a href="http://scratchbook.ch/2011/03/23/ooa-ood-oop-oooops-die-oop-sekte/">OOP-Sektenmitglieder</a> ihre Pattern-Ergüsse auf Javascript giessen?</p><p>Ich hoffe Ihr habt schon gegessen. Das folgende verdirbt Euch den Appetit&#8230;</p><p>Haltet Euch fest:</p><p><span id="more-11198"></span><a href="http://scratchbook.ch/wp-content/uploads/2011/10/Bildschirmfoto-2011-10-11-um-12.09.24.jpg"><img src="http://scratchbook.ch/wp-content/uploads/2011/10/Bildschirmfoto-2011-10-11-um-12.09.24-618x812.jpg" alt="" title="Bildschirmfoto 2011-10-11 um 12.09.24" width="618" height="812" class="alignnone size-large wp-image-11199" /></a></p><p>Genau das meine ich. Chunt kei Sau drus.</p><p>Getter&#8230;Setter&#8230;Iterator&#8230;Proxypättern&#8230; yeah motherfucker!</p><p>17&#8217;000 Zeilen Code. Alles in einer Datei. Und das Programm erzeugt folgende Ausgabe:</p><blockquote><p>Hello World.</p></blockquote><p><img src="http://scratchbook.ch/wp-content/uploads/2011/10/687474703a2f2f696d616765732e6d656d6567656e657261746f722e6e65742f696e7374616e6365732f343030782f31303534333730302e6a7067.jpeg" alt="" title="" width="400" height="400" class="alignnone size-full wp-image-11200" /></p><p>Verdammte Scheisse. Jetzt hab ich mich doch ausführlich über diese defekten Hirnstrukturen ausgelassen. Und: SIE MACHEN GENAU DAS!!?!</p><p>Ich zitiere 1:1 aus dem <a href="http://scratchbook.ch/2011/03/23/ooa-ood-oop-oooops-die-oop-sekte/">ursprünglichen Beitrag</a>:</p><blockquote><p>Aber nein, so geht das doch nicht. Was wir brauchen, sind möglichst komplizierte Strukturen und Muster, die überhaupt niemand mehr ausser der Autor selbst checkt, damits softwarearchitektonisch schön ist und die Wartbarkeit erhöht wird.</p><p>Und wenn man dann genug Singletons mit der Abstract Factory instanziiert hat, welche die Facade durch den Proxy decoraten, damit der Mediator den Observer nicht beim visiten des Mementos dependency-injected, dann kann das Data Access Object mit dem Plugin via Null Object Flyweight durch das Composite iterieren und das emitten, was man eigentlich ursprünglich wollte:</p><p>Hello World.</p></blockquote><h2>Dart. Ein Albtraum ist Wirklichkeit geworden.</h2><p><img src="http://scratchbook.ch/wp-content/uploads/2011/10/687474703a2f2f696d616765732e6d656d6567656e657261746f722e6e65742f696e7374616e6365732f343030782f31303534373133382e6a7067.jpeg" alt="" title="" width="400" height="264" class="alignnone size-full wp-image-11201" /></p><div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">DateImplementation$Dart.<span style="color: #660066;">DateImplementation</span>$$Factory <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>years<span style="color: #339933;">,</span> month<span style="color: #339933;">,</span> day<span style="color: #339933;">,</span> hours<span style="color: #339933;">,</span> minutes<span style="color: #339933;">,</span> seconds<span style="color: #339933;">,</span> milliseconds<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
  <span style="color: #000066; font-weight: bold;">return</span> DateImplementation$Dart.<span style="color: #660066;">DateImplementation</span>$withTimeZone$18$Factory<span style="color: #009900;">&#40;</span>years<span style="color: #339933;">,</span> month<span style="color: #339933;">,</span> day<span style="color: #339933;">,</span> hours<span style="color: #339933;">,</span> minutes<span style="color: #339933;">,</span> seconds<span style="color: #339933;">,</span> milliseconds<span style="color: #339933;">,</span> TimeZoneImplementation$Dart.<span style="color: #660066;">TimeZoneImplementation</span>$local$22$Factory<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div><p>Man hat eine Implementation. Für jedes Stäubchen. Und eine Factory. Und Funktionen mit gefühlt tausend Parametern.</p><p>Sogar für Vergleichsoperatoren gibt es eine Funktion:</p><div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">Number.<span style="color: #660066;">prototype</span>.<span style="color: #660066;">BIT_AND</span>$operator <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>other<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
  <span style="color: #000066; font-weight: bold;">return</span> native_NumberImplementation_BIT_AND.<span style="color: #660066;">call</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #339933;">,</span> other<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
HashMapImplementation$Dart._firstProbe$$member_ <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>hashCode<span style="color: #339933;">,</span> length_0<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
  <span style="color: #000066; font-weight: bold;">return</span> BIT_AND$operator<span style="color: #009900;">&#40;</span>hashCode<span style="color: #339933;">,</span> SUB$operator<span style="color: #009900;">&#40;</span>length_0<span style="color: #339933;">,</span> <span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div><p>Nein. Nein. Nein. Das darf doch alles nicht wahr sein!</p><p>Da hört man begeistert einem <a href="https://twitter.com/#!/claudehohl/status/112109782332219393">tollen Vortrag über Clean Code</a> zu. Und dann Dart.<br /> Sämtliche <a href="http://de.wikipedia.org/wiki/Anti-Pattern">Anti-Patterns</a> sind da vertreten.</p><p>Jetzt kommt aber das Beste. Der Schrott kommt tatsächlich von Google!</p><blockquote><p><strong>Dart: Google stellt moderne Javascript-Alternative vor</strong><br /> Google hat wie erwartet mit Dart eine neue Sprache zur strukturierten Webprogrammierung als Alternative zu Javascript vorgestellt. Entwickelt haben sie unter anderem V8-Entwickler Lars Bak und Gilad Bracha, Erfinder von Newspeak und Mitautor der Java-Spezifikation.</p></blockquote><p>&#8220;Mitautor der Java-Spezifikation&#8221; &#8211; alles klar. Das sieht man auf den ersten Blick, dass da dumme Java-Entwickler im Spiel sind. Neinnnnnnnn &#8211; und sie vergewaltigen Javascript! Neineineinnnnnnnnnnnnnnn!</p><p>Geht doch zurück in eure IDE. Macht weiter an euren 700-Terabyte-RAM-fressenden-Enterprise-Hostapplikationen. Zeichnet ERDs. Malt UML-Diagramme auf 1000 A0 Seiten. Macht was ihr wollt. Aber lasst bitte, bitte die Finger von Javascript!</p><h2>Ein Zückerchen zum Schluss</h2><blockquote><p><strong>Dart’s goals are:</strong></p><p><strong>Performance</strong> – Dart is designed with performance characteristics in mind, so that it is possible to create VMs that do not have the performance problems that all EcmaScript VMs must have.</p><p><strong>Developer Usability</strong> – Dart is designed to keep the dynamic, easy-to-get-started, no-compile nature of Javascript that has made the web platform the clear winner for hobbyist developers.</p><p><strong>Ability to be Tooled</strong> – Dart is designed to be more easily tooled (e.g. with optional types) for large-scale projects that require code-comprehension features such as refactoring and finding callsites. Dash, however, does not require tooling to be effective&#8211;small-scale developers may still be satisfied with a text editor.</p></blockquote><p>Ah ja.</p><div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">HashSetImplementation$Dart.<span style="color: #660066;">prototype</span>.<span style="color: #660066;">filter</span>$member <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>f<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
  <span style="color: #003366; font-weight: bold;">var</span> dartc_scp$0 <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>f<span style="color: #339933;">:</span>f<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
  <span style="color: #003366; font-weight: bold;">var</span> dartc_scp$1<span style="color: #339933;">;</span>
  dartc_scp$1 <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
  dartc_scp$1.<span style="color: #660066;">result</span> <span style="color: #339933;">=</span> HashSetImplementation$Dart.<span style="color: #660066;">HashSetImplementation</span>$$Factory<span style="color: #009900;">&#40;</span>HashSetImplementation$Dart.$lookupRTT<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span>RTT.<span style="color: #660066;">getTypeArg</span><span style="color: #009900;">&#40;</span>RTT.<span style="color: #660066;">getTypeArgsFor</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #339933;">,</span> $cls<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'HashSetImplementation$Dart'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000066; font-weight: bold;">this</span>._backingMap$$getter_<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">forEach</span>$named<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">1</span><span style="color: #339933;">,</span> $noargs<span style="color: #339933;">,</span> $bind<span style="color: #009900;">&#40;</span>HashSetImplementation$Dart$filter$c0$_$26_6_2$Hoisted$named<span style="color: #339933;">,</span> $Dart$Null<span style="color: #339933;">,</span> dartc_scp$0<span style="color: #339933;">,</span> dartc_scp$1<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000066; font-weight: bold;">return</span> dartc_scp$1.<span style="color: #660066;">result</span><span style="color: #339933;">;</span>
  dartc_scp$1 <span style="color: #339933;">=</span> $Dart$Null<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div><p>Schön wenn ihr euch da so profiliert, dass es niemand mehr begreift.</p><p>Ihr Arschlöcher.</p><p><a href="https://gist.github.com/1277224">https://gist.github.com/1277224</a></p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/10/11/nein-nein-nein/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Fratzebuch :D</title><link>http://scratchbook.ch/2011/10/10/fratzebuch-d/</link> <comments>http://scratchbook.ch/2011/10/10/fratzebuch-d/#comments</comments> <pubDate>Mon, 10 Oct 2011 20:52:14 +0000</pubDate> <dc:creator>Daniel</dc:creator> <category><![CDATA[Informatik]]></category> <category><![CDATA[Nachdenklich]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11197</guid> <description><![CDATA[[Im Feed kann dieses Video nicht angezeigt werden.Klicke zum Blogeintrag um das Video anzusehen.] &#160;]]></description> <content:encoded><![CDATA[<p>[Im Feed kann dieses Video nicht angezeigt werden.<a href="http://scratchbook.ch/2011/10/10/fratzebuch-d/">Klicke zum Blogeintrag um das Video anzusehen.]</a></p><p>&nbsp;</p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/10/10/fratzebuch-d/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Facebook findet dich&#8230;</title><link>http://scratchbook.ch/2011/10/10/facebook-findet-dich/</link> <comments>http://scratchbook.ch/2011/10/10/facebook-findet-dich/#comments</comments> <pubDate>Mon, 10 Oct 2011 20:33:56 +0000</pubDate> <dc:creator>Daniel</dc:creator> <category><![CDATA[Informatik]]></category> <category><![CDATA[Datenschutz]]></category> <category><![CDATA[Facebook]]></category> <category><![CDATA[Privatsphäre]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11196</guid> <description><![CDATA[Wieder mal ein interessanter Beitrag, der alle Nutzer des Netzwerkes Facebook etwas wachrütteln soll! [Im Feed kann dieses Video nicht angezeigt werden.Klicke zum Blogeintrag um das Video anzusehen.] &#160;]]></description> <content:encoded><![CDATA[<p>Wieder mal ein interessanter Beitrag, der alle Nutzer des Netzwerkes Facebook etwas wachrütteln soll!</p><p>[Im Feed kann dieses Video nicht angezeigt werden.<a href="http://scratchbook.ch/2011/10/10/facebook-findet-dich/">Klicke zum Blogeintrag um das Video anzusehen.]</a></p><p>&nbsp;</p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/10/10/facebook-findet-dich/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Re: [Weiterbildung] Just for fun</title><link>http://scratchbook.ch/2011/09/13/re-weiterbildung-just-for-fun/</link> <comments>http://scratchbook.ch/2011/09/13/re-weiterbildung-just-for-fun/#comments</comments> <pubDate>Mon, 12 Sep 2011 22:45:24 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Informatik]]></category> <category><![CDATA[Nachdenklich]]></category> <category><![CDATA[Pfeifferisches Menschenfieber]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11130</guid> <description><![CDATA[Liebes Tagebuch Zum Glück ist das ein geschützter Eintrag. Können wir uns endlich wieder mal privat unterhalten. Niemand liest mit. Wenn man seine ganzen Sommerferien lang auf ein Ziel hinarbeitet. Die letzten zwei Monate Abends an einem Fachgebiet büffelt &#8211; aus Freude. Aus Neugier. Und viel neues dazulernt. Wenn man 4 Prüfungen besucht. Wenn man [...]]]></description> <content:encoded><![CDATA[<p>Liebes Tagebuch</p><p>Zum Glück ist das ein geschützter Eintrag. Können wir uns endlich wieder mal privat unterhalten. Niemand liest mit.</p><p><span id="more-11130"></span>Wenn man seine ganzen Sommerferien lang auf ein Ziel hinarbeitet. Die letzten zwei Monate Abends an einem Fachgebiet büffelt &#8211; aus Freude. Aus Neugier. Und viel neues dazulernt.</p><p>Wenn man 4 Prüfungen besucht. Wenn man sich auf das E-Mail freut, welches dann nicht mit 1, nicht mit 2, nicht 3, sondern mit 4 Papierli geschmückt sein wird. &#8220;Die werden Augen machen&#8221; &#8211; bis zur Decke springen. Wenn man sich erhofft, so dem Vorgesetzten Bewunderung zu entlocken &#8211; wenn man sich wirklich so freut und unter anderem auf genau diesen Moment hinarbeitet&#8230;</p><p>Und dann &#8211; ist es soweit. Das E-Mail ist raus.</p><p>Und dann kommt so eine Antwort:</p><blockquote><p>Hallo Claude</p><p>Super, recht herzliche Gratulation! Dann lass uns das mal schön in die Praxis umsetzen <img src='http://scratchbook.ch/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p><p>LG</p></blockquote><p>Aha.</p><p>Kurz und bündig. &#8220;Lass uns das gleich mal schön in die Praxis umsetzen&#8221;. Keine Luftsprünge, keine Bewunderung.</p><p>Dann ist das eine sehr geringe Wertschätzung. Mehr eine Forderung. Ich Idiot. Wie hätte ich auch mehr erwarten können? Nein &#8211; es geht nicht darum, Anerkennung zu ernten. Funktionieren muss man, wie Roboter. Am Fliessband.</p><p>Diese Papiere haben keinen Wert. <a href="http://scratchbook.ch/2010/09/22/uber-bildungssysteme-und-zwangsjacken/">Habe ich immer gewusst</a>, seltsam. Und ich habe trotzdem mit dem Scheiss angefangen. Jetzt weiss ich, dass es sich nicht lohnt. Warum habe ich das überhaupt gemacht? Lohnt sich das überhaupt? Lohnt es sich _überhaupt_ noch irgendwelche Weiterbildungen zu machen? Man funktioniert besser.</p><p>Da ist nichts an so einem Papier. Null.</p><p>Und deshalb &#8211; da sind meine Papiere:</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/09/broken-618x480.jpg" alt="" title="broken" width="618" height="480" class="alignnone size-large wp-image-11132" /></p><p>Ich habe sie zerrissen.</p><p>Schiebt euch die sonstwo hin. Ich habe mit der Welt bald abgeschlossen.</p><p>Ja ich weiss. Ziemlich arm, wenn man seinen Wert an Papieren misst. Für die letzten zwei Monate habe ich das gemacht. Dachte, ich sei dann &#8220;mehr&#8221; Wert. Scheissidee. Was bin ich überhaupt Wert? Nichts.</p><p>Warum mache ich das überhaupt alles? Nichts hat einen Wert. Nichts, was ich jemals gemacht habe, hat einen Wert.</p><p>Soll ich weitermachen? Just for fun?</p><p>Fuck you.</p><p>Not so funny anymore.</p><p>Ich habe irgendwie die Lust und die Motivation an der Arbeit verloren. Überhaupt: Was hat das Leben sonst zu bieten? Really&#8230;</p><p>Okay, eine okkulte Ausbildung, die ICH als _wertvoll_ erachte, die in der Muggelwelt aber natürlich &#8230;. PFFF <img src='http://scratchbook.ch/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> (Wert? Über den Wert unterhalten wir uns nicht. Die wenigsten wissen überhaupt über die Existenz okkulter Lehrsysteme). Ich halte besser alles geheim und verliere kein Wort darüber. Ich kann mit niemandem darüber reden. Niemand sagt mir, ob das Wert hat oder nicht. Das tue ich ganz allein für mich. ES GEHT EUCH NICHTS AN, Muggel. Ich versuche nur grad, in zwei Welten gleichzeitig zu existieren und mir daraus irgend einen Sinn oder Wert abzuleiten, zu definieren, zu geben &#8211; in welcher Welt auch immer.</p><p>So und jetzt fort mit euch, verschwindet! Lasst mich hier noch ein bisschen depressiv herumsüderen.</p><p>Ist noch interessant. Zwei Sätze, und eine Todesspirale mit Suizidgedanken und dem Gefühl, dass man NICHTS Wert ist, setzt sich in Gang. Gedankenschleudertrauma.</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/09/ninfurtherdownthespiral2pr.jpeg" alt="" title="ninfurtherdownthespiral2pr" width="300" height="300" class="alignnone size-full wp-image-11131" /></p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/09/13/re-weiterbildung-just-for-fun/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Puppenspiele</title><link>http://scratchbook.ch/2011/09/06/puppenspiele/</link> <comments>http://scratchbook.ch/2011/09/06/puppenspiele/#comments</comments> <pubDate>Tue, 06 Sep 2011 18:52:39 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Informatik]]></category> <category><![CDATA[Nützlich]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11120</guid> <description><![CDATA[Ich habe ein neues Spielzeug: Puppet. Puppet, an automated administrative engine for your *nix systems, performs administrative tasks (such as adding users, installing packages, and updating server configurations) based on a centralized specification. Wie oft musste ich Server einrichten, Apaches konfigurieren und dergleichen. Nach dem x-ten mal kommt zwar eine gewisse Routine auf. Aber dann [...]]]></description> <content:encoded><![CDATA[<p><img src="http://scratchbook.ch/wp-content/uploads/2011/09/puppet.jpg" alt="" title="puppet" width="208" height="315" class="alignnone size-full wp-image-11121" /></p><p>Ich habe ein neues Spielzeug: <a href="http://puppetlabs.com/">Puppet</a>.</p><blockquote><p>Puppet, an automated administrative engine for your *nix systems, performs administrative tasks (such as adding users, installing packages, and updating server configurations) based on a centralized specification.</p></blockquote><p>Wie oft musste ich Server einrichten, Apaches konfigurieren und dergleichen. Nach dem x-ten mal kommt zwar eine gewisse Routine auf. Aber dann ändert etwas; einem Apache muss ein <a href="http://scratchbook.ch/2010/12/17/varnish-cache-einer-fur-alle/">Varnish-Cache</a> vornedran gestellt werden &#8211; hmm. Was muss ich jetzt schon wieder alles anpassen? Ports der VirtualHosts, der Listen Port&#8230; Ganz gewiss geht was vergessen, und erst nach dem 3. mal Dienste neustarten und ausprobieren funktioniert alles.</p><p>Das ist jetzt Vergangenheit.<span id="more-11120"></span></p><h3>Introducing: Puppet &#8211; ein zentrales Konfigurationsmanagement-Werkzeug.</h3><p>Ich definiere 1x eine gute Konfiguration; einen gewünschten Endzustand. Und kann das dann auf beliebig viele Server anwenden.</p><p>Möchtest Du mal schauen, wie geil wir zukünftig Server konfigurieren?</p><p>Hier eine Definition eines Nodes:</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/09/config.png" alt="" title="config" width="284" height="221" class="alignnone size-full wp-image-11122" /></p><p>Auf der Kommandozeile gebe ich folgendes ein:</p><p><code>puppetd --test</code></p><p>Und jetzt geht&#8217;s ab.<br /> Puppet stellt sicher, dass Apache, PHP und MySQL installiert sind, erstellt die nötigen Webverzeichnisse und setzt das MySQL-Passwort. Das ist natürlich alles definiert, und zwar in Modulen. Mehr dazu in 3 Minuten.</p><p>Jetzt möchte ich etwas anpassen. Ich will einen zusätzlichen Vhost-Eintrag, &#8220;about.namics.com&#8221;. Dann soll das ganze mit Varnish gecached werden.</p><p>Neue Konfiguration:</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/09/newconfig.png" alt="" title="newconfig" width="405" height="247" class="alignnone size-full wp-image-11123" /></p><p>Puppet erstellt den neuen Vhost-Eintrag, die dazugehörigen Verzeichnisse, passt die Apachekonfiguration für den Varnish an und startet am Schluss alle betroffenen Dienste neu:</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/09/vhost.png" alt="" title="vhost" width="617" height="684" class="alignnone size-full wp-image-11124" /></p><p>Kommandozeilenpornografie.</p><p>Was genau wie konfiguriert sein muss und wie die Abhängigkeiten sind, wird in Modulen definiert.</p><p>Hier das Modul Apache (Teilauszug):</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/09/module.png" alt="" title="module" width="312" height="288" class="alignnone size-full wp-image-11125" /></p><p>Das bedeutet: Wenn das Modul in einem Node verwendet wird (include apache), dann muss httpd installiert sein (ensure => installed), der Service httpd muss laufen (ensure => running), braucht aber vorher das Paket httpd (require => Package["httpd"]) und die httpd.conf wird aus einem Template erstellt. Wenn sich dort was ändert, wird der Dienst httpd neu gestartet (notify => Service["httpd"]).</p><p>Ah, Templates.</p><p>Puppet ist in Ruby geschrieben und verwendet als Template-Sprache erb. Hier ein Auszug aus dem httpd.conf Template:</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/09/template.png" alt="" title="template" width="411" height="431" class="alignnone size-full wp-image-11126" /></p><p>Heisst:</p><p>Für jeden Vhosts bitte einen VirtualHost-Eintrag erstellen. Falls Varnish benutzt wird, auf Port 8080 lauschen, sonst auf Port 80.<br /> Der Rest ist selbsterklärend.</p><p>Prima einsetzen kann man Puppet auch als Sicherheitsgarantiersicherstellungsprogramm. Also. Ich habe eine Typo3-Installation. <a href="http://blog.namics.com/2011/05/google-viagra-a.html">Böse Spammer aus China</a> suchen nach Schwachstellen.</p><p>Ich definiere, was wie abgesichert werden muss:</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/09/secconfig.png" alt="" title="secconfig" width="400" height="443" class="alignnone size-full wp-image-11127" /></p><p>ENABLE_INSTALL_TOOL darf nicht vorhanden sein. Die localconf.php darf nicht schreibbar sein. Das gesamte Verzeichnis (recurse => true) unter /typo3conf/ext ebensowenig.</p><p>Wenn irgendwas faul ist, merkt das Puppet und korrigiert die Abweichungen gleich:</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/09/sec-618x251.png" alt="" title="sec" width="618" height="251" class="alignnone size-large wp-image-11128" /></p><p>Das wunderbare daran: Ich kann diese Module für jeden Server verwenden. Ein neues Verzeichnis muss abgesichert werden? Kein Problem. 1x definieren, auf allen Servern aktiviert.</p><p>Voll Laser!</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/09/laserfido.gif" alt="" title="laserfido" width="400" height="225" class="alignnone size-full wp-image-11129" /></p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/09/06/puppenspiele/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Demodays</title><link>http://scratchbook.ch/2011/08/28/demodays/</link> <comments>http://scratchbook.ch/2011/08/28/demodays/#comments</comments> <pubDate>Sun, 28 Aug 2011 09:14:29 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Basteleien]]></category> <category><![CDATA[Informatik]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11115</guid> <description><![CDATA[Diese Tage finden die Demodays in Olten statt. Demodays, Demoscene? Ja genau &#8211; das sind die Leute einer Szene, welche digitale Kunstwerke für verschiedenste Hardware erschaffen. Q: What is the demoscene? A: The Demoscene considers itself as a loose connection of creative minds with passions of creating digital art. A &#8216;demo&#8217; is created by groups [...]]]></description> <content:encoded><![CDATA[<p><img src="http://scratchbook.ch/wp-content/uploads/2011/08/bp01-300x199.jpg" alt="" title="bp01" width="300" height="199" class="alignnone size-medium wp-image-11117" /></p><p>Diese Tage finden die <a href="http://demodays.org/">Demodays in Olten</a> statt.</p><p>Demodays, Demoscene? Ja genau &#8211; das sind die Leute einer Szene, welche digitale Kunstwerke für verschiedenste Hardware erschaffen.</p><blockquote><p>Q: What is the demoscene?<br /> A: The Demoscene considers itself as a loose connection of creative minds with passions of creating digital art. A &#8216;demo&#8217; is created by groups of people, or sometimes single individuals, to DEMOnstrate their skills. The traditional skill base of the demoscene is considered to be coding, music, and design.</p></blockquote><p>Zum Beispiel sowas:</p><p>[Im Feed kann dieses Video nicht angezeigt werden.<a href="http://scratchbook.ch/2011/08/28/demodays/">Klicke zum Blogeintrag um das Video anzusehen.]</a></p><p>Download: <a href="http://www.scene.org/file.php?id=517890">Elevated</a></p><p>Der Code zu dieser Demo ist 4kb gross. Vier Kilobyte. 4 Minuten lang Sound, Musik, Kamerafahrten durch eine Landschaft. Do stuuhnsch gäll?</p><p>Sprich, die folgenden Zeichen hier machen das ganze Filmli:</p><pre style="font-size: small;">
[base64 encoded .exe]
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
</pre><p>&nbsp;</p><blockquote><p>Q: So what is a demoparty?<br /> A: A demoparty is &#8212; on the first glance &#8212; like a LAN party. Depending on the size, a few or hundreds of visitors may bring their computers and set them up at the location. Unlike a LAN party, demoparties have an emphasis on creativity. Attendants are encouraged to compete in scheduled competitions (referred to by demosceners as &#8216;compos&#8217; or competitions). These &#8216;compos&#8217;, spread out over the length of the party, are in categories that allow the attendants to showcase their artistic talents with the use of computers.<br /> In short: a demoparty is a multimedia art festival that usually lasts for several days.</p></blockquote><p>Und gestern war ich eben an so einer besagten Demoparty, wo sich die Künstler treffen und ihre Werke präsentieren.</p><p>Es gibt Demos für verschiedenste Hardware: Amiga, PC, Gameboy Advance; aber auch in verschiedenen Disziplinen: 64k, 32k, 8k. Das besagt, dass der Programmcode einer solchen Demo jeweils maximal 64kb, 32kb oder 8kb gross sein darf.</p><p>Und das macht den Reiz aus &#8211; wer schafft es, auf 4kb die krasseste Effekthascherei auf den Bildschirm zu zaubern?</p><p>Es müssen aber nicht immer Echtzeitdemos sein. Erlaubt ist alles, was irgendwie blinkt, tönt oder sonstwie die Sinne verzaubert. Gerenderte Videos und Standbilder sind mit dabei. Oder Analog-Demos &#8211; jemand hat eine Wasserschale auf einen Hellraumprojektor gestellt und mit Wellen und farbiger Tinte prächtige Animationen zur Musik gezaubert <img src='http://scratchbook.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>Oder die Schreimaschine:</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/08/382434276-618x463.jpg" alt="" title="382434276" width="618" height="463" class="alignnone size-large wp-image-11116" /></p><p>Eine elektrische Schreibmaschine (KEIN Nadeldrucker), mit einer seriellen Schnittstelle erweitert, &#8220;druckt&#8221; Tweets und Einzeiler vom Internet in Echtzeit auf Endlospapier.</p><p>Ein sehr gelungener Anlass mit kreativen, neugierigen jungen Menschen aus aller Welt. Da kommt man sich klein und mickrig vor, wenn man sieht, wie 16-jährige an OpenGL- und Multitouch-Demos auf einem Androidphone coden&#8230;</p><p>Allesamt sehr nette Leute. Der Konsens lautet: Ich muss herausfinden, wie das funktioniert &#8211; ausprobieren, etwas erschaffen. Auch mit Cinema 4D wurde experimentiert. Spätestens jetzt bereute ich&#8217;s, dass ich nur ein Visitor-Ticket für einen Abend habe und mein Notebook nicht mit dabei ist. Dann hätte ich nämlich mein eigenes C4D uralt-Filmli zeigen können&#8230;<br /> Eine gute Gelegenheit, das jetzt nachzuholen und es gleich online zu stellen.</p><p>Bitteschön. Mein rustikales oldschool Cinema 4D Filmli: <a target="_blank" href="http://scratchbook.ch/files/Meteora.mov">Meteora.mov</a></p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/08/28/demodays/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The War between Developers, Designers and PMs</title><link>http://scratchbook.ch/2011/08/08/the-war-between-developers-designers-and-pms/</link> <comments>http://scratchbook.ch/2011/08/08/the-war-between-developers-designers-and-pms/#comments</comments> <pubDate>Mon, 08 Aug 2011 12:00:17 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Humor]]></category> <category><![CDATA[Informatik]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11099</guid> <description><![CDATA[Siehe auch: How Fanboys See Operating Systems]]></description> <content:encoded><![CDATA[<p><img src="http://scratchbook.ch/wp-content/uploads/2011/08/The_War_Between_Developers_Designers_Project_Managers-618x463.jpg" alt="" title="The_War_Between_Developers_Designers_Project_Managers" width="618" height="463" class="alignnone size-large wp-image-11100" /></p><p>Siehe auch: <a href="http://scratchbook.ch/2010/09/29/how-fanboys-see-operating-systems/">How Fanboys See Operating Systems</a></p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/08/08/the-war-between-developers-designers-and-pms/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>PC-Gehäuse im Eigenbau</title><link>http://scratchbook.ch/2011/07/29/pc-gehause-im-eigenbe/</link> <comments>http://scratchbook.ch/2011/07/29/pc-gehause-im-eigenbe/#comments</comments> <pubDate>Fri, 29 Jul 2011 18:54:08 +0000</pubDate> <dc:creator>Toronado-Freestyle.ch</dc:creator> <category><![CDATA[Basteleien]]></category> <category><![CDATA[Informatik]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11070</guid> <description><![CDATA[Entlich fertig und schön schnell! Mein eigen gebautes PC Gehäuse geht in den Einsatz&#8230;! Seit einem Jahr schon war ich am basteln. Zusammengerechnet liegen insgesamt ca. 3 Monate Arbeit hinter mir. Das Konzept hatte ich aber schon lange vorher erarbeitet und in einem CAD Programm realisiert. Etwa 900.-CHF habe ich in dieses Gehäuse gesteckt, zusammen [...]]]></description> <content:encoded><![CDATA[<p>Entlich fertig und schön schnell! Mein eigen gebautes PC Gehäuse geht in den Einsatz&#8230;!</p><p>Seit einem Jahr schon war ich am basteln. Zusammengerechnet liegen insgesamt ca. 3 Monate Arbeit hinter mir. Das Konzept hatte ich aber schon lange vorher erarbeitet und in einem CAD Programm realisiert.<br /> <a href="http://scratchbook.ch/2011/07/29/pc-gehause-im-eigenbe/sony-dsc/" rel="attachment wp-att-11073"><img src="http://scratchbook.ch/wp-content/uploads/2011/07/DSC00002-618x346.jpg" alt="" width="618" height="346" class="aligncenter size-large wp-image-11073" /></a></p><p><span id="more-11070"></span><a href="http://scratchbook.ch/2011/07/29/pc-gehause-im-eigenbe/sony-dsc-7/" rel="attachment wp-att-11085"><img src="http://scratchbook.ch/wp-content/uploads/2011/07/DSC00012-618x346.jpg" alt="" width="618" height="346" class="aligncenter size-large wp-image-11085" /></a><br /> Etwa 900.-CHF habe ich in dieses Gehäuse gesteckt, zusammen mit der maschiniellen Arbeit letzten Jahres im September in der Schreinerei VonAtzigen. Das Grundgerüst des Gehäuses besteht aus zwei Holzrahmen (Esche), die ich so profiliert habe, das ich seitlich und oben blau fluoreszierende Plexiglasscheiben darin montieren kann.<br /> <a href="http://scratchbook.ch/2011/07/29/pc-gehause-im-eigenbe/sony-dsc-2/" rel="attachment wp-att-11074"><img src="http://scratchbook.ch/wp-content/uploads/2011/07/DSC00010-618x346.jpg" alt="" width="618" height="346" class="aligncenter size-large wp-image-11074" /></a><br /> Die Rahmen sind auf der Vorder-/ Hinter-/ und Unterseite mit 2mm starken Aluminiumplatten verschraubt. Der Laufwerkschacht ist Massgefertigt aus Aluminium zusammengeschraubt. In diesem Gehäuse ist also alles, bis auf den Mainboardschlitten, selbst gemacht.<br /> <a href="http://scratchbook.ch/2011/07/29/pc-gehause-im-eigenbe/sony-dsc-11/" rel="attachment wp-att-11089"><img src="http://scratchbook.ch/wp-content/uploads/2011/07/DSC00013-618x346.jpg" alt="" width="618" height="346" class="aligncenter size-large wp-image-11089" /></a><br /> Vor dem Festplattenschacht sorgt ein 120mm Lüfter für optimale Kühlung. Die Herausforderung am ganzen war es, ein Gehäuse zu bauen, das A eine optimale Kühlung bei leisem betrieb aufweist, sowie B einen Look hat, das sonst kein anderes Gehäuse hat. Ich denke, ich habe mich dabei selbst übertroffen. Gestern habe ich gerade meine AMD-CPU von den standarterisierten 3.4GHz auf max. 3,9GHz übertaktet und es läuft alles tiptop. Das bietet mir natürlich den Vorteil, das ich hochauflösende AVCHD Aufnahmen ohne weiteres problemlos bearbeiten kann. Getestet habe ich das ganze mit dem 3D Mark06 und habe mit 16500 Punkten abgeschlossen, was das auch immer bedeutet auf jedenfall ist dieser PC nun Affentittenschnell <img src='http://scratchbook.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Das neue Netzteil von Seasonic ( 750W ) hat den Vorteil, das man Anschlüsse, die man nicht braucht einfach demontiert, was einen wirren Kabelsalat und den daraus zu schliessenden Wärmestau verhindert. Die CPU habe ich mit einem Riesenkühler der fast so gross ist wie das ganze Mainboard ausgestattet, wobei ich mich mit dem Lüfter für einen 120mm Ennermax entschieden habe, der trotz grossem Luftstrohm sehr leise läuft. Unter dem Mainboard habe ich einen kleinen 40er Silentlüfter montiert, der die sich dort stauende Wärme direkt unter dem Gehäuse herauszieht. Die Frontblende besteht aus MDF, mit schwarzem Hochglanzlack seitlich behandelt. In der Mitte habe ich ein schwarzes Hochglanz Plexiglas befestigt. Seitlich sorgen zwei Eschenhölzer gebürstet ( stärker wirkende Porentiefe ) und natur behandelt für den gewissen Look.<br /> <a href="http://scratchbook.ch/2011/07/29/pc-gehause-im-eigenbe/sony-dsc-8/" rel="attachment wp-att-11086"><img src="http://scratchbook.ch/wp-content/uploads/2011/07/DSC00016-618x346.jpg" alt="" width="618" height="346" class="aligncenter size-large wp-image-11086" /></a><br /> Von LiteOn habe ich ein Laufwerk montiert, das von USB Anschlüssen über Firewire etc&#8230; auch über einen Power Knopf verfügt.<br /> <a href="http://scratchbook.ch/2011/07/29/pc-gehause-im-eigenbe/sony-dsc-3/" rel="attachment wp-att-11075"><img src="http://scratchbook.ch/wp-content/uploads/2011/07/DSC00006-618x346.jpg" alt="" width="618" height="346" class="aligncenter size-large wp-image-11075" /></a></p><p><a href="http://scratchbook.ch/2011/07/29/pc-gehause-im-eigenbe/sony-dsc-4/" rel="attachment wp-att-11076"><img src="http://scratchbook.ch/wp-content/uploads/2011/07/DSC00009-618x346.jpg" alt="" width="618" height="346" class="aligncenter size-large wp-image-11076" /></a><br /> Der Formfaktor basiert auf einem MicroATX Gehäuse, das ich ein bisschen grösser gemacht habe, da es wirklich beim Einbau von Vorteil ist, einfach Platz zu haben. Zudem habe ich die Möglichkeit, auch eine grobe High-End Grafikkarte mit bis zu 50cm Länge einzubauen. An den oberen Seitenteilen der Holzrahmen sind zwei UV-Kaltlichtkathoden montiert, die ich über einen Knopf an der Seite ein- und abschalten kann.<br /> <a href="http://scratchbook.ch/2011/07/29/pc-gehause-im-eigenbe/sony-dsc-9/" rel="attachment wp-att-11087"><img src="http://scratchbook.ch/wp-content/uploads/2011/07/DSC00015-618x346.jpg" alt="" width="618" height="346" class="aligncenter size-large wp-image-11087" /></a></p><p><a href="http://scratchbook.ch/2011/07/29/pc-gehause-im-eigenbe/sony-dsc-10/" rel="attachment wp-att-11088"><img src="http://scratchbook.ch/wp-content/uploads/2011/07/DSC00017-618x346.jpg" alt="" width="618" height="346" class="aligncenter size-large wp-image-11088" /></a><br /> Das Plexiglas kombiniert mit dem Alu/Holzrahmen sieht einfach sehr edel aus. Für mich ist es mein kleines Meisterwerk und ein Beweis, das ich mein Handwerk als Schreiner gut verstehe. Ich habe viel Erfahrung damit gesammelt und weiss nun auch, wie man Plexiglas am besten bearbeiten kann. Die meiste Arbeit machte mir die Frontblende und das bearbeiten, zuschneiden und verschrauben der Innenteile. Am besten gefiel mir das bearbeiten der Holzrahmen an der Kehlmaschine beim profilieren. In diesem Gehäuse stecken unzählige Arbeitsschritte über Kehlen, zuschneiden, schleifen, bürsten, behandeln, spritzen, polieren, bohren, biegen, fräsen etc&#8230;was es für eine Massenproduktion sehr schwierig machen würde, wenn ich mich selbstständig machen würde und diese Gehäuse verkaufen könnte. Zudem würde wahrscheinlich kein normaler Verbraucher so viel Geld für so ein Gehäuse ausgeben. Es ist einfach mein Freakyteil und es ist einfach Affentittengeil <img src='http://scratchbook.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br /> <a href="http://scratchbook.ch/2011/07/29/pc-gehause-im-eigenbe/sony-dsc-5/" rel="attachment wp-att-11077"><img src="http://scratchbook.ch/wp-content/uploads/2011/07/DSC00004-618x346.jpg" alt="" width="618" height="346" class="aligncenter size-large wp-image-11077" /></a></p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/07/29/pc-gehause-im-eigenbe/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Kon-Boot &#8211; Nettes Stück Software</title><link>http://scratchbook.ch/2011/07/19/kon-boot-nettes-stuck-software/</link> <comments>http://scratchbook.ch/2011/07/19/kon-boot-nettes-stuck-software/#comments</comments> <pubDate>Tue, 19 Jul 2011 17:17:44 +0000</pubDate> <dc:creator>Daniel</dc:creator> <category><![CDATA[Informatik]]></category> <category><![CDATA[Nützlich]]></category> <category><![CDATA[IT-Security]]></category> <category><![CDATA[Kon-Boot]]></category> <category><![CDATA[PW bypass]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11054</guid> <description><![CDATA[Was ist Kon-Boot? Kon-Boot ist eine Software, welche es uns erlaubt sich auf einem lokalen Computer anzumelden ohne das Admin/Root Passwort Passwort zu kennen. Ein Briliantes Werkzeug für Sysadmins, wenn es  mal (aus welchem Grund auch immer sei dahingestellt&#8230;)  lokal einen PW Reset durchzuführen gilt. Auch sympatisch finde ich, dass die Unterstützung von Windows und [...]]]></description> <content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-11055" src="http://scratchbook.ch/wp-content/uploads/2011/07/konboot.png" alt="" width="680" height="371" /></p><p>Was ist Kon-Boot?</p><p>Kon-Boot ist eine Software, welche es uns erlaubt sich auf einem lokalen Computer anzumelden ohne das Admin/Root Passwort Passwort zu kennen.</p><p>Ein Briliantes Werkzeug für Sysadmins, wenn es  mal (aus welchem Grund auch immer sei dahingestellt&#8230;)  lokal einen PW Reset durchzuführen gilt. Auch sympatisch finde ich, dass die Unterstützung von Windows und Linux zugleich in einem Tool vereint wird. Weiterhin gilt anzumerken, dass die jeweiligen Passwörter im Gegensatz zu anderen Tools (<a href="http://pogostick.net/~pnh/ntpasswd/" target="_blank">NT PW Recovery</a>,ERD/CIA Commander&#8230;) nicht verändert werden, da Kon-Boot &#8220;on the fly&#8221; Veränderungen am Windows bzw. Linux Kernel vornimmt und uns so einen Login bypass erlaubt. Neu booten und alles ist wieder beim alten, sofern man nicht explizit etwas geändert hat. Auch ein Berechnen der Passwörter mittels &#8220;Rainbow-Tables&#8221; ,wie es etwa das  <a href="http://ophcrack.sourceforge.net/" target="_blank">Ophrack Utility</a> pflegt, fällt somit weg, es sei denn das Klartext PW sei von Interesse! <img src='http://scratchbook.ch/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><p><span id="more-11054"></span>Folgende Systeme werden unterstützt:</p><p>Windows Server 2008<br /> Windows Vista<br /> Windows Server 2003<br /> Windows XP<br /> Windows 7</p><p>Gentoo 2.6.24-gentoo-r5 GRUB 0.97<br /> Ubuntu 2.6.24.3-debug GRUB 0.97<br /> Debian 2.6.18-6-6861 GRUB 0.97<br /> Fedora 2.6.25.9-76.fc9.i6862 GRUB 0.97</p><p>Wo bekomme ich Kon-Boot her?</p><p><a href="http://www.piotrbania.com/all/kon-boot/" target="_blank">Hier </a>wird Kon-Boot kostenlos zum Download angeboten. Das PW für die Zip Datei lautet: kon-boot.</p><p>Danach hat man die Wahl eine BootCD/Floppy zu erstellen oder einen USB Stick mit dem Kon-Boot Image bootbar zu machen. Ich habe mich für die Varainte mittels USB Stick entschieden, da ich gerade keine Lust hatte eine CD zu verbraten.</p><p>Mittels <a href="http://unetbootin.sourceforge.net/" target="_blank">UnetbootIN</a> (Linux/MAC/Win) kann die ISO Datei auf den USB-Stick angewendet und bootbar gemacht werden.  Bei mir schlug dieser Vorgang allerdings erst fehl, da die HD vom Bootloader nicht gelistet wurde. <a href="http://www.irongeek.com" target="_blank"> Irongeek</a> stellt uns die modifizierten Dateien zur Verfügung, damit wir uns nicht mit diesem Fehler rumschalgen müssen <img src='http://scratchbook.ch/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> Also Dateien von <a href="http://www.irongeek.com/downloads/irongeekusbkonbootfiles2.zip" target="_blank">Hier</a> mit denen auf dem Bootstick ersetzen und Ab geht die Post! <img src='http://scratchbook.ch/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p><p>Einen Vorgeschmack gibts hier:</p><p>[Im Feed kann dieses Video nicht angezeigt werden.<a href="http://scratchbook.ch/2011/07/19/kon-boot-nettes-stuck-software/">Klicke zum Blogeintrag um das Video anzusehen.]</a></p><p>Bis zum nächsten Artikel <img src='http://scratchbook.ch/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><p>&nbsp;</p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/07/19/kon-boot-nettes-stuck-software/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The Word &#8220;Hacker&#8221;</title><link>http://scratchbook.ch/2011/07/17/the-word-hacker/</link> <comments>http://scratchbook.ch/2011/07/17/the-word-hacker/#comments</comments> <pubDate>Sun, 17 Jul 2011 13:14:39 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Bewusstsein]]></category> <category><![CDATA[Informatik]]></category> <category><![CDATA[Politik]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11048</guid> <description><![CDATA[(Quelle) To the popular press, &#8220;hacker&#8221; means someone who breaks into computers. Among programmers it means a good programmer. But the two meanings are connected. To programmers, &#8220;hacker&#8221; connotes mastery in the most literal sense: someone who can make a computer do what he wants—whether the computer wants to or not. To add to the [...]]]></description> <content:encoded><![CDATA[<p>(<a href="http://www.paulgraham.com/gba.html">Quelle</a>)</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/07/paulgraham_2147_17883771.jpeg" alt="" title="paulgraham_2147_17883771" width="410" height="114" class="alignnone size-full wp-image-11049" /></p><p>To the popular press, &#8220;hacker&#8221; means someone who breaks into computers. Among programmers it means a good programmer. But the two meanings are connected. To programmers, &#8220;hacker&#8221; connotes mastery in the most literal sense: someone who can make a computer do what he wants—whether the computer wants to or not.</p><p><span id="more-11048"></span>To add to the confusion, the noun &#8220;hack&#8221; also has two senses. It can be either a compliment or an insult. It&#8217;s called a hack when you do something in an ugly way. But when you do something so clever that you somehow beat the system, that&#8217;s also called a hack. The word is used more often in the former than the latter sense, probably because ugly solutions are more common than brilliant ones.</p><p>Believe it or not, the two senses of &#8220;hack&#8221; are also connected. Ugly and imaginative solutions have something in common: they both break the rules. And there is a gradual continuum between rule breaking that&#8217;s merely ugly (using duct tape to attach something to your bike) and rule breaking that is brilliantly imaginative (discarding Euclidean space).</p><p>Hacking predates computers. When he was working on the Manhattan Project, Richard Feynman used to amuse himself by breaking into safes containing secret documents. This tradition continues today. When we were in grad school, a hacker friend of mine who spent too much time around MIT had his own lock picking kit. (He now runs a hedge fund, a not unrelated enterprise.)</p><p>It is sometimes hard to explain to authorities why one would want to do such things. Another friend of mine once got in trouble with the government for breaking into computers. This had only recently been declared a crime, and the FBI found that their usual investigative technique didn&#8217;t work. Police investigation apparently begins with a motive. The usual motives are few: drugs, money, sex, revenge. Intellectual curiosity was not one of the motives on the FBI&#8217;s list. Indeed, the whole concept seemed foreign to them.</p><p>Those in authority tend to be annoyed by hackers&#8217; general attitude of disobedience. But that disobedience is a byproduct of the qualities that make them good programmers. They may laugh at the CEO when he talks in generic corporate newspeech, but they also laugh at someone who tells them a certain problem can&#8217;t be solved. Suppress one, and you suppress the other.</p><p>This attitude is sometimes affected. Sometimes young programmers notice the eccentricities of eminent hackers and decide to adopt some of their own in order to seem smarter. The fake version is not merely annoying; the prickly attitude of these posers can actually slow the process of innovation.</p><p>But even factoring in their annoying eccentricities, the disobedient attitude of hackers is a net win. I wish its advantages were better understood.</p><p>For example, I suspect people in Hollywood are simply mystified by hackers&#8217; attitudes toward copyrights. They are a perennial topic of heated discussion on Slashdot. But why should people who program computers be so concerned about copyrights, of all things?</p><p>Partly because some companies use mechanisms to prevent copying. Show any hacker a lock and his first thought is how to pick it. But there is a deeper reason that hackers are alarmed by measures like copyrights and patents. They see increasingly aggressive measures to protect &#8220;intellectual property&#8221; as a threat to the intellectual freedom they need to do their job. And they are right.</p><p>It is by poking about inside current technology that hackers get ideas for the next generation. No thanks, intellectual homeowners may say, we don&#8217;t need any outside help. But they&#8217;re wrong. The next generation of computer technology has often—perhaps more often than not—been developed by outsiders.</p><p>In 1977 there was no doubt some group within IBM developing what they expected to be the next generation of business computer. They were mistaken. The next generation of business computer was being developed on entirely different lines by two long-haired guys called Steve in a garage in Los Altos. At about the same time, the powers that be were cooperating to develop the official next generation operating system, Multics. But two guys who thought Multics excessively complex went off and wrote their own. They gave it a name that was a joking reference to Multics: Unix.</p><p>The latest intellectual property laws impose unprecedented restrictions on the sort of poking around that leads to new ideas. In the past, a competitor might use patents to prevent you from selling a copy of something they made, but they couldn&#8217;t prevent you from taking one apart to see how it worked. The latest laws make this a crime. How are we to develop new technology if we can&#8217;t study current technology to figure out how to improve it?</p><p>Ironically, hackers have brought this on themselves. Computers are responsible for the problem. The control systems inside machines used to be physical: gears and levers and cams. Increasingly, the brains (and thus the value) of products is in software. And by this I mean software in the general sense: i.e. data. A song on an LP is physically stamped into the plastic. A song on an iPod&#8217;s disk is merely stored on it.</p><p>Data is by definition easy to copy. And the Internet makes copies easy to distribute. So it is no wonder companies are afraid. But, as so often happens, fear has clouded their judgement. The government has responded with draconian laws to protect intellectual property. They probably mean well. But they may not realize that such laws will do more harm than good.</p><p>Why are programmers so violently opposed to these laws? If I were a legislator, I&#8217;d be interested in this mystery—for the same reason that, if I were a farmer and suddenly heard a lot of squawking coming from my hen house one night, I&#8217;d want to go out and investigate. Hackers are not stupid, and unanimity is very rare in this world. So if they&#8217;re all squawking, perhaps there is something amiss.</p><p>Could it be that such laws, though intended to protect America, will actually harm it? Think about it. There is something very American about Feynman breaking into safes during the Manhattan Project. It&#8217;s hard to imagine the authorities having a sense of humor about such things over in Germany at that time. Maybe it&#8217;s not a coincidence.</p><p>Hackers are unruly. That is the essence of hacking. And it is also the essence of Americanness. It is no accident that Silicon Valley is in America, and not France, or Germany, or England, or Japan. In those countries, people color inside the lines.</p><p>I lived for a while in Florence. But after I&#8217;d been there a few months I realized that what I&#8217;d been unconsciously hoping to find there was back in the place I&#8217;d just left. The reason Florence is famous is that in 1450, it was New York. In 1450 it was filled with the kind of turbulent and ambitious people you find now in America. (So I went back to America.)</p><p>It is greatly to America&#8217;s advantage that it is a congenial atmosphere for the right sort of unruliness—that it is a home not just for the smart, but for smart-alecks. And hackers are invariably smart-alecks. If we had a national holiday, it would be April 1st. It says a great deal about our work that we use the same word for a brilliant or a horribly cheesy solution. When we cook one up we&#8217;re not always 100% sure which kind it is. But as long as it has the right sort of wrongness, that&#8217;s a promising sign. It&#8217;s odd that people think of programming as precise and methodical. Computers are precise and methodical. Hacking is something you do with a gleeful laugh.</p><p>In our world some of the most characteristic solutions are not far removed from practical jokes. IBM was no doubt rather surprised by the consequences of the licensing deal for DOS, just as the hypothetical &#8220;adversary&#8221; must be when Michael Rabin solves a problem by redefining it as one that&#8217;s easier to solve.</p><p>Smart-alecks have to develop a keen sense of how much they can get away with. And lately hackers have sensed a change in the atmosphere. Lately hackerliness seems rather frowned upon.</p><p>To hackers the recent contraction in civil liberties seems especially ominous. That must also mystify outsiders. Why should we care especially about civil liberties? Why programmers, more than dentists or salesmen or landscapers?</p><p>Let me put the case in terms a government official would appreciate. Civil liberties are not just an ornament, or a quaint American tradition. Civil liberties make countries rich. If you made a graph of GNP per capita vs. civil liberties, you&#8217;d notice a definite trend. Could civil liberties really be a cause, rather than just an effect? I think so. I think a society in which people can do and say what they want will also tend to be one in which the most efficient solutions win, rather than those sponsored by the most influential people. Authoritarian countries become corrupt; corrupt countries become poor; and poor countries are weak. It seems to me there is a Laffer curve for government power, just as for tax revenues. At least, it seems likely enough that it would be stupid to try the experiment and find out. Unlike high tax rates, you can&#8217;t repeal totalitarianism if it turns out to be a mistake.</p><p>This is why hackers worry. The government spying on people doesn&#8217;t literally make programmers write worse code. It just leads eventually to a world in which bad ideas win. And because this is so important to hackers, they&#8217;re especially sensitive to it. They can sense totalitarianism approaching from a distance, as animals can sense an approaching thunderstorm.</p><p>It would be ironic if, as hackers fear, recent measures intended to protect national security and intellectual property turned out to be a missile aimed right at what makes America successful. But it would not be the first time that measures taken in an atmosphere of panic had the opposite of the intended effect.</p><p>There is such a thing as Americanness. There&#8217;s nothing like living abroad to teach you that. And if you want to know whether something will nurture or squash this quality, it would be hard to find a better focus group than hackers, because they come closest of any group I know to embodying it. Closer, probably, than the men running our government, who for all their talk of patriotism remind me more of Richelieu or Mazarin than Thomas Jefferson or George Washington.</p><p>When you read what the founding fathers had to say for themselves, they sound more like hackers. &#8220;The spirit of resistance to government,&#8221; Jefferson wrote, &#8220;is so valuable on certain occasions, that I wish it always to be kept alive.&#8221;</p><p>Imagine an American president saying that today. Like the remarks of an outspoken old grandmother, the sayings of the founding fathers have embarrassed generations of their less confident successors. They remind us where we come from. They remind us that it is the people who break rules that are the source of America&#8217;s wealth and power.</p><p>Those in a position to impose rules naturally want them to be obeyed. But be careful what you ask for. You might get it.</p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/07/17/the-word-hacker/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The Pagan Hierarchy</title><link>http://scratchbook.ch/2011/07/14/the-pagan-hierarchy/</link> <comments>http://scratchbook.ch/2011/07/14/the-pagan-hierarchy/#comments</comments> <pubDate>Thu, 14 Jul 2011 14:05:06 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Humor]]></category> <category><![CDATA[Informatik]]></category> <category><![CDATA[Magie & Mystik]]></category> <category><![CDATA[Spirituelles]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11039</guid> <description><![CDATA[Wer schaut auf wen runter? Nicht allzu ernst zu nehmende Hierarchie der Sonderlinge. Vereinfachte Version: Wir die anderen Okkultisten, Drugheads, und andere Weirdos untereinander: Vollständiges Diagramm: (Quelle) Es gibt auch eine Version für Geeks:]]></description> <content:encoded><![CDATA[<p>Wer schaut auf wen runter? Nicht allzu ernst zu nehmende Hierarchie der Sonderlinge. <img src='http://scratchbook.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>Vereinfachte Version: <em>Wir <-> die anderen</em></p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/07/pagan-hierarchy-simplified.gif" alt="" title="pagan-hierarchy-simplified" width="378" height="274" class="alignnone size-full wp-image-11040" /></p><p><span id="more-11039"></span>Okkultisten, Drugheads, und andere Weirdos untereinander:</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/07/hierarchy-of-heads.gif" alt="" title="hierarchy-of-heads" width="465" height="1568" class="alignnone size-full wp-image-11041" /></p><p>Vollständiges Diagramm:</p><p><a href="http://scratchbook.ch/wp-content/uploads/2011/07/pagan-hierarchy.gif"><img src="http://scratchbook.ch/wp-content/uploads/2011/07/pagan-hierarchy-300x262.gif" alt="" title="pagan-hierarchy" width="300" height="262" class="alignnone size-medium wp-image-11042" /></a></p><p>(<a href="http://seapagan.org/pagan-hierarchy/">Quelle</a>)</p><p>Es gibt auch eine Version für Geeks:</p><p><a href="http://scratchbook.ch/wp-content/uploads/2011/07/geek-hierarchy.gif"><img src="http://scratchbook.ch/wp-content/uploads/2011/07/geek-hierarchy-300x174.gif" alt="" title="geek-hierarchy" width="300" height="174" class="alignnone size-medium wp-image-11043" /></a></p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/07/14/the-pagan-hierarchy/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Phantom of the Floppera</title><link>http://scratchbook.ch/2011/06/28/phantom-of-the-floppera/</link> <comments>http://scratchbook.ch/2011/06/28/phantom-of-the-floppera/#comments</comments> <pubDate>Tue, 28 Jun 2011 18:36:24 +0000</pubDate> <dc:creator>Daniel</dc:creator> <category><![CDATA[Basteleien]]></category> <category><![CDATA[Informatik]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11020</guid> <description><![CDATA[Einfach krass&#8230; [Im Feed kann dieses Video nicht angezeigt werden.Klicke zum Blogeintrag um das Video anzusehen.] &#160;]]></description> <content:encoded><![CDATA[<p>Einfach krass&#8230; <img src='http://scratchbook.ch/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p><p>[Im Feed kann dieses Video nicht angezeigt werden.<a href="http://scratchbook.ch/2011/06/28/phantom-of-the-floppera/">Klicke zum Blogeintrag um das Video anzusehen.]</a></p><p>&nbsp;</p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/06/28/phantom-of-the-floppera/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Salutations Lulz Lizards,</title><link>http://scratchbook.ch/2011/06/20/salutations-lulz-lizards/</link> <comments>http://scratchbook.ch/2011/06/20/salutations-lulz-lizards/#comments</comments> <pubDate>Mon, 20 Jun 2011 18:00:27 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Aktivitäten]]></category> <category><![CDATA[Bewusstsein]]></category> <category><![CDATA[Erfreulich]]></category> <category><![CDATA[Informatik]]></category> <category><![CDATA[Nachdenklich]]></category> <category><![CDATA[Pfeifferisches Menschenfieber]]></category> <category><![CDATA[Politik]]></category> <category><![CDATA[Spirituelles]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11001</guid> <description><![CDATA[As we&#8217;re aware, the government and whitehat security terrorists across the world continue to dominate and control our Internet ocean. Sitting pretty on cargo bays full of corrupt booty, they think it&#8217;s acceptable to condition and enslave all vessels in sight. Our Lulz Lizard battle fleet is now declaring immediate and unremitting war on the [...]]]></description> <content:encoded><![CDATA[<p><img src="http://scratchbook.ch/wp-content/uploads/2011/06/lulz_logo-300x278.jpg" alt="" title="lulz_logo" width="300" height="278" class="alignnone size-medium wp-image-11008" /></p><p>As we&#8217;re aware, the government and whitehat security terrorists across the world continue to dominate and control our Internet ocean. Sitting pretty on cargo bays full of corrupt booty, they think it&#8217;s acceptable to condition and enslave all vessels in sight. Our Lulz Lizard battle fleet is now declaring immediate and unremitting war on the freedom-snatching moderators of 2011.</p><p><span id="more-11001"></span>Welcome to Operation Anti-Security (<a href="https://twitter.com/#!/search/%23AntiSec">#AntiSec</a>) &#8211; we encourage any vessel, large or small, to open fire on any government or agency that crosses their path. We fully endorse the flaunting of the word &#8220;AntiSec&#8221; on any government website defacement or physical graffiti art.</p><p><img class="alignnone size-medium wp-image-11004" title="ng1jx" src="http://scratchbook.ch/wp-content/uploads/2011/06/ng1jx-300x224.jpg" alt="" width="300" height="224" /></p><p>We encourage you to spread the word of AntiSec far and wide, for it will be remembered. To increase efforts, we are now teaming up with the Anonymous collective and all affiliated battleships.</p><p>Whether you&#8217;re sailing with us or against us, whether you hold past grudges or a burning desire to sink our lone ship, we invite you to join the rebellion. Together we can defend ourselves so that our privacy is not overrun by profiteering gluttons. Your hat can be white, gray or black, your skin and race are not important. If you&#8217;re aware of the corruption, expose it now, in the name of Anti-Security.</p><p>Top priority is to steal and leak any classified government information, including email spools and documentation. Prime targets are banks and other high-ranking establishments. If they try to censor our progress, we will obliterate the censor with cannonfire anointed with lizard blood.</p><p>It&#8217;s now or never. Come aboard, we&#8217;re expecting you&#8230;</p><p>History begins today.</p><p>Lulz Security,<br /> <a href="http://LulzSecurity.com/">http://LulzSecurity.com/</a></p><p>Support: <a href="http://www.mithral.com/~beberg/manifesto.html">http://www.mithral.com/~beberg/manifesto.html</a><br /> Support: <a href="http://www.youtube.com/user/thejuicemedia">http://www.youtube.com/user/thejuicemedia</a><br /> Support: <a href="http://wikileaks.ch/">http://wikileaks.ch/</a><br /> Support: <a href="http://anonyops.com/">http://anonyops.com/</a></p><p><img class="alignnone size-full wp-image-11002" title="anonymous_hacktivist_manifest" src="http://scratchbook.ch/wp-content/uploads/2011/06/anonymous_hacktivist_manifest.jpg" alt="" width="400" height="325" /></p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/06/20/salutations-lulz-lizards/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>16-bit ALU in&#8230;Minecraft!</title><link>http://scratchbook.ch/2011/06/19/16-bit-alu-in-minecraft/</link> <comments>http://scratchbook.ch/2011/06/19/16-bit-alu-in-minecraft/#comments</comments> <pubDate>Sun, 19 Jun 2011 10:34:20 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Basteleien]]></category> <category><![CDATA[Informatik]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=11000</guid> <description><![CDATA[[Im Feed kann dieses Video nicht angezeigt werden.Klicke zum Blogeintrag um das Video anzusehen.] This is the first part of a planned 16-bit computer that will run entirely in minecraft. That computer will be &#8220;Hack&#8221; compatible, which is to say that it&#8217;ll run code meant for the Hack machine described in The Elements of Computing [...]]]></description> <content:encoded><![CDATA[<p>[Im Feed kann dieses Video nicht angezeigt werden.<a href="http://scratchbook.ch/2011/06/19/16-bit-alu-in-minecraft/">Klicke zum Blogeintrag um das Video anzusehen.]</a></p><blockquote><p>This is the first part of a planned 16-bit computer that will run entirely in minecraft. That computer will be &#8220;Hack&#8221; compatible, which is to say that it&#8217;ll run code meant for the Hack machine described in The Elements of Computing Systems (a fantastic book that you should look up if you are at all interested in how computers work. Its website is <a href="http://www.idc.ac.il/tecs">http://www.idc.ac.il/tecs</a>).</p></blockquote> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/06/19/16-bit-alu-in-minecraft/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Skype: Chatlogs auslesen &amp; mehr</title><link>http://scratchbook.ch/2011/05/20/skype-chatlogs-auslesen-mehr/</link> <comments>http://scratchbook.ch/2011/05/20/skype-chatlogs-auslesen-mehr/#comments</comments> <pubDate>Fri, 20 May 2011 09:38:32 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[Informatik]]></category> <category><![CDATA[Nützlich]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=10917</guid> <description><![CDATA[Gut zu wissen: Skype speichert alle Daten, Chatlogs, Kontakte in einer SQLITE3 Datei. #Mac Alle gespeicherten Chat-Teilnehmer ausgeben: sqlite3 ~/Library/Application\ Support/Skype/[yourskypename]/main.db "SELECT author FROM messages WHERE 1=1 GROUP BY author" Chatlog für Teilnehmer [chatpartner] ausgeben: sqlite3 ~/Library/Application\ Support/Skype/[yourskypename]/main.db "SELECT author, timestamp, body_xml FROM messages WHERE dialog_partner = '[chatpartner]'" Gefunden auf hier.]]></description> <content:encoded><![CDATA[<p>Gut zu wissen: Skype speichert alle Daten, Chatlogs, Kontakte in einer SQLITE3 Datei. #Mac</p><p>Alle gespeicherten Chat-Teilnehmer ausgeben:<br /> <code>sqlite3 ~/Library/Application\ Support/Skype/[yourskypename]/main.db "SELECT author FROM messages WHERE 1=1 GROUP BY author"</code></p><p>Chatlog für Teilnehmer <em>[chatpartner]</em> ausgeben:<br /> <code>sqlite3 ~/Library/Application\ Support/Skype/[yourskypename]/main.db "SELECT author, timestamp, body_xml FROM messages WHERE dialog_partner = '[chatpartner]'"</code></p><p>Gefunden auf <a href="http://www.venetowebdesign.com/ressourcen/tutorials/skype-4x-chat-export.html">hier</a>.</p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/05/20/skype-chatlogs-auslesen-mehr/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Terminal Tipp: Schweig!</title><link>http://scratchbook.ch/2011/04/18/terminal-tipp-schweig/</link> <comments>http://scratchbook.ch/2011/04/18/terminal-tipp-schweig/#comments</comments> <pubDate>Mon, 18 Apr 2011 14:54:26 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[Informatik]]></category> <category><![CDATA[Nützlich]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=10890</guid> <description><![CDATA[Jedesmal, wenn ein neues Terminalfenster aufgeht: Last login: Mon Apr 18 16:45:43 on ttys008Die Meldung nervt. Abhilfe: touch ~/.hushlogin]]></description> <content:encoded><![CDATA[<p>Jedesmal, wenn ein neues Terminalfenster aufgeht:<br /> <code>Last login: Mon Apr 18 16:45:43 on ttys008</code>Die Meldung nervt.</p><p>Abhilfe:</p><div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> <span style="color: #c20cb9; font-weight: bold;">touch</span> ~<span style="color: #000000; font-weight: bold;">/</span>.hushlogin</pre></div></div>]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/04/18/terminal-tipp-schweig/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Irgendwann wie Stevens schreiben</title><link>http://scratchbook.ch/2011/04/01/irgendwann-wie-stevens-schreiben/</link> <comments>http://scratchbook.ch/2011/04/01/irgendwann-wie-stevens-schreiben/#comments</comments> <pubDate>Fri, 01 Apr 2011 09:48:12 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Informatik]]></category> <category><![CDATA[Nützlich]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=10866</guid> <description><![CDATA[Ein Artikel, den ich schon ziemlich lange gesucht habe. Wiedergefunden und geklaut aus einer Datenschleuder [PDF] Jeder will sie &#8211; kaum jemand schreibt sie: Die klare, verständliche, lesbare technische Dokumentation. Wie schreibt man gute technische Dokumentation? Was ist das eigentlich, &#8220;gutes Schreiben&#8221; ? Her damit: Ein Subjekt Gut schreibt, wer verständlich schreibt. Gut schreibt, wer [...]]]></description> <content:encoded><![CDATA[<p><em>Ein Artikel, den ich schon ziemlich lange gesucht habe.<br /> Wiedergefunden und geklaut aus einer <a href="http://chaosradio.ccc.de/media/ds/ds081.pdf">Datenschleuder [PDF]</a></em></p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/04/techdoku.jpg" alt="" title="techdoku" width="247" height="189" class="alignnone size-full wp-image-10868" /></p><p><strong>Jeder will sie &#8211; kaum jemand schreibt sie: Die klare, verständliche, lesbare technische Dokumentation. Wie schreibt man gute technische Dokumentation? Was ist das eigentlich, &#8220;gutes Schreiben&#8221; ?</strong></p><p><span id="more-10866"></span><br /><h2>Her damit: Ein Subjekt</h2><p>Gut schreibt, wer verständlich schreibt. Gut schreibt, wer seine Aussage in einen Satz mit höchstens einem Komma und höchstens einem Fremdwort steckt. Gut schreibt, wer oft und viel schreibt, wer schreiben übt. Gutes Schreiben ist weder eine exklusive Begabung noch eine geniale Inspiration: Schreiben ist Handwerk und es gibt einfache Regeln für gutes Schreiben und deswegen kann man Schreiben lernen. Für alle Textarten wendet man ein Set von Regeln an &#8211; egal, ob über Technik, über Philosophie oder Tagebuch geschrieben wird: Die erste Regel lautet: Kein Passiv. &#8220;Tagebuch geschrieben wird&#8221; &#8211; von wem denn? Warum bloss? &#8220;Ein Segfault wurde ausgelöst.&#8221; Von wem? Durch welches Problem? Was war die Ursache? Nicht umsonst haben Sätze ein Subjekt (der &#8220;Agent&#8221;, der Handelnde) und ein Objekt (das, worauf sich die Handlung bezieht) und ein Prädikat (das Verb). Passiv benutzt man dann, wenn kein Subjekt vorhanden ist &#8211; und das kommt wirklich selten vor. Ein einfaches Syntaxhighlighting im Lieblingseditor genügt, um seinen Stil sofort klarer zu gestalten. Da, ein verstecktes Passiv! Wer gestaltet da was klarer? Mit dem Syntaxhighlighting in Vim oder Emacs kann der Autor schlechten Stil und Passiv hervorheben. Schon präziser!</p><h2>Weg damit: Fremdwörter</h2><p>Gerade bei komplizierten Beschreibungen von Technik will der Leser Klarheit und Präzision, nein halt: Genauigkeit. Wieso ein Fremdwort verwenden, wenn man keins braucht? Also, der Leser will Klarheit und Genauigkeit. Unmissverständlich. Das ist die zweite Regel: Nicht sloterdijken und nicht habermasen! Moderne Philosphie &#8211; ich nenne es postmodernes Hirnwichsen &#8211; ist oft unlesbar: &#8220;Das Subjekt erzeugt in seiner metaphsysischen Relevanz ein reziprokes Rhizom zur Deprivation seiner Selbst.&#8221; Das muss nicht sein: Viele berühmte Philosophen kommen ganz ohne Fremdworte und gedrechselte Sätze aus, weil ihr Ziel Klarheit war. Natürlich kann man auch technische Phrasen dreschen &#8211; Handbücher und Howtos sind voll davon. Autoren vergessen gern, dass Leser Bücher und Texte verstehen wollen. Man schreibt einen Text für einen Leser, nicht gegen ihn.</p><h2>Relativsätze sind relativ lang</h2><p>Zusammengefasst: Kein Passiv, so einfach und klar wie möglich. Das ist sehr schwierig und klingt am Anfang ungewohnt &#8211; ist denn nicht nur kompliziertes Schreiben gutes Schreiben? Ist nur was wissenschaftlich klingt auch eine Wissenschaft? Nein. Unsinn. Hemingway hat 1954 den Nobelpreis für seine Sammlung von Subjekt &#8211; Objekt &#8211; Prädikat Sätzen bekommen und was für Hemingway gut war, sollte für uns ausreichen. Jeder Stevens macht es uns vor: Klare Sätze. Niemals länger als 2, höchstens 3 Zeilen. Jeder Satz bestückt mit Wissen. Wer Grammatik beherrscht wie Thomas Mann darf mehr als 3 Zeilen schreiben. Der Rest von uns bleibt unter 3 Zeilen Satz und trennt, sobald er einen Relativsatz beginnt, den Satz in mehrere Sätze auf. Also: Der Rest von uns bleibt unter 3 Zeilen Satz. Sobald er einen Relativsatz beginnt, trennt er ihn in zwei Sätze auf. Damit erspart man sich auch lästige Kommaregeln. Die braucht man nämlich nicht, wenn kein Komma notwendig ist.</p><h2>Dingsda: Nullwörter</h2><p>Das zeigt uns die nächste Falle: Nicht schwafeln, sondern informieren. Es gibt im Deutschen eine Sammlung Nullwörter, die man in beliebiger Menge in Texte einstreuen kann: Wirklich, nun, ja, gar, so, ungefähr &#8211; alle Worte, die bereits durch den Wortsinn einleiten, dass jetzt etwas folgt, was ungenau ist: &#8220;Ungefähr&#8221; ist eine ungenaue Zeit- oder Mengenangabe. &#8220;Der Compiler braucht ungefähr drei Stunden&#8221;. Wie wäre es stattdessen mit: &#8220;Ist die CPU schneller als 1 GHz, braucht der Compiler 2.45 Minuten, ist die CPU langsamer, dauert der Durchlauf 3.30 Minuten. Mit einem 486er wirft man den Compiler besser gleich über Nacht an.&#8221; Na also. Jetzt weiss der Leser, was ihn wirklich erwartet!</p><h2>Raus damit: Adjektive</h2><p>Ebenso überflüssig: Adjektive. Da fällt es den meisten Schreibern schwer, auszumisten, denn Adjektive machen den Text schwungvoll und lebendig. Das erscheint nur auf den ersten Blick so: Adjektive machen den Text schwülstig und langatmig und quetschen das letzte Fünkchen Phantasie aus dem Leser &#8211; bloss nicht selbst die Leidenschaft vorstellen, lieber hinschreiben: &#8220;Leidenschaftlich und wild küsste er ihren herrlich gerundeten Bauchnabel, sie stöhnte tief und ..&#8221; Damit gewinnt man den Bastei-Lübbe Billigpreis. Verben machen den Text lebendig, denn mit Verben drückt man Bewegung und Handlung aus. Wieso nicht besser schreiben: &#8220;Er fickte sie, sie biss zurück und schrie dann in die Nacht hinaus.&#8221; Wie sie es nun machen, bleibt der Vorstellung des Lesers überlassen. In technischen Texten spart man sich analog Adjektive wie &#8220;der tolle Editor&#8221; &#8211; wär&#8217; er Mist, würde man keinen Artikel schreiben. &#8220;Der grossartige Compiler&#8221; oder auch der &#8220;schnelle Compiler&#8221; sind genauso überflüssig: Schnell in Bezug auf was? Warum bewertet der Autor den Compiler als grossartig? Stattdessen nennt man die Vorzüge, die einen Compiler oder Editor aus der Masse der anderen Produkte hervorheben: &#8220;Das höppelgewöppte Doppelnipp macht den gcc zu einem schnellen Compiler. Alle anderen Compiler schnöppen nur das Huppelwupp und das macht sie langsam, weil kein Dippelschnipp optimiert wird.&#8221; Na gut. Ein Passiv. &#8220;weil keine Funktion für optimiertes Dippelschnipp existiert.&#8221; Oder noch besser: &#8220;Weil kein Entwickler die Funktion zum optimierten Dippelschnippen implimentiert hat.&#8221; Ah. Das Feature fehlt also!</p><h2>Schluss damit: Anglizismen</h2><p>Entschuldigung &#8211; &#8220;diese Fähigkeit&#8221; fehlt also. Die goldene Regel für Anglizismen lautet: Anglizismen nur dann verwenden, wenn der englische Ausdruck ein wichtiges Stichwort ist, unter dem man eine Suchmaschine befragen kann oder die Übersetzung Unsinn ergibt: Die Suche nach &#8220;Übersetzer&#8221; fördert andere Links zutage als die Suche nach &#8220;Compiler&#8221; und deswegen bleibt ein Compiler bei mir ein Compiler. Allerdings schreibe ich: &#8220;Ich lade den Compiler unter ftp.bla.de&#8221; herunter und nicht: &#8220;Ich downloadete den Compiler unter ftp.bla.de&#8221;. So bleibt bei mir auch ein Array und Hash in Perl ein Array und ein Hash &#8211; schreibe ich aber allgemein über Listen, schreibe ich &#8220;Listen&#8221; und nicht etwa &#8220;Arrays&#8221;. Ich entscheide von Fall zu Fall &#8211; brauche ich eine eingedeutschte Verbform, fliegt der Anglizismus raus und ich versuche, eine gute Übersetzung zu finden. Nochmal alle Tipps zusammen: Kein Passiv, klare, einfache Sätze, wenig Fremdwörter, Adjektive wegstreichen, stattdessen Verben verwenden und Anglizismen nur dort verwenden, wo sie unverzichtbar sind. Fehlt noch was?</p><h2>Durchsuchung: Substantivierte Verben</h2><p>Ja! Eine Fähigkeit der deutschen Sprache ist die Nutzung der Anwendung von der Substantivierung von Verben! Oft schreiben unerfahrene Autoren, um seriöser zu klingen, Sätze wie diesen: &#8220;Durch die Compilierung wird die Software zu einem Binary&#8221; &#8211; das geht klarer und einfacher: &#8220;Der gcc (Subjekt &#8211; Wer?) kompiliert (Verb &#8211; was passiert?) die Sourcen (das Objekt &#8211; Wen?) zu einem Binary (Ziel der Aktion).&#8221; Jetzt weiss man, wer was mit welchem Ziel tut. Mein Satz geht auch noch knapper: &#8220;Oft schreiben unerfahrene Autoren&#8221; .. Wer da was tut, taucht erst spät im Satz auf: &#8220;Unerfahrene Autoren schreiben oft..&#8221; oft? Weg damit. &#8220;Unerfahrene Autoren schreiben Sätze mit substantivierten Verben, um seriöser zu klingen:&#8221; Na also. Wer tut was womit und zu welchem Zweck? Alle Fragen beantwortet.</p><h2>Für den Editor alles zusammen:</h2><p>Die goldene Regel lautet: Wegstreichen, kürzen, rauswerfen! Ein Text gewinnt fast immer, wenn der Autor rigoros kürzt. Satz zu lang, mehr als 2 Kommata und keine Aufzählung? Zwei Sätze draus machen. Zuviele Adjektive? Raus damit, durch Verben ersetzen. Substantivierte Verben und Fremdworte? Geht alles knapper, klarer, genauer: Weg damit. Anfangs erscheint der Satz dann abgehackter &#8211; man könnte auch sagen: knackiger, kürzer und daran muss man sich erst gewöhnen. Wie erkennt man auf einen Blick problematische Wortgruppen?</p><p>Passiv: wird, wurde, geworden, gemacht sind typische Formen, die ganz sicher in einem Passivsatz ohne Subjekt enden. Kann man die Frage &#8220;wer macht da was?&#8221; klar beantworten, hat man ein Subjekt und dann soll man es auch hinschreiben.</p><p>Fremdwörter: Fremdwörter enthalten bestimmte Endungen, die man gut hervorheben kann: &#8211; ismus, -tät, -ierung, -tion, -tor. Fast jedes Fremdwort kann man durch ein passendes deutsches Wort ersetzen und so die Verständlichkeit erhöhen, ohne den Sinn zu entstellen. Nur selten ist ein Fremdwort ein klarer Fachbegriff, der unverzichtbar ist: Gastritis? Magenschleimhautentzündung. Ist zwar länger, aber -itis ist immer eine Entzündung und das Gast- irgendwas mit dem Magen des Menschen zu tun hat, weiss auch nicht jeder. Ismen benutzt man als Endsilbe für &#8220;streben nach&#8221; &#8211; Kapitalismus &#8211; streben nach Kapital, Imperialismus, streben nach Imperien. Die Silbe -tät beschreibt einen Zustand, die Silbe &#8211; ierung den Prozess dazu: &#8220;Globalität&#8221; ist der Zustand, den wir nach dem Prozess der &#8220;Globalisierung&#8221; erreichen. Deswegen sind Formulierungen wie &#8220;der Prozess der Industrialisierung&#8221; oder &#8220;der Zustand der Konformität&#8221; doppeltgemoppelt &#8211; raus damit. Der &#8220;- or&#8221; ist immer der Täter in einem Fremdwort: Terminator. Diktator. Contruktor. Imperator. Und der Täter sorgt für ein Ziel der Handlung &#8211; ein &#8220;-ion&#8221;: Der Construktor sorgt für eine Construktion, der Terminator sorgt für eine Termination. Die Terminierung ist der Prozess des Terminators mit dem Ziel der Termination! Und eine Terministis ist eine akute Metallgelenksentzündung mit schwerwiegenden Folgen für die Umwelt. Eine Termite hingegen.. ok.</p><p>Nullwörter: da ja, nun, gleich, obwohl, als wenn, gar, so, &#8220;ohne weiteres&#8221;, &#8220;bis hin zu&#8221;, wirklich, überhaupt, sehr, je, manchmal, beinahe, nur, Gerade (am Satzanfang) kann man fast immer ersatzlos streichen. Das gleiche gilt für Marketingworte: Substantiv enthält das Wort &#8220;Substanz&#8221; &#8211; und von &#8220;Agile Programmierung&#8221; bis &#8220;Zero Administration Needed Feature&#8221; enthalten die Worte keine &#8211; raus damit.</p><p>Adjektive: Einige Adjektive sind nützlich, weil sie den Zustand, das &#8220;So-Sein&#8221; eines Wortes genauer beschreiben: Rot. Grün. Tot. Kombinationen mit einem Substantiv, dass bereits diesen Zustand suggeriert, ergeben den berühmten weissen Schimmel. Oder für Nerds: Den grünen Schimmel. Ein Schimmel IST sowieso weiss, sonst hiesse er nicht so. Eine Leiche ist tot. Deswegen hat uns der Duden das Wort &#8220;Leiche&#8221; geschenkt. Dazu kommen die schwachen Adjektive, die sich von anderen Worten ableiten: Endungen wie -lich, -haft, -sam oder -isch kommen in Worten wie arbeitssam (fleissig), lachhaft (ich lache) oder unglaublich vor: Fast immer kann man ein Verb daraus machen und erzeugt so eine Handlung und muss dann auch einen Handelnden einfügen: &#8220;Das ist unglaublich&#8221; &#8211; Was denn? Und wer glaubt da was nicht? Wieso? Wer sich nicht sicher ist, ob ein Adjektiv angebracht ist oder nicht: Rauswerfen.</p><p>Substantivierte Verben: Die Endung -ung ist ein totsicheres Merkmal. Endung kommt von enden und Hoffnung von hoffen. Deswegen kann man genauso gut schreiben: &#8220;Endet ein Wort mit der Silbe -ung..&#8221; oder &#8220;Wenn das Wort mit der Silbe -ung endet..&#8221; Zunächst erscheint es kleinlich, aber ein Substantiv in ein Verb umwandeln zwingt den Autor aus einer Compilierung ein &#8220;Wer kompiliert was&#8221; zu machen und aus einer Verkabelung ein &#8220;wer verkapelt was womit&#8221;.</p><h2>Lektüre für Fortgeschrittene</h2><p>Für Fortgeschrittene gibt es noch ein paar mehr Regeln &#8211; die oben genannten für Einsteiger kann man mit vielen Editoren hervorheben und gleich rauswerfen, bevor man sie fertig getippt hat. Wer sich einlesen möchte: Für die deutsche Schriftsprache liest man &#8220;Deutsch fürs Leben&#8221; und &#8220;Deutsch für Kenner&#8221; von Wolf Schneider. Zu einem besseren Stil in Englisch verhilft der Klassiker &#8220;On Writing Well&#8221; von William Zinser &#8211; übrigens eine Erleichterung für jeden, der die Zeitenfolge von Relativsätzen oder Passivformen nicht mehr im Kopf hat: War ja sowieso kein guter Stil. Wer dann wissen will, wie Schriftsteller mit den Worten ringen und solche Stilmittel befolgen, dem sei Stephen Kings &#8220;Das Leben und das Schreiben&#8221; (englisch: &#8220;On Writing&#8221;) ans Herz gelegt.</p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/04/01/irgendwann-wie-stevens-schreiben/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>OOA, OOD, OOP &#8211; OOOOPS, die OOP-Sekte!</title><link>http://scratchbook.ch/2011/03/23/ooa-ood-oop-oooops-die-oop-sekte/</link> <comments>http://scratchbook.ch/2011/03/23/ooa-ood-oop-oooops-die-oop-sekte/#comments</comments> <pubDate>Wed, 23 Mar 2011 15:58:12 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Informatik]]></category> <category><![CDATA[Pfeifferisches Menschenfieber]]></category> <category><![CDATA[Webentwicklung]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=10859</guid> <description><![CDATA[Neulich wurde ich angehauen: Es sei &#8220;unschön&#8221;, wenn man statt echo new publicAbstractFactoryImplementationSuperGeilesFormEndTag&#40;void string args&#91;&#93;&#41;; einfach das schreibt, was man möchte: &#60;/form&#62; Liebe Softwarepäpste und Enterprisearschitekten. Hier kommt meine Philosophie: Ich bin faul. Die Maschine soll für mich arbeiten. Und sie soll das möglichst schnell tun, ohne viel Ressourcen zu beanspruchen. Andere Menschen mit weniger [...]]]></description> <content:encoded><![CDATA[<p>Neulich wurde ich angehauen:</p><p><img class="alignnone size-full wp-image-10860" title="00000092" src="http://scratchbook.ch/wp-content/uploads/2011/03/00000092.png" alt="" width="551" height="601" /></p><p>Es sei &#8220;unschön&#8221;, wenn man statt</p><div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #000000; font-weight: bold;">new</span> publicAbstractFactoryImplementationSuperGeilesFormEndTag<span style="color: #009900;">&#40;</span>void string args<span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p>einfach das schreibt, was man möchte:</p><div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;/</span>form<span style="color: #339933;">&gt;</span></pre></div></div><p>Liebe Softwarepäpste und Enterprisearschitekten. Hier kommt meine Philosophie:</p><ul><li>Ich bin faul.</li><li>Die Maschine soll für mich arbeiten.</li><li>Und sie soll das möglichst schnell tun, ohne viel Ressourcen zu beanspruchen.</li><li>Andere Menschen mit weniger Erfahrung sollen das, was ich entwickelt habe, Verstehen und weiterentwickeln können.</li></ul><blockquote><p> Aber nein, so geht das doch nicht. Was wir brauchen, sind möglichst komplizierte Strukturen und Muster, die überhaupt niemand mehr ausser der Autor selbst checkt, damits softwarearchitektonisch schön ist und die Wartbarkeit erhöht wird.</p><p>Und wenn man dann genug Singletons mit der Abstract Factory instanziiert hat, welche die Facade durch den Proxy decoraten, damit der Mediator den Observer nicht beim visiten des Mementos dependency-injected, dann kann das Data Access Object mit dem Plugin via Null Object Flyweight durch das Composite iterieren und das emitten, was man eigentlich ursprünglich wollte:</p><p>Hello World.</p></blockquote><p>Grässlich. Und dann wird mit einer &#8220;höheren Schulbildung&#8221; geprahlt; einer Bildung, wo einem das Hirni dermassen durchgemantscht und verdreht wird, dass man am Schluss überhaupt nicht mehr weiss, wie man einen simplen Text ausgibt, weil man ja erst eine abstrakte Factory braucht, die man dann in einer Implementation per Dependency-Injection instanziieren kann, damit man sie dann durch alle DAO und SOA-Layer rauf und runter über tausend Schnittstellen via XML schicken kann, damit am Ende&#8230; Ääh, was wollten wir eigentlich?</p><p>Dass so eine Erdölraffinerie* ordentlich Speicher frisst, liegt auf der Hand. Und warten können&#8217;s nur solche, die auch so eine Hochbildung haben. Die OOP-Sekte.</p><p>Kein Wunder fühlen sich Enterprise-Senior-Supermega-OOP-Engineering-Technical-Softwarearchitekts gleich angepisst, wenn man ihr lange und mühsam erlerntes Hoheitsgebiet mit schnellen, schlanken, praktischen und gut funktionierenden Quickwins erschiesst. Die wollen ihren &#8220;Marktwert&#8221; erhalten.</p><p>Nein. So will ich nicht enden. Entwurfsmuster als Inspiration ja, aber schlichte Ansätze als &#8220;unschön&#8221; bezeichnen, nur weil&#8217;s halt grad nicht in ein Enterprise-Pattern passt: <a href="http://fffffffffffffffffffffffuuuuuuuuuuuuuuuuuuuuuu.com/">FFFUUUU</a>.</p><blockquote><p> <strong>* Erdölraffinerie (engl. Gas factory)</strong><br /> Unnötig komplexe Systementwürfe für relativ simple Probleme werden abwertend als Erdölraffinerien bezeichnet.</p><p>(Wikipedia: <a href="http://de.wikipedia.org/wiki/Anti-Pattern">Anti-Patterns</a>)</p></blockquote> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/03/23/ooa-ood-oop-oooops-die-oop-sekte/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>The Github experience</title><link>http://scratchbook.ch/2011/03/04/the-github-experience/</link> <comments>http://scratchbook.ch/2011/03/04/the-github-experience/#comments</comments> <pubDate>Fri, 04 Mar 2011 18:23:37 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Informatik]]></category> <category><![CDATA[Nützlich]]></category> <category><![CDATA[Webentwicklung]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=10810</guid> <description><![CDATA[Ich habe gerade die Vorteile, die Git &#038; Github bieten, hautnah erfahren! Hoh, da ist etwas tolles auf Github: node-search-engine. Ein auf node.js basierter Webcrawler, der das Internet durchsucht (asynchron und parallel, yay) und in einer CouchDB speichert. *geifer* &#8211; gleich ausprobieren! Ich mache also einen &#8220;Fork&#8221;. Was passiert da: Das Repository node-search-engine, welches dem [...]]]></description> <content:encoded><![CDATA[<p><img src="http://scratchbook.ch/wp-content/uploads/2011/03/logov3.png" alt="" title="logov3" width="100" height="45" class="alignnone size-full wp-image-10811" /></p><p>Ich habe gerade die Vorteile, die Git &#038; Github bieten, hautnah erfahren!</p><p>Hoh, da ist etwas tolles auf Github: <a href="https://github.com/kurokikaze/node-search-engine">node-search-engine</a>. Ein auf <a href="http://nodejs.org/">node.js</a> basierter Webcrawler, der das Internet durchsucht (asynchron und parallel, yay) und in einer <a href="http://couchdb.apache.org/">CouchDB</a> speichert.</p><p>*geifer* &#8211; gleich ausprobieren!</p><p>Ich mache also einen &#8220;Fork&#8221;.</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/03/Bildschirmfoto-2011-03-04-um-18.56.05.png" alt="" title="Bildschirmfoto 2011-03-04 um 18.56.05" width="359" height="41" class="alignnone size-full wp-image-10812" /></p><p>Was passiert da: Das Repository <em><a href="https://github.com/kurokikaze/node-search-engine">node-search-engine</a></em>, welches dem Benutzer <em>kurokikaze</em> gehört, wird unter meinen Account als <a href="https://github.com/claudehohl/node-search-engine">eigenständiges Repository</a> kopiert.</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/03/Bildschirmfoto-2011-03-04-um-18.44.20-618x434.png" alt="" title="Bildschirmfoto 2011-03-04 um 18.44.20" width="618" height="434" class="alignnone size-large wp-image-10813" /></p><p>Jetzt gehörst du mir. Und ich kann dich klonen und drücken wie es mir beliebt.</p><p>Uuh, da läuft noch was nicht. Eine binäre Library funktioniert unter Mac OS X nicht, ein Syntaxfehler, und ein Funktionsname hat sich geändert.</p><p>So. Ich glaube jetzt läufts! Gleich committen und auf Github übertragen.</p><p>Hmm. Ich habe wohl gerade ein paar Bugs gefixt. Das Projekt liegt seit April 2010 brach &#8211; vielleicht freut sich der Entwickler ja über meine Verbesserungen.</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/03/Bildschirmfoto-2011-03-04-um-19.11.14.png" alt="" title="Bildschirmfoto 2011-03-04 um 19.11.14" width="352" height="39" class="alignnone size-full wp-image-10814" /></p><p>Ich schicke ihm eine <em><a href="https://github.com/kurokikaze/node-search-engine/pull/1">Pull-Anfrage</a></em>:</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/03/Bildschirmfoto-2011-03-04-um-15.57.44.png" alt="" title="Bildschirmfoto 2011-03-04 um 15.57.44" width="440" height="112" class="alignnone size-full wp-image-10815" /></p><p>Das heisst soviel wie: &#8220;Hey schau mal, ich habe da <a href="https://github.com/claudehohl/node-search-engine/commit/12be8ee80532bf29c289ad4ecd52072a4f9a62a3">eine Verbesserung</a> für dein Projekt &#8211; wenn es dir gefällt, kannst du diese Änderungen übernehmen!&#8221;</p><p>2 Minuten später:</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/03/Bildschirmfoto-2011-03-04-um-15.56.38.png" alt="" title="Bildschirmfoto 2011-03-04 um 15.56.38" width="553" height="102" class="alignnone size-full wp-image-10816" /></p><p>Noch ein bisschen später:</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/03/Bildschirmfoto-2011-03-04-um-18.14.11.png" alt="" title="Bildschirmfoto 2011-03-04 um 18.14.11" width="582" height="109" class="alignnone size-full wp-image-10817" /></p><p>Er ist dankbar und hat meine Verbesserungen gleich übernommen! YAY</p><p>Ist ja ein tolles Konzept! Jeder hat sein Repository. Jeder kann es kopieren. Es braucht keine Berechtigungen, kein &#8220;Hauptentwicklungszweig&#8221;. Was toll ist, wird geforkt, und wenn die Änderung passt, wird sie übernommen. Wenn nicht, existiert einfach ein Fork, eine Variante der Software eigenständig weiter.</p><p>Schläft die Entwicklung ein, finden sich sicher Entwickler um einen populären Fork, die ihn weiterentwickeln. Die Macht ist quasi nicht mehr bei den Entwicklern oder bei einer Firma, sondern bei der Software selbst. Die Firma mag Konkurs gehen, die Software lebt weiter. Der beste Fork gewinnt.</p><p>Erst durch Github wird das Opensource-Prinzip wirklich gelebt.</p><p><a href="http://github.com/">http://github.com/</a></p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/03/04/the-github-experience/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>GCP &#8211; Global Consciousness Project</title><link>http://scratchbook.ch/2011/03/03/gcp-global-consciousness-project/</link> <comments>http://scratchbook.ch/2011/03/03/gcp-global-consciousness-project/#comments</comments> <pubDate>Thu, 03 Mar 2011 21:29:37 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Informatik]]></category> <category><![CDATA[Nachdenklich]]></category> <category><![CDATA[Spirituelles]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=8158</guid> <description><![CDATA[Wenn wir schon beim Zufall sind &#8211; es gibt das &#8220;Global Consciousness Project&#8220;; wo weltweit Zufallszahlen aus weissem Rauschen gesammelt und ausgewertet werden. Man versucht, die Existenz eines globalen Bewusstseinsfeldes zu beweisen. Der Clou: Ereignisse, welche viele Menschen auf der Welt emotional mitgerissen hat, verändern diese Zufallszahlen. Periods of collective attention or emotion in widely [...]]]></description> <content:encoded><![CDATA[<p>Wenn wir schon beim <a href="http://scratchbook.ch/2011/02/12/echter-zufall/">Zufall</a> sind &#8211; es gibt das &#8220;<a href="http://noosphere.princeton.edu/">Global Consciousness Project</a>&#8220;; wo weltweit Zufallszahlen aus weissem Rauschen gesammelt und ausgewertet werden. Man versucht, die Existenz eines globalen Bewusstseinsfeldes zu beweisen.</p><p>Der Clou: Ereignisse, welche viele Menschen auf der Welt emotional mitgerissen hat, verändern diese Zufallszahlen.</p><blockquote><p>Periods of collective attention or emotion in widely distributed populations will correlate with deviations from expectation in a global network of physical random number generators.</p></blockquote><p>Beispiel: Die Anschläge vom 11. September 2001:</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/03/terror010911vp2.gif" alt="" title="terror010911vp2" width="596" height="427" class="alignnone size-full wp-image-10805" /></p><p>Die rote Linie sind die Zahlen aus dem weissen Rauschen, die von Feldeffekttransistoren aufgezeichnet werden, und die blaue Linie sind computergenerierte Pseudo-Zufallszahlen.</p><p>Das Messinstrument ist ein <a href="http://noosphere.princeton.edu/reg.html">REG</a> &#8211; ein Random Event Generator:</p><p><img src="http://scratchbook.ch/wp-content/uploads/2011/03/PEAR.REG_.jpg" alt="" title="PEAR.REG" width="560" height="200" class="alignnone size-full wp-image-10806" /></p><p><a href="http://scratchbook.ch/wp-content/uploads/2011/03/MReg1s.jpg"><img src="http://scratchbook.ch/wp-content/uploads/2011/03/MReg1s-255x300.jpg" alt="" title="MReg1s" width="255" height="300" class="alignnone size-medium wp-image-10807" /></a></p><p>Ich glaube ich weiss schon was mein nächstes Arduino-Projekt wird&#8230; <img src='http://scratchbook.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><blockquote><p>The Global Consciousness Project collects random numbers from around the world. These numbers are available on the GCP website. This website downloads those numbers once a minute and performs sophisticated analysis on these random numbers to see how coherent they are. That is, how probable it is that the numbers are generated as they are. The theory is that the Global Consciousness of all the people of the world affect these random numbers&#8230; Maybe they aren&#8217;t quite as random as we thought.</p></blockquote><p> <a href="http://noosphere.princeton.edu/">http://noosphere.princeton.edu/</a></p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/03/03/gcp-global-consciousness-project/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Von Windows 1.0 bis Windows 7</title><link>http://scratchbook.ch/2011/03/03/von-windows-1-0-bis-windows-7/</link> <comments>http://scratchbook.ch/2011/03/03/von-windows-1-0-bis-windows-7/#comments</comments> <pubDate>Thu, 03 Mar 2011 18:57:23 +0000</pubDate> <dc:creator>Claude</dc:creator> <category><![CDATA[Informatik]]></category><guid isPermaLink="false">http://scratchbook.ch/?p=10804</guid> <description><![CDATA[[Im Feed kann dieses Video nicht angezeigt werden.Klicke zum Blogeintrag um das Video anzusehen.] Amüsant. Windows 1.0 wird installiert; und davon ausgehend wird auf jede Windows-Version aktualisiert, bis hin zu (the latest and greatest) Windows 7&#8230;]]></description> <content:encoded><![CDATA[<p>[Im Feed kann dieses Video nicht angezeigt werden.<a href="http://scratchbook.ch/2011/03/03/von-windows-1-0-bis-windows-7/">Klicke zum Blogeintrag um das Video anzusehen.]</a></p><p>Amüsant. Windows 1.0 wird installiert; und davon ausgehend wird auf jede Windows-Version aktualisiert, bis hin zu (the latest and greatest) Windows 7&#8230;</p> ]]></content:encoded> <wfw:commentRss>http://scratchbook.ch/2011/03/03/von-windows-1-0-bis-windows-7/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
