<?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>jdsn::blog</title>
	<atom:link href="http://jdsn.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://jdsn.de</link>
	<description></description>
	<lastBuildDate>Fri, 13 Nov 2009 13:58:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>openSUSE 11.2</title>
		<link>http://jdsn.de/2009/11/opensuse-11-2/</link>
		<comments>http://jdsn.de/2009/11/opensuse-11-2/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 00:00:18 +0000</pubDate>
		<dc:creator>jdsn</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[YaST]]></category>
		<category><![CDATA[openSUSE]]></category>
		<category><![CDATA[11.2]]></category>
		<category><![CDATA[distribution]]></category>

		<guid isPermaLink="false">http://jdsn.de/?p=169</guid>
		<description><![CDATA[openSUSE 11.2 is now available
Are you new to linux and want to learn about it or have never used it before? Then now its your turn to download openSUSE 11.2 and give it a try. Besides the installation DVD images you can also download LiveCD images to run linux on your computer without installation &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p><strong>openSUSE 11.2 is now available</strong></p>
<p><a title="Download openSUSE 11.2" href="http://download.opensuse.org" target="_blank"><img class="aligncenter size-full wp-image-170" title="OpenSUSE_11.2_468x60" src="http://jdsn.de/wp-content/uploads/OpenSUSE_11.2_468x60.png" alt="OpenSUSE_11.2_468x60" width="468" height="60" /></a>Are you new to linux and want to learn about it or have never used it before? Then now its your turn to <a title="Download openSUSE 11.2" href="http://download.opensuse.org" target="_blank">download openSUSE 11.2</a> and give it a try. Besides the installation DVD images you can also download LiveCD images to run linux on your computer without installation &#8211; the harddisk will not be touched. Find <a title="openSUSE 11.2" href="http://en.opensuse.org/OpenSUSE_11.2" target="_blank">more information</a> in the openSUSE wiki about whats new in this release.</p>
]]></content:encoded>
			<wfw:commentRss>http://jdsn.de/2009/11/opensuse-11-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download YouTube Videos as MP4</title>
		<link>http://jdsn.de/2009/10/download-youtube-videos-as-mp4/</link>
		<comments>http://jdsn.de/2009/10/download-youtube-videos-as-mp4/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 17:48:12 +0000</pubDate>
		<dc:creator>jdsn</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[bookmark]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://jdsn.de/?p=159</guid>
		<description><![CDATA[In February I wrote a post and offered a JavaScript code snippet that helps you to easily download a YouTube Video by adding this code to your bookmark list. The API of YouTube changed a few days ago, so the script no longer works.
Here is the new updated code snippet. Please update your bookmark or [...]]]></description>
			<content:encoded><![CDATA[<p>In February I wrote a <a title="Download YouTube Videos" href="/2009/02/download-youtube-videos/" target="_self">post</a> and offered a JavaScript code snippet that helps you to easily download a YouTube Video by adding this code to your bookmark list. The API of YouTube <a title="Download YouTube Videos as MP4 Files" href="http://googlesystem.blogspot.com/2008/04/download-youtube-videos-as-mp4-files.html" target="_blank">changed</a> a few days ago, so the script no longer works.</p>
<p>Here is the new updated code snippet. Please update your bookmark or just right-click on the following link and choose &#8220;Bookmark this Link&#8221;:</p>
<p><a title="Get YouTube Video" href="javascript:var%20video_id=null;var%20video_hash=null;var%20video_player=document.getElementById('movie_player');if(video_player){var%20flash_variables=video_player.attributes.getNamedItem('flashvars');if(flash_variables){var%20flash_values=flash_variables.value;if(flash_values){var%20video_id_match=flash_values.match(/[^a-z]video_id=([^(\&amp;|$)]*)/);if(video_id_match!=null)video_id=video_id_match[1];var%20video_hash_match=flash_values.match(/[^a-z]t=([^(\&amp;|$)]*)/);if(video_hash_match!=null)video_hash=video_hash_match[1]}}}if(video_id==null||video_hash==null){var%20args=null;try{args=yt.getConfig('SWF_ARGS')}catch(e){}if(args){video_id=args['video_id'];video_hash=args['t']}}if(video_id!=null&amp;&amp;video_hash!=null){var%20fmt='18';try{if(yt.getConfig('IS_HD_AVAILABLE'))fmt='22'}catch(e){}if(!document.getElementById('download-youtube-video')){var%20yt_mp4_path='http://www.youtube.com/get_video?fmt='+fmt+'&amp;video_id='+video_id+'&amp;t='+video_hash;var%20div_embed=document.getElementById('watch-embed-div');if(div_embed){var%20div_download=document.createElement('div');div_download.innerHTML='%3Cbr%20/%3E%20%3Cspan%20id=\'download-youtube-video\'%3E%20%3Ca%20href=\''+yt_mp4_path+'\'%20onclick=\'blur(this);\'%3EDownload%20as%20MP4%3C/a%3E%3C/span%3E';div_embed.appendChild(div_download);}if(navigator.appName!='Microsoft%20Internet%20Explorer'){document.location.href='http://www.youtube.com/get_video?fmt='+fmt+'&amp;video_id='+video_id+'&amp;t='+video_hash}}}void(0);">Get YouTube Video</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jdsn.de/2009/10/download-youtube-videos-as-mp4/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>/dev/fd0</title>
		<link>http://jdsn.de/2009/09/devfd0/</link>
		<comments>http://jdsn.de/2009/09/devfd0/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 20:28:59 +0000</pubDate>
		<dc:creator>jdsn</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[floppy]]></category>

		<guid isPermaLink="false">http://jdsn.de/?p=151</guid>
		<description><![CDATA[I still don&#8217;t believe what I did last night :)
On Friday I&#8217;m going to upgrade a friend&#8217;s computer and install two new hard disks. In order to save some time I wanted to preinstall the operating system (the one of my companies&#8217; cooperation partner). Up to then it was a good idea. But then I [...]]]></description>
			<content:encoded><![CDATA[<p>I still don&#8217;t believe what I did last night :)</p>
<p>On Friday I&#8217;m going to upgrade a friend&#8217;s computer and install two new hard disks. In order to save some time I wanted to preinstall the operating system (the one of my companies&#8217; cooperation partner). Up to then it was a good idea. But then I connected one new disk to my computer and booted the XP Home installation CD. <em>No hard disks installed</em> was the short message after the installer probed the system. I realized that this CD must be so old that it had no SATA drivers &#8211; or at least not for my mainboard.</p>
<p>I searched for the driver CD of my mainboard and &#8211; thinking like a developer who wants to be nice to the users &#8211; booted again, pressed F6 when prompted to include 3rd party drivers, inserted the driver CD and found that the only way to hand new drivers to an XP installation was via floppy.</p>
<p>But I have no floppy drive in this machine. Nor has my PC in the living room, nor has my Laptop. A month ago I cleaned up my cellar and got rid of my last PC with a floppy drive &#8211; a Pentium 133 machine that I got in 2001, when it already was used (Siemens wanted to get rid of it back then). Well &#8230; no way to solve that, it seemed. I didn&#8217;t want to give up that easy and crawled though my board with PC components and really found a lonely floppy drive. But then I recalled that I also disposed my collection of SCSI and floppy cables &#8211; nobody uses floppies any more and everything is SATA nowadays, I kept some IDE cables as my file server still has an IDE drive.</p>
<p>So the next objective was: get a floppy cable. When I almost gave up on this I had a look in an old ASUS mainboard box where I keep some manuals in &#8211; and amazingly there was a brand new floppy cable still in its original package. Ok, great, now I could connect the floppy drive with my mainboard &#8230; but stop, it needs a small power plug &#8211; but there was none. As my power supply has cable management there must be some power cords left in its packaging &#8230; so again, searching for a cable &#8211; but that one was easier to find.</p>
<p>But what is a floppy drive without a floppy. Those I disposed about 5 years ago after I created a last backup of thier content on my file server. So now it became quite hard. I even had to search in those tow boxes with unused stuff that I left untouched for three years now since I moved into my current apartment. And astonishingly there were about 10 floppies left.</p>
<p>Then the amazing thing happened. After over 5 years it was the first time I logged into my own workstation with a floppy drive connected. Ok, the workstations changed in the meantime from a custom built one to a MacMini and now I&#8217;ve got a custom built one again (does not look as nice as Apple products but its a lot cheaper and much more flexible).</p>
<p>Well, the rest of the story is short: formatting the floppy with KDE was easy, installing wine to extract the SATA drivers on the CD from the self extrating *.exe archives went smoothly as well, and so did the installation of XP in the end. It just was so curious to use a technology again after such a long time (5 years can seem long). Maybe I now start to understand what it feels like for the computer poineers to touch a Zuse or to power on a DEC PDP-7.</p>
]]></content:encoded>
			<wfw:commentRss>http://jdsn.de/2009/09/devfd0/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hacking a Seagate hard disk</title>
		<link>http://jdsn.de/2009/02/hacking-a-seagate-hard-disk/</link>
		<comments>http://jdsn.de/2009/02/hacking-a-seagate-hard-disk/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 21:02:15 +0000</pubDate>
		<dc:creator>jdsn</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[harddisk]]></category>
		<category><![CDATA[hdd]]></category>
		<category><![CDATA[minicom]]></category>
		<category><![CDATA[rs232]]></category>
		<category><![CDATA[seagate]]></category>
		<category><![CDATA[ttl]]></category>

		<guid isPermaLink="false">http://jdsn.de/?p=107</guid>
		<description><![CDATA[I will document here how to hack a Seagate hard disk that ran into one of these annoying firmware bugs that affected the Seagate Barracuda 7200.11 series lately. If you want to know more about the background you may want to start with the first part of the story.
The friend who brought me the disk [...]]]></description>
			<content:encoded><![CDATA[<p>I will document here how to hack a Seagate hard disk that ran into one of these annoying firmware bugs that affected the Seagate Barracuda 7200.11 series lately. If you want to know more about the background you may want to start with the <a href="/2009/02/a-disk-on-the-shelf" target="_self">first part</a> of the story.</p>
<p>The friend who brought me the disk kindly came by the next day to help with the operation. According to the recipes I found <a title="Tutorial HDDguru" href="http://forum.hddguru.com/tutorial-resolve-lba-seagate-7200-bios-don-recognize-t11040.html" target="_blank">here</a> and <a title="MFSN Board" href="http://www.msfn.org/board/index.php?s=f3026a11082e66c9589de13ace038484&amp;showtopic=128807" target="_blank">here</a>, we had to connect the hard drives service port to a serial console via a RS232-TTL converter. My friend prepared the RS232-TTL converter, brought a stable power supply as we needed 5V to operate. My task was to prepare the operating table, find a serial cable and a computer with a serial port, a two-pin-connector with wires and to get to know minicom.</p>
<p>So and here is how we did it:</p>
<div id="attachment_114" class="wp-caption aligncenter" style="width: 310px"><a href="http://jdsn.de/wp-content/uploads/serial_966.jpg"><img class="size-medium wp-image-114" title="serial_966" src="http://jdsn.de/wp-content/uploads/serial_966-300x190.jpg" alt="RS232-TTL converter" width="300" height="190" /></a><p class="wp-caption-text">RS232-TTL converter</p></div>
<p>First we connected the converter to the devices. The docking station of my notebook has a serial port, so I connected it via a serial cable to the converter. The three wires coming from the converter had to be connected the hard drive directly. We fixed the ground wire with a screw of the board. The Rx and Tx connectors had to be connected to the Tx and Rx connectors of the drive (so just cross them). Thats where we used the two-pin-connector. On the drive the pin next to the SATA connector is the Rx and next to this one is Tx. The other two are reserved and we did not need them.</p>
<p style="text-align: center;"><img class="size-medium wp-image-110 aligncenter" title="img_6572" src="http://jdsn.de/wp-content/uploads/img_6572-300x225.jpg" alt="img_6572" width="300" height="225" /></p>
<p>The most tricky part was about to be next. We had to interrupt the power supply for the motor of the platters but keep everything else connected properly. And it must be possible to remove this interruption during the operation. We unscrew all srews a little and pushed a piece of paper between the contacts of the board and the connector, and fastend the srews just a bit.</p>
<p style="text-align: center;"><img class="size-medium wp-image-111 aligncenter" title="img_6577" src="http://jdsn.de/wp-content/uploads/img_6577-300x225.jpg" alt="img_6577" width="300" height="225" /></p>
<p>So much for the preparation. Let&#8217;s start. Here is my minicomrc I used to communicate with the drives firmware:</p>
<pre>$ cat minirc.seagateBug
# Machine-generated file - use "minicom -s" to change parameters.
pu port             /dev/ttyS0
pu baudrate         38400
pu bits             8
pu parity           N
pu stopbits         1</pre>
<p>Now we connected the the SATA power cable to the drive and let minicom establish the serial connection. And really, I got first contact with the drive:</p>
<p><img class="aligncenter size-medium wp-image-112" title="img_6584" src="http://jdsn.de/wp-content/uploads/img_6584-300x225.jpg" alt="img_6584" width="300" height="225" />Even the error codes the drive dumped to the screen were correct according to the recipe. So we were on the right track. Now it was just about to properly retype the commands into minicom and patiently wait for the drive to complete the commands. Here is a screenshot with some comments in it.</p>
<p style="text-align: left;">
<div id="attachment_127" class="wp-caption aligncenter" style="width: 310px"><a href="http://jdsn.de/wp-content/uploads/seagatebug_minicom_commented.png"><img class="size-medium wp-image-127" title="seagatebug_minicom_commented" src="http://jdsn.de/wp-content/uploads/seagatebug_minicom_commented-300x206.png" alt="Hacking the firmware (commented)" width="300" height="206" /></a><p class="wp-caption-text">Hacking the firmware (commented)</p></div>
<p style="text-align: left;">Then finally we were done. But we did not repair the drive, but only reactivated it. Now it can run into the same bug again any time (but only on startup, so we would notice). So we tried to prevent as many restarts as we could. The first thing I did was connect it to an external SATA-2-firewire case and use the first startup of the disk to backup all important data. The second thing I did was connect the drive to the onboard connectors of my workstation and boot from the firmware upgrade CD I downloaded from the Seagate website the day before and deployed the new firmware to finally get rid of the bug.</p>
<p style="text-align: left;">In the end the disk felt quite well back in its original machine. Fortunately we had nothing more to fix within the installed system (yes, it was the other operating system).</p>
<p style="text-align: left;">Btw. the commands we sent to the drive took serveral seconds each to process, so we had to wait for for them to finish. Disconnecting power too early would have broken the disk. Thats why I connected all vital systems to my UPS for this hack. If you happen to have such a Seagate drive, my deepest regrets to you and good luck for your recovery hack.</p>
]]></content:encoded>
			<wfw:commentRss>http://jdsn.de/2009/02/hacking-a-seagate-hard-disk/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A disk on the shelf</title>
		<link>http://jdsn.de/2009/02/a-disk-on-the-shelf/</link>
		<comments>http://jdsn.de/2009/02/a-disk-on-the-shelf/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 08:01:34 +0000</pubDate>
		<dc:creator>jdsn</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[foremost]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[harddisk]]></category>
		<category><![CDATA[hdd]]></category>
		<category><![CDATA[seagate]]></category>

		<guid isPermaLink="false">http://jdsn.de/?p=105</guid>
		<description><![CDATA[Some days ago a friend came by late at a Friday night and brought a hard disk. He did not know what was wrong with it, but told me, that he was not able to access the data but he needs it within six days. As I was just about to develop a nice cold [...]]]></description>
			<content:encoded><![CDATA[<p>Some days ago a friend came by late at a Friday night and brought a hard disk. He did not know what was wrong with it, but told me, that he was not able to access the data but he needs it within six days. As I was just about to develop a nice cold that evening and only wanted to hide in my bed that weekend I just put the disk on my shelf and promised him to look at it by Sunday evening.</p>
<p>I tought it was some partitioning problem or filesystem corruption that could be repaired. In the worst case I thought I needed to do an image of the disk and dig for files manually or try to find some data with <a title="Sourceforge: foremost" href="http://foremost.sourceforge.net/ " target="_blank">foremost</a> which is a nice tool to recover files from storage media that got deleted. It will walk though the complete media and look for known file headers and dump the data. This works quite nice. I restored a friend&#8217;s holiday pictures of a deleted memory card that way last year .</p>
<p>The cold came and so did the headache. Saturday came and passed by. But on Sunday evening when I opened the box with the hard disk and saw the manufacturer label I directly understood the problem. It was a Seagate drive. I remembered that a few weeks ago I read about a firmware bug on Seagate drives in the IT news <a title="Heise: Ausfaelle bei Seagate Festplatten durch Firmware Probleme" href="http://www.heise.de/newsticker/Ausfaelle-bei-Seagate-Festplatten-durch-Firmware-Probleme-Update--/meldung/121822" target="_blank">here</a> and <a title="Heise: Seagate beginnt mit der Bereitstellung neuer Firmware Updates" href="http://www.heise.de/resale/Seagate-beginnt-mit-der-Bereitstellung-neuer-Firmware-Updates--/news/meldung/122159" target="_blank">here</a>.</p>
<p>This firmware bug can turn the drive unusable. When I connected this drive to my computer in an external HDD case it was not detected. Connecting the drive with a SATA cable directly with the mainboard even prevented the bios from completing its hardware probes. Meanwhile I found a firmware upgrade boot CD on the <a title="Seagate Support Website" href="http://seagate.custkb.com/seagate/crm/selfservice/search.jsp?DocId=207951" target="_blank">Seagate support</a> website but either I could boot from CD without connecting the defective drive or the drive was connected and my machine wasn&#8217;t able to boot anything.</p>
<p>After some googling I found out what happened to the drive. It ran into the firmware bug, it detected the malfunction on is own and deactivated itself in order to not loose any data. The bad thing about that was, that for a firmware update the drive had to start which was prevented due to the self protection of deactivating itself. Nice deadlock. Ok, the data was still there and could be recovered by data recovery companies like <a title="Ontrack" href="http://www.ontrack.de" target="_blank">Ontrack</a>. As the regular service would have taken too long and the 24-hour service was too expensive there was only one way left. <strong>Hack the drive yourself!</strong></p>
<p>When I was searching for more information on the topic I found two posts about a team that successfully hacked the firmware and reactivated multiple drives after they ran into this bug. Find them <a title="Tutorial HDDguru" href="http://forum.hddguru.com/tutorial-resolve-lba-seagate-7200-bios-don-recognize-t11040.html" target="_blank">here</a> and <a title="MFSN Board" href="http://www.msfn.org/board/index.php?s=f3026a11082e66c9589de13ace038484&amp;showtopic=128807" target="_blank">here</a>. In the next post I will describe how we did it (my friend came by on Monday and helped me).</p>
]]></content:encoded>
			<wfw:commentRss>http://jdsn.de/2009/02/a-disk-on-the-shelf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Repair MP3 files</title>
		<link>http://jdsn.de/2009/02/repair-mp3-files/</link>
		<comments>http://jdsn.de/2009/02/repair-mp3-files/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 06:48:18 +0000</pubDate>
		<dc:creator>jdsn</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Profil]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[mp3splt]]></category>
		<category><![CDATA[repair]]></category>

		<guid isPermaLink="false">http://jdsn.de/?p=101</guid>
		<description><![CDATA[And here comes the next post about a nice tool I found last night: mp3splt (yes, without &#8220;i&#8221;). It seems like my blog turns into a collection of tips about nice tools.
Anyway, the sound engineer of our choir sent me his USB stick via snail mail. He recorded our last gig with a hardware MP3 [...]]]></description>
			<content:encoded><![CDATA[<p>And here comes the next post about a nice tool I found last night: mp3splt (yes, without &#8220;i&#8221;). It seems like my blog turns into a collection of tips about nice tools.</p>
<p>Anyway, the sound engineer of our <a title="EC Chor Profil" href="http://ec-profil.de" target="_blank">choir</a> sent me his USB stick via snail mail. He recorded our last gig with a hardware MP3 encoder which dumped some garbage into the MP3 file and even corrupted the filesystem. He could not copy or play it with his M$ system. So I was interested if it can be repaired.</p>
<p>It turned out to be very easy to fix. The filesystem was just done with a <em>fsck.msdos -a</em>. But for the MP3 file I needed a tool and found mp3splt. I decided to enforce to write new id3 tags and to cut the first 5 seconds and the quite a few minutes at the end of the recording (they were empty anyway). Btw. cutting MP3 files into pieces without to recode the material is the main purpose of this tool. So I just ran:</p>
<pre>mp3splt -1 broken.mp3 00.05 118.00</pre>
<p>This created a new and valid MP3 file with just our gig &#8211; thanks to the <a title="Sourceforge: mp3splt" href="http://mp3splt.sourceforge.net" target="_blank">mp3splt</a> authors.</p>
]]></content:encoded>
			<wfw:commentRss>http://jdsn.de/2009/02/repair-mp3-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download YouTube Videos</title>
		<link>http://jdsn.de/2009/02/download-youtube-videos/</link>
		<comments>http://jdsn.de/2009/02/download-youtube-videos/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 02:19:04 +0000</pubDate>
		<dc:creator>jdsn</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[bookmark]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://jdsn.de/?p=92</guid>
		<description><![CDATA[Its been a while that I wrote my last post &#8230; seems to have been a busy time.
End of November 2008 I needed to download in entire Picasa Webalbum, so I looked for a nice solution for this. Today a colleague posted me a trick in IRC to easily download YouTube Videos. And right about [...]]]></description>
			<content:encoded><![CDATA[<p>Its been a while that I wrote my last post &#8230; seems to have been a busy time.</p>
<p>End of November 2008 I needed to download in entire Picasa Webalbum, so I looked for a nice solution for this. Today a colleague posted me a trick in IRC to easily download YouTube Videos. And right about this evening I needed this trick &#8211; need to have 2 short clips offline available.</p>
<p>Now I just want to share this feature. Its quite easy and should work with every browser that supports bookmaks.</p>
<p>The only thing you need to do is to bookmark this link:</p>
<p style="padding-left: 30px;"><a href="javascript:if(document.location.href.match(/http:\/\/[a-zA-Z\.]*youtube\.com\/watch/)){document.location.href='http://www.youtube.com/get_video?fmt='+(isHDAvailable?'22':'18')+'&amp;video_id='+swfArgs['video_id']+'&amp;t='+swfArgs['t']}">javascript:if(document.location.href.match(/http:\/\/[a-zA-Z\.]*youtube\.com\/watch/)){document.location.href=&#8217;http://www.youtube.com/get_video?fmt=&#8217;+(isHDAvailable?&#8217;22&#8242;:&#8217;18&#8242;)+&#8217;&amp;video_id=&#8217;+swfArgs['video_id']+&#8217;&amp;t=&#8217;+swfArgs['t']}</a></p>
<p>Just add this link to your bookmark list (right-click &gt; <em>bookmark this link</em>) and give it a nice name. When you are surfing on youtube and want to download the current video, just click this bookmark link and the video will be downloaded in the best quality &#8211; yes, it&#8217;s that easy.</p>
<p>I got this trick from a colleague but I also found an online source <a title="youtube hd mp4 download" href="http://alien.slackbook.org/blog/youtube-hd-mp4-download/" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jdsn.de/2009/02/download-youtube-videos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download Picasa Webalbum</title>
		<link>http://jdsn.de/2008/11/download-picasa-webalbum/</link>
		<comments>http://jdsn.de/2008/11/download-picasa-webalbum/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 02:36:01 +0000</pubDate>
		<dc:creator>jdsn</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[album]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[picasa]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://jdsn.de/?p=75</guid>
		<description><![CDATA[Did you ever got an invitation eMail from a friend or a colleague to his Picasa Webalbum?
Well actually I do not use these online photo albums (yet). The nice thing about them is, you can show a huge pile of photos to someone without having to send him tens of eMails with 4 or 5 [...]]]></description>
			<content:encoded><![CDATA[<p>Did you ever got an invitation eMail from a friend or a colleague to his Picasa Webalbum?</p>
<p>Well actually I do not use these <a title="Picasa" href="http://picasaweb.google.com/" target="_blank">online</a> <a title="Flickr" href="http://flickr.com/" target="_blank">photo</a> albums (yet). The nice thing about them is, you can show a huge pile of photos to someone without having to send him tens of eMails with 4 or 5 photos attached to each &#8211; depending on resolution, file format and the allowed size of attachments of the receivers mail server.</p>
<p>On Saturday, 2008-11-15, I had a concert with my gospel choir <a title="EC Chor Profil" href="http://ec-profil.de" target="_blank">Profil</a> and a professional photographer took photos of us. Liberally he offered to send me the images to put them into the <a title="EC Chor Profil - Gallery" href="http://ec-profil.de/wp-gallery2.php" target="_blank">gallery</a> of our website. As I am a geek of course I asked for the images in their original resolution (maybe we want to use them in some print material).</p>
<p>Today I finally got an eMail from him, and guess what: He uploaded all the 240 images to his Picasa Webalbum. Its nice to see the slideshow online in the browser or to get a an overview in the thumbnail view. But I wanted to download the real data on my disk to work with it. On the website I did not find any link to download that stuff. I could click around to get the image in original resolution, but only one at a time and it took about 5 clicks to get the real download link.</p>
<p>Google itself told me to install Picasa on my system. <a title="Picasa and Downthemall" href="http://googlesystem.blogspot.com/2007/12/download-picasa-web-albums-without.html" target="_blank">Another blog</a> described a way how to download the images with the Firefox plugin <a title="Downthemall" href="http://www.downthemall.net/" target="_blank">Downthemall</a>. I also found a Java applet and a Mono application that could have done the job.  But I didn&#8217;t want to install some big blob just to download some images from the net &#8211; this is insane.</p>
<p>Then, thankfully, I found <a title="Bash script to download Picasa Web Albums" href="http://blue-gnu.biz/content/new_bash_script_download_entire_picasaweb_albums" target="_blank">this page</a>. It provides a simple Bash script that can download Picasa Webalbums just by passing it the URL. It even knows about nested albums and you can specify exactly what you want to download. The script is licensed under <em>GPL3 or later</em> so I&#8217;ll host it <a title="picasa-webdownload" href="/download/tools/picasaweb-download" target="_blank">here</a> as well (to never lose it). Just put it in your <em>~/bin</em> folder or even in <em>/usr/local/bin</em></p>
<p>Now assume you got a link to the Picasa album <em>GNULinux</em> of the user <em>abhishek.amberkar</em>. The link you got looks like this: <em>http://picasaweb.google.com/abhishek.amberkar/GNULinux</em></p>
<p>All you have to do to download this album is this:</p>
<pre>
mkdir newPictures
cd newPictures
picasaweb-download http://picasaweb.google.com/abhishek.amberkar/GNULinux
</pre>
<p>See the linked site and the scripts help for the usage. It supports listings of albums and images and once you downloaded something you do not need to specify the full URL any more but can download the next album just by name. Veeeery cool. Thanks &#8220;Loïc Cerf&#8221; for this great script. Now its a matter of a few seconds to download enire albums.</p>
]]></content:encoded>
			<wfw:commentRss>http://jdsn.de/2008/11/download-picasa-webalbum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The day after the InternetX-DDoS</title>
		<link>http://jdsn.de/2008/11/the-day-after-the-internetx-ddos/</link>
		<comments>http://jdsn.de/2008/11/the-day-after-the-internetx-ddos/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 01:10:24 +0000</pubDate>
		<dc:creator>jdsn</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[ddos]]></category>
		<category><![CDATA[heise]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[internetX]]></category>
		<category><![CDATA[mailgraph]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://jdsn.de/?p=71</guid>
		<description><![CDATA[It seems to be an intersting time for the spam-gangs these weeks. On Tuesday, 2008-11-11, the webhoster McColo was disconnected from the internet because he hosted master server of spam bot nets. As a result of this spam rates worldwide dropped to about 50%. Then last week on Friday, 2008-11-21, the german hoster InternetX was [...]]]></description>
			<content:encoded><![CDATA[<p>It seems to be an intersting time for the spam-gangs these weeks. On Tuesday, 2008-11-11, the webhoster McColo was <a title="Unplugged" href="/2008/11/unplugged/" target="_self">disconnected</a> from the internet because he hosted master server of spam bot nets. As a result of this spam rates worldwide dropped to about 50%. Then last week on Friday, 2008-11-21, the german hoster <a title="InternetX" href="http://internetx.de" target="_blank">InternetX</a> was <a title="Heise: DDoS Attacke auf InternetX" href="http://www.heise.de/newsticker/DDoS-Attacke-auf-InternetX-Update--/meldung/119274" target="_blank">attacked</a> by a <a title="Golem: DDoS-Angriff auf DNS-Provider" href="http://www.golem.de/showhigh2.php?file=/0811/63704.html">DDoS</a> against their DNS servers. And this time spam rates dropped again remarkably. I doubt that this had a worldwide effect, but at least my monthly mailgraph looks amazing now.</p>
<div id="attachment_70" class="wp-caption aligncenter" style="width: 310px"><a href="http://jdsn.de/wp-content/uploads/mailgraph_afterinternetxddos.png"><img class="size-medium wp-image-70" title="mailgraph_afterinternetxddos" src="http://jdsn.de/wp-content/uploads/mailgraph_afterinternetxddos-300x103.png" alt="Hardly any spam during InternetX-DDoS" width="300" height="103" /></a><p class="wp-caption-text">Hardly any spam during InternetX-DDoS</p></div>
<p>I don&#8217;t think I have to comment on the graph. It&#8217;s quite easy to see what happened. But unfortunately the spam starts to rise again since the DDoS stopped the weekend.</p>
<p>Just one question remains: Why exactly was there so few spam during this DDoS?</p>
<ul>
<li>Were the remaining bot nets busy with flooding InternetX and had no bandwith to send advertising?</li>
<li>Does InternetX provide service in any way for the spammers, and therefore the DDoS blocked them as well?</li>
<li>Do big parts of the spam delivery rely on DNS servers of InternetX and was therefore blocked as well?</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jdsn.de/2008/11/the-day-after-the-internetx-ddos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unplugged</title>
		<link>http://jdsn.de/2008/11/unplugged/</link>
		<comments>http://jdsn.de/2008/11/unplugged/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 02:02:38 +0000</pubDate>
		<dc:creator>jdsn</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[heise]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[mailgraph]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://jdsn.de/?p=51</guid>
		<description><![CDATA[On Tuesday night the amount of spam delivered to my server dropped to about the half of the former average. My mailserver was still doing well as there were still eMails coming in. But some hours after my discovery I found the explaination in an article of the famous german online and print IT publisher [...]]]></description>
			<content:encoded><![CDATA[<p>On Tuesday night the amount of spam delivered to my server dropped to about the half of the former average. My mailserver was still doing well as there were still eMails coming in. But some hours after my discovery I found the explaination in an article of the famous german online and print IT publisher <a title="Heise: US-Provider ziehen Spam-Schleuder den Stecker Meldung vorlesen und MP3-Download" href="http://www.heise.de/newsticker/US-Provider-ziehen-Spam-Schleuder-den-Stecker--/meldung/118804" target="_blank">heise</a>.</p>
<p>The two main ISPs of the American hoster McColo pulled the plug of his internet connection. Based in California McColo supposably gave refuge for master servers of several spam bot nets. The <a title="Host of Internet Spam Groups Is Cut Off" href="http://www.washingtonpost.com/wp-dyn/content/story/2008/11/12/ST2008111200662.html" target="_blank">Washington Post</a> covered this story as well. According to IronPort, spam levels fell by 66% in this night.</p>
<p>It&#8217;s a pity for all reputable customers of McColo&#8217;s &#8211; sorry, but I welcome this action. I hope you&#8217;ll quickly find a new hoster.</p>
<p>Some months ago I set up <a title="mailgraph" href="http://mailgraph.schweikert.ch/" target="_blank">mailgraph</a> on my server. Mailgraph is nice mail log analyser and visualiser. It watches <a title="Postfix" href="http://www.postfix.org/" target="_blank">Postfix </a>or <a title="Sendmail" href="http://www.sendmail.org/" target="_blank">Sendmail</a> log files and creates daily, weekly, monthly and yearly graphs. I regularly check these graphs. So I discovered the unusual low mail reject rates Tuesday night already. And even days later the spam levels stay at that level. Here is my weekly graph two days after McColo went offline:</p>
<div id="attachment_52" class="wp-caption aligncenter" style="width: 310px"><a href="http://jdsn.de/wp-content/uploads/mailgraph_aftermccolooffline.png"><img class="size-medium wp-image-52" title="mailgraph_aftermccolooffline" src="http://jdsn.de/wp-content/uploads/mailgraph_aftermccolooffline-300x103.png" alt="Mailgraph two days after McColo's internet connection was cut" width="300" height="103" /></a><p class="wp-caption-text">Mailgraph two days later</p></div>
<p>But I wanted to have my own numbers. So I quickly did some calculations and compared the first McColo-offline-day (Wednesday) numbers with the former average:</p>
<ul>
<li>overall connections to my mailserver dropped to 48%</li>
<li>overall rejects as well are at 48%</li>
<li>rejects because of invalid helo hostname even are at 44%</li>
<li>mail rejects from known spam sources are down to 38%</li>
<li>rejects because of invalid recipient fell to 50%</li>
</ul>
<p>Now it even got more interesting monitoring the statistics to find out when the spam rates start to rise again. Somehow I doubt that the bot net creators will fail to even get parts of their system back under control.</p>
]]></content:encoded>
			<wfw:commentRss>http://jdsn.de/2008/11/unplugged/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
