<?xml version="1.0" encoding="utf-8"?>
<!-- generator="wordpress/1.5-beta-1 2005-01-25" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
>

<channel>
	<title>STR8BLOGGIN</title>
	<link>http://www.str8bloggin.com</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Thu, 20 Mar 2008 06:20:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5-beta-1 2005-01-25</generator>

		<item>
		<title>The dog that funk built</title>
		<link>http://www.str8bloggin.com/?p=5250</link>
		<comments>http://www.str8bloggin.com/?p=5250#comments</comments>
		<pubDate>Thu, 20 Mar 2008 01:18:58 +0000</pubDate>
		
	<category>Things that wail piteously</category>
		<guid>http://www.str8bloggin.com/?p=5250</guid>
		<description><![CDATA[Editor's note: This is actually a very old post, from around May of 2005 if I recall. I'm making it live now because it was too painful to make live before, but the attic needs to be swept out from time to time. I'm writing this even though Coco St. Coco doesn't read my site that often. I don't think he's really feeling the whole blogging craze. I'm hoping that maybe they have internet cafes in doggy heaven and they don't filter the websites of atheists. 
 I don't know if this is an obituary. You've been gone for almost a week. You could come back but a part of me lost hope. I stopped leaving the back door open ...]]></description>
			<content:encoded><![CDATA[	<p><i>Editor&#8217;s note:</i> This is actually a very old post, from around May of 2005 if I recall. I&#8217;m making it live now because it was too painful to make live before, but the attic needs to be swept out from time to time.</p>
	<p> I&#8217;m writing this even though Coco St. Coco doesn&#8217;t read my site that often. I don&#8217;t think he&#8217;s really feeling the whole blogging craze. I&#8217;m hoping that maybe they have internet cafes in doggy heaven and they don&#8217;t filter the websites of atheists. </p>
	</p>
	<p> I don&#8217;t know if this is an obituary. You&#8217;ve been gone for almost a week. You could come back but a part of me lost hope. I stopped leaving the back door open in case you found your way home. It&#8217;s locked now. All the flyers we put up &#8212; hundreds of them &#8212; have fallen down cuz of these torrential rains. Did the rains keep you in the bushes, under cars, causing us to not spot you as we wandered the blocks of this new neighborhood endlessly, such a poor way to familiarize myself with it. </p>
	<p> You were the only A+ on the <a href="http://www.str8bloggin.com/?p=5158">list of things I own</a>. For two years, you were my best friend. You understood me more than anyone, which is to say you didn&#8217;t understand me at all, which is still more than anyone. The stairs in this big new house &#8212; the one that freaked you out so bad you had to run away &#8212; aren&#8217;t the same without the sounds of your little claws clittering up ahead of me, ten times faster though you&#8217;re ten times smaller.</p>
	<p> My favorite memory of you is from early on. We went to Green Streets in The Grove and you ate so much bread and veal (so cruel) and so much other shit. You ate more than your own weight. When we got up to leave, you ran into the restaurant and to the horror of everyone around took a big shit right inside the door. An act of pure uncaring defiance. Those are the moments I remember most. </p>
	<p> I don&#8217;t know if you&#8217;re dead or if you&#8217;re bringing the same joy to another family that you brought to mine. In any case, I love you and I will never forget you. I&#8217;ll keep some food around in case you decide to come home.</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.str8bloggin.com/wp-commentsrss2.php?p=5250</wfw:commentRSS>
	</item>
		<item>
		<title>Secure browser sessions by proxying through SSH</title>
		<link>http://www.str8bloggin.com/?p=5422</link>
		<comments>http://www.str8bloggin.com/?p=5422#comments</comments>
		<pubDate>Tue, 08 May 2007 18:26:44 +0000</pubDate>
		
	<category>Things that beep and buzz</category>
		<guid>http://www.str8bloggin.com/?p=5422</guid>
		<description><![CDATA[
Download Putty and Puttygen
Run Puttygen
Create a private key; save it somewhere on your harddrive. Don't bother with encrypting/passwording it.
Copy the public key (shown in the box) with Ctrl-C
Login to the server you want to proxy through, as normal, with Putty
Edit .ssh/authorized_keys - you may have to create the .ssh folder
Paste your public key on one long line into the file and then log out of the server
Load your Putty settings for the site
On the left, go to Connection -> Data and enter your username where it says "Autologin Username"
On the left, go to Connection -> SSH -> Auth, and select your private key
On the left, go to Connection -> SSH -> Tunnels, type source port 1080 (or whatever you want), ...]]></description>
			<content:encoded><![CDATA[	<ol>
	<li>Download Putty and Puttygen
</li>
	<li>Run Puttygen
</li>
	<li>Create a private key; save it somewhere on your harddrive. Don&#8217;t bother with encrypting/passwording it.
</li>
	<li>Copy the public key (shown in the box) with Ctrl-C
</li>
	<li>Login to the server you want to proxy through, as normal, with Putty
</li>
	<li>Edit .ssh/authorized_keys - you may have to create the .ssh folder
</li>
	<li>Paste your public key on one long line into the file and then log out of the server
</li>
	<li>Load your Putty settings for the site
</li>
	<li>On the left, go to Connection -> Data and enter your username where it says &#8220;Autologin Username&#8221;
</li>
	<li>On the left, go to Connection -> SSH -> Auth, and select your private key
</li>
	<li>On the left, go to Connection -> SSH -> Tunnels, type source port 1080 (or whatever you want), &#8220;dynamic&#8221; remote, and click &#8220;Add&#8221;
</li>
	<li>Go back to the main settings panel and be sure to save your settings
</li>
	<li>Doubleclick the settings; you should login automatically without a password
</li>
	<li>Go into your Firefox and select localhost:1080 as the SOCKS proxy for all your connections.
</li>
</ol>
]]></content:encoded>
			<wfw:commentRSS>http://www.str8bloggin.com/wp-commentsrss2.php?p=5422</wfw:commentRSS>
	</item>
		<item>
		<title>Birds are smart</title>
		<link>http://www.str8bloggin.com/?p=5421</link>
		<comments>http://www.str8bloggin.com/?p=5421#comments</comments>
		<pubDate>Mon, 07 May 2007 13:11:17 +0000</pubDate>
		
	<category>Things that cause confusion or sadness</category>
		<guid>http://www.str8bloggin.com/?p=5421</guid>
		<description><![CDATA[The complex intellect of ravens has me rethinking my recent dietary changes to be more morality-compliant. I gave up red meat but kept chicken, and I'm starting to think I may have to axe the fowl entirely. Dohhh. ]]></description>
			<content:encoded><![CDATA[	<p><a href="http://www.spiegel.de/international/spiegel/0,1518,476266,00.html">The complex intellect of ravens</a> has me rethinking my recent dietary changes to be more morality-compliant. I gave up red meat but kept chicken, and I&#8217;m starting to think I may have to axe the fowl entirely. Dohhh.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.str8bloggin.com/wp-commentsrss2.php?p=5421</wfw:commentRSS>
	</item>
		<item>
		<title>Goodbye, Digg</title>
		<link>http://www.str8bloggin.com/?p=5420</link>
		<comments>http://www.str8bloggin.com/?p=5420#comments</comments>
		<pubDate>Tue, 01 May 2007 20:23:50 +0000</pubDate>
		
	<category>Things that beep and buzz</category>
		<guid>http://www.str8bloggin.com/?p=5420</guid>
		<description><![CDATA[I don't need you selling your users to your sponsors over a few hex digits. Reddit has a better algorithm anyway.

Oh, and 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0. ]]></description>
			<content:encoded><![CDATA[	<p>I don&#8217;t need you selling your users to your sponsors over a few hex digits. <a href="http://www.reddit.com/">Reddit</a> has a better algorithm anyway.</p>
	<p>Oh, and 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.str8bloggin.com/wp-commentsrss2.php?p=5420</wfw:commentRSS>
	</item>
		<item>
		<title>FreeBSD users having trouble with pecl?</title>
		<link>http://www.str8bloggin.com/?p=5419</link>
		<comments>http://www.str8bloggin.com/?p=5419#comments</comments>
		<pubDate>Mon, 29 Jan 2007 00:27:54 +0000</pubDate>
		
	<category>Things that beep and buzz</category>
		<guid>http://www.str8bloggin.com/?p=5419</guid>
		<description><![CDATA[For a while I've had sporadic problems with pecl (PHP's binary module building tool, part of PEAR) not working properly. Usually the error was:
[root@host ~]# pecl install memcache

Fatal error: Call to undefined function preg_match() in /usr/local/share/pear/PEAR/Frontend/CLI.php on line 70
Yet, preg_match() would work from other scripts - it is part of pcre, which was installed.
The problem is this. pcre is included via extensions.ini. That's why it usually works. However, pecl for some reason deliberately turns off .ini file inclusion (that includes extensions.ini) when it runs the php interpreter. I'm not sure what the objective was here but it's a problem on FreeBSD's shared library pcre.so.
The fix: edit the pecl script (usually /usr/local/bin/pecl) and remove the '-n' from the command line arguments. ]]></description>
			<content:encoded><![CDATA[	<p>For a while I&#8217;ve had sporadic problems with pecl (PHP&#8217;s binary module building tool, part of <a href="http://pear.php.net/">PEAR</a>) not working properly. Usually the error was:</p>
	<p><code>
<pre>[root@host ~]# pecl install memcache
	
Fatal error: Call to undefined function preg_match() in /usr/local/share/pear/PEAR/Frontend/CLI.php on line 70</pre>
</code></p>
	<p>Yet, preg_match() would work from other scripts - it is part of pcre, which was installed.</p>
	<p>The problem is this. pcre is included via extensions.ini. That&#8217;s why it usually works. However, pecl for some reason deliberately turns off .ini file inclusion (that includes extensions.ini) when it runs the php interpreter. I&#8217;m not sure what the objective was here but it&#8217;s a problem on FreeBSD&#8217;s shared library pcre.so.</p>
	<p>The fix: edit the pecl script (usually /usr/local/bin/pecl) and remove the &#8216;-n&#8217; from the command line arguments.</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.str8bloggin.com/wp-commentsrss2.php?p=5419</wfw:commentRSS>
	</item>
		<item>
		<title>World&#8217;s Fastest Hummer H1</title>
		<link>http://www.str8bloggin.com/?p=5418</link>
		<comments>http://www.str8bloggin.com/?p=5418#comments</comments>
		<pubDate>Sat, 27 Jan 2007 17:30:45 +0000</pubDate>
		
	<category>Things that strut around sexily</category>
		<guid>http://www.str8bloggin.com/?p=5418</guid>
		<description><![CDATA[Check out this Hummer running the quarter mile in 12.8 seconds: ]]></description>
			<content:encoded><![CDATA[	<p>Check out this Hummer running the quarter mile in 12.8 seconds:<br /><object width="425" height="350"><br />
<param name="movie" value="http://www.youtube.com/v/FPF-rPe0M-M"></param>
<param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/FPF-rPe0M-M" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.str8bloggin.com/wp-commentsrss2.php?p=5418</wfw:commentRSS>
	</item>
		<item>
		<title>The party&#8217;s at MiamiNights.com</title>
		<link>http://www.str8bloggin.com/?p=5417</link>
		<comments>http://www.str8bloggin.com/?p=5417#comments</comments>
		<pubDate>Tue, 09 Jan 2007 11:21:17 +0000</pubDate>
		
	<category>Things that are unlike these things</category>
		<guid>http://www.str8bloggin.com/?p=5417</guid>
		<description><![CDATA[Dear disgusted former readers,

I recognize that obscure vector programming languages probably aren't what you came here to read. Please proceed over to www.miaminights.com to proceed with the gossip and trashing.
 ]]></description>
			<content:encoded><![CDATA[	<p>Dear disgusted former readers,</p>
	<p>I recognize that obscure vector programming languages probably aren&#8217;t what you came here to read. Please proceed over to <a href="http://www.miaminights.com/">www.miaminights.com</a> to proceed with the gossip and trashing.</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.str8bloggin.com/wp-commentsrss2.php?p=5417</wfw:commentRSS>
	</item>
		<item>
		<title>Microsoft: Developers are pawns</title>
		<link>http://www.str8bloggin.com/?p=5416</link>
		<comments>http://www.str8bloggin.com/?p=5416#comments</comments>
		<pubDate>Tue, 09 Jan 2007 11:20:16 +0000</pubDate>
		
	<category>Things that beep and buzz</category>
		<guid>http://www.str8bloggin.com/?p=5416</guid>
		<description><![CDATA[The truth comes out - Microsoft has never cared about the developers beyond using them as leverage in the battle for the platform. If anyone is surprised by this, they've been asleep for the past ten years. ]]></description>
			<content:encoded><![CDATA[	<p><a href="http://developers.slashdot.org/developers/07/01/09/0216251.shtml">The truth comes out</a> - Microsoft has never cared about the developers beyond using them as leverage in the battle for the platform. If anyone is surprised by this, they&#8217;ve been asleep for the past ten years.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.str8bloggin.com/wp-commentsrss2.php?p=5416</wfw:commentRSS>
	</item>
		<item>
		<title>Oh John Kerry, you wild douchebag</title>
		<link>http://www.str8bloggin.com/?p=5415</link>
		<comments>http://www.str8bloggin.com/?p=5415#comments</comments>
		<pubDate>Wed, 01 Nov 2006 17:53:25 +0000</pubDate>
		
	<category>Things that cause confusion or sadness</category>
		<guid>http://www.str8bloggin.com/?p=5415</guid>
		<description><![CDATA[God you fucking schmuck haven't you ruined liberalism enough? Please, make an ecocar out of granola and ride that shit to Darfur or something because I am so, so tired of you. OUT OF MY FACE! ]]></description>
			<content:encoded><![CDATA[	<p>God you fucking schmuck haven&#8217;t you ruined liberalism enough? Please, make an ecocar out of granola and ride that shit to Darfur or something because I am so, so tired of you. OUT OF MY FACE!
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.str8bloggin.com/wp-commentsrss2.php?p=5415</wfw:commentRSS>
	</item>
		<item>
		<title>K notes</title>
		<link>http://www.str8bloggin.com/?p=5414</link>
		<comments>http://www.str8bloggin.com/?p=5414#comments</comments>
		<pubDate>Tue, 06 Jun 2006 17:34:14 +0000</pubDate>
		
	<category>Things that beep and buzz</category>
		<guid>http://www.str8bloggin.com/?p=5414</guid>
		<description><![CDATA[K is a terse array-oriented programming language.

Download old, free interpreter here

Here's an intro

My notes, so far. Note that "monadic" means the operator takes one argument (! 10); dyadic means it takes two (2 ! 10).


 ~ monadically is NOT.
 _ is the monadic trunc operator. _ 10 = 10, _ 10.9 = 10 
 ! is the dyadic mod operator. 100 ! 2 = 0, 101 ! 2 = 1 
 | (pipe) is the monadic array reverse operator. | 1 2 3 = 3 2 1
 ? monadically is the array uniq operator. ? 1 2 3
1 2 3
? 1 2 3 1
1 2 3

 @ is the dyadic array index operator. names: `tom `bob `frank
names @ 0
`tom
names @ ...]]></description>
			<content:encoded><![CDATA[	<p>K is a terse array-oriented programming language.</p>
	<p><a href="http://cs.nyu.edu/cs/faculty/shasha/papers/klinux">Download old, free interpreter here</a></p>
	<p><a href="http://www.cs.nyu.edu/courses/fall02/G22.3033-007/kintro.html">Here&#8217;s an intro</a></p>
	<p>My notes, so far. Note that &#8220;monadic&#8221; means the operator takes one argument (<code>! 10</code>); dyadic means it takes two (<code>2 ! 10</code>).</p>
	<ul>
	<li> <code>~</code> monadically is NOT.
</li>
	<li> <code>_</code> is the monadic trunc operator. <code>_ 10</code> = 10, <code>_ 10.9</code> = 10 </li>
	<li> <code>!</code> is the dyadic mod operator. <code>100 ! 2</code> = 0, <code>101 ! 2</code> = 1 </li>
	<li> <code>|</code> (pipe) is the monadic array reverse operator. <code>| 1 2 3</code> = <code>3 2 1</code>
</li>
	<li> <code>?</code> monadically is the array uniq operator.<br />
<blockquote>? 1 2 3<br />
1 2 3<br />
? 1 2 3 1<br />
1 2 3
</p></blockquote>
	</li>
	<li> <code>@</code> is the dyadic array index operator.<br />
<blockquote>names: `tom `bob `frank<br />
names @ 0<br />
`tom<br />
names @ 1<br />
`bob<br />
names @ 2<br />
`frank</p></blockquote>
	</li>
	<li> <code>#</code> monadically is the array length operator. <code># 1 2 3</code> = 3. This is in Mr. Shasha&#8217;s primer. </li>
	<li> <code>#</code> dyadically is the array fill operator. <code>10 # 7</code> = <code>7 7 7 7 7 7 7 7 7 7</code></li>
	<li> Precedence is right to left; stupid. <code>#names % 2</code> is an error; <code>(#names) % 2</code> returns 1.5 as you&#8217;d expect.
</li>
	<li> <code>&#038;</code> monadically finds the indices of an array that match an expression.<br />
<blockquote>&#038; names = `frank<br />
,2<br />
&#038; ~ names = `frank<br />
0 1</p></blockquote>
	<p>FYI, <code>,2</code> means the same thing as PHP <code>array(1);</code> - an array with one element whose value is 2.
</li>
</ul>
	</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.str8bloggin.com/wp-commentsrss2.php?p=5414</wfw:commentRSS>
	</item>
	</channel>
</rss>
