<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>Al Hoang &#187; gripe</title>
	<atom:link href="http://blogs.law.harvard.edu/hoanga/category/gripe/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.law.harvard.edu/hoanga</link>
	<description>Just another weblog</description>
	<lastBuildDate>Wed, 09 Sep 2009 06:52:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
		<item>
		<title>Spamassassin SIGPIPE errors and the zero file mail message mystery</title>
		<link>http://blogs.law.harvard.edu/hoanga/2009/09/09/spamassassin-sigpipe-errors-and-the-zero-file-mail-message-mystery/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2009/09/09/spamassassin-sigpipe-errors-and-the-zero-file-mail-message-mystery/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 06:52:48 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[fixes]]></category>
		<category><![CDATA[gripe]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/?p=756</guid>
		<description><![CDATA[Awhile back I was noticing I was definitely losing emails.  As one can might imagine, this is a scary experience since this brings into doubt if the mail system under use is doing something funny to the mail.
My first place to look was in the mail logs for the SMTP server and other associated [...]]]></description>
			<content:encoded><![CDATA[<p>Awhile back I was noticing I was definitely losing emails.  As one can might imagine, this is a scary experience since this brings into doubt if the mail system under use is doing something funny to the mail.</p>
<p>My first place to look was in the mail logs for the SMTP server and other associated daemons.  However, I saw nothing in the maillogs which was not a very comforting thought.</p>
<p>After more investigation I would notice empty files like this every once in awhile&#8230;</p>
<blockquote>
<pre>
~/Maildir)  ls -la new/
total 4
drwx------   2 al  al   512 Jun  8 00:25 .
drwx------  69 al  al  2048 Jun  8 00:25 ..
-rw-------   1 al  al     0 Jun  8 00:22 1244388142.30600_.myserver.net
</pre>
</blockquote>
<p>This gave me more clues on where to look next.  So next I looked in my Procmail logs for this particular mail id and noticed the process handling this message was killed by SIGPIPE</p>
<blockquote>
<pre>
procmail: Executing "/usr/local/bin/spamassassin"
[84028] warn: spamassassin: killed by SIGPIPE
procmail: [84026] Tue Apr 14 21:45:26 2009
</pre>
</blockquote>
<p>Googling dug up the following links that explain it all:</p>
<p>&nbsp;<a href="http://www.nabble.com/Zero-exit-code-after-SIGPIPE-td21630266.html" title="http://www.nabble.com/Zero-exit-code-after-SIGPIPE-td21630266.html" target="_blank">http://www.nabble.com/Zero-exit-code-aft&#8230;</a><br />
&nbsp;<a href="https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6033" title="https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6033" target="_blank">https://issues.apache.org/SpamAssassin/s&#8230;</a></p>
<p>Verdict:<br />
Upgrade Spamassassin</p>
<p>Since I have upgraded Spamassassin, the zero byte email mystery has resolved itself.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2009/09/09/spamassassin-sigpipe-errors-and-the-zero-file-mail-message-mystery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Using a non-standard port for Capistrano SSH gateways</title>
		<link>http://blogs.law.harvard.edu/hoanga/2009/06/02/using-a-non-standard-port-for-capistrano-ssh-gateways/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2009/06/02/using-a-non-standard-port-for-capistrano-ssh-gateways/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 13:10:13 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[fixes]]></category>
		<category><![CDATA[gripe]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/?p=731</guid>
		<description><![CDATA[I have a love-hate affair with Capistrano.   It is a great tool if you are a Ruby person and need to do something NOW on a bunch of machines.  But the docs are in a constant state of suck from my point of view.
The&#160;Capify.org website helps for remembering the &#8217;simple&#8217; details on [...]]]></description>
			<content:encoded><![CDATA[<p>I have a love-hate affair with Capistrano.   It is a great tool if you are a Ruby person and need to do something NOW on a bunch of machines.  But the docs are in a constant state of suck from my point of view.</p>
<p>The&nbsp;<a href="http://Capify.org" title="http://Capify. " target="_blank">Capify.org</a> website helps for remembering the &#8217;simple&#8217; details on what Capistrano can do.  But where I waste a lot of my time is asking questions like, &#8220;How do I set the Capistano SSH gateway to a non-standard port?&#8221;.   Luckily, Capistrano is written in Ruby so it is easy enough to glance through the code and finally find out where it is but this is why good tech docs exist.  To give enough context to answer those questions.</p>
<p>To answer my own question, below is a snippet you can add to your capfile to use a non-standard port if you need to deploy through a SSH gateway that lives on a non-standard port</p>
<blockquote><p>
# Add this to your Capfile<br />
# This sets the SSH gateway to a machine called&nbsp;<a href="http://mysshgateway.com" title="http://mysshgateway. " target="_blank">mysshgateway.com</a> on port 22222<br />
set :gateway, &#8216;mysshgateway.com:22222&#8242;
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2009/06/02/using-a-non-standard-port-for-capistrano-ssh-gateways/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Glad I&#8217;m not the only one who prefers monit over god</title>
		<link>http://blogs.law.harvard.edu/hoanga/2009/04/25/glad-im-not-the-only-one-who-prefers-monit-over-god/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2009/04/25/glad-im-not-the-only-one-who-prefers-monit-over-god/#comments</comments>
		<pubDate>Unknown, 30 Nov -0001 00:00:00 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[gripe]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/?p=720</guid>
		<description><![CDATA[Seems someone else ran into issues while trying to deploy god.
While, I don&#8217;t think god sucks I definitely don&#8217;t endorse it.  At this point I would only use it under the following conditions:

Need for a process monitor tool with more dynamic configuration setups.  This is where god really shines against monit&#8217;s simpler understanding [...]]]></description>
			<content:encoded><![CDATA[<p>Seems someone else <a href="http://blog.bradgessler.com/use-monit-with-rails-not-god">ran into issues</a> while trying to deploy god.</p>
<p>While, I don&#8217;t think god sucks I definitely don&#8217;t endorse it.  At this point I would only use it under the following conditions:</p>
<ul>
<li>Need for a process monitor tool with more dynamic configuration setups.  This is where god really shines against monit&#8217;s simpler understanding of what process management is about.</li>
<li>The host that needs monitoring can easily spare at least 16MB for a monitoring process.  See below on why.</li>
<li>I really want an all Ruby solution for all the tools in a system</li>
</ul>
<p>In general, I am into the whole &#8216;It is Open Source.  If you&#8217;re having issues, fix it&#8217; deal so I am not nearly as angry sounding as Brad is about god.  However, after having issues with god, I switched to <a href="http://mmonit.com/monit/">monit</a> for simple process monitoring and restarting.  I had far less troubles and got on with other tasks that I considered more important than perfection in a process monitoring system.</p>
<p>For those that are curious here are the issues that I ran into with god:</p>
<ul>
<li>Daemonized Ruby took at least 8MB of RAM for the monitoring process.  With RAM the way it is, this is not as big a deal.  However, if you are trying to get by on a 128MB VPS host every kilobyte counts.</li>
<li>God itself had <a href="http://rubyforge.org/tracker/index.php?func=detail&amp;aid=13474&amp;group_id=3845&amp;atid=14814">issues just randomly dying after some time</a>.   Tom promptly fixed it after it was reported and that was great.  However, it was a little disappointing that a monitoring process just died.</li>
<li>Sparse documentation compared to monit&#8217;s.   Then again this is typical from many Ruby projects and luckily Ruby code is readable enough</li>
<li>Digging up known issues for god required noodling through groups, forums, and blog posts.   Would have been nice to just have a <a href="http://mmonit.com/wiki/Monit/FAQ">friggin&#8217; FAQ</a> like <a href="http://cr.yp.to/daemontools/faq.html">other</a> sys admin-targeted software I have seen.</li>
</ul>
<p>I also DO agree as has been said in <a href="http://blog.bradgessler.com/use-monit-with-rails-not-god">the comments on  Brad&#8217;s post</a> that it is the responsibility of the deployer of software to handle the issues with whatever they deploy and just deal with it.  The reason I say this is because I fell for the hyped up description of god in the beginning and ultimately paid the price when it sucked up my time.  I dealt with it but definitely am less impressed with overhyped marketing descriptions of software these days.   Personally, I am not a fan of that type of marketing for software since it seems a little disingenuous to me.   But that is just me.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2009/04/25/glad-im-not-the-only-one-who-prefers-monit-over-god/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Getting X working again after swapping hardware on Open Solaris nv100</title>
		<link>http://blogs.law.harvard.edu/hoanga/2008/12/07/getting-x-working-again-after-swapping-hardware-on-open-solaris-nv100/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2008/12/07/getting-x-working-again-after-swapping-hardware-on-open-solaris-nv100/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 15:18:50 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[fixes]]></category>
		<category><![CDATA[gripe]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/?p=705</guid>
		<description><![CDATA[After having dain bramaged myself for years with Linux usage.  I had gotten spoiled into believing an OS should make it simple to do the following:
1. Shutdown computer
2. Swap around hardware components
3. Restart
4. Life is good
However any techie should tell you this is a pipe dream on Windows.  Mac users probably have no [...]]]></description>
			<content:encoded><![CDATA[<p>After having dain bramaged myself for years with Linux usage.  I had gotten spoiled into believing an OS should make it simple to do the following:</p>
<p>1. Shutdown computer<br />
2. Swap around hardware components<br />
3. Restart<br />
4. Life is good</p>
<p>However any techie should tell you this is a pipe dream on Windows.  Mac users probably have no clue since they never change hardware components and just buy new Macs to solve their problems.  Which leaves the lucky OSS *nix variants to try stunts like this.</p>
<p>Being the stubborn person I am,  I attempted this with OpenSolaris by swapping out my motherboard.  I wanted to do this in order to take advantage of the E7400 Core 2 Duo that I bought awhile back.  Things almost worked however on reboot I was given the dreaded console login screen with a useless keyboard.  The following as far as I know don´t work&#8230;</p>
<p>1. CTRL-ALT-BACKSPACE<br />
2. CTRL-ALT-Fn<br />
3. CTRL-ALT-DEL</p>
<p>Your best bet is to ssh somehow and try to look for clues.  Here is what I did&#8230;</p>
<p>1. Swap motherboard and stare at dark screen<br />
2. Find out how to <a href="http://mail.opensolaris.org/pipermail/opensolaris-discuss/2007-September/034748.html">boot into single user mode</a> and make sure the kernel isn&#8217;t PO-ed or something and find my IP address<br />
3. Move away the X11 configuration that I configured  (dual-display) and try rebooting<br />
4. Reboot and find out it isn&#8217;t working<br />
5. ssh in and realize it still isn&#8217;t working.   Move the old dual display X11 config back to /etc/X11/xorg.conf<br />
6. Try restarting gdm with svcadm restart gdm and watch it fail<br />
7. Scritch head some more<br />
8. Try starting X from the SSH session and whoah it works<br />
9. Restart gdm (svcadm restart gdm) and now I get a login screen<br />
10. Realize that I disconnected the left monitor (VGA) to help debug and want it back<br />
11. Logout and log back in.  I now have dual screens and a working Solaris install again!</p>
<p>References</p>
<ul>
<li><a href="http://mail.opensolaris.org/pipermail/opensolaris-discuss/2007-September/034748.html">How to boot into Single User Mode for OpenSolaris</a></li>
<li>
<li><a href="//opensolaris.org/jive/thread.jspa?messageID=234143¨">Finding device faults with Fault Manager</a></li>
<li><a href="//opensolaris.org/jive/thread.jspa?messageID=311678¨">Debugging problems with nvidia driver on bootup</a></li>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2008/12/07/getting-x-working-again-after-swapping-hardware-on-open-solaris-nv100/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Getting KDE 4.1.0 on a Fedora 8 machine when KDE 3 is already there</title>
		<link>http://blogs.law.harvard.edu/hoanga/2008/11/29/getting-kde-410-on-a-fedora-8-machine-when-kde-3-is-already-there/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2008/11/29/getting-kde-410-on-a-fedora-8-machine-when-kde-3-is-already-there/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 14:32:26 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[fixes]]></category>
		<category><![CDATA[gripe]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[stupid]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/?p=690</guid>
		<description><![CDATA[According to the Fedora FAQ one should be able to update with just this

sudo yum --enablerepo=updates-testing groupupdate "KDE (K Desktop Environment)"

However when I did, I ran into some icons from packages kdepim-3.5.9 and kdegraphics-4.1.0 conflicting with packages crystalsvg-icon-theme and libkipi.  Here is a log&#8230;

  file /usr/share/icons/crystalsvg/48x48/apps/kpalmdoc.png from install of kdepim-3.5.9-10.fc9.i386 conflicts with file [...]]]></description>
			<content:encoded><![CDATA[<p>According to the Fedora FAQ one should be able to update with just this</p>
<pre>
sudo yum --enablerepo=updates-testing groupupdate "KDE (K Desktop Environment)"
</pre>
<p>However when I did, I ran into some icons from packages kdepim-3.5.9 and kdegraphics-4.1.0 conflicting with packages crystalsvg-icon-theme and libkipi.  Here is a log&#8230;</p>
<pre>
  file /usr/share/icons/crystalsvg/48x48/apps/kpalmdoc.png from install of kdepim-3.5.9-10.fc9.i386 conflicts with file from package crystalsvg-icon-theme-4.0.4-1.fc9.i386
  file /usr/share/icons/crystalsvg/64x64/actions/kontact_contacts.png from install of kdepim-3.5.9-10.fc9.i386 conflicts with file from package crystalsvg-icon-theme-4.0.4-1.fc9.i386
  file /usr/share/icons/crystalsvg/64x64/actions/kontact_date.png from install of kdepim-3.5.9-10.fc9.i386 conflicts with file from package crystalsvg-icon-theme-4.0.4-1.fc9.i386
  file /usr/share/icons/crystalsvg/64x64/actions/kontact_journal.png from install of kdepim-3.5.9-10.fc9.i386 conflicts with file from package crystalsvg-icon-theme-4.0.4-1.fc9.i386
  file /usr/share/icons/crystalsvg/64x64/actions/kontact_mail.png from install of kdepim-3.5.9-10.fc9.i386 conflicts with file from package crystalsvg-icon-theme-4.0.4-1.fc9.i386
  file /usr/share/icons/crystalsvg/64x64/actions/kontact_news.png from install of kdepim-3.5.9-10.fc9.i386 conflicts with file from package crystalsvg-icon-theme-4.0.4-1.fc9.i386
  file /usr/share/icons/crystalsvg/64x64/actions/kontact_notes.png from install of kdepim-3.5.9-10.fc9.i386 conflicts with file from package crystalsvg-icon-theme-4.0.4-1.fc9.i386
  file /usr/share/icons/crystalsvg/64x64/actions/kontact_summary.png from install of kdepim-3.5.9-10.fc9.i386 conflicts with file from package crystalsvg-icon-theme-4.0.4-1.fc9.i386
  file /usr/share/icons/crystalsvg/64x64/actions/kontact_summary_green.png from install of kdepim-3.5.9-10.fc9.i386 conflicts with file from package crystalsvg-icon-theme-4.0.4-1.fc9.i386
  file /usr/share/icons/crystalsvg/64x64/actions/kontact_todo.png from install of kdepim-3.5.9-10.fc9.i386 conflicts with file from package crystalsvg-icon-theme-4.0.4-1.fc9.i386
  file /usr/share/icons/crystalsvg/64x64/actions/rss_tag.png from install of kdepim-3.5.9-10.fc9.i386 conflicts with file from package crystalsvg-icon-theme-4.0.4-1.fc9.i386
  file /usr/share/icons/hicolor/16x16/apps/kipi.png from install of kdegraphics-4.1.0-3.fc9.i386 conflicts with file from package libkipi-0.1.5-4.fc9.i386
  file /usr/share/icons/hicolor/22x22/apps/kipi.png from install of kdegraphics-4.1.0-3.fc9.i386 conflicts with file from package libkipi-0.1.5-4.fc9.i386
  file /usr/share/icons/hicolor/32x32/apps/kipi.png from install of kdegraphics-4.1.0-3.fc9.i386 conflicts with file from package libkipi-0.1.5-4.fc9.i386
  file /usr/share/icons/hicolor/48x48/apps/kipi.png from install of kdegraphics-4.1.0-3.fc9.i386 conflicts with file from package libkipi-0.1.5-4.fc9.i386

Error Summary
-------------
</pre>
<p>I tried deleting these packages manually but that led into an even deeper&#8217;s rats nest of dependency hell.  So one thing I tried was </p>
<pre>
$ sudo yum groupremove "KDE (K Desktop Environment)"
$ sudo yum --enablerepo=updates-testing groupinstall  "KDE (K Desktop Environment)"
</pre>
<p>However I still got conflcts so ran </p>
<pre>
$ sudo yum remove libkipi
$ sudo yum remove crystalsvg-icon-theme
$ sudo yum --enablerepo=updates-testing groupupdate  "KDE (K Desktop Environment)"
</pre>
<p>And finally I have got KDE 4.1.0 to install in way too many steps.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2008/11/29/getting-kde-410-on-a-fedora-8-machine-when-kde-3-is-already-there/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>I can&#8217;t get no satisfying manpages</title>
		<link>http://blogs.law.harvard.edu/hoanga/2008/11/29/i-cant-get-no-satisfying-manpages/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2008/11/29/i-cant-get-no-satisfying-manpages/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 14:29:26 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[gripe]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[stupid]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/?p=701</guid>
		<description><![CDATA[It seems that with most default UNIX-like installations outside of FreeBSD just include craptastic manpages.
This really puts a dent in RTFM.  In Linux-land this has been a serious PITA for years (Yes, I know how to hunt around for the packages to install the manpages in Redhat-ish and Debian lang but it is still [...]]]></description>
			<content:encoded><![CDATA[<p>It seems that with most default UNIX-like installations outside of FreeBSD just include craptastic manpages.</p>
<p>This really puts a dent in RTFM.  In Linux-land this has been a serious PITA for years (Yes, I know how to hunt around for the packages to install the manpages in Redhat-ish and Debian lang but it is still an irritation).  It seems my forays with OpenSolaris mirror the fun of Linux.  Ah well..</p>
<pre>
$  man ps
Reformatting page.  Please Wait... done

Miscellaneous                                          missing(x)

     missing - Missing Manual Page

DESCRIPTION
     Unfortunately, this OpenSolaris Developer Preview  does  not
     include  the  manual  page you are looking for.  We're sorry
     and hope to improve upon this situation in future releases.

     Online versions  of  many  manual  pages  are  available  at
    &nbsp;<a href="http://docs.sun.com/app/docs/coll/40.17" title="http://docs.sun.com/app/docs/coll/40.17" target="_blank">http://docs.sun.com/app/docs/coll/40.17</a>.

SunOS 5.11            Last change: 07/10/25
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2008/11/29/i-cant-get-no-satisfying-manpages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Japanese declining population rates?  How come I can&#8217;t find a doctor?</title>
		<link>http://blogs.law.harvard.edu/hoanga/2008/11/15/japanese-declining-population-rates-how-come-i-cant-find-a-doctor/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2008/11/15/japanese-declining-population-rates-how-come-i-cant-find-a-doctor/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 12:27:48 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[gripe]]></category>
		<category><![CDATA[japan]]></category>
		<category><![CDATA[stupid]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/?p=700</guid>
		<description><![CDATA[少子化 is the term used to describe the shrinking population in Japan and the many hardships that will bring to the country economically.  I remember hearing some analyses on why this is happening on a social standpoint.  I&#8217;ve not heard (or really bothered that hard to search for) many proposals on how to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ja.wikipedia.org/wiki/%E5%B0%91%E5%AD%90%E5%8C%96">少子化</a> is the term used to describe the shrinking population in Japan and the many hardships that will bring to the country economically.  I remember hearing some analyses on why this is happening on a social standpoint.  I&#8217;ve not heard (or really bothered that hard to search for) many proposals on how to fix the problem.  However when I read stories like <a href="http://search.japantimes.co.jp/cgi-bin/nn20081115f2.html">this</a>.  </p>
<p>It makes me wonder if some policy makers are out of touch with reality, sometimes.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2008/11/15/japanese-declining-population-rates-how-come-i-cant-find-a-doctor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Losing data in the clouds</title>
		<link>http://blogs.law.harvard.edu/hoanga/2008/09/03/losing-data-in-the-clouds/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2008/09/03/losing-data-in-the-clouds/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 13:23:49 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[scaling]]></category>
		<category><![CDATA[stupid]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/?p=691</guid>
		<description><![CDATA[Seems that some cloud vendors (sheesh I really only knew about Google Ape&#8230; err App Engine, Amazon&#8217;s EC2 service, and GoGrid) have been having some issues watching customer data go up in a poof.  oops.
Datacenter Knowledge mentions Flexiscale having issues

The problems for FlexiScale began when one of the main storage volumes was accidentally deleted [...]]]></description>
			<content:encoded><![CDATA[<p>Seems that some cloud vendors (sheesh I really only knew about Google Ape&#8230; err App Engine, Amazon&#8217;s EC2 service, and GoGrid) have been having some issues watching customer data go up in a poof.  oops.</p>
<p>Datacenter Knowledge mentions <a href="http://www.datacenterknowledge.com/archives/2008/08/28/serious-cloud-storage-stumble-for-flexiscale/">Flexiscale having issues</a></p>
<blockquote><p>
The problems for FlexiScale began when one of the main storage volumes was accidentally deleted by an employee during a system upgrade earlier this week.
</p></blockquote>
<p>as well as another company called LinkUp (although I guess it&#8217;s down now) <a href="http://www.datacenterknowledge.com/archives/2008/08/12/cloud-storage-service-loses-data-shuts-down/">having issues too</a>:</p>
<blockquote><p>
a cloud storage previously known as Media Max, which shut down Aug. 8 after losing “an unspecified amount of customer data
</p></blockquote>
<p>Ouch.  As the industry fashionistas and the hordes of zombies (and I guess everyone else pulled in from the vortex created) moves towards trying to fulfill what Nicholas Carr dubs the <a href="http://www.nicholasgcarr.com/bigswitch/">Big Switch</a> I can only surmise that more cases of cloud computing companies will continue to go belly up due to dumb mistakes, poor execution, etc, name your classic dumb mistake here.   This will leave behind the vendors who have spent time at multiple levels (besides just technology) to ensure that many of the typical mistakes that will hit any IT business can be recovered from instead of being the critical wound that kils.</p>
<p>Read more!</p>
<ul>
<li><a href="http://www.datacenterknowledge.com/archives/2008/08/12/cloud-storage-service-loses-data-shuts-down/">Datacenter Knowledge on LinkUp going Belly Up</a></li>
<li><a href="http://www.datacenterknowledge.com/archives/2008/08/28/serious-cloud-storage-stumble-for-flexiscale/">Datacenter Knowledge on issues at Flexiscale</a></li>
<li><a href="http://www.cbc.ca/technology/technology-blog/2008/02/nicholas_carrs_views_on_cloud.html">A little bit on Nicholas Carr&#8217;s big vision</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2008/09/03/losing-data-in-the-clouds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>On the irritation of trying to run GPG on a remote headless server</title>
		<link>http://blogs.law.harvard.edu/hoanga/2008/07/14/on-the-irritation-of-trying-to-run-gpg-on-a-remote-headless-server/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2008/07/14/on-the-irritation-of-trying-to-run-gpg-on-a-remote-headless-server/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 05:40:23 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[gripe]]></category>
		<category><![CDATA[stupid]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/2008/07/14/on-the-irritation-of-trying-to-run-gpg-on-a-remote-headless-server/</guid>
		<description><![CDATA[My short, short suggestion is&#8230; don&#8217;t:  This blog post explains it much better than I can although I definitely have been the victim of trying to generate a GPG key on a headless server to no avail:

While trying to generate a gpg keypair on a remote server, I discovered I lack entropy. Eventually I [...]]]></description>
			<content:encoded><![CDATA[<p>My short, short suggestion is&#8230; don&#8217;t:  <a href="http://blogs.securiteam.com/index.php/archives/473">This blog post</a> explains it much better than I can although I definitely have been the victim of trying to generate a GPG key on a headless server to no avail:</p>
<blockquote><p>
While trying to generate a gpg keypair on a remote server, I discovered I lack entropy. Eventually I had to physically type on the keyboard in order to generate enough random bytes.
</p></blockquote>
<p>I guess in the meantime the best workaround is to generate a GPG key on a workstation somewhere and transfer that to the server in question.   A little hokey but I guess if you truly need a GPG key that would be my suggestion.</p>
<p>References</p>
<ul>
<li>Read <a href="http://blogs.securiteam.com/index.php/archives/473">Plain life is just not random enough</a></li>
<li>Suggestions from the <a href="http://marc.theaimsgroup.com/?l=linux-kernel&amp;m=114684809230875&amp;w=2">Linux Kernel ML</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2008/07/14/on-the-irritation-of-trying-to-run-gpg-on-a-remote-headless-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>On the future (or lack) of Nitro Web framework</title>
		<link>http://blogs.law.harvard.edu/hoanga/2008/06/19/on-the-future-or-lack-of-nitro-web-framework/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2008/06/19/on-the-future-or-lack-of-nitro-web-framework/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 16:05:05 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[gripe]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/2008/06/19/on-the-future-or-lack-of-nitro-web-framework/</guid>
		<description><![CDATA[Before there was Rails, there existed other Web Frameworks for Ruby.  One of the promising ones is Nitro however it fell into realm of ignorance.  On some random surfing I ran across this blog post from one of the main authors of the Nitro Web Framework.
It&#8217;s an interesting read since the author laments [...]]]></description>
			<content:encoded><![CDATA[<p>Before there was Rails, there existed other Web Frameworks for Ruby.  One of the promising ones is <a href="http://www.nitroproject.org/">Nitro</a> however it fell into realm of ignorance.  On some random surfing I ran across <a href="https://www.blogger.com/comment.g?blogID=5824099472023370508&amp;postID=4589611158750886650">this blog post</a> from one of the main authors of the Nitro Web Framework.</p>
<p>It&#8217;s an interesting read since the author laments how <a href="http://www.nitroproject.org/">Nitro</a> could have been a contender but it never took off.  The comments are enlightening since it seems there were project (mis)management issues that prevented a community from really forming around <a href="http://www.nitroproject.org/">Nitro</a>.   Anyways, by now, <a href="http://rubyonrails.org">Rails</a> has the lion&#8217;s share of the attention so any hopes now would rest on it being so much better that people will switch.  My understanding is that it has some things that are better but not such a big enough jump to make people interested, unfortunately.</p>
<p><a href="https://www.blogger.com/comment.g?blogID=5824099472023370508&amp;postID=4589611158750886650">Read more</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2008/06/19/on-the-future-or-lack-of-nitro-web-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Happy half-a-decade blog</title>
		<link>http://blogs.law.harvard.edu/hoanga/2008/06/18/happy-half-a-decade-blog/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2008/06/18/happy-half-a-decade-blog/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 01:24:26 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[stupid]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/2008/06/18/happy-half-a-decade-blog/</guid>
		<description><![CDATA[Yeesh, I just looked at the date of my first post and it&#8217;s been a whole 5 years since I started blogging here.
What have I learned?  People who blog multiple times a day must either have some kick-ass tools to do it quickly or way too much time.  I seem to have neither [...]]]></description>
			<content:encoded><![CDATA[<p>Yeesh, I just looked at the date of my first post and it&#8217;s been a whole 5 years since I started blogging here.</p>
<p>What have I learned?  People who blog multiple times a day must either have some kick-ass tools to do it quickly or way too much time.  I seem to have neither so this blog gets infrequently updated.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2008/06/18/happy-half-a-decade-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Why does RTFM with GNU manpages just suck</title>
		<link>http://blogs.law.harvard.edu/hoanga/2008/05/13/why-does-rtfm-with-gnu-manpages-just-suck/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2008/05/13/why-does-rtfm-with-gnu-manpages-just-suck/#comments</comments>
		<pubDate>Tue, 13 May 2008 14:00:35 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[gripe]]></category>
		<category><![CDATA[stupid]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/2008/05/13/why-does-rtfm-with-gnu-manpages-just-s</guid>
		<description><![CDATA[After looking at a seriously useful tip for cleaning out a clogged postfix queue I puzzled over the -r option in xargs.  I&#8217;m not an xargs master but I figure if I need it I can always RTFM.
Well man xargs on my Ubuntu box provides the typical GNU fair and I spend the next [...]]]></description>
			<content:encoded><![CDATA[<p>After looking at a seriously useful tip for <a href="http://woss.name/2003/10/15/cleaning-out-the-postfix-mail-queue/">cleaning out a clogged postfix queue</a> I puzzled over the <em>-r</em> option in xargs.  I&#8217;m not an xargs master but I figure if I need it I can always RTFM.</p>
<p>Well <em>man xargs</em> on my Ubuntu box provides the typical GNU fair and I spend the next way too long time period looking for where the <em>-r</em> option is.  (The full option is <em>&#8211;no-run-if-empty</em>).</p>
<p>Sadly, I ended up finding it faster with a Google search on this <a href="http://www.hcidata.info/find.htm">web page</a> that has some find-fu and xargs then looking again at the GNU manpage and finally find the option buried just before the EXAMPLES section.</p>
<p>I guess I should be happy this time around, there are some GNU manpages that don&#8217;t even HAVE documentation (at least compared to the *BSD brethren).  Grrrrrr</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2008/05/13/why-does-rtfm-with-gnu-manpages-just-suck/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>What the fork are you doing Pidgin devs?</title>
		<link>http://blogs.law.harvard.edu/hoanga/2008/05/03/what-the-fork-are-you-doing-pidgin-devs/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2008/05/03/what-the-fork-are-you-doing-pidgin-devs/#comments</comments>
		<pubDate>Sat, 03 May 2008 14:58:03 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[gripe]]></category>
		<category><![CDATA[stupid]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/2008/05/03/what-the-fork-are-you-doing-pidgin-dev</guid>
		<description><![CDATA[After glancing at the Slashdot post on the forking of pidgin and wasting far too much time slogging through the ticket that caused a bit of strife, I&#8217;m pretty sure I will move away from Pidgin until the developers stop being dorks (highly unlikely since they seem to develop only for themselves).
Quick quick summary of [...]]]></description>
			<content:encoded><![CDATA[<p>After glancing at the <a href="http://tech.slashdot.org/article.pl?sid=08/04/30/1822237">Slashdot post</a> on the <a href="http://funpidgin.sourceforge.net/">forking of pidgin</a> and wasting far too much time slogging through <a>the ticket</a> that caused a <a href="http://developer.pidgin.im/ticket/4986">bit of strife</a>, I&#8217;m pretty sure I will move away from Pidgin until the developers stop being dorks (highly unlikely since they seem to develop only for themselves).</p>
<p>Quick quick summary of the whole issue.   The pidgin developers decided to make the input text box very small and auto-resizing (up to a certain point) based on some fancy heuristic.  Quite a few users have jumped up and down and requested to make this optional however the pidgin developers basically said, &#8216;Go take a hike&#8217;.  There has been quite a bit of reaction to it, including the creation of a plugin to bring back old functionality to a <a href="http://funpidgin.sourceforge.net/">full on fork</a> of the whole project.</p>
<p>In general, forks are a bit of wasted effort to the Open Source community as a whole but one will never get the idea situation where all developers will just &#8216;get along&#8217; and combine their energies into the One True Implementation.  So, from a pragmatic standpoint, forking seems to get the job done although with a lot of burnt cycles.</p>
<p>I believe migrating to something like <a href="http://funpidgin.sourceforge.net/">Funpidgin</a> (A fork of Pidgin that aims to be listen more to the community) and making sure that it gets enough momentum to stay alive is probably the best answer to extremely stubborn developers wanting to do things their own way at the expense of the &#8216;users&#8217;.  However, I guess we&#8217;ll just have to wait and see if the fork gets enough energy to keep itself running.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2008/05/03/what-the-fork-are-you-doing-pidgin-devs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>One way to clean out a gazillion files in a directory without causing the server to hang on IO</title>
		<link>http://blogs.law.harvard.edu/hoanga/2008/04/30/one-way-to-clean-out-a-gazillion-files-in-a-directory-without-causi/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2008/04/30/one-way-to-clean-out-a-gazillion-files-in-a-directory-without-causi/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 10:37:53 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[fixes]]></category>
		<category><![CDATA[stupid]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/2008/04/30/one-way-to-clean-out-a-gazillion-files</guid>
		<description><![CDATA[Had a case where I had some rails app that was using files for its session store and had been running like that for months.  While it was a careless (and dumb) thing to run it that way, we had to do something about it since it was eating up close to 85% of [...]]]></description>
			<content:encoded><![CDATA[<p>Had a case where I had some rails app that was using files for its session store and had been running like that for months.  While it was a careless (and dumb) thing to run it that way, we had to do something about it since it was eating up close to 85% of the system partition.  The dumb way to try to do this is below:</p>
<pre>
nice find /tmp/ -name 'ruby_sess.*' | xargs -n 100 rm -fv
</pre>
<p>However, the problem is that this causes insanity on IO which is NOT good for a running service.  (Luckily this service was merely important instead of critical)  So, I present to you my quick and dirty script that will clean up all those nefarious ruby sessions files that have run amok for months.</p>
<pre>
while true; do
    nice find /tmp/ -name 'ruby_sess.*' | head -n 20 | xargs rm -fv; sleep 10
done
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2008/04/30/one-way-to-clean-out-a-gazillion-files-in-a-directory-without-causi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>OS X 10.4.11 update, you suck</title>
		<link>http://blogs.law.harvard.edu/hoanga/2008/04/14/os-x-10411-update-you-suck/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2008/04/14/os-x-10411-update-you-suck/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 15:10:33 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[fixes]]></category>
		<category><![CDATA[gripe]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[stupid]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/2008/04/14/os-x-10411-update-you-suck/</guid>
		<description><![CDATA[After a long time of not updating my trusty old iLamp iMac, I finally updated it to 10.4.11 over the weekend and let it lie.  Later on I hear a report that Safari won&#8217;t start up.
That&#8217;s odd, I&#8217;ve never heard of Safari having launch problems before.   I check the log and I [...]]]></description>
			<content:encoded><![CDATA[<p>After a long time of not updating my trusty old iLamp iMac, I finally updated it to 10.4.11 over the weekend and let it lie.  Later on I hear a report that Safari won&#8217;t start up.</p>
<p>That&#8217;s odd, I&#8217;ve never heard of Safari having launch problems before.   I check the log and I see something like the following:</p>
<pre>
Date/Time:      2008-04-14 22:06:45.474 +0900
OS Version:     10.4.11 (Build 8S165)
Report Version: 4

Command: Safari
Path:    /Applications/Safari.app/Contents/MacOS/Safari
Parent:  WindowServer [86]

Version: 3.1 (4525.13)

PID:    20987
Thread: Unknown

Link (dyld) error:

Symbol not found: _WebDatabaseDirectoryDefaultsKey
  Referenced from: /Applications/Safari.app/Contents/MacOS/Safari
  Expected in: /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
</pre>
<p>Those type of messages go on and on in Console.app.   My first round of Googling brought me to a <a href="http://forums.macrumors.com/showthread.php?t=431762">Macrumors thread</a> that recommended deleting the history.plist and other parts from ~/Library/Safari.   I tried removing various files from that directory to no effect and finally just removing the directory altogether.  Nada.</p>
<p>Troubleshooting a PC WITHOUT a web browser really sucks.   I suggest everyone try it once in awhile to see just how much the nature of debugging IT problems has changed when you are deprived of a very powerful tool.  Luckily, this Mac had a very crufty version of IE lurking so the first thing I tried was a download of Firefox.  However, the disk image refused to be mounted!  Seems this is also tied in with <a href="http://discussions.apple.com/thread.jspa?messageID=6269838">the security update</a>.  So basically, I&#8217;m left with using IE as my main tool for debugging on this Mac.</p>
<p>After a bit of googling, it seems that the fix is tied requiring the latest OS X security update (Available at the <a href="http://www.apple.com/support/downloads">Support Download</a> page).  For OS X 10.4.x users you can find a link to the latest Universal <a href="http://www.apple.com/support/downloads/securityupdate2008002v10universal.html">here</a>.</p>
<p>However, there is a catch.  The security update is only available from that page as a Disk Image.  Guess what you can&#8217;t open it up under the affected Mac.  At this point you&#8217;re left with 2 options:</p>
<ol>
<li>Burn the Disk Image to a CD-R/DVD-R and use it that way</li>
<li>Transfer the disk image to another Mac and unarchive it then push it back</li>
</ol>
<p>I decided on the latter option since I hate wasting a CD-R if I don&#8217;t have to.  After applying the Security Update and rebooting, Safari boots up and things seem chipper again but that was a serious side trip on something I&#8217;ve rarely seen Apple ever mess up.   Anti-kudos to Apple for making this update on your &#8216;legacy&#8217; OS really sucky.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2008/04/14/os-x-10411-update-you-suck/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Fixing that really irritating  perl: warning: Setting locale failed. on OS X leopard</title>
		<link>http://blogs.law.harvard.edu/hoanga/2008/04/10/fixing-that-really-irritating-perl-warning-setting-locale-failed-on/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2008/04/10/fixing-that-really-irritating-perl-warning-setting-locale-failed-on/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 14:19:16 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[fixes]]></category>
		<category><![CDATA[gripe]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[stupid]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/2008/04/10/fixing-that-really-irritating-perl-war</guid>
		<description><![CDATA[Anytime I&#8217;ve been running a perl based script on my leopard box I got this really irritating output with whatever else I was expecting:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
     LC_ALL = "En_US",
     LANG = (unset)
are supported and installed on your system.
perl: [...]]]></description>
			<content:encoded><![CDATA[<p>Anytime I&#8217;ve been running a perl based script on my leopard box I got this really irritating output with whatever else I was expecting:</p>
<pre>
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
     LC_ALL = "En_US",
     LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
</pre>
<p>With a quick Google search I found an answer in this <a href="http://www.rubify.com/2007/10/28/rails-and-leopard-a-smooth-upgrade">Rubify post</a>.  Basically the solution / fix is to make sure the following is set in either your ~/.profile or ~/.bashrc or ~/.cshrc</p>
<pre>
# This setting is for the new UTF-8 terminal support
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
</pre>
<p><a href="http://www.rubify.com/2007/10/28/rails-and-leopard-a-smooth-upgrade">Read more at Rubify!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2008/04/10/fixing-that-really-irritating-perl-warning-setting-locale-failed-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Meraki, how not to work with your customer base</title>
		<link>http://blogs.law.harvard.edu/hoanga/2008/04/05/meraki-how-not-to-work-with-your-customer-base/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2008/04/05/meraki-how-not-to-work-with-your-customer-base/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 15:40:18 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[stupid]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/2008/04/05/meraki-how-not-to-work-with-your-custo</guid>
		<description><![CDATA[Virishi tells a story of Meraki (an off-shoot of MIT Roof-Net) changing their tune.

Today I learn that my failure is due to the fact that Meraki has automatically updated the software on all of the units (including legacy, such as ours) so that you cannot install a different firmware on it, at all.

Not cool
Read more
]]></description>
			<content:encoded><![CDATA[<p><a href="http://virishi.net/from-happy-hacking-screw-you-story-meraki">Virishi tells a story</a> of Meraki (an off-shoot of MIT Roof-Net) changing their tune.</p>
<blockquote><p>
Today I learn that my failure is due to the fact that Meraki has automatically updated the software on all of the units (including legacy, such as ours) so that you cannot install a different firmware on it, at all.
</p></blockquote>
<p>Not cool</p>
<p><a href="http://virishi.net/from-happy-hacking-screw-you-story-meraki">Read more</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2008/04/05/meraki-how-not-to-work-with-your-customer-base/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Being stupid on numrows() versus getting the actual result in LuaSQL</title>
		<link>http://blogs.law.harvard.edu/hoanga/2008/03/21/being-stupid-on-numrows-versus-getting-the-actual-result-in-luasql/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2008/03/21/being-stupid-on-numrows-versus-getting-the-actual-result-in-luasql/#comments</comments>
		<pubDate>Fri, 21 Mar 2008 14:53:29 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[stupid]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/2008/03/21/being-stupid-on-numrows-versus-getting</guid>
		<description><![CDATA[I&#8217;m dumb.  I had a bug in a checker script that I wrote and only noticed it recently when I bothered to RTFM.  Can you spot the error?  Probably most programmers will.
Non-working version

require "luasql.mysql"

env = luasql.mysql()
mysqlconn = env:connect("somedb", "someuser")
curs = mysqlconn:execute("
SELECT COUNT(*) FROM some_table WHERE col1 = ''foo")
print("Number of rows in $dlq [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m dumb.  I had a bug in a checker script that I wrote and only noticed it recently when I bothered to <a href="http://www.keplerproject.org/luasql/manual.html#cursor_object">RTFM</a>.  Can you spot the error?  Probably most programmers will.</p>
<p>Non-working version</p>
<pre>
require "luasql.mysql"

env = luasql.mysql()
mysqlconn = env:connect("somedb", "someuser")
curs = mysqlconn:execute("
SELECT COUNT(*) FROM some_table WHERE col1 = ''foo")
print("Number of rows in $dlq queue is: ", curs:numrows())
</pre>
<p>Working version</p>
<pre>
require "luasql.mysql"

env = luasql.mysql()
mysqlconn = env:connect("somedb", "someuser")
curs = mysqlconn:execute("
SELECT COUNT(*) FROM some_table WHERE col1 = ''foo")
print("Number of rows in $dlq queue is: ", curs:fetch())
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2008/03/21/being-stupid-on-numrows-versus-getting-the-actual-result-in-luasql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Seeing Lock already exists: /var/run/munin/munin-update.lock?  Don&#8217;t worry it just means your munin updater is slow</title>
		<link>http://blogs.law.harvard.edu/hoanga/2008/03/16/seeing-lock-already-exists-varrunmuninmunin-updatelock-dont-worry-i/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2008/03/16/seeing-lock-already-exists-varrunmuninmunin-updatelock-dont-worry-i/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 04:50:33 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[gripe]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/2008/03/16/seeing-lock-already-exists-varrunmunin</guid>
		<description><![CDATA[Luckily this forum post explains the issue.

I&#8217;ve had this problem if the munin-update process takes longer than 5
minutes. The reason this happens is because the cronjob is set to run
every 5 minutes to gather data, so if it is still running from the last
job, you will get this error.

Read it yourself
]]></description>
			<content:encoded><![CDATA[<p>Luckily <a href="http://osdir.com/ml/db.rddtool.munin.general/2006-08/msg00033.html">this forum post</a> explains the issue.</p>
<blockquote><p>
I&#8217;ve had this problem if the munin-update process takes longer than 5<br />
minutes. The reason this happens is because the cronjob is set to run<br />
every 5 minutes to gather data, so if it is still running from the last<br />
job, you will get this error.
</p></blockquote>
<p><a href="http://osdir.com/ml/db.rddtool.munin.general/2006-08/msg00033.html">Read it yourself</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2008/03/16/seeing-lock-already-exists-varrunmuninmunin-updatelock-dont-worry-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Matt Mullenweg the creator of Wordpress speaks</title>
		<link>http://blogs.law.harvard.edu/hoanga/2008/03/15/matt-mullenweg-the-creator-of-wordpress-speaks/</link>
		<comments>http://blogs.law.harvard.edu/hoanga/2008/03/15/matt-mullenweg-the-creator-of-wordpress-speaks/#comments</comments>
		<pubDate>Sat, 15 Mar 2008 14:24:38 +0000</pubDate>
		<dc:creator>hoanga</dc:creator>
				<category><![CDATA[gripe]]></category>

		<guid isPermaLink="false">http://blogs.law.harvard.edu/hoanga/2008/03/15/matt-mullenweg-the-creator-of-wordpres</guid>
		<description><![CDATA[Nice summary of his talk at FOWA 2008.
Confirmation of Matt speaking at FOWA 2008 and link to a mp3 speech.  I like how he talks about scaling on multiple levels for a website.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.webware.com/8301-1_109-9882864-2.html">Nice summary of his talk at FOWA 2008</a>.</p>
<p><a href="http://futureofwebapps.wordpress.com/2008/01/29/matt-mullenweg-confirmed-for-fowa/">Confirmation of Matt speaking at FOWA 2008 and link to a mp3 speech</a>.  I like how he talks about scaling on multiple levels for a website.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.law.harvard.edu/hoanga/2008/03/15/matt-mullenweg-the-creator-of-wordpress-speaks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
	</channel>
</rss>
