<?xml version="1.0" encoding="utf-8"?>
<!-- generator="wordpress/2.2.2" -->
<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/"
	>

<channel>
	<title>cat /proc/claus</title>
	<link>http://claus.castelodelego.org</link>
	<description>Claus' little corner on the net</description>
	<pubDate>Fri, 03 Feb 2012 12:46:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>
	<language>en</language>
			<item>
		<title>Tax Troubles</title>
		<link>http://claus.castelodelego.org/archives/603</link>
		<comments>http://claus.castelodelego.org/archives/603#comments</comments>
		<pubDate>Fri, 03 Feb 2012 12:42:40 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[Life in Japan]]></category>

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

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/603</guid>
		<description><![CDATA[So far, I have been able to live on non taxable income (scholarships, fellowships, etc). So I never had to learn much about how taxation works. But now that I am working &#8220;for real&#8221; (not that I dont consider PhD to be real work), I had to learn how the income tax (among others) work [...]]]></description>
			<content:encoded><![CDATA[<p>So far, I have been able to live on non taxable income (scholarships, fellowships, etc). So I never had to learn much about how taxation works. But now that I am working &#8220;for real&#8221; (not that I dont consider PhD to be real work), I had to learn how the income tax (among others) work in my case.</p>
<p>As a Brazilian working in Japan as a professor, I actually have to option to pay either the brazilian or the Japanese income tax for two years. If I keep working in Japan for more than two years, then I have to pay Japanese I.T. anyway. It seems that this time limit varies with your job and nationality (probably based on international agreements).</p>
<p>So I since I have a choice, I had to research a bit. As for the tax amount, it is basically the same in both cases (around 20% of my salary). If I choose to pay taxes in Brazil, I need to send a notice to the japanese tax office about my decision, and pay my brazilian taxes directy to the brazilian government, yearly. On the other hand, if I decide to pay Japanese Income taxes, they will be deduced automagically from my salary, and I need to submit a form to the brazilian embassy stating that I have moved out of the country (along with a bunch of other info).</p>
<p>Since the values are about the same, I decided that it made more sense for me to pay the Japanese Income tax, since I should be staying here for the medium term. It was also generally less hassle. I was quite surprised about how much information about this is readily available online, though.</p>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/603/feed</wfw:commentRss>
		</item>
		<item>
		<title>It begins</title>
		<link>http://claus.castelodelego.org/archives/602</link>
		<comments>http://claus.castelodelego.org/archives/602#comments</comments>
		<pubDate>Thu, 02 Feb 2012 12:42:38 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[teaching]]></category>

		<category><![CDATA[Life in Japan]]></category>

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

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/602</guid>
		<description><![CDATA[So I started my work as an assistant professor yesterday. 
The first day was quite uneventful. No big introductions or nomikais (whew!). My supervisor said hi and talked to me for a bit, then the secretary took me around the department and had me sign a large bunch of paper. I got a formal &#8220;you [...]]]></description>
			<content:encoded><![CDATA[<p>So I started my work as an assistant professor yesterday. </p>
<p>The first day was quite uneventful. No big introductions or nomikais (whew!). My supervisor said hi and talked to me for a bit, then the secretary took me around the department and had me sign a large bunch of paper. I got a formal &#8220;you are hired&#8221; speech from the dean. Then I was shown my own room.</p>
<p>It is a large room, with a great view of Mount Tsukuba from the 8th floor. It is also completely barren and dusty. I felt like the beginning of a &#8220;harvest moon&#8221; game, when you are left at an abandoned plot of land, to make the best of it that you can. To be honest, I was quite excited about all this &#8212; harvest moon is exactly my kind of game. </p>
<p>Today (the second day), was a bit more interesting. My supervisor had some more time, and used some of it to explain what is expected of me in more details. It seems that my job will consist of providing support and managing the G30 initiative in the University of Tsukuba. In more concrete terms, I have to provide intensive courses for the students in the G30 major (for starters Machine Learning in October, High Performance Parallel Computing in December). Also, I have to try and attract more students to this course, both in the university of Tsukuba and other universities in Japan (through long distance classes, etc). Finally, I have to boost the goal of the G30 program to turn Tsukuba into a more International university, by attracting more foreign students, and trying to promote cooperation with other universities abroad.</p>
<p>It is all still a bit nebulous to me, but I can see that I will have a handful.</p>
<p>Oh, research? It seems that I can do pretty much whatever I want in that regard - as long as I find the time to.Today I already took part in an impromptu research discussion about one of the master students projects over coffee, and tried to sell EC to him.</p>
<p>Plans for tomorrow: Cleaning my office by removing the logs and large rocks from it :3</p>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/602/feed</wfw:commentRss>
		</item>
		<item>
		<title>Almost there&#8230;</title>
		<link>http://claus.castelodelego.org/archives/601</link>
		<comments>http://claus.castelodelego.org/archives/601#comments</comments>
		<pubDate>Sun, 29 Jan 2012 21:55:25 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/601</guid>
		<description><![CDATA[I&#8217;m writing this from the Incheon airport in South Korea (yay for free internet acces). In 2 hours I&#8217;ll board the flight that will take me to Japan, for my new job in Tsukuba University.
The flight was as pleasant as a 26 hour flight can possibly be. I chose to fly Korean Airlines because I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m writing this from the Incheon airport in South Korea (yay for free internet acces). In 2 hours I&#8217;ll board the flight that will take me to Japan, for my new job in Tsukuba University.</p>
<p>The flight was as pleasant as a 26 hour flight can possibly be. I chose to fly Korean Airlines because I had a history of good service from them, and their flights were quite cheap. I was not disappointed this time. From the land crew in Sao Paulo, everyone was corteous, and all the facilities were well maintained. I just wish the plane crew spoke better english - but anything that I couldnt understand was usually printed somewhere accessible.</p>
<p>The US transit - usually the worst part of any international trip - was relatively painless. It seems that they finally decided that passengers in transit who are not even going to change planes aren&#8217;t a threat to US security. We skipped all security procedures and went to a transit lounge. Unfortunately, all three shops in the transit lounge were closed.</p>
<p>So if all goes well, I should arrive in Japan around midday, and in Tsukuba mid afternoon. I will stay the first few weeks in the university dorm, until I can find my own place. Tomorrow I will have to get all my documentation - alien card, bank account, etc - ready, so that I can start working wed.</p>
<p>No time to rest!</p>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/601/feed</wfw:commentRss>
		</item>
		<item>
		<title>Stage Clear!</title>
		<link>http://claus.castelodelego.org/archives/600</link>
		<comments>http://claus.castelodelego.org/archives/600#comments</comments>
		<pubDate>Sat, 28 Jan 2012 03:42:06 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[Life in Brazil]]></category>

		<category><![CDATA[Life in Japan]]></category>

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

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

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/600</guid>
		<description><![CDATA[After almost one year and a half living in Rio, tomorrow I&#8217;m boarding for Japan. I&#8217;ve been hired as an Assistant Professor at the G30 Computational Science Program at Tsukuba University.
I&#8217;m looking forward a lot for this move. For me, more than any &#8220;january first&#8221;, this signals a new year. Moving has always been accompained [...]]]></description>
			<content:encoded><![CDATA[<p>After almost one year and a half living in Rio, tomorrow I&#8217;m boarding for Japan. I&#8217;ve been hired as an Assistant Professor at the <a href="http://www.cs.tsukuba.ac.jp/g30/">G30 Computational Science Program at Tsukuba University</a>.</p>
<p>I&#8217;m looking forward a lot for this move. For me, more than any &#8220;january first&#8221;, this signals a new year. Moving has always been accompained by a rush of productivity and energy, and I have been planning to use these to start (or re-start) a number of projects that were on the back burner. The things I want to do in this new start include: Going back to the Gym, getting better at Starcraft, Learning to program indie games, reading more technical books. Not to mention updating all my websites <img src='http://claus.castelodelego.org/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>
<p>This last year in Rio was great from an academic point of view. I had a very interesting research project, with awesome work mates. I will miss that. But I also look forward to my new position. The prospect of having students under me, and a bit more of academic freedom gives me all sorts of ideas to work with.</p>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/600/feed</wfw:commentRss>
		</item>
		<item>
		<title>PhD &#8212; It is what you do for work</title>
		<link>http://claus.castelodelego.org/archives/599</link>
		<comments>http://claus.castelodelego.org/archives/599#comments</comments>
		<pubDate>Thu, 12 Jan 2012 14:45:35 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/599</guid>
		<description><![CDATA[Recently I have read news that the Japanese government will again reduce the stipend of international graduate students under the scholarship of the Ministry of Education (MEXT).
So, as expected, a lot of people start to complain about it, saying they can´t live anymore, they are getting screwed, etc. And then, also as expected, a lot [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I have <a href="http://a7.sphotos.ak.fbcdn.net/hphotos-ak-snc7/405920_10150452363226384_676131383_8528918_1018333772_n.jpg">read news that the Japanese government will again reduce the stipend</a> of international graduate students under the scholarship of the Ministry of Education (MEXT).</p>
<p>So, as expected, a lot of people start to complain about it, saying they can´t live anymore, they are getting screwed, etc. And then, also as expected, a lot of OTHER people start to complain about the complaints, saying that the complainers should be happy for being given any money at all, that they are just guests, among other things.</p>
<p>This amount of missing the point, it hurts me so much.</p>
<p>Graduate students often have this terrible misconception that because they are ¨students¨, they are not working. This sometimes shows as an inferiority complex, where they think that what they do is not work; that any money they receive is not earned; that they should hurry up and get a ¨real job¨. No, the academic career is as real a job as any other, even though is not seen as one. You, as a PhD student, is no less a worker than someone who just joined a company. Your research will be used by your advisor to justify the grants that he receives, and his standing inside the university and funding agencies. You are working, results are expected of you, and you are being paid for those results. That stipend is your <b>earned</b> salary.</p>
<p>Of course, as in many things, there is another face to this coin. I´ve seen people use the ¨I´m just a student¨ mentality to avoid responsability. These people will act as if they were on extended paid vacations. For them, the same thing applies: Your stipend is your salary, and you are expected to work for it. A PhD diploma and a thesis is nice, but the body of your work/contacts/classes/research activities is what is really being expected of you.</p>
<p>Back to the fact of the scholarship reduction itself, I think it is really unfortunate. Yes, it is possible to live in Japan, even in Tokyo, with the new current scholarship. But this current value means that you will earn almost as much money flipping burgers in Mac Donalds in Japan (or, as is more often the case, making sandwiches in some bento factory), than you will performing research. Going to Japan for a PhD is not exactly an easy decision to make (language barrier, social barrier, distance from family and friends), and the high scholarship should reflect the incentives for taking this decision.</p>
<p>Of course, Japan is not exactly in an economic golden age at the moment, but I think it would give much more bang to the buck if they reduced the number of scholarships, and improved the selection process.</p>
<p>Finally cutting the scholarship for those who are already mid-way through their courses is just a dickish move any way you see it.</p>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/599/feed</wfw:commentRss>
		</item>
		<item>
		<title>My dear Watson,</title>
		<link>http://claus.castelodelego.org/archives/598</link>
		<comments>http://claus.castelodelego.org/archives/598#comments</comments>
		<pubDate>Fri, 06 Jan 2012 15:38:44 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[politics]]></category>

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

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

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/598</guid>
		<description><![CDATA[&#8220;Very Well. And I say, Doctor, there may be some little danger, so kindly put your army revolver in your pocket&#8221;
&#8211; Sherlock Holmes, The Red-Headed League
The height of adventure and excitement in the 1900&#8217;s, this is so cute! &#8216;would you please take your gun, my friend? we might have a little danger in our way&#8217;. [...]]]></description>
			<content:encoded><![CDATA[<blockquote>&#8220;Very Well. And I say, Doctor, there may be some little danger, so kindly put your army revolver in your pocket&#8221;</p></blockquote>
<p><em>&#8211; Sherlock Holmes, The Red-Headed League</em></p>
<p>The height of adventure and excitement in the 1900&#8217;s, this is so cute! &#8216;would you please take your gun, my friend? we might have a little danger in our way&#8217;. So different from the muscle-bulging, always-scowling, badass macho heroes of our days. Although I guess that this extremely gentlemanly behavior is what was imagined of a macho-hero of that time and place. Still, I love this quote.</p>
<p>As you might have guessed, I&#8217;m now reading Sherlock Holmes stories. I got the entire collection from <a href="http://www.gutenberg.org/">Project Gutenberg</a>, a wonderful website where they archive and organize classical literary works that have fallen into the public domain. </p>
<p>Talking about public domain, it is a good time to remind everyone of the <a href="http://www.law.duke.edu/cspd/publicdomainday/2012/pre-1976">list of works that could have been in the public domain this year</a>. Take a careful look at this list &#8212; it is the list of works that would be now in the public domain, under the old 24+24 year rules. Notice that many of these works (specially music and Disney cartoons!) used a lot of inspiration from works that were in the Public Domain in THEIR time! In other words, authors that at the time used the Public Domain, are now NOT giving back, by supporting the crazy copyright system we have in place today.</p>
<p>If you are interested in this subject, <a href="http://www.thepublicdomain.org/download/">this book</a> is a great way to get introduced to the matter of intellectual property, what is wrong with it, what is write with it, and what we should do to fix it.</p>
<p>Happy new year everybody!</p>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/598/feed</wfw:commentRss>
		</item>
		<item>
		<title>How to Make a Timelapse</title>
		<link>http://claus.castelodelego.org/archives/597</link>
		<comments>http://claus.castelodelego.org/archives/597#comments</comments>
		<pubDate>Wed, 21 Dec 2011 10:08:44 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[howto]]></category>

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

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

		<category><![CDATA[Fun &amp; Games]]></category>

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/597</guid>
		<description><![CDATA[Timelapses are videos where many successive pictures of a subject are put together, ordered by date.
The first one I remember seeing was that guy who took pictures of the front of his home, every day, for a couple of years. There is another very cool one of a guy who travels around china, always taking [...]]]></description>
			<content:encoded><![CDATA[<p>Timelapses are videos where many successive pictures of a subject are put together, ordered by date.</p>
<p>The first one I remember seeing was that guy who took pictures of the front of his home, every day, for a couple of years. There is another very cool one of a guy who travels around china, always taking pictures of his face. Those videos of crossings in large towns, where you see everybody moving very fast, are also a sort of time lapse.</p>
<p>Besides having a very cool effect, time-lapses can show in a pleasant and interesting way how something was made. One example are the games of <a href="http://www.ludumdare.com/compo/">Ludum Dare</a> (a challenge to make a game from scratch in 48 hours), that are often followed by a time lapse of how the game was made. </p>
<p>I wanted to add a timelapse video of my own entry to LD, and at first I thought it would be a very complicated affair. Turns out it was really simple.</p>
<p>First thing you need to do is to set up your system to take regular pictures of your desktop. You can do this with a single command using xwd, imagemagick and date:</p>
<p><code>xwd -root | convert xwd:- -resize 800x800 `date +%d%H%M%S.png`</code></p>
<p>This will create a screenshot of whatever is on your screen, and name it &#8220;dayhourminutesecond.png&#8221;. The 800&#215;800 part resizes the screenshot so that the largest size will be 800 pixels (you don&#8217;t want full-sized screenshots, unless you don&#8217;t care about running out of disk space). </p>
<p>Now you need to set up your system to run the above line every minute. I tried to get CRON to do that, but it * * * * * wouldn&#8217;t work for some reason, so I wrote a shell script and left it running in the background:</p>
<p><code>#/bin/bash<br />
while true; do<br />
        i=`date +%d%H%M%S.png`<br />
        xwd -root | convert xwd:- -resize 800x800 $i<br />
        sleep 1m<br />
done</code></p>
<p>No magic here.</p>
<p>After you are done with your screenshots, you need to put them together in a video. You do that using mencoder. I took this line from the <a href="http://www.cenolan.com/2009/05/simple-time-lapse-video-in-linux/">Cenolan blog</a> (originally for web cam time lapsing):</p>
<p><code>% ls -1tr > files.txt<br />
% mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4 -o test.avi -mf <strong>type=png:fps=10</strong> mf://@files.txt</code></p>
<p>Note the bolded part. You need to change these lines if you save your pictures as something other than pngs, and if you want a different speed to your timelapse. I find that anything under 10 fps gets a bit too slow. The script runs surprisingly fast for 3.000 pictures.</p>
<p>Now go make some time lapses! <a href="http://www.youtube.com/watch?v=0tpQZ1pjQKM">Here is mine.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/597/feed</wfw:commentRss>
		</item>
		<item>
		<title>Ludum Dare, I did it! :-)</title>
		<link>http://claus.castelodelego.org/archives/596</link>
		<comments>http://claus.castelodelego.org/archives/596#comments</comments>
		<pubDate>Tue, 20 Dec 2011 04:14:11 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[LD48]]></category>

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

		<category><![CDATA[Software Reviews]]></category>

		<category><![CDATA[Fun &amp; Games]]></category>

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/596</guid>
		<description><![CDATA[If you graduated in computer science or computer engineering, you have, at least once, thought about writing a computer game.
And if you are like most people, and like me, you never went through with that idea. What a shame, I know how it feels. 
But this weekend, I was vindicated. I decided to plunge into [...]]]></description>
			<content:encoded><![CDATA[<p>If you graduated in computer science or computer engineering, you have, at least once, thought about writing a computer game.</p>
<p>And if you are like most people, and like me, you never went through with that idea. What a shame, I know how it feels. </p>
<p>But this weekend, I was vindicated. I decided to plunge into the <a href="http://www.ludumdare.com">Ludum Dare</a>. The Ludum dare (or LD48 as it is also know), is an open challenge to develop a game in 48 hours. The game must be done from scratch: code, graphics, sounds, everything. Also, each edition has a theme, that should be followed. The theme this time was &#8220;Alone&#8221;.</p>
<p>Since I&#8217;ve never completed a game before (and I suck at GUI programming), I was not very confident that I would be able to complete the dare. Fortunately, that was not the case at all. Not only I completed my game, but I was also rather proud of it, given the constraints, and I also got very excited about the whole LD48 community.</p>
<p>I think one of the big things that helped me along was having a friend do the dare with me. <a href="http://www.ludumdare.com/compo/author/my-milked-eek/">My Milked Eek</a>, from the Mafia Scum Forums, participated in the Dare too, and we would exchange messages every time we had a problem, or reached a milestone, or just had a lol-worthy thought. That helped me keep my motivation up in those 48 hours.</p>
<p>It was a great experience. I managed to learn a lot about Java, and about Slick, the gaming library that I used. I gained a lot of confidence in my programming skills. And I made a game! I made a gaaaameeee <img src='http://claus.castelodelego.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>So, here are some links:</p>
<p><a href="http://claus.castelodelego.org/games/MazeExplorer-fat.jar">Maze Explorers</a>, my Ludum dare entry. You run it with Java. Works in Linux/Mac/Windows</p>
<p><a href="http://www.youtube.com/watch?v=0tpQZ1pjQKM">A time lapse video of me making the game</a></p>
<p><a href="http://www.ludamix.com/games/couragequest/">Courage Quest</a>, a fantastic entry for this edition of the LD48. If I didn&#8217;t tell you, you couldn&#8217;t say that this game was made in 48 hours.</p>
<p>Stay tuned!</p>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/596/feed</wfw:commentRss>
		</item>
		<item>
		<title>Getting Myself into Trouble &#8212; Ludum Dare</title>
		<link>http://claus.castelodelego.org/archives/595</link>
		<comments>http://claus.castelodelego.org/archives/595#comments</comments>
		<pubDate>Fri, 16 Dec 2011 21:21:03 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[LD48]]></category>

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

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

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/595</guid>
		<description><![CDATA[So I decided to participate in Ludum Dare this weekend. 
Ludum Dare is an event that happens about 3 times per year. It challenges you to build a complete game, from scratch, in 48 hours. By ¨from scratch¨, I mean everything: design, code, image assets, sounds. A theme is picked and you have to follow [...]]]></description>
			<content:encoded><![CDATA[<p>So I decided to participate in <a href="http://www.ludumdare.com/compo/">Ludum Dare</a> this weekend. </p>
<p>Ludum Dare is an event that happens about 3 times per year. It challenges you to build a complete game, from scratch, in 48 hours. By ¨from scratch¨, I mean everything: design, code, image assets, sounds. A theme is picked and you have to follow this theme.</p>
<p>It is a great opportunity for game developers to show off, and for common folk to try and finally complete that pong reimplementation. Guess which category I´m in <img src='http://claus.castelodelego.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>To record my adventure, I decided to make a time-lapse video of my desktop: something I have never done before. Hey, if I can learn one thing, I can learn two at once, right? So my idea is to take a screenshot of my desktop every minute this week, and put all the images together into a video in the end.</p>
<p>The problems started there&#8230;</p>
<p>I <a href="http://inspirated.com/2007/04/02/howto-use-xwd-for-screenshots">found on the net</a> a nice spell to take screenshots from the command line using xwd. Then I tried to put it on cron. Nothing happened. No error message either (if you don´t have a mailing agent installed, where does cron send its error messages in ubuntu??? <img src='http://claus.castelodelego.org/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> ). Since I only have 5 hours to the start of LD, and I have other important preparations to make (like writing this blog post), I decided to write an infinite loop script to do this for me, as a quick fix. Here it is, for the curious:</p>
<p><code>#/bin/bash</p>
<p>while true; do<br />
        i=`date +%d%H%M%S.png`<br />
        xwd -root | convert xwd:- -resize 800x800 $i<br />
        sleep 1m<br />
done</code></p>
<p>I´ll post more about LD this weekend, stay tuned!</p>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/595/feed</wfw:commentRss>
		</item>
		<item>
		<title>Playing the piano</title>
		<link>http://claus.castelodelego.org/archives/594</link>
		<comments>http://claus.castelodelego.org/archives/594#comments</comments>
		<pubDate>Sun, 04 Dec 2011 09:35:40 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[Life in Brazil]]></category>

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

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/594</guid>
		<description><![CDATA[Today I had to wait for a few hours at the Tiete bus station, in Sao Paulo. I was reading &#8220;The Blank Slate&#8221; by Steven Pinker, a not so good portuguese translation, in a coffee shop.
The cool thing about this coffee shop is that they had a big piano, which was open for anyone who [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had to wait for a few hours at the Tiete bus station, in Sao Paulo. I was reading &#8220;The Blank Slate&#8221; by Steven Pinker, a not so good portuguese translation, in a coffee shop.</p>
<p>The cool thing about this coffee shop is that they had a big piano, which was open for anyone who wanted to play it. When I arrived, a kid was playing nicely, and kept on it for almost an hour. After he left, a guy dressed as a bus driver sat down and played for a while as well.</p>
<p>I wish I could play the piano too. When I was about 10, I took maybe 2 or 3 months of classes, but then stopped. Mom says it was because at the time we could not afford to buy a piano, which I needed to progress further. Oh well.</p>
<p>I wonder if I&#8217;m still capable of learning it to any acceptable degree.</p>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/594/feed</wfw:commentRss>
		</item>
	</channel>
</rss>

