<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jan Pöschko&#039;s space &#187; Math</title>
	<atom:link href="http://www.poeschko.com/category/math/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.poeschko.com</link>
	<description>Coding, Math, Photography, and Life.</description>
	<lastBuildDate>Tue, 31 Jan 2012 00:29:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Extreme Geeky Tidying Up: Sorting image colors with Python and Hilbert curves</title>
		<link>http://www.poeschko.com/2011/09/extreme-geeky-tidying-up/</link>
		<comments>http://www.poeschko.com/2011/09/extreme-geeky-tidying-up/#comments</comments>
		<pubDate>Sat, 17 Sep 2011 07:42:31 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[colors]]></category>
		<category><![CDATA[geeky]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.poeschko.com/?p=802</guid>
		<description><![CDATA[There are levels of tidiness. Tidy. Very Tidy. Totally Deranged Tidy. Geeky Tidy. After sharing these awesome pictures by the Swiss &#8220;artist&#8221; Ursus Wehrli with the world, Martin N. pointed out that there is still a severe issue with the &#8230; <a href="http://www.poeschko.com/2011/09/extreme-geeky-tidying-up/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<blockquote><p>There are levels of tidiness.</p>
<p>Tidy.<br />
Very Tidy.<br />
Totally Deranged Tidy.</p></blockquote>
<p>Geeky Tidy.</p>
<p>After sharing <a href="http://www.npr.org/blogs/krulwich/2011/09/12/140394807/extreme-tidying-up">these awesome pictures by the Swiss &#8220;artist&#8221; Ursus Wehrli</a> with <a href="http://www.facebook.com">the world</a>, Martin N. pointed out that there is still a severe issue with the Badewiese: People are not even sorted by the colors of their swimsuits! Adding to that, trees are placed in total chaos, not to speak of their leaves; clearly, there are tiny waves on the water; and one can almost see blades of grass not being sorted by size. Obviously, this picture needed further tidying up.</p>
<p><a href="http://www.poeschko.com/2011/09/extreme-geeky-tidying-up/park-2/" rel="attachment wp-att-809"><img src="http://www.poeschko.com/wp-content/uploads/2011/09/tidy.jpg" alt="" title="park-2" width="462" height="395" class="alignnone size-full wp-image-809" /></a><br />
<small>&copy; Ursus Wehrli</small></p>
<p>Python to the rescue! 5 minutes, 10 lines, and half a beer later I had a program that would load the image, re-arrange its pixels, and save it again:</p>
<pre class="brush: python; title: ; wrap-lines: true; notranslate">
from PIL import Image

old = Image.open(&quot;tidy.jpg&quot;)
colors = old.getcolors(old.size[0] * old.size[1])
data = []
for count, color in colors:
    data.extend(count * [color])
data.sort()
new = Image.new('RGB', old.size)
new.putdata(data)
new.save(&quot;naive_tidy.png&quot;)
</pre>
<p>This yields the following picture:<br />
<a href="http://www.poeschko.com/2011/09/extreme-geeky-tidying-up/naive_tidy/" rel="attachment wp-att-808"><img src="http://www.poeschko.com/wp-content/uploads/2011/09/naive_tidy.png" alt="" title="naive_tidy" width="462" height="395" class="alignnone size-full wp-image-808" /></a></p>
<p>So how was this &#8220;re-arrangement&#8221; performed? In a naïve approach, I just sorted the RGB values of the pixels, which is why there are many consecutive lines (of equal reds) with abrupt changes. Ordered, but far from being tidy.</p>
<p>Let&#8217;s try another color space and sort by <a href="http://en.wikipedia.org/wiki/HSL_and_HSV">HSV</a> values—a smooth hue should look better, after all. So by adding</p>
<pre class="brush: python; title: ; notranslate">
import colorsys
</pre>
<p>and changing one line to</p>
<pre class="brush: python; title: ; notranslate">
data.sort(key=lambda rgb: colorsys.rgb_to_hsv(*rgb))
</pre>
<p>we get the following image:<br />
<a href="http://www.poeschko.com/2011/09/extreme-geeky-tidying-up/hsv_tidy/" rel="attachment wp-att-814"><img src="http://www.poeschko.com/wp-content/uploads/2011/09/hsv_tidy.png" alt="" title="hsv_tidy" width="462" height="395" class="alignnone size-full wp-image-814" /></a></p>
<p>More beautiful, but the red and white noise in the end doesn&#8217;t look tidy at all. We want a smooth transition through all given colors. <a href="http://en.wikipedia.org/wiki/Hilbert_curve">Hilbert curves</a> to the rescue! Found a ready-to-be-used <a href="http://www.tiac.net/~sw/2008/10/Hilbert/hilbert.py">Hilbert walk implementation</a>, added</p>
<pre class="brush: python; title: ; notranslate">
import hilbert
</pre>
<p>and changed the sorting once again to</p>
<pre class="brush: python; title: ; notranslate">
data.sort(key=hilbert.Hilbert_to_int)
</pre>
<p>to get this image:<br />
<a href="http://www.poeschko.com/2011/09/extreme-geeky-tidying-up/geeky_tidy/" rel="attachment wp-att-821"><img src="http://www.poeschko.com/wp-content/uploads/2011/09/geeky_tidy.png" alt="" title="geeky_tidy" width="462" height="395" class="alignnone size-full wp-image-821" /></a></p>
<p>Mathematical computer science just made the world a little tidier.</p>
 <p><a href="http://www.poeschko.com/?flattrss_redirect&amp;id=802&amp;md5=2e08a912f5f97dd17a066fcae81a4397" title="Flattr" target="_blank"><img src="http://www.poeschko.com/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.poeschko.com/2011/09/extreme-geeky-tidying-up/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ECCO XXIV in Amsterdam</title>
		<link>http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/</link>
		<comments>http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 15:09:42 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://www.poeschko.com/?p=298</guid>
		<description><![CDATA[Attended the 24th conference of the European Chapter on Combinatorial Optimization (ECCO XXIV) in Amsterdam from May 30 to June 1. I gave a presentation about our current work on punching process optimization. You can download the slides if you &#8230; <a href="http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Attended the <a href="http://www.eccoxxiv.com/">24th conference of the European Chapter on Combinatorial Optimization</a> (ECCO XXIV) in Amsterdam from May 30 to June 1. I gave a presentation about our current work on punching process optimization. You can <a href='http://www.poeschko.com/wp-content/uploads/PunchOptimization.pdf'>download the slides</a> if you want (though they&#8217;re much cooler with me talking to them, of course <img src='http://www.poeschko.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ). Heard an amazing talk by plenary speaker <a href="http://www.win.tue.nl/~gwoegi/">Gerhard Woeginger</a> on &#8220;transportation under nasty side constraints.&#8221; Even (or especially) in our digital world, overhead transparencies can be just awesome!</p>
<p>After the official part of the conference, I stayed the rest of the week and further explored Amsterdam. Went to the zoo with <a href="http://www.danielkrenn.at/">Daniel Krenn</a>, who happened to be in Amsterdam over the long weekend as well, and visited the Van Gogh Museum. Met my Dutch Erasmus buddies Lyor and Joost on Saturday. See some pictures below.</p>

<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/my-office-for-5-hrs-frankfurt-airport/' title='my office for 5 hrs @ Frankfurt airport'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/my-office-for-5-hrs-@-Frankfurt-airport-150x150.jpg" class="attachment-thumbnail" alt="my office for 5 hrs @ Frankfurt airport" title="my office for 5 hrs @ Frankfurt airport" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5028/' title='_MG_5028'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5028-150x150.jpg" class="attachment-thumbnail" alt="_MG_5028" title="_MG_5028" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5033/' title='_MG_5033'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5033-150x150.jpg" class="attachment-thumbnail" alt="_MG_5033" title="_MG_5033" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5035/' title='_MG_5035'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5035-150x150.jpg" class="attachment-thumbnail" alt="_MG_5035" title="_MG_5035" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5037/' title='_MG_5037'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5037-150x150.jpg" class="attachment-thumbnail" alt="_MG_5037" title="_MG_5037" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5038/' title='_MG_5038'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5038-150x150.jpg" class="attachment-thumbnail" alt="_MG_5038" title="_MG_5038" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5043/' title='_MG_5043'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5043-150x150.jpg" class="attachment-thumbnail" alt="_MG_5043" title="_MG_5043" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5046/' title='_MG_5046'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5046-150x150.jpg" class="attachment-thumbnail" alt="_MG_5046" title="_MG_5046" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5049/' title='_MG_5049'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5049-150x150.jpg" class="attachment-thumbnail" alt="_MG_5049" title="_MG_5049" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5051/' title='_MG_5051'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5051-150x150.jpg" class="attachment-thumbnail" alt="_MG_5051" title="_MG_5051" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5057/' title='_MG_5057'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5057-150x150.jpg" class="attachment-thumbnail" alt="_MG_5057" title="_MG_5057" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5062/' title='_MG_5062'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5062-150x150.jpg" class="attachment-thumbnail" alt="_MG_5062" title="_MG_5062" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5068/' title='_MG_5068'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5068-150x150.jpg" class="attachment-thumbnail" alt="_MG_5068" title="_MG_5068" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5082/' title='_MG_5082'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5082-150x150.jpg" class="attachment-thumbnail" alt="_MG_5082" title="_MG_5082" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5084/' title='_MG_5084'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5084-150x150.jpg" class="attachment-thumbnail" alt="_MG_5084" title="_MG_5084" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5085/' title='_MG_5085'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5085-150x150.jpg" class="attachment-thumbnail" alt="_MG_5085" title="_MG_5085" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/conference-venue/' title='Conference venue'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/Conference-venue-150x150.jpg" class="attachment-thumbnail" alt="Conference venue" title="Conference venue" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5109/' title='_MG_5109'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5109-150x150.jpg" class="attachment-thumbnail" alt="_MG_5109" title="_MG_5109" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5110/' title='_MG_5110'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5110-150x150.jpg" class="attachment-thumbnail" alt="_MG_5110" title="_MG_5110" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/dansen-bij-jansen/' title='Dansen bij Jansen'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/Dansen-bij-Jansen-150x150.jpg" class="attachment-thumbnail" alt="Dansen bij Jansen" title="Dansen bij Jansen" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/de-dampkring/' title='De Dampkring'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/De-Dampkring-150x150.jpg" class="attachment-thumbnail" alt="De Dampkring" title="De Dampkring" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/zitronenzerdrucker/' title='Zitronenzerdrücker'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/Zitronenzerdrücker-150x150.jpg" class="attachment-thumbnail" alt="Zitronenzerdrücker" title="Zitronenzerdrücker" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/english-breakfast/' title='English breakfast'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/English-breakfast-150x150.jpg" class="attachment-thumbnail" alt="English breakfast" title="English breakfast" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5193/' title='_MG_5193'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5193-150x150.jpg" class="attachment-thumbnail" alt="_MG_5193" title="_MG_5193" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/horner/' title='Hörner'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/Hörner-150x150.jpg" class="attachment-thumbnail" alt="Hörner" title="Hörner" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5217/' title='_MG_5217'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5217-150x150.jpg" class="attachment-thumbnail" alt="_MG_5217" title="_MG_5217" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5229/' title='_MG_5229'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5229-150x150.jpg" class="attachment-thumbnail" alt="_MG_5229" title="_MG_5229" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5237/' title='_MG_5237'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5237-150x150.jpg" class="attachment-thumbnail" alt="_MG_5237" title="_MG_5237" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5256/' title='_MG_5256'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5256-150x150.jpg" class="attachment-thumbnail" alt="_MG_5256" title="_MG_5256" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5276/' title='_MG_5276'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5276-150x150.jpg" class="attachment-thumbnail" alt="_MG_5276" title="_MG_5276" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5331/' title='_MG_5331'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5331-150x150.jpg" class="attachment-thumbnail" alt="_MG_5331" title="_MG_5331" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5353/' title='_MG_5353'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5353-150x150.jpg" class="attachment-thumbnail" alt="_MG_5353" title="_MG_5353" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5367/' title='_MG_5367'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5367-150x150.jpg" class="attachment-thumbnail" alt="_MG_5367" title="_MG_5367" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5394/' title='_MG_5394'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5394-150x150.jpg" class="attachment-thumbnail" alt="_MG_5394" title="_MG_5394" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5425/' title='_MG_5425'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5425-150x150.jpg" class="attachment-thumbnail" alt="_MG_5425" title="_MG_5425" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5430/' title='_MG_5430'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5430-150x150.jpg" class="attachment-thumbnail" alt="_MG_5430" title="_MG_5430" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5438/' title='_MG_5438'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5438-150x150.jpg" class="attachment-thumbnail" alt="_MG_5438" title="_MG_5438" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/concert-in-the-van-gogh-museum/' title='Concert in the Van Gogh Museum'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/Concert-in-the-Van-Gogh-Museum-150x150.jpg" class="attachment-thumbnail" alt="Concert in the Van Gogh Museum" title="Concert in the Van Gogh Museum" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5498/' title='_MG_5498'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5498-150x150.jpg" class="attachment-thumbnail" alt="_MG_5498" title="_MG_5498" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5569/' title='_MG_5569'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5569-150x150.jpg" class="attachment-thumbnail" alt="_MG_5569" title="_MG_5569" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5585/' title='_MG_5585'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5585-150x150.jpg" class="attachment-thumbnail" alt="_MG_5585" title="_MG_5585" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5594/' title='_MG_5594'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5594-150x150.jpg" class="attachment-thumbnail" alt="_MG_5594" title="_MG_5594" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5595/' title='_MG_5595'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5595-150x150.jpg" class="attachment-thumbnail" alt="_MG_5595" title="_MG_5595" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/kapsalon/' title='Kapsalon'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/Kapsalon-150x150.jpg" class="attachment-thumbnail" alt="Kapsalon" title="Kapsalon" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/_mg_5610/' title='_MG_5610'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/MG_5610-150x150.jpg" class="attachment-thumbnail" alt="_MG_5610" title="_MG_5610" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/pure-awesome/' title='pure awesome'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/pure-awesome-150x150.jpg" class="attachment-thumbnail" alt="pure awesome" title="pure awesome" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/bed-in-the-crappiest-hotel-on-earth/' title='Bed in The Crappiest Hotel on Earth'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/Bed-in-The-Crappiest-Hotel-on-Earth-150x150.jpg" class="attachment-thumbnail" alt="Bed in The Crappiest Hotel on Earth" title="Bed in The Crappiest Hotel on Earth" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/view-outside-the-window-of-the-crappiest-hotel-on-earth/' title='View outside the window of The Crappiest Hotel on Earth'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/View-outside-the-window-of-The-Crappiest-Hotel-on-Earth-150x150.jpg" class="attachment-thumbnail" alt="View outside the window of The Crappiest Hotel on Earth" title="View outside the window of The Crappiest Hotel on Earth" /></a>
<a href='http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/entrance-to-the-crappiest-hotel-on-earth/' title='Entrance to The Crappiest Hotel on Earth'><img width="150" height="150" src="http://www.poeschko.com/wp-content/uploads/Entrance-to-The-Crappiest-Hotel-on-Earth-150x150.jpg" class="attachment-thumbnail" alt="Entrance to The Crappiest Hotel on Earth" title="Entrance to The Crappiest Hotel on Earth" /></a>

 <p><a href="http://www.poeschko.com/?flattrss_redirect&amp;id=298&amp;md5=0daa21b78235f10abac45cbbbee55e60" title="Flattr" target="_blank"><img src="http://www.poeschko.com/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.poeschko.com/2011/06/ecco-xxiv-in-amsterdam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mathics goes open source</title>
		<link>http://www.poeschko.com/2011/03/mathics-goes-open-source/</link>
		<comments>http://www.poeschko.com/2011/03/mathics-goes-open-source/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 16:08:47 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[mathematica]]></category>
		<category><![CDATA[mathics]]></category>
		<category><![CDATA[sage]]></category>
		<category><![CDATA[sympy]]></category>

		<guid isPermaLink="false">http://www.poeschko.com/?p=271</guid>
		<description><![CDATA[I&#8217;ve been working a lot on Mathics again during the last weeks. All towards the goal that I&#8217;ve had in mind for a long time: to release it as open source. After all, that&#8217;s the only thing that could set &#8230; <a href="http://www.poeschko.com/2011/03/mathics-goes-open-source/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working a lot on Mathics again during the last weeks. All towards the goal that I&#8217;ve had in mind for a long time: to release it as open source. After all, that&#8217;s the only thing that could set Mathics apart from <a href="http://www.wolfram.com/mathematica/">Mathematica</a>—the only thing that&#8217;s not so good about Mathematica is that it&#8217;s not free, neither as in freedom nor as in free beer.</p>
<p>If you wonder what Mathics is: it&#8217;s a general-purpose computer algebra system implementing the awesome Mathematica mathematics/programming language. Some of its most important features are </p>
<ul>
<li>a powerful functional programming language,
<li>a system driven by pattern matching and rules application,
<li>rationals, complex numbers, and arbitrary-precision arithmetic,
<li>lots of list and structure manipulation routines,
<li>an interactive graphical user interface right in the Web browser using  MathML (apart from a command line interface),
<li>creation of graphics (e.g. plots) and display in the browser using SVG,
<li>an online version at <a href="http://www.mathics.net">www.mathics.net</a> for instant access,
<li>export of results to LaTeX (using Asymptote for graphics),
<li>a very easy way of deﬁning new functions in Python,
<li>an integrated documentation and testing system.
</ul>
<p>Read the <a href="http://www.mathics.org/doc/mathics.pdf" rel="" class="mtli_attachment mtli_pdf">manual</a> to learn more about the over 350 built-in functions and symbols in Mathics.</p>
<p>The actual heavy math stuff (like integration) is mostly done by the Python package <a href="http://code.google.com/p/sympy/">SymPy</a>. There is optional support for functions depending on <a href="http://www.sagemath.org/">Sage</a> as well. Despite &#8220;out-sourcing&#8221; most mathematical functions, Mathics has more than 20,000 lines of Python code already, dealing with much non-trivial stuff such as parsing Mathematica input, pattern matching, graphics generation, etc.</p>
<p>Unfortunately, <a href="http://www.getfirefox.com">Firefox</a> is the only browser supported so far, because no other browser supports MathML yet. However, this is expected to change pretty soon when Webkit (used by Safari and Chrome) adds MathML support. I wonder whether Internet Explorer will ever get that far.</p>
<p>I set up a project homepage at <a href="http://www.mathics.org">www.mathics.org</a> for organizational stuff, while <a href="http://www.mathics.net">www.mathics.ne</a>t is still the place for the online interface of Mathics. The source code is hosted at <a href="https://github.com/poeschko/mathics">github</a>.</p>
<p>I hope that one day there will be developers joining me. Contact me if you want to get involved!</p>
<p><a href="http://www.poeschko.com/wp-content/uploads//Mathics_flower1.png"><img src="http://www.poeschko.com/wp-content/uploads//Mathics_flower1.png" alt="" title="Mathics_flower" width="762" height="493" class="alignnone size-full wp-image-277" /></a><br />
<a href="http://www.poeschko.com/wp-content/uploads//Mathics_plot.png"><img src="http://www.poeschko.com/wp-content/uploads//Mathics_plot.png" alt="" title="Mathics_plot" width="762" height="493" class="alignnone size-full wp-image-278" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.poeschko.com/2011/03/mathics-goes-open-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Formeln und Sätze updated</title>
		<link>http://www.poeschko.com/2009/11/formeln-und-satze-updated/</link>
		<comments>http://www.poeschko.com/2009/11/formeln-und-satze-updated/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 14:41:52 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Math]]></category>
		<category><![CDATA[mathematical olympiad]]></category>

		<guid isPermaLink="false">http://www.poeschko.com/?p=140</guid>
		<description><![CDATA[Gunnar Krug found a trivial error in my collection of theorems and formulas for the mathematical olympiad (see math documents). Updated the document, also improving the overall appearance a little bit. However, there&#8217;s still so many things I would do &#8230; <a href="http://www.poeschko.com/2009/11/formeln-und-satze-updated/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Gunnar Krug found a trivial error in my collection of theorems and formulas for the mathematical olympiad (see <a href="/math-documents/">math documents</a>). Updated the document, also improving the overall appearance a little bit. However, there&#8217;s still so many things I would do different if I wrote the document now (it&#8217;s been way back in 2004 or so). But sorry, haven&#8217;t got enough time to fix these things right now!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.poeschko.com/2009/11/formeln-und-satze-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ÖMO-Fortgeschrittenenkurs</title>
		<link>http://www.poeschko.com/2009/07/omo-fortgeschrittenenkurs/</link>
		<comments>http://www.poeschko.com/2009/07/omo-fortgeschrittenenkurs/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 17:22:37 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Math]]></category>
		<category><![CDATA[mathematical olympiad]]></category>

		<guid isPermaLink="false">http://www.poeschko.com/?p=136</guid>
		<description><![CDATA[Just updated the homepage of our annual course at Graz University of Technology for participants of the Austrian Mahematical Olympiad (ÖMO). Every month there will be a Saturday of teaching various mathematical topics to students in the age between 15 &#8230; <a href="http://www.poeschko.com/2009/07/omo-fortgeschrittenenkurs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just updated the <a href="https://www.math.tugraz.at/OeMO/F-Kurs/">homepage</a> of our annual course at Graz University of Technology for participants of the Austrian Mahematical Olympiad (ÖMO). Every month there will be a Saturday of teaching various mathematical topics to students in the age between 15 and 18. I will talk about combinatorics in January and February 2010.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.poeschko.com/2009/07/omo-fortgeschrittenenkurs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stanzoptimierung</title>
		<link>http://www.poeschko.com/2009/06/118/</link>
		<comments>http://www.poeschko.com/2009/06/118/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 09:13:42 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://www.poeschko.com/?p=118</guid>
		<description><![CDATA[Finished the optimization project I&#8217;ve worked on the last few weeks: Together with Eranda Dragoti-Cela, Elisabeth Gassner, Johannes Hatzl and Bettina Klinz I created a C++ program that optimizes the configuration and punching plan of a punching machine. The machine &#8230; <a href="http://www.poeschko.com/2009/06/118/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Finished the optimization project I&#8217;ve worked on the last few weeks: Together with Eranda Dragoti-Cela, Elisabeth Gassner, Johannes Hatzl and Bettina Klinz I created a C++ program that optimizes the configuration and punching plan of a punching machine. The machine will start to operate in a Polish factory this summer. Below are some pictures of it.</p>
<p><img class="alignnone size-medium wp-image-119" title="Punching machine 1" src="http://www.poeschko.com/wp-content/uploads//vlcsnap-4463412-300x168.png" alt="Punching machine 1" width="300" height="168" /></p>
<p><img class="alignnone size-medium wp-image-120" title="Punching machine 2" src="http://www.poeschko.com/wp-content/uploads//vlcsnap-4465010-300x168.png" alt="Punching machine 2" width="300" height="168" /></p>
<p><img class="alignnone size-medium wp-image-121" title="Punching machine 3" src="http://www.poeschko.com/wp-content/uploads//vlcsnap-4465681-300x168.png" alt="Punching machine 3" width="300" height="168" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.poeschko.com/2009/06/118/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mathematik C für Elektrotechniker</title>
		<link>http://www.poeschko.com/2009/05/mathematik-c-fur-elektrotechniker/</link>
		<comments>http://www.poeschko.com/2009/05/mathematik-c-fur-elektrotechniker/#comments</comments>
		<pubDate>Fri, 08 May 2009 21:33:27 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://www.poeschko.com/?p=104</guid>
		<description><![CDATA[Published the script I wrote for third semester mathematics for electrical engineers. This is a joint 2007/08 work with Florian Lehner, based on work by Christian Meisl dating back to 1995. It&#8217;s still full of errors and typos, so please &#8230; <a href="http://www.poeschko.com/2009/05/mathematik-c-fur-elektrotechniker/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Published the script I wrote for third semester mathematics for electrical engineers. This is a joint 2007/08 work with Florian Lehner, based on work by Christian Meisl dating back to 1995. It&#8217;s still full of errors and typos, so please contact me if you find any! See the <a href="/math-documents/">math document</a>s page for the download link.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.poeschko.com/2009/05/mathematik-c-fur-elektrotechniker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

