<?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 &#124; java</title>
	<link>http://claus.castelodelego.org</link>
	<description>Claus' little corner on the net</description>
	<pubDate>Mon, 21 Jul 2008 09:54:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>
	<language>en</language>
			<item>
		<title>Break of Bad Luck</title>
		<link>http://claus.castelodelego.org/archives/465</link>
		<comments>http://claus.castelodelego.org/archives/465#comments</comments>
		<pubDate>Mon, 21 Jul 2008 09:54:16 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/465</guid>
		<description><![CDATA[For some reason, Murphy has been particularly evil to me these last two weeks. First, I lost my cellphone (that is why my cellphone number changed). Next, Delta Airlines misplaces my bags during my flight to Atlanta, and I go two days with only one set of clothing. And today, when I finally arrive back [...]]]></description>
			<content:encoded><![CDATA[<p>For some reason, Murphy has been particularly evil to me these last two weeks. First, I lost my cellphone (that is why my cellphone number changed). Next, Delta Airlines misplaces my bags during my flight to Atlanta, and I go two days with only one set of clothing. And today, when I finally arrive back at my lab after the week-long trip, the HD on my Desktop crashed - and with the HD crash it seems I have lost all the .tex files from my work in 2007  - including my master thesis (I have PDF backups, though :-/).</p>
<p>This really sucks, I hope my Karma is negative enough by now that I&#8217;ll start to see some good luck coming the following weeks.</p>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/465/feed</wfw:commentRss>
		</item>
		<item>
		<title>New Mobile Phone!</title>
		<link>http://claus.castelodelego.org/archives/464</link>
		<comments>http://claus.castelodelego.org/archives/464#comments</comments>
		<pubDate>Wed, 09 Jul 2008 01:32:16 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/464</guid>
		<description><![CDATA[For those who did not get an e-mail from me: I changed my mobile phone address! Mail me so I can send you the new phone number, okay?
]]></description>
			<content:encoded><![CDATA[<p>For those who did not get an e-mail from me: I changed my mobile phone address! Mail me so I can send you the new phone number, okay?</p>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/464/feed</wfw:commentRss>
		</item>
		<item>
		<title>Sky Diving FAQ</title>
		<link>http://claus.castelodelego.org/archives/463</link>
		<comments>http://claus.castelodelego.org/archives/463#comments</comments>
		<pubDate>Tue, 27 May 2008 17:27:54 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[Life in Japan]]></category>

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

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

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/463</guid>
		<description><![CDATA[
	
Where did you go Sky Diving?

I went skydiving in Fujioka, Tochigi prefecture, by Advanced Air Sports Inc. At their webpage, you can get all information needed about how to make a reservation, payment, how to get there, testimonials from other clients etc.
	
Is it expensive?

It costed around 25.000 yenes (250 dollars), 38000 yenes with the recording. [...]]]></description>
			<content:encoded><![CDATA[<ol>
	<strong>
<li>Where did you go Sky Diving?</li>
<p></strong></p>
<p>I went skydiving in Fujioka, Tochigi prefecture, by Advanced Air Sports Inc. At their webpage, you can get all information needed about how to make a reservation, payment, how to get there, testimonials from other clients etc.</p>
<p>	<strong>
<li>Is it expensive?</li>
<p></strong></p>
<p>It costed around 25.000 yenes (250 dollars), 38000 yenes with the recording. Seems expensive, but a quick search will show that the prices are pretty much the same worldwide.</p>
<p>	<strong>
<li>Weren&#8217;t you scared? Isn&#8217;t it scary?</li>
<p></strong></p>
<p>Actually, I am quite afraid of heights. I feel kind of funny when standing near windows in tall buildings. In the helicopter,  while it was going up in the air I was quite afraid.</p>
<p>That said, the jump itself was surprisingly non-scary. After you jump out of the helicopter, you completely lose the sensation of &#8220;fall&#8221;. The ground is so far away that it doesn&#8217;t move, so you feel you are floating in the air.</p>
<p>So no, it is not scary at all.</p>
<p>	<strong>
<li>Isn&#8217;t it dangerous?</li>
<p></strong></p>
<p>Not really. In your first time, you have to jump together with an instructor (Tandem jump). You are linked to the instructor in 7 different points in your uniform, so there is no danger of falling from him. </p>
<p>Also the instructors themselves have more than a thousand jumps in experience. So no, not dangerous at all.</p>
<p>	<strong>
<li>Was it worth it?</li>
<p></strong></p>
<p>Hell yes! <img src='http://claus.castelodelego.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>	<strong>
<li>How does it feel?</li>
<p></strong><br />
Like I said before, you don&#8217;t actually feel you are falling. It seems like if you were still in the air. You feel a very strong wind current all over your body, similar to what you feel when you stick our arm out a window of a fast moving car.</p>
<p>The most impressive thing is the sound of wind rushing past your ears. It feels great.</p>
<p>	<strong>
<li>Are you going to do it again?</li>
<p></strong></p>
<p>I hope so! I don&#8217;t want to do just another &#8220;experimental&#8221; jump, so if/when I do it again, I want to actually go for the 7 jump course which is needed to take the certificate for solo jumps. However, that is too expensive to do right now.</p>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/463/feed</wfw:commentRss>
		</item>
		<item>
		<title>Ripping a home video from a DVD with Ubuntu&#8230;</title>
		<link>http://claus.castelodelego.org/archives/462</link>
		<comments>http://claus.castelodelego.org/archives/462#comments</comments>
		<pubDate>Thu, 22 May 2008 15:57:00 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[Fun &amp; Games]]></category>

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

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/462</guid>
		<description><![CDATA[&#8230; and a very old laptop.
Today&#8217;s mission: I got this DVD with the video recording of my most recent adventure in Japan. I want to take the video itself away from the menu fluff, and put it here for everyone to see.
Step one: Getting the DVD to work on my laptop
First fail: I insert the [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230; and a very old laptop.</p>
<p>Today&#8217;s mission: I got this DVD with the video recording of my most recent adventure in Japan. I want to take the video itself away from the menu fluff, and put it here for everyone to see.</p>
<p><strong>Step one: Getting the DVD to work on my laptop</strong></p>
<p>First fail: I insert the DVD in my ubuntu laptop, and it begins to auto-play, loading the movie player. Apparently, the ubuntu packager&#8217;s mothers never told them not to auto-play any strange media that connects to their computers :-(.</p>
<p>At least, no problems recognizing the DVD.</p>
<p><strong>Step two: Installing the DVD ripping software</strong></p>
<p><a href="http://dorebesu.blogspot.com/">Drebes</a> suggested <a href="http://handbrake.fr/">Handbrake.</a> `Apt-cache search dvd rip` suggests acidrip. Let&#8217;s try acidrip first.</p>
<p><strong>Step three, part a: trying to rip the video out using acidrip</strong></p>
<p>Downloaded Acidrip, and ran it. The man file does not explain a lot about the command line parameters. Theoretically, the defaults are sane. I can press the &#8220;RIP&#8221; button and generate and<br />
avi file, but I can&#8217;t get mplayer or xine to successfully read it. Not really into reading manuals and manuals describing codecs, so let&#8217;s try handbrake. </p>
<p>Funnily enough, the &#8220;preview&#8221; button from acidrip shows me a nice video, with nice sound - is it reading straight from the DVD?</p>
<p><strong>Step three, part b: trying out handbrake</strong></p>
<p>download the binary. Run the binary: Handbrake -c 1 -i /dev/hdc -o file.mp4</p>
<p>There it goes. A nice, small video. Now I just need to find a place to put this binary in.</p>
<p>Here is the result:</p>
<p><object width="425" height="350">
<param name="movie" value="http://www.youtube.com/v/wPkeGXjqlTw"> </param> <embed src="http://www.youtube.com/v/wPkeGXjqlTw" type="application/x-shockwave-flash" width="425" height="350"> </embed> </object></p>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/462/feed</wfw:commentRss>
		</item>
		<item>
		<title>Pieces of Peace</title>
		<link>http://claus.castelodelego.org/archives/461</link>
		<comments>http://claus.castelodelego.org/archives/461#comments</comments>
		<pubDate>Sun, 17 Feb 2008 12:46:35 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/461</guid>
		<description><![CDATA[Ok, the title is horrible, but that is actual name of a exhibit we saw in Shibuya today. A number of famous places in the world were reproducing using Lego pieces. The reproductions were actually very well done, and if the place were a little less crowded, I feel I could spend hours staring at [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, the title is horrible, but that is actual name of a exhibit we saw in Shibuya today. A number of famous places in the world were reproducing using Lego pieces. The reproductions were actually very well done, and if the place were a little less crowded, I feel I could spend hours staring at some of those.</p>
<p>My only wish is that there were MORE models :-).</p>
<p>Marilia put some pictures in her <a href="http://picasaweb.google.co.jp/mariliamelo/lego">Picasa repository</a>. Make sure to check them out!</p>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/461/feed</wfw:commentRss>
		</item>
		<item>
		<title>Smoky Mistery</title>
		<link>http://claus.castelodelego.org/archives/460</link>
		<comments>http://claus.castelodelego.org/archives/460#comments</comments>
		<pubDate>Sun, 17 Feb 2008 11:55:29 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/460</guid>
		<description><![CDATA[Recently, Marilia told me I was smelling cigarette smoke. It is that kind of thing that, while you absolutely can&#8217;t notice before someone point it out to you, after they do you can&#8217;t take your head from it.
So, in fact, my coat and my shirt were smelling strongly of cigarette. And that is the mystery:
I [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, Marilia told me I was smelling cigarette smoke. It is that kind of thing that, while you absolutely can&#8217;t notice before someone point it out to you, after they do you can&#8217;t take your head from it.</p>
<p>So, in fact, my coat and my shirt were smelling strongly of cigarette. And that is the mystery:</p>
<p>I don&#8217;t smoke, no one in my laboratory smoke. When I go to a Cafe to study, I always sit in the non-smoking area. My RPG partners don&#8217;t smoke. How the hell my coat got infested by that strong cigarette smell?</p>
<p>Hmmm&#8230; :-/</p>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/460/feed</wfw:commentRss>
		</item>
		<item>
		<title>Where in the world&#8230;</title>
		<link>http://claus.castelodelego.org/archives/459</link>
		<comments>http://claus.castelodelego.org/archives/459#comments</comments>
		<pubDate>Sat, 09 Feb 2008 12:11:27 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[websurfing]]></category>

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

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/459</guid>
		<description><![CDATA[Recently I saw in a forum this very neat flash based game. It is a geography quiz, where you have to try and get right the position of many cities in the world.
Try it!
]]></description>
			<content:encoded><![CDATA[<p>Recently I saw in a forum this very neat flash based game. It is a geography quiz, where you have to try and get right the position of many cities in the world.</p>
<p><a href="http://www.minijuegosgratis.com/juegos/hwdykyworld/hwdykyworld.html">Try it!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/459/feed</wfw:commentRss>
		</item>
		<item>
		<title>Happy New Year!</title>
		<link>http://claus.castelodelego.org/archives/458</link>
		<comments>http://claus.castelodelego.org/archives/458#comments</comments>
		<pubDate>Thu, 10 Jan 2008 15:30:49 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/458</guid>
		<description><![CDATA[Well. It is January 11th right now, but &#8220;write new year blog post&#8221; is still written in my todo list, so better get this done with.
2007 was an year that went by really fast. It&#8217;s first quarter was dominated by a bunch of fun trips that me and Marilia did together, but the second and [...]]]></description>
			<content:encoded><![CDATA[<p>Well. It is January 11th right now, but &#8220;write new year blog post&#8221; is still written in my todo list, so better get this done with.</p>
<p>2007 was an year that went by really fast. It&#8217;s first quarter was dominated by a bunch of fun trips that me and Marilia did together, but the second and third quarter were completely overshadowed by my master thesis. I spent way too much time working on my thesis and the experiments that were required to complete it, not to mention a number of related academic presentations. </p>
<p>The result of this, coupled with my usual procrastination, means that unlike most other years in my life, I feel that the circle of people that I share my life with shrank quite a bit in 2007. Not as many house parties, not as many events, very few nengajyos.</p>
<p>Because of that, while normally I don&#8217;t bother with New Year&#8217;s resolutions, I decided to do a big one: This year, I want to try and reverse what happened in 2007, by trying to talk more, and to more people - rekindle the contacts I have, and try to make new contacts.</p>
<p>&#8230; :-/ But just the fact that I&#8217;m writing this blog post in the 11th of January shows how well I&#8217;m doing so far. Well it is never late to set things right, specially in the second week of the year, right?</p>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/458/feed</wfw:commentRss>
		</item>
		<item>
		<title>TA Again</title>
		<link>http://claus.castelodelego.org/archives/457</link>
		<comments>http://claus.castelodelego.org/archives/457#comments</comments>
		<pubDate>Sun, 16 Dec 2007 12:40:56 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/457</guid>
		<description><![CDATA[Like last year, I was invited by my advisor to work as a Teaching Advisor to his &#8220;robocup simulation&#8221; for the 3rd year undergrad students. Last year, the experience was not completely satisfying - the students didn&#8217;t seem to work very hard in their projects or the reports - it gave me a bad impression [...]]]></description>
			<content:encoded><![CDATA[<p>Like last year, I was invited by my advisor to work as a Teaching Advisor to his &#8220;robocup simulation&#8221; for the 3rd year undergrad students. Last year, the experience was not completely satisfying - the students didn&#8217;t seem to work very hard in their projects or the reports - it gave me a bad impression of the students in our undergrad course.</p>
<p>This year, however, the experience is being quite different. When I asked who had Java programming experience, most students raised their hands. Questions about the programming aspect of the assignment were made right on the first class. And there was this one group of students who all were running Ubuntu in their laptops. Seems that we might be seeing some interesting results this year. I hope so.</p>
<p>I also learned something about teaching in a programming laboratory course. On the first two days, there were almost no questions or clarifications requested of me. But on the second day I noticed that a team seemed to be dozing off. Two team members were just staring at the ceiling, and the other was just staring at the laptop monitor. I decided to ask if they had already decided on a strategy for the team and for their programming, and eventually they told me that they were not really sure on how to program a soccer strategy for independent agents. They had divided their group into those who would do the programming for the forward players, and those who would program the defence players. When I gave some very vague suggestions, they seemed to pick up interest and started to have some good ideas of their own.</p>
<p>It dawned on me that our work is much more than just grading reports and answering questions, but also to try and light the creative spark in the student&#8217;s head by showing some interest into what they are doing.</p>
<p>Let&#8217;s see if this year I can put together a programmed team of my own to compete with theirs in the last class.</p>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/457/feed</wfw:commentRss>
		</item>
		<item>
		<title>Problem with Eclipse and Ubuntu</title>
		<link>http://claus.castelodelego.org/archives/456</link>
		<comments>http://claus.castelodelego.org/archives/456#comments</comments>
		<pubDate>Wed, 12 Dec 2007 10:26:25 +0000</pubDate>
		<dc:creator>Claus</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://claus.castelodelego.org/archives/456</guid>
		<description><![CDATA[Recently, I had a nasty problem with Eclipse in my Ubuntu Box. The GUI would not show me the code for some of my source files, saying that the text window couldn&#8217;t be displayed due to an internal error. For other files, it would display the code, but mark every line as an error, with [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I had a nasty problem with Eclipse in my Ubuntu Box. The GUI would not show me the code for some of my source files, saying that the text window couldn&#8217;t be displayed due to an internal error. For other files, it would display the code, but mark every line as an error, with spurious reasons like &#8220;can&#8217;t instance org.eclipse.something&#8221; or &#8220;java.util is not a valid library&#8221; or something similar.</p>
<p>The first time it happened to me, it was because Eclipse was wrongly using the Gnu Java compiler, instead of Sun&#8217;s JDK 1.6. I corrected the links with &#8216;update-alternatives&#8217;, and all was well.</p>
<p>Now it happened again to me earlier this week. This time out, I made sure that the GJC did not have a higher priority than sun&#8217;s java, but still the error remained. Today I found out that, for some reason, the fault was of the &#8220;system library&#8221; of the project. The system library was set to the &#8220;default&#8221; (sun&#8217;s java 1.6). When I manually set the path for the 1.6 library, eclipse started working again. </p>
<p>Hmmm. I feel like I have just patched the symptoms, instead of really solving the problem, but at least my system is working now. Hope this helps other people - and if anyone has a more &#8220;solid&#8221; way of fixing my system, feel free to comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://claus.castelodelego.org/archives/456/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
