<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>danielbeck.net		</title> 
		<link>http://danielbeck.net</link>
		<description>				Photos and text from danielbeck.net		</description>
		<language>en-us</language>			<item>
				<title>One-click BootCamp activation using AppleScript and Keychain				</title> 
				<link>http://danielbeck.net/blog/1040.html
				</link>
				<guid>http://danielbeck.net/blog/1040.html
				</guid>
				<description>&lt;p&gt;Another in a series of &amp;#8220;I better post this before I forget how I did it&amp;#8221; code snippets.&lt;/p&gt;
&lt;p&gt;Switching from a bootcamp Windows partition back to OSX is easy; there&amp;#8217;s an icon in the system tray you can click and just choose &amp;#8220;restart in Mac OS X&amp;#8221;. Going the other way around is not so simple: you either have to open System Preferences, find Startup Disk, select your windows partition, and click Restart; or you have to reboot and hold down the Alt key and hope that it pops up the OS picker which I don&amp;#8217;t know about you but for me that only works about one time in ten &amp;#8212; most of the time it just goes straight back into OSX and I have to wait through the whole boot process before I can try again.&lt;/p&gt;
&lt;p&gt;You can download &lt;a href=&quot;http://www.kainjow.com/&quot;&gt;BootChamp&lt;/a&gt; if you don&amp;#8217;t mind cluttering your menubar with another icon, or &lt;a href=&quot;http://projectappletree.org/applications/Flipside/Flipside.html&quot;&gt;Flipside&lt;/a&gt; which is better than the default, but still not quite handsfree.&lt;/p&gt;
&lt;p&gt;Or you can save this AppleScript snippet as an application, and trigger it using Quicksilver or Spotlight or the Dock or however else you feel like doing it:&lt;/p&gt;
&lt;p&gt;&lt;pre&gt;do shell script &quot;bless -mount /Volumes/[your windows partition]/ -legacy -setBoot -nextonly&quot; password &quot;[your password]&quot; with administrator privileges
do shell script &quot;shutdown -r now&quot; with administrator privileges&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;(Omit the [brackets] and plug in your own windows partition and administrator password. Incidentally, if you want to change the name of your Windows partition, you can do that from inside Windows: go to My Computer, select the C: drive, right-click, &amp;#8220;Rename&amp;#8221;, etc.)&lt;/p&gt;
&lt;p&gt;Of course, now what you&amp;#8217;ve done is created a security hole by storing your admin password in plaintext. You could just leave the password out of the script, but that means you have to retype it every time you want to run Windows &amp;#8212; that&amp;#8217;s no fun. So if you don&amp;#8217;t want to live dangerously, use Keychain to manage the password for you; that&amp;#8217;s what it&amp;#8217;s for, after all.&lt;/p&gt;
&lt;p&gt;The process is only slightly convoluted:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Launch Keychain Access (in Applications/Utilities/).&lt;/li&gt;
&lt;li&gt;Create a new password item (in the file menu, or just hit apple-N.)&lt;/li&gt;
&lt;li&gt;Name the item &amp;#8220;Switch To Windows,&amp;#8221; or something equally memorable. Enter the username and password of an administrator account for the computer. (I&amp;#8217;ve only tested this using the same account that I&amp;#8217;m currently logged in as, but theoretically it should work with any valid admin username/password pair.)&lt;/li&gt;
&lt;li&gt;Save the password item and quit Keychain Access.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Now change your applescript to the following:&lt;/p&gt;
&lt;p&gt;&lt;pre&gt;tell application &quot;Keychain Scripting&quot;
    set myKey to first key of current keychain whose name is &quot;Switch To Windows&quot;
    set myUser to account of myKey
    set myPass to password of myKey
end tell

do shell script &quot;bless -mount /Volumes/[windows partition]/ -legacy -setBoot -nextonly&quot; user name myUser password myPass with administrator privileges
do shell script &quot;shutdown -r now&quot; with administrator privileges&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Save this as an application, and give it a fancy icon if you feel like it. The first time you run this it&amp;#8217;ll give you the standard &amp;#8220;such-and-such application is trying to read your keychain&amp;#8221; warning; click &amp;#8220;Always allow&amp;#8221; and from then on you&amp;#8217;ll be able to reboot into windows with one click.&lt;/p&gt;
						&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Photo: Good boy				</title> 
				<link>http://danielbeck.net/photos/1039.html
				</link>
				<guid>http://danielbeck.net/photos/1039.html
				</guid>
				<description>								&lt;p&gt;&lt;a href=&quot;http://danielbeck.net/photos/1039.html&quot;&gt;
									&lt;img src=&quot;http://danielbeck.net/img/pool/1039_thumbnail.gif&quot; border=&quot;0&quot;&gt;
								&lt;/a&gt;&lt;/p&gt;								&lt;a href=&quot;http://danielbeck.net/photos/1039.html&quot;&gt;[click to view full image]&lt;/a&gt;
														&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Why it&amp;#8217;s a waste of time to search for recipes on the internet				</title> 
				<link>http://danielbeck.net/blog/1038.html
				</link>
				<guid>http://danielbeck.net/blog/1038.html
				</guid>
				<description>&lt;p&gt;Even if you ignore all the recipes that are basically &amp;#8220;open a can/jar of whatever you&amp;#8217;re cooking. Heat. Serve&amp;#8221;, and the ones written by people under the mistaken impression that velveeta is made of food&amp;#8230;&lt;/p&gt;
&lt;p&gt;&amp;#8230;you still have to wade through recipes like &lt;a href=&quot;http://www.foodnetwork.com/recipes/robin-miller/baked-fish-n-chips-with-honey-vinegar-recipe/index.html&quot;&gt;this one&lt;/a&gt;, from which I quote the important part:&lt;/p&gt;
&lt;h4&gt;Ingredients&lt;/h4&gt;
&lt;p&gt;1 1/2 pounds cod fillets&lt;/p&gt;
&lt;h4&gt;Directions&lt;/h4&gt;
&lt;p&gt;Serve 1 pound of the fish and all of the potatoes with this meal. Reserve 1/2 pound fish for another recipe.&lt;/p&gt;
						&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Photo: Pigman&amp;#8217;s Property				</title> 
				<link>http://danielbeck.net/photos/1037.html
				</link>
				<guid>http://danielbeck.net/photos/1037.html
				</guid>
				<description>								&lt;p&gt;&lt;a href=&quot;http://danielbeck.net/photos/1037.html&quot;&gt;
									&lt;img src=&quot;http://danielbeck.net/img/pool/1037_thumbnail.jpg&quot; border=&quot;0&quot;&gt;
								&lt;/a&gt;&lt;/p&gt;&lt;p&gt;They&amp;#8217;ve torn down most of what used to be the &lt;a href=&quot;http://danielbeck.net/photos/archive/804.html&quot;&gt;pigman&amp;#8217;s&lt;/a&gt; land, but this fence is still there.&lt;/p&gt;
								&lt;a href=&quot;http://danielbeck.net/photos/1037.html&quot;&gt;[click to view full image]&lt;/a&gt;
														&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Photo: Ta-dah!				</title> 
				<link>http://danielbeck.net/photos/1036.html
				</link>
				<guid>http://danielbeck.net/photos/1036.html
				</guid>
				<description>								&lt;p&gt;&lt;a href=&quot;http://danielbeck.net/photos/1036.html&quot;&gt;
									&lt;img src=&quot;http://danielbeck.net/img/pool/1036_thumbnail.jpg&quot; border=&quot;0&quot;&gt;
								&lt;/a&gt;&lt;/p&gt;								&lt;a href=&quot;http://danielbeck.net/photos/1036.html&quot;&gt;[click to view full image]&lt;/a&gt;
														&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Photo: Branches				</title> 
				<link>http://danielbeck.net/photos/1035.html
				</link>
				<guid>http://danielbeck.net/photos/1035.html
				</guid>
				<description>								&lt;p&gt;&lt;a href=&quot;http://danielbeck.net/photos/1035.html&quot;&gt;
									&lt;img src=&quot;http://danielbeck.net/img/pool/1035_thumbnail.jpg&quot; border=&quot;0&quot;&gt;
								&lt;/a&gt;&lt;/p&gt;&lt;p&gt;For those looking closely, no, the photo is not upside-down. I guess the icicles formed before the tree fell over.&lt;/p&gt;
								&lt;a href=&quot;http://danielbeck.net/photos/1035.html&quot;&gt;[click to view full image]&lt;/a&gt;
														&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Photo: Our lawn, preserved in ice				</title> 
				<link>http://danielbeck.net/photos/1034.html
				</link>
				<guid>http://danielbeck.net/photos/1034.html
				</guid>
				<description>								&lt;p&gt;&lt;a href=&quot;http://danielbeck.net/photos/1034.html&quot;&gt;
									&lt;img src=&quot;http://danielbeck.net/img/pool/1034_thumbnail.jpg&quot; border=&quot;0&quot;&gt;
								&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This is how funky the weather has been. Every blade of grass on our lawn was coated in its own individual casing of ice.&lt;/p&gt;
								&lt;a href=&quot;http://danielbeck.net/photos/1034.html&quot;&gt;[click to view full image]&lt;/a&gt;
														&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Photo: Grumpy tree				</title> 
				<link>http://danielbeck.net/photos/1033.html
				</link>
				<guid>http://danielbeck.net/photos/1033.html
				</guid>
				<description>								&lt;p&gt;&lt;a href=&quot;http://danielbeck.net/photos/1033.html&quot;&gt;
									&lt;img src=&quot;http://danielbeck.net/img/pool/1033_thumbnail.jpg&quot; border=&quot;0&quot;&gt;
								&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I don&amp;#8217;t know why; that tree just looks grumpy to me.&lt;/p&gt;
								&lt;a href=&quot;http://danielbeck.net/photos/1033.html&quot;&gt;[click to view full image]&lt;/a&gt;
														&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Photo: Ice				</title> 
				<link>http://danielbeck.net/photos/1032.html
				</link>
				<guid>http://danielbeck.net/photos/1032.html
				</guid>
				<description>								&lt;p&gt;&lt;a href=&quot;http://danielbeck.net/photos/1032.html&quot;&gt;
									&lt;img src=&quot;http://danielbeck.net/img/pool/1032_thumbnail.jpg&quot; border=&quot;0&quot;&gt;
								&lt;/a&gt;&lt;/p&gt;								&lt;a href=&quot;http://danielbeck.net/photos/1032.html&quot;&gt;[click to view full image]&lt;/a&gt;
														&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Photo: Ice Storm				</title> 
				<link>http://danielbeck.net/photos/1031.html
				</link>
				<guid>http://danielbeck.net/photos/1031.html
				</guid>
				<description>								&lt;p&gt;&lt;a href=&quot;http://danielbeck.net/photos/1031.html&quot;&gt;
									&lt;img src=&quot;http://danielbeck.net/img/pool/1031_thumbnail.jpg&quot; border=&quot;0&quot;&gt;
								&lt;/a&gt;&lt;/p&gt;&lt;p&gt;That low-hanging branch on the left? That used to be a tree. Which stood upright.&lt;/p&gt;
&lt;p&gt;Ice is heavy.&lt;/p&gt;
								&lt;a href=&quot;http://danielbeck.net/photos/1031.html&quot;&gt;[click to view full image]&lt;/a&gt;
														&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>A few small catastrophes				</title> 
				<link>http://danielbeck.net/blog/1030.html
				</link>
				<guid>http://danielbeck.net/blog/1030.html
				</guid>
				<description>&lt;p&gt;There had been this new gurgling noise in the pipes for a few days, which I had chosen to ignore.&lt;/p&gt;
&lt;p&gt;Then the exterminator came upstairs and said hey, do you know you&amp;#8217;ve got a big puddle of water down in the basement? And in fact the furnace was in the center of its own small lake and the heating guy shook his head and shut all the valves and asked do you have any space heaters? So Emily and Stellan packed off to a friend&amp;#8217;s house for the night while I stay home to keep feeding the fireplace and hope it doesn&amp;#8217;t get cold enough outside to freeze any pipes.&lt;/p&gt;
&lt;p&gt;The ice storm starts in earnest at around eight o&amp;#8217;clock. This will make getting the new furnace up the hill tomorrow an interesting project, but that&amp;#8217;s tomorrow&amp;#8217;s problem.&lt;/p&gt;
&lt;p&gt;Some of this part is actually kind of fun, I have to admit &amp;#8212; it&amp;#8217;s the first time I&amp;#8217;ve been alone in the house for more than a few hours at a time since our son was born, and I get to turn the volume up on my videogame and play the drums in the living room and do all the things you do when you&amp;#8217;ve got the house to yourself.&lt;/p&gt;
&lt;p&gt;At eleven o&amp;#8217;clock the power goes out. This is inconvenient but not altogether surprising, and our house does look really beautiful by candlelight. No power means no water either, since the well pump won&amp;#8217;t run, but I do have a swimming pool and a bucket at my disposal, and therefore am able to flush the toilet. So that&amp;#8217;s good. It feels a little like camping.&lt;/p&gt;
&lt;p&gt;At 6:30 when I wake up because the fire has gone out, there&amp;#8217;s still no power and the automated emergency phone line promises restoration of service by midnight next Monday. For most customers. This is the power company&amp;#8217;s way of saying, dude, have you looked outside lately? It&amp;#8217;s a freaking ice storm out there. &lt;/p&gt;
&lt;p&gt;It is. Our road is a worst-case scenario of fallen branches and ice-coated trees bent double; I spend the morning cutting them apart with a handsaw and dragging them out of the way. (note to self: be better about keeping a supply of gasoline for the chainsaw.) &lt;/p&gt;
&lt;p&gt;It&amp;#8217;s not actively raining anymore, but the wind is picking up, and every few minutes I can hear another tree splintering its way to the ground somewhere in the woods. At one point a branch hits the ground just a few feet away from where I&amp;#8217;m standing. &lt;/p&gt;
&lt;p&gt;This is the point when I start questioning how long I can really continue living in a landscape that actively wants to kill me.&lt;/p&gt;
&lt;p&gt;The gas company explains that some roads are closed, but they&amp;#8217;ll take the long way around. I have to clear the road again before they arrive, because some new trees have fallen to block it once more, but eventually they get their trucks up to the house, use flashlights to install the new furnace, and finish just as it&amp;#8217;s getting dark outside. They tell me to call them when the power comes back on, so they can do the last bit of wiring and get the heat running again. I hadn&amp;#8217;t thought of that part.&lt;/p&gt;
&lt;p&gt;And so on. I could continue the play-by-play whingefest but it&amp;#8217;s not that interesting. It all could have been much worse: we still have a propane heater for the basement which works without electricity, which seems to be enough to keep the house above freezing at least, and Ethan convinced me that keeping my vigil with the fireplace really wasn&amp;#8217;t making much difference. So I (and my computer) have moved in with them too. It&amp;#8217;s obviously going to be a long time before power gets restored &amp;#8212; our whole town is out; powerlines are literally sitting on the ground in three different places I could see, and the spur line that runs to our house is down (and has a large tree leaning on it as well) so our place may be among the last to get lit up again. But the weather has warmed up, it&amp;#8217;s not snowing anymore, and we have good friends who are gracious hosts who have power and heat and water and frankly better internet connectivity than we have at home. So it could be a lot worse.&lt;/p&gt;
&lt;p&gt;This is all by way of saying that I&amp;#8217;m a little behind on my christmas shopping this year.&lt;/p&gt;
						&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Certain phonemes are scary				</title> 
				<link>http://danielbeck.net/blog/1029.html
				</link>
				<guid>http://danielbeck.net/blog/1029.html
				</guid>
				<description>&lt;p&gt;If you have nothing to talk about but the baby, may as well talk about the baby.&lt;/p&gt;
&lt;p&gt;A couple nights ago he cried, which is nothing new, except that for the first time he was obviously doing it on purpose instead of as an instinctive response to hunger or whatever. Using the sound of his own crying as a word, in an extremely low-vocabulary language. It didn&amp;#8217;t sound much like real crying because he&amp;#8217;d do it, then stop and look intently at us to see if it was getting any reaction, then do it again, then stop and study us again.&lt;/p&gt;
&lt;p&gt;That didn&amp;#8217;t last long; the very next day he discovered phonemes. Can&amp;#8217;t pronounce most of them yet, but you can see him thinking hard beforehand, and testing out different mouth shapes to see what different noises they make. &lt;/p&gt;
&lt;p&gt;Which naturally leads to his parents encouragingly trying to help him along by saying things to him like GOOOAAAAOOAAEEEEAAAEEE! EEE! Which might not be all that helpful in the long run.&lt;/p&gt;
&lt;p&gt;Last night we were having exactly that conversation, and after a while I started making other noises just to demonstrate that he could try something other than a long vowel every once in a while. Which had him &lt;em&gt;rapt&lt;/em&gt; with attention. Whistling: wow. Popping my lips: woooow. Every new noise I made was more fascinating than the last. Until I made one final noise (a sort of donald duck quacking sound) that is apparently, if you&amp;#8217;re eight weeks old, the most terrifying sound any living creature could possibly make. Either that or it was just one sound too many, as in &amp;#8220;I&amp;#8217;m never going to learn how to make all those noises! Never never never!&amp;#8221; ::pounds face on piano:: &lt;/p&gt;
&lt;p&gt;There was much wailing and tears, and that was the end of elocution lessons for the night.&lt;/p&gt;
						&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Signifiers of failure				</title> 
				<link>http://danielbeck.net/blog/1028.html
				</link>
				<guid>http://danielbeck.net/blog/1028.html
				</guid>
				<description>&lt;p&gt;One thing I have to stop doing is leaving my office full of signifiers of failure: little stacks of unfinished projects, piles of papers or tools.&lt;/p&gt;
&lt;p&gt;I go in there ready to do some work and immediately I&amp;#8217;m surrounded by things I meant to do or things I&amp;#8217;m putting off or things I know I&amp;#8217;ll never finish and the impetus to do whatever it was I was psyched about doing just drains away in the face of all those dusty stacks, all those tasks undone.&lt;/p&gt;
						&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Photo: I can never reset this now				</title> 
				<link>http://danielbeck.net/photos/1027.html
				</link>
				<guid>http://danielbeck.net/photos/1027.html
				</guid>
				<description>								&lt;p&gt;&lt;a href=&quot;http://danielbeck.net/photos/1027.html&quot;&gt;
									&lt;img src=&quot;http://danielbeck.net/img/pool/1027_thumbnail.jpg&quot; border=&quot;0&quot;&gt;
								&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I went to set my alarm clock for the first time since Stellan was born, and discovered that the stopwatch, which we had been using to time Emily&amp;#8217;s contractions, has been running since, well, the beginning of Emily&amp;#8217;s contractions. This photo is already out of date; as I post this it&amp;#8217;s up to 1,027 hours and 35 minutes.&lt;/p&gt;
&lt;p&gt;(This also means we have a record of the contractions themselves &amp;#8212; they started out less than two minutes apart, and stayed right there for the two hours it took for us to decide it was time to go to the hospital. Fun times.)&lt;/p&gt;
								&lt;a href=&quot;http://danielbeck.net/photos/1027.html&quot;&gt;[click to view full image]&lt;/a&gt;
														&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Photo: Stellan does not like his halloween costume				</title> 
				<link>http://danielbeck.net/photos/1026.html
				</link>
				<guid>http://danielbeck.net/photos/1026.html
				</guid>
				<description>								&lt;p&gt;&lt;a href=&quot;http://danielbeck.net/photos/1026.html&quot;&gt;
									&lt;img src=&quot;http://danielbeck.net/img/pool/1026_thumbnail.jpg&quot; border=&quot;0&quot;&gt;
								&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This one&amp;#8217;s a keeper; I can show it to his prom date.&lt;/p&gt;
								&lt;a href=&quot;http://danielbeck.net/photos/1026.html&quot;&gt;[click to view full image]&lt;/a&gt;
														&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Photo: Emily is unfazed by Stellan&amp;#8217;s opinion				</title> 
				<link>http://danielbeck.net/photos/1025.html
				</link>
				<guid>http://danielbeck.net/photos/1025.html
				</guid>
				<description>								&lt;p&gt;&lt;a href=&quot;http://danielbeck.net/photos/1025.html&quot;&gt;
									&lt;img src=&quot;http://danielbeck.net/img/pool/1025_thumbnail.jpg&quot; border=&quot;0&quot;&gt;
								&lt;/a&gt;&lt;/p&gt;								&lt;a href=&quot;http://danielbeck.net/photos/1025.html&quot;&gt;[click to view full image]&lt;/a&gt;
														&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>COINCIDENCE???				</title> 
				<link>http://danielbeck.net/blog/1024.html
				</link>
				<guid>http://danielbeck.net/blog/1024.html
				</guid>
				<description>&lt;p&gt;Obama gets elected president. Mere days later, our baby smiles for the first time. COINCIDENCE?? You be the judge.&lt;/p&gt;
&lt;p&gt;In other news, babies are kind of boring.&lt;/p&gt;
&lt;p&gt;Seriously. Once you get over the fact that they&amp;#8217;re really tiny and cute, and that their fingers and toes are even tinier and cuter, and that sometimes they wave them around in tiny cute ways, there&amp;#8217;s not a whole lot of entertainment value to be had. &lt;/p&gt;
&lt;p&gt;There are only so many times you can sit there and watch your kid intently try to stuff his hand in his mouth and miss and poke his eye with his elbow instead and then flail around in frustration a little bit and then try sort of nudging that arm towards the mouth using the other hand except that the other hand isn&amp;#8217;t any more coordinated than the first one was so he flails around in frustration again and screams once or twice for good measure and then accidentally whacks the hand into his mouth and is so obviously startled that he immediately drops it again, which is admittedly all kinds of funny the first six or seven times it happens. &lt;/p&gt;
&lt;p&gt;But I am seriously ready for the guy to learn English already, so we can have a decent conversation. &lt;/p&gt;
&lt;p&gt;Or at least so I can tell him to be quiet already, because I &lt;em&gt;heard&lt;/em&gt; him screaming and I&amp;#8217;m &lt;em&gt;getting&lt;/em&gt; the bottle out &lt;em&gt;now&lt;/em&gt;, it&amp;#8217;s &lt;em&gt;on the way&lt;/em&gt;, &lt;em&gt;message received&lt;/em&gt;, so there is &lt;em&gt;no need&lt;/em&gt; to keep complaining so loudly because it&amp;#8217;s early and I haven&amp;#8217;t had my coffee yet either. Actually I can tell him that, and often do. But it doesn&amp;#8217;t seem to make much difference. Other than making me feel stupid for arguing with someone who&amp;#8217;s only six weeks old.&lt;/p&gt;
&lt;p&gt;Some more milestones, while we&amp;#8217;re at it:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I got some work done. Actual thinky-type work, of the paid variety. &lt;/li&gt;
&lt;li&gt;I read a book. This is probably the longest I&amp;#8217;ve gone without reading something since I learned to read. It (Consider the Lobster) was a very good book, and made me feel a tiny bit sorry for John McCain. I&amp;#8217;m also about halfway through Anathem, which is nowhere near as complex &amp;#8212; nor as good &amp;#8212; as I&amp;#8217;d heard it would be. &lt;/li&gt;
&lt;li&gt;Last night was my first bout of insomnia since Stellan&amp;#8217;s birth. This is good news, because it&amp;#8217;s a result of the fact that he now routinely sleeps about 8 hours a night, which everyone except my mother-in-law tells me is bizarre and unheard of at this age. But it&amp;#8217;s bad news because it means I haven&amp;#8217;t been cured of my chronic insomnia. But it&amp;#8217;s good news because it was only up-till-1am insomnia, not up-till-dawn insomnia.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So these are all getting-back-to-normal kinds of milestones. Which is good. Because I&amp;#8217;m kind of starting to think about being ready for that to happen.&lt;/p&gt;
						&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>How we voted				</title> 
				<link>http://danielbeck.net/blog/1023.html
				</link>
				<guid>http://danielbeck.net/blog/1023.html
				</guid>
				<description>&lt;p&gt;I posted this elsewhere, but it makes me happy and I want to remember it. So I&amp;#8217;m posting it here too.&lt;/p&gt;
&lt;p&gt;It was a warm and sunny day for November, so Emily and I decided to walk to our polling place &amp;#8212; The town hall / library / post office is about a mile down the road. It took a while to get our act together enough to leave the house &amp;#8212; she needed to shower, I needed to eat, Stellan needed to eat, she needed to eat, I needed to shower, he needed to eat again, etc&amp;#8230; it wasn&amp;#8217;t until about two o&amp;#8217;clock that I finally slung him over my shoulder (we have a stroller, but it seemed silly to drive down the road to where the pavement starts) and we had a pleasant walk through town. &lt;/p&gt;
&lt;p&gt;On the way we passed a snowmobile for sale ($300), another snowmobile for sale ($200), and two 1950&amp;#8217;s trucks for sale, one pickup, the other dump. (I don&amp;#8217;t remember how much they cost.)&lt;/p&gt;
&lt;p&gt;The polling place was staffed by five little old ladies, all of whom cooed over Stellan. I&amp;#8217;m pretty sure they&amp;#8217;re the same five little old ladies who are there for every election. There was no line, though there was one voter just arriving as we left, and two voters just leaving as we arrived, who also cooed over Stellan. Stellan spent most of this time asleep.&lt;/p&gt;
&lt;p&gt;Ballots in our town are simple folded sheets of paper with a square next to each printed name; to vote you draw an X using those little pencils you get at the mini golf place. They then go into an ancient-looking wooden box with an ornate handcrank and a mechanical counter on top. We were voters number 223 and 224 (in a town of population 700; I don&amp;#8217;t know whether that indicates unusually high turnout by that time of day or not.)&lt;/p&gt;
&lt;p&gt;On the way home Stellan got hungry and Emily got tired, so I walked up to the house and drove back down with the jeep to pick them up. Last thing I did before coming back up to the house was check the mailbox, in which was &lt;a href=&quot;https://subscribe.condenet.com/images_covers/cover_newyorker_190.jpg&quot;&gt;this perfect summary&lt;/a&gt; of my feelings about this election.&lt;/p&gt;
&lt;p&gt;This was the first election in which everyone I voted for won, everything I voted for passed, and everything I voted against didn&amp;#8217;t (except for prop 3, which I didn&amp;#8217;t really have strong feelings about). As a &lt;a href=&quot;http://www.metafilter.com/76255/Barack-Obama-is-the-next-President-of-the-United-States#2327263&quot;&gt;MetaFilter commenter&lt;/a&gt; put it: &amp;#8220;it&amp;#8217;s a good day in Massachusetts to be a pot-smoking racing greyhound who knows it&amp;#8217;s his civic duty to pay income taxes.&amp;#8221; &lt;/p&gt;
&lt;p&gt;It&amp;#8217;s the first time in a long time that I&amp;#8217;ve felt hopeful about our government, instead of deeply ashamed. There&amp;#8217;s a long road to go, yet, but this was a damn good first step.&lt;/p&gt;
						&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Clarification				</title> 
				<link>http://danielbeck.net/blog/1022.html
				</link>
				<guid>http://danielbeck.net/blog/1022.html
				</guid>
				<description>&lt;p&gt;A couple people who read this blog have mentioned &amp;#8220;Stellan sure cries a lot, doesn&amp;#8217;t he?&amp;#8221;&lt;/p&gt;
&lt;p&gt;The truth is, he really doesn&amp;#8217;t. There have only been a couple of instances of him crying for no apparent reason or for long periods of time; mostly he&amp;#8217;s a calm, quiet kid. I just write more about the crying because it&amp;#8217;s funnier than &amp;#8220;My baby! He is still asleep!&amp;#8221;&lt;/p&gt;
&lt;p&gt;Meanwhile, I have just had my first instance of waking up because I &lt;em&gt;dreamed&lt;/em&gt; he was crying for his morning bottle. Emily first did this weeks ago. This (like so many things) is a sign that she is a more attentive parent than I.&lt;/p&gt;
						&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Consider a cylindrical baby				</title> 
				<link>http://danielbeck.net/blog/1021.html
				</link>
				<guid>http://danielbeck.net/blog/1021.html
				</guid>
				<description>&lt;p&gt;Now with 30% more baby (by weight)!&lt;/p&gt;
&lt;p&gt;At birth, Stellan weighed 7 pounds, 3 ounces, and was 19.5 inches long (At some point the &amp;#8220;height&amp;#8221; dimension will replace &amp;#8220;length,&amp;#8221; which will later take on another meaning entirely, but we have not yet reached that point.) As of his latest pediatric appointment two days ago, he weighed 9 pounds 1.5 ounces, and had grown to 22 inches long.&lt;/p&gt;
&lt;p&gt;It&amp;#8217;s difficult if not impossible to obtain an accurate measure of the volumetric area of a baby: all babies hate Archimedes and deeply resent displacement by immersion; this is a well-documented fact. Fortunately, we can make a rough estimate by assuming a cylindrical baby, using the circumference of the head measured at birth as 34 cm, and currently at 36 cm. (Why the maternity nurse chose to switch units for length vs circumference is unknown to me. We&amp;#8217;ll continue in metric, because it&amp;#8217;s classier.) This will be a maximal estimate, as the head is &amp;#8212; memorably, to anyone present in the delivery room &amp;#8212; the largest-diameter portion of the human body, but it&amp;#8217;s good enough for our purposes. Anyway, it&amp;#8217;s all we&amp;#8217;ve got.&lt;/p&gt;
&lt;p&gt;[Incidentally, and I forgot to mention this before: by most measurements Stellan is close to or slightly larger than average; his head circumference, however, is in the bottom 10%. Meaning that either my son has a teeny-tiny brain, or a large portion of the world is populated primarily by bobblehead dolls.]&lt;/p&gt;
&lt;p&gt;A little half-remembered geometry, and Google, tells us that the volume of a cylindrical baby with circumference &lt;code&gt;c&lt;/code&gt; and length &lt;code&gt;l&lt;/code&gt; is &lt;code&gt;(c&lt;sup&gt;2&lt;/sup&gt;l) / (4&amp;pi;)&lt;/code&gt;, giving us an at-birth volume of 4,554 cm&lt;sup&gt;3&lt;/sup&gt; and a present-day volume of 5,827 cm&lt;sup&gt;3&lt;/sup&gt;. &lt;/p&gt;
&lt;p&gt;From this we can easily deduce that the density of our baby has remained constant from birth to the present day, at roughly 0.72 grams per cubic centimeter (or if you prefer 0.025 pounds per cubic inch, or 0.4 ounces per cubic inch). This is reassuring, as any non-constant trend in density could have unfortunate implications for our son&amp;#8217;s future buoyancy.&lt;/p&gt;
						&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Awesome games you can play with your baby				</title> 
				<link>http://danielbeck.net/blog/1020.html
				</link>
				<guid>http://danielbeck.net/blog/1020.html
				</guid>
				<description>&lt;p&gt;Fun for the whole family!&lt;/p&gt;
&lt;p&gt;When your baby is screaming uncontrollably, join right in, and narrate the baby&amp;#8217;s inner experience at peak volume! Use as much profanity as possible, for extra enjoyment! Like this: OH MY GOD OH GOD OH MY GOD HOLY CRAP YOUR HANDS ARE COLD WHY ARE YOU DOING THIS TO ME WHY OH GOD WHY WHY WHY STOP DON&amp;#8217;T TAKE AWAY THE SOFT THING DON&amp;#8217;T TAKE AWAY THE SOFT THING I NEED THE SOFT THING I NEED IT I NEED IT OH CRAP I DROPPED IT GODDAMN IT WHY AM I NAKED NOW FUCK ITS COLD OH GOD OH MY FUCKING GOD I&amp;#8217;M GOING TO PEE IN YOUR FACE RIGHT NOW IF YOU DON&amp;#8217;T PUT SOMETHING WARM ON ME RIGHT NOW OH GOD I&amp;#8217;M DYING WHY OH WHY SO COLD SO COLD&lt;/p&gt;
&lt;p&gt;Moms especially love it when you play this game while they&amp;#8217;re trying to have a nap.&lt;/p&gt;
&lt;p&gt;Alternatively, there&amp;#8217;s this:&lt;/p&gt;
&lt;p&gt;&lt;object width='448' height='336'&gt;&lt;param name='movie' value='http://www.glumbert.com/embed/babygym'&gt;&lt;/param&gt;&lt;param name='wmode' value='opaque'&gt;&lt;param name='allowFullScreen' value='true' /&gt;&lt;/param&gt;&lt;embed src='http://www.glumbert.com/embed/babygym' type='application/x-shockwave-flash' wmode='transparent' allowFullScreen='true' width='448' height='336'&gt;&lt;/embed&gt;&lt;/object&gt; &lt;/p&gt;
&lt;p&gt;[YouTube yanked the video; this version&amp;#8217;s blurrier but has the advantage of still existing]&lt;/p&gt;
						&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Mean Time				</title> 
				<link>http://danielbeck.net/blog/1019.html
				</link>
				<guid>http://danielbeck.net/blog/1019.html
				</guid>
				<description>&lt;p&gt;I&amp;#8217;ve been timing. You get about 20 minutes.&lt;/p&gt;
&lt;p&gt;From the time you set Stellan down to do something, to the time when he starts fussing and needs to be picked up again, that&amp;#8217;s about how much you can reliably count on having to yourself. Sometimes you&amp;#8217;ll luck out and get four hours, but since you can&amp;#8217;t ever predict when those four-hour stretches will occur, you can&amp;#8217;t plan on doing anything that will take longer than 20 minutes.&lt;/p&gt;
&lt;p&gt;Which means I&amp;#8217;ve gotten really efficient about certain tasks. Such as eating. We used to eat too quickly anyway, but now we can stuff down a full meal in approximately 5 minutes, which leaves a whole quarter of an hour for cleanup.&lt;/p&gt;
&lt;p&gt;And cleanup. My dish-washing method used to be leave them to pile up until you run out of dishes, and then do them all at once. Then for years it was let Emily do them. Those were good years. Now it&amp;#8217;s do them right away, get them in the dishwasher as soon as you&amp;#8217;ve finished eating, because that&amp;#8217;s all you&amp;#8217;re going to have time for anyway. (And it turns out that in terms of total energy expended per dish, this is much more efficient: the &amp;#8216;leave them in the sink&amp;#8217; strategy involves a lot of careful stacking for maximum sink density, as well as soaking to prevent hard-to-scrub-dried-on-crunchy-bits, plus inevitable scrubbing of dried-on-crunchy bits; all of which can be skipped now because there&amp;#8217;s no time for things to dry or get crunchy. I kind of knew this already, but pretended I didn&amp;#8217;t so I could leave them stacked up longer.)&lt;/p&gt;
&lt;p&gt;Some tasks I&amp;#8217;ve gotten so efficient at that I hardly do them at all. Shaving, for example. Or bathing. Most personal hygiene, in fact. But since I&amp;#8217;ve worked as a freelancer for a dozen years, that hardly counts as a change.&lt;/p&gt;
						&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Propaganda and Graphic Design				</title> 
				<link>http://danielbeck.net/blog/1018.html
				</link>
				<guid>http://danielbeck.net/blog/1018.html
				</guid>
				<description>&lt;p&gt;Look: it&amp;#8217;s a post that isn&amp;#8217;t about the baby!&lt;/p&gt;
&lt;p&gt;Historically, fascist and totalitarian regimes have had &lt;a href=&quot;http://members.telering.at/pat/poster1.htm&quot;&gt;pretty good&lt;/a&gt; graphic design, tending toward a clean, uncluttered style. The connection is so strong and well-known that it&amp;#8217;s a common source of &lt;a href=&quot;http://superpunch.blogspot.com/2008/10/forget-obama-donuts-and-bacon-are.html&quot;&gt;parody&lt;/a&gt; and even direct &lt;a href=&quot;http://www.americanthinker.com/blog/2008/04/obamas_posters_message_in_the.html&quot;&gt;criticism&lt;/a&gt; about Obama, who also has some pretty good designers.&lt;/p&gt;
&lt;p&gt;Should we consider it deliberate, then, that the current US administration has such an
&lt;a href=&quot;http://www.ncix.gov/images/publications/posters/tradesecrets_poster_100.jpg&quot;&gt;unbelievably&lt;/a&gt; &lt;a href=&quot;http://www.ncix.gov/images/publications/posters/tall_order_100.jpg&quot;&gt;cluttered&lt;/a&gt;, &lt;a href=&quot;http://www.ncix.gov/images/publications/posters/ourcountry_poster_100.jpg&quot;&gt;clip-art heavy&lt;/a&gt; &lt;a href=&quot;http://www.ncix.gov/images/publications/posters/2001dualfront_poster_100.jpg&quot;&gt;design aesthetic&lt;/a&gt;? &lt;/p&gt;
&lt;p&gt;(These are all from the &lt;a href=&quot;http://www.ncix.gov/publications/posters/index.html&quot;&gt;Office of the National Counterintelligence Executive&lt;/a&gt;; past hits include the &lt;a href=&quot;http://en.wikipedia.org/wiki/Image:IAO-logo.png&quot;&gt;Total Information Awareness&lt;/a&gt; logo and the original &lt;a href=&quot;http://www.historycommons.org/context.jsp?item=a112502homelandssecurity#a112502homelandssecurity&quot;&gt;Homeland Security&lt;/a&gt; design.)&lt;/p&gt;
						&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>Biology is unfair, part 2				</title> 
				<link>http://danielbeck.net/blog/1017.html
				</link>
				<guid>http://danielbeck.net/blog/1017.html
				</guid>
				<description>&lt;p&gt;I think I understand the origins of human civilization a little better now.&lt;/p&gt;
&lt;p&gt;From the very day Stellan was born &amp;#8212; from long before it, in fact &amp;#8212; Emily has had an obvious, and intense, emotional connection to him. To the point where just the sound of him crying causes her active physical discomfort. &lt;/p&gt;
&lt;p&gt;I haven&amp;#8217;t got that. I think the little guy&amp;#8217;s awfully cute, but my interactions with him so far are mostly logistical: insert food, remove diaper. While I&amp;#8217;m sure I&amp;#8217;ll develop that emotional connection with him over time, it just isn&amp;#8217;t there yet. Babies are born so unformed &amp;#8212; that whole idea of the fourth trimester is really dead on &amp;#8212; that at this point there&amp;#8217;s really not much personality there to connect with (and what is there is difficult to see, since he has no way to express it yet). So while I can intellectually relate to him as someone who is going to be a person someday, that deeper connection hasn&amp;#8217;t happened yet.&lt;/p&gt;
&lt;p&gt;One interpretation of this, of course, is that I&amp;#8217;m just a heartless and unfeeling person, but I hope you&amp;#8217;ll forgive me if I try not to dwell too much on that possibility. No, seriously, that isn&amp;#8217;t it. &lt;small&gt;No, really.&lt;/small&gt;&lt;/p&gt;
&lt;p&gt;What it is, I think, is biology screwing with our brains again. Emily&amp;#8217;s totally got the whole lioness-protecting-her-cubs thing going on: I don&amp;#8217;t know if it&amp;#8217;s hormones or the nine months of physical connection or some more subtle programming, but it&amp;#8217;s happening on an innate, prerational level that just isn&amp;#8217;t available to me. &lt;/p&gt;
&lt;p&gt;If this experience is at all common, then I am &lt;em&gt;completely&lt;/em&gt; understanding how it is we developed societies where the men go off hunting while the women stay home and take care of the kids. Because there have been more than a few occasions over the last few days when I&amp;#8217;d have &lt;em&gt;loved&lt;/em&gt; an excuse to grab a spear and head off into the wilderness for a while.&lt;/p&gt;
&lt;p&gt;Which is really difficult for me to accept, because ideologically I&amp;#8217;m completely opposed to that idea &amp;#8212; gender equality yay, biological determinism boo. I very much don&amp;#8217;t like the fact that blue-state-living, hippie-liberal me is basically re-enacting stone age social mores. But that seems to be how it&amp;#8217;s playing out anyway. I guess the challenge is going to be figuring out how to get past that stage and on to something more palatable as soon as possible.&lt;/p&gt;
						&lt;br /&gt;
				</description>
			</item>
					<item>
				<title>tiklooT::etalpmeT				</title> 
				<link>http://danielbeck.net/blog/1016.html
				</link>
				<guid>http://danielbeck.net/blog/1016.html
				</guid>
				<description>&lt;p&gt;Let&amp;#8217;s say, purely as a hypothetical of course, that you&amp;#8217;re using perl&amp;#8217;s Template::Toolkit to control an application&amp;#8217;s front end.&lt;/p&gt;
&lt;p&gt;Reasonable enough. Let&amp;#8217;s further posit that at a certain point in the application you realize that, while you of course know how to send variables and data from your perl scripts into your templates, you have no idea how to do the reverse: give your perl script access to the variables you defined inside the template.&lt;/p&gt;
&lt;p&gt;Let&amp;#8217;s assume that after quite a bit of googling you&amp;#8217;re starting to have the sinking feeling that you must be either Doing It Wrong or Missing Something Really Obvious, because there doesn&amp;#8217;t seem to be any discussion in the docs or on the net about what seems like it would be a really basic need.&lt;/p&gt;
&lt;p&gt;But then let&amp;#8217;s assume you somehow stumbled across this page. Now you no longer have the sinking feeling that you&amp;#8217;re Doing It Wrong. Instead you have the comfortable feeling that While You May Be Doing It Wrong, At Least One Person Out There Is Doing It Wrong The Same Way.
&lt;code&gt;&lt;xmp&gt;#!/usr/bin/perl
use Template;
use Template::Context;
my $context = Template::Context-&gt;new();
my $template = Template-&gt;new({ CONTEXT =&gt; $context });
$template-&gt;process(&quot;foo.tmpl&quot;);
my $global = $context-&gt;{STASH}-&gt;get(&quot;global&quot;);&lt;/xmp&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;In other words, create a template object with a local variable for its context; process the template containing the variables you want to read; and finally use Stash-&gt;get() to read whichever variables you&amp;#8217;re after.&lt;/p&gt;
&lt;p&gt;Why would you do this? In my case, I wanted to have a single config file for an application that would be used in lots of different contexts &amp;#8212; so I wanted to make a single config file containing all the variables that would differ between the various installations. These variables needed to be accessible in both the templates themselves and in the perl code which uses them.&lt;/p&gt;
&lt;p&gt;The Toolkit documentation makes it very clear how to define variables inside the templates, or to define them inside perl and then pass them on to the template. What&amp;#8217;s less clear is how to make them go the other way, to define the variables inside the template but read them from inside perl.&lt;/p&gt;
&lt;p&gt;Obviously I could&amp;#8217;ve (and possibly should&amp;#8217;ve) just defined them inside the perl script and passed them to the templates as needed. But then I&amp;#8217;d be modifying the scripts for every installation, which seemed to defeat the whole idea of using a template system.&lt;/p&gt;
&lt;p&gt;I&amp;#8217;m sure this is a no-brainer for regular users of Template Toolkit, but it took me long enough to work out that I figured it might be useful for somebody else. If it turns out I&amp;#8217;ve managed to find a really convoluted or inefficient way to do something that could be done much more simply, then let me know.&lt;/p&gt;
						&lt;br /&gt;
				</description>
			</item>
		
	</channel>
</rss>