<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">
<title mode="escaped">Ed</title>
<link rel="alternate" type="text/html" href="http://blog.edsantiago.com" />
<modified>2007-10-29T11:01:47-06:00</modified>
<author>
<name>Ed</name>
<url>http://blog.edsantiago.com</url>
</author>
<entry>
<title mode="escaped">SOLVED: Perl "Argument ... isn't numeric in subroutine entry" warning</title>
<author>
<name>Ed</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.edsantiago.com/archives/2007/10/24/T07_28_45/" />
<id>http://blog.edsantiago.com/archives/2007/10/24/T07_28_45/</id>
<issued>2007-10-24T07:28:45-06:00</issued>
<modified>2007-10-24T07:28:45-06:00</modified>
<created>2007-10-24T07:28:45-06:00</created>
<dc:subject>Linux</dc:subject>
<content type="application/xhtml+xml" xml:lang="en" xml:space="preserve" mode="escaped">
<![CDATA[
Problem:
<br /><br />
<pre>   Argument "2.121_08" isn't numeric in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.8/MLDBM/Serializer/Data/Dumper.pm line 5</pre>
<br /><br />
Solution: You probably have <b><tt>-w</tt></b> in your hashbang line:
<br /><br />
<pre>    #!/usr/bin/perl -w</pre>
<br /><br />
Get rid of it.  Replace it with <b><tt>use warnings;</tt></b>
]]>
</content>
</entry>
<entry>
<title mode="escaped">La Crosse WS-2316 on Linux: Success</title>
<author>
<name>Ed</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.edsantiago.com/archives/2007/10/04/T14_04_19/" />
<id>http://blog.edsantiago.com/archives/2007/10/04/T14_04_19/</id>
<issued>2007-10-04T14:04:19-06:00</issued>
<modified>2007-10-04T14:04:19-06:00</modified>
<created>2007-10-04T14:04:19-06:00</created>
<dc:subject>Linux</dc:subject>
<content type="application/xhtml+xml" xml:lang="en" xml:space="preserve" mode="escaped">
<![CDATA[
For those of you Googling before buying: yes, it works!
<br /><br />
I've wanted a weather station for years.  When I saw the
<a href="http://www.lacrossetechnology.com/2316/index.php">La Crosse WS-2316</a>
in Costco this weekend for $90, I couldn't
resist buying it.
The good news is, it works perfectly fine on Linux (2.6.22).
The WS-2316 includes a USB-to-serial dongle which lsusb reports as:
<br /><br />
<pre>  Bus 004 Device 005: ID 0403:6001 Future Technology Devices International, Ltd 8-bit FIFO</pre>
<br /><br />
The driver for that is ftdi_sio:
<br /><br />
<pre>    Device Drivers -->
      USB Support  --->
        USB Serial Converter support --->
          USB FTDI Single Port Serial Driver (EXPERIMENTAL)</pre>
<br /><br />
Here's a udev rule you might want:
<br /><br />
<pre>   SUBSYSTEM=="tty", ATTRS{manufacturer}=="FTDI", SYMLINK="lacrosse", MODE="0666"</pre>
<br /><br />
This creates a <b>/dev/lacrosse</b> symlink to the appropriate
/dev/ttyUSBx.  This is especially important if you have
multiple USB-serial adapters.  I put that in
<b>/etc/udev/rules.d/99-local.rules</b> .  That's for a Gentoo
system; Debian and others may be different.
<br /><br />
You can use <a href="http://www.lavrsen.dk/twiki/bin/view/Open2300/WebHome">Open2300</a>
to talk to the station.  Open2300 is clean, simple, elegant, well
documented, and has a good API for writing your own tools.
UPDATE: Oct 29: If you're a Perl person, try my new
<a href="http://search.cpan.org/~esm/Device-LaCrosse-WS23xx-0.01/lib/Device/LaCrosse/WS23xx.pm">Device::LaCrosse::WS23xx</a>
<br /><br />
UPDATE: Oct 16: The honeymoon is over.  I'm a little disappointed
by the unit:
<br /><br />
<ul>
<li><b>Occasional bad data</b>. Between 1-3 times a day, one of
the data values is garbage.  For instance, outside temperature
goes to 136 or -20, or pressure goes to 4 or 40.  This could
be the Open2300 software, or the unit, or even the USB-to-serial
adapter.  I don't know, but it's frustrating.</li>
<li><b>No Wind Averaging</b>. Wind speed and direction are
instantaneous values, whatever the sensor happens to be
reading at the moment it is queried.  If you log every 5
minutes, you don't get a sense of what's really going on.
If you want to average, you need to hook up the wired
connection (wireless only updates every 2 minutes), log
wind speed/direction every 32 seconds, and make your own
averages.</li>
<li><b>Barometer doesn't work well at high altitude</b>.
The minimum pressure it handles is 22.44&nbsp;inHg, which
is about 29.70&nbsp;inHg relative at our elevation (7200 feet).  In
other words, we're right near its limit.  In
practice, readings around and below 29.80 seem flaky.</li>
<li><b>Poor display</b>.  The LCD display is poorly thought out.
There's no way to see outside temperature and rainfall simultaneously,
you need to push buttons until you get the desired reading.  But
time and date, which are pretty useless for those of us with
clocks, are constantly displayed.  In practice, I just fire up my
<a href="http://wx.edsantiago.com/">web page</a> instead of
looking at the LCD.</li>
</ul>
<br /><br />
You get what you pay for.  At $90, this was still a good deal.
More importantly, I can afford it while the $1,000
<a href="http://www.landfallnavigation.com/vantagepro2.html">Davis</a>
remains a distant dream.  I don't care that much about
pressure or wind speed: what I care about is rain, and
to a lesser degree temperature.  So I hope the rain gauge
works...
]]>
</content>
</entry>
<entry>
<title mode="escaped">Quote of the Day</title>
<author>
<name>Ed</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.edsantiago.com/archives/2007/08/29/T18_29_22/" />
<id>http://blog.edsantiago.com/archives/2007/08/29/T18_29_22/</id>
<issued>2007-08-29T18:29:22-06:00</issued>
<modified>2007-08-29T18:29:22-06:00</modified>
<created>2007-08-29T18:29:22-06:00</created>
<content type="application/xhtml+xml" xml:lang="en" xml:space="preserve" mode="escaped">
<![CDATA[
<blockquote>"In normal circumstances, people who turn their backs
on reality are soon set straight by the mockery and criticism of
those around them, which makes them aware they have lost
credibility.  In the Third Reich there were no such correctives,
especially for those who belonged to the upper stratum.  On the
contrary, every self-deception was multiplied as in a hall of
distorting mirrors, becoming a repeatedly confirmed picture
of a fantastical dream world which no longer bore any
relationship to the grim outside world"
<br /><br />
-- Albert Speer, <i>Inside the Third Reich: Memoirs</i>, as quoted in
<i>Mistakes Were Made (but not by <u>me</u>)</i></blockquote>
]]>
</content>
</entry>
<entry>
<title mode="escaped">A Thread of Grace</title>
<author>
<name>Ed</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.edsantiago.com/archives/2007/08/19/T15_16_51/" />
<id>http://blog.edsantiago.com/archives/2007/08/19/T15_16_51/</id>
<issued>2007-08-19T15:16:51-06:00</issued>
<modified>2007-08-19T15:16:51-06:00</modified>
<created>2007-08-19T15:16:51-06:00</created>
<dc:subject>Books</dc:subject>
<content type="application/xhtml+xml" xml:lang="en" xml:space="preserve" mode="escaped">
<![CDATA[
"A million deaths is a statistic", but every death -- and life -- has
its tale.  Mary Doria Russell weaves a dark but rich tapestry
quietly filled with not one but countless threads of grace.
<br /><br />
The setting is Northern Italy during the Second World War.  Russell
picks up the disrupted lives of Jewish refugees escaping persecution
and of the people who shelter them.  Keeping a tight focus on a
small number of individuals illustrates the beauty of each life,
each thread.  Russell's quiet matter-of-fact voice suffuses each
tragedy with a significance that no other tone could match, each
character with an almost palpable nobility that makes the pages
feel alive.  Through these few lives and deaths we begin to
get a small sense of the unimaginable horror of WWII, of war
itself.
<br /><br />
"<a href="http://www.amazon.com/dp/0449004139">A Thread of Grace</a>" is
often brutal--not gory, but its
simple everyday narration is merciless.  This is a book
that will haunt me.
]]>
</content>
</entry>
<entry>
<title mode="escaped">Trima machines</title>
<author>
<name>Ed</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.edsantiago.com/archives/2007/08/04/T17_13_00/" />
<id>http://blog.edsantiago.com/archives/2007/08/04/T17_13_00/</id>
<issued>2007-08-04T17:13:00-06:00</issued>
<modified>2007-08-04T17:13:00-06:00</modified>
<created>2007-08-04T17:13:00-06:00</created>
<content type="application/xhtml+xml" xml:lang="en" xml:space="preserve" mode="escaped">
<![CDATA[
The new 
<a href="http://www.gambrobct.com/cps/rde/xchg/SID-3916ADC2-4C18B55B/gambro-bct/hs.xsl/Products_127_ENU_HTML.htm">Trima machines</a>
are a big success.  The staff were
so enthusiastic about them, and I can see why!  I loved
today's collection.
<br /><br />
The machine has a large, friendly screen that can be angled
toward the donor.  Entering donor info is simple, as is
deciding what to collect.  Based on my previous platelet
count, the ABQ office decided to draw two units of platelets
and one RBC (just the red, not whole).  So even though the
new machines are much faster -- the first unit of platelets
took only 50 minutes -- I still ended up spending a long
time, and wasn't able to make the 10:15 Vinyasa class at
<a href="http://www.bodyofsantafe.com/body_studioschedule.html">Body</a>.
<br /><br />
The procedure itself was much better than the old Haemonetics.
The cycle is 2 minutes draw, 30 seconds return, compared to
10/5 (or thereabouts) on the old machines.  There's also no
increased pressure on the cuff, and no need to stop squeezing.
And no need to count cycles: the Trima's display shows the
time left, as well as quantity of platelets/plasma/RBC
collected.  (Yes, I can look at the bags, but I don't have
a feel for how full they need to be).  Rocio's only
complaint?  "I don't have enough to do."
<br /><br />
The new machines are on tour this month, on a trial basis
for the mobile units.  I hope they work out well: I really
liked my experience today, and three units for the cost
(time) of one certainly seems worthwhile.
]]>
</content>
</entry>
<entry>
<title mode="escaped">Over Easy Cafe</title>
<author>
<name>Ed</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.edsantiago.com/archives/2007/08/04/T16_54_09/" />
<id>http://blog.edsantiago.com/archives/2007/08/04/T16_54_09/</id>
<issued>2007-08-04T16:54:09-06:00</issued>
<modified>2007-08-04T16:54:09-06:00</modified>
<created>2007-08-04T16:54:09-06:00</created>
<dc:subject>Food</dc:subject>
<content type="application/xhtml+xml" xml:lang="en" xml:space="preserve" mode="escaped">
<![CDATA[
Today's NYT crossword utterly humiliated me.  UBS had their
new Trima machines set up -- and they are wonderful indeed --
but instead of a quicker draw I got to do a double
platelet and single red cell donation.  83 minutes, not
counting the stick and takedown, and most of that was
spent staring in frustration at a barely filled in grid.
Byron Walden, I concede.  You have bested me.
<br /><br />
Afterward, I was consoled by a Grande Handheld breakfast
burrito -- chorizo green -- at 
<a href="http://www.overeasycafe.net/breakfast/">Over Easy Cafe</a> right next
to UBS.  This place really knows how to make a good burrito:
crisp cubed browns, not soggy shredded potatoes.  Tasty eggs,
tender and fluffy and voluminous.  Excellent chorizo.  The
chile was weak today, but we all have our off days (the chile
last month was perfect).  Second Breakfast at Over Easy has
become something to look forward to on the first Saturday
of each month.  
]]>
</content>
</entry>
<entry>
<title mode="escaped">Was It Fun?</title>
<author>
<name>Ed</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.edsantiago.com/archives/2007/07/31/T11_02_58/" />
<id>http://blog.edsantiago.com/archives/2007/07/31/T11_02_58/</id>
<issued>2007-07-31T11:02:58-06:00</issued>
<modified>2007-07-31T11:02:58-06:00</modified>
<created>2007-07-31T11:02:58-06:00</created>
<content type="application/xhtml+xml" xml:lang="en" xml:space="preserve" mode="escaped">
<![CDATA[
Over at Marginal Revolution, Tyler Cowen offered a
<a href="http://www.marginalrevolution.com/marginalrevolution/2007/07/how-to-get-a-pe.html">personalized podcast</a> 
to anyone preordering his new book
<a href="http://www.amazon.com/Discover-Your-Inner-Economist-Incentives/dp/0525950257/ref=pd_bbs_sr_1/002-5524518-4871206?ie=UTF8&s=books&qid=1185275530&sr=8-1/marginalrevol-20">Discover your Inner Economist</a>.
I preordered one simply because I like his writing and his
personality, and because I expect to learn from it.
I didn't actually have a question, but this sentence from his
offer nagged at me:
<br /><br />
<pre>        I believe this will be fun for me.  </pre>
<br /><br />
...so at the last minute I sent him my question: "Was it?"  I
was curious because we humans are so often lousy at predicting
what we will or will not enjoy.
<br /><br />
Tyler has just
<a href="http://www.mercatus.org/repository/audioLib/20070731_Q_55.mp3">replied</a>,
in more depth and with more feeling than I expected.  He even liked
my question.  Listen for yourself to see if he did indeed have fun.
Then
<a href="http://www.amazon.com/Discover-Your-Inner-Economist-Incentives/dp/0525950257/ref=pd_bbs_sr_1/002-5524518-4871206?ie=UTF8&s=books&qid=1185275530&sr=8-1/marginalrevol-20">go buy your own copy</a>.
<br /><br />
His reply satisfied me.  I look forward to receiving his book
and to his <a href="http://www.marginalrevolution.com/">continued postings</a>.
]]>
</content>
</entry>
<entry>
<title mode="escaped">Sweet Swan, continued</title>
<author>
<name>Ed</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.edsantiago.com/archives/2007/07/26/T21_18_01/" />
<id>http://blog.edsantiago.com/archives/2007/07/26/T21_18_01/</id>
<issued>2007-07-26T21:18:01-06:00</issued>
<modified>2007-07-26T21:18:01-06:00</modified>
<created>2007-07-26T21:18:01-06:00</created>
<dc:subject>Books</dc:subject>
<content type="application/xhtml+xml" xml:lang="en" xml:space="preserve" mode="escaped">
<![CDATA[
Robin Williams answered my question even before her lecture,
even before I asked it, as she signed my book: Yes, she has
eagerly searched for counterevidence, for anything that will 
refute her claim of Sidney's authorship.  Yet all she finds
is more evidence in favor -- including new facts learned
after the printing of her book.
<br /><br />
What do her detractors say?  Not the close-minded emotiotards
who get apoplectic at the suggestion that Shakspere / Oxford /
Marlowe / Flintstone isn't The One True Author.  What is the
best argument against Sidney?  And on the flip side, what
next from Williams?  This is the most promising idea of
all the ones I've seen: it's parsimonious, elegant, and
feels right. I'm so curious to see what the next few
years will bring.
]]>
</content>
</entry>
<entry>
<title mode="escaped">Sweet Swan of Avon</title>
<author>
<name>Ed</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.edsantiago.com/archives/2007/07/25/T15_08_22/" />
<id>http://blog.edsantiago.com/archives/2007/07/25/T15_08_22/</id>
<issued>2007-07-25T15:08:22-06:00</issued>
<modified>2007-07-25T15:08:22-06:00</modified>
<created>2007-07-25T15:08:22-06:00</created>
<dc:subject>Books</dc:subject>
<content type="application/xhtml+xml" xml:lang="en" xml:space="preserve" mode="escaped">
<![CDATA[
The first part of the Shakespeare Authorship question--did the
man from Stratford-upon-Avon write the works bearing the name
William Shakespeare?--has pretty much been settled: No.  Few
people seriously claim that he did.
<br /><br />
The second part--who did?--is a doozy.  For years I've been
intrigued by the 
<a href="http://www.amazon.com/Mysterious-William-Shakespeare-Myth-Reality/dp/0939009676">Oxford</a> hypothesis, but bothered by the contortions required to believe it.
<br /><br />
In <a href="http://www.amazon.com/Sweet-Swan-Avon-Woman-Shakespeare/dp/0321426401">Sweet Swan of Avon: Did a Woman Write Shakespeare?</a>,
Robin P. Williams makes the case for <a href="http://www.marysidney.com/">Mary Sidney</a>,
sister of Philip Sidney.  And what a case it is!  Williams's research
is thorough, her argument convincing.  The chapter on Sources
includes a 16-page table documenting striking connections between
Sidney and many works known to have been sources for the plays.
Williams includes a beautiful chronology, and the events fit
Sidney's life in a way they don't for the other candidates.
<br /><br />
Williams speculates, but doesn't require suspension of
disbelief.  Her argument works, and feels <i>right</i>
in a way that others don't.  Williams will be speaking
at the Library on Thursday, and I'm eager to see her
presentation.
]]>
</content>
</entry>
<entry>
<title mode="escaped">Exquisite Timing</title>
<author>
<name>Ed</name>
</author>
<link rel="alternate" type="text/html" href="http://blog.edsantiago.com/archives/2007/07/12/T14_33_26/" />
<id>http://blog.edsantiago.com/archives/2007/07/12/T14_33_26/</id>
<issued>2007-07-12T14:33:26-06:00</issued>
<modified>2007-07-12T14:33:26-06:00</modified>
<created>2007-07-12T14:33:26-06:00</created>
<dc:subject>Food</dc:subject>
<content type="application/xhtml+xml" xml:lang="en" xml:space="preserve" mode="escaped">
<![CDATA[
I was pretty sure this was a no-nuts recipe, but there it was
on the baking sheet as I took out today's second batch of
shortbread: a lone hex nut with a sheared-off piece of bolt
inside it.
<br /><br />
"If the recipe didn't call for nuts", I reasoned, "I wouldn't
have put in nuts".  Besides, I usually prefer pecans.  So where
did this nut come from and why didn't I notice it on the baking
sheet when I put it <i>into</i> the oven?  I resolved not to
rest until I had figured out this fiendish puzzle--or until I
got tired, whichever came first.
<br /><br />
Have you solved the mystery, dear reader?  You might, once I
give you one final clue: I need to spend most of tomorrow
and Saturday baking a wedding cake, so this would be a most
inauspicious time for the oven to break.  Yep, it's the
oven.  There are two bolts holding the back panel in place,
and both sheared off.
<br /><br />
Fortunately, the oven still works: I have 8 dishes of
creme brulee in there right now.  And even more fortunately,
Mike at Miele was able to find the parts and thinks I
can replace them myself.  They're sending me the parts
at no charge, even though the oven is well past warranty.
That's a huge savings over a service call.
]]>
</content>
</entry>
</feed>
