<?xml version="1.0"?>
<rss version="2.0"><channel><title>Smoof Blog</title>
<link>http://elder-gods.org/~larry/blog/</link>
<description>Smoof Blog archives</description>
<language>en</language>
<item><title>pwexport</title>
<link>http://elder-gods.org/~larry/blog/display/113</link>
<pubdate>Sat, 30 Jan 2010 05:22:48 GMT</pubdate>
<description>I made a command line &lt;a href=/~larry/pwexport.tgz&gt;password exporter&lt;/a&gt; for firefox.</description>
</item>
<item><title>Everglades</title>
<link>http://elder-gods.org/~larry/blog/display/112</link>
<pubdate>Wed, 02 Dec 2009 19:32:04 GMT</pubdate>
<description>&lt;p&gt;&lt;img style="width: 20em;" src=http://elder-gods.org/~larry/Pictures/glades/104_2740.jpg&gt;
&lt;img style="width: 20em;" src=http://elder-gods.org/~larry/Pictures/glades/104_2579.JPG&gt;
&lt;p&gt;&lt;img style="width: 20em;" src=http://elder-gods.org/~larry/Pictures/glades/104_2652.JPG&gt;
&lt;img style="width: 20em;" src=http://elder-gods.org/~larry/Pictures/glades/104_2661.JPG&gt;
&lt;p&gt;&lt;img style="width: 20em;" src=http://elder-gods.org/~larry/Pictures/glades/104_2694.JPG&gt;
&lt;img style="width: 20em;" src=http://elder-gods.org/~larry/Pictures/glades/104_2739.JPG&gt; 
</description>
</item>
<item><title>The Thing That Should Not Be</title>
<link>http://elder-gods.org/~larry/blog/display/111</link>
<pubdate>Tue, 17 Feb 2009 23:55:20 GMT</pubdate>
<description>

&lt;p&gt;This may be the most abominable and utterly insane function I have ever
had the misfortune to write.&lt;/p&gt;

&lt;pre&gt;
function oct = octify (n) 
    oct = sscanf (sprintf ('%o', n), '%d');
end
&lt;/pre&gt;

&lt;a href='http://www.mathworks.com/access/helpdesk/help/toolbox/comm/index.html?/access/helpdesk/help/toolbox/comm/ref/poly2trellis.html'
&gt;Thanks Matlab&lt;/a&gt;!</description>
</item>
<item><title>(Nearly) Perfect Lemon Chess Pie</title>
<link>http://elder-gods.org/~larry/blog/display/110</link>
<pubdate>Mon, 09 Feb 2009 03:06:07 GMT</pubdate>
<description>
&lt;p&gt;
I've been homing in on the perfect recipe for lemon chess pie.  I think I've 
made about six of them.  Here's the best one I've made so far: 
&lt;p&gt;
&lt;b&gt;For the crust:&lt;/b&gt;
&lt;ul&gt;
&lt;li&gt; 6 ounces &lt;em&gt;by weight&lt;/em&gt; of all purpose flour
&lt;li&gt; one stick of &lt;em&gt;very cold&lt;/em&gt; butter
&lt;li&gt; 1/2 teaspoon table salt
&lt;li&gt; &lt;em&gt;very cold&lt;/em&gt; water.  (I use a bar shaker to chill the water).
&lt;/ul&gt;
&lt;p&gt;
&lt;b&gt;For the filling:&lt;/b&gt;
&lt;ul&gt;
&lt;li&gt; 4 eggs
&lt;li&gt; 1.5 cups sugar
&lt;li&gt; 5 tablesppons melted butter
&lt;li&gt; 3 tablespoons cornmeal.  (I may use only 2 next time)
&lt;li&gt; juice and zest of two lemons
&lt;li&gt; a pinch of salt
&lt;/ul&gt;
&lt;p&gt;
&lt;b&gt;Preparation:&lt;/b&gt;
&lt;p&gt;Preheat the oven to 425.
Combine the flour and salt.  Cut the butter into the flour mixture with a pastry cutter.  
Do not use a food processor.   The butter chunks should be roughly pea sized.  Put the ice 
cold water into a spritz bottle.  Spray it on the flour mixture, toss the mixture, and spray again.
Continue spraying and tossing until the mixture comes together as a dough when you squeeze it 
in your hand.  It should still be somewhat crumbly.  Wrap it up in tin foil and press it flat.  
Leave it in the fridge for at least half an hour.  When you take it out it should be a good 
deal more dough-like.  Form the dough into a ball, trying to work it as little as possible.  You 
may have to knead it a few times to work in the crumbly bits, but the less kneading, the better.
Roll it out into a crust.  You'll need to frequently apply four and flip the dough to avoid stickage.
Put the crust in your pie pan, and dock it with a fork.  Cover it with parchment paper and cover
the parchment paper with pie weights, or dry beans, or rice.  Bake it for ten minutes.  Take off the
weights and parchment and bake it until it's just starting to brown, about another 10.  Take the crust
out and let it cool completely.  

&lt;p&gt;Lower the oven temperature to 350.  Once the crust is cool, beat the eggs and whisk in  the 
rest of the filling ingredients.  Fill up the pie.  You probably don't need the whole batch of filling.  
It's very lemony and rich so you really only want a thin layer.  I think I used about 2/3 of it.
Bake it until the top is slightly browned and a knife comes out clean, about 30-35 minutes.  Let the 
pie cool completly before eating.


</description>
</item>
<item><title>Bay Leaves</title>
<link>http://elder-gods.org/~larry/blog/display/109</link>
<pubdate>Sun, 18 Jan 2009 06:12:21 GMT</pubdate>
<description>&lt;p&gt;I smelled bay leaves for the first time in my life today.
I've been putting them in my food for years out of nothing more than habit.
Before today they smelled like nothing.  The bay I smelled today smelled amazing. 
I bought it at a spice store called Penzy's.  I think I'm going to start throwing
all my spices out and replacing them with fresh ones from there.  
</description>
</item>
<item><title>Sweet Limes</title>
<link>http://elder-gods.org/~larry/blog/display/107</link>
<pubdate>Tue, 25 Nov 2008 03:26:19 GMT</pubdate>
<description>&lt;p&gt;I found an odd fruit at the grocery store today labeled a "sweet lime".
They look like lemons, and the juice has a sweet, mild lemon flavor without
any tartness.  I tried cutting them into wedges and eating them like an orange, 
but I wouldn't recommend that.  The pulp is fibrous and bitter.  It's best 
to just use the juice.
</description>
</item>
<item><title>Customizing Firefox (without sputtering with rage)</title>
<link>http://elder-gods.org/~larry/blog/display/104</link>
<pubdate>Wed, 13 Aug 2008 21:45:49 GMT</pubdate>
<description>

&lt;p&gt;

If you have ever tried to figure out how to add a custom keybind to Firefox, 
you know it is a frustrating, infuriating, and futile task.  There is no reasonable way to do it.
There's a way that seems to have worked six years ago, and requires you to edit the firefox installation
instead of your profile.  There's extensions that might add the keybinds you want, but they all suck 
in one way or another.  There's an extension that lets you add keybinds with the GUI, but it stores them 
in your user prefs so there's no way to sync them between machines.  You could make your own extension, but 
then you have to figure out all the stupid boilerplate that extensions require and reinstall it every time you
make a change.

&lt;p&gt;

All I really want is a text file somewhere I can edit.  When I add a binding to emacs, I add a single line to a single 
text file.  The file is in a git repository, so syncing changes is easy.  This blissful state of affairs actually can be achieved 
in firefox; and here's how you do it:

&lt;p&gt; 
Firefox can load an extension from a path outside the profile directory.  So you just create an extension with your personal
customizations, and just edit it directly.  After you make a change you just restart firefox.  There's no need to make a XPI 
and install it. I keep mine in &lt;em id="code"&gt;~/config/dot-firefox&lt;/em&gt;.  
Aside from the boilerplate, there's just two files. 

&lt;p&gt;
&lt;em id="code"&gt;overlay.js&lt;/em&gt; for your javascript:
&lt;pre&gt;
// from mozless
function tabRelativeSelect(delta)
{
  var oldTab = gBrowser.selectedTab;
  var newTab = null;
  var length = gBrowser.tabContainer.childNodes.length;
  var index;
  for (index=0; index&amp;lt;length; index++) {
    if (gBrowser.tabContainer.childNodes[index] == oldTab) {
      var new_index = index + delta;
      if (new_index &amp;lt; 0) new_index += length;
      else if (new_index &gt;= length) new_index -= length;
      newTab = gBrowser.tabContainer.childNodes[new_index];
      break;
    }
  }
  if (newTab &amp;&amp; newTab != oldTab)
    gBrowser.selectedTab = newTab;
}
&lt;/pre&gt;


&lt;p&gt; and &lt;em id="code"&gt;overlay.xul&lt;/em&gt; for your XUL:

&lt;pre&gt;
&amp;lt;?xml version="1.0"?&gt;

&amp;lt;overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"&gt;
  &amp;lt;script src="overlay.js"/&gt;
  &amp;lt;keyset id="mainKeyset"&gt;
    &amp;lt;key key="k" oncommand="goDoCommand('cmd_scrollLineUp')" /&gt;
    &amp;lt;key key="h" oncommand="goDoCommand('cmd_scrollLeft')" /&gt;
    &amp;lt;key key="j" oncommand="goDoCommand('cmd_scrollLineDown')" /&gt;
    &amp;lt;key key="l" oncommand="goDoCommand('cmd_scrollRight')" /&gt;
    &amp;lt;key key="d" oncommand="goDoCommand('cmd_scrollPageDown')" /&gt;
    &amp;lt;key key="u" oncommand="goDoCommand('cmd_scrollPageUp')" /&gt;
    &amp;lt;key modifiers="shift" key="B" oncommand="BrowserBack()" /&gt;
    &amp;lt;key modifiers="shift" key="F" oncommand="BrowserForward()" /&gt;
    &amp;lt;key key="." oncommand="tabRelativeSelect(1)" /&gt;
    &amp;lt;key key="," oncommand="tabRelativeSelect(-1)" /&gt;
  &amp;lt;/keyset&gt;
&amp;lt;/overlay&gt;
&lt;/pre&gt;

&lt;p&gt; 
To get firefox to load it: 

&lt;pre&gt;
$ echo ~/config/dot-firefox &gt; $firefox_profile_dir/extensions/dot-firefox@elder-gods.org
&lt;/pre&gt;


&lt;p&gt;
 If you wanna see/copy the boilerplate, it's all in &lt;a href=http://elder-gods.org/~larry/repos/config&gt;this git repo&lt;/a&gt;.

</description>
</item>
<item><title>feedshow.com</title>
<link>http://elder-gods.org/~larry/blog/display/103</link>
<pubdate>Wed, 26 Mar 2008 05:51:52 GMT</pubdate>
<description>
If you know anything about this website please send me an email and tell me about it.  Thanks.
</description>
</item>
<item><title>Tuber Indicum</title>
<link>http://elder-gods.org/~larry/blog/display/102</link>
<pubdate>Mon, 17 Mar 2008 02:40:03 GMT</pubdate>
<description>&lt;p&gt;
I gave some canned Chinese truffles the same treatment as the 
Oregon blacks.  Don't bother with these.  They have almost no smell and no 
taste at all.

</description>
</item>
<item><title>Kototbuki again</title>
<link>http://elder-gods.org/~larry/blog/display/101</link>
<pubdate>Sun, 16 Mar 2008 17:08:40 GMT</pubdate>
<description>&lt;p&gt;
Kotobuki is tiny.  It's a converted townhouse that maybe seats 
25 people.  There's a stairway from the entrance up to the restaurant.
This stairway is filled with people waiting to get in.  If you don't want to 
wait, or if you have a big group, don't go here; but believe me 
the food there is worth waiting for.  Once you get in the service is quick.
There were four sushi chefs behind the counter and they were constantly busy, 
because there's also a constant stream of people picking up takeout orders.
Except for a few appetizers (which are great), all kotobuki serves is sushi and 
sashimi.  You can order a combo plate with some pre-chosen selection of sushi,  
but I really suggest you just get everything a la carte.  They give you a little
menu and you just mark down what you want on that.  Most nigiri here are only one 
dollar.  The uni and toro are $2.50.  It's all super-fresh and delicious.  The 
only thing I really didn't like was the crab, which was "krab".  My favorites 
were the eel, the toro, the scallop and the monkfish liver.  But really it was all 
great (except the krab).  Like I said, the best sushi I've had.  Also the cheapest; 
which is kinda strange.

</description>
</item>
<item><title>Truffles</title>
<link>http://elder-gods.org/~larry/blog/display/100</link>
<pubdate>Sun, 16 Mar 2008 05:27:40 GMT</pubdate>
<description>&lt;p&gt;
I went to Whole Foods and bought an ounce of Oregon black truffles
&lt;p&gt;
&lt;img width=40% src=http://elder-gods.org/~larry/Pictures/truffles/101_2572.JPG&gt;
&lt;p&gt;
I sliced 'em as thin as I could and tossed them with some linguine, butter, 
olive oil and Parmesan.
&lt;p&gt;
&lt;img width=40% src=http://elder-gods.org/~larry/Pictures/truffles/101_2574.JPG&gt;
&lt;p&gt;
The were, ..., nice.  I wouldn't say they knocked my socks off with truffleiciousness.  
They had a very strong smell when you held the whole ones up to your nose.  Once
they were in the pasta they had a very subtle effect.  Mostly in smell and not taste.
It was hard to describe, and nothing at all like truffle oil.  It was kind of musky, 
maybe mushroomy, i can't really describe it.  Truffly i guess.  Meghan thinks they smell like
bad button mushrooms.  All in all, I can't say I was really impressed.  I've had 
more delicious things in my time.  For something that costs $30 an ounce, and whose exalted
cousins cost ten times as much or more, I can't say I see the point.  Perhaps it wasn't truffles in
general, but these truffles.  I don't imagine the best truffles in Oregon wind up in the mushroom
case at whole foods next to the criminis.  Perhaps next winter I'll mail order some 
and try them again.



</description>
</item>
<item><title>kotobuki</title>
<link>http://elder-gods.org/~larry/blog/display/99</link>
<pubdate>Sat, 15 Mar 2008 03:41:59 GMT</pubdate>
<description>There may be better sushi places than kotobuki, but I wouldn't know 
because I've never been to one.  Seriously.  This place is awesome. 
Go there.  It rocks.


</description>
</item>
<item><title>Great Moments in Trolling Presents:</title>
<link>http://elder-gods.org/~larry/blog/display/98</link>
<pubdate>Tue, 11 Mar 2008 20:14:45 GMT</pubdate>
<description>

&lt;p&gt; &lt;a href=http://www.chowhound.com/topics/169497#907581&gt;where can obtain I fresh white truffle?&lt;/a&gt;

&lt;p&gt;It's the username that made me laugh out loud.


</description>
</item>
<item><title>Redneck Extension Cord</title>
<link>http://elder-gods.org/~larry/blog/display/97</link>
<pubdate>Tue, 04 Mar 2008 00:22:43 GMT</pubdate>
<description>

&lt;img width=40% src="http://elder-gods.org/~larry/Pictures/random/redneck_extension_cord.jpg"&gt;

</description>
</item>
<item><title>leg of lamb</title>
<link>http://elder-gods.org/~larry/blog/display/96</link>
<pubdate>Wed, 06 Feb 2008 16:35:37 GMT</pubdate>
<description>&lt;a href=http://chiaroscu.ro/#legoflamb&gt;awesome&lt;/a&gt;</description>
</item>
<item><title>Bread</title>
<link>http://elder-gods.org/~larry/blog/display/95</link>
<pubdate>Tue, 05 Feb 2008 20:34:50 GMT</pubdate>
<description>&lt;a href="http://www.amazon.com/gp/product/0312362919"&gt;This&lt;/a&gt; is a great book.  It tells you how to make bread.
</description>
</item>
<item><title>Awesome Couscous</title>
<link>http://elder-gods.org/~larry/blog/display/94</link>
<pubdate>Thu, 13 Dec 2007 03:55:14 GMT</pubdate>
<description>&lt;h3&gt;Couscous&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;1 cup couscous
&lt;li&gt;1 cup broth
&lt;li&gt;salt
&lt;li&gt;1 t grains of paradise, ground
&lt;li&gt;1/2 t cassia buds, ground
&lt;/ul&gt;

&lt;h3&gt;Zereshk&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;1 cup currants
&lt;li&gt;1 t saffron
&lt;li&gt;1 T lemon juice
&lt;li&gt;1 T sugar
&lt;li&gt;a touch of turmeric
&lt;li&gt;olive oil
&lt;/li&gt;

&lt;p&gt; 
Steep the saffron in a little boiling water.  Saute the Zereshk ingredients for a few minutes.
(stolen from &lt;a href="http://www.kotiposti.net/arman/2Iranfoodtachin.htm"&gt;here&lt;/a&gt;)
 
Bring the broth to a boil, combine all couscous ingredients and cover for 5 minutes or so.   
Fluff up the couscous with a fork and top with the Zereshk (probably not all of it) .  Perhaps it's better to add the spice to the couscous
after it is fluffed.  I'm not sure yet which approach is optimal.  Some butter in the couscous is also nice.

</description>
</item>
<item><title>Almost Vegetarian Thai coconut soup</title>
<link>http://elder-gods.org/~larry/blog/display/93</link>
<pubdate>Sat, 08 Dec 2007 23:42:01 GMT</pubdate>
<description>&lt;ul&gt;
&lt;li&gt;some button mushrooms
&lt;li&gt;olive oil
&lt;li&gt;eggplant, cut into pieces
&lt;li&gt;green onions, chopped
&lt;li&gt;2 12 oz cans of coconut mil
&lt;li&gt;2.5 cups of chicken broth
&lt;li&gt;2 stalks lemongrass, crushed
&lt;li&gt;20 thin slices of galangal
&lt;li&gt;two crushed handfuls of kefir lime leaves
&lt;li&gt;2 T fish sauce
&lt;li&gt;zest and juice of one lime
&lt;li&gt;some pepper corns
&lt;li&gt;some tiny Thai peppers.  some crushed, some thinly sliced.
&lt;li&gt;cilantro.
&lt;li&gt;salt, to taste
&lt;/ul&gt;

&lt;p&gt;
Salt the eggplant heavily and leave it sit for a while.  Squeeze it dry and rinse the salt off.
Fry the mushrooms in the olive oil.  Put everything in the pot (except cilantro) and simmer for 20 minutes or so.
Garnish with the cilantro when you serve it.  Don't eat the leaves, galangal or lemongrass.



</description>
</item>
<item><title>"Afghan" stew</title>
<link>http://elder-gods.org/~larry/blog/display/92</link>
<pubdate>Sat, 08 Dec 2007 01:27:34 GMT</pubdate>
<description>
&lt;h3&gt;the stew&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;lamb shank, de-boned, trimmed, cut into pieces
&lt;li&gt;half an onion
&lt;li&gt;mushrooms
&lt;li&gt;half a cup of lentils
&lt;li&gt;stock
&lt;li&gt;olive oil
&lt;li&gt;garlic, chopped 
&lt;li&gt;turmeric
&lt;li&gt;cinnamon (ceylon), ground
&lt;li&gt;chilis de arbol, ground
&lt;li&gt;cardamom, ground
&lt;/ul&gt;

&lt;h3&gt;yogurt topping&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;thick Greek style yogurt
&lt;li&gt;dried shallot, ground
&lt;li&gt;olive oil 
&lt;li&gt;salt
&lt;/ul&gt;

&lt;p&gt;
Brown the bone under the broiler.  Fry the onions and garlic with the spices.  Fry the lamb pieces.
Throw it all in a dutch oven and put it in the oven at 350 for an hour and a half.

&lt;p&gt;
It turned out pretty good.  Maybe use leg meat next time though.

</description>
</item>
<item><title>Great Little Programs</title>
<link>http://elder-gods.org/~larry/blog/display/89</link>
<pubdate>Tue, 03 Jul 2007 02:45:12 GMT</pubdate>
<description>
I often discover some opensource utility that solves a problem 
I've had for years, and I just say to myself "wow.  why didn't i 
know about this already?"  there's so much stuff out there
it's easy to overlook great programs even when they're exactly what
you need.  Here are a few that come to mind
&lt;dl&gt;
&lt;dt&gt; &lt;a href=http://www.gnu.org/software/findutils/&gt;xargs&lt;/a&gt;
&lt;dd&gt; move strings from it's standard input to the argument list of a command
&lt;dt&gt; &lt;a href=http://www.methylblue.com/filelight/&gt;filelight&lt;/a&gt;
&lt;dd&gt; visualize disk usage
&lt;dt&gt; &lt;a href=http://packages.debian.org/unstable/admin/apt-file&gt;apt-file&lt;/a&gt;
&lt;dd&gt; search for .deb packages that contain certain file names
&lt;dt&gt; &lt;a href=http://hgbook.red-bean.com/hgbookch12.html#x16-26500012&gt;Mercurial Queues&lt;/a&gt;
&lt;dd&gt; manage and version control a set of patches against an upstream codebase
&lt;dt&gt; &lt;a href=http://k3b.plainblack.com/&gt;k3b&lt;/a&gt;
&lt;dd&gt; burn a cd without having to think about it
&lt;dt&gt; &lt;a href=http://amarok.kde.org/&gt;amarok&lt;/a&gt;
&lt;dd&gt; manage your music collection
&lt;/dd&gt;



</description>
</item>
</channel>
</rss>
