<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">]>
<rss version="2.0" xml:base="http://nshb.net">
<channel>
 <title>Nathaniel Brown blogs</title>
 <link>http://nshb.net/blog.html</link>
 <description></description>
 <language>en</language>
<item>
 <title>Selling my place</title>
 <link>http://nshb.net/selling-my-place</link>
 <description>&lt;p&gt;I am in the process right now with packing up my place and putting it all in a storage locker. After that, I will be selling it.&lt;/p&gt;
&lt;p&gt;That being said, I wanted to see if anyone out there from Japan wanted to buy this? The property is going to be staged for presentation and will have fliers all over the place. Open house will be on May 10th and 11th. Times to be determined by my two new favourite realtors. Both equal in their own right, but complimentry regardless.&lt;/p&gt;
&lt;p&gt;When I have taken the new shots of the staged location I will do what I want to get the photos published on here so those interested in an international Purchase, can get enough information to make the buy without having to see the place physically.&lt;/p&gt;
&lt;p&gt;If you have any questions at all about the place, and are really. Serious about buying a new house in Vancouver that is going to be listed in the neighbourhood of 550,000.00 then please do contact me. I want to sell and you won&#039;t be dissapointed. Consider it an investment in your future.&lt;/p&gt;
&lt;p&gt;My contact information is as follows.&lt;/p&gt;
&lt;p&gt;Cell 604-724-6624&lt;br /&gt;
Email nshb@inimit.com&lt;/p&gt;
&lt;p&gt;Address:&lt;br /&gt;
401 - 1990 Dunbar Street&lt;br /&gt;
Vancouver, BC  V6R 3M3&lt;/p&gt;
&lt;p&gt;Short description about the place... it looks south and has a balcony, fireplace, access to a shared (almost private seeing as nobody uses it) rooftop patio with a gorgeous view of the city and is right across the street from the best book store in Vancouver. Banyen Books. Those that know a thing or two can get as much knowledge as they want for enlightenment at this place. I can&#039;t tell you how much they have helped me on my journey so I give many thanks alone to them.&lt;/p&gt;
&lt;p&gt;So yea, I am selling, and will be listing it next Monday if the plan goes as schedule. Ya never know tho :) I might just give it away!&lt;/p&gt;
</description>
 <category domain="http://nshb.net/taxonomy/term/4">News</category>
 <pubDate>Wed, 30 Apr 2008 14:47:58 -0700</pubDate>
</item>
<item>
 <title>Let&#039;s start caring equally about money and people.</title>
 <link>http://nshb.net/equality</link>
 <description>&lt;p&gt;So, I have come to realize that money and people are both equal.&lt;/p&gt;
&lt;p&gt;You get companies such as America, and people such as China, who are both great in their own right, but are so distant from eachother.&lt;/p&gt;
&lt;p&gt;What you find is an extreme polarity that needs to be balanced and when you find this. Well, trust me on this. You will find happyness.&lt;/p&gt;
</description>
 <category domain="http://nshb.net/taxonomy/term/4">News</category>
 <pubDate>Fri, 11 Apr 2008 16:22:23 -0700</pubDate>
</item>
<item>
 <title>The Truth?</title>
 <link>http://nshb.net/the-truth</link>
 <description>&lt;p&gt;So I have finally realized in my life that I have been completely run by Fear. This fear has caused insane pain in my life and I just wanted to share this with the world.&lt;/p&gt;
&lt;p&gt;I hope to be free of it sometime soon.&lt;/p&gt;
&lt;p&gt;Who&#039;s with me?&lt;/p&gt;
</description>
 <category domain="http://nshb.net/taxonomy/term/4">News</category>
 <pubDate>Fri, 11 Apr 2008 02:54:55 -0700</pubDate>
</item>
<item>
 <title>Einstein needs revision.</title>
 <link>http://nshb.net/einstein-needs-revision</link>
 <description>&lt;p&gt;I have been contemplating this for over 3 years now, and have come to the realization that Einstein needs revision for simplicity sake.&lt;/p&gt;
&lt;p&gt;His equation, e=mc2 is and has been the definitive statement of energy to date.&lt;/p&gt;
&lt;p&gt;I have come to realize that his formula can be simplified into a statement which more people can understand in true, pure mathematical simplicity.&lt;/p&gt;
&lt;p&gt;1 + 1 = 2&lt;/p&gt;
&lt;p&gt;Positive + Negative = Pure Energy&lt;/p&gt;
&lt;p&gt;What does this mean? Well it&#039;s another way to look at getting an atom bomb, new means to fuel cars, etc.&lt;/p&gt;
&lt;p&gt;Consider if one atom had both positive and negative charge in the same space. This releases an enormous amount of energy at once. Not really sure yet what happens when this actually occurs, but lets just say it&#039;s big. Real big.&lt;/p&gt;
&lt;p&gt;Here&#039;s a snippet from a &lt;a href=&quot;http://www.worsleyschool.net/science/files/emc2/emc2.html&quot;&gt;site&lt;/a&gt; which helped me to finally figure out what e=mc2 means.&lt;/p&gt;
&lt;p&gt;One of Einstein&#039;s great insights was to realize that matter and energy are really different forms of the same thing. Matter can be turned into energy, and energy into matter.&lt;/p&gt;
&lt;p&gt;For example, consider a simple hydrogen atom, basically composed of a single proton. This subatomic particle has a mass of&lt;/p&gt;
&lt;p&gt;0.000 000 000 000 000 000 000 000 001 672 kg&lt;/p&gt;
&lt;p&gt;This is a tiny mass indeed. But in everyday quantities of matter there are a lot of atoms! For instance, in one kilogram of pure water, the mass of hydrogen atoms amounts to just slightly more than 111 grams, or 0.111 kg.&lt;/p&gt;
&lt;p&gt;Einstein&#039;s formula tells us the amount of energy this mass would be equivalent to, if it were all suddenly turned into energy. It says that to find the energy, you multiply the mass by the square of the speed of light, this number being 300,000,000 meters per second (a very large number):&lt;/p&gt;
&lt;p&gt;= 0.111 x 300,000,000 x 300,000,000&lt;br /&gt;
= 10,000,000,000,000,000 Joules&lt;/p&gt;
&lt;p&gt;So, those two AA you use you power your remote control, well they have a TOTAL of &lt;strong &gt;3 JOULES&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;How&#039;s that for power? Oh yea.. what are we made of again? Sounds too simple to be real?&lt;/p&gt;
</description>
 <category domain="http://nshb.net/taxonomy/term/4">News</category>
 <pubDate>Mon,  7 Apr 2008 01:53:47 -0700</pubDate>
</item>
<item>
 <title>2011?</title>
 <link>http://nshb.net/2011</link>
 <description>&lt;p&gt;Just watched a vid by Vint Cerf (one of the creators of the internet itself) and he had this tidbit on one of his slides that he didn&#039;t really talk about at all.&lt;/p&gt;
&lt;p&gt;21:16 - &quot;IPv4 runout in 2011&quot;&lt;/p&gt;
&lt;p&gt;So what does this really mean?? Should we be really looking at this closer than we are? What are the implications of this. From what I have seen, IPv6 (the replacement) is nowhere near implemented on a global scale yet.&lt;/p&gt;
&lt;p&gt;This could be what we anticipated for the year 2000 but got wrong? Worth considering I believe.&lt;/p&gt;
&lt;p&gt;For the people that may not understand what IPv4 is (and why Vint saying this means so much), is basically he created the internet using a specific protocol and it evolved as such into IPv4. We currently use IPv4 to manage pretty much everything on the internet from domains to whatever.&lt;/p&gt;
&lt;p&gt;Now, per say, imagine that all of a sudden no more ips can be made. A complete traffic jam occurs and now you have all these machines trying to connect to the internet but there is nobody letting them on? My guess is that there are many factors that we have not even come close to addressing on this.&lt;/p&gt;
&lt;p&gt;&lt;object width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/AIe3UoJRtAc&quot;&gt;&lt;/param&gt;&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/AIe3UoJRtAc&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/p&gt;
</description>
 <category domain="http://nshb.net/taxonomy/term/4">News</category>
 <pubDate>Thu,  6 Mar 2008 12:22:08 -0800</pubDate>
</item>
<item>
 <title>Whistler / Blackcomb Peak to Peak Gondala</title>
 <link>http://nshb.net/whistler-blackcomb-peak-to-peak-gondola</link>
 <description>&lt;p&gt;I was just checking out &lt;a href=&quot;http://whistlerblackcomb.com&quot;&gt;whistlerblackcomb.com&lt;/a&gt; and came across a link to a video that absolutely blew my mind. The &lt;a href=&quot;http://ww1.whistlerblackcomb.com/p2pg/home.html&quot;&gt;intro&lt;/a&gt; goes on to explain that they are building a 4 tower lift that goes from the top of Whistler to the top of Blackcomb (the largest vertical rise mountain in North America).&lt;/p&gt;
&lt;p&gt;The gondola will be 3.5 times the width of the San Fran bridge, that famous one. And 4.5x the height of statutes of liberty, 415 meters higher than the valley floor below.&lt;/p&gt;
&lt;p&gt;This is one ride I am quite positive will be like no other. Can&#039;t wait! Planning to launch for Winter 08. With plenty of time for the 2010 Olympics, which if you didn&#039;t know already, will be hosted here in Vancouver and Whistler.&lt;/p&gt;
</description>
 <category domain="http://nshb.net/taxonomy/term/4">News</category>
 <pubDate>Sat, 16 Feb 2008 16:37:55 -0800</pubDate>
</item>
<item>
 <title>GIT, the new standard for SCM (Source Code Management)</title>
 <link>http://nshb.net/git-the-new-standard-for-scm-source-code-management</link>
 <description>&lt;p&gt;Just watched the video on GIT from Google Talks, and I am going to put the wheels in motion to get this setup. First by researching it on best practices and such, but afterwards move it into our entire environment (meaning &lt;a href=&quot;http://toolbawks.com&quot;&gt;Toolbawks&lt;/a&gt; and most if not all of my clients as well).&lt;/p&gt;
&lt;p&gt;Linus (the guy that created Linux) who made GIT (an alternative to Subversion/CVC/Perforce/Bitkeeper/etc) for SCM (source code management) tears people down to the ground with a neo-superior attitude that is hard to listen to, other than the fact is actually grounded in some very real truth behind what he says. The questions Google asked were sometimes more complex situations than we would need to solve for our repository, but in all of his responses, they resulted in a truly superior SCM system.&lt;/p&gt;
&lt;p&gt;With that said, this is without a doubt the best way to handle our code in future and quite likely for a serious long time to come. The inherent methodology behind the technology is insanely secure, amazingly fast, and quite possibly the smallest way to store any code I have ever come across. It not only compresses the code, but in addition also takes less a mere kilobyte (1KB) to create a new branch. And with 22,000 files in the linux codebase, with more than 15,000 commits per week. Linus states that on his laptop he can merge an entire tree in less than a second. And on his home computer (which definitely sounded like not just one computer, but a decent cluster) he can run it at less than 1/10th of a second, minus the time it takes to actually download the files.&lt;/p&gt;
&lt;p&gt;I don&#039;t know about you, but those few points above are reason enough to switch. The 70 minute talk was chalked full of highlights like this, so there is no doubt now that this is the new defacto of SCM, most people just don&#039;t know it yet :)&lt;/p&gt;
&lt;p&gt;If you are interested in hearing the most condescending genius of our time, I&#039;d check the video out. I listened to so many of his ideas that mimic my own, he&#039;s my new tech hero :)&lt;/p&gt;
&lt;p&gt;Not to mention I am slightly jealous of his triple tier firewall network at home with 100% restricted physical access only to his machine to read his own email. Hah. You&#039;ll love how ironic it is me using gmail to host my own email after listening to him. I keep jumping back and forth over the fence when it comes to caring about whether people know that much information about me :)&lt;/p&gt;
&lt;p&gt;By the sounds of it, he probably created Linux as a precaution to ensure that he only runs software on that triple fire-walled computer in which he controls.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=4XpnKHJAok8&quot;&gt;http://www.youtube.com/watch?v=4XpnKHJAok8&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And more details on git here:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://git.or.cz/&quot;&gt;http://git.or.cz/&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://git.or.cz/course/svn.html&quot;&gt;http://git.or.cz/course/svn.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Installing it:&lt;/p&gt;
&lt;p&gt;On OSX, install &lt;a href=&quot;http://macports.org&quot;&gt;MacPorts&lt;/a&gt; and run the following to get a list of GIT packages and install all of them:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
port search git
sudo port install git-core stgit cgit cogito
&lt;/code&gt;
&lt;/pre&gt;&lt;p&gt;
&lt;a href=&quot;http://fedoraproject.org/wiki/EPEL/FAQ#howtouse&quot;&gt;Installing GIT with EPEL (for RHEL 4 &amp;amp; 5)&lt;/a&gt; - run this command afterwards &lt;strong&gt;&quot;sudo yum search git | grep git | grep el4&quot;&lt;/strong&gt; (change to el5 on that grep if you are using RHEL 5.x) to find out what packages you can install related to GIT. Ignore the &quot;digitemp&quot; package in that list though.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;&lt;object width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/4XpnKHJAok8&amp;amp;rel=1&quot;&gt;&lt;/param&gt;&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/4XpnKHJAok8&amp;amp;rel=1&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/p&gt;
</description>
 <category domain="http://nshb.net/taxonomy/term/4">News</category>
 <pubDate>Sun, 10 Feb 2008 03:26:24 -0800</pubDate>
</item>
<item>
 <title>Recent Shots - Jan 28th, 2008</title>
 <link>http://nshb.net/recent-shots-jan-28th-2008</link>
 <description>&lt;p&gt;Back since Nov 2006 I have been a &quot;pro&quot; photographer offering my services in the form of doing photos for things such as clothing lines needing to get their product shot for ecommerce stores, or any other type of business really, as well as shooting portfolio shots for some of the larger Vancouver talent as far as models go, or those that I think have a unique look that I haven&#039;t shot before.&lt;/p&gt;
&lt;p&gt;Since then my photos have jumped leaps and bounds, and now I am offering pretty much magazine quality photos for everyone I shoot with. Whether it&#039;s a product shot, or a personal reminder of how you looked in your youth, they are memories that don&#039;t fade and can be remembered again and again by all (or we can keep them private too if you like) you choose to share them with.&lt;/p&gt;
&lt;p&gt;That being said, I throughly enjoy doing development and still plan to continue doing this in the future. I&#039;ve been doing it since I learned algebra, so I have learned a thing o two about what it is to do this profession. That&#039;s over 13 years for those that don&#039;t already know.&lt;/p&gt;
&lt;p&gt;With that in mind, I have realized just how much I enjoy doing photography. Something that I have never experienced during all the years doing software development for large companies doing tens if not hundreds of millions of dollars in business on the web. It comes when you do any sort of creative art, whether it be music (which I am trying to learn to truely understand with my new electric guitar), painting, photography, graphic arts, really any sort of creative form where you lay down a permanent track or piece of art that never fades. With websites and this constant rate of change, you really forget to make that next feature or next piece of the project that important. To the extent that it really could be never forgotten.&lt;/p&gt;
&lt;p&gt;When it comes to now looking back at my programming, with this new way of seeing a creative day in photography, you change your approach, to now include a quality never before found. It has brought a rejuvenation to my coding that I can&#039;t explain. Not long ago I was thoroughly wanting to find another career, I felt like I had reached the top, and with all the bullshit that was going on with the conference scene, I was about ready to make it big doing something else. Well I found it, but I have relearned why I like developing so much. You really can make something that may very well never be forgotten.&lt;/p&gt;
&lt;p&gt;Take a look at &lt;a href=&quot;http://perity.com&quot;&gt;www.perity.com&lt;/a&gt; for my &lt;a href=&quot;http://perity.com/collections/show/7&quot;&gt;Recent Shots&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://perity.com/collections/show/7/1&quot;&gt;&lt;img src=&quot;http://farm3.static.flickr.com/2202/2224398266_4a96af2e45_m.jpg&quot; alt=&quot;Vancouver Fashion Photography&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://perity.com/collections/show/7/1&quot;&gt;&lt;img src=&quot;http://farm3.static.flickr.com/2073/2219986030_bef955f579_m.jpg&quot; alt=&quot;Vancouver Fashion Photography&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://perity.com/collections/show/7/1&quot;&gt;&lt;img src=&quot;http://farm3.static.flickr.com/2132/2200545945_07327d7b35_m.jpg&quot; alt=&quot;Vancouver Fashion Photography&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://perity.com/collections/show/7/1&quot;&gt;&lt;img src=&quot;http://farm3.static.flickr.com/2257/2099331234_9f409a9fa4_m.jpg&quot; alt=&quot;Vancouver Fashion Photography&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://perity.com/collections/show/7/1&quot;&gt;&lt;img src=&quot;http://farm3.static.flickr.com/2083/2064595997_605d816687_m.jpg&quot; alt=&quot;Vancouver Fashion Photography&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
</description>
 <category domain="http://nshb.net/taxonomy/term/4">News</category>
 <pubDate>Mon, 28 Jan 2008 09:21:14 -0800</pubDate>
</item>
<item>
 <title>RubyCamp Notes - Rack, Merb, and Rubinius</title>
 <link>http://nshb.net/rubycamp-notes-rack-merb-and-rubinius</link>
 <description>&lt;p&gt;I managed to get to a few hours of the RubyCamp event here on Saturday and it was interesting to see the few talks I did.&lt;/p&gt;
&lt;p&gt;Rack - ability to handle multi threaded image processing&lt;br /&gt;
Merb - multi threaded &quot;rails&quot;, but better&lt;br /&gt;
Rubinium - the new &quot;RVM&quot;, a Ruby Virtual Machine heading on track to run Rails in the next 6 months or so (totally random guess based on the feedback at the talk, but this sounds like a fair estimate).&lt;/p&gt;
&lt;p&gt;Out of these three talks, the least interesting but maybe the most important was the Rubinium talk. Due to the infancy of the project, you really can&#039;t do much with it other than run Webrick and a few other things, but none of which has shown to prove any use to me at this time. When it does come to fruition, Rubinius promises to be faster than Ruby core, and with the inherent virtual machine interoperability, you will see some great reactionary products come out of this market space. Something to watch for, but not of immediate importance as of yet.&lt;/p&gt;
&lt;p&gt;The Rack and Merb talks were quite interesting, but after about 5 minutes or so I found myself realizing the value, but really needing to dig in and basically implement a project or two to see the real results. Both of these new options in the Rails/Ruby space had a far greater impact on my future decisions towards project technologies than I expected. The results can be quite astounding.&lt;/p&gt;
&lt;p&gt;Such is the case with Rack. The presenter went on to say that they setup the multi threaded environment only to find out that his server infrastructure basically came to a halt when they didn&#039;t have a throttle on the image processing that was going on. With the potential of having infinite threads now entirely feasible with what was demonstrated, you now can cause your server to come to an instant halt without care. So, plan for this.&lt;/p&gt;
&lt;p&gt;Merb uses gems as plugins. That was one of the coolest features I heard of the framework. I don&#039;t like the fact that I can&#039;t immediately use my Rails plugins inside of Merb, but regardless - the reasons I plan to use Merb in the future, don&#039;t entirely include my existing codebase anyways. So not much of a concern there. I asked the presenter during his talk about a Rails Plugin to Merb Plugin conversion utility, but he knew of none yet in existence. Whether it&#039;s me or someone else, this is a likely development that will encourage wider adoption and faster transition to Merb in the future, unless of course Rails does what Merb did and fixes itself up to the new standard Merb has drawn.&lt;/p&gt;
&lt;p&gt;All in all, a well spent 3 hours or so of my time. Learned a few tricks and can&#039;t wait to try them out on a near future project. Expect to see some new &lt;a href=&quot;http://svn.toolbawks.com&quot;&gt;plugins&lt;/a&gt; based on these technologies in the future.&lt;/p&gt;
</description>
 <category domain="http://nshb.net/taxonomy/term/4">News</category>
 <pubDate>Sun, 27 Jan 2008 23:02:29 -0800</pubDate>
</item>
<item>
 <title>Mcirosoft Office 2008 for Mac / OS X</title>
 <link>http://nshb.net/microsoft-office-2008-for-mac-os-x</link>
 <description>&lt;p&gt;Just got the announcement in my inbox that informed me that MS Office 2008 is now ready for purchase. I was quite displeased with Office 2004 that I have been running since I switched to Mac last February. One of the best productivity choices I have witnessed to date.&lt;/p&gt;
&lt;p&gt;With Office 2008 you will notice that there are 3 versions, the usual education version, standard, and a new media version that does some fancy stuff with digital assets hooked into Expression. Long story about this product name, but needless to say, it&#039;s been used before Microsoft got their hands on it.&lt;/p&gt;
&lt;p&gt;Regardless, the upgrade looks pretty sweet, and likely screams on the new dual core CPU&#039;s in the Mac&#039;s these days.&lt;/p&gt;
&lt;p&gt;Check out the product details here:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.amazon.com/Microsoft-Office-2008-Home-Student/dp/B000X86ZAS/ref=pd_bbs_sr_1?ie=UTF8&amp;amp;s=software&amp;amp;qid=1199914652&amp;amp;sr=8-1&quot;&gt;Office 2008 for Mac - Home and Student Edition&lt;/a&gt;, $149.95&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.amazon.com/Microsoft-Office-2008-for-Mac/dp/B000WR2F2M/ref=pd_bbs_sr_3?ie=UTF8&amp;amp;s=software&amp;amp;qid=1199914652&amp;amp;sr=8-3&quot;&gt;Office 2008 for Mac&lt;/a&gt;, $399.95&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.amazon.com/Microsoft-Office-2008-Special-Media/dp/B000XHE0Q0/ref=pd_bbs_sr_7?ie=UTF8&amp;amp;s=software&amp;amp;qid=1199914652&amp;amp;sr=8-7&quot;&gt;Office 2008 for Mac - Special Media Edition&lt;/a&gt;, $499.95&lt;/p&gt;
&lt;p&gt;Oh and Apple, you guys need to get some &quot;pretty urls&quot; for your store. Not being able to copy and paste the url due to session restrictions does not make it easy for me to share the announcement.&lt;/p&gt;
</description>
 <category domain="http://nshb.net/taxonomy/term/4">News</category>
 <pubDate>Wed,  9 Jan 2008 14:20:06 -0800</pubDate>
</item>
<item>
 <title>Engines 2.0 and Rails 2.0 Upgrade Gotchas</title>
 <link>http://nshb.net/engines-2-0-and-rails-2-0-upgrade-gotchas</link>
 <description>&lt;p&gt;I just updated a couple of my personal projects to Rails 2.0 and Engines 2.0 and I ran into a few problems once the gems were upgraded.&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
sudo gem update --system
sudo gem update rails -y
&lt;/code&gt;
&lt;/pre&gt;&lt;p&gt;
Change your svn:externals for your engines plugin to point to the trunk.&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
cd project/root
svn pe svn:externals vendor/plugins
&lt;/code&gt;
&lt;/pre&gt;&lt;p&gt;
Add/update the following:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
engines    &lt;a href=&quot;http://svn.rails-engines.org/engines/trunk/&quot;&gt;http://svn.rails-engines.org/engines/trunk/&lt;/a&gt;
&lt;/code&gt;
&lt;/pre&gt;&lt;p&gt;
First, the config.plugins needs to change from &quot;*&quot; to :all. So your new line would look something like this:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
config.plugins = [:engines, :all]
&lt;/code&gt;
&lt;/pre&gt;&lt;p&gt;
Change the Rails version in your environment.rb.&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
RAILS_GEM_VERSION = &#039;2.0.2&#039; unless defined? RAILS_GEM_VERSION
&lt;/code&gt;
&lt;/pre&gt;&lt;p&gt;
Adding the boot line to your environment.rb (above the initializer).&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
require File.join(File.dirname(__FILE__), &#039;../vendor/plugins/engines/boot&#039;)
&lt;/code&gt;
&lt;/pre&gt;&lt;p&gt;
Adding some new session config options to your environment.rb as well:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
  config.action_controller.session = {
    :session_key =&gt; &#039;_www_example_com-trunk_session&#039;,
    :secret      =&gt; &#039;Long string for security. Run &quot;rake secret&quot; to generate&#039;
  }
&lt;/code&gt;
&lt;/pre&gt;&lt;p&gt;
Utilization of the new /config/initializers to be used on load (optional). Use these for plugin or namespaced configuration options. I use them quite a bit for the &lt;a href=&quot;http://dev.toolbawks.com/&quot;&gt;Toolbawks&lt;/a&gt; suite I am building.&lt;/p&gt;
&lt;p&gt;For your project, strip environment.rb down as much as you can by extracting and spliting the options out into individual.rb files inside initializers. This will clean it up and keep it much more organized for future releases of &lt;a href=&quot;http://dev.toolbawks.com/&quot;&gt;Toolbawks&lt;/a&gt; in particular.&lt;/p&gt;
&lt;p&gt;Not sure if this wasn&#039;t in 1.2.6 or not, but I seen an update to the root route change in the new default Rails project. Change your empty route (root url) to be like this, but with your own controller/action:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
  map.root :controller =&gt; &quot;collections&quot;, :action =&gt; &#039;show&#039;
&lt;/code&gt;
&lt;/pre&gt;&lt;p&gt;
Migrations have also been updated, but when I tried to use both the 1.2 syntax as well as the 2.0 syntax, it worked fine, so not much of a gotcha:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Rails 1.2 Migrations syntax&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
    create_table :collections do |t|
		t.column :title, :string
		t.column :description, :text
		t.column :count, :integer
		t.column :created_by, :integer
		t.column :created_at, :datetime
		t.column :modified_at, :datetime
    end
&lt;/code&gt;
&lt;/pre&gt;&lt;p&gt;
&lt;strong&gt;Rails 2.0 Migrations syntax&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
    create_table :collections do |t|
		t.string :title
		t.text :description
		t.integer :count
		t.integer :created_by
		t.datetime :created_at
		t.datetime :modified_at
    end
&lt;/code&gt;
&lt;/pre&gt;&lt;p&gt;
As you can see the 2.0 syntax is much cleaner, but for all your old migrations this is sorta a waste of time to update as far as I&#039;m concerned. So refactor when needed, and use the new syntax from now on.&lt;/p&gt;
&lt;p&gt;The breakpoint server has changed, and the environment.rb config option is no longer needed. This really doesn&#039;t do much if it&#039;s in the config, but to get rid of the deprecation warning, I suggest removing it:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
config.breakpoint_server = true
&lt;/code&gt;
&lt;/pre&gt;&lt;p&gt;
Pagination has been removed from Rails core, so you will need to upgrade that. I suggest using the &lt;a href=&quot;http://agilewebdevelopment.com/plugins/will_paginate&quot;&gt;will_paginate&lt;/a&gt; plugin. Checkout their site for upgrade instructions. Or you can use the &lt;a href=&quot;svn://errtheblog.com/svn/plugins/classic_pagination&quot;&gt;classic_pagination&lt;/a&gt; if you don&#039;t need serious performance increases. The code is claimed to be dead for classic_pagination, so I suggest upgrading now to will_paginate, to avoid confusion later.&lt;/p&gt;
&lt;p&gt;I had a problem with some of my logger code, so I added this line in one of my lib files to give me a global logger function I can use anywhere. This will later be extracted into a plugin for more comprehensive logging functionalities, but for now a simple addition of these three lines worked:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
def logger
  RAILS_DEFAULT_LOGGER
end
&lt;/code&gt;
&lt;/pre&gt;&lt;p&gt;
Engines.current.version no longer exists, so if you want that sort of functionality to see what version the engine is, add a new property to your plugin like so:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
module DatetimeToolbawks
  mattr_accessor :version
  self.version = false
end
&lt;/code&gt;
&lt;/pre&gt;&lt;p&gt;
And add this to your init.rb script within your plugin.&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
DatetimeToolbocks.version = Proc.new { File.open(File.join(RAILS_ROOT, &#039;vendor&#039;, &#039;plugins&#039;, &#039;datetime_toolbawks&#039;, &#039;VERSION&#039;), &#039;r&#039;).readlines[0] }
&lt;/code&gt;
&lt;/pre&gt;&lt;p&gt;
Some methods have been entirely removed now, such as render_file and render_json. That means you must update them to get a functioning Rails 2.0 app.&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;
      render :file =&gt; rescues_path(&quot;layout&quot;), :status =&gt; response_code_for_rescue(exception)
&lt;/code&gt;
&lt;/pre&gt;&lt;p&gt;
That&#039;s it for now. Pretty sure I missed a few things, so when I update another app to Engines/Rails 2.0 I&#039;ll be sure to refresh this page with any additional upgrade steps.&lt;/p&gt;
&lt;p&gt;All the Toolbawks plugins are now functioning for Rails 2.0, so it would be wise to get on board, reap the benefits of the &lt;a href=&quot;http://weblog.rubyonrails.org/2007/12/7/rails-2-0-it-s-done&gt;new features&lt;/a&gt; and build your next killer app with the latest and greatest!&lt;/p&gt;
</description>
 <category domain="http://nshb.net/taxonomy/term/4">News</category>
 <pubDate>Sat, 29 Dec 2007 12:37:35 -0800</pubDate>
</item>
<item>
 <title>Upgraded Redmine for Toolbawks</title>
 <link>http://nshb.net/upgraded-redmine-for-toolbawks</link>
 <description>&lt;p&gt;I must say, I am extremely impressed with &lt;a href=&quot;http://redmine.org&quot;&gt;Redmine&lt;/a&gt;. I was introduced to it by one of my clients and I have since been using it to compare the likes of other project management systems out there that I have used in the past such as Trac, JIRA, dotProject, Mingle, Basecamp, and well pretty much any other one that I&#039;ve come across trying to get one that actually works the way I want, provides the additional customization layers I need (cudos to Mingle for this) as well as just serves like a natural Project Management app inside and out.&lt;/p&gt;
&lt;p&gt;The new upgrade from Redmine does just that and more. With it&#039;s subversion integration and clean interface upgrades, this version is a keeper. Definately going to be using this as the primary from now on and moving my tasks into it.&lt;/p&gt;
&lt;p&gt;Take a peek on the &lt;a href=&quot;http://dev.toolbawks.com&quot;&gt;Toolbawks&lt;/a&gt; dev environment and see what you see. It&#039;s a pretty rockin app I must say.&lt;/p&gt;
&lt;p&gt;More details on the Toolbawks suite soon. We have a major release of our very private and super awesome eCommerce components coming out. Can&#039;t wait to show this one off.&lt;/p&gt;
</description>
 <category domain="http://nshb.net/taxonomy/term/4">News</category>
 <pubDate>Fri,  7 Dec 2007 23:35:23 -0800</pubDate>
</item>
<item>
 <title>Firefox 2.0 Phishing Protection</title>
 <link>http://nshb.net/firefox-2-0-phishing-protection</link>
 <description>&lt;p&gt;Just came to my attention that Firefox has been safely managing the integrity of the websites I visit for some time now and until today, I had no idea.&lt;/p&gt;
&lt;p&gt;Firefox 2.0 apparently comes with some really sweet integration to protect you from &lt;a href=&quot;http://www.mozilla.com/en-US/firefox/phishing-protection/&quot;&gt;Phishing attacks&lt;/a&gt;, that I believe links into the database of all logged phishing websites and shows this handy little Window anytime you visit one that has been flagged.&lt;/p&gt;
&lt;p&gt;I had an email from eGold saying my account was expiring, so I decided to take a peek. All emails that come from bank accounts, or even paypal for that matter are prety much removed immediately as I am sure they are fake, even if they come from my bank. This one, however, seemed to have missed the logical first glance and garnered a click of mine.&lt;/p&gt;
&lt;p&gt;Want to try it out yourself?? Sure, but do not fill in any information. You&#039;re account is not going to expire. You probably don&#039;t even have one at eGold anyways.&lt;/p&gt;
&lt;p&gt;I repeat, do not fill anything in. &lt;a href=&quot;http://www.videohry.com/bra/secure.login/verification/JBF6F90FG3DFH9LK3CFGC43C/e-gold/submit.php?cmd=login&quot;&gt;Here it is.&lt;/a&gt;. Be sure to load it up in Firefox 2.0 otherwise there is no point unless you like having your identity stolen?&lt;/p&gt;
&lt;p&gt;Another site I just found to test it, which is a bit safer (as it&#039;s the official link by Firefox), is &lt;a href=&quot;http://www.mozilla.com/firefox/its-a-trap.html&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://nshb.net/system/files?file=firefox-2-forgery-protection.jpg&quot;&gt;&lt;img src=&quot;http://nshb.net/system/files?file=firefox-2-forgery-protection.jpg&quot; alt=&quot;Firefox 2.0 Phishing Protection&quot; style=&quot;width: 200px&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
</description>
 <category domain="http://nshb.net/taxonomy/term/4">News</category>
 <pubDate>Sun, 25 Nov 2007 11:01:52 -0800</pubDate>
</item>
<item>
 <title>Internet Explorer on Mac - IE 5.0, IE 5.5, IE 6.0, and IE 7.0</title>
 <link>http://nshb.net/internet-explorer-on-mac-ie-50-ie-55-ie-60-ie-70</link>
 <description>&lt;p&gt;Just came across a site that outlines how to get IE 5.0, IE 5.5, IE 6.0, and IE 7.0 all on OSX and run natively using X11.&lt;/p&gt;
&lt;p&gt;You&#039;ll need to install X11 from the Tiger DVD&#039;s you got when you bought it, or head on over to &lt;a href=&quot;http://cjmart.in/2006/12/01/install-x11-on-tiger-without-the-tiger-install-dvd/&quot;&gt;this guy&#039;s site&lt;/a&gt; to download it. For those on Leopard, you&#039;re in luck by default.&lt;/p&gt;
&lt;p&gt;So, with IE 5.0 all the way to IE 7.0 now being able to be run on Mac natively using Darwine and X11, there doesn&#039;t seem to be much need to get back on Paralells for debugging my CSS and AJAX interfaces anymore.&lt;/p&gt;
&lt;p&gt;Check it out, &lt;a href=&quot;http://kronenberg.org/ies4osx/&quot;&gt;ies4osx&lt;/a&gt; is where it&#039;s at.&lt;/p&gt;
</description>
 <category domain="http://nshb.net/taxonomy/term/4">News</category>
 <pubDate>Sun, 25 Nov 2007 10:30:15 -0800</pubDate>
</item>
<item>
 <title>Internet Sync, is it really that hard to do?</title>
 <link>http://nshb.net/internet-sync-is-it-really-that-hard-to-do</link>
 <description>&lt;p&gt;Well I have never done it yet, and it sure sounds interesting, but how about that. You look at Cell phones, iPods, and well pretty much every other mobile device that has internet and you see that they have to sync by plugging them in.&lt;/p&gt;
&lt;p&gt;Honestly, that&#039;s why I always trail off with using these things is that:&lt;/p&gt;
&lt;p&gt;a) Either too much of a pain to charge the battery so often&lt;br /&gt;
b) I get bored of having to sync it all the time.&lt;/p&gt;
&lt;p&gt;So back to the title. Why not just have it sync over the internet? With the iPhone&#039;s and iPod Touch&#039;s coming out these days, and even the other new cell&#039;s coming out nearly as good. Not one have I seen that sync&#039;s wirelessly. The iTouch&#039;s have the Wifi capability, so there&#039;s no reason why not to. They get internet just as quick, why not a webservice call?&lt;/p&gt;
&lt;p&gt;I am believing that they are going to read this and come out with it or someone else will, but if I don&#039;t see it soon enough, surely I will see about building it myself. Would anyone else use it? Curious to know.. email me at nshb(at)inimit.com - which also works for MSN too - and let&#039;s hear it.&lt;/p&gt;
</description>
 <category domain="http://nshb.net/taxonomy/term/4">News</category>
 <pubDate>Sat, 24 Nov 2007 11:37:17 -0800</pubDate>
</item>
</channel>
</rss>
