<?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>Gabe's Soup</title>
	<atom:link href="http://gabe.squirrelsoup.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://gabe.squirrelsoup.net</link>
	<description>Projects and Musings from Gabe's World</description>
	<lastBuildDate>Thu, 20 Aug 2009 11:10:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Reducing AVR program size with AVR-GCC</title>
		<link>http://gabe.squirrelsoup.net/2009/07/15/reducing-avr-program-size-with-avr-gcc/</link>
		<comments>http://gabe.squirrelsoup.net/2009/07/15/reducing-avr-program-size-with-avr-gcc/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 13:47:11 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://gabe.squirrelsoup.net/2009/07/15/reducing-avr-program-size-with-avr-gcc/</guid>
		<description><![CDATA[I was hacking on my AtTiny13 this afternoon, having some trouble getting my .hex file small enough to flash.  I looked around to find some details about reducing the final binary size so I could get my .hex down a couple lines, and finally figured out the following (which reduced my .hex by about [...]]]></description>
			<content:encoded><![CDATA[<p>I was hacking on my AtTiny13 this afternoon, having some trouble getting my .hex file small enough to flash.  I looked around to find some details about reducing the final binary size so I could get my .hex down a couple lines, and finally figured out the following (which reduced my .hex by about 0.6k, or 16 lines).</p>
<p>When you link together the .o files that you compiled the first time around,  a bunch of trash comes along.  Especially for me I was using a software OWI (One Wire Interface) lib for only 1 or 2 of its functions, but all the other crap comes along for the ride.  I needed to tell avr-gcc to not include those instructions since they were never actually getting called.</p>
<p>The magic happens with the &#8216;<strong>-Wl,&#8211;relax,&#8211;gc-sections</strong>&#8216; options added to avr-gcc when it is linking (stick it in your Makefile at the EDLFLAGS line perhaps).</p>
<p>Add in &#8216;<strong>-ffunction-sections -fdata-sections</strong>&#8216; to avr-gcc when it is compiling the object files (CPPFLAGS line), and you will probably (hopefully?) see a reduction in code size if you have some unused functions.</p>
<p>I&#8217;m no GCC expert, but it looks like the <strong>-fdata-sections</strong> and <strong>-ffunction-sections</strong> will cut up the data and functions into seperate sections.  By using the linker options above you are telling the linker to only link sections that are referenced, and you ignore the rest.  A quick search for these options will give you much more detail as to what actually happens if you are interested.</p>
]]></content:encoded>
			<wfw:commentRss>http://gabe.squirrelsoup.net/2009/07/15/reducing-avr-program-size-with-avr-gcc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NFS with VFAT</title>
		<link>http://gabe.squirrelsoup.net/2009/07/10/nfs-with-vfat/</link>
		<comments>http://gabe.squirrelsoup.net/2009/07/10/nfs-with-vfat/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 14:42:28 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://gabe.squirrelsoup.net/2009/07/10/nfs-with-vfat/</guid>
		<description><![CDATA[So I was having a bunch of problems with an NFSv4 (or v3 for that matter) export on my NSLU2.  It was giving me a lot of &#8217;stale file handle&#8217; errors, and sometimes downright telling me that files had disappeared.
It would seem that this was all stemming from the use of a VFAT FS [...]]]></description>
			<content:encoded><![CDATA[<p>So I was having a bunch of problems with an NFSv4 (or v3 for that matter) export on my NSLU2.  It was giving me a lot of &#8217;stale file handle&#8217; errors, and sometimes downright telling me that files had disappeared.</p>
<p>It would seem that this was all stemming from the use of a VFAT FS on my exported drive.  It&#8217;s a USB HD that I also sometimes use on WinXP for photo stuff, so I stuck with vfat (back when I chose this NTFS read/write wasn&#8217;t *yet* clear).  The NFS FAQ has <a href="http://nfs.sourceforge.net/nfs-howto/ar01s03.html">this</a> to say about NFS on FAT shares:</p>
<blockquote><p><em>Second, it is a poor idea to export a FAT or VFAT (i.e., MS-DOS or Windows 95/98) filesystem with NFS. FAT is not designed for use on a multi-user machine, and as a result, operations that depend on permissions will not work well.  Moreover, some of the underlying filesystem design is reported to work poorly with NFS&#8217;s expectations. </em></p></blockquote>
<p>After some more googling it would seem that the lack of enough metadata capability in FAT file systems does not make NFS happy.</p>
<p>Incidentally it&#8217;s not clear to me whether you can export NTFS read/write over NFS yet since the most recent drivers  seem to still be on FUSE.</p>
<p>NTFS-3g has the following to say about that:</p>
<blockquote><p><em>Can I export NTFS via NFS?</em></p>
<p><em> Yes. There are two solutions depending on the Linux kernel version:</em></p>
<p><em> 1. Obsolete: Use the FUSE kernel module from the FUSE 2.7.4 software package and please read the FUSE README.NFS file.</em></p>
<p><em> 2. Preferred: Use the FUSE kernel module included in the Linux 2.6.27 and later kernels.</em></p></blockquote>
<p><a href="http://www.ntfs-3g.org/support.html#nfs">On their FAQ</a></p>
<p>So I finally settled with simply using Samba to export the VFAT partition, and that seems to work without issue, and actually has decent throughput (watching some really high bitrate episodes over the network works fine, even from a 266MHz ARM server).</p>
]]></content:encoded>
			<wfw:commentRss>http://gabe.squirrelsoup.net/2009/07/10/nfs-with-vfat/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Trying out gnome-blog.</title>
		<link>http://gabe.squirrelsoup.net/2009/07/07/trying-out-gnome-blog/</link>
		<comments>http://gabe.squirrelsoup.net/2009/07/07/trying-out-gnome-blog/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 05:54:25 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Musings]]></category>

		<guid isPermaLink="false">http://gabe.squirrelsoup.net/2009/07/07/trying-out-gnome-blog/</guid>
		<description><![CDATA[This is a post from gnome-blog.  I really liked gnome-do&#8217;s twitter integration, and I&#8217;m hoping that gnome-blog will encourage to make more more posts to this blog.  I&#8217;m deffinitely aiming at a more twitter-esque posting scheme (albeit with actual technical info snippets, and not random mind diarrhea).
]]></description>
			<content:encoded><![CDATA[<p>This is a post from gnome-blog.  I really liked gnome-do&#8217;s twitter integration, and I&#8217;m hoping that gnome-blog will encourage to make more more posts to this blog.  I&#8217;m deffinitely aiming at a more twitter-esque posting scheme (albeit with actual technical info snippets, and not random mind diarrhea).</p>
]]></content:encoded>
			<wfw:commentRss>http://gabe.squirrelsoup.net/2009/07/07/trying-out-gnome-blog/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Scan for ssh servers on subnet with NMAP.</title>
		<link>http://gabe.squirrelsoup.net/2009/07/07/scan-for-ssh-servers-on-subnet/</link>
		<comments>http://gabe.squirrelsoup.net/2009/07/07/scan-for-ssh-servers-on-subnet/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 05:22:18 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://gabe.squirrelsoup.net/?p=61</guid>
		<description><![CDATA[Look for servers running with a certain port open (ssh for example) on a range of IP addresses:
nmap -p 22 &#8211;open 192.168.0.1-255
]]></description>
			<content:encoded><![CDATA[<p>Look for servers running with a certain port open (ssh for example) on a range of IP addresses:</p>
<p>nmap -p 22 &#8211;open 192.168.0.1-255</p>
]]></content:encoded>
			<wfw:commentRss>http://gabe.squirrelsoup.net/2009/07/07/scan-for-ssh-servers-on-subnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>chrooting with udev</title>
		<link>http://gabe.squirrelsoup.net/2009/07/06/chrooting-with-udev/</link>
		<comments>http://gabe.squirrelsoup.net/2009/07/06/chrooting-with-udev/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 04:34:24 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[chroot]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[udev]]></category>

		<guid isPermaLink="false">http://gabe.squirrelsoup.net/?p=59</guid>
		<description><![CDATA[If you&#8217;re having issues about commands failing with &#8220;function not implemented&#8221; when you&#8217;re in a chroot, make sure you&#8217;ve:
mounted dev:
mount -o bind /dev /mnt/chroot/dev

mounted proc:

mount proc -t proc /mnt/chroot/proc

That should be enough to get stuff working with (as root):

chroot /mnt/chroot/ /bin/bash

]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re having issues about commands failing with &#8220;function not implemented&#8221; when you&#8217;re in a chroot, make sure you&#8217;ve:</p>
<p>mounted dev:</p>
<pre>mount -o bind /dev /mnt/chroot/dev
</pre>
<p>mounted proc:</p>
<pre>
mount proc -t proc /mnt/chroot/proc
</pre>
<p>That should be enough to get stuff working with (as root):</p>
<pre>
chroot /mnt/chroot/ /bin/bash
</pre>
]]></content:encoded>
			<wfw:commentRss>http://gabe.squirrelsoup.net/2009/07/06/chrooting-with-udev/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Back to life?</title>
		<link>http://gabe.squirrelsoup.net/2009/07/06/back-to-life/</link>
		<comments>http://gabe.squirrelsoup.net/2009/07/06/back-to-life/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 04:30:46 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Musings]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[relive]]></category>

		<guid isPermaLink="false">http://gabe.squirrelsoup.net/?p=57</guid>
		<description><![CDATA[I&#8217;ve kind of neglected this blog for a while, but I think I should at least use it for my personal note-taking and log-keeping on experiments, so it may just have more technical mumbo-jumbo than most people like, but you can filter that out by only nooking at non-technical categories in the post.
I&#8217;m also moving [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve kind of neglected this blog for a while, but I think I should at least use it for my personal note-taking and log-keeping on experiments, so it may just have more technical mumbo-jumbo than most people like, but you can filter that out by only nooking at non-technical categories in the post.</p>
<p>I&#8217;m also moving to India in about 2 weeks (end of July 2009) in case someone reads this and is wondering where I&#8217;m at.</p>
]]></content:encoded>
			<wfw:commentRss>http://gabe.squirrelsoup.net/2009/07/06/back-to-life/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vends Voiture</title>
		<link>http://gabe.squirrelsoup.net/2008/11/12/vends-voiture/</link>
		<comments>http://gabe.squirrelsoup.net/2008/11/12/vends-voiture/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 13:22:13 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Musings]]></category>

		<guid isPermaLink="false">http://gabe.squirrelsoup.net/2008/11/12/vends-voiture/</guid>
		<description><![CDATA[



Vends Voiture

Originally uploaded by tehf0x


&#8230;it could sell&#8230;

]]></description>
			<content:encoded><![CDATA[<div style="float: left; margin-right: 10px; margin-bottom: 10px;">
<a href="http://www.flickr.com/photos/tehf0x/3024206797/" title="photo sharing"><img src="http://farm4.static.flickr.com/3279/3024206797_277d5409dc_m.jpg" alt="" style="border: solid 2px #000000;" /></a><br />
<br />
<span style="font-size: 0.9em; margin-top: 0px;"><br />
<a href="http://www.flickr.com/photos/tehf0x/3024206797/">Vends Voiture</a><br />
<br />
Originally uploaded by <a href="http://www.flickr.com/people/tehf0x/">tehf0x</a><br />
</span>
</div>
<p>&#8230;it could sell&#8230;<br />
<br clear="all" /></p>
]]></content:encoded>
			<wfw:commentRss>http://gabe.squirrelsoup.net/2008/11/12/vends-voiture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prop. 8</title>
		<link>http://gabe.squirrelsoup.net/2008/10/27/prop-8/</link>
		<comments>http://gabe.squirrelsoup.net/2008/10/27/prop-8/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 22:19:58 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Musings]]></category>

		<guid isPermaLink="false">http://gabe.squirrelsoup.net/?p=53</guid>
		<description><![CDATA[I don&#8217;t get it.  If people were campaigning to abbolish interracial marriages, they would be labeled as racist bigots.  If they campaign to abbolish same-sex marriage it&#8217;s excused as defending our societal morals?!
&#8220;Intermarriage between whites and blacks is repulsive and averse to every sentiment of pure American spirit. It is abhorrent and repugnant to the [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t get it.  If people were campaigning to abbolish interracial marriages, they would be labeled as racist bigots.  If they campaign to abbolish same-sex marriage it&#8217;s excused as defending our societal morals?!</p>
<p>&#8220;Intermarriage between whites and blacks is repulsive and averse to every sentiment of pure American spirit. It is abhorrent and repugnant to the very principles of Saxon government. It is subversive of social peace.&#8221;</p>
<p><em>Congressional Record</em>, 62d. Congr., 3d. Sess., December 11, 1912, pp. 502-503.</p>
<p>This sounds like so many of the arguments I&#8217;ve heard against gay marriage that I can&#8217;t even cite them anymore.  Does the analogy simply never cross these people&#8217;s minds?  If we were talking about banning interracial marriage I&#8217;m sure there would be a shitload less support, but blatant segregation based on sexual orientation? That&#8217;s OK.</p>
<p>Maybe they&#8217;re just that dull.</p>
<p>As an aside the &#8216;pedia has a good <a title="WikiPedia Same-Sex Marriage Parallels to Interracial Marriage" href="http://en.wikipedia.org/wiki/Same-sex_marriage#Parallels_to_interracial_marriage">section</a> on the parallels with interracial marriage, and the section right afterward has some shameful situations where even a legal (Massachusetts) marriage wasn&#8217;t equivalent to a &#8216;hetero&#8217; marriage (thanks DOMA).</p>
<p>And finally, <a href="http://hnn.us/articles/4708.html">this</a> piece draws out more literal comparisons between the arguments in each case (a very &#8216;history reapeats itself&#8217; analysis).</p>
]]></content:encoded>
			<wfw:commentRss>http://gabe.squirrelsoup.net/2008/10/27/prop-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ZOMG RETARD!</title>
		<link>http://gabe.squirrelsoup.net/2008/09/26/zomg-retard/</link>
		<comments>http://gabe.squirrelsoup.net/2008/09/26/zomg-retard/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 08:16:46 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Musings]]></category>

		<guid isPermaLink="false">http://gabe.squirrelsoup.net/?p=50</guid>
		<description><![CDATA[I don&#8217;t think I even need to say anything.

Check palin.  This is even better than South Carolina Girl.

Not a one time thing, either:


]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t think I even need to say anything.<br />
<br />
Check <a href="http://www.boingboing.net/2008/09/25/failin-palin.html">palin</a>.  This is even better than South Carolina Girl.<br />
<br />
Not a one time thing, either:<br />
<br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Vbg6hF0nShQ&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/Vbg6hF0nShQ&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://gabe.squirrelsoup.net/2008/09/26/zomg-retard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>facetaggr on flickr</title>
		<link>http://gabe.squirrelsoup.net/2008/09/16/facetaggr-on-flickr/</link>
		<comments>http://gabe.squirrelsoup.net/2008/09/16/facetaggr-on-flickr/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 20:50:13 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://gabe.squirrelsoup.net/?p=47</guid>
		<description><![CDATA[Yahoo Open Hack Day &#8216;08 took place this weekend, and although employees &#38; interns aren&#8217;t supposed to produce a hack, I did it anyways (take that!).  It&#8217;s nothing big, I wrote a greasemonkey script that will add a list of your contacts on a flickr photo page.  When you click on the person&#8217;s name, a [...]]]></description>
			<content:encoded><![CDATA[<p>Yahoo Open Hack Day &#8216;08 took place this weekend, and although employees &amp; interns aren&#8217;t supposed to produce a hack, I did it anyways (take that!).  It&#8217;s nothing big, I wrote a greasemonkey script that will add a list of your contacts on a flickr photo page.  When you click on the person&#8217;s name, a machine tag of their flickr username will be added to the photo.  I call it facetaggr</p>
<p>You need <a title="Grease Monkey" href="https://addons.mozilla.org/en-US/firefox/addon/748">greasemonkey</a>, and <a href="http://gabe.squirrelsoup.net/js/facetaggr.user.js">this</a> script file.</p>
<p>If you have any questions, feel free to contact me.  I&#8217;m thinking of adding a script so you can see all pictures of a certain user by clicking on a link on your contacts page.</p>
]]></content:encoded>
			<wfw:commentRss>http://gabe.squirrelsoup.net/2008/09/16/facetaggr-on-flickr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
