<?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>Revenge of the Giant Blogweed</title>
	<atom:link href="http://www.nathanmccrina.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.nathanmccrina.com/blog</link>
	<description>Nothing can stop them, around every river and canal their power is growing</description>
	<lastBuildDate>Thu, 24 Mar 2011 21:16:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Adobe Flash: A Rant</title>
		<link>http://www.nathanmccrina.com/blog/?p=35</link>
		<comments>http://www.nathanmccrina.com/blog/?p=35#comments</comments>
		<pubDate>Thu, 24 Mar 2011 21:02:21 +0000</pubDate>
		<dc:creator>nfm</dc:creator>
				<category><![CDATA[rant]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.nathanmccrina.com/blog/?p=35</guid>
		<description><![CDATA[I am really excited about the upcoming release of Sucker Punch. It looks like a visual treat (and no, I&#8217;m not just talking about the ensemble of gorgeous machine gun- and sword-wielding babes ), so I went to the movie website on the assumption that some awesome desktop backgrounds were to be had. Turns out [...]]]></description>
			<content:encoded><![CDATA[<p>I am really excited about the upcoming release of <a href="http://www.imdb.com/title/tt0978764/">Sucker Punch</a>. It looks like a visual treat (and no, I&#8217;m not <em>just</em> talking about the ensemble of gorgeous machine gun- and sword-wielding babes <img src='http://www.nathanmccrina.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  ), so I went to the movie website on the assumption that some awesome desktop backgrounds were to be had. Turns out the entire site is a large Adobe Flash application, which of course requires the browser to have the ubiquitous piece of borderline malware that is the Flash plugin. The only thing you see without it is a synopsis of the movie and a helpful message saying that to fully use the site you need Adobe Flash Player, with absolutely no non-Flash version of the site in evidence. Fail. Now, what I was looking for may not even be there <em>with</em> Flash, but there is absolutely no way of telling. Basically what I get is &#8220;<em>Not browsing the web the way we feel like you should? Well, fuck you!</em>&#8220;.<br />
To be clear, I understand that Flash is probably the best way of making video available online, and many games also rely on it. That said, it seems like it would logically follow that if I don&#8217;t watch videos or play games, I shouldn&#8217;t need to have the plugin. Yet apparently the people making the entertainment websites (those are the biggest culprits, I think) feel that people aren&#8217;t going be able to digest the content unless it&#8217;s flying around the screen looking hip and artsy. Or they simply don&#8217;t have content that people give a damn about, and have to disguise that by making things fly around the screen looking hip and artsy. Thus content that has nothing to do with playing videos or games is using flash to present itself. Not cool! Call me a dinosaur, but I still think that text is the best way to communicate stuff over the web. It&#8217;s universal; you don&#8217;t need BuggyGlitzPlayer 12.0 to read text.<br />
What I&#8217;d like to find on the Sucker Punch website is a perfectly browseable HTML interface where I can easily find the information I&#8217;m looking for about the movie. I understand that a trailer would be an obvious thing to put on the website, but what&#8217;s wrong with a big flashy (no pun intended) link that says &#8220;Watch the awesome trailer!&#8221; for the people who are so inclined, while leaving everything else accessible to the dinosaurs like me?<br />
So here&#8217;s my challenge to web developers everywhere: use Flash for games and video and leave everything else as markup, thank you. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathanmccrina.com/blog/?feed=rss2&#038;p=35</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Song &#8211; &#8220;Mind the Gap&#8221;</title>
		<link>http://www.nathanmccrina.com/blog/?p=29</link>
		<comments>http://www.nathanmccrina.com/blog/?p=29#comments</comments>
		<pubDate>Fri, 25 Feb 2011 19:18:44 +0000</pubDate>
		<dc:creator>nfm</dc:creator>
				<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://www.nathanmccrina.com/blog/?p=29</guid>
		<description><![CDATA[I wrote a new song over the last day or so. Someone had requested a copy of a song I had done a while back, but I had deleted it. Gone. So, feeling guilty, I wrote this one to replace it! I keep discovering features of FL Studio that I hadn&#8217;t a) known how to [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote a new song over the last day or so. Someone had requested a copy of a song I had done a while back, but I had deleted it. Gone. So, feeling guilty, I wrote this one to replace it! I keep discovering features of FL Studio that I hadn&#8217;t a) known how to use or b) known about at all, and this song benefits from some of those newfound abilities. It&#8217;s available to play/download on the <a href="http://www.nathanmccrina.com/music/">music page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathanmccrina.com/blog/?feed=rss2&#038;p=29</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using a 6th Generation iPod Classic on Debian &#8220;Squeeze&#8221;</title>
		<link>http://www.nathanmccrina.com/blog/?p=7</link>
		<comments>http://www.nathanmccrina.com/blog/?p=7#comments</comments>
		<pubDate>Mon, 21 Feb 2011 06:02:11 +0000</pubDate>
		<dc:creator>nfm</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[banshee]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[gtkpod]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ipod]]></category>
		<category><![CDATA[soundconverter]]></category>

		<guid isPermaLink="false">http://www.nathanmccrina.com/blog/?p=7</guid>
		<description><![CDATA[If you have been hesitant about using Linux due to concerns about compatibility with your iPod, there is good news! Using just a couple of programs, managing your music and keeping your iPod synced using the Debian distribution is a snap. Unfortunately, due to licensing concerns with the mp3 and m4a formats Debian doesn&#8217;t support [...]]]></description>
			<content:encoded><![CDATA[<p>If you have been hesitant about using Linux due to concerns about compatibility with your iPod, there is good news! Using just a couple of programs, managing your music and keeping your iPod synced using the Debian distribution is a snap. Unfortunately, due to licensing concerns with the mp3 and m4a formats Debian doesn&#8217;t support some essential functionality out of the box, so getting everything set up isn&#8217;t completely straight-forward; however, that&#8217;s what this post is for! I&#8217;ve tried to write at a level appropriate for someone just switching to Linux from that other OS, if anything is confusing feel free to comment!</p>
<p>Just to try to reduce any potential legal danger, I&#8217;ll start by pointing out that &#8220;iPod&#8221; is a trademark of Apple.</p>
<p><strong>Mounting the iPod</strong></p>
<p>In order for programs to interact with the iPod it needs to be mounted, just like a USB flash drive or external hard drive. I use Openbox instead of a more elaborate desktop environment, so I had to set this up manually. GNOME or KDE may auto detect the iPod when you plug it in, eliminating the need for this step.</p>
<p>First, create a directory which you would like the iPod to be mounted on. I created the directory &#8220;/mnt/ipod&#8221;. Make sure this directory is owned by your user and group, using chown and chgrp if necessary. Then add this line to the end of the /etc/fstab file using your favorite text editor:</p>
<p><code>UUID=D1A7-AB47  /mnt/ipod   auto    rw,noauto,user  0   0</code></p>
<p>I won&#8217;t go into all the details, there is a lot of information on editing fstab floating around. The things that will change for you here are the directory given as the second item on the line, and the UUID. The directory is where you want the iPod to be mounted; use the directory you created earlier. The UUID is the ID of the iPod filesystem, and can be found, after plugging in the iPod, by issuing the command at the terminal</p>
<p><code>ls /dev/disk/by-uuid/</code></p>
<p>That should output a bunch of random looking hexadecimal strings, one for each storage device attached to your computer. The iPod&#8217;s string will be much shorter (or at least that was true in my case), making it simpler to find the correct one. One catch was that this command listed <em>two</em> of these short ID strings for my iPod. Only one will work, so just pick one and continue; if the next step doesn&#8217;t work simply re-edit fstab by inserting the other UUID and it should then be fine.</p>
<p>Now that you have the information in /etc/fstab, you should be able to run the command</p>
<p><code>mount <em>path-to-ipod-directory</em></code></p>
<p>and the iPod will be mounted and ready for use. If that command doesn&#8217;t display any output, the mount was successful and you should be able to go to that directory and look at the iPod file structure. If there was an error, double check that the directory is owned by your user and that the fstab entry is correct. As noted before, if you chose the wrong UUID among the various choices you will need to go back and try a different one.</p>
<p>When finished with the iPod, unmount by using the command</p>
<p><code>umount <em>path-to-ipod-directory</em></code></p>
<p><strong>Installing Necessary Programs</strong></p>
<p>The programs I use are <a href="http://banshee.fm/">Banshee</a> for managing and playing my music library, <a href="http://soundconverter.berlios.de/">Soundconverter</a> for converting audio files between formats, and <a href="http://www.gtkpod.org/">GtkPod</a> for transferring music to and from the iPod. If you already have a preferred audio player and/or conversion utility, obviously you can use them instead of Banshee or Soundconverter. In addition, you&#8217;ll need to install some libraries that enable these programs to handle .mp3 and .m4a files, two formats commonly used with an iPod. Most of these are available through the package manager, but there are two catches. The first is that you have to add an additional repository for apt to look in, the Debian multimedia repository. The second catch we&#8217;ll get to later. </p>
<p>To add the additional repository, edit the file /etc/apt/sources.list and add the following line at the end:</p>
<p><code>deb http://www.debian-multimedia.org squeeze main non-free</code></p>
<p>To keep apt from complaining, you&#8217;ll need to install the public key for this new repository, available <a href="http://www.debian-multimedia.org/pool/main/d/debian-multimedia-keyring/debian-multimedia-keyring_2010.12.26_all.deb">here</a>. Then, in a terminal, navigate to the directory you downloaded that to and run the following command as root:</p>
<p><code>dpkg -i debian-multimedia-keyring_2010.12.26_all.deb</code></p>
<p>Now you&#8217;ll actually be able to start installing stuff!</p>
<p> You&#8217;ll need the following packages:<br />
<code>gstreamer0.10-ffmpeg</code> (I&#8217;m not sure what this provides, but stuff definitely breaks without it)</p>
<p><code>gstreamer0.10-plugins-ugly</code> (Banshee plays both mp3 and m4a without this, but for some reason the track progress bar breaks without it when playing mp3 files so I guess it&#8217;s good to have)</p>
<p><code>gstreamer0.10-lame</code> (Used by Soundconverter to create mp3 files)</p>
<p><code>gstreamer0.10-alsa</code> (Needed by Banshee. I&#8217;m assuming you&#8217;re just using ALSA, if you have Pulseaudio or JACK or some such you may need additional packages. If you don&#8217;t know, just go with what&#8217;s listed here and if it isn&#8217;t working start looking for packages that look something like &#8216;gstreamer-pulseaudio&#8217; or &#8216;gstreamer-jack&#8217; and see what happens)</p>
<p><code>soundconverter</code> (The actual Soundconverter package)</p>
<p><code>banshee</code> (The actual Banshee package)</p>
<p>Now the second catch rears its ugly head. The version of GtkPod in the Debian repositories lacks the capability to handle m4a files, presumably because of patent/licensing issues. mp3 works fine, so if that&#8217;s all you need to use just install the gtkpod package using apt. Otherwise, if you have a large amount of Apple Lossless files lying around like I do, in order to move them to the iPod using GtkPod you&#8217;ll need to grab the GtkPod source code from their website and compile it yourself. Don&#8217;t panic! I&#8217;ll walk you through this. </p>
<p>You will need to install the following additional packages to compile gtkpod:</p>
<p>libgpod-dev<br />
libid3tag0-dev<br />
libglade2-dev<br />
libxml-parser-perl<br />
flex<br />
libmp4v2-dev<br />
intltool</p>
<p>Then, download the source from <a href="http://www.nathanmccrina.com/stored_files/gtkpod-0.99.16.tar.gz">here</a>. It is a tar.gz archive, so you will need to extract it. This can be done using</p>
<p><code>tar xzvf gtkpod-0.99.16.tar.gz</code></p>
<p>at the terminal. After running that command there will be a new directory, gtkpod-0.99.16. Enter this directory and run the commands</p>
<p><code><br />
./configure<br />
make<br />
******** Become root using su or sudo ********<br />
make install<br />
</code></p>
<p>GtkPod is now installed!</p>
<p><strong>Using GtkPod</strong></p>
<p>Using GtkPod to manage your iPod is fairly intuitive. Once you start the program (run the command &#8220;\usr\local\bin\gtkpod&#8221; from the terminal), you need to tell it about your iPod. Select Edit and go to Repository/iPod options. A window will pop up. Select &#8220;Add new Repository/iPod&#8221;. There will be some information to fill in, but the defaults are fine except for the iPod mountpoint, which you should set to the the directory you chose to mount your iPod at in the earlier section. By the way, your iPod should be mounted at this point! You will also need to fill in your iPod model; GtkPod provides a menu for this. Mine is a Classic -> 160 GB -> Silver (xC293), you should put whatever is appropriate. Hit apply. An entry for your iPod should have appeared in the left side of the GUI. Click on the &#8220;Load iPod(s)&#8221; button, and the current contents of the iPod will appear. Now you can add files from your computer to the iPod, or delete songs! When you are done, press the &#8220;Save&#8221; icon, and eject the iPod by right-clicking the entry in the Playlists area and selecting the &#8220;Eject&#8221; option.</p>
<p>Hopefully, you now have everything set up to manage the songs on your iPod from Linux! For further information, check out the websites of the various programs for documentation. Also, you can comment here if anything needs clarifying or the instructions lead to disaster. I will do my best to answer!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nathanmccrina.com/blog/?feed=rss2&#038;p=7</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

