<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>nicholasjon.com :: a weblog &gt;&gt; posts tagged: code</title>
    <link>http://nicholasjon.com/</link>
    <pubDate>Tue, 05 Aug 2008 02:57:39 GMT</pubDate>
    <description>nicholasjon.com :: an rss feed</description>
    <image>
      <url>http://www.nicholasjon.com/images/n_ficon.gif</url>
      <link>http://nicholasjon.com/</link>
      <title>nicholasjon.com :: favicon</title>
    </image>
    <item>
      <title>Launched: pnt.me</title>
      <link>http://nicholasjon.com/permalink/2008/8/4/launched_pntme</link>
      <description>&lt;p&gt;When the dot-me domains were released a few weeks ago, I thought it might be fun to pick one up and officially launch some &amp;#8220;url shortening&amp;#8221; code I&amp;#8217;d been experimenting with.  Today I managed to put the finishing touches on the first version of &lt;a href="http://pnt.me/"&gt;pnt.me&lt;/a&gt; &amp;mdash; which I think looks a lot like &amp;#8220;point me,&amp;#8221; but won&amp;#8217;t waste any extra characters in your tweets.&lt;/p&gt;


	&lt;p&gt;It&amp;#8217;s a standard url shortener, meaning you give it a link that looks something like &lt;a href="http://www.google.com/search?hl=en&amp;#38;safe=off&amp;#38;pwst=1&amp;#38;q=url+shortening&amp;#38;start=10&amp;#38;sa=N"&gt;http://www.google.com/search?hl=en&amp;#38;safe=off&amp;#38;pwst=1&amp;#38;q=url+shortening&amp;#38;start=10&amp;#38;sa=N&lt;/a&gt; and it gives you back something more like &lt;a href="http://pnt.me/CzwU9K"&gt;http://pnt.me/CzwU9K&lt;/a&gt;.&lt;/p&gt;


It does have a few other features: 
	&lt;ul&gt;
	&lt;li&gt;There&amp;#8217;s a &amp;#8220;copy to clipboard&amp;#8221; link, saving you the trouble of highlighting, right-clicking, and so on.  Not huge, but nice.     &lt;/li&gt;
		&lt;li&gt;Adding a semi-colon to the end of any link will forgo automatic redirection, and instead take users to the &amp;#8220;details&amp;#8221; page for that link.  Check it out: &lt;a href="http://pnt.me/CzwU9K;"&gt;http://pnt.me/CzwU9K;&lt;/a&gt;.  It&amp;#8217;s useful for those times you want to see exactly where you&amp;#8217;re going, instead of being Rickrolled.&lt;/li&gt;
		&lt;li&gt;There&amp;#8217;s also the beginnings of a sort of spam-alert, in that if enough people have clicked the abuse link the automatic redirection stops.  Users are instead taken to the details page and shown a warning letting them know  them know there have been reported problems with the content behind the shortened link.  Everyone can still get to their destination &amp;mdash; but it&amp;#8217;s at their own risk.  I set up a fake one here &lt;a href="http://pnt.me/PjgpM9;"&gt;http://pnt.me/PjgpM9;&lt;/a&gt; so you can see what I mean.  (&lt;strong&gt;Update&lt;/strong&gt;: Enough people clicked through anyway that the warning went away.  I guess the system works.)&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;I&amp;#8217;m working on a bookmarklet that will let you shorten links from anywhere on the web, but it&amp;#8217;s got issues in IE.  And sites with frames.  And Wikipedia.  (Like I said, I&amp;#8217;m working on it.)  Try it out if you like, your mileage may vary.  I hope to have a new and improved (read: &amp;#8220;working&amp;#8221;) version up soon.&lt;/p&gt;


	&lt;p&gt;All in all, I&amp;#8217;m quite happy with how things are coming together.  It&amp;#8217;s fun to polish and release code originally intended to just be a weekend project.  Personally, I got a lot more out of the experience knowing it would be in front of someone other than me when it was finished.&lt;/p&gt;


	&lt;p&gt;Thanks to everyone on Twitter who helped test things out this afternoon.  And extra thanks to &lt;a href="http://www.jaythanelam.com/"&gt;Jaythan&lt;/a&gt; for adding some most-excellent style my wireframes.&lt;/p&gt;</description>
      <pubDate>Tue, 05 Aug 2008 02:57:39 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2008/8/4/launched_pntme</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>What did Apple BASIC sound like?</title>
      <link>http://nicholasjon.com/permalink/2008/7/17/what_did_apple_basic_sound_like</link>
      <description>&lt;p&gt;Extracting the ancient software from its audio cassette.&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://www.pagetable.com/?p=32"&gt;http://www.pagetable.com/?p=32&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 17 Jul 2008 00:44:57 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2008/7/17/what_did_apple_basic_sound_like</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>Sketching in Code</title>
      <link>http://nicholasjon.com/permalink/2008/6/20/sketching_in_code</link>
      <description>&lt;p&gt;Wireframes have less use in a world that&amp;#8217;s no longer based on the &amp;#8220;page.&amp;#8221;&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://alistapart.com/articles/sketchingincode"&gt;http://alistapart.com/articles/sketchingincode&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 20 Jun 2008 01:39:28 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2008/6/20/sketching_in_code</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>New Relic</title>
      <link>http://nicholasjon.com/permalink/2008/5/1/new_relic</link>
      <description>&lt;p&gt;A whole company forms around the idea of Ruby on Rails scalability.  I&amp;#8217;m hoping a lot of neat stuff comes from this.&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://www.newrelic.com/"&gt;http://www.newrelic.com/&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 01 May 2008 13:46:48 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2008/5/1/new_relic</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>Forget about February</title>
      <link>http://nicholasjon.com/permalink/2008/3/2/forget_about_february</link>
      <description>&lt;p&gt;Let&amp;#8217;s just pretend I didn&amp;#8217;t post anything last month, because if we don&amp;#8217;t do that I&amp;#8217;ll have to publicly admit that I deleted a month&amp;#8217;s worth of posts without a reasonable way to bring them back &amp;mdash; which I&amp;#8217;d rather not do.&lt;/p&gt;


	&lt;p&gt;In good news, while I was working through everything I added &lt;a href="http://twitter.com/nicholasjon"&gt;Twitter&lt;/a&gt; support to the blog.  Now I can put my 140 characters of pithyness in two places at the same time.&lt;/p&gt;</description>
      <pubDate>Sun, 02 Mar 2008 21:41:09 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2008/3/2/forget_about_february</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>JsonMarshaller</title>
      <link>http://nicholasjon.com/permalink/2007/3/24/jsonmarshaller</link>
      <description>&lt;p&gt;A Java to Javascript (well, &lt;span class="caps"&gt;JSON&lt;/span&gt; anyway) marshalling framework.&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://www.twolattes.com/code.php"&gt;http://www.twolattes.com/code.php&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 24 Mar 2007 08:17:05 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2007/3/24/jsonmarshaller</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>Devils and details</title>
      <link>http://nicholasjon.com/permalink/2007/3/22/devils_and_details</link>
      <description>&lt;p&gt;I stumbled across a fantastic quote in &lt;a href="http://www.taylor.se/blog/2007/03/22/top-ten-things-ten-years-of-professional-software-development-has-taught-me/"&gt;this article on software development&lt;/a&gt;:&lt;/p&gt;


&lt;blockquote&gt;The devil is in the details, but exorcism is in implementation, not theory.&lt;/blockquote&gt;

	&lt;p&gt;(It&amp;#8217;s attributed to Dave Farell, but I can&amp;#8217;t find an actual source.)&lt;/p&gt;


	&lt;p&gt;Fantastic little nugget.&lt;/p&gt;</description>
      <pubDate>Thu, 22 Mar 2007 20:10:48 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2007/3/22/devils_and_details</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>Updating Rubygems</title>
      <link>http://nicholasjon.com/permalink/2007/3/14/updating_rubygems</link>
      <description>&lt;p&gt;Here&amp;#8217;s how I updated my MacBook Pro from Rails 1.2.1 to Rails 1.2.3:&lt;/p&gt;


&lt;code&gt;sudo gem update --system
sudo mv /usr/local/lib/ruby/gems/1.8/source_cache ~/tmp
mv ~/.gem/ ~/tmp/
gem sources
sudo gem install rails --include-dependencies
&lt;/code&gt;

	&lt;p&gt;Those five lines of code took about an hour and some serious Googling to figure out.  Ah well, back to work.&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: You may (probably will) get an error after you run &amp;#8220;sudo gem install rails&amp;#8212;include-dependencies&amp;#8221;.  I&amp;#8217;m not sure exactly why, but running the same command again will finally update your Rails install.  Anyone with a better solution should feel free to pop a comment down below.&lt;/p&gt;</description>
      <pubDate>Thu, 15 Mar 2007 05:24:03 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2007/3/14/updating_rubygems</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>Time Sensitive CSS Switcher</title>
      <link>http://nicholasjon.com/permalink/2007/3/10/time_sensitive_css_switcher</link>
      <description>&lt;p&gt;A front-page Digg story about swapping out &lt;span class="caps"&gt;CSS&lt;/span&gt; files depending on the time of day.  It&amp;#8217;s nice to see so many people interested in the technique, I guess I&amp;#8217;m just a little surprised people are finding the idea so groundbreaking.  This guy does it with Javascript, and while that&amp;#8217;s not a bad idea, I still think a server-side solution is best.&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://www.digg.com/design/Time_Sensitive_CSS_Switcher"&gt;http://www.digg.com/design/Time_Sensitive_CSS_Switcher&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 10 Mar 2007 13:54:14 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2007/3/10/time_sensitive_css_switcher</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>Why Ruby?</title>
      <link>http://nicholasjon.com/permalink/2007/1/11/why_ruby</link>
      <description>&lt;p&gt;There&amp;#8217;s a &lt;a href="http://on-ruby.blogspot.com/2007/01/win-books-by-blogging.html"&gt;contest at &amp;#8216;On Ruby&amp;#8217; to write the best article about how Ruby has made you a better developer&lt;/a&gt;.  Though I consider it to be way to self-congratulatory for its own good &amp;mdash; approaching the sort of fanboyism that puts Ruby developers in the same category as religious zealots &amp;mdash; do feel an obligation to admit that Ruby really has made me a better programmer.&lt;/p&gt;


	&lt;p&gt;Rather than ramble on about &lt;span class="caps"&gt;PHP&lt;/span&gt;, Javascript and the way I used to code, let me just explain why I think I&amp;#8217;m a better developer because of Ruby like so:  Ruby rewards me for doing things the way I ought to do them, and once I&amp;#8217;ve done things the right way it is very difficult for me to slip back into my old habits regardless of language.&lt;/p&gt;</description>
      <pubDate>Thu, 11 Jan 2007 19:07:08 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2007/1/11/why_ruby</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>Recursive Directory List with Ruby</title>
      <link>http://nicholasjon.com/permalink/2006/9/21/recursive_directory_list_with_ruby</link>
      <description>&lt;p&gt;Helpful, and soooo easy&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://www.oreillynet.com/onjava/blog/2006/03/recursive_directory_list_with.html"&gt;http://www.oreillynet.com/onjava/blog/2006/03/recursive_directory_list_with.html&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:17 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2006/9/21/recursive_directory_list_with_ruby</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>JavaScript Performance Recommendations</title>
      <link>http://nicholasjon.com/permalink/2006/9/17/javascript_performance_recommendations</link>
      <description>&lt;p&gt;From the IE team no less &amp;mdash; really good stuff&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://blogs.msdn.com/ie/archive/2006/08/28/728654.aspx"&gt;http://blogs.msdn.com/ie/archive/2006/08/28/728654.aspx&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:13 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2006/9/17/javascript_performance_recommendations</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>Ruby's new clothes</title>
      <link>http://nicholasjon.com/permalink/2006/9/16/rubys_new_clothes</link>
      <description>&lt;p&gt;The Ruby site got a bit of a facelift&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://www.ruby-lang.org/en/"&gt;http://www.ruby-lang.org/en/&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:11 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2006/9/16/rubys_new_clothes</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>Scope in JavaScript</title>
      <link>http://nicholasjon.com/permalink/2006/9/16/scope_in_javascript</link>
      <description>&lt;p&gt;Oddly timely (for me)&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://digital-web.com/articles/scope_in_javascript/"&gt;http://digital-web.com/articles/scope_in_javascript/&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:11 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2006/9/16/scope_in_javascript</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>William Shakespeare's Sonnet 18 - ported to ActionScript 2.0</title>
      <link>http://nicholasjon.com/permalink/2006/3/20/william_shakespeares_sonnet_18_ported_to_actionscript_20</link>
      <description>&lt;p&gt;Shakespeare in code, gotta love it.&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://www.heavyflash.com/poetry/Shakespeare_Sonnet18.html"&gt;http://www.heavyflash.com/poetry/Shakespeare_Sonnet18.html&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:22 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2006/3/20/william_shakespeares_sonnet_18_ported_to_actionscript_20</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>Ten realistic steps to a faster web site</title>
      <link>http://nicholasjon.com/permalink/2006/2/2/ten_realistic_steps_to_a_faster_web_site</link>
      <description>&lt;p&gt;Pretty reasonable tips&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://alexander.kirk.at/2006/02/02/10-steps-to-a-faster-web-site/"&gt;http://alexander.kirk.at/2006/02/02/10-steps-to-a-faster-web-site/&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:38 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2006/2/2/ten_realistic_steps_to_a_faster_web_site</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>Universal child replacement</title>
      <link>http://nicholasjon.com/permalink/2006/1/12/universal_child_replacement</link>
      <description>&lt;p&gt;An &lt;strong&gt;extremely useful&lt;/strong&gt; CSS technique from Eric Meyer&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://meyerweb.com/eric/thoughts/2005/05/31/universal-child-replacement/"&gt;http://meyerweb.com/eric/thoughts/2005/05/31/universal-child-replacement/&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:10 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2006/1/12/universal_child_replacement</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>Switching to Subversion</title>
      <link>http://nicholasjon.com/permalink/2005/12/29/switching_to_subversion</link>
      <description>&lt;p&gt;I&amp;#8217;ve been meaning to do this for about a month now but just haven&amp;#8217;t taken the time&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://jroller.com/comments/thuss/Blog/switching_to_subversion#comments"&gt;http://jroller.com/comments/thuss/Blog/switching_to_subversion#comments&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:25 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2005/12/29/switching_to_subversion</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>iPhoto-like image resizing using Javascript</title>
      <link>http://nicholasjon.com/permalink/2005/12/20/iphotolike_image_resizing_using_javascript</link>
      <description>&lt;p&gt;Nice effect&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://www.agilepartners.com/blog/2005/12/07/iphoto-image-resizing-using-javascript/"&gt;http://www.agilepartners.com/blog/2005/12/07/iphoto-image-resizing-using-javascript/&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:17 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2005/12/20/iphotolike_image_resizing_using_javascript</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>In search of the One True Layout</title>
      <link>http://nicholasjon.com/permalink/2005/11/8/in_search_of_the_one_true_layout</link>
      <description>&lt;p&gt;Perhaps the greatest collection of &lt;span class="caps"&gt;CSS&lt;/span&gt; techniques ever committed to markup&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://positioniseverything.net/articles/onetruelayout/"&gt;http://positioniseverything.net/articles/onetruelayout/&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:35 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2005/11/8/in_search_of_the_one_true_layout</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>Paypal library for Ruby on Rails</title>
      <link>http://nicholasjon.com/permalink/2005/8/3/paypal_library_for_ruby_on_rails</link>
      <description>&lt;p&gt;Yet another example of the sort of short development time open source tools can get you&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://dist.leetsoft.com/api/paypal/"&gt;http://dist.leetsoft.com/api/paypal/&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:43 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2005/8/3/paypal_library_for_ruby_on_rails</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>Brazilians crack Michelangelo's code</title>
      <link>http://nicholasjon.com/permalink/2005/6/16/brazilians_crack_michelangelos_code</link>
      <description>&lt;p&gt;An anatomy lesson on the ceiling of the Sistine Chapel&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://www.cnn.com/2005/WORLD/americas/06/16/brazil.michelangelo.reut/index.html?section=cnn_latest"&gt;http://www.cnn.com/2005/WORLD/americas/06/16/brazil.michelangelo.reut/index.html?section=cnn_latest&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:21 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2005/6/16/brazilians_crack_michelangelos_code</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
  </channel>
</rss>
