<?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:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml"
>

<channel>
	<title>Developer with some grey hairs</title>
	<atom:link href="http://kai.system7.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://kai.system7.de</link>
	<description></description>
	<pubDate>Thu, 18 Feb 2010 14:49:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Eine Reise nach e214</title>
		<link>http://kai.system7.de/2010/02/18/eine-reise-nach-e214/</link>
		<comments>http://kai.system7.de/2010/02/18/eine-reise-nach-e214/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 14:49:00 +0000</pubDate>
		<dc:creator>kai</dc:creator>
		
		<category><![CDATA[science]]></category>

		<category><![CDATA[technic]]></category>

		<guid isPermaLink="false">http://kai.system7.de/?p=743</guid>
		<description><![CDATA[


Ich mag Mandelbrotberechnungen. So einige Abende hab ich schon damit verbracht, den einfachen Algorithmus in verschiedenen Programmiersprachen zu implementieren. So tief wie in dem obigen Video, kam ich allerdings nie. Um eine Vorstellung zu bekommen wie stark diese Vergrößerung ist, ein Vergleich: Eine Vergrößerung um e12, würde einen Staubpartikel auf die Größe der Erdumlaufbahn vergrößern. [...]]]></description>
			<content:encoded><![CDATA[<p><center><br />
<object width="500" height="281"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=1908224&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=1&amp;show_portrait=1&amp;color=ff0179&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=1908224&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=1&amp;show_portrait=1&amp;color=ff0179&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="281"></embed></object><br />
</center></p>
<p>Ich mag <a href="http://de.wikipedia.org/wiki/Mandelbrot-Menge">Mandelbrotberechnungen</a>. So einige Abende hab ich schon damit verbracht, den einfachen Algorithmus in verschiedenen Programmiersprachen zu implementieren. So tief wie in dem obigen Video, kam ich allerdings nie. Um eine Vorstellung zu bekommen wie stark diese Vergrößerung ist, ein Vergleich: Eine Vergrößerung um e12, würde einen Staubpartikel auf die Größe der Erdumlaufbahn vergrößern. e21 auf die Größe der Milchstraße. Das ist doch nun wirklich eine wahre Programmieraufgabe.   <img src='http://kai.system7.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Gefunden bei <a href="http://www.hd-fractals.com/">Link</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://kai.system7.de/2010/02/18/eine-reise-nach-e214/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Eröffnungsfeier des Burj Dubai.. ähh Burj Khalifa</title>
		<link>http://kai.system7.de/2010/01/06/eroffnungsfeier-des-burj-dubai-ahh-burj-khalifa/</link>
		<comments>http://kai.system7.de/2010/01/06/eroffnungsfeier-des-burj-dubai-ahh-burj-khalifa/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 09:50:49 +0000</pubDate>
		<dc:creator>kai</dc:creator>
		
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://kai.system7.de/?p=718</guid>
		<description><![CDATA[Video zur bombastischen Eröffnungsfeier des Burj (Turm ) Khalifa.



Das untere Bild zeigt die Sheikh Zayed Road vor ca. 30 Jahren. Um das rasanten Wachstum der Stadt durch das Video einfacher zu erfassen, hab ich aus Erinnerungen die ungefähre Stelle des Burj Khalifa eingezeichnet.



]]></description>
			<content:encoded><![CDATA[<p>Video zur bombastischen Eröffnungsfeier des Burj (Turm ) Khalifa.<br />
<center><br />
<object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/yRxxv6AZ_xg&#038;hl=de_DE&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/yRxxv6AZ_xg&#038;hl=de_DE&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object><br />
</center></p>
<p>Das untere Bild zeigt die Sheikh Zayed Road vor ca. 30 Jahren. Um das rasanten Wachstum der Stadt durch das Video einfacher zu erfassen, hab ich aus Erinnerungen die ungefähre Stelle des Burj Khalifa eingezeichnet.<br />
<center><br />
<img src="http://kai.system7.de/images/DubaiInOldTimesWithBurjKhalifa.jpg" alt="Dubai in Old Times with Burj Khalifa" /><br />
</center></p>
]]></content:encoded>
			<wfw:commentRss>http://kai.system7.de/2010/01/06/eroffnungsfeier-des-burj-dubai-ahh-burj-khalifa/feed/</wfw:commentRss>
		<georss:point featurename="Dubai">25.271139 55.307485</georss:point>
	</item>
		<item>
		<title>26c3 - Here be dragons</title>
		<link>http://kai.system7.de/2009/12/31/26c3-here-be-dragons/</link>
		<comments>http://kai.system7.de/2009/12/31/26c3-here-be-dragons/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 11:09:20 +0000</pubDate>
		<dc:creator>kai</dc:creator>
		
		<category><![CDATA[berlin]]></category>

		<category><![CDATA[hacking]]></category>

		<guid isPermaLink="false">http://kai.system7.de/?p=686</guid>
		<description><![CDATA[


Der Chaos Computer Congress war wie jedes Mal wieder ein lohnender Abschluss des Jahres. Ich war dieses Jahr nur einen Tag dort (3.Tag), was daran lag, dass nun das Berliner Congress Center endgültig unter der Masse an Teilnehmern zusammenbricht. Morgens um 11 Uhr war die Welt noch schön. Ich saß im halb vollem Saal 1 [...]]]></description>
			<content:encoded><![CDATA[<p><center><br />
<img src="http://kai.system7.de/images/26c3-1.jpg" alt="26c3" /><br />
</center></p>
<p>Der <a href="http://events.ccc.de/congress/2009/wiki/Main_Page">Chaos Computer Congress</a> war wie jedes Mal wieder ein lohnender Abschluss des Jahres. Ich war dieses Jahr nur einen Tag dort (<a href="http://events.ccc.de/congress/2009/Fahrplan/day_2009-12-29.en.html">3.Tag</a>), was daran lag, dass nun das <a href="http://www.bcc-berlin.de/">Berliner Congress Center</a> endgültig unter der Masse an Teilnehmern zusammenbricht. Morgens um 11 Uhr war die Welt noch schön. Ich saß im halb vollem Saal 1 und lauschte Markus Beckedahl und Falk Lueckes Vortrag über <a href="http://www.netzpolitik.org/2009/netzneutralitaet/">Netzneutralität</a>. Ein Thema das sicherlich 2010 in Europa und Deutschland diskutiert werden wird. Danach noch dem hervorragenden Vortrag über <a href="http://events.ccc.de/congress/2009/Fahrplan/events/3557.en.html">Kreationismus</a> von Kay Hamacher gefolgt. Nach diesem schönen Start in den Tag merkte ich so langsam wie von Stunde zu Stunde das BCC immer voller und voller wurde. Um 16:00 konnte ich noch angenehm den Namesgeber des diesjährigen CCC folgen. <a href="http://skeptoid.com/">Brian Dunnig</a> zeigte seinen sehr professionell gemachten Vortrag &#8220;The Lost Cosmonauts&#8221;. Seinen Podcast kann ich übrigens sehr empfehlen. </p>
<p><center><br />
<img src="http://kai.system7.de/images/26c3-2.jpg" alt="26c3" /><br />
</center></p>
<p>Gegen Abend kam es dann zu dem Showdown der 3 Könige des Kongresses. <a href="http://www.brepettis.com/">Bre Patis</a> gefolgt von <a href="http://blog.fefe.de/">Fefe</a> und <a href="http://frank.geekheim.de/">Frank Rieger</a>, die dann von <a href="http://de.wikipedia.org/wiki/Dan_Kaminsky">Dan Kaminsky</a> abgelöst wurden. Zwischen den Vorträgen hatte ein Security Mitarbeiter des Kongresses mit netten Witz probiert Ordnung zu schaffen. Die Sicherheitsregeln müssen halt bei solchen Menschenmassen dringend eingehalten werden. Schon das war schwierig. Aber als ich nach der Fnord New Show kurz den Saal 1 verlassen wollte, war der Schock gewaltig. Vor den Türen des Saales war die gesamte obere Etage des BCC brechend voll mit Menschen die nicht reinkammen und nun versuchten wenigstens etwas von Kaminskys zu sehen. Da Hacker intelligente und höfliche Menschen sind lief das alles ohne großen Ärger und Rangelleien ab. Es schmerzt das schreiben zu müssen, aber der CCC benötigt einen neuen Veranstaltungsort.</p>
<p><center><br />
<img src="http://kai.system7.de/images/26c3-3.jpg" alt="26c3" /><br />
</center></p>
<p>Schön zu sehen war das in der Hackergemeinde Macs nicht mehr so beliebt sind wie noch vor 2 Jahren. Der Trend zum Netbook mit Linux war deutlich zu sehen. Auch Android Handys waren stark im Vormarsch. Sogar ein <a href="http://www.youtube.com/watch?v=1CJFdG-MARw">Nexus</a> wurde wohl schon gesichtet. </p>
<p>Allen einen guten Rutsch ins (neue) Jahr 1984.</p>
]]></content:encoded>
			<wfw:commentRss>http://kai.system7.de/2009/12/31/26c3-here-be-dragons/feed/</wfw:commentRss>
		<georss:point featurename="Berlin, Alexanderplatz">52.5223116 13.4140997</georss:point>
	</item>
		<item>
		<title>Ikea und das schwedische Marketing</title>
		<link>http://kai.system7.de/2009/12/11/ikea-und-das-schwedische-marketing/</link>
		<comments>http://kai.system7.de/2009/12/11/ikea-und-das-schwedische-marketing/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 11:44:51 +0000</pubDate>
		<dc:creator>kai</dc:creator>
		
		<category><![CDATA[kopfschüttel]]></category>

		<guid isPermaLink="false">http://kai.system7.de/?p=672</guid>
		<description><![CDATA[Letzten Sonntag war ich mal wieder seit langem bei Ikea. Ich bin ein kleiner Fan von Ikeas Marketingwelt. Die Idee die schwedische Kultur in die Shoppingwelt zu übertragen hat mir schon immer gefallen. In den Möbelhäusern werden die Mitarbeiter ausgerufen um sich bitte im Smaland zu melden, in der Kantine gibt es schwedische Küche, schwedische [...]]]></description>
			<content:encoded><![CDATA[<p>Letzten Sonntag war ich mal wieder seit langem bei Ikea. Ich bin ein kleiner Fan von Ikeas Marketingwelt. Die Idee die schwedische Kultur in die Shoppingwelt zu übertragen hat mir schon immer gefallen. In den Möbelhäusern werden die Mitarbeiter ausgerufen um sich bitte im <a href="http://de.wikipedia.org/wiki/Smaland">Smaland</a> zu melden, in der Kantine gibt es schwedische Küche, schwedische Kekse und Schokolade gibt es in Massen und die Möbelstücke haben seltsame Namen. Wer kennt nicht die Billy Regal Reihe oder die Kvart Leuchte. </p>
<p>Aber was ich nun bei meinem letzten Besuch gesehen habe, hat mich doch geschockt. In den letzten 3 Jahren war ich jeweils für ein paar Tage zum Angeln, an einem der schönsten Seen Schwedens ( <a href="http://kai.system7.de/2009/08/09/in-odins-fusabdruck-iii/">link1</a>, <a href="http://kai.system7.de/2008/06/27/in-odins-fusabdruck-ii/">link2</a>, <a href="http://kai.system7.de/2007/07/23/in-odins-fusabdruck/">link3 </a>). Dem <a href="http://de.wikipedia.org/wiki/Bolmen">Bolmen</a>. Schwedens 10. größter See.</p>
<p>Und dann das:<br />
<img src="http://kai.system7.de/images/ikea_bolmen1.jpg" alt="Ikea Bolmen - 1" /><br />
Oder noch schlimmer.<br />
<img src="http://kai.system7.de/images/ikea_bolmen2.jpg" alt="Ikea Bolmen - 2" /></p>
]]></content:encoded>
			<wfw:commentRss>http://kai.system7.de/2009/12/11/ikea-und-das-schwedische-marketing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu 9.10 and the Google Go Emacs Mode</title>
		<link>http://kai.system7.de/2009/11/24/ubuntu-910-and-the-google-go-emacs-mode/</link>
		<comments>http://kai.system7.de/2009/11/24/ubuntu-910-and-the-google-go-emacs-mode/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 11:00:13 +0000</pubDate>
		<dc:creator>kai</dc:creator>
		
		<category><![CDATA[english]]></category>

		<category><![CDATA[hacking]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[open source]]></category>

		<category><![CDATA[technic]]></category>

		<guid isPermaLink="false">http://kai.system7.de/?p=645</guid>
		<description><![CDATA[After some hours with google go I recognize the emacs mode in the source directory of the current distribution.
It is easy to install the mode for ubuntu 9.10 (karmic). First install the emacs with
sudo apt-get install emacs23
After that copy the the two .el files from you google ~/go/misc/emacs directory to
/usr/share/emacs/23.1/lisp
Now create a .emacs file in [...]]]></description>
			<content:encoded><![CDATA[<p>After some hours with google go I recognize the emacs mode in the source directory of the current distribution.</p>
<p>It is easy to install the mode for ubuntu 9.10 (karmic). First install the emacs with</p>
<p><strong>sudo apt-get install emacs23</strong></p>
<p>After that copy the the two .el files from you google ~/go/misc/emacs directory to</p>
<p><strong>/usr/share/emacs/23.1/lisp</strong></p>
<p>Now create a .emacs file in you home directory and add the following to lines.</p>
<p><code>(add-to-list ‘load-path “/usr/share/emacs/23.1/lisp” t)<br />
(require ‘go-mode-load)</code></p>
<p>Now the google mode is activated after loading a .go file.</p>
<p><center><br />
<img src="http://kai.system7.de/images/emacs-go.jpg" alt="Emacs with go mode"/><br />
</center></p>
<p><script type="text/javascript">var dzone_url = 'http://kai.system7.de/2009/11/24/ubuntu-910-and-the-google-go-emacs-mode/';</script><br />
<script type="text/javascript">var dzone_title = 'Ubuntu 9.10 and the Google Go Emacs Mode';</script><br />
<script type="text/javascript">var dzone_blurb = 'Installing go emacs mode in ubuntu';</script><br />
<script type="text/javascript">var dzone_style = '2';</script><br />
<script language="javascript" src="http://widgets.dzone.com/links/widgets/zoneit.js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://kai.system7.de/2009/11/24/ubuntu-910-and-the-google-go-emacs-mode/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Splintering of Empires</title>
		<link>http://kai.system7.de/2009/11/18/splintering-of-empires/</link>
		<comments>http://kai.system7.de/2009/11/18/splintering-of-empires/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 09:58:11 +0000</pubDate>
		<dc:creator>kai</dc:creator>
		
		<category><![CDATA[art]]></category>

		<category><![CDATA[english]]></category>

		<category><![CDATA[politics]]></category>

		<guid isPermaLink="false">http://kai.system7.de/?p=648</guid>
		<description><![CDATA[


More about this nice project Link
]]></description>
			<content:encoded><![CDATA[<p><center><br />
<object width="500" height="281"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6437816&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6437816&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="281"></embed></object><br />
</center></p>
<p>More about this nice project <a href="http://mondeguinho.com/master/visual-experimentations/visualizing-empires">Link</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kai.system7.de/2009/11/18/splintering-of-empires/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Google Go and the Mandelbrot Set Part II</title>
		<link>http://kai.system7.de/2009/11/17/google-go-and-the-mandelbrot-set-part-ii/</link>
		<comments>http://kai.system7.de/2009/11/17/google-go-and-the-mandelbrot-set-part-ii/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 10:22:33 +0000</pubDate>
		<dc:creator>kai</dc:creator>
		
		<category><![CDATA[english]]></category>

		<category><![CDATA[hacking]]></category>

		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://kai.system7.de/?p=620</guid>
		<description><![CDATA[The following code is my solution for parallel calculation of a mandelbrot set with google go.

package main

import ( "image";
        "image/png";
	"bufio";
	"fmt";
	"os";
	"math";
	"time"; )

type PixelCalc struct {  x int;
     	                 [...]]]></description>
			<content:encoded><![CDATA[<p>The following code is my solution for parallel calculation of a mandelbrot set with <a href="http://golang.org/">google go</a>.</p>
<pre class="code">
package main

import ( "image";
        "image/png";
	"bufio";
	"fmt";
	"os";
	"math";
	"time"; )

type PixelCalc struct {  x int;
     	                 y int;
                         cx float64;
	                 cy float64; }

func PointIteration(in chan *PixelCalc,ready chan int,img *image.RGBA){

	for {
		pixelCalc :=  &lt;- in; 

		xt := float64(0);
		yt := float64(0);
		x := float64(0);
		y := float64(0);
		quadValue := float64(0);
		iter := 0;

		for quadValue &lt;= 255.0 &#038;&#038; iter < 255 {
			xt= ( x * x ) - ( y * y) + pixelCalc.cx;
			yt= ( float64(2.0) * x * y ) + pixelCalc.cy;
			x = xt;
			y = yt;
			iter++;

			quadValue = ( x * x ) + ( y * y );
		}

		color := new(image.NRGBAColor);
		color.A = 255;
		iter8 := uint8(iter);
		color.R = iter8;
		color.G = iter8;
		color.B = iter8;
		img.Set(pixelCalc.x,pixelCalc.y,color);

		ready &lt;- 1;
	}
}

func main(){
	start := time.Seconds();

	const pictureSize = 1000;

	img := image.NewRGBA(pictureSize,pictureSize);

	f, err := os.Open("mandel.png", os.O_WRONLY|os.O_CREAT, 0666);
	if err != nil {
		fmt.Printf("Can't create picture file\n");
	}

	calc := make(chan *PixelCalc,pictureSize*pictureSize);
	out := make(chan int,pictureSize*pictureSize);

	for i:=0;i&lt;4;i++{
		go PointIteration(calc,out,img);
	}

	deltaX := math.Fabs(float64(-2.0 - 1.0)) / float64(pictureSize);
        deltaY := math.Fabs(float64(-1.0 - 1.0)) / float64(pictureSize);

	cx := float64(-2.0);

	for x:=0;x&lt;pictureSize;x++{
		cx+=deltaX;
		cy := float64(-1.0);

		for y:=0;y&lt;pictureSize;y++{
	    		cy+=deltaY;
			pixelCalc := new(PixelCalc);
			pixelCalc.cx = cx;
			pixelCalc.cy = cy;
			pixelCalc.x  = x;
			pixelCalc.y  = y;

			calc &lt;- pixelCalc;
		}
	}	

	for i:=0;i&lt;pictureSize*pictureSize;i++{
		&lt;- out;
	}

  	w := bufio.NewWriter(f);
	png.Encode(w,img);
	w.Flush();

	fmt.Printf("Seconds needed %d\n",time.Seconds() - start);
}
</pre>
<p>At this time the go compiler has some bugs regarding the multiprocessor support. But sometimes I can see the use of my two processors.</p>
<p><img src="http://kai.system7.de/images/processor-load.jpg" alt="processor load" /></p>
<p>I hope there will fix that bug fast. The first workaround for that bug is the GOMAXPROCS environment variable. I set this to 2. But this did&#8217;nt help everytime. </p>
<p><a href="http://kai.system7.de/2009/11/13/google-go-and-the-mandelbrot-set/">Link to part 1</a></p>
<p><script type="text/javascript">var dzone_url = 'http://kai.system7.de/2009/11/17/google-go-and-the-mandelbrot-set-part-ii/';</script><br />
<script type="text/javascript">var dzone_title = 'Google Go and the Mandelbrot Set Part II';</script><br />
<script type="text/javascript">var dzone_blurb = '';</script><br />
<script type="text/javascript">var dzone_style = '2';</script><br />
<script language="javascript" src="http://widgets.dzone.com/links/widgets/zoneit.js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://kai.system7.de/2009/11/17/google-go-and-the-mandelbrot-set-part-ii/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Google Go and the Mandelbrot Set</title>
		<link>http://kai.system7.de/2009/11/13/google-go-and-the-mandelbrot-set/</link>
		<comments>http://kai.system7.de/2009/11/13/google-go-and-the-mandelbrot-set/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 10:30:08 +0000</pubDate>
		<dc:creator>kai</dc:creator>
		
		<category><![CDATA[english]]></category>

		<category><![CDATA[hacking]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[go]]></category>

		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://kai.system7.de/?p=591</guid>
		<description><![CDATA[Learning a new programming language is fun. Here is my version of calculating the mandelbrot set and save the result as a PNG picture with Google Go. 

package main

import (   "image";
           "image/png";
           "bufio";
	 [...]]]></description>
			<content:encoded><![CDATA[<p>Learning a new programming language is fun. Here is my version of calculating the mandelbrot set and save the result as a PNG picture with <a href="http://golang.org">Google Go</a>. </p>
<pre class="code">
package main

import (   "image";
           "image/png";
           "bufio";
	   "fmt";
	   "os";
           "math";
           "time"; )

func PointIteration( cx, cy, maxValue float64, maxIter uint8) uint8{
     quadValue := float64(0.0);
     iter := uint8(0);
     x := float64(0.0);
     y := float64(0.0);

    for quadValue &lt;= maxValue &#038;&#038; iter &lt; maxIter {
        xt:= ( x * x ) - ( y * y) + cx;
        yt:= ( float64(2.0) * x * y ) + cy;
        x = xt;
        y = yt;
        iter++;
        quadValue = ( x * x ) + ( y * y );
    }
    return iter;
}

func main(){
    start := time.Seconds();     

    const pictureSize = 500;
    img := image.NewRGBA(pictureSize,pictureSize);

    f, err := os.Open("mandel.png", os.O_WRONLY|os.O_CREAT, 0666);
    if err != nil {
       fmt.Printf("Can't create picture file\n");
    }

    deltaX := math.Fabs(float64(-2.0 - 1.0)) / float64(pictureSize);
    deltaY := math.Fabs(float64(-1.0 - 1.0)) / float64(pictureSize);

    cx := float64(-2.0);
    for x:=0;x&lt;pictureSize;x++{
        cx+=deltaX;
        cy := float64(-1.0);
        for y:=0;y&lt;pictureSize;y++{
           cy+=deltaY;
           iter := PointIteration(cx,cy,255.0,255);

           color := new(image.NRGBAColor);
           color.A = 255;
           color.R = iter;
           color.G = iter;
           color.B = iter;
           img.Set(x,y,color);
	}
     }

     w := bufio.NewWriter(f);
     png.Encode(w,img);
     w.Flush();

     fmt.Printf("Seconds needed %d\n",time.Seconds() - start);
}
</pre>
<p>And here the result. <img src='http://kai.system7.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><img src="http://kai.system7.de/images/mandel.png" alt="Mandelbrot Set - calculated with google go" /></p>
<p>Next step is trying to improve the speed by using <a href="http://golang.org/doc/effective_go.html#goroutines">goroutines</a> and <a href="http://golang.org/doc/effective_go.html#channels">channels</a>. </p>
<p><script type="text/javascript">var dzone_url = 'http://kai.system7.de/2009/11/13/google-go-and-the-mandelbrot-set/';</script><br />
<script type="text/javascript">var dzone_title = 'Google Go and the Mandelbrot Set Part I';</script><br />
<script type="text/javascript">var dzone_blurb = '';</script><br />
<script type="text/javascript">var dzone_style = '2';</script><br />
<script language="javascript" src="http://widgets.dzone.com/links/widgets/zoneit.js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://kai.system7.de/2009/11/13/google-go-and-the-mandelbrot-set/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Freedom not Fear 2009</title>
		<link>http://kai.system7.de/2009/09/12/freedom-not-fear-2009/</link>
		<comments>http://kai.system7.de/2009/09/12/freedom-not-fear-2009/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 19:37:22 +0000</pubDate>
		<dc:creator>kai</dc:creator>
		
		<category><![CDATA[berlin]]></category>

		<category><![CDATA[politics]]></category>

		<guid isPermaLink="false">http://kai.system7.de/?p=575</guid>
		<description><![CDATA[Am 12. September 2009 war es wieder so weit. Die 3. Freiheit statt Angst Demo (Freedom not Fear) fand statt. Wie schon in den letzten beiden Jahren (2007,  2008) hab ich wieder ein paar Fotos von den einzelnen Aktionen und Plakaten gemacht. 


Dass Ursula von der Leyen nicht gut wegkommt lag auf der Hand. [...]]]></description>
			<content:encoded><![CDATA[<p>Am 12. September 2009 war es wieder so weit. Die 3. <a href="http://www.vorratsdatenspeicherung.de/content/view/304/154/">Freiheit statt Angst Demo</a> (Freedom not Fear) fand statt. Wie schon in den letzten beiden Jahren (<a href="http://kai.system7.de/2007/09/22/freiheit-statt-angst/">2007</a>,  <a href="http://kai.system7.de/2008/10/12/bericht-von-der-freedom-no-fear-demo-11102008/">2008</a>) hab ich wieder ein paar Fotos von den einzelnen Aktionen und Plakaten gemacht. </p>
<p><img src="http://kai.system7.de/images/fsa2009-1.jpg" alt="FSA 2009" /></p>
<p><img src="http://kai.system7.de/images/fsa2009-2.jpg" alt="FSA 2009" /></p>
<p>Dass Ursula von der Leyen nicht gut wegkommt lag auf der Hand. </p>
<p><img src="http://kai.system7.de/images/fsa2009-3.jpg" alt="FSA 2009" /></p>
<p>Die <a href="http://www.piratenpartei.de/">Piratenpartei</a> war natürlich kurz vor der Wahl die absolute Übermacht auf der Demo. Diese gläserne Wohnzimmeraktion war davon die beste Aktion der Piraten die ich gesehen habe. Nicht so gut gefallen hat mir, dass alle 5 Meter ein Pirat stand und die Demo gefilmt oder fotografiert hat.  </p>
<p><img src="http://kai.system7.de/images/fsa2009-4.jpg" alt="FSA 2009" /></p>
<p>Katzenbilder dürfen heutzutage einfach nicht fehlen.  </p>
<p><img src="http://kai.system7.de/images/fsa2009-5.jpg" alt="FSA 2009" /></p>
<p>Ach, das hab ich doch schon mal woanders gesehen. ( <a href="http://kai.system7.de/2008/07/31/uberwachung-mit-freundlichen-mittel-uberlisten/">Link</a> ) </p>
<p><img src="http://kai.system7.de/images/fsa2009-6.jpg" alt="FSA 2009" /></p>
<p>Zwei Joker.. <img src='http://kai.system7.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><img src="http://kai.system7.de/images/fsa2009-7.jpg" alt="FSA 2009" /></p>
<p>Anmerkung 13.09.2009:<br />
Leider hat die Polizei die friedliche Art und Weise der Demonstration nicht ganz verstanden (<a href="http://www.fixmbr.de/polizeigewalt-chaoscomputerclub-sucht-zeugen/">Link</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://kai.system7.de/2009/09/12/freedom-not-fear-2009/feed/</wfw:commentRss>
		<georss:point featurename="Berlin, Potsdammer Platz">52.5092161 13.3765965</georss:point>
	</item>
		<item>
		<title>OS X Car in Svenska</title>
		<link>http://kai.system7.de/2009/08/28/os-x-car-in-svenska/</link>
		<comments>http://kai.system7.de/2009/08/28/os-x-car-in-svenska/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 09:39:44 +0000</pubDate>
		<dc:creator>kai</dc:creator>
		
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://kai.system7.de/?p=544</guid>
		<description><![CDATA[


]]></description>
			<content:encoded><![CDATA[<p><center><br />
<a href="http://kai.system7.de/images/osx-car-big.jpg"><img src="http://kai.system7.de/images/osx-car.jpg" alt="OS X Car" /></a><br />
</center></p>
]]></content:encoded>
			<wfw:commentRss>http://kai.system7.de/2009/08/28/os-x-car-in-svenska/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
