<?xml version="1.0" encoding="iso-8859-1"?>
<!-- name="generator" content="phposxom/0.6b-rn" -->
<rss version="0.91">
<channel>
<title>holygoat.co.uk</title>
<link>http://www.holygoat.co.uk/blog</link>
<description>Richard Newman's Blog &#0187; technology, semantic web, life.</description>
<language>en-GB</language>
<item>
<title>Backend rewrite</title>
<link>http://www.holygoat.co.uk/blog/entry2008-03-31-1</link>
<description>I spent this afternoon fixing my blog's speed problem: I dumped all 1,500 posts into MySQL, and rewrote the frontend to use it. Database queries are faster than munging 1,500 files over a slow NFS link on a busy server. Let me know if you see any problems.
&lt;br /&gt;&lt;hr /&gt;&lt;p&gt;&lt;a href="http://www.haloscan.com/comments/holygoat/2008_03_31_1/" title="comments"&gt;View or post a comment&lt;/a&gt;.&lt;/p&gt;</description>
</item>
<item>
<title>Slow</title>
<link>http://www.holygoat.co.uk/blog/entry2008-03-28-2</link>
<description>I just figured out why my blog has been brutally slow since I switched it over to Dreamhost: NFS. Individual flat files on disk don't scale when a page load is having to scramble over them on an NFS mount.&lt;br /&gt;&lt;br /&gt;It also doesn't help that the shared host has a load average above 17 most of the time&amp;#8230; right now, the CPU utilization on the box is about 75%. Maybe I should switch back to dedicated hosting!&lt;br /&gt;
&lt;br /&gt;&lt;hr /&gt;&lt;p&gt;&lt;a href="http://www.haloscan.com/comments/holygoat/2008_03_28_2/" title="comments"&gt;View or post a comment&lt;/a&gt;.&lt;/p&gt;</description>
</item>
<item>
<title>Genius</title>
<link>http://www.holygoat.co.uk/blog/entry2008-03-28-1</link>
<description>Elaina's iPhone is showing the &amp;#8220;Connect to iTunes&amp;#8221; image on the display. Bad news: her machine is at home.&lt;br /&gt;&lt;br /&gt;I connect it to mine, and iTunes pops up a dialog:&lt;br /&gt;&lt;blockquote&gt;&lt;p&gt;iTunes could not connect to the iPhone &lt;i&gt;foo&lt;/i&gt; because it is locked with a passcode. You must enter your passcode on the iPhone before it can be used with iTunes.&lt;/p&gt;&lt;/blockquote&gt;&lt;br /&gt;Great, thanks. I would if I could.&lt;br /&gt;
&lt;br /&gt;&lt;hr /&gt;&lt;p&gt;&lt;a href="http://www.haloscan.com/comments/holygoat/2008_03_28_1/" title="comments"&gt;View or post a comment&lt;/a&gt;.&lt;/p&gt;</description>
</item>
<item>
<title>I hate Eclipse</title>
<link>http://www.holygoat.co.uk/blog/entry2008-03-25-1</link>
<description>Terrible options layout, abysmal text editor, shameful iconography, and the windows don't resize when your display changes. I currently have one gigantic window where I can reach neither the title bar nor the resize handle.&lt;br /&gt;&lt;br /&gt;Did I mention it's slow and cumbersome on my dual-2.5GHz machine with 4GB RAM?&lt;br /&gt;
&lt;br /&gt;&lt;hr /&gt;&lt;p&gt;&lt;a href="http://www.haloscan.com/comments/holygoat/2008_03_25_1/" title="comments"&gt;View or post a comment&lt;/a&gt;.&lt;/p&gt;</description>
</item>
<item>
<title>UPS annoyances</title>
<link>http://www.holygoat.co.uk/blog/entry2008-03-23-4</link>
<description>My NAS is plugged into my APC 550 UPS. The UPS's USB status cable is plugged into the NAS, so it gets notified of status changes.&lt;br /&gt;&lt;br /&gt;No power outages have occurred, but occasionally the NAS will shut itself down. I've figured out why.&lt;br /&gt;&lt;br /&gt;The UPS reports minor power outages (such as a spike when the printer warms up) like this:&lt;br /&gt;&lt;pre&gt;16:15:18 Power loss detected.&lt;br /&gt;16:15:24 Power has returned.&lt;/pre&gt;&lt;br /&gt;The NAS shut itself down this morning. This is what the log says:&lt;br /&gt;&lt;pre&gt;11:07:41 Power has returned.&lt;br /&gt;11:07:42 Power loss detected.&lt;/pre&gt;&lt;br /&gt;That's right! The message cancelling the shutdown &lt;em&gt;arrives one second before the shutdown message&lt;/em&gt;. The NAS dutifully cancels a non-existent shutdown, then goes right ahead and starts its shutdown timer.&lt;br /&gt;&lt;br /&gt;This is really dumb. My Mac can read the UPS battery status (allowing behavior like &amp;#8220;shut down when UPS battery level is critical&amp;#8221;) and the power status, rather than relying on this erroneous transition model. Why can't my Linux-based NAS?&lt;br /&gt;
&lt;br /&gt;&lt;hr /&gt;&lt;p&gt;&lt;a href="http://www.haloscan.com/comments/holygoat/2008_03_23_4/" title="comments"&gt;View or post a comment&lt;/a&gt;.&lt;/p&gt;</description>
</item>
<item>
<title>Building sqlite3 from MacPorts</title>
<link>http://www.holygoat.co.uk/blog/entry2008-03-23-3</link>
<description>Getting this error?&lt;br /&gt;&lt;pre&gt;Error: Target org.macports.build returned: shell command &quot; cd &quot;/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_sqlite3/work/sqlite-3.5.7&quot; &amp;amp;&amp;amp; gnumake all &quot; returned error 2&lt;br /&gt;Command output: sort -n -b -k 3 opcodes.h |  -f ./mkopcodec.awk &amp;gt;opcodes.c&lt;br /&gt;/bin/sh: -f: command not found&lt;br /&gt;gnumake: *** [opcodes.c] Error 127&lt;/pre&gt;&lt;br /&gt;Do this:&lt;br /&gt;&lt;pre&gt;export NAWK=/opt/local/bin/gawk&lt;br /&gt;sudo port clean sqlite3&lt;br /&gt;sudo port install sqlite3&lt;/pre&gt;&lt;br /&gt;The Makefile isn't looking in the right place for &lt;tt&gt;awk&lt;/tt&gt;. &lt;a href=&quot;http://trac.macports.org/projects/macports/ticket/13028&quot; title=&quot;macports&quot;&gt;The Macports trac page&lt;/a&gt; thinks this problem doesn't still exist&amp;#8230; I'm not so sure!&lt;br /&gt;
&lt;br /&gt;&lt;hr /&gt;&lt;p&gt;&lt;a href="http://www.haloscan.com/comments/holygoat/2008_03_23_3/" title="comments"&gt;View or post a comment&lt;/a&gt;.&lt;/p&gt;</description>
</item>
<item>
<title>OmniGraffle Pro</title>
<link>http://www.holygoat.co.uk/blog/entry2008-03-23-2</link>
<description>I just upgraded from 4 to 5, and it's a pretty awesome leap: you can write outlines in a sidebar (or move them back and forth to OmniOutliner!) and it'll automatically lay them out as a mindmap, circles, tree, &lt;i&gt;&amp;amp;c&lt;/i&gt;. It's a very cool &amp;#8220;check this out!&amp;#8221; feature.&lt;br /&gt;&lt;br /&gt;It's always a pleasure when an app can be both fun to work with and a reliable workhorse. By contrast, Visio crashes &lt;em&gt;every time I use it&lt;/em&gt; on my Vista machine, and seems to exist to make my life hell.&lt;br /&gt;&lt;br /&gt;Oh well.&lt;br /&gt;
&lt;br /&gt;&lt;hr /&gt;&lt;p&gt;&lt;a href="http://www.haloscan.com/comments/holygoat/2008_03_23_2/" title="comments"&gt;View or post a comment&lt;/a&gt;.&lt;/p&gt;</description>
</item>
<item>
<title>Visual languages are insufficiently dense</title>
<link>http://www.holygoat.co.uk/blog/entry2008-03-23-1</link>
<description>&lt;a href=&quot;http://lambda-the-ultimate.org/node/2730#comment-40882&quot; title=&quot;ltu&quot;&gt;Once the interpreter worked well enough to start writing simple programs, I was able to see how bad the density problem was.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;hr /&gt;&lt;p&gt;&lt;a href="http://www.haloscan.com/comments/holygoat/2008_03_23_1/" title="comments"&gt;View or post a comment&lt;/a&gt;.&lt;/p&gt;</description>
</item>
</channel>
</rss>
