<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Notes to self</title>
	<atom:link href="http://www.treese.org/win/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.treese.org/win</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 21 Jun 2010 22:51:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>NBC can&#8217;t do math</title>
		<link>http://www.treese.org/win/?p=109</link>
		<comments>http://www.treese.org/win/?p=109#comments</comments>
		<pubDate>Mon, 21 Jun 2010 22:51:41 +0000</pubDate>
		<dc:creator>Win</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.treese.org/win/?p=109</guid>
		<description><![CDATA[On a story tonight about large serving sizes of cheap food, NBC noted that the average dinner plate has gone from 9&#8243; in diameter in the 1960s to 12&#8243; today, &#8220;or 33% larger&#8221;. But, from a food point of view, it&#8217;s area that matters, and a 12&#8243; plate is 77% larger in area than a [...]]]></description>
			<content:encoded><![CDATA[<p>On a story tonight about large serving sizes of cheap food, NBC noted that the average dinner plate has gone from 9&#8243; in diameter in the 1960s to 12&#8243; today, &#8220;or 33% larger&#8221;. But, from a food point of view, it&#8217;s area that matters, and a 12&#8243; plate is 77% larger in area than a 9&#8243; plate (because area grows as the square of the radius).</p>
<p>Do the math, NBC!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.treese.org/win/?feed=rss2&amp;p=109</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intuit can&#8217;t download tax data from Intuit?</title>
		<link>http://www.treese.org/win/?p=107</link>
		<comments>http://www.treese.org/win/?p=107#comments</comments>
		<pubDate>Mon, 29 Mar 2010 23:19:26 +0000</pubDate>
		<dc:creator>Win</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.treese.org/win/?p=107</guid>
		<description><![CDATA[My business uses Paycycle, owned by Intuit, for processing payroll. But Turbotax, made by Intuit, can&#8217;t import W-2 data from Intuit.
What&#8217;s up with that?
Then again, Turbotax data import this year isn&#8217;t impressive. It crashes downloading from one brokerage, and gets mangled names for securities on another one.
]]></description>
			<content:encoded><![CDATA[<p>My business uses Paycycle, owned by Intuit, for processing payroll. But Turbotax, made by Intuit, can&#8217;t import W-2 data from Intuit.</p>
<p>What&#8217;s up with that?</p>
<p>Then again, Turbotax data import this year isn&#8217;t impressive. It crashes downloading from one brokerage, and gets mangled names for securities on another one.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.treese.org/win/?feed=rss2&amp;p=107</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programmers of the World, remove the hyphens!</title>
		<link>http://www.treese.org/win/?p=105</link>
		<comments>http://www.treese.org/win/?p=105#comments</comments>
		<pubDate>Fri, 22 Jan 2010 20:29:40 +0000</pubDate>
		<dc:creator>Win</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.treese.org/win/?p=105</guid>
		<description><![CDATA[Like many of you, I&#8217;ve written code for web sites. How hard is it to remove spaces and hyphens in credit card numbers and phone numbers? Usually, it&#8217;s a one-line regexp. And some test cases. Don&#8217;t forget the test cases.
People make measurably fewer mistakes when they can punctuate long number strings. It&#8217;s easy enough for [...]]]></description>
			<content:encoded><![CDATA[<p>Like many of you, I&#8217;ve written code for web sites. How hard is it to remove spaces and hyphens in credit card numbers and phone numbers? Usually, it&#8217;s a one-line regexp. And some test cases. Don&#8217;t forget the test cases.</p>
<p>People make measurably fewer mistakes when they can punctuate long number strings. It&#8217;s easy enough for us to let them do it.</p>
<p>So write the code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.treese.org/win/?feed=rss2&amp;p=105</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Loading JNI libraries on the Mac</title>
		<link>http://www.treese.org/win/?p=100</link>
		<comments>http://www.treese.org/win/?p=100#comments</comments>
		<pubDate>Mon, 18 Jan 2010 21:28:31 +0000</pubDate>
		<dc:creator>Win</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jni]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.treese.org/win/?p=100</guid>
		<description><![CDATA[I&#8217;ve been trying to build a simple JNI library from C code on the Mac (Snow Leopard). Compiling it seems pretty straightforward, but the Java library loader isn&#8217;t happy. I can call

System.load("/tmp/jnitest.jnilib");

which works fine, or

System.loadLibrary("jnitest")
// or
System.loadLibrary("jnitest.jnilib")

with java.library.path set to &#8220;/tmp&#8221;, which doesn&#8217;t work.
I&#8217;ve given up trying to understand it for now. I spent way too [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to build a simple JNI library from C code on the Mac (Snow Leopard). Compiling it seems pretty straightforward, but the Java library loader isn&#8217;t happy. I can call<br />
<code><br />
System.load("/tmp/jnitest.jnilib");<br />
</code><br />
which works fine, or<br />
<code><br />
System.loadLibrary("jnitest")<br />
// or<br />
System.loadLibrary("jnitest.jnilib")<br />
</code><br />
with <code>java.library.path</code> set to &#8220;/tmp&#8221;, which doesn&#8217;t work.</p>
<p>I&#8217;ve given up trying to understand it for now. I spent way too long googling on the Intertubes for information, which points to problems with Java 1.6 on Snow Leopard, but I didn&#8217;t find anything that was even consistent with  this behavior. On the other hand, I can at least make progress for the moment, since the JNI calls work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.treese.org/win/?feed=rss2&amp;p=100</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Browsing code with Aquamacs Emacs</title>
		<link>http://www.treese.org/win/?p=61</link>
		<comments>http://www.treese.org/win/?p=61#comments</comments>
		<pubDate>Tue, 15 Sep 2009 13:32:53 +0000</pubDate>
		<dc:creator>Win</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://www.treese.org/win/?p=61</guid>
		<description><![CDATA[.. -*- mode: rst -*-
I’m working with some C, C++, and Java code now, so it’s time to get Emacs set up to do that nicely on my Mac. Getting all the pieces working was trickier than I expected, so here are some notes about it. I wanted to get a working setup that includes [...]]]></description>
			<content:encoded><![CDATA[<p>.. -*- mode: rst -*-</p>
<p>I’m working with some C, C++, and Java code now, so it’s time to get Emacs set up to do that nicely on my Mac. Getting all the pieces working was trickier than I expected, so here are some notes about it. I wanted to get a working setup that includes ECB (the Emacs Code Browser) and JDEE (the Java Development Environment for Emacs). Both of them use CEDET (the Collection of Emacs Development Environment Tools).</p>
<p>1. Started off with a clean installation of Aquamacs, a nice adaptation of Emacs for Mac OS. The JDE plugin for Aquamacs is nice, but the current version of ECB needs a newer version of JDE, so I didn’t install the plugin.</p>
<p>2. Installed ant-contrib package for JDE to use::</p>
<p>         sudo port install ant-contrib</p>
<p>   Ant itself was already available.</p>
<p>3. Checked CEDET out of subversion::</p>
<p>       cvs -d:pserver:anonymous@cedet.cvs.sourceforge.net:/cvsroot/cedet login<br />
       cvs -z3 -d:pserver:anonymous@cedet.cvs.sourceforge.net:/cvsroot/cedet co -P cedet</p>
<p>4. Followed instructions in cedet/USING_CEDET_FROM_CVS (The Mac ships with a terminal-based version of Emacs 22, which is good enough to compile the CEDET Lisp files.)::</p>
<p>       cd cedet; make EMACS=emacs</p>
<p>5. I started off with the basic CEDET configuration from the setup page.</p>
<p>6. While I was at it, I installed Exuberant Ctags using MacPorts and enabled it in CEDET::</p>
<p>	(semantic-load-enable-primary-exuberent-ctags-support)</p>
<p>7. Started up Aquamacs to make sure everything is working. (It’s handy to run the terminal Emacs to work on the files while all this starting and exiting is going on&#8230;)</p>
<p>8. Now install JDE dependency elib: download from the JDE SourceForge site. I am using the source directory directly instead of installing the package on the system, so just run make in the directory, and add the directory to my own load-path.</p>
<p>9. Followed the directions in jde/doc/install.html</p>
<p>10. Create a ~/.jdee-config.properties file for Ant to use::</p>
<p>        cedet.dir=/Users/treese/devel/emacs-programming-environment/cedet<br />
        elib.dir=/Users/treese/devel/emacs-programming-environment/elib-1.0<br />
        prefix.dir=/Users/treese/devel/emacs-programming-environment/jde</p>
<p>11. Configure and build with ant (double-check the build.properties file after configure)::</p>
<p>        ant configure<br />
        ant build<br />
        ant dist</p>
<p>12. Add the dist directory to my load-path.</p>
<p>13. Add (load ”jde-autoload“) to Emacs startup.</p>
<p>14. Checkout ECB and byte-compile it::</p>
<p>        cvs -z3 -d:pserver:anonymous@ecb.cvs.sourceforge.net:/cvsroot/ecb co -P ecb<br />
        cd ecb<br />
        make CEDET=../cedet</p>
<p>    The CEDET value should be wherever you have CEDET installed. I just pointed it to the source directory I&#8217;m using.</p>
<p>15. Add the ECB directory to load-path. It&#8217;s easiest to then add::</p>
<p>        (require &#8216;ecb)</p>
<p>    for startup. I don&#8217;t start Emacs that much, so it&#8217;s cheap to do it that way. Besides, computers are fast now.</p>
<p>16. Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.treese.org/win/?feed=rss2&amp;p=61</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dear Dell: Stop the paper!</title>
		<link>http://www.treese.org/win/?p=59</link>
		<comments>http://www.treese.org/win/?p=59#comments</comments>
		<pubDate>Sat, 08 Aug 2009 02:41:07 +0000</pubDate>
		<dc:creator>Win</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.treese.org/win/?p=59</guid>
		<description><![CDATA[Dear Dell:
These days, we all want to cut costs. And save the environment. How about you do both at the same time?
Stop sending me paper mail. Postcards? Don&#8217;t need them. Catalogs? Likewise. If I need a Dell PC, I know where to go. (Frankly, I haven&#8217;t needed one in a while, since I mostly use [...]]]></description>
			<content:encoded><![CDATA[<p>Dear Dell:</p>
<p>These days, we all want to cut costs. And save the environment. How about you do both at the same time?</p>
<p>Stop sending me paper mail. Postcards? Don&#8217;t need them. Catalogs? Likewise. If I need a Dell PC, I know where to go. (Frankly, I haven&#8217;t needed one in a while, since I mostly use Macs, but I have bought them on occasion.) Actually, the last ones were for someone else.</p>
<p>I have followed your website instructions about 5 times over the past year, and it&#8217;s not getting through. I called another company about a similar problem, and they stopped. Calling doesn&#8217;t seem to work with you, Dell.</p>
<p>Heck, if you insist, I&#8217;ll even put up with getting emails from you. At least the bits get recycled. (And I can filter the email. Oops, forget I said that.)</p>
<p>Sincerely,</p>
<p>Don&#8217;t Want Paper</p>
]]></content:encoded>
			<wfw:commentRss>http://www.treese.org/win/?feed=rss2&amp;p=59</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#039;s next?</title>
		<link>http://www.treese.org/win/?p=53</link>
		<comments>http://www.treese.org/win/?p=53#comments</comments>
		<pubDate>Tue, 02 Jun 2009 03:15:15 +0000</pubDate>
		<dc:creator>Win</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.treese.org/win/?p=53</guid>
		<description><![CDATA[Last week, SiCortex ceased operations and started an asset sale process. There are various accounts around the net; CNET has a decent brief summary. I&#8217;ve been with SiCortex since just after it was funded in October, 2004, and it&#8217;s been a lot of fun. We had a great team, a fascinating product, and some of [...]]]></description>
			<content:encoded><![CDATA[<p>Last week, <a href="http://www.sicortex.com">SiCortex</a> ceased operations and started an <a href="http://boic.wordpress.com/2009/05/28/sale-of-sicortex-inc-including-its-intellectual-property-%E2%80%9Cip%E2%80%9D-in-whole-or-in-part-collectively-the-%E2%80%9Csicortex-assets%E2%80%9D/">asset sale process</a>. There are various accounts around the net; <a href="http://news.cnet.com">CNET</a> has a <a href="http://news.cnet.com/8301-11128_3-10250960-54.html">decent brief summary</a>. I&#8217;ve been with SiCortex since just after it was funded in October, 2004, and it&#8217;s been a lot of fun. We had a great team, a fascinating product, and some of the best customers anyone could hope to have. For the next short while, I&#8217;m still with the company to assist with the asset sale process.</p>
<p>After that, what&#8217;s next? I&#8217;m starting to look at several things, both new startups and established companies, and taking some time to do that. In the interim, I&#8217;ll be updating the site for my consulting company, <a href="http://www.serissa.com">Serissa Research</a>, and possibly taking on some new business there.</p>
<p>What&#8217;s interesting? I&#8217;m not really sure yet. One of the consequences of focusing on a startup for a while is the fading of what else is happening. And one of the consequences of a forced change is a chance to look around again to see what really is interesting, from many points of view&#8211;technology, business, and value. Some of what I&#8217;m looking at will show up here, and some of it shows up in my column in the ACM&#8217;s <em><a href="http://portal.acm.org/toc.cfm?id=1516035&amp;idx=J582&amp;type=issue&amp;coll=ACM&amp;dl=ACM&amp;part=magazine&amp;WantType=magazine&amp;title=netWorker&amp;CFID=37474985&amp;CFTOKEN=94438528">NetWorker</a> </em>magazine.</p>
<p>So drop me a note if you&#8217;ve got something interesting.</p>
<p>(Yes, I know the link to SiCortex above will be dead sometime soon. But you can&#8217;t not link on the web!)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.treese.org/win/?feed=rss2&amp;p=53</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning iPhoto 09</title>
		<link>http://www.treese.org/win/?p=19</link>
		<comments>http://www.treese.org/win/?p=19#comments</comments>
		<pubDate>Sat, 14 Feb 2009 16:34:20 +0000</pubDate>
		<dc:creator>Win</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.treese.org/win/?p=19</guid>
		<description><![CDATA[I&#8217;ve been playing with face recognition in iPhoto 09. It helps with tagging photos, but it wasn&#8217;t clear to me exactly how to get going with it. Curiously, there is no match for &#8220;face&#8221; in the Help, so that was not, um, helpful. Fortunately, Gizmodo is helpful, with &#8220;iPhoto &#8216;09: The Definitive Review and Tip [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing with face recognition in iPhoto 09. It helps with tagging photos, but it wasn&#8217;t clear to me exactly how to get going with it. Curiously, there is no match for &#8220;face&#8221; in the Help, so that was not, um, helpful. Fortunately, <a href="http://www.gizmodo.com">Gizmodo</a> is helpful, with <a href="http://i.gizmodo.com/5142596/iphoto-09-the-definitive-review-and-tip-sheet">&#8220;iPhoto &#8216;09: The Definitive Review and Tip Sheet&#8221;</a>.</p>
<p>Now iPhoto should be done guessing photos of my oldest daughter, so I&#8217;ll get back to telling it when it&#8217;s right.</p>
<p><em>Update: the problem was that the help cache was out of  date. Here&#8217;s </em><a href="http://www.tipstrs.com/tip/8131/Flush-the-Mac-help-cache"><em>how to clean it</em></a><em>. Now the mystery isn&#8217;t why there&#8217;s no help, but why this problem lingers so long in MacOS.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.treese.org/win/?feed=rss2&amp;p=19</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making vCards from an LDAP directory</title>
		<link>http://www.treese.org/win/?p=15</link>
		<comments>http://www.treese.org/win/?p=15#comments</comments>
		<pubDate>Wed, 11 Feb 2009 04:00:12 +0000</pubDate>
		<dc:creator>Win</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.treese.org/win/?p=15</guid>
		<description><![CDATA[We&#8217;ve got an LDAP directory at the office with names, phone numbers, and email addresses. It&#8217;s handy to get that all into my address book, which can import vCards. So here&#8217;s a Python script that does just that: ldap2vcard.
]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve got an LDAP directory at the office with names, phone numbers, and email addresses. It&#8217;s handy to get that all into my address book, which can import vCards. So here&#8217;s a Python script that does just that: <a href="http://www.treese.org/win/wp-content/uploads/2009/02/ldap2vcard.py">ldap2vcard</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.treese.org/win/?feed=rss2&amp;p=15</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web site rants, part 1</title>
		<link>http://www.treese.org/win/?p=7</link>
		<comments>http://www.treese.org/win/?p=7#comments</comments>
		<pubDate>Mon, 02 Feb 2009 00:58:54 +0000</pubDate>
		<dc:creator>Win</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.treese.org/win/?p=7</guid>
		<description><![CDATA[I&#8217;m sure this will be a regular feature (web site rants, that is).
The support web site for Canon printers (and probably other products) has a search timeout. I was trying to find some helpful information about how to get my Canon Pixma iP1600 to actually feed paper, instead of just grinding for a while. It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sure this will be a regular feature (web site rants, that is).</p>
<p>The support web site for Canon printers (and probably other products) has a search timeout. I was trying to find some helpful information about how to get my Canon Pixma iP1600 to actually feed paper, instead of just grinding for a while. It&#8217;s never been very good at doing that. I went away from the computer for a few minutes to see the block structure one of my daughters built. I come back, and the search session has timed out.</p>
<p>There are lots of web sessions I want to time out (my bank account comes to mind). But a search in the printer knowledge base? What&#8217;s up with that?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.treese.org/win/?feed=rss2&amp;p=7</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
