<?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>Moritz Haarmann's Blog &#187; stupid</title>
	<atom:link href="http://momo.brauchtman.net/tag/stupid/feed/" rel="self" type="application/rss+xml" />
	<link>http://momo.brauchtman.net</link>
	<description>for the sake of completeness!</description>
	<lastBuildDate>Fri, 27 Aug 2010 14:00:07 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Popular Antipatterns explained.</title>
		<link>http://momo.brauchtman.net/2009/03/popular-antipatterns-explained/</link>
		<comments>http://momo.brauchtman.net/2009/03/popular-antipatterns-explained/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 14:54:03 +0000</pubDate>
		<dc:creator>momo</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[antiusability]]></category>
		<category><![CDATA[stupid]]></category>

		<guid isPermaLink="false">http://momo.brauchtman.net/?p=335</guid>
		<description><![CDATA[There is so much talking about buzzy Design Patterns. But honestly, who cares. We don&#8217;t need MVC as long as it works. What is Flyweight? And definitely no need to decorate anything, this is a factory. But unless you already found the perfect way to eliminate code beauty and readability, I put up this short [...]]]></description>
			<content:encoded><![CDATA[<p>There is so much talking about buzzy Design Patterns. But honestly, who cares. We don&#8217;t need MVC as long as it works. What is Flyweight? And definitely no need to decorate anything, this is a factory.</p>
<p>But unless you already found the perfect way to eliminate code beauty and readability, I put up this short list of common antipatterns. Use or avoid them, it&#8217;s up to you.</p>
<p><strong>Mietroller</strong></p>
<p>A blend of the words Model, View and Controller, mostly found in big, monolitgic, uncommented source files. Hard to maintain and impossible to test, yet it feels quite natural to do it that way. The usage is simple: just put everything in one file, write it doen as you think it. No classes, no references, just code. Don&#8217;t write methods. The core advantages are:</p>
<ul>
<li>No need for third-party code-scrambles</li>
<li>Looks impressive in an editor with green background and black font</li>
</ul>
<p><strong>Manufactory</strong></p>
<p>Why bother writing even one line of code that is reusable? Exactly, just burn down this useless Factory-Pattern, and replace it with the fancy Manufactory pattern. In case you never heard of the factory-pattern, you are lucky. Else, try to forget it, and forget Object Orientation too.. Advantages are:</p>
<ul>
<li>Many.</li>
</ul>
<p><strong>Heavyweight</strong></p>
<p>Nobody, really no one likes to deal with references or pointers. So it&#8217;s save to assume that there are enough resources to store everything in-place. And of course, this is a very secure approach. No pointers = no danger. Advantages:</p>
<ul>
<li>No need to use strange facilities like References ever again.</li>
</ul>
<p><strong>Globalton</strong></p>
<p>Exactly, not singleton, it&#8217;s globalton. Why? Well, it&#8217;s pretty clear to me. There is no good reason for using global variables. Of course, some are saying it decreases portability and reusability. I don&#8217;t care. Just put everything you need in a global scope. If the language you are using doesn&#8217;t support that feature, use another one. Really. Advantages:</p>
<ul>
<li>Easier<strong>.</strong></li>
</ul>
<p>If you know some more antipatterns, please let me know, I&#8217;d be glad to know as many as possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://momo.brauchtman.net/2009/03/popular-antipatterns-explained/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Studiengebühren, Abwrackprämie, Vernunftbefreiung.</title>
		<link>http://momo.brauchtman.net/2009/02/studiengebuhren-abwrackpramie-vernunftbefreiung/</link>
		<comments>http://momo.brauchtman.net/2009/02/studiengebuhren-abwrackpramie-vernunftbefreiung/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 21:58:58 +0000</pubDate>
		<dc:creator>momo</dc:creator>
				<category><![CDATA[deutsch]]></category>
		<category><![CDATA[study]]></category>
		<category><![CDATA[stupid]]></category>

		<guid isPermaLink="false">http://momo.brauchtman.net/?p=280</guid>
		<description><![CDATA[Es geht ja normal immer um Technik oder andere Nutzlosigkeiten hier, aber heute muss ich die Richtung kurzzeitig wechseln und das Ergebnis einer wirklich kurzen Recherche kundtun. Ich studiere weder Politikwissenschaften noch habe ich die BWL-Klausur letztes Semester bestanden, dennoch muss doch erwähnt werden, dass dem Wahnsinn wohl endgültig Tür und Tor geöffnet wurden, als [...]]]></description>
			<content:encoded><![CDATA[<p>Es geht ja normal immer um Technik oder andere Nutzlosigkeiten hier, aber heute muss ich die Richtung kurzzeitig wechseln und das Ergebnis einer wirklich kurzen Recherche kundtun. Ich studiere weder Politikwissenschaften noch habe ich die BWL-Klausur letztes Semester bestanden, dennoch muss doch erwähnt werden, dass dem Wahnsinn wohl endgültig Tür und Tor geöffnet wurden, als die Abwrackprämie eingeführt wurde.</p>
<p>Erstmal zur Abwrack- bzw. Umweltprämie. 2500 Euro für ein 9 Jahre altes Auto, dass mindestens 1 Jahr beim Halter war. Und dann darf man sich ein subventioniertes Mobil kaufen. Das soll natürlich dazu dienen, die Binnennachfrage auf dem Automobilmarkt anzukurbeln, aber es ist doch fraglich ob jemand, der mit einem 9 Jahre alten Auto durch die deutschen Lande fährt sich als nächstes einen Golf oder BMW 1er kauft. Oder vielleicht doch einen günstigen Japaner. Also, mittelguter Plan, aber von unvergleichlicher Populistischer Schlagkraft. Wer will da noch Bildung.</p>
<p>Genau da ist der Punkt. Für die Abwrackprämie stellt die Bundesregierung 1,5 Milliarden Euro bereit.1 500 000 000 Euro. Kein Problem wenn man das Geld den hätte, aber leider ist das nicht der Fall. Und weil das nicht der Fall ist muss ein normaler Student Studiengebühren zahlen, zumindest ich, hier in Baden Württemberg. Und während sich Innenpolitiker in der Furcht das Osama demnächst einen Regionalexpress in Castrop-Rauxel vom rechten Weg abringen nächtlich einnässen, wird die Chance auf Bildung unabhängig vom Kontostand nebenbei verbannt.</p>
<p>Um noch eine Zahl einzuwerfen. Laut dem Statistischen Landesamt studieren in Baden-Württemberg 231509 Menschen, ( <a href="http://www.statistik.baden-wuerttemberg.de/BildungKultur/Landesdaten/studInsgg.asp">Quelle </a>), selbst wenn jeder Studiengebühren bezahlen müsste würde das einen Betrag von 115754500 Euro ergeben, also 115 Millionen Euro. Und an dieser Stelle muss natürlich erwähnt werden dass das eine Bundeshaushalt und das andere Landesgeschichten sind, aber selbst diese Einschränkung beeinflußt den Unsinnigkeitsfaktor nur minimal.</p>
]]></content:encoded>
			<wfw:commentRss>http://momo.brauchtman.net/2009/02/studiengebuhren-abwrackpramie-vernunftbefreiung/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Still no Java 6 for Intel 32 bit and PowerPC based Macs</title>
		<link>http://momo.brauchtman.net/2009/01/still-no-java-6-for-intel-32-bit-and-powerpc-based-macs/</link>
		<comments>http://momo.brauchtman.net/2009/01/still-no-java-6-for-intel-32-bit-and-powerpc-based-macs/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 14:02:42 +0000</pubDate>
		<dc:creator>momo</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[industry]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[stupid]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://momo.brauchtman.net/?p=236</guid>
		<description><![CDATA[Running Mac OS X, i forgot to mention that in the headline. Why? Apple is most likely busy updating it&#8217;s own stuff, promoting it&#8217;s platform, and since the iPhone came up, many people started learning Cocoa, so the developer base there has grown, too. Additionally, the general user base is also growing, making it a [...]]]></description>
			<content:encoded><![CDATA[<p>Running Mac OS X, i forgot to mention that in the headline. Why? Apple is most likely busy updating it&#8217;s own stuff, promoting it&#8217;s platform, and since the iPhone came up, many people started learning Cocoa, so the developer base there has grown, too. Additionally, the general user base is also growing, making it a more interesting target for Software Companies. And there are not many basic rules, valid everywhere, but one is for sure that Java Desktop applications just don&#8217;t integrate well. There is maybe an exception for programs using SWT, but still, the native look and feel is something different.</p>
<p>So the question I&#8217;m asking is whether it&#8217;s that bad that there is no Java support? Yes! Absolutely! At least if you either use programs or build programs depending on it. Of course, most programs just work fine with Java 5, but there are some that just don&#8217;t. And so one of the main reasons for Java is obsolete: write once, run everywhere. And while Sun, the company behind Java, is providing Runtime Environments for Windows and Linux, it&#8217;s not for Mac. So it&#8217;s not Apples fault alone. But careless of who&#8217;s fault it is, it just sucks, clearly spoken.</p>
]]></content:encoded>
			<wfw:commentRss>http://momo.brauchtman.net/2009/01/still-no-java-6-for-intel-32-bit-and-powerpc-based-macs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Microsoft to receive the annual award for the funniest bug</title>
		<link>http://momo.brauchtman.net/2009/01/microsoft-to-receive-the-annual-award-for-the-funniest-bug/</link>
		<comments>http://momo.brauchtman.net/2009/01/microsoft-to-receive-the-annual-award-for-the-funniest-bug/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 16:55:04 +0000</pubDate>
		<dc:creator>momo</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[antiusability]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[industry]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[stupid]]></category>

		<guid isPermaLink="false">http://momo.brauchtman.net/?p=222</guid>
		<description><![CDATA[Keep looking for that headline! The reason is simple, and you will agree ( hopefully ) that this is indeed a freaking funny bug description. The bug itself is funny, too. And I just don&#8217;t understand why, but let the details rest aside, and let&#8217;s enjoy it: A Web site cannot set a cookie if [...]]]></description>
			<content:encoded><![CDATA[<p>Keep looking for that headline! The reason is simple, and you will agree ( hopefully ) that this is indeed a freaking funny bug description. The bug itself is funny, too. And I just don&#8217;t understand why, but let the details rest aside, and let&#8217;s enjoy it:</p>
<p><strong>A Web site cannot set a cookie if the Domain attribute is in uppercase characters and has an odd number of characters in Internet Explorer 7</strong></p>
<p>You can read find that bug in the <a href="http://support.microsoft.com/?scid=kb%3Ben-us%3B932044&amp;x=12&amp;y=15">Knowledge Base</a>. This post features nothing else but this bold bug description, so here&#8217;s my question, to be answered in the comment: what do you think was the code that caused this bug looking like? Any languages ( even brainfuck! ) welcome..</p>
<p>Edit: I stumbled upon a video demonstrating that by getting the square root of 4 and subtracting 2 from the result, the calculator.. outputs some rather unique result. Any explanation here? Try it, works in any Windows version. Buggy times.</p>
]]></content:encoded>
			<wfw:commentRss>http://momo.brauchtman.net/2009/01/microsoft-to-receive-the-annual-award-for-the-funniest-bug/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Antiusability at its best: Language Documentation</title>
		<link>http://momo.brauchtman.net/2008/12/antiusability-at-its-best-language-documentation/</link>
		<comments>http://momo.brauchtman.net/2008/12/antiusability-at-its-best-language-documentation/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 19:23:56 +0000</pubDate>
		<dc:creator>momo</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[antiusability]]></category>
		<category><![CDATA[challenge]]></category>
		<category><![CDATA[industry]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[RailsMerb]]></category>
		<category><![CDATA[stupid]]></category>

		<guid isPermaLink="false">http://momo.brauchtman.net/?p=117</guid>
		<description><![CDATA[Whether you&#8217;re an active developer busy doing some Java, Ruby, Perl or ( fill in your language here ) based projects, you&#8217;ll most likely have some kind of browser windows opened sometimes providing you with the necessary documentation for libraries or ( but hopefully not ) language basics.  Because I&#8217;m not in love with one [...]]]></description>
			<content:encoded><![CDATA[<p>Whether you&#8217;re an active developer busy doing some Java, Ruby, Perl or ( fill in your language here ) based projects, you&#8217;ll most likely have some kind of browser windows opened sometimes providing you with the necessary documentation for libraries or ( but hopefully not ) language basics. </p>
<p>Because I&#8217;m not in love with one language and used to switching back and forth between several of them, I tend to forget some details about built-in classes etc.. It&#8217;s certainly o.k. to have the documentation for such features available somewhere on the web, but I&#8217;d love to be able to simply download bundles for a language in a &#8220;documentation reader&#8221;. Open format ( there are lots of them that would suit this application ), simple to transform anything to it via xsl or something comparable, and it would just work ( even offline ). </p>
<p>I won&#8217;t claim to start a new project here as I&#8217;m already quite busy doing the rest, and celebrating new years eve, but if somebody is looking for a challenge, here it is. </p>
<p>This subject shows another important aspect of usability. Usability shouldn&#8217;t stop at the Users place. Developers are users, too. And happy users tend to be more loyal and happy, a goal certainly worth achieving.</p>
<p>Edit: Now the night has finally arrived, and I think the following tasks should be completed before any such project can be forged. </p>
<ol>
<li>Define an open format for efficiently saving Language Documentation. Keep in mind that language documentation differs in structure depending on what kind of language is documented. Object oriented languages need other formats or present other structures than procedural or functional ones. </li>
<li>Create scripts that convert existing documentation into that new format. XSL is a powerful friend here. No one will ever take care about a cool project without a funky demo.</li>
<li>Build clients that are eaasssyy to use for all major platforms. I&#8217;m talking about smooth integration ( e.g. a spotlight plugin for OS X ), not some dirty hack.</li>
<li>Tell all your programmer friends.</li>
</ol>
<p>Thats it. But I&#8217;m still not ( yet ) interested in doing it by myself, but if anybody wants to do it, don&#8217;t bother contacting me. Sleep well.</p>
<p>Edit: found <a href="http://halfhourhacks.blogspot.com/2008/08/documentation-viewer.html">this link</a>, like it.</p>
]]></content:encoded>
			<wfw:commentRss>http://momo.brauchtman.net/2008/12/antiusability-at-its-best-language-documentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The dying MacBook: Early adopters fate.</title>
		<link>http://momo.brauchtman.net/2008/12/the-dying-macbook-early-adopters-fate/</link>
		<comments>http://momo.brauchtman.net/2008/12/the-dying-macbook-early-adopters-fate/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 01:37:07 +0000</pubDate>
		<dc:creator>momo</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[useless]]></category>
		<category><![CDATA[antiusability]]></category>
		<category><![CDATA[experience]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[stupid]]></category>

		<guid isPermaLink="false">http://momo.brauchtman.net/?p=75</guid>
		<description><![CDATA[So it is. I have a MacBook, the beautiful ( at least it used to be ) white, 13&#8243; screen, first model. But as with any living being, death is certain and signs for its arrival are mostly undeniable. Would my MacBook be a human patient, he would be approaching multi-organ failure. But let&#8217;s step [...]]]></description>
			<content:encoded><![CDATA[<p>So it is. I have a MacBook, the beautiful ( at least it used to be ) white, 13&#8243; screen, first model. But as with any living being, death is certain and signs for its arrival are mostly undeniable. Would my MacBook be a human patient, he would be approaching multi-organ failure. But let&#8217;s step over to the comprehensive list of failures.</p>
<p>Bluetooth seems to work only when Moon and some other planets are in a constellation allowing certain, yet to be discovered, microwaves to be sent to the outer world, thus enabling bluetooth. I can assure you that this planetary constellation is indeed very, very rare and so is my bluetooth.</p>
<p>I wouldn&#8217;t bother just because of a broken bluetooth device, but fun is that one of the two USB-Ports seems to have been infected by the same disease little Bluetooth already has. Random failures. Just random.</p>
<p>There are days when I just don&#8217;t care about these little details. Its the days when the display starts to flicker. I&#8217;m not the only one ( the above reported issues are also well-known ), as you can see <a href="http://www.youtube.com/watch?v=Ww6acstHryc">here</a>. I&#8217;m glad to have a external display allowing me to take back control &#8211; and actually see it!</p>
<p>That&#8217;s it? Nope. Battery life is over, okay, no comment here, just normal. But case life too? Actually its broken in two places, and it appears to me to be just lousy. really. I&#8217;m quite confident though that it won&#8217;t happen with a new Alu MacBook, which I&#8217;m going to buy as soon as I find out about my fathers credit card number. Any hints welcome.</p>
<p>Good night.</p>
<p>Update: After I posted this here, my ComboDrive began making strange noises. And hasn&#8217;t stopped doing that since. Hmlz.</p>
]]></content:encoded>
			<wfw:commentRss>http://momo.brauchtman.net/2008/12/the-dying-macbook-early-adopters-fate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blogger.com won&#8217;t let me undo &#8220;Delete Blog&#8221;</title>
		<link>http://momo.brauchtman.net/2008/12/blogger-wont-let-me-undo-delete-blog/</link>
		<comments>http://momo.brauchtman.net/2008/12/blogger-wont-let-me-undo-delete-blog/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 16:03:37 +0000</pubDate>
		<dc:creator>momo</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[antiusability]]></category>
		<category><![CDATA[stupid]]></category>

		<guid isPermaLink="false">http://momo.brauchtman.net/?p=36</guid>
		<description><![CDATA[Well, essentially thats it. I clicked that button, and normally there would be some kind of confirmation. Guess what. Nothing. Just vanished. That sucks, I really wanted to import it here. Really. Sucks. Argh. Anyway, if you are a blogger.com user, keep that always in mind. There is nothing between online and fully available and [...]]]></description>
			<content:encoded><![CDATA[<p>Well, essentially thats it. I clicked that button, and normally there would be some kind of confirmation. Guess what. Nothing. Just vanished. That sucks, I really wanted to import it here. Really. Sucks. Argh. Anyway, if you are a blogger.com user, keep that always in mind. There is nothing between online and fully available and gone away forever. I&#8217;d be happy if someone could provide me with a dump of his rss-reader featuring the contents of my old blog. And no, I don&#8217;t have any backups, and I hate myself for that. </p>
<p>With a new blog, and fairly excited because he&#8217;s going to get a visitor tonight: Momo</p>
]]></content:encoded>
			<wfw:commentRss>http://momo.brauchtman.net/2008/12/blogger-wont-let-me-undo-delete-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->