<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4239196341953448967</id><updated>2024-09-14T18:15:55.987-07:00</updated><title type='text'>The Michaeldon Roareth</title><subtitle type='html'>I&#39;m a progronomist.  A programmer with a degree in economics.  I love Ruby, Rails, and Macroeconomics.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://micharch54.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4239196341953448967/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://micharch54.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06975448119192082859</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4239196341953448967.post-7219735767341735413</id><published>2014-07-23T22:33:00.000-07:00</published><updated>2014-07-23T22:33:15.617-07:00</updated><title type='text'>Simple NullObject For Ruby</title><content type='html'>&lt;h3&gt;
Sometimes you don&#39;t need something fancy&lt;/h3&gt;
&lt;div&gt;
I love the Null Object pattern. Especially on the things I&#39;ve been working on where it just needs to work despite errors in data. When you find these errors it&#39;s handy to grab a NullObject that will quack like you need.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Avdi Grimm wrote a great library, &lt;a href=&quot;https://github.com/avdi/naught&quot; target=&quot;_blank&quot;&gt;naught&lt;/a&gt;. It&#39;s great when you have a lot of dependency injection. If you&#39;re only using it once or twice in your small library, it&#39;s probably overkill.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
So here&#39;s a simple formula for putting in your own simple nullobjects.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: ruby&quot;&gt;class NullObject
&amp;nbsp; # You can instantiate a new NullObject with arbitrary methods by calling

&amp;nbsp; # Interactions.NullObject.new({method1: &quot;outcome1&quot;})

&amp;nbsp; # That will apply the method to the object

&amp;nbsp; def initialize(methods={})

&amp;nbsp; &amp;nbsp; methods.each_pair do |k,v|

&amp;nbsp; &amp;nbsp; &amp;nbsp; define_singleton_method k do

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; v

&amp;nbsp; &amp;nbsp; &amp;nbsp; end

&amp;nbsp; &amp;nbsp; end

&amp;nbsp; end

end&lt;/pre&gt;
&lt;br /&gt;
Then all you have to do to call it is:&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;pre class=&quot;brush: ruby&quot;&gt;NullObject.new(method1: &quot;Output&quot;)
&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;
And the key is the method name and the value is whatever you want it to output.&lt;/div&gt;
&lt;div&gt;
So something like:&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;brush: ruby&quot;&gt;def user
  creator || NullObject.new(name: &quot;Jim&quot;, accounts: [])
end
&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;
Will let your nullobject do user.accounts and return an empty array. Yay you always get an array instead of a NilClass error.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://micharch54.blogspot.com/feeds/7219735767341735413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4239196341953448967/7219735767341735413' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4239196341953448967/posts/default/7219735767341735413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4239196341953448967/posts/default/7219735767341735413'/><link rel='alternate' type='text/html' href='http://micharch54.blogspot.com/2014/07/simple-nullobject-for-ruby.html' title='Simple NullObject For Ruby'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06975448119192082859</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4239196341953448967.post-3467122696339379082</id><published>2014-07-11T10:36:00.000-07:00</published><updated>2014-07-23T20:34:58.857-07:00</updated><title type='text'>Homebrew MariaDB (MySQL) and strict_all_tables</title><content type='html'>I recently updated my MariaDB on OSX using homebrew and suddenly my tests were failing with a mysql error for inserting nulls. After some quick research I found that in a recent update MySQL and MariaDB defaulted sql_mode to strict_all_tables. This prevents nulls from entering where they were allowed before.&lt;br /&gt;
&lt;br /&gt;
Ideally that option is what you would want, but in our case our app has been running for years with NULLs everywhere. It would break our application and was in fact doing so in development.&lt;br /&gt;
&lt;br /&gt;
After some reasearch I found that by putting&lt;br /&gt;
&lt;br /&gt;
[mysqld]&lt;br /&gt;
sql_mode=&quot;&quot;&lt;br /&gt;
&lt;br /&gt;
would disable it globally but was insufficient because running&lt;br /&gt;
&lt;br /&gt;
SELECT&amp;nbsp;@@SESSION.sql_mode;&lt;br /&gt;
&lt;br /&gt;
would return STRICT_ALL_TABLES. Meaning that the database was still not functioning as before.&lt;br /&gt;
&lt;br /&gt;
There&#39;s probably a better way, but how I fixed it was to modify the plist.&lt;br /&gt;
~/Library/LaunchAgents/homebrew.mxcl.mariadb.plist&lt;br /&gt;
and added:&lt;br /&gt;
&lt;br /&gt;
&lt;string&gt;&amp;lt;string&amp;gt;--sql-mode=&amp;lt;/string&amp;gt;&lt;/string&gt;&lt;br /&gt;
&lt;br /&gt;
to the program parameters.&lt;br /&gt;
&lt;br /&gt;
Edit: I finally figured out why that session was being set in my rails application by a default.&lt;br /&gt;
&lt;br /&gt;
In your database.yml file you&#39;ll want to add strict: false&lt;br /&gt;
&lt;br /&gt;
It just so happened that I had upgraded maria and rails at the same time. Leading me to have a false positive. The plist option only appeared to work. After running tests a few more times the tests were failing again.&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://micharch54.blogspot.com/feeds/3467122696339379082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4239196341953448967/3467122696339379082' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4239196341953448967/posts/default/3467122696339379082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4239196341953448967/posts/default/3467122696339379082'/><link rel='alternate' type='text/html' href='http://micharch54.blogspot.com/2014/07/homebrew-mariadb-mysql-and.html' title='Homebrew MariaDB (MySQL) and strict_all_tables'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06975448119192082859</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4239196341953448967.post-5900992140965061939</id><published>2012-09-27T15:23:00.000-07:00</published><updated>2012-09-27T15:23:44.938-07:00</updated><title type='text'>Javascript Helps</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 14px; line-height: 1.4em; margin-bottom: 15px; padding: 0px;&quot;&gt;
Keep in mind that most of these articles are opinionated and you may not agree with every one of them, that&#39;s fine. Learn what you can, figure out how to improve your code and if you know of some other resources let&#39;s add them to the list.&lt;/div&gt;
&lt;div style=&quot;font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 14px; line-height: 1.4em; margin-bottom: 15px; margin-top: 15px; padding: 0px;&quot;&gt;
Javascript Basics:&lt;/div&gt;
&lt;ul style=&quot;font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 14px; line-height: 1.4em; margin: 15px 0px; padding: 0px 0px 0px 30px;&quot;&gt;
&lt;li style=&quot;line-height: 1.4em; margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;https://developer.mozilla.org/en-US/docs/JavaScript/Guide&quot; style=&quot;color: #4183c4; line-height: 1.4em; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;https://developer.mozilla.org/en-US/docs/JavaScript/Guide&lt;/a&gt;&amp;nbsp;- This is must, Mozilla has done a great job with all of their tuts and their documentation. Definitely go here over something like w3schools.&lt;/li&gt;
&lt;li style=&quot;line-height: 1.4em; margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://eleventyone.done.hu/OReilly.JavaScript.The.Good.Parts.May.2008.pdf&quot; style=&quot;color: #4183c4; line-height: 1.4em; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;http://eleventyone.done.hu/OReilly.JavaScript.The.Good.Parts.May.2008.pdf&lt;/a&gt;&amp;nbsp;Javascript the good parts&lt;/li&gt;
&lt;li style=&quot;line-height: 1.4em; margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/javascript-ajax/the-basics-of-object-oriented-javascript/&quot; style=&quot;color: #4183c4; line-height: 1.4em; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;http://net.tutsplus.com/tutorials/javascript-ajax/the-basics-of-object-oriented-javascript/&lt;/a&gt;&amp;nbsp;- Good introduction to some basic javascript principles.&lt;/li&gt;
&lt;li style=&quot;line-height: 1.4em; margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://shichuan.github.com/javascript-patterns/&quot; style=&quot;color: #4183c4; line-height: 1.4em; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;http://shichuan.github.com/javascript-patterns/&lt;/a&gt;&amp;nbsp;- This has great examples of various patterns and anti-patterns.&lt;/li&gt;
&lt;li style=&quot;line-height: 1.4em; margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://honza.ca/2012/07/large-javascript-application-tips&quot; style=&quot;color: #4183c4; line-height: 1.4em; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;http://honza.ca/2012/07/large-javascript-application-tips&lt;/a&gt;&amp;nbsp;- Great advice on doing large javascript apps. In general I find that these are important to follow even on the smallest project, you never know how it&#39;ll grow.&lt;/li&gt;
&lt;li style=&quot;line-height: 1.4em; margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://www.codethinked.com/preparing-yourself-for-modern-javascript-development&quot; style=&quot;color: #4183c4; line-height: 1.4em; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;http://www.codethinked.com/preparing-yourself-for-modern-javascript-development&lt;/a&gt;&amp;nbsp;- Introduces some of the gateway concepts you&#39;ll need for long-term or advanced javascript development.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 14px; line-height: 1.4em; margin-bottom: 15px; margin-top: 15px; padding: 0px;&quot;&gt;
Javascript Advanced Topics:&lt;/div&gt;
&lt;ul style=&quot;font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 14px; line-height: 1.4em; margin: 15px 0px; padding: 0px 0px 0px 30px;&quot;&gt;
&lt;li style=&quot;line-height: 1.4em; margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://www.cubrid.org/blog/dev-platform/toward-javascript-standards-commonjs-and-amd/&quot; style=&quot;color: #4183c4; line-height: 1.4em; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;http://www.cubrid.org/blog/dev-platform/toward-javascript-standards-commonjs-and-amd/&lt;/a&gt;&amp;nbsp;- While I&#39;m still on the fence about the whole AMD thing, it&#39;s really important to learn it because you&#39;ll probably see it at some point.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 14px; line-height: 1.4em; margin-bottom: 15px; margin-top: 15px; padding: 0px;&quot;&gt;
Javascript Patterns:&lt;/div&gt;
&lt;ul style=&quot;font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 14px; line-height: 1.4em; margin: 15px 0px; padding: 0px 0px 0px 30px;&quot;&gt;
&lt;li style=&quot;line-height: 1.4em; margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://net.tutsplus.com/tutorials/javascript-ajax/digging-into-design-patterns-in-javascript/&quot; style=&quot;color: #4183c4; line-height: 1.4em; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;http://net.tutsplus.com/tutorials/javascript-ajax/digging-into-design-patterns-in-javascript/&lt;/a&gt;&amp;nbsp;- Explanation of design patterns and their implementation in Javascript.&lt;/li&gt;
&lt;li style=&quot;line-height: 1.4em; margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth/&quot; style=&quot;color: #4183c4; line-height: 1.4em; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth/&lt;/a&gt;&amp;nbsp;- This has some great examples of how to do the module pattern well.&lt;/li&gt;
&lt;li style=&quot;line-height: 1.4em; margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://addyosmani.com/resources/essentialjsdesignpatterns/book/&quot; style=&quot;color: #4183c4; line-height: 1.4em; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;http://addyosmani.com/resources/essentialjsdesignpatterns/book/&lt;/a&gt;&amp;nbsp;- Great article on different design patterns and their pros and cons.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 14px; line-height: 1.4em; margin-bottom: 15px; margin-top: 15px; padding: 0px;&quot;&gt;
Javascript Tips:&lt;/div&gt;
&lt;ul style=&quot;font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 14px; line-height: 1.4em; margin: 15px 0px; padding: 0px 0px 0px 30px;&quot;&gt;
&lt;li style=&quot;line-height: 1.4em; margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://davidwalsh.name/javascript-private&quot; style=&quot;color: #4183c4; line-height: 1.4em; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;http://davidwalsh.name/javascript-private&lt;/a&gt;&amp;nbsp;- Interesting read on keeping things private. The comments have some good links as well, especially about Closures and hoisting.&lt;/li&gt;
&lt;li style=&quot;line-height: 1.4em; margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://kinesis.io/blog/10-tips-to-write-better-javascript/&quot; style=&quot;color: #4183c4; line-height: 1.4em; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;http://kinesis.io/blog/10-tips-to-write-better-javascript/&lt;/a&gt;&amp;nbsp;- Some fairly basic tips but they are pretty good nonetheless.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 14px; line-height: 1.4em; margin-bottom: 15px; margin-top: 15px; padding: 0px;&quot;&gt;
Useful Javascript Tools:&lt;/div&gt;
&lt;ul style=&quot;font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 14px; line-height: 1.4em; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px; margin-top: 15px; padding: 0px 0px 0px 30px;&quot;&gt;
&lt;li style=&quot;line-height: 1.4em; margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://www.jshint.com/&quot; style=&quot;color: #4183c4; line-height: 1.4em; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;http://www.jshint.com/&lt;/a&gt;&amp;nbsp;- Great implementation of a js linter. I love this thing.&lt;/li&gt;
&lt;li style=&quot;line-height: 1.4em; margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://headjs.com/&quot; style=&quot;color: #4183c4; line-height: 1.4em; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;http://headjs.com/&lt;/a&gt;&amp;nbsp;- Nice javascript loader.&lt;/li&gt;
&lt;li style=&quot;line-height: 1.4em; margin: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;http://jamjs.org/&quot; style=&quot;color: #4183c4; line-height: 1.4em; margin: 0px; padding: 0px; text-decoration: none;&quot;&gt;http://jamjs.org/&lt;/a&gt;&amp;nbsp;- Package manager for JS.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: helvetica, arial, freesans, clean, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 19.600000381469727px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: helvetica, arial, freesans, clean, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 19.600000381469727px;&quot;&gt;This is taken from my &lt;a href=&quot;https://gist.github.com/3774166&quot; target=&quot;_blank&quot;&gt;gist.&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://micharch54.blogspot.com/feeds/5900992140965061939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4239196341953448967/5900992140965061939' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4239196341953448967/posts/default/5900992140965061939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4239196341953448967/posts/default/5900992140965061939'/><link rel='alternate' type='text/html' href='http://micharch54.blogspot.com/2012/09/javascript-helps.html' title='Javascript Helps'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06975448119192082859</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4239196341953448967.post-4980969191475822828</id><published>2012-01-05T20:47:00.000-08:00</published><updated>2012-04-30T10:43:30.355-07:00</updated><title type='text'>Rails Virutalization</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;Rails virtualization for Windows 7 64-bit&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;First off, a caveat, this will work for pretty much any system that can install jruby with a little tweaking.&lt;/div&gt;&lt;div&gt;I was attempting to follow engineyard&#39;s &lt;a href=&quot;http://www.engineyard.com/blog/2010/virtualize-this-instant-rails-in-a-virtual-box/&quot;&gt;virtualization tutorial&lt;/a&gt;&amp;nbsp;and ran into a bit of a snag. &amp;nbsp;It seems that vagrant doesn&#39;t play well with 64-bit windows systems (for now). &amp;nbsp;There is an easy solution however.&lt;/div&gt;&lt;div&gt;Steps&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Install &lt;a href=&quot;http://www.oracle.com/technetwork/java/javase/downloads/index.html&quot; target=&quot;_blank&quot;&gt;java 64-bit&lt;/a&gt; and &lt;a href=&quot;http://jruby.org/download&quot; target=&quot;_blank&quot;&gt;jruby 64 bit&lt;/a&gt;. (Note, you may need to add jruby to your path depending on what you did during install)&lt;/li&gt;&lt;li&gt;Install vagrant&amp;nbsp;&amp;nbsp;&lt;ol&gt;&lt;li&gt;jgem install jruby-openssl jruby-win32ole&lt;/li&gt;&lt;li&gt;jgem install vagrant&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;Download and install &lt;a href=&quot;http://www.virtualbox.org/wiki/Downloads&quot; target=&quot;_blank&quot;&gt;Virtualbox&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Download the enginyard rails &lt;a href=&quot;http://s3.amazonaws.com/EY5/vagrant.zip&quot; target=&quot;_blank&quot;&gt;setup &lt;/a&gt;or make your &lt;a href=&quot;http://vagrantup.com/docs/getting-started/boxes.html&quot; target=&quot;_blank&quot;&gt;own&lt;/a&gt;. Unzip it to desired directory.&lt;/li&gt;&lt;li&gt;Add the vagrant box using: vagrant box add [name] package.box &amp;nbsp;(make sure you&#39;re in the directory of the box you downloaded/made.&lt;/li&gt;&lt;li&gt;Start vagrant : vagrant up&lt;/li&gt;&lt;li&gt;Login to it: vagrant ssh&lt;/li&gt;&lt;li&gt;You&#39;re done!&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;p&gt;Some of you may wonder why you would ever go through the hassle. &amp;nbsp;Honestly, it&#39;s pretty easy to just set up a dedicated system for this. &amp;nbsp;The reason why I ended up using this solution was because I needed a way to do this sort of thing at work where I can&#39;t install anything (hence using the jar version of jruby) and at home my wife loves windows over linux. &amp;nbsp;Not sure what&#39;s wrong with Fedora, but for some reason she doesn&#39;t like it so we ended up in boot wars. &amp;nbsp;This mostly fixes the issue. &amp;nbsp;Not to mention I can share the environments very easily.&lt;/p&gt;&lt;p&gt;[Edit]&lt;br /&gt;Depending on your setup you may encounter an issue where the vm won&#39;t start, you&#39;ll need to disable usb 2.0 on the machine or install the extras from Oracle.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://micharch54.blogspot.com/feeds/4980969191475822828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4239196341953448967/4980969191475822828' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4239196341953448967/posts/default/4980969191475822828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4239196341953448967/posts/default/4980969191475822828'/><link rel='alternate' type='text/html' href='http://micharch54.blogspot.com/2012/01/rails-virtualization-for-windows-7-64.html' title='Rails Virutalization'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06975448119192082859</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4239196341953448967.post-548617936986366492</id><published>2011-12-30T10:25:00.000-08:00</published><updated>2011-12-30T10:25:19.884-08:00</updated><title type='text'>Rebuilding</title><content type='html'>I used to have a blog on the hosting service that my wife and I share but due to a mishap it was deleted somehow. &amp;nbsp;It made me sad because I actually enjoyed posting on that site. &amp;nbsp;I&#39;ve decided that I&#39;ll use blogger&#39;s services since it integrates well with google+ and I already have access through my gmail. &amp;nbsp;Seems like a good plan. &amp;nbsp;I&#39;ve also found great ways to post code, which I plan on doing quite a bit in the near future.</content><link rel='replies' type='application/atom+xml' href='http://micharch54.blogspot.com/feeds/548617936986366492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4239196341953448967/548617936986366492' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4239196341953448967/posts/default/548617936986366492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4239196341953448967/posts/default/548617936986366492'/><link rel='alternate' type='text/html' href='http://micharch54.blogspot.com/2011/12/rebuilding.html' title='Rebuilding'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06975448119192082859</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4239196341953448967.post-3688587504423233794</id><published>2011-12-30T10:02:00.001-08:00</published><updated>2012-04-30T10:44:07.757-07:00</updated><title type='text'>Inheritance Review</title><content type='html'>&lt;p&gt;&lt;a style=&quot;float: left; padding-right: 20px;&quot; href=&quot;http://www.goodreads.com/book/show/7664041-inheritance&quot;&gt;&lt;img src=&quot;http://photo.goodreads.com/books/1320558164m/7664041.jpg&quot; border=&quot;0&quot; alt=&quot;Inheritance (Inheritance, #4)&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.goodreads.com/book/show/7664041-inheritance&quot;&gt;Inheritance&lt;/a&gt; by &lt;a href=&quot;http://www.goodreads.com/author/show/8349.Christopher_Paolini&quot;&gt;Christopher Paolini&lt;/a&gt;&lt;br /&gt;My rating: &lt;a href=&quot;http://www.goodreads.com/review/show/244095373&quot;&gt;4 of 5 stars&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This book is definitely the weakest in the series.  I really enjoyed the story, however, I could definitely tell it was written by someone without a lot of life-experience.  At times the characters seemed drawn into some very petty arguments.  It&#39;s odd to see a king pout like a moody teenager.  Overall these were forgivable because Christopher Paolini did a great job with the main characters.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.goodreads.com/review/list/3292965-michael-archibald&quot;&gt;View all my reviews&lt;/a&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://micharch54.blogspot.com/feeds/3688587504423233794/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4239196341953448967/3688587504423233794' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4239196341953448967/posts/default/3688587504423233794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4239196341953448967/posts/default/3688587504423233794'/><link rel='alternate' type='text/html' href='http://micharch54.blogspot.com/2011/12/inheritance-by-christopher-paolini-my.html' title='Inheritance Review'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06975448119192082859</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>