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

<channel>
	<title>PullMonkey Blog</title>
	<atom:link href="http://pullmonkey.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://pullmonkey.com</link>
	<description></description>
	<pubDate>Thu, 26 Apr 2012 19:17:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Headers and Footers in ruby&#8217;s Spreadsheet gem</title>
		<link>http://pullmonkey.com/2012/04/26/headers-and-footers-in-rubys-spreadsheet-gem/</link>
		<comments>http://pullmonkey.com/2012/04/26/headers-and-footers-in-rubys-spreadsheet-gem/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 19:17:20 +0000</pubDate>
		<dc:creator>charlie</dc:creator>
		
		<category><![CDATA[api]]></category>

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

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

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

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

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

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

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

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

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

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

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

		<guid isPermaLink="false">http://pullmonkey.com/?p=57696</guid>
		<description><![CDATA[Have you ever needed to add a header or footer to your spreadsheets in ruby?
Yah, well, we have 
Yes, you can do this with the Write Excel gem.
But we've already written years worth of spreadsheet code with the spreadsheet gem and don't want to rewrite it all.
Anyway, we thought we'd share our little trick to [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever needed to add a header or footer to your spreadsheets in ruby?<br />
Yah, well, we have <img src='http://pullmonkey.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
Yes, you can do this with the <a href="https://rubygems.org/gems/writeexcel">Write Excel gem</a>.<br />
But we've already written years worth of spreadsheet code with the <a href="https://rubygems.org/gems/spreadsheet">spreadsheet gem</a> and don't want to rewrite it all.</p>
<p>Anyway, we thought we'd share our little trick to get page headers using the spreadsheet gem.</p>
<p><script src="https://gist.github.com/2502027.js?file=gistfile1.rb"></script></p>
<p>So what you see here (above) goes into a config/initializer, something like RAILS_ROOT/config/initializer/enable_headers_in_spreadsheet_gem.rb.  Here's what's going on:</p>
<p>1) We know that the <em>write_from_scratch</em> method is called when everything is said and done and the data is ready to be written to the spreadsheet file.  So we make use of this and alias that method to <em>write_from_scratch_without_header</em>.  Which opens us up to call our <em>write_header</em> method inside our <em>write_from_scratch</em> method which, of course, will call the original <em>write_from_scratch</em> method.</p>
<p>2) Our <em>write_header</em> method makes use of the already existing opcode for Header in the spreadsheet gem.  It's not being used, so my guess is the developers intend on solving this issue at some point.  We have to send the opcode, the length info and the string we want to write out.  This was the trickiest part to figure out.</p>
<p>3) We expose an add_header method that simply takes a string and stores it in the header accessor.  This means, to set the header, you simply say <em>sheet.add_header("foo header")</em>.</p>
<p>To implement the footer, you'd just do the same thing, create a footer accessor, add a method to update it.  Then build the <em>writer_footer</em> method with <em>opcode(:footer)</em> and append <em>write_footer</em> at the end of <em>write_from_scratch</em>.</p>
<p>Well, that took us some time to figure out, so enjoy and let me know if you have any questions.</p>
]]></content:encoded>
			<wfw:commentRss>http://pullmonkey.com/2012/04/26/headers-and-footers-in-rubys-spreadsheet-gem/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ruby&#8217;s stacked conditionals - who knew?</title>
		<link>http://pullmonkey.com/2012/03/10/rubys-stacked-conditionals-who-knew/</link>
		<comments>http://pullmonkey.com/2012/03/10/rubys-stacked-conditionals-who-knew/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 23:40:59 +0000</pubDate>
		<dc:creator>charlie</dc:creator>
		
		<category><![CDATA[development]]></category>

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

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

		<guid isPermaLink="false">http://pullmonkey.com/?p=57687</guid>
		<description><![CDATA[puts "hello readers" if you_are_a_reader if you_can_read unless you_already_read_it
I was playing around with some project euler code I'm working on (anyone else figure out the Pencils of Rays with code that executes in less than a minute??). Anyway - I was going through my code and adding "if debug" to the end of all my [...]]]></description>
			<content:encoded><![CDATA[<div class="codesnip-container" >puts "hello readers" <span style="color:#8b8">if you_are_a_reader</span> <span style="color:#88b">if you_can_read</span> <span style="color:#b88">unless you_already_read_it</span></div>
<p>I was playing around with some <a href="http://projecteuler.net/">project euler</a> code I'm working on (anyone else figure out the Pencils of Rays with code that executes in less than a minute??). Anyway - I was going through my code and adding "if debug" to the end of all my puts statements b/c I didn't want to see them for the next run through. So by mistake, I blindly added "if debug" at the end of 'puts "odd" if odd', giving me 'puts "odd" if odd if debug'.  Neat.  Then, going through trying to find the bottlenecks, I noticed it. So jumped into irb to make sure it was legit and it was.</p>
<p>Interesting.  Not sure where I'd ever use it, though.</p>
]]></content:encoded>
			<wfw:commentRss>http://pullmonkey.com/2012/03/10/rubys-stacked-conditionals-who-knew/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Formgen 0.3.0 and some generated examples</title>
		<link>http://pullmonkey.com/2011/11/17/formgen-030-and-some-generated-examples/</link>
		<comments>http://pullmonkey.com/2011/11/17/formgen-030-and-some-generated-examples/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 00:01:03 +0000</pubDate>
		<dc:creator>charlie</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://pullmonkey.com/?p=57676</guid>
		<description><![CDATA[Formgen generates views in erb and haml based on these keywords: has_many, belongs_to, accepts_nested_attributes_for, and has_attached_file.  It follows best practice and standard patterns so you don't have to.  Here is example of its usage:
Doing this
rails generate skizmo:form Foo
Generates this
app/helpers/foo_setup_helper.rb
 
app/views/foos/new.html.erb
 
app/views/foos/edit.html.erb
 
app/views/foos/_form.html.erb
 
app/views/foos/_bar_fields.html.erb
 
app/views/foos/_baz_fields.html.erb
 

That's it:
Ok, so I say that, but there are [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://github.com/pullmonkey/formgen">Formgen</a> generates views in erb and haml based on these keywords: has_many, belongs_to, accepts_nested_attributes_for, and has_attached_file.  It follows best practice and standard patterns so you don't have to.  Here is example of its usage:<br/></p>
<h1>Doing this</h1>
<p>rails generate skizmo:form Foo</pre>
<h1>Generates this</h1>
<h3>app/helpers/foo_setup_helper.rb</h3>
<p><script src="https://gist.github.com/1371354.js"> </script></p>
<h3>app/views/foos/new.html.erb</h3>
<p><script src="https://gist.github.com/1371360.js"> </script></p>
<h3>app/views/foos/edit.html.erb</h3>
<p><script src="https://gist.github.com/1371367.js"> </script></p>
<h3>app/views/foos/_form.html.erb</h3>
<p><script src="https://gist.github.com/1371372.js"> </script></p>
<h3>app/views/foos/_bar_fields.html.erb</h3>
<p><script src="https://gist.github.com/1371375.js"> </script></p>
<h3>app/views/foos/_baz_fields.html.erb</h3>
<p><script src="https://gist.github.com/1371377.js"> </script><br />
<br/></p>
<h1>That's it:</h1>
<p>Ok, so I say that, but there are a few things to note.  First, this probably only works with Rails 3, given some of the calls I make for figuring things out.  Next, you'll want to <em>yield :head</em>, somewhere in your layout so that the <em>content_for :head</em> that loads the add and remove jQuery will be useful.  Finally, you should note that the nested attributes are only processed from the first level, but that will soon change.  Anyway, enjoy it and if you have any problems, just let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://pullmonkey.com/2011/11/17/formgen-030-and-some-generated-examples/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Form Gen - ruby on rails gem</title>
		<link>http://pullmonkey.com/2011/11/16/form-gen-ruby-on-rails-gem/</link>
		<comments>http://pullmonkey.com/2011/11/16/form-gen-ruby-on-rails-gem/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 04:38:31 +0000</pubDate>
		<dc:creator>charlie</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://pullmonkey.com/?p=57670</guid>
		<description><![CDATA[I've always dreaded doing the view code for nested attributes, setting up the helpers, the javascript, partials etc.  Just so tedious, so I thought, I'd try my hand at a form generator.  This generator takes a class and then processes all the nested attributes of that class's has_many's and belongs_to's to generate the [...]]]></description>
			<content:encoded><![CDATA[<p>I've always dreaded doing the view code for nested attributes, setting up the helpers, the javascript, partials etc.  Just so tedious, so I thought, I'd try my hand at <a href="https://github.com/pullmonkey/formgen">a form generator</a>.  This <a href="https://github.com/pullmonkey/formgen">generator</a> takes a class and then processes all the nested attributes of that class's has_many's and belongs_to's to generate the typical pattern of form partial and field partials you find <a href="http://railscasts.com/episodes/196-nested-model-form-part-1">here</a>.<br/><br/></p>
<p><script src="https://gist.github.com/1369234.js"> </script></p>
<p><em>Yah I did ruby syntax-highlighting ... so not the best for something like that, but eh ... it'll do.</em></p>
<p>The <a href="https://rubygems.org/gems/formgen">formgen gem</a> is a 0.1.0 starting point, but has worked for all the things I've needed.  If you're feeling brave give it a shot:</p>
<pre style="margin-bottom:10px;border:1px dashed black; padding: 4px; background-color: #ddd;"># In your Gemfile -
gem 'formgen'
# then from your rails projects -
rails g skizmo:form SomeClass</pre>
<p>That outta do it.</p>
]]></content:encoded>
			<wfw:commentRss>http://pullmonkey.com/2011/11/16/form-gen-ruby-on-rails-gem/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Azilink is working again !</title>
		<link>http://pullmonkey.com/2011/11/15/azilink-is-working-again/</link>
		<comments>http://pullmonkey.com/2011/11/15/azilink-is-working-again/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 05:04:40 +0000</pubDate>
		<dc:creator>charlie</dc:creator>
		
		<category><![CDATA[Android]]></category>

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

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

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

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

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

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

		<guid isPermaLink="false">http://pullmonkey.com/?p=57655</guid>
		<description><![CDATA[If the apk is not available for download yet, you can build it yourself with the fix from here.
Step 1 - Grab the source from svn -
svn checkout http://azilink.googlecode.com/svn/trunk/ azilink-read-only
Step 2 - Update the UdpDriver.java per this azilink issue.
Step 3 - Build and install the apk
# this will give you a build.xml file
android update project --target [...]]]></description>
			<content:encoded><![CDATA[<p><em>If the apk is not available for download yet, you can build it yourself with <a href="http://code.google.com/p/azilink/issues/detail?id=43">the fix from here</a>.</em><br/><br />
<strong>Step 1</strong> - Grab the source from svn -</p>
<pre style="margin-bottom:10px;border:1px dashed black; padding: 4px; background-color: #ddd;">svn checkout http://azilink.googlecode.com/svn/trunk/ azilink-read-only</pre>
<p><strong>Step 2</strong> - Update the UdpDriver.java per <a href="http://code.google.com/p/azilink/issues/detail?id=43">this azilink issue</a>.</p>
<p><strong>Step 3</strong> - Build and install the apk</p>
<pre style="margin-bottom:10px;border:1px dashed black; padding: 4px; background-color: #ddd;"># this will give you a build.xml file
android update project --target 2 --path /path/to/your/azilinkdownload/
# after plugging in your device and from your azilink project directory
ant debug install</pre>
<p><strong>Step 4</strong> - Install Open VPN</p>
<pre style="margin-bottom:10px;border:1px dashed black; padding: 4px; background-color: #ddd;">sudo apt-get install openvpn</pre>
<p><strong>Step 5</strong> - Grab the azilnk.ovpn file from <a href="http://azilink.googlecode.com/files/azilink.ovpn">the downloads section</a>.<br />
Place somewhere you won't lose it.</p>
<p><strong>Step 6</strong> - Copy this resolv.azilink file to the same place as the azilink.ovpn<br />
 <script src="https://gist.github.com/1366168.js"> </script></p>
<p><strong>Step 7</strong> - Copy this azilink script to somewhere you can get to it<br />
<script src="https://gist.github.com/1366175.js"> </script></p>
<p><strong>Step 8</strong> - Start azilink on your phone.</p>
<p><strong>Step 9</strong> - Run the script from step 7.<br />
<br/><br />
That's it.</p>
]]></content:encoded>
			<wfw:commentRss>http://pullmonkey.com/2011/11/15/azilink-is-working-again/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hello Android - Pindah (with Mirah) Application</title>
		<link>http://pullmonkey.com/2011/11/13/hello-android-pindah-with-mirah-application/</link>
		<comments>http://pullmonkey.com/2011/11/13/hello-android-pindah-with-mirah-application/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 04:38:08 +0000</pubDate>
		<dc:creator>charlie</dc:creator>
		
		<category><![CDATA[Android]]></category>

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

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

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

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

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

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

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

		<guid isPermaLink="false">http://pullmonkey.com/?p=57638</guid>
		<description><![CDATA[Did you install the Android SDK / JDK, etc?  If not, start here - http://developer.android.com/sdk/index.html.
If you're running 64-bit like me, make sure to install the ia32-libs, since the SDK is 32-bit.

This is completely based on the Hello Android tutorial - I didn't really do a whole lot, but the hope is that this will help get some [...]]]></description>
			<content:encoded><![CDATA[<p>Did you install the Android SDK / JDK, etc?  If not, start here - <a href="http://developer.android.com/sdk/index.html">http://developer.android.com/sdk/index.html</a>.<br />
If you're running 64-bit like me, make sure to install the ia32-libs, since the SDK is 32-bit.</p>
<p><br/></p>
<p>This is completely based on <a href="http://developer.android.com/resources/tutorials/hello-world.html">the Hello Android tutorial</a> - I didn't really do a whole lot, but the hope is that this will help get some more ruby devs into android development with a simple how-to.<br />
<br/></p>
<h3>Step 1 - Setup RVM with jruby</h3>
<p><br/></p>
<p><strong>Note:</strong> RVM is awesome, if you don't use it or don't know about it - read more <a href="http://beginrescueend.com/">here</a>.</p>
<p><br/></p>
<pre style="border:1px dashed black; padding: 4px; background-color: #ddd;">rvm install jruby
cd /path/to/your/android/pindah/mirah/project/dir/
# using your .rvmrc will trigger `rvm use jruby` when you cd into your project dir.
echo "rvm use jruby" &gt; .rvmrc
# this will make sure your .rvmrc is working, you should then be able
# to use rvm info and see jruby
cd .</pre>
<p><br/></p>
<h3>Step 2 - Install the mirah and pindah gems</h3>
<p><br/></p>
<pre style="border:1px dashed black; padding: 4px; background-color: #ddd;"># too easy
gem install mirah pindah</pre>
<p><br/></p>
<h3>Step 3 - Create your first pindah app</h3>
<p><br/></p>
<pre style="border:1px dashed black; padding: 4px; background-color: #ddd;">pindah create com.example.android.hello_world
cd hello_world</pre>
<p><br/></p>
<h3>Step 4 - Create your activity - HelloAndroid.mirah</h3>
<p><br/></p>
<pre style="border:1px dashed black; padding: 4px; background-color: #ddd;"># from your project dir and inside your pindah app dir
&lt;editor&gt; src/com/example/android/hello_world/HelloWorld.mirah</pre>
<p>This is the code I used:<br />
<script src="https://gist.github.com/1361596.js"> </script></p>
<p><br/></p>
<h3>Step 5 - Setup your AndroidManifest.xml file</h3>
<p><br/></p>
<p>This is where you define your app, version, name, etc, but more importantly for this example - what activity will handle your main intent.<br />
Mine looks like this:<br />
<script src="https://gist.github.com/1361597.js"> </script></p>
<p><br/></p>
<h3>Step 6 - Install to your device</h3>
<p><br/></p>
<pre style="border:1px dashed black; padding: 4px; background-color: #ddd;"># make sure a device is recognized  ...
# and make sure adb is in your path (platform-tools in the SDK)
adb devices
rake install</pre>
<p><br/></p>
<p><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://pullmonkey.com/2011/11/13/hello-android-pindah-with-mirah-application/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Playing with Mirah</title>
		<link>http://pullmonkey.com/2011/11/10/playing-with-mirah/</link>
		<comments>http://pullmonkey.com/2011/11/10/playing-with-mirah/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 06:14:37 +0000</pubDate>
		<dc:creator>charlie</dc:creator>
		
		<category><![CDATA[development]]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://pullmonkey.com/?p=57622</guid>
		<description><![CDATA[Mirah (formally duby) is pretty freaking cool.   Plans are to scrap java and use mirah for future android development, we'll see.  Here's a rough example of some pretty basic mirah.
To get started, you'll need jruby and the mirah gem:
rvm install jruby
rvm use jruby (or put in your .rvmrc)
gem install mirah

Then create an example:
puts "hello [...]]]></description>
			<content:encoded><![CDATA[<p>Mirah (formally duby) is pretty freaking cool.   Plans are to scrap java and use mirah for future android development, we'll see.  Here's a rough example of some pretty basic mirah.<br/></p>
<h3><strong>To get started, you'll need jruby and the mirah gem:</strong></h3>
<pre style="border:1px dashed black; padding: 4px; background-color: #ddd;">rvm install jruby
rvm use jruby (or put in your .rvmrc)
gem install mirah</pre>
<p><br/></p>
<h3><strong>Then create an example:</strong></h3>
<pre style="border:1px dashed black; padding: 4px; background-color: #ddd;">puts "hello world!!"
500.times do |x|
  puts x
end</pre>
<p><br/></p>
<h3><strong>Time in ruby:</strong></h3>
<pre style="border:1px dashed black; padding: 4px; background-color: #ddd;">time ruby test.mirah</pre>
<p>...<br />
=&gt; .457s<br/></p>
<h3><strong>Compile to Java and time:</strong></h3>
<pre style="border:1px dashed black; padding: 4px; background-color: #ddd;">mirahc test.mirah
time java Test</pre>
<p>....<br />
=&gt; .081s<br/></p>
<h3><strong>Less than 1/5 the time and it compiles to Java ... neat <img src='http://pullmonkey.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></h3>
<pre style="border:1px dashed black; padding: 4px; background-color: #ddd;">mirahc -j test.mirah

// Generated from test.mirah
public class Test extends java.lang.Object {
  public static void main(java.lang.String[] argv) {
    int __xform_tmp_1 = 0;
    int __xform_tmp_2 = 0;
    int x = 0;
    java.io.PrintStream temp$1 = java.lang.System.out;
    temp$1.println("hello world");
    __xform_tmp_1 = 0;
    __xform_tmp_2 = 500;
    label2:
    while ((__xform_tmp_1 &lt; __xform_tmp_2)) {
      x = __xform_tmp_1;
      label3:
       {
        java.io.PrintStream temp$4 = java.lang.System.out;
        temp$4.println(x);
      }
      __xform_tmp_1 = (__xform_tmp_1 + 1);
    }
  }
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://pullmonkey.com/2011/11/10/playing-with-mirah/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using ruby to consolidate a list of numbers by shortening with hyphens</title>
		<link>http://pullmonkey.com/2011/11/09/using-ruby-to-consolidate-a-list-of-numbers-by-shortening-with-hyphens/</link>
		<comments>http://pullmonkey.com/2011/11/09/using-ruby-to-consolidate-a-list-of-numbers-by-shortening-with-hyphens/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 21:34:09 +0000</pubDate>
		<dc:creator>charlie</dc:creator>
		
		<category><![CDATA[development]]></category>

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

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

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

		<guid isPermaLink="false">http://pullmonkey.com/?p=57619</guid>
		<description><![CDATA[Check it out -
 
]]></description>
			<content:encoded><![CDATA[<p>Check it out -</p>
<p><script src="https://gist.github.com/1353088.js"> </script></p>
]]></content:encoded>
			<wfw:commentRss>http://pullmonkey.com/2011/11/09/using-ruby-to-consolidate-a-list-of-numbers-by-shortening-with-hyphens/feed/</wfw:commentRss>
		</item>
		<item>
		<title>VIN API - ignore checksum validation</title>
		<link>http://pullmonkey.com/2011/10/28/vin-api-ignore-checksum-validation/</link>
		<comments>http://pullmonkey.com/2011/10/28/vin-api-ignore-checksum-validation/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 15:55:35 +0000</pubDate>
		<dc:creator>charlie</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

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

		<category><![CDATA[ruby on rails]]></category>

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

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

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

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

		<category><![CDATA[vin api]]></category>

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

		<guid isPermaLink="false">http://pullmonkey.com/?p=57615</guid>
		<description><![CDATA[It's been mentioned a few times that there should be a way to skip the checksum validation.   This means if the check digit calculation generally fails, VIN API will continue to process the VIN to see if there is a "like" VIN match.  So here it is: 

]]></description>
			<content:encoded><![CDATA[<p>It's been mentioned a few times that there should be a way to skip the checksum validation.   This means if the <a href="http://en.wikipedia.org/wiki/Vehicle_Identification_Number#Check_digit_calculation">check digit calculation</a> generally fails, <a href="http://vinapi.skizmo.com">VIN API</a> will continue to process the VIN to see if there is a "like" VIN match.  So here it is: </p>
<p><script src="https://gist.github.com/1322591.js?file=gistfile1.rb"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://pullmonkey.com/2011/10/28/vin-api-ignore-checksum-validation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu - The disk drive for X is not ready yet or not present</title>
		<link>http://pullmonkey.com/2011/05/19/ubuntu-the-disk-drive-for-x-is-not-ready-yet-or-not-present/</link>
		<comments>http://pullmonkey.com/2011/05/19/ubuntu-the-disk-drive-for-x-is-not-ready-yet-or-not-present/#comments</comments>
		<pubDate>Thu, 19 May 2011 03:33:12 +0000</pubDate>
		<dc:creator>charlie</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[disk drive]]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://pullmonkey.com/?p=57603</guid>
		<description><![CDATA[After an Ubuntu install go wrong my laptop started coming up with this error message:
The disk drive for X is not ready yet or not present
In my case, the laptop was having trouble with /dev/sda1, my root partition.
The Solution:
The error message above is met with two solutions, press S to skip or M to do [...]]]></description>
			<content:encoded><![CDATA[<p>After an Ubuntu install go wrong my laptop started coming up with this error message:<br/><br />
<strong>The disk drive for X is not ready yet or not present</strong><br/><br />
In my case, the laptop was having trouble with /dev/sda1, my root partition.<br/><br />
<strong>The Solution:</strong><br/><br />
The error message above is met with two solutions, press S to skip or M to do a manual install.  Press "M" for manual install.<br />
Once you are the command prompt, your drive will have been mounted as read-only, change that like this:</p>
<pre>mount /dev/sda1 -o rw,remount</pre>
<p>Now that the drive is in read-write again (test with a simple touch /tmp/test), continue the installation with this:</p>
<pre>dpkg --configure -a</pre>
<p><br/><br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://pullmonkey.com/2011/05/19/ubuntu-the-disk-drive-for-x-is-not-ready-yet-or-not-present/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

