<?xml version="1.0"?>
<rss version="2.0">
<channel>
	<title>Fer's blog</title>
	<link>http://www.gnome.org/~fherrera/blog/2006/Aug/</link>
	<description>fer, ferulo, that crazy man</description>
	<language>en</language>
	<managingEditor>fherrea@onrica.com</managingEditor>
	<webMaster>fherrera@onirica.com</webMaster>
	<image>
		<url>http://www.gnome.org/~fherrera/img/fer_reallysmall.png</url>
		<title>Fer's blog</title>
		<link>http://www.gnome.org/~fherrera/blog/2006/Aug/</link>
		<width>70</width>
		<height>75</height>
	</image>
	<item>
		<title>dyckola: bye bye</title>
		<guid isPermaLink="true">http://www.gnome.org/~fherrera/blog/2006/Aug//dyckola</guid>
		<description><p>Last Thursday I was watching a <a href="http://imdb.com/title/tt0446312/">really bad spanish movie</a> on my computer when it just died. No power up, so I though that it was a problem with the power suply or the motherboard. It was a really old computer: 1998. I upgraded it twice, with a new hd and later, two years ago with an old motherboard/micro that my friend <a href="http://blogdemago.blogspot.com/">Luis Mago</a> gave me. So it was a good time to buy a new desktop computer. On Friday I went to <a href="http://www.verkkokauppa.com/">verkkokauppa</a>, a computer store very close to Nokia NCR in Helsinki, with <a href="http://moimart.org/">moi</a>. So on Saturday morning I set up my new computer, with a very big surprise: my old hard disk was also dead. Only a little bit of noise on power on, and nothing, no more. Everything lost: my music, my documents, my writtings, my pictures... 8 years of stuff. It is a big coincidence, because some days ago <a href="http://www.pumuki.org/">Jesus</a> warned me about hard disk failures, so I bought a dvd writer for doing backups. But I got this lumbago pain so I delayed the dvdrw instalation a few days...and then it died! :( </p><p>The instalation of the new machine was funny, I got a asus motherboard with the JMB363 SATA chipset. None of my on-cd distros (thanks <a href="http://www.novell.com">Novell</a> for the SuSE boxes) recognized this chipset, and the DVD drive was not functional. I googled a bit, and I needed some brand-new kernel to make it work with the all-generic-ide param. No luck. I tried Fedora Core 6test2 with a pretty kernel panic. I need to hack a little bit to get a Fedora rawhide 2.6.17-1.2586 kernel booting on my machine and inside a bootable CD. After that I tried to do a network installation. FTP failed a lot, so I finally got the minimal installation with HTTP.</p><p>Now it's time to try to recover all my data from the dead hd. So, lazy web:<br /><b>Do you have any experience with data recovering companies?</b><br />It's a 120 GiB HD with 7 ext3 partitions. Something giving me the full data on DVDs and not very expensive would be great. If you can recommend me any company it would be great.Thanks!</p>
</description>
		<pubDate>Mon, 28 Aug 2006 01:04 -0400</pubDate>
	</item>
	<item>
		<title>Wireless music at home</title>
		<guid isPermaLink="true">http://www.gnome.org/~fherrera/blog/2006/Aug//770_daap</guid>
		<description><p>Yesterday I assembled my new IKEA desk. It's nice to have my computer again on a desk :). In Madrid I used to connect my computer audio output to my Hi-Fi system to be able to listen to my mp3/ogg/flac music on the living room with a long RCA audio wire. However that is not anymore possible in my new apartment. I though about some other solution to play my music. First I considered buying an <a href="http://www.apple.com/airportexpress/">Apple Airport Express</a>: 130$. Then I realized that I already have a gadget with wireless and audio output: my <a href="http://www.nokia.com/770">Nokia 770</a> so let's code it!.</p><p><ul><li>First I need a music server: after some web crawling <a href="http://www.snorp.net/log/tangerine">tangerine</a> was the perfect piece of software, quick, easy and just works.</li><li>Then I needed some DAAP client code for the 770: <a href="http://jerakeen.org/blog/2005/03/23/python-daap/">python-daap</a> looked great, so I could write a quick 770 python player.</li><li>I did some local testing on my computer and I had to hack python-daap to connect/disconnect after each request, because downloading more than one song was failing: <a href="http://www.gnome.org/~fherrera/770-daap-files/daap.patch">ugly hack for python daap</a></li><li>Finally a quick and dirty test player in python for the 770, based on the <a href="http://muine-player.org/">Muine</a> idea: Add -- Play/Enqueue</li></ul></p><p>So after ~200 lines of python I got it:<br /><center><img src="http://www.gnome.org/~fherrera/770-daap-files/770-hifi.jpg" border="0" /><br /><i>My Hi-Fi system with the 770 connected wih a jack2RCA wire</i><br /><br /><img src="http://www.gnome.org/~fherrera/770-daap-files/770-daap-main.png" border="0" /><br /><i>Main play window</i><br /><br /> <img src="http://www.gnome.org/~fherrera/770-daap-files/770-daap-search.png" border="0" /><br /><i>Add Song window</i><br /></center></p><p>Here are the files:<ul><li><a href="http://www.gnome.org/~fherrera/770-daap-files/pythondaap_1.0-1_armel.deb">pythondaap_1.0-1_armel.deb</a></li><li><a href="http://www.gnome.org/~fherrera/770-daap-files/n770.py">n770.py</a></li></ul>Currently DAAP server address is harcoded and stop button is not working, so there is lot of stuff to do:<ul><li>add some Avahi python code to search for music servers</li><li>Make stop works</li><li>download next song 10 secs before playing it to avoid delays</li><li>Support for remote playlists (in client and tangerine)</li><li>Create real .deb packages with .desktop files so you don't need to run it in a console with <pre>run-standalone.sh python2.4 ./n770.py</pre></li><li>...</li></ul></p>
</description>
		<pubDate>Sun, 06 Aug 2006 14:23 -0400</pubDate>
	</item>
</channel>
</rss>
