<?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"
	>

<channel>
	<title>Cortland Klein</title>
	<atom:link href="http://pixelcort.com/feed" rel="self" type="application/rss+xml" />
	<link>http://pixelcort.com</link>
	<description>Young entrepreneur in progress.</description>
	<pubDate>Sat, 07 Jun 2008 21:01:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>JavaScript Firefox workaround</title>
		<link>http://pixelcort.com/261</link>
		<comments>http://pixelcort.com/261#comments</comments>
		<pubDate>Wed, 14 May 2008 18:50:07 +0000</pubDate>
		<dc:creator>Cortland Klein</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://pixelcort.com/?p=261</guid>
		<description><![CDATA[Because of a security reason (thanks, Asa), Firefox does not like script elements in the style:

&#60;script type="text/javascript" src="jquery-1.2.3.js" /&#62;
&#60;script type="text/javascript" src="jquery.cookie.js" /&#62;


Safari handles this correctly, however Firefox seems to only load the first one and ignores the second. The doctype is XHTML 1.0 Strict, so this should be technically valid XML.

The workaround for this is [...]]]></description>
			<content:encoded><![CDATA[<p>Because of <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=305873">a security reason</a> (thanks, Asa), Firefox does not like script elements in the style:</p>

<pre><code>&lt;script type="text/javascript" src="jquery-1.2.3.js" /&gt;
&lt;script type="text/javascript" src="jquery.cookie.js" /&gt;
</code></pre>

<p>Safari handles this correctly, however Firefox seems to only load the first one and ignores the second. The doctype is XHTML 1.0 Strict, so this should be technically valid XML.</p>

<p>The workaround for this is to open and close the tags:</p>

<pre><code>&lt;script type="text/javascript" src="jquery-1.2.3.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="jquery.cookie.js"&gt;&lt;/script&gt;
</code></pre>

<p>I&#8217;ve updated my <a href="/258">Dynamic Form Example</a> to reflect this workaround.</p>
]]></content:encoded>
			<wfw:commentRss>http://pixelcort.com/261/feed</wfw:commentRss>
		</item>
		<item>
		<title>WP-OpenID Woes</title>
		<link>http://pixelcort.com/260</link>
		<comments>http://pixelcort.com/260#comments</comments>
		<pubDate>Wed, 14 May 2008 06:57:48 +0000</pubDate>
		<dc:creator>Cortland Klein</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://pixelcort.com/?p=260</guid>
		<description><![CDATA[I&#8217;m trying to add my OpenID to my WP-OpenID plugin for my WordPress blog.

However, when I try to add my OpenID, I get the following error:


  Error: OpenID assertion failed: returnto does not match return URL. Expected http://pixelcort.com/wp-admin/users.php?action=verifyidentity&#38;page=openid, got http://pixelcort.com/wp-admin/users.php?action=verify_identity


I&#8217;m wondering if this is because I&#8217;m using my own domain as my OpenID url [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying to add my OpenID to my WP-OpenID plugin for my WordPress blog.</p>

<p>However, when I try to add my OpenID, I get the following error:</p>

<blockquote>
  <p>Error: OpenID assertion failed: return<em>to does not match return URL. Expected http://pixelcort.com/wp-admin/users.php?action=verify</em>identity&amp;page=openid, got http://pixelcort.com/wp-admin/users.php?action=verify_identity</p>
</blockquote>

<p>I&#8217;m wondering if this is because I&#8217;m using my own domain as my OpenID url and that&#8217;s causing some self-referential bug.</p>

<p><strong>Update:</strong> Doesn&#8217;t look like it. I&#8217;ve tried other OpenIDs and they all fail with this plugin. Maybe it&#8217;s my hosting provider, Dreamhost, which is causing problems with this plugin? There are some failures in the diagnostics section of this plugin.</p>
]]></content:encoded>
			<wfw:commentRss>http://pixelcort.com/260/feed</wfw:commentRss>
		</item>
		<item>
		<title>Definitions of Web 1.0, 2.0, and 3.0</title>
		<link>http://pixelcort.com/259</link>
		<comments>http://pixelcort.com/259#comments</comments>
		<pubDate>Mon, 12 May 2008 20:43:58 +0000</pubDate>
		<dc:creator>Cortland Klein</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://pixelcort.com/?p=259</guid>
		<description><![CDATA[I read a comment on an article explaining Web 1.0, 2.0, and 3.0 that I found really summarizes the whole thing:


  Web 1: static [Read]
  web 2: dynamic [Read/Write]
  web 3: programmable[Read/Write/Execute]


I believe this is a great simplified way of expressing what each one is. It reminds me of UNIX-style permission bits [...]]]></description>
			<content:encoded><![CDATA[<p>I read <a href="http://www.resourcefulidiot.com/2008/05/explaining-web-10-web-20-web-30/#comment-54">a comment on an article explaining Web 1.0, 2.0, and 3.0</a> that I found really summarizes the whole thing:</p>

<blockquote>
  <p>Web 1: static [Read]<br />
  web 2: dynamic [Read/Write]<br />
  web 3: programmable[Read/Write/Execute]<br /></p>
</blockquote>

<p>I believe this is a great simplified way of expressing what each one is. It reminds me of UNIX-style permission bits for rwx.</p>

<p>In the beginning, there was read-only webpages. These static HTML files sat on webservers and were hyperlinked together.</p>

<p>Then, the read/write era came about. Now pages had Edit buttons; it became as easy to edit a page as it was to read it.</p>

<p>Now, the read/write/execute era is about to begin. Here, the Execute button is going to become as easy as the Edit button. The ability to tap into the CPU cycles of the internet is about to be unfolded.</p>
]]></content:encoded>
			<wfw:commentRss>http://pixelcort.com/259/feed</wfw:commentRss>
		</item>
		<item>
		<title>Dynamic Form Example</title>
		<link>http://pixelcort.com/258</link>
		<comments>http://pixelcort.com/258#comments</comments>
		<pubDate>Sun, 11 May 2008 23:54:56 +0000</pubDate>
		<dc:creator>Cortland Klein</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[portfolio]]></category>

		<guid isPermaLink="false">http://pixelcort.com/?p=258</guid>
		<description><![CDATA[Update: This has moved to my portfolio.

This is an example of a dynamic form which serves as an email builder. It is a genericized version of one I wrote for my employer.

It uses jQuery and jQuery Cookie and works in Safari and Firefox. It was last updated on 2008 May 14 to fix Firefox compatibility.

This [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update:</strong> This has moved to <a href="/portfolio/dynamic-form-example">my portfolio</a>.</p>

<p>This is an example of a dynamic form which serves as an email builder. It is a genericized version of one I wrote for my employer.</p>

<p>It uses jQuery and jQuery Cookie and works in Safari and Firefox. It was last updated on 2008 May 14 to <a href="/261">fix Firefox compatibility</a>.</p>

<p>This is an example of my attempt to separate HTML, CSS, and JS into separate sections. Note that for simplicity purposes the document is one HTML file.</p>
]]></content:encoded>
			<wfw:commentRss>http://pixelcort.com/258/feed</wfw:commentRss>
		</item>
		<item>
		<title>1&#038;1 Registrar Woes</title>
		<link>http://pixelcort.com/256</link>
		<comments>http://pixelcort.com/256#comments</comments>
		<pubDate>Thu, 01 May 2008 18:43:32 +0000</pubDate>
		<dc:creator>Cortland Klein</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://pixelcort.com/?p=256</guid>
		<description><![CDATA[Entrepreneurial Society, a student organization I&#8217;m involved with at SJSU, currently is having some issues with 1&#38;1, our previous hosting provider.

Last fall, we decided to move to Dreamhost for our hosting provider. However, we were unable to transfer the domain from 1&#38;1&#8217;s registrar.

A week ago, the domain expired, and 1&#38;1 now is holding our domain [...]]]></description>
			<content:encoded><![CDATA[<p>Entrepreneurial Society, a student organization I&#8217;m involved with at SJSU, currently is having some issues with 1&amp;1, our previous hosting provider.</p>

<p>Last fall, we decided to move to Dreamhost for our hosting provider. However, we were unable to transfer the domain from 1&amp;1&#8217;s registrar.</p>

<p>A week ago, the domain expired, and 1&amp;1 now is holding our domain ransom for $40 to &#8216;redeem&#8217; it. We&#8217;ve called them multiple times and they will not release the domain for transfer or use for 30 days until the $40 is paid. In order to go through this process, we have to fax paperwork to 1&amp;1, and create a new account since the old one was in the name of a previous member of the organization who is no longer affiliated with us.</p>

<p>Until I receive an apology from 1&amp;1 to their behavior of holding our domain ransom, I am suggesting those seeking hosting for their website not choose 1&amp;1. I do not currently have a hosting provider suggestion, but avoid 1&amp;1 as they seem to have some backwards policies and old-fashioned requirements such as using fax technology.</p>
]]></content:encoded>
			<wfw:commentRss>http://pixelcort.com/256/feed</wfw:commentRss>
		</item>
		<item>
		<title>Quoted in Spartan Daily</title>
		<link>http://pixelcort.com/255</link>
		<comments>http://pixelcort.com/255#comments</comments>
		<pubDate>Sat, 26 Apr 2008 08:14:41 +0000</pubDate>
		<dc:creator>Cortland Klein</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://pixelcort.com/?p=255</guid>
		<description><![CDATA[I was quoted in SJSU&#8217;s Spartan Daily recently.

Here&#8217;s hoping one of my teams wins this year&#8217;s Business Plan Competition.

P.S. I&#8217;m looking for a full time job starting Mid-July or August 1. If you or anyone you know is hiring for an exempt web app designer, check out my resume.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.thespartandaily.com/news/2008/04/24/News/Registration.Deadline.Approaching.For.Business.Plan.Competition-3346490.shtml">I was quoted in SJSU&#8217;s Spartan Daily</a> recently.</p>

<p>Here&#8217;s hoping one of my teams wins this year&#8217;s Business Plan Competition.</p>

<p>P.S. I&#8217;m looking for a full time job starting Mid-July or August 1. If you or anyone you know is hiring for an exempt web app designer, check out <a href="/resume">my resume</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://pixelcort.com/255/feed</wfw:commentRss>
		</item>
		<item>
		<title>A JavaScript sqrt() function.</title>
		<link>http://pixelcort.com/254</link>
		<comments>http://pixelcort.com/254#comments</comments>
		<pubDate>Sun, 20 Apr 2008 23:47:03 +0000</pubDate>
		<dc:creator>Cortland Klein</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://pixelcort.com/?p=254</guid>
		<description><![CDATA[I know there&#8217;s a Math.sqrt() function; I just wanted to create my own. Is this how most people would implement a sqrt() function in JavaScript if one didn&#8217;t already exist?

sqrt = function(x) {
    j = x / 2;
    min = 0;
    max = x;
   [...]]]></description>
			<content:encoded><![CDATA[<p>I know there&#8217;s a Math.sqrt() function; I just wanted to create my own. Is this how most people would implement a sqrt() function in JavaScript if one didn&#8217;t already exist?</p>

<pre><code>sqrt = function(x) {
    j = x / 2;
    min = 0;
    max = x;
    for (i=0; i&lt;100; i++) {
        if (j * j &gt; x) {
            max = j;
        } else {
            min = j;
        }
        // print(max - min);
        j = max - ((max - min)/2);
    }
    return j;
}
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://pixelcort.com/254/feed</wfw:commentRss>
		</item>
		<item>
		<title>Upgrade to WordPress 2.5</title>
		<link>http://pixelcort.com/252</link>
		<comments>http://pixelcort.com/252#comments</comments>
		<pubDate>Sat, 19 Apr 2008 00:30:59 +0000</pubDate>
		<dc:creator>Cortland Klein</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://pixelcort.com/?p=252</guid>
		<description><![CDATA[I&#8217;ve upgraded to WordPress 2.5. In the process I made some nice backups of my site, and cleaned up my internal site structure.

I&#8217;m now running on a nightly of the K2 theme, and hope to switch to a general release once one is compatible with 2.5.

I must say I&#8217;m quite impressed with WordPress.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve upgraded to WordPress 2.5. In the process I made some nice backups of my site, and cleaned up my internal site structure.</p>

<p>I&#8217;m now running on a nightly of the K2 theme, and hope to switch to a general release once one is compatible with 2.5.</p>

<p>I must say I&#8217;m quite impressed with WordPress.</p>
]]></content:encoded>
			<wfw:commentRss>http://pixelcort.com/252/feed</wfw:commentRss>
		</item>
		<item>
		<title>JavaScript appendChild returning null</title>
		<link>http://pixelcort.com/251</link>
		<comments>http://pixelcort.com/251#comments</comments>
		<pubDate>Thu, 03 Apr 2008 19:31:55 +0000</pubDate>
		<dc:creator>Cortland Klein</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://pixelcort.com/251</guid>
		<description><![CDATA[Update: Thanks to Michael in the comments for the solution. I forgot that JS begins executing before the DOM is finished loading.

I&#8217;m trying to get the following code to work, but it&#8217;s failing:

&#60;html&#62;
    &#60;head&#62;
        &#60;title&#62;&#60;/title&#62;
        &#60;script type="text/javascript"&#62;

  [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update:</strong> Thanks to Michael in the comments for the solution. I forgot that JS begins executing before the DOM is finished loading.</p>

<p>I&#8217;m trying to get the following code to work, but it&#8217;s failing:</p>

<pre><code>&lt;html&gt;
    &lt;head&gt;
        &lt;title&gt;&lt;/title&gt;
        &lt;script type="text/javascript"&gt;

        var ul = document.getElementById("list");

        var li = document.createElement("li");
        var litext = document.createTextNode("test");
        li.appendChild(litext);
        ul.appendChild(li);

        &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;h1&gt;&lt;/h1&gt;
        &lt;ul id="list"&gt;
        &lt;/ul&gt;
    &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Any thoughts?</p>
]]></content:encoded>
			<wfw:commentRss>http://pixelcort.com/251/feed</wfw:commentRss>
		</item>
		<item>
		<title>Seeking ripoki Co-founder</title>
		<link>http://pixelcort.com/250</link>
		<comments>http://pixelcort.com/250#comments</comments>
		<pubDate>Tue, 01 Apr 2008 23:25:17 +0000</pubDate>
		<dc:creator>Cortland Klein</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://pixelcort.com/250</guid>
		<description><![CDATA[It&#8217;s probably about time I formally announce my quest for a co-founder, and what better day than April 1st?

ripoki is a time management startup I&#8217;ve been working on for a while now and feel it&#8217;s time to get this baby off the ground.

For a co-founder I&#8217;m seeking someone with basically two traits.

First and foremost, I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s probably about time I formally announce my quest for a co-founder, and what better day than April 1st?</p>

<p>ripoki is a time management startup I&#8217;ve been working on for a while now and feel it&#8217;s time to get this baby off the ground.</p>

<p>For a co-founder I&#8217;m seeking someone with basically two traits.</p>

<p>First and foremost, I&#8217;m looking for a co-founder that shares my passion for socially-aware technology. I believe that technology should be used to facilitate real world, face to face interaction, and ripoki will set out to do just that. Online communication and collaboration between humans is a great achievement and useful to society, however we must remind ourselves that the best way to interact with someone is face to face.</p>

<p>Second, I want to differentiate ripoki by having it be the only service on the market able to automatically reschedule events based on the needs of new and updated events. My current thinking is an algorithm using doubly-schocastic matrices interrelated through hyper-dimensional row vector relationships, using GPU processors for vector operations needed to maintain and distribute changes to the matrices that provide us with the probabilistic states of given events for given users for given time-blocks. In order to do this, I am seeking someone with highly optimized programming skills who would be adept to creating high-speed implementations of such an algorithm.</p>

<p>The plan would to start this company in the South Bay area, probably initially in San Jose or Mountain View, so I&#8217;d prefer someone who lives locally. However, I&#8217;m open to someone working remotely and we can arrange for periodic face to face meetups.</p>

<p>If you think you or someone you know might be interested in being a co-founder (hint: second largest shareholder in company) of a new startup company, give me a call and let&#8217;s arrange an interview to get to know each other some more.</p>

<p>And hey, this could be a great opportunity to really make an impact on people&#8217;s lives by helping them spend less time managing their lives, and more time living them.</p>
]]></content:encoded>
			<wfw:commentRss>http://pixelcort.com/250/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
