2626
<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.3" -->
<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/"
	>

<channel>
	<title>Jeremy Osterhouse</title>
	<link>http://www.josterpi.com/blog</link>
	<description></description>
	<pubDate>Wed, 12 Nov 2008 22:37:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.3</generator>
	<language>en</language>
			<item>
		<title>Andrew Sullivan: Why I Blog</title>
		<link>http://www.josterpi.com/blog/2008/11/12/andrew-sullivan-why-i-blog/</link>
		<comments>http://www.josterpi.com/blog/2008/11/12/andrew-sullivan-why-i-blog/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 22:37:46 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
	<category>Uncategorized</category>
		<guid isPermaLink="false">http://www.josterpi.com/blog/2008/11/12/andrew-sullivan-why-i-blog/</guid>
		<description><![CDATA[I recently read Why I blog in The Atlantic. It&#8217;s an interesting look at blogging.
&#8220;No one wants to read a 9,000-word treatise online,&#8221; so I went back to it and pulled quotes from it that reflect some of the ideas. It isn&#8217;t meant to be comprehensive, but these quotes should be enough to start a [...]]]></description>
			<content:encoded><![CDATA[<p>I recently read <a href="http://www.theatlantic.com/doc/200811/andrew-sullivan-why-i-blog/">Why I blog</a> in <a href="http://www.theatlantic.com/">The Atlantic</a>. It&#8217;s an interesting look at blogging.</p>
<p>&#8220;No one wants to read a 9,000-word treatise online,&#8221; so I went back to it and pulled quotes from it that reflect some of the ideas. It isn&#8217;t meant to be comprehensive, but these quotes should be enough to start a conversation&#8230;or motivate you to read the entire article.</p>
<blockquote><p>This form of instant and global self-publishing, made possible by technology widely available only for the past decade or so, allows for no retroactive editing</p></blockquote>
<blockquote><p>We bloggers have scant opportunity to collect our thoughts, to wait until events have settled and a clear pattern emerges.</p></blockquote>
<blockquote><p>You end up writing about yourself, since you are a relatively fixed point in this constant interaction with the ideas and facts of the exterior world.</p></blockquote>
<blockquote><p>I realized that the online form rewarded a colloquial, unfinished tone.</p></blockquote>
<blockquote><p>Every writer since the printing press has longed for a means to publish himself and reach—instantly—any reader on Earth.</p></blockquote>
<blockquote><p>Within minutes of my posting something, even in the earliest days, readers responded. E-mail seemed to unleash their inner beast.</p></blockquote>
<blockquote><p>No one wants to read a 9,000-word treatise online. </p></blockquote>
<blockquote><p>a blog is to realize that it’s a broadcast, not a publication</p></blockquote>
<blockquote><p>the hyperlink</p></blockquote>
<blockquote><p>They will send links, stories, and facts, challenging the blogger’s view of the world, sometimes outright refuting it</p></blockquote>
<blockquote><p>A blogger splashes gamely into a subject and dares the sources to come to him. </p></blockquote>
<blockquote><p>You have to express yourself now, while your emotions roil, while your temper flares, while your humor lasts.</p></blockquote>
<blockquote><p>What endures is a human brand. It stems, I think, from the conversational style that blogging rewards.</p></blockquote>
<blockquote><p>One of the most prized statistics in the blogosphere is therefore not the total number of readers or page views, but the “authority” you get by being linked to by other blogs. It’s an indication of how central you are to the online conversation of humankind.</p></blockquote>
<blockquote><p>In a world where no distinction is made between good traffic and bad traffic, and where emotion often rules, some will always raise their voice to dominate the conversation; others will pander shamelessly to their readers’ prejudices; others will start online brawls for the fun of it.</p></blockquote>
<blockquote><p>Some bloggers collect, or “aggregate,” other bloggers’ posts with dozens of quick links and minimalist opinion topspin</p></blockquote>
<blockquote><p>A “blogroll” is an indicator of whom you respect enough to keep in your galaxy.</p></blockquote>
]]></content:encoded>
			<wfw:commentRSS>http://www.josterpi.com/blog/2008/11/12/andrew-sullivan-why-i-blog/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>How are you following the election?</title>
		<link>http://www.josterpi.com/blog/2008/11/04/how-are-you-following-the-election/</link>
		<comments>http://www.josterpi.com/blog/2008/11/04/how-are-you-following-the-election/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 03:26:08 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
	<category>Uncategorized</category>
		<guid isPermaLink="false">http://www.josterpi.com/blog/2008/11/04/how-are-you-following-the-election/</guid>
		<description><![CDATA[Are you watching TV? Are you following on the web?
I&#8217;m checking electoral-vote.com and nytimes.com and I&#8217;m not watching TV at all.
I have a hunch that there are a lot of people following the election on the web this year. Imagine that. The web as a broadcast medium for real time information. Is it possible that [...]]]></description>
			<content:encoded><![CDATA[<p>Are you watching TV? Are you following on the web?</p>
<p>I&#8217;m checking <a href="http://www.electoral-vote.com/">electoral-vote.com</a> and <a href="http://www.nytimes.com/">nytimes.com</a> and I&#8217;m not watching TV at all.</p>
<p>I have a hunch that there are a lot of people following the election on the web this year. Imagine that. The web as a broadcast medium for real time information. Is it possible that browsing web sites can keep me more up to date and informed than watching TV? And without the endless chatter of talking heads repeating the same thing every 5 minutes until something new happens?</p>
<p><strong>Update:</strong> I&#8217;m still interested in hearing about how people followed this past elect.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.josterpi.com/blog/2008/11/04/how-are-you-following-the-election/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Q: Should I install Linux?</title>
		<link>http://www.josterpi.com/blog/2008/01/10/q-should-i-install-linux/</link>
		<comments>http://www.josterpi.com/blog/2008/01/10/q-should-i-install-linux/#comments</comments>
		<pubDate>Thu, 10 Jan 2008 23:53:28 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
	<category>Uncategorized</category>
		<guid isPermaLink="false">http://www.josterpi.com/blog/2008/01/10/q-should-i-install-linux/</guid>
		<description><![CDATA[Here are some thoughts that I wrote up as a follow-up to a conversation with Josh.
More and more of what people do on computers is moving online, which eases the transition to Linux. Two programs that are still nice to have on the desktop are Rhapsody and Quicken. Unfortunately, these programs aren&#8217;t available in Linux.
I [...]]]></description>
			<content:encoded><![CDATA[<p>Here are some thoughts that I wrote up as a follow-up to a conversation with <a href="http://herethennow.blogspot.com/">Josh</a>.</p>
<p>More and more of what people do on computers is moving online, which eases the transition to Linux. Two programs that are still nice to have on the desktop are <a href="http://www.rhapsody.com/home.html">Rhapsody</a> and Quicken. Unfortunately, these programs aren&#8217;t available in Linux.</p>
<p>I think Rhapsody has an online player that&#8217;s so-so.</p>
<p><a href="http://www.gnucash.org/">GnuCash</a> is the best accounting software I&#8217;ve found for Linux. It&#8217;s more accounting software than help-joe-with-his-money software. I&#8217;m pretty sure it&#8217;s available on Windows as well if you want to demo it. You can import Quicken data.</p>
<p>I&#8217;m a  big fan of what works. Every time I use Windows, I want to defenestrate the computer within 5 minutes. It works for a lot of people though, which is great. So I don&#8217;t go around recommending Linux to everyone. </p>
<p>If someone is a power user in Windows, I don&#8217;t recommend Linux. They can get everything done that they need to and I think it&#8217;s really important to have people around who can help the non-power users with their computer. If they really want to use Linux, that&#8217;s great too.</p>
<p>If someone is interested in Linux, I&#8217;m comfortable recommending it to them as their full time operating system as long as they have someone around to help occasionally. That&#8217;s usually me.</p>
<p>I definitely recommend Linux for computers that are old and getting bogged down. Windows just does that over time. So if you have an old Windows computer, have lost the recovery disk, don&#8217;t want to spend any money, and can get by without all of the Windows only software, Linux is a really great option. I use <a href="http://www.ubuntu.com/">Ubuntu Linux</a> and it has some really fantastic features. I should make or find a screencast of some of the things I like about it. (You mean, in Windows you actually have to put a CD into your computer and go through a 10 minute install program just to be able to edit documents? How old-fashioned.)</p>
<p><a href="http://flickr.com/photos/45095060@N00/">Jon</a> and <a href="http://flickr.com/photos/8386658@N06/">Claire</a> have Ubuntu installed on their laptops. <a href="http://justinw.blogspot.com/">Justin</a> uses <a href="http://fedoraproject.org/">Fedora Linux</a>.
</p>

217e
]]></content:encoded>
			<wfw:commentRSS>http://www.josterpi.com/blog/2008/01/10/q-should-i-install-linux/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Block Tower</title>
		<link>http://www.josterpi.com/blog/2007/12/23/block-tower/</link>
		<comments>http://www.josterpi.com/blog/2007/12/23/block-tower/#comments</comments>
		<pubDate>Mon, 24 Dec 2007 03:42:59 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
	<category>Uncategorized</category>
		<guid isPermaLink="false">http://www.josterpi.com/blog/2007/12/23/block-tower/</guid>
		<description><![CDATA[A number of years ago, my dad made a set of blocks out of high quality maple 1&#215;3s.

Today my brother Ben and I made a tower out of these blocks&#8211;18 levels high, 16 blocks per level.

We took the tower down one block at a time, taking a picture of it each time. I reversed the [...]]]></description>
			<content:encoded><![CDATA[<p>A number of years ago, my dad made a set of blocks out of high quality maple 1&#215;3s.</p>
<p><a href="http://www.flickr.com/photos/josterpi/2132546978/" title="Blocks by josterpi, on Flickr"><img src="http://farm3.static.flickr.com/2269/2132546978_299808a585_m.jpg" width="240" height="180" alt="Blocks" /></a></p>
<p>Today my brother <a href="http://flickr.com/photos/josterpi/941677347/">Ben</a> and I made a tower out of these blocks&#8211;18 levels high, 16 blocks per level.</p>
<p><a href="http://www.flickr.com/photos/josterpi/2131773691/" title="Finished Tower by josterpi, on Flickr"><img src="http://farm3.static.flickr.com/2364/2131773691_fc9faf62b9_m.jpg" width="240" height="180" alt="Finished Tower" /></a></p>
<p>We took the tower down one block at a time, taking a picture of it each time. I reversed the list of images and then turned it into a video. It looks like the tower is going up, but we &#8220;filmed&#8221; it, stop motion style, in reverse. More pictures on <a href="http://flickr.com/photos/josterpi/tags/blocks/" >Flickr</a>.</p>
<p><embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=-2528932152452629028&#038;hl=en" flashvars=""> </embed>
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.josterpi.com/blog/2007/12/23/block-tower/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>What I read on the web</title>
		<link>http://www.josterpi.com/blog/2007/09/17/what-i-read-on-the-web/</link>
		<comments>http://www.josterpi.com/blog/2007/09/17/what-i-read-on-the-web/#comments</comments>
		<pubDate>Tue, 18 Sep 2007 00:05:20 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
	<category>Uncategorized</category>
		<guid isPermaLink="false">http://www.josterpi.com/blog/2007/09/17/what-i-read-on-the-web/</guid>
		<description><![CDATA[An Introduction.
Someone asked what I read online, so I figured I&#8217;d just write it up here. The full list can be found on del.icio.us (tagged blogroll).

Jon Udell
Jon has a lot of interesting things to say about technology and the internet in general. Here are a couple highlights.
Hosted Lifebits Scenaris
The Blurred Line Between Personal Information Management [...]]]></description>
			<content:encoded><![CDATA[<p>An Introduction.</p>
<p>Someone asked what I read online, so I figured I&#8217;d just write it up here. The full list can be found on <a href="http://del.icio.us/josterpi/blogroll">del.icio.us</a> (tagged blogroll).</p>
<ol>
<li><a href="http://blog.jonudell.net/">Jon Udell</a></li>
<p>Jon has a lot of interesting things to say about technology and the internet in general. Here are a couple highlights.</p>
<p><a href="http://blog.jonudell.net/2007/08/22/hosted-lifebits-scenarios/">Hosted Lifebits Scenaris</a><br />
<a href="http://blog.jonudell.net/2007/09/12/the-blurred-line-between-personal-information-management-and-publishing/">The Blurred Line Between Personal Information Management and Publishing</a><br />
<a href="http://blog.jonudell.net/2007/08/28/social-networks-then-and-now/">Social Networks Then and Now</a></p>
<li><a href="http://www.codinghorror.com/blog/">Jeff Atwood</a></li>
<p>Jeff is a recent addition to my reading list. He writes about stuff that I&#8217;m interested in as a programmer. It&#8217;s generally pretty accessible though.</p>
<p><a href="http://www.codinghorror.com/blog/archives/000938.html">Computer Workstation Ergonomics</a><br />
<a href="http://www.codinghorror.com/blog/archives/000951.html">Classic Computer Science Puzzles</a><br />
<a href="http://www.codinghorror.com/blog/archives/000953.html">You&#8217;re Probably Storing Passwords Incorrectly</a></p>
<li><a href="http://www.rashmisinha.com/">Rashmi Sinha</a></li>
<p>Rashmi talks about cognition on the web.</p>
<p><a href="http://www.rashmisinha.com/2005/09/a-cognitive-analysis-of-tagging/">A Cognitive Analysis of Tagging</a></p>
<p>Looking through her posts, that&#8217;s the only thing I can find to recommend to a broad audience. Look through and see if you find anything interesting.</p>
<li><a href="http://www.alistapart.com/">A List Apart</a></li>
<p>A List Apart just has a lot of good stuff to say about web design.</p>
<p><a href="http://www.alistapart.com/articles/revivinganorexicwebwriting">Reviving Anorexic Writing</a><br />
<a href="http://www.alistapart.com/articles/neveruseawarning">Never User a Warning</a><br />
<a href="http://www.alistapart.com/articles/betterwritingthroughdesign">Better Writing through design</a></p>
<li><a href="http://www.brianoberkirch.com/">Brian Oberkirch</a></li>
<p>Another recent addition. He writes about the social web. I like what he writes as I continue to think about the future of the People of Praise on the web.</p>
<p><a href="http://www.brianoberkirch.com/2007/08/02/designing-portable-social-networks/">Designing Portable Social Networks</a><br />
<a href="http://www.brianoberkirch.com/2007/04/03/designing-for-hackability/">Designing for Hackability</a></p>
</ol>
<p><a href="http://slashdot.org/">Slashdot</a> is worth looking at at least once.</p>
<p>These two guys are worth reading and are excellent writers.<br />
<a href="http://www.joelonsoftware.com/">Joel Spolsky</a><br />
<a href="http://www.paulgraham.com/">Paul Graham</a></p>
<p>The #1 Paul Graham essay I recommend people read: <a href="http://www.paulgraham.com/avg.html">Beating the Averages</a></p>
<p><a href="http://www.paulgraham.com/head.html">Holding a Program in One&#8217;s Head</a><br />
<a href="http://www.paulgraham.com/stuff.html">Stuff</a><br />
<a href="http://www.paulgraham.com/spam.html">A Plan for Spam</a></p>
]]></content:encoded>
			<wfw:commentRSS>http://www.josterpi.com/blog/2007/09/17/what-i-read-on-the-web/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Web 2.0 Expo sessions in a nutshell</title>
		<link>http://www.josterpi.com/blog/2007/04/22/web-20-expo-sessions-in-a-nutshell/</link>
		<comments>http://www.josterpi.com/blog/2007/04/22/web-20-expo-sessions-in-a-nutshell/#comments</comments>
		<pubDate>Mon, 23 Apr 2007 02:57:42 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
	<category>web2expo</category>
		<guid isPermaLink="false">http://www.josterpi.com/blog/2007/04/22/web-20-expo-sessions-in-a-nutshell/</guid>
		<description><![CDATA[I&#8217;ll fill this in more over time, but for starters, here&#8217;s everything I went to.
Sunday:
High Performance Webpages, Steve Souders and Tenni Theurer
Scalable Web Architectures: Common Patterns and Approaches, Cal Henderson
Monday:
The New Hybrid Designer
Power to the People Via User-centric Identity
Vulnerabilities 2.0 in Web 2.0: Next Generation Web Apps from a Hacker&#8217;s Perspective
The Arrival of Web 2.0: [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll fill this in more over time, but for starters, here&#8217;s everything I went to.</p>
<p>Sunday:<br />
High Performance Webpages, Steve Souders and Tenni Theurer<br />
Scalable Web Architectures: Common Patterns and Approaches, Cal Henderson</p>
<p>Monday:<br />
The New Hybrid Designer<br />
Power to the People Via User-centric Identity<br />
Vulnerabilities 2.0 in Web 2.0: Next Generation Web Apps from a Hacker&#8217;s Perspective<br />
The Arrival of Web 2.0: The State of the Union on Browser Technology</p>
<p>Tuesday:<br />
The Future of e-Commerce<br />
Panel: Comparing Web Application Frameworks<br />
Syndication</p>
<p>Wednesday:<br />
Business Mashups for Fun and Profit<br />
Panel: Examining AJAX Frameworks<br />
From Pages to People: Behavioral Targeting<br />
Bringing applications from the Web Browser to the Desktop</p>

237e
]]></content:encoded>
			<wfw:commentRSS>http://www.josterpi.com/blog/2007/04/22/web-20-expo-sessions-in-a-nutshell/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>I like cars</title>
		<link>http://www.josterpi.com/blog/2007/04/18/i-like-cars/</link>
		<comments>http://www.josterpi.com/blog/2007/04/18/i-like-cars/#comments</comments>
		<pubDate>Wed, 18 Apr 2007 05:26:16 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
	<category>Uncategorized</category>
		<guid isPermaLink="false">http://www.josterpi.com/blog/2007/04/18/i-like-cars/</guid>
		<description><![CDATA[I like cars a lot. I don&#8217;t plan on ever owning a very nice car, but I appreciate well made cars. It turns out that tonight was the night for cars. It wasn&#8217;t the first time I&#8217;ve seen interesting cars in San Francisco. We see Porsche&#8217;s left and right. BMW&#8217;s too. Tonight&#8217;s excitement started with [...]]]></description>
			<content:encoded><![CDATA[<p>I like cars a lot. I don&#8217;t plan on ever owning a very nice car, but I appreciate well made cars. It turns out that tonight was the night for cars. It wasn&#8217;t the first time <a href="http://www.flickr.com/photos/jkenning/461102023/">I&#8217;ve</a> seen <a href="http://www.flickr.com/photos/jkenning/461100945/">interesting cars</a> in San Francisco. We see Porsche&#8217;s left and right. BMW&#8217;s too. Tonight&#8217;s excitement started with the <a href="http://www.automobilemag.com/auto_shows/frankfurt/0509_maserati_quattroporte_v12/index.html">Maserati Quattroporte Executive GT</a>. If that wasn&#8217;t enough, we then saw a <a href="http://en.wikipedia.org/wiki/Bentley_Continental_GT">Bentley Continental</a>. To top it all off, we walked by a <a href="http://www.automobilemag.com/auto_shows/2005_geneva/0503_maybach_57s/">Maybach 57S</a>. For those gentle readers unfamiliar with these three cars, the price tags are roughly $122000, $169000 and $377000, respectively.</p>
<p><strong>Update:</strong> Looks like we also so a <a href="http://en.wikipedia.org/wiki/Lamborghini_Gallardo">Lamborghini Gallardo</a> as well. And I got a <a href="http://www.flickr.com/photos/jkenning/461102023/in/set-72157600078099414/">couple</a> <a href="http://www.flickr.com/photos/jkenning/461100945/in/set-72157600078099414/">pictures</a>.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.josterpi.com/blog/2007/04/18/i-like-cars/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Web 2.0 Expo general interest posts&#8230;</title>
		<link>http://www.josterpi.com/blog/2007/04/17/web-20-expo-general-interest-posts/</link>
		<comments>http://www.josterpi.com/blog/2007/04/17/web-20-expo-general-interest-posts/#comments</comments>
		<pubDate>Wed, 18 Apr 2007 00:47:03 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
	<category>web2expo</category>
		<guid isPermaLink="false">http://www.josterpi.com/blog/2007/04/17/web-20-expo-general-interest-posts/</guid>
		<description><![CDATA[Can be found at 9of.us. When I get the time to put together some more technically interesting stuff, I&#8217;ll post that here. Expect a report on improving web page performance, scalable architecture, security, and more.

]]></description>
			<content:encoded><![CDATA[<p>Can be found at <a href="http://9of.us/">9of.us</a>. When I get the time to put together some more technically interesting stuff, I&#8217;ll post that here. Expect a report on improving web page performance, scalable architecture, security, and more.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.josterpi.com/blog/2007/04/17/web-20-expo-general-interest-posts/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Web 2.0 Expo</title>
		<link>http://www.josterpi.com/blog/2007/04/12/web-20-expo/</link>
		<comments>http://www.josterpi.com/blog/2007/04/12/web-20-expo/#comments</comments>
		<pubDate>Thu, 12 Apr 2007 16:54:47 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
	<category>Uncategorized</category>
		<guid isPermaLink="false">http://www.josterpi.com/blog/2007/04/12/web-20-expo/</guid>
		<description><![CDATA[I&#8217;m going to San Francisco tomorrow! I&#8217;ve never really been West, so I&#8217;m excited. I&#8217;ll be attending the Web 2.0 Expo with David and Jennifer for work. I&#8217;ll be there for ten days: Friday till the following Sunday. Expect reports and pictures!
Oh wait, I just committed myself to update&#8230;

]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m going to San Francisco tomorrow! I&#8217;ve never really been West, so I&#8217;m excited. I&#8217;ll be attending the <a href="http://www.web2expo.com/">Web 2.0 Expo</a> with David and Jennifer for work. I&#8217;ll be there for ten days: Friday till the following Sunday. Expect reports and pictures!</p>
<p>Oh wait, I just committed myself to update&#8230;
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.josterpi.com/blog/2007/04/12/web-20-expo/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>JavaScript</title>
		<link>http://www.josterpi.com/blog/2007/01/25/javascript/</link>
		<comments>http://www.josterpi.com/blog/2007/01/25/javascript/#comments</comments>
		<pubDate>Thu, 25 Jan 2007 22:32:30 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
		
	<category>Uncategorized</category>
		<guid isPermaLink="false">http://www.josterpi.com/blog/2007/01/25/javascript/</guid>
		<description><![CDATA[I just watched the first part of Douglas Crockford&#8217;s presentation &#8220;The JavaScript Programming Language,&#8221; available over at the Yahoo! User Interface blog. I&#8217;ve done a bit of JavaScript programming, but I&#8217;ve already learned a couple things I didn&#8217;t know before.
Doug recommends O&#8217;Reilly&#8217;s Javascript: The Definitive Guide with the praise, &#8220;I can say without fear that [...]]]></description>
			<content:encoded><![CDATA[<p>I just watched the first part of Douglas Crockford&#8217;s presentation &#8220;The JavaScript Programming Language,&#8221; available over at the <a href="http://yuiblog.com/blog/2007/01/24/video-crockford-tjpl/">Yahoo! User Interface blog</a>. I&#8217;ve done a bit of JavaScript programming, but I&#8217;ve already learned a couple things I didn&#8217;t know before.</p>
<p>Doug recommends O&#8217;Reilly&#8217;s <a href="http://www.amazon.com/JavaScript-Definitive-Guide-David-Flanagan/dp/0596101996/sr=8-1/qid=1169735003/ref=pd_bbs_1/104-6981864-1467962?ie=UTF8&#038;s=books">Javascript: The Definitive Guide</a> with the praise, &#8220;I can say without fear that it is the least bad of a very large class of very, very bad books.&#8221; I&#8217;ll keep that in mind if I&#8217;m ever shopping for a JavaScript book.</p>
<p>The equals (==) and not-equals (!=) operators don&#8217;t behave as I expect them to. They do type coercion. So, <code>42 == 42</code> is true, as I expect, but <code>"42" == 42</code> is also true, because JavaScript makes them the same type first. I think I&#8217;m going to start using === and !== instead, which behave as I expect (<code>"42" === 42</code> is false, while <code>42 === 42</code> is true).</p>
<p>If you&#8217;ve ever user a language with C style syntax, you&#8217;ve probably used logical-and (&#038;&#038;) and logical-or (||). You can still do that in JavaScript, but the way it&#8217;s done is interesting. For <code>A &#038;&#038; B</code>, if both A and B evaluate to true, then <code>A &#038;&#038; B</code> evaluates to true. Here&#8217;s how JavaScript does that: If A is true, <code>A &#038;&#038; B</code> evaluates to B. If A is false, <code>A &#038;&#038; B</code> evaluates to A. It&#8217;s short circuit logic. If A is false, B isn&#8217;t even evaluated. You can think of &#038;&#038; as the guard operator. <code>A &#038;&#038; B</code> is then read: A guards B. With the guard operator, </p>
<pre>if (A) {
  result = B;
} else {
  result = A;
}</pre>
<p>can be written as, <code>result = A &#038;&#038; B</code>.</p>
<p>The logical-or operator (||) is similar. As usual, <code>A || B</code> evaluates to true if either A or B is true, or if both of them are true. The way it&#8217;s calculated in JavaScript, <code>A || B</code> evaluates to A if A evaluates to true and B if A evaluates to false. So || can be thought of as the default operator. It defaults to A, but falls back to B if A is false. So,</p>
<pre>if (A) {
  result = A
} else {
  result = B
}</pre>
<p>can be written as: <code>result = A || B</code>.</p>
<p>And this is just funny: the <code>typeof()</code> function will give me the type of an object (i.e. <code>typeof(42)</code> is &#8220;number&#8221;). Using <code>typeof()</code>, we can see what type <code>NaN</code> (Not a Number) is. <code>typeof(NaN)</code> &#8211;> &#8220;number&#8221;. Not a number&#8230;is a number.</p>
<p>As a side note, Python treats <code>and</code> and <code>or</code> this way as well.</p>
<p>And moving into the <em>very</em> arcane, you can use this to simulate the C-style ternary operator in Python. In C/C++/Java/JavaScript: <code>result = test?A:B</code>. In Python: <code>result = test and A or B</code>.
</p>

90
]]></content:encoded>
			<wfw:commentRSS>http://www.josterpi.com/blog/2007/01/25/javascript/feed/</wfw:commentRSS>
		</item>
	</channel>
</rss>

0

