<?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: ruby</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>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>Joyent Slingshot</title>
      <link>http://nicholasjon.com/permalink/2007/3/24/joyent_slingshot</link>
      <description>&lt;p&gt;Build offline-syncable web apps for Windows and &lt;span class="caps"&gt;OSX&lt;/span&gt; in Ruby.&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://joyeur.com/2007/03/22/joyent-slingshot"&gt;http://joyeur.com/2007/03/22/joyent-slingshot&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 24 Mar 2007 08:17:40 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2007/3/24/joyent_slingshot</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>Ruby and MySQL on Ubuntu</title>
      <link>http://nicholasjon.com/permalink/2007/1/20/ruby_and_mysql_on_ubuntu</link>
      <description>&lt;p&gt;When installing &lt;a href="http://www.ruby-lang.org/"&gt;Ruby&lt;/a&gt;, &lt;a href="http://www.rubyonrails.com/"&gt;Rails&lt;/a&gt;, and &lt;a href="http://www.mysql.com/"&gt;MySQL&lt;/a&gt; on &lt;a href="http://www.ubuntu.com/"&gt;Ubuntu&lt;/a&gt; remember the following when you get to the database part and you&amp;#8217;ll be fine:&lt;/p&gt;


&lt;code&gt;
apt-get install mysql-server 
apt-get install mysql-client
apt-get install libmysqlclient15-dev
gem install mysql -- --with-mysql-dir=/usr/bin --with-mysql-config=/usr/bin/mysql_config
&lt;/code&gt;

	&lt;p&gt;I always forget the development libraries, and that makes compiling the native Ruby bindings difficult to say the least.&lt;/p&gt;</description>
      <pubDate>Sat, 20 Jan 2007 07:54:34 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2007/1/20/ruby_and_mysql_on_ubuntu</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>Capistrano cheat sheet</title>
      <link>http://nicholasjon.com/permalink/2006/10/22/capistrano_cheat_sheet</link>
      <description>&lt;p&gt;Always good to have a printed reference in a pinch.&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://cheat.errtheblog.com/s/capistrano/"&gt;http://cheat.errtheblog.com/s/capistrano/&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:44 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2006/10/22/capistrano_cheat_sheet</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>Ruby one-liners</title>
      <link>http://nicholasjon.com/permalink/2006/9/17/ruby_oneliners</link>
      <description>&lt;p&gt;For command line gurus and shell script sultans&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://www.fepus.net/ruby1line.txt"&gt;http://www.fepus.net/ruby1line.txt&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:12 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2006/9/17/ruby_oneliners</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>HAML: HTML abstraction</title>
      <link>http://nicholasjon.com/permalink/2006/9/16/haml_html_abstraction</link>
      <description>&lt;p&gt;I don&amp;#8217;t have a grasp for whether or not this is a good thing &amp;mdash; I tend to like writing &amp;#8220;the language that I&amp;#8217;m writing&amp;#8221; when I&amp;#8217;m working&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://dev.hamptoncatlin.com/haml"&gt;http://dev.hamptoncatlin.com/haml&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:12 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2006/9/16/haml_html_abstraction</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>How to write an "acts as" plugin in Ruby on Rails</title>
      <link>http://nicholasjon.com/permalink/2006/8/7/how_to_write_an_acts_as_plugin_in_ruby_on_rails</link>
      <description>&lt;p&gt;I&amp;#8217;ve always wondered&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://wiki.rubyonrails.org/rails/pages/HowToWriteAnActsAsFoxPlugin"&gt;http://wiki.rubyonrails.org/rails/pages/HowToWriteAnActsAsFoxPlugin&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:43 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2006/8/7/how_to_write_an_acts_as_plugin_in_ruby_on_rails</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>Ruby book sales pass Perl</title>
      <link>http://nicholasjon.com/permalink/2006/8/7/ruby_book_sales_pass_perl</link>
      <description>&lt;p&gt;Amazing what two years can do&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://radar.oreilly.com/archives/2006/07/ruby_book_sales_pass_perl.html"&gt;http://radar.oreilly.com/archives/2006/07/ruby_book_sales_pass_perl.html&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:43 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2006/8/7/ruby_book_sales_pass_perl</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>AssetPackager</title>
      <link>http://nicholasjon.com/permalink/2006/6/23/assetpackager</link>
      <description>&lt;p&gt;Compress &lt;span class="caps"&gt;CSS&lt;/span&gt; and JS files for production apps&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://synthesis.sbecker.net/pages/asset_packager"&gt;http://synthesis.sbecker.net/pages/asset_packager&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:19 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2006/6/23/assetpackager</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>Camping, a Microframework</title>
      <link>http://nicholasjon.com/permalink/2006/5/28/camping_a_microframework</link>
      <description>&lt;p&gt;When you don&amp;#8217;t need &amp;#8220;everything&amp;#8221; that is Rails, go Camping&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://code.whytheluckystiff.net/camping/"&gt;http://code.whytheluckystiff.net/camping/&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:29 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2006/5/28/camping_a_microframework</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>Evaluation: moving from Java to Ruby on Rails</title>
      <link>http://nicholasjon.com/permalink/2006/2/28/evaluation_moving_from_java_to_ruby_on_rails</link>
      <description>&lt;p&gt;Some tips&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://rewrite.rickbradley.com/pages/moving_to_rails/"&gt;http://rewrite.rickbradley.com/pages/moving_to_rails/&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:30 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2006/2/28/evaluation_moving_from_java_to_ruby_on_rails</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>RailsConf 2006</title>
      <link>http://nicholasjon.com/permalink/2005/12/5/railsconf_2006</link>
      <description>&lt;p&gt;It&amp;#8217;s in Chicago &amp;mdash; I&amp;#8217;m so going&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://railsconf.com/"&gt;http://railsconf.com/&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:33 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2005/12/5/railsconf_2006</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
    <item>
      <title>Learn to Program Ruby</title>
      <link>http://nicholasjon.com/permalink/2005/8/9/learn_to_program_ruby</link>
      <description>&lt;p&gt;A neat tutorial for those starting out&lt;/p&gt;&lt;p&gt;Link: &lt;a href="http://pine.fm/LearnToProgram/?Chapter=Contents"&gt;http://pine.fm/LearnToProgram/?Chapter=Contents&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 30 Oct 2006 20:31:12 GMT</pubDate>
      <guid>http://nicholasjon.com/permalink/2005/8/9/learn_to_program_ruby</guid>
      <author>nicholasjon@nicholasjon.com (Nick)</author>
    </item>
  </channel>
</rss>
