<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/~syntax/blog/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://www.ashtech.net/~syntax/blog/feeds/atom.xml" rel="self" title="Daniel E. Markle's Blog" type="application/atom+xml" />
    <link href="http://www.ashtech.net/~syntax/blog/"                        rel="alternate"    title="Daniel E. Markle's Blog" type="text/html" />
    <link href="http://www.ashtech.net/~syntax/blog/rss.php?version=2.0"     rel="alternate"    title="Daniel E. Markle's Blog" type="application/rss+xml" />
    <title type="html">Daniel E. Markle's Blog</title>
    <subtitle type="html">Blatherings on Technology and Life</subtitle>
    <icon>http://ashtech.net/~syntax/blog/uploads/128blackcat.png</icon>
    <id>http://www.ashtech.net/~syntax/blog/</id>
    <updated>2008-10-20T22:29:51Z</updated>
    <generator uri="http://www.s9y.org/" version="1.2.1">Serendipity 1.2.1 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:" />

    <entry>
        <link href="http://www.ashtech.net/~syntax/blog/archives/123-JTableModel-Implementation-Null-Gotchas.html" rel="alternate" title="JTableModel Implementation Null Gotchas" />
        <author>
            <name>Daniel E. Markle</name>
            <email>syntax@ashtech.net</email>
        </author>
    
        <published>2008-10-20T22:29:51Z</published>
        <updated>2008-10-20T22:29:51Z</updated>
        <wfw:comment>http://www.ashtech.net/~syntax/blog/wfwcomment.php?cid=123</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.ashtech.net/~syntax/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=123</wfw:commentRss>
    
            <category scheme="http://www.ashtech.net/~syntax/blog/categories/1-Programming" label="Programming" term="Programming" />
    
        <id>http://www.ashtech.net/~syntax/blog/archives/123-guid.html</id>
        <title type="html">JTableModel Implementation Null Gotchas</title>
        <content type="xhtml" xml:base="http://www.ashtech.net/~syntax/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                A Java Swing user interface I am working on which makes extensive use of a custom <a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/table/TableModel.html">JTableModel</a> implementation was failing. In certain instances when my data structure changes, it purges empty cells. If the cursor was left in these cells while this was taking place, the table would become unresponsive, often requiring an application restart to fix.<br />
<br />
Watch for issues with <code>setValueAt</code>, which in some cases can be called with invalid values. In particular if the cursor is editing a field, the table is not refreshed until the edit focus leaves the widget even if you try to force it with <code>validate()</code> calls. In my instance the ideal fix was to add checks and do nothing instead of throwing exceptions.<br />
<br />
With <code>getValueAt</code>, some table widget types choked on my default of null, which I was returning for invalid cells. Using an empty string instead of null for these invalid cells fixed this problem. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ashtech.net/~syntax/blog/archives/122-Central-PA-Open-Source-Conference.html" rel="alternate" title="Central PA Open Source Conference" />
        <author>
            <name>Daniel E. Markle</name>
            <email>syntax@ashtech.net</email>
        </author>
    
        <published>2008-10-19T21:57:22Z</published>
        <updated>2008-10-19T21:57:22Z</updated>
        <wfw:comment>http://www.ashtech.net/~syntax/blog/wfwcomment.php?cid=122</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.ashtech.net/~syntax/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=122</wfw:commentRss>
    
            <category scheme="http://www.ashtech.net/~syntax/blog/categories/7-Software" label="Software" term="Software" />
    
        <id>http://www.ashtech.net/~syntax/blog/archives/122-guid.html</id>
        <title type="html">Central PA Open Source Conference</title>
        <content type="xhtml" xml:base="http://www.ashtech.net/~syntax/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Having just returned from the <a href="http://cposc.org">Central PA Open Source Conference</a>, I found it to be a very informative and useful conference. A wide array of interesting topics in different fields were covered, and there were many items I can apply over the next few months to my own projects.<br />
<br />
My favorite session was Hardware and Honeybees, in large part because it showed interesting uses for technology and hardware hacking, something as a software-oriented person I do not see much of. Using cell phone text messages to control electric fences, web cameras to monitor hive status, and inexpensive temperature monitors to find problems were all topics in this interesting talk. <br /><a href="http://www.ashtech.net/~syntax/blog/archives/122-Central-PA-Open-Source-Conference.html#extended">Continue reading "Central PA Open Source Conference"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ashtech.net/~syntax/blog/archives/121-Bailout-Brownies.html" rel="alternate" title="Bailout Brownies" />
        <author>
            <name>Daniel E. Markle</name>
            <email>syntax@ashtech.net</email>
        </author>
    
        <published>2008-10-02T03:49:00Z</published>
        <updated>2008-10-02T14:55:44Z</updated>
        <wfw:comment>http://www.ashtech.net/~syntax/blog/wfwcomment.php?cid=121</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.ashtech.net/~syntax/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=121</wfw:commentRss>
    
            <category scheme="http://www.ashtech.net/~syntax/blog/categories/2-Life" label="Life" term="Life" />
    
        <id>http://www.ashtech.net/~syntax/blog/archives/121-guid.html</id>
        <title type="html">Bailout Brownies</title>
        <content type="xhtml" xml:base="http://www.ashtech.net/~syntax/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <img src="http://ashtech.net/~syntax/images/bailout_brownies.jpg" alt="" style="float: left; padding-right: 6px; padding-bottom: 4px;" />While eating at <a href="http://www.neatoburrito.com/">Neato Burrito</a> today I noticed these delicious looking treats in their dessert bin in front of the cash register. <br />
<br />
Labeled <em>Bailout Brownies</em>, they consist of a rich chocolate brownie with gold foil-wrapped chocolate coins adhered to the top with a chocolate glue. While eating, the coins stay on the top until their location is reached, when instead of the coin falling off, a hunk of chocolate comes loose with the coin. After prying the coin loose from the chocolate base, a nice imprint of the coin can be seen in the short period before the chocolate inevitably disappears. In a caricature of the real economy, the shadow of the coin is much more tasty than the chocolate within the coin itself.<br />
<br />
A wonderful sweet relief from the stress and woe caused by this trying time. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ashtech.net/~syntax/blog/archives/120-JSPX,-Tag-Minimization,-and-Firefox-3.html" rel="alternate" title="JSPX, Tag Minimization, and Firefox 3" />
        <author>
            <name>Daniel E. Markle</name>
            <email>syntax@ashtech.net</email>
        </author>
    
        <published>2008-09-17T22:11:55Z</published>
        <updated>2008-09-17T22:11:55Z</updated>
        <wfw:comment>http://www.ashtech.net/~syntax/blog/wfwcomment.php?cid=120</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.ashtech.net/~syntax/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=120</wfw:commentRss>
    
            <category scheme="http://www.ashtech.net/~syntax/blog/categories/1-Programming" label="Programming" term="Programming" />
    
        <id>http://www.ashtech.net/~syntax/blog/archives/120-guid.html</id>
        <title type="html">JSPX, Tag Minimization, and Firefox 3</title>
        <content type="xhtml" xml:base="http://www.ashtech.net/~syntax/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Firefox 3 introduces a new behavior when your doctype is XHTML Strict; certain tags that do not allow minimization as per the spec no longer close anyway. For example, if you use a <code>&lt;script src="blah.js" /&gt;</code> tag in your heading, Firefox 3 will take the whole rest of the page as a script, which will result in a blank page. This is good as it enforces standards compliance, however jspx minimizes tags, so you may have <code>&lt;script src="blah.js"&gt;&lt;/script&gt;</code> on your page, but the actual rendered page will minimize it.<br />
<br />
There are many ways to fix this issue by playing tricks on jspx, I recommend:<br />
<br />
<code>&lt;script src="blah.js"&gt;&lt;!-- //prevent jspx minimization --&gt;&lt;/script&gt;</code><br />
<br />
This reminds me when I'm working on the code why that comment is there. Hopefully this will be fixed in the jspx spec at some point. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ashtech.net/~syntax/blog/archives/119-East-Pennsboro-Water-Leaks.html" rel="alternate" title="East Pennsboro Water Leaks" />
        <author>
            <name>Daniel E. Markle</name>
            <email>syntax@ashtech.net</email>
        </author>
    
        <published>2008-07-26T13:23:32Z</published>
        <updated>2008-07-26T13:38:29Z</updated>
        <wfw:comment>http://www.ashtech.net/~syntax/blog/wfwcomment.php?cid=119</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.ashtech.net/~syntax/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=119</wfw:commentRss>
    
            <category scheme="http://www.ashtech.net/~syntax/blog/categories/2-Life" label="Life" term="Life" />
    
        <id>http://www.ashtech.net/~syntax/blog/archives/119-guid.html</id>
        <title type="html">East Pennsboro Water Leaks</title>
        <content type="xhtml" xml:base="http://www.ashtech.net/~syntax/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <img src="http://ashtech.net/~syntax/images/sidewalk_water.jpg" alt="Water Spurting out of Sidewalk" style="float: right; padding-left: 6px;" />Water spurting out from between sidewalk segments and flowing down the road has become a common sight this week as the local water authority has been steadily increasing the water pressure.  The old 70's vintage pipes in my apartment complex couldn't take the pressure and are turning the complex into a waterfront property.  As they repair one segment, new ones open up shortly thereafter, often just a few feet away. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ashtech.net/~syntax/blog/archives/118-First-Bicycle-Commute.html" rel="alternate" title="First Bicycle Commute" />
        <author>
            <name>Daniel E. Markle</name>
            <email>syntax@ashtech.net</email>
        </author>
    
        <published>2008-07-24T14:27:48Z</published>
        <updated>2008-07-25T05:12:13Z</updated>
        <wfw:comment>http://www.ashtech.net/~syntax/blog/wfwcomment.php?cid=118</wfw:comment>
    
        <slash:comments>5</slash:comments>
        <wfw:commentRss>http://www.ashtech.net/~syntax/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=118</wfw:commentRss>
    
            <category scheme="http://www.ashtech.net/~syntax/blog/categories/2-Life" label="Life" term="Life" />
    
        <id>http://www.ashtech.net/~syntax/blog/archives/118-guid.html</id>
        <title type="html">First Bicycle Commute</title>
        <content type="xhtml" xml:base="http://www.ashtech.net/~syntax/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <img src="http://ashtech.net/~syntax/images/first_bicycle_commute.jpg" alt="Bicycling on Harvey Taylor Bridge"  style="float: left; padding-right: 6px;" />I bicycled to work today.  A 5.3 mile trip from Summerdale to downtown Harrisburg (Pennsylvania), I have been talking about cycling to work ever since I moved in the spring.  A series of issues as well as a need to improve my general fitness level so I could do so successfully delayed my attempt.<br />
<br />
I am hoping this is the start of many such trips; I want to do this once or twice a week starting out.  As my health improves and I get more comfortable biking in less optimal conditions (rain and perhaps snow), I should be able to do this more often. <br /><a href="http://www.ashtech.net/~syntax/blog/archives/118-First-Bicycle-Commute.html#extended">Continue reading "First Bicycle Commute"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ashtech.net/~syntax/blog/archives/117-Thin-Mint-Blizzard.html" rel="alternate" title="Thin Mint Blizzard" />
        <author>
            <name>Daniel E. Markle</name>
            <email>syntax@ashtech.net</email>
        </author>
    
        <published>2008-07-23T03:22:12Z</published>
        <updated>2008-07-24T22:55:12Z</updated>
        <wfw:comment>http://www.ashtech.net/~syntax/blog/wfwcomment.php?cid=117</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://www.ashtech.net/~syntax/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=117</wfw:commentRss>
    
            <category scheme="http://www.ashtech.net/~syntax/blog/categories/2-Life" label="Life" term="Life" />
    
        <id>http://www.ashtech.net/~syntax/blog/archives/117-guid.html</id>
        <title type="html">Thin Mint Blizzard</title>
        <content type="xhtml" xml:base="http://www.ashtech.net/~syntax/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <img src="http://ashtech.net/~syntax/images/thin_mint_blizzard.jpg" alt="Thin Mint Blizzard" style="float: right; padding-left: 8px;" /><a href="http://www.dairyqueen.com/">Dairy Queen's</a> Blizzard of the Month is a <a href="http://www.girlscouts.org/">Girl Scout</a> Thin Mint<sup>&reg;</sup> Blizzard.  I have had more of these than I would like to admit to this month and still love them.  Often with Blizzards they have too much of the featured ingredient and not enough ice cream.  These cookies are good enough that I enjoy this particular blend even when it is supersaturated with them.<br />
<br />
Generally I prefer hand-dipped ice cream to soft.  <a href="http://www.handelsicecream.com/">Handel's Homemade Ice Cream</a> has a wonderful version of this combination, but as I thought they were only in Ohio (which I only venture to when visiting family or camping) I haven't eaten any of it this year.  It seems they now have a York, PA location . . . 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ashtech.net/~syntax/blog/archives/116-Chinese-1-Jiao-Coin.html" rel="alternate" title="Chinese 1 Jiao Coin" />
        <author>
            <name>Daniel E. Markle</name>
            <email>syntax@ashtech.net</email>
        </author>
    
        <published>2008-07-16T03:01:55Z</published>
        <updated>2008-07-16T03:01:55Z</updated>
        <wfw:comment>http://www.ashtech.net/~syntax/blog/wfwcomment.php?cid=116</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.ashtech.net/~syntax/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=116</wfw:commentRss>
    
            <category scheme="http://www.ashtech.net/~syntax/blog/categories/2-Life" label="Life" term="Life" />
    
        <id>http://www.ashtech.net/~syntax/blog/archives/116-guid.html</id>
        <title type="html">Chinese 1 Jiao Coin</title>
        <content type="xhtml" xml:base="http://www.ashtech.net/~syntax/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                While ordering a burrito at one of my favorite Harrisburg eating establishments, <a href="http://www.neatoburrito.com/">Neato Burrito</a>, I handed some change to the cashier in exchange for the rolled meal.  The sharp-eyed cashier noticed one of the coins I handed him wasn't what I thought it was.<br />
<br />
<img src="http://ashtech.net/~syntax/images/chinese_1_jiao_coin.jpg" alt="Chinese 1 Jiao Coin" /><br />
<br />
Having never seen such a coin before I paid in more appropriate currency and went to a table, glad this entertaining item came up as a side activity to occupy myself with during lunch.  While enjoying my burrito I used one of my ever present internet connected gadgets to look up what this coin was; a 1 Jiao Chinese coin, which is one-tenth of a Chinese Yuan.  At current exchange rates it would be worth about one and a half cents. <br /><a href="http://www.ashtech.net/~syntax/blog/archives/116-Chinese-1-Jiao-Coin.html#extended">Continue reading "Chinese 1 Jiao Coin"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ashtech.net/~syntax/blog/archives/115-Spring-Binary-and-Text-Forms.html" rel="alternate" title="Spring Binary and Text Forms" />
        <author>
            <name>Daniel E. Markle</name>
            <email>syntax@ashtech.net</email>
        </author>
    
        <published>2008-06-05T22:52:40Z</published>
        <updated>2008-06-05T23:02:53Z</updated>
        <wfw:comment>http://www.ashtech.net/~syntax/blog/wfwcomment.php?cid=115</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.ashtech.net/~syntax/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=115</wfw:commentRss>
    
            <category scheme="http://www.ashtech.net/~syntax/blog/categories/1-Programming" label="Programming" term="Programming" />
    
        <id>http://www.ashtech.net/~syntax/blog/archives/115-guid.html</id>
        <title type="html">Spring Binary and Text Forms</title>
        <content type="xhtml" xml:base="http://www.ashtech.net/~syntax/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                A project I am working on requires binary image files and form data to be submitted simultaneously.  This is rather easy to do with <a href="http://springframework.org/">Spring<a>, following the directions available in the latest documentation to <a href="http://static.springframework.org/spring/docs/2.5.x/reference/mvc.html#mvc-multipart-forms">handle file uploads in a form</a>.  It does not mention there that you can mix form fields as well as file upload fields when doing this, but it works as expected. <br /><a href="http://www.ashtech.net/~syntax/blog/archives/115-Spring-Binary-and-Text-Forms.html#extended">Continue reading "Spring Binary and Text Forms"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ashtech.net/~syntax/blog/archives/114-If-you-wish-good-advice-.-.-..html" rel="alternate" title="If you wish good advice . . ." />
        <author>
            <name>Daniel E. Markle</name>
            <email>syntax@ashtech.net</email>
        </author>
    
        <published>2008-03-22T17:19:17Z</published>
        <updated>2008-03-25T20:03:42Z</updated>
        <wfw:comment>http://www.ashtech.net/~syntax/blog/wfwcomment.php?cid=114</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://www.ashtech.net/~syntax/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=114</wfw:commentRss>
    
            <category scheme="http://www.ashtech.net/~syntax/blog/categories/6-Humor" label="Humor" term="Humor" />
    
        <id>http://www.ashtech.net/~syntax/blog/archives/114-guid.html</id>
        <title type="html">If you wish good advice . . .</title>
        <content type="xhtml" xml:base="http://www.ashtech.net/~syntax/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <img src="http://ashtech.net/~syntax/images/mother_advice.jpg" alt="If you wish good advice consult your mother" style="float: left; padding-right: 10px;" />I received this in a fortune cookie while eating at a chinese restaurant with my mother. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ashtech.net/~syntax/blog/archives/113-Chocolate-Easter-Egg-Season.html" rel="alternate" title="Chocolate Easter Egg Season" />
        <author>
            <name>Daniel E. Markle</name>
            <email>syntax@ashtech.net</email>
        </author>
    
        <published>2008-03-05T04:05:29Z</published>
        <updated>2008-03-05T17:38:08Z</updated>
        <wfw:comment>http://www.ashtech.net/~syntax/blog/wfwcomment.php?cid=113</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://www.ashtech.net/~syntax/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=113</wfw:commentRss>
    
            <category scheme="http://www.ashtech.net/~syntax/blog/categories/2-Life" label="Life" term="Life" />
    
        <id>http://www.ashtech.net/~syntax/blog/archives/113-guid.html</id>
        <title type="html">Chocolate Easter Egg Season</title>
        <content type="xhtml" xml:base="http://www.ashtech.net/~syntax/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <img src="http://ashtech.net/~syntax/images/2008_barner_egg.png" alt="2008 Barner's Church Easter Egg" style="float: left; padding: 6px;" />Another season of delicious chocolate egg-shaped confections is upon us.  Once upon a time there were wonderful ones available in my home town, but they started adding vegetable shortening to those as a filler.  That cheap concoction is disgusting, so I have been seeking a better variety.<br />
<br />
The wonderful sample shown here is a <em>Peanut Butter/Chocolate Truffle</em> from St. John (Barner's) Lutheran Church.  A simple treat containing only peanut butter, corn syrup, and chocolate, these are quite delicious.  They are also reasonably sized, a nice side feature for those watching their waist. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ashtech.net/~syntax/blog/archives/112-PostgreSQL-and-Ruby-on-OS-X.html" rel="alternate" title="PostgreSQL and Ruby on OS X" />
        <author>
            <name>Daniel E. Markle</name>
            <email>syntax@ashtech.net</email>
        </author>
    
        <published>2008-02-27T15:14:44Z</published>
        <updated>2008-02-27T15:39:11Z</updated>
        <wfw:comment>http://www.ashtech.net/~syntax/blog/wfwcomment.php?cid=112</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://www.ashtech.net/~syntax/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=112</wfw:commentRss>
    
            <category scheme="http://www.ashtech.net/~syntax/blog/categories/1-Programming" label="Programming" term="Programming" />
    
        <id>http://www.ashtech.net/~syntax/blog/archives/112-guid.html</id>
        <title type="html">PostgreSQL and Ruby on OS X</title>
        <content type="xhtml" xml:base="http://www.ashtech.net/~syntax/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Here is the easiest process I have found for setting up <a href="http://ruby-lang.org">Ruby</a> and <a href="http://postgresql.org">PostgreSQL</a> on OS X Leopard at this time.<br />
<br />
I recommend <a href="http://www.postgresqlformac.com/">PostgreSQL for Mac</a> instead of fink as it is more actively maintained and easier to install.  Note that when downloading, use the alternate download not the Sourceforge links, as the Sourceforge download is not current and has issues.  This installer places the PostgreSQL CLI commands in <code>/Library/PostgreSQL8/bin/</code> and will auto-start PostgreSQL on system startup.  It includes some graphical tools, but I recommend ignoring them and and installing <a href="http://www.pgadmin.org/">pgAdmin III</a> if you want an administration GUI (I usually just use the CLI tools).<br />
<br />
Ruby has a couple PostgreSQL gems, I recommend <a href="http://rubyforge.org/projects/ruby-pg/">ruby-pg</a> which appears to be the only one actively maintained.  The easiest way to get it installed is to download the latest .gem, then run the following command to install it in the directory where you saved it (replace the version number as necessary):<br />
<br />
<code>PATH=$PATH:/Library/PostgreSQL/bin/ gem install pg-0.7.9.2008.02.05.gem</code><br />
<br />
Don't waste your time trying to find documentation for this gem online, point your browser at the documentation on your local machine, which for this version was at:<br />
<br />
<code>file:///Library/Ruby/Gems/1.8/doc/pg-0.7.9.2008.02.05/rdoc/index.html</code> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ashtech.net/~syntax/blog/archives/111-Firefox-3-Beta-3-Released.html" rel="alternate" title="Firefox 3 Beta 3 Released" />
        <author>
            <name>Daniel E. Markle</name>
            <email>syntax@ashtech.net</email>
        </author>
    
        <published>2008-02-13T18:29:32Z</published>
        <updated>2008-02-13T19:54:52Z</updated>
        <wfw:comment>http://www.ashtech.net/~syntax/blog/wfwcomment.php?cid=111</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.ashtech.net/~syntax/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=111</wfw:commentRss>
    
            <category scheme="http://www.ashtech.net/~syntax/blog/categories/7-Software" label="Software" term="Software" />
    
        <id>http://www.ashtech.net/~syntax/blog/archives/111-guid.html</id>
        <title type="html">Firefox 3 Beta 3 Released</title>
        <content type="xhtml" xml:base="http://www.ashtech.net/~syntax/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                The latest <a href="http://www.mozilla.com/en-US/firefox/all-beta.html">pre-release version of Firefox 3</a> is available.  As a main focus of this release, performance and memory usage are improved.  In particular Zimbra, the most heavyweight web application I use, has much better performance when used with this version.  A more native look and feel on OS X and Growl notification support are nice features too.  It is enough of an improvement that I do not intend to go back to version 2 after experiencing this pre-release.<br />
<br />
<img src="http://ashtech.net/~syntax/images/screens/ff3b3.png" alt="Top of screen of Firefox 3 beta 3" style="padding: 4px;" /> <br /><a href="http://www.ashtech.net/~syntax/blog/archives/111-Firefox-3-Beta-3-Released.html#extended">Continue reading "Firefox 3 Beta 3 Released"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ashtech.net/~syntax/blog/archives/110-Be-Careful-with-in-ProxyPass.html" rel="alternate" title="Be Careful with / in ProxyPass" />
        <author>
            <name>Daniel E. Markle</name>
            <email>syntax@ashtech.net</email>
        </author>
    
        <published>2008-02-05T23:06:26Z</published>
        <updated>2008-02-05T23:06:26Z</updated>
        <wfw:comment>http://www.ashtech.net/~syntax/blog/wfwcomment.php?cid=110</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.ashtech.net/~syntax/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=110</wfw:commentRss>
    
            <category scheme="http://www.ashtech.net/~syntax/blog/categories/3-System-Administration" label="System Administration" term="System Administration" />
    
        <id>http://www.ashtech.net/~syntax/blog/archives/110-guid.html</id>
        <title type="html">Be Careful with / in ProxyPass</title>
        <content type="xhtml" xml:base="http://www.ashtech.net/~syntax/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I use the built-in Apache 2.2 ajp ProxyPass support when deploying Tomcat and JBoss applications via Apache.  When doing so, be careful your slashes match up or you can have subtle problems with applications which use redirects.  For example, I was deploying a <a href="http://jspwiki.org">JSPWiki</a> but having an odd problem with authentication where logins would seem to fail but then work fine if I manually reloaded the page.  I was using this Apache configuration:<br />
<br />
<code>ProxyPass           /webdevwiki  ajp://127.0.0.1:8009/webdevwiki/<br />
ProxyPassReverse    /webdevwiki  ajp://127.0.0.1:8009/webdevwiki/</code><br />
<br />
This appeared to work fine, but when logging in an extra slash would get added to the Login.jsp redirection page.  This kept the redirect to the main page from working, causing it to reload the Login.jsp infinitely even though login had been successful.  A manual click of the reload button fixed the site, with authentication and all other functions working until trying to log in again.<br />
<br />
<code>ProxyPass           /webdevwiki  ajp://127.0.0.1:8009/webdevwiki<br />
ProxyPassReverse    /webdevwiki  ajp://127.0.0.1:8009/webdevwiki</code><br />
<br />
Removing the extra slashes as shown fixed this issue. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.ashtech.net/~syntax/blog/archives/109-New-Living-Room-Windows.html" rel="alternate" title="New Living Room Windows" />
        <author>
            <name>Daniel E. Markle</name>
            <email>syntax@ashtech.net</email>
        </author>
    
        <published>2008-02-02T00:06:38Z</published>
        <updated>2008-02-02T00:06:38Z</updated>
        <wfw:comment>http://www.ashtech.net/~syntax/blog/wfwcomment.php?cid=109</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.ashtech.net/~syntax/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=109</wfw:commentRss>
    
            <category scheme="http://www.ashtech.net/~syntax/blog/categories/2-Life" label="Life" term="Life" />
    
        <id>http://www.ashtech.net/~syntax/blog/archives/109-guid.html</id>
        <title type="html">New Living Room Windows</title>
        <content type="xhtml" xml:base="http://www.ashtech.net/~syntax/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <img src="http://ashtech.net/~syntax/images/newlrwindow.jpg" alt="New Window" style="float: left; padding-right: 5px; padding-bottom: 5px;" />After talking about it for a long time, we finally got new windows installed in the living room at Perry View Farm.  The old ones were leaking, difficult to open, and had failed seals causing moisture build-up between the panes.  <br />
<br />
Vinyl new construction windows from <a href="http://www.dovewindows.com/">Dove Windows</a> (5000 series), these are double hung models that replace the crank-out windows we had before.  The additional glass area due to the thinner sides and middle is the most noticeable difference, adding a lot more light and visibility to the room. 
            </div>
        </content>
        
    </entry>

</feed>