<?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>Standard Deviations &#187; Uncategorized</title>
	<atom:link href="http://parand.com/say/index.php/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://parand.com/say</link>
	<description>Parand Tony Darugar: A Cruel and Petty Dictator</description>
	<lastBuildDate>Wed, 11 Jan 2012 20:33:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Easy way to view cookies in Chrome</title>
		<link>http://parand.com/say/index.php/2011/07/27/easy-way-to-view-cookies-in-chrome/</link>
		<comments>http://parand.com/say/index.php/2011/07/27/easy-way-to-view-cookies-in-chrome/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 21:32:31 +0000</pubDate>
		<dc:creator>Parand</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://parand.com/say/?p=1152</guid>
		<description><![CDATA[Here&#8217;s an easy way to see the cookies for the current site in Chrome:

javascript:void(document.cookie=prompt(document.cookie,document.cookie));

Via stackoveflow.
]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s an easy way to see the cookies for the current site in Chrome:</p>
<pre><code>
javascript:void(document.cookie=prompt(document.cookie,document.cookie));
</code></pre>
<p>Via <a href="http://stackoverflow.com/questions/913296/how-to-see-cookie-information-of-chrome-browser" target="_blank">stackoveflow</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://parand.com/say/index.php/2011/07/27/easy-way-to-view-cookies-in-chrome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Preserve JavascriptDB: Yet Another Non-Traditional Data Store</title>
		<link>http://parand.com/say/index.php/2009/04/22/preserve-javascriptdb-yet-another-non-traditional-data-store/</link>
		<comments>http://parand.com/say/index.php/2009/04/22/preserve-javascriptdb-yet-another-non-traditional-data-store/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 09:12:13 +0000</pubDate>
		<dc:creator>Parand</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://parand.com/say/?p=796</guid>
		<description><![CDATA[Non-traditional data stores are coming fast and furious these days. Here&#8217;s another interesting one: Preserve with JavascriptDB. This one I&#8217;d like to check out.
]]></description>
			<content:encoded><![CDATA[<p>Non-traditional data stores are coming fast and furious these days. Here&#8217;s another interesting one: <a href="http://www.sitepen.com/blog/2009/04/20/javascriptdb-perseveres-new-high-performance-storage-engine/" target="_blank">Preserve with JavascriptDB</a>. This one I&#8217;d like to check out.</p>
]]></content:encoded>
			<wfw:commentRss>http://parand.com/say/index.php/2009/04/22/preserve-javascriptdb-yet-another-non-traditional-data-store/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On Magic Powers</title>
		<link>http://parand.com/say/index.php/2009/04/21/on-magic-powers/</link>
		<comments>http://parand.com/say/index.php/2009/04/21/on-magic-powers/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 00:52:17 +0000</pubDate>
		<dc:creator>Parand</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://parand.com/say/?p=604</guid>
		<description><![CDATA[As with most profound experiences in my life this took place on a late Southwest flight after a long, exhausting day. The young man seated a few seats away began to scream, threaten, move violently, and curse wildly as the plane took off.
The initial reaction of people close by was fear, disgust, and horror, followed [...]]]></description>
			<content:encoded><![CDATA[<p>As with most profound experiences in my life this took place on a late Southwest flight after a long, exhausting day. The young man seated a few seats away began to scream, threaten, move violently, and curse wildly as the plane took off.</p>
<p>The initial reaction of people close by was fear, disgust, and horror, followed by understanding, compassion, and finally by  a genteel unspoken agreement to pretend he doesn&#8217;t exist.</p>
<p>The young man suffered from Tourette&#8217;s syndrome.</p>
<p>I realized at that moment that taking offense is a <strong>choice</strong>.</p>
<p>We chose not to be offended by this young man due to his condition.</p>
<p>Knowing this I&#8217;ve gained a magic power. <strong>I can chose not to take offense</strong>. I can choose not to be bothered by things that really should bother me.</p>
<p>And once in a while I actually employ this power &#8211; instead of fuming and screaming bloody murder, sometimes I choose simply not to be offended and move on.</p>
<p>Not often enough though.</p>
]]></content:encoded>
			<wfw:commentRss>http://parand.com/say/index.php/2009/04/21/on-magic-powers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Twitter Scala/Ruby Drama</title>
		<link>http://parand.com/say/index.php/2009/04/06/twitter-scalaruby-drama/</link>
		<comments>http://parand.com/say/index.php/2009/04/06/twitter-scalaruby-drama/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 07:46:55 +0000</pubDate>
		<dc:creator>Parand</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[scala]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://parand.com/say/?p=784</guid>
		<description><![CDATA[The Twitter folks decide to use Scala, and one of their prominent developers decides to write a book about it. Interesting, motivates me to take a look at Scala.
Particularly interesting is their happiness with the type system in Scala. I&#8217;ve found happiness with duck typing, and these guys are moving away from duck typing to [...]]]></description>
			<content:encoded><![CDATA[<p>The Twitter folks decide to use Scala, and one of their prominent developers decides to write a book about it. Interesting, motivates me to take a look at Scala.</p>
<p>Particularly interesting is their happiness with the type system in Scala. I&#8217;ve found happiness with duck typing, and these guys are moving away from duck typing to something else, so another viewpoint for me to check out. Good.</p>
<p>But &#8211; blaspheme &#8211; they&#8217;re using Scala to replace Ruby. The Ruby community is incensed. Did these guys do their homework? Did they research every possible queuing system in existence before writing their own? Did they not try JRuby? Surely there&#8217;s a way to make it work with Ruby. These guys must be incompetent, lazy, or just plain stupid.</p>
<p>I&#8217;m not going to link to all the drama, but here is one of the <a href="http://unlimitednovelty.com/2009/04/twitter-blaming-ruby-for-their-mistakes.html" target="_blank">most reasonable, well written criticisms</a>.</p>
<p>Now this is a reasonable criticism, and the comments do provide a good bit of insight and justification. Heck, even one of the authors of RabbitMQ justifies why the Twitter guys decided not to use RabbitMQ.</p>
<p>Fine. But this thing with the Ruby community getting bent out of shape whenever someone decides to use another language is getting old. From all appearances the Twitter folks did much more evaluation and study than 95% of the rest of the world would have. They decided to use something else. They&#8217;re writing a book about it.</p>
<p>So <strong>move on</strong>. Somebody found something they like better than Ruby. Shocking.</p>
<p>Not everybody is going to like your system. I thought DHH had already expressed how <a href="http://blog.wekeroad.com/wp-content/uploads/2007/10/dhh-fu.jpg" target="_blank">he feels about what he judges to be extraneous requirements</a>. I think DHH meant he doesn&#8217;t care. Looks like the rest of the Ruby crowd cares deeply, religiously, fervently.</p>
]]></content:encoded>
			<wfw:commentRss>http://parand.com/say/index.php/2009/04/06/twitter-scalaruby-drama/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>San Jose San Fran Next Week, Drop Me A Line If You Want To Meet</title>
		<link>http://parand.com/say/index.php/2009/02/03/san-jose-san-fran-next-week-drop-me-a-line-if-you-want-to-meet/</link>
		<comments>http://parand.com/say/index.php/2009/02/03/san-jose-san-fran-next-week-drop-me-a-line-if-you-want-to-meet/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 18:06:52 +0000</pubDate>
		<dc:creator>Parand</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://parand.com/say/?p=751</guid>
		<description><![CDATA[The title pretty much says it; I&#8217;m planning an SJC/SF trip next week, if you want to meet or chat drop me a line &#8211; Darugar at gmail.
]]></description>
			<content:encoded><![CDATA[<p>The title pretty much says it; I&#8217;m planning an SJC/SF trip next week, if you want to meet or chat drop me a line &#8211; Darugar at gmail.</p>
]]></content:encoded>
			<wfw:commentRss>http://parand.com/say/index.php/2009/02/03/san-jose-san-fran-next-week-drop-me-a-line-if-you-want-to-meet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python Script For Finding And Removing Duplicate Files</title>
		<link>http://parand.com/say/index.php/2008/10/15/python-script-for-finding-and-removing-duplicate-files/</link>
		<comments>http://parand.com/say/index.php/2008/10/15/python-script-for-finding-and-removing-duplicate-files/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 18:36:55 +0000</pubDate>
		<dc:creator>Parand</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[duplicates]]></category>

		<guid isPermaLink="false">http://parand.com/say/?p=698</guid>
		<description><![CDATA[My image, mp3, and ebook collection were a mess after years of copying to various servers, consolidating, and re-copying. I had lots of duplicates.
I looked for an app to find and remove duplicates but surprisingly didn&#8217;t find anything very good. So I had to write my own.
This is a very simple script &#8211; it scans [...]]]></description>
			<content:encoded><![CDATA[<p>My image, mp3, and ebook collection were a mess after years of copying to various servers, consolidating, and re-copying. I had lots of duplicates.</p>
<p>I looked for an app to find and remove duplicates but surprisingly didn&#8217;t find anything very good. So I had to write my own.</p>
<p>This is a very simple script &#8211; it scans the directory tree you specify, looks for exact duplicates, and removes the duplicates.</p>
<p>It&#8217;s not very smart about which copy it removes. It&#8217;s not smart about finding files that are &#8220;similar&#8221; &#8211; it only finds exact matches. It ignores small files (intentionally &#8211; it&#8217;s easy to make it deal with small files).</p>
<p>It uses /temp for its output and cache files, so it&#8217;s targeting windows. Change that to /tmp if you&#8217;re running unix.</p>
<p>I built in a caching mechanism to save the results of scanning the disk, but it turned out not to be too useful and the script ran faster than I expected, so the caching is commented out.</p>
<p>Here it is: <a href="/say/misc/FileInfo.py">FileInfo.py</a> .</p>
]]></content:encoded>
			<wfw:commentRss>http://parand.com/say/index.php/2008/10/15/python-script-for-finding-and-removing-duplicate-files/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>That&#8217;s How I Roll, MoFo</title>
		<link>http://parand.com/say/index.php/2008/07/18/thats-how-i-roll-mofo/</link>
		<comments>http://parand.com/say/index.php/2008/07/18/thats-how-i-roll-mofo/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 23:32:03 +0000</pubDate>
		<dc:creator>Parand</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://parand.com/say/?p=625</guid>
		<description><![CDATA[Funny.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://bigeyedeer.wordpress.com/2008/07/15/this-cartoon-wrote-a-sweary-word-on-your-toilet-wall/" target="_blank">Funny.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://parand.com/say/index.php/2008/07/18/thats-how-i-roll-mofo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery serializeArray: Why Not An Associative Array?</title>
		<link>http://parand.com/say/index.php/2008/07/08/jquery-serializearray-why-not-an-associate-array/</link>
		<comments>http://parand.com/say/index.php/2008/07/08/jquery-serializearray-why-not-an-associate-array/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 06:02:14 +0000</pubDate>
		<dc:creator>Parand</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://parand.com/say/?p=613</guid>
		<description><![CDATA[I&#8217;m trying to examine and modify form variables from jQuery by catching the submit event. jQuery has a serializeArray method that hands you the form variables in a nice array. For example:

	$('#someform').submit( function() {
		$.post("/some/url/", $(this).serializeArray(),
			function(data){
			    console.log(data);
			}, "json");
		return false;
	 } );

This is great, but the result of serializeArray is an integer indexed array [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying to examine and modify form variables from jQuery by catching the submit event. jQuery has a serializeArray method that hands you the form variables in a nice array. For example:</p>
<pre><code lang="javascript">
	$('#someform').submit( function() {
		$.post("/some/url/", $(this).serializeArray(),
			function(data){
			    console.log(data);
			}, "json");
		return false;
	 } );
</code></pre>
<p>This is great, but the result of serializeArray is an integer indexed array whose values are (key,value) pairs. Eg.</p>
<pre><code lang="javascript">
	var data = $(this).serializeArray(),
	console.log( data[0] );
&gt;&gt; output: Object name=somename value=537
</code></pre>
<p>I&#8217;m wondering why the array looks like this, instead of being a dictionary (associate array, hash, or whatever you want to call it) such that the keys are &#8220;name&#8221;s and values are &#8220;value&#8221;s. Eg.</p>
<pre><code lang="javascript">
	var data = $(this).serializeArray(),
	console.log( data.somename );
&gt;&gt; output: 537
</code></pre>
<p>Anybody know the answer?</p>
]]></content:encoded>
			<wfw:commentRss>http://parand.com/say/index.php/2008/07/08/jquery-serializearray-why-not-an-associate-array/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Javascript Is The Guy With The Thing</title>
		<link>http://parand.com/say/index.php/2008/07/03/javascript-is-the-guy-with-the-thing/</link>
		<comments>http://parand.com/say/index.php/2008/07/03/javascript-is-the-guy-with-the-thing/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 07:23:52 +0000</pubDate>
		<dc:creator>Parand</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://parand.com/say/?p=607</guid>
		<description><![CDATA[In most programming languages (Java, C, Python, Perl) I&#8217;m generally thinking &#8220;I&#8217;ll put this thing on this shelf here, then I&#8217;ll do x, then I&#8217;ll pick up that thing, do some work on it, put the result over here,&#8221; and so forth.
With Javascript, particularly when used correctly, which for me means in the Way Of [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" style="border: 5px solid black; margin: 5px; float: left;" src="http://farm4.static.flickr.com/3125/2596098460_f9b74ef733_m_d.jpg" alt="Man with Shovel" width="192" height="240" />In most programming languages (Java, C, Python, Perl) I&#8217;m generally thinking &#8220;I&#8217;ll put this thing on this shelf here, then I&#8217;ll do x, then I&#8217;ll pick up that thing, do some work on it, put the result over here,&#8221; and so forth.</p>
<p>With Javascript, particularly when used correctly, which for me means in the Way Of JQuery, the thought process is more like &#8220;When some event happens, this guy will wake up and he&#8217;ll know what to do. He&#8217;ll remember his name, what he was supposed to work on, and he&#8217;ll be carrying his own tools. He might get blocked at some point, but then he&#8217;ll just wait around and when he&#8217;s ready to go he&#8217;ll remember who he is, what he was doing, and how far along doing it he was. And when he&#8217;s done he&#8217;ll go away and along with him will go his tools and any other mess he made&#8221;.</p>
<p>Javascript is a lot more &#8220;guy with the thing&#8221; thinking instead of &#8220;what&#8217;s on this shelf here?&#8221; thinking. I guess that&#8217;s called closures, or something like that. Anyway, I&#8217;m liking it.</p>
<p>Photo by <a href="http://flickr.com/photos/st-even/2596098460/" target="_blank">St-Even</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://parand.com/say/index.php/2008/07/03/javascript-is-the-guy-with-the-thing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>D Lazy Evaluation Prettyness</title>
		<link>http://parand.com/say/index.php/2008/06/27/d-lazy-evaluation-prettyness/</link>
		<comments>http://parand.com/say/index.php/2008/06/27/d-lazy-evaluation-prettyness/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 05:45:05 +0000</pubDate>
		<dc:creator>Parand</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://parand.com/say/?p=601</guid>
		<description><![CDATA[This is kind of pretty:

void log(lazy char[] dg)
{
    if (logging)
	fwritefln(logfile, dg());
}

void foo(int i)
{
    log("Entering foo() with i set to " ~ toString(i));
}

Note the lazy keyword in the definition of the log function, which tells D to only evaluate the value if needed (ie. lazily).
Nice. Smells a little like Twisted&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.digitalmars.com/d/2.0/lazy-evaluation.html" target="_blank">This</a> is kind of pretty:</p>
<pre><code lang="c">
void log(lazy char[] dg)
{
    if (logging)
	fwritefln(logfile, dg());
}

void foo(int i)
{
    log("Entering foo() with i set to " ~ toString(i));
}
</code></pre>
<p>Note the <b>lazy</b> keyword in the definition of the log function, which tells D to only evaluate the value if needed (ie. lazily).</p>
<p>Nice. Smells a little like <a href="http://twistedmatrix.com/projects/core/documentation/howto/defer.html" target="_blank">Twisted&#8217;s deferred business</a>, except different.</p>
<p>Via <a href="http://weblog.raganwald.com/" target="_blank">Raganwald</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://parand.com/say/index.php/2008/06/27/d-lazy-evaluation-prettyness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

