<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="0.92">
<channel>
	<title>Industry Zero: One man's thought on software, business and life</title>
	<link>http://www.industryzero.com</link>
	<description>It is really about nothing</description>
	<lastBuildDate>Mon, 01 Mar 2010 20:30:43 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>How to set up multiple databases in rails project</title>
		<description>Here is a question comes up a lot.  Here is how to do it without additional plugin.
config/database.yml:
development:
 adapter: sqlite3
database: db/development.sqlite3
timeout: 5000
second_development:
 adapter: sqlite3
database: db/second_development.sqlite3
timeout: 5000
test:
 adapter: sqlite3
database: db/test.sqlite3
timeout: 5000
second_test:
 adapter: sqlite3
database: db/second_test.sqlite3
timeout: 5000
production:
 adapter: sqlite3
database: db/production.sqlite3
timeout: 5000
second_production:
 adapter: sqlite3
database: db/second_production.sqlite3
timeout: 5000

migration for models in first database is like normal ...</description>
		<link>http://www.industryzero.com/2010/03/01/how-to-set-up-multiple-databases-in-rails-project/</link>
			</item>
	<item>
		<title>Erlang programming example one.</title>
		<description>I am currently reading a book on Erlang Programming by Francesco Cesarini:Erlang Programming .  It is quite well written.  In it, there is some programming exercises.  One of them is to write a simple key value DB.  So I wrote one.  Here it is:


-module(db).
-export([new/0,destroy/1,write/3,delete/2,read/2,match/2]).
new()-&#62;Db=[],
Db.

destroy(Db)-&#62;_=Db,
ok.

write(Key,Element,Db)-&#62;NewDb = [{Key,Element}&#124;delete(Key,Db)],
NewDb.

delete(Key,Db)-&#62;case Db of
[H&#124;T] -&#62;
case H ...</description>
		<link>http://www.industryzero.com/2009/09/04/erlang-programming-example-one/</link>
			</item>
	<item>
		<title>Bing is equal if not better than Google</title>
		<description>Yes, it is true.  I have tried it on many times and look at them side by side.  I will say Bing is as good if not better than Google.  Google now finally have a competitor.  Yahoo makes the right decision to use Bing.ShareThis </description>
		<link>http://www.industryzero.com/2009/07/30/bing-is-equal-if-not-better-than-google/</link>
			</item>
	<item>
		<title>Why can&#8217;t we write law like we write software?</title>
		<description>This is ofcourse a rhetorical question.  I know we can't write law like we write software because the political process will never be able to do that.  But think for a moment for the why shouldn't we?  Law likes software is a set of rule governing a system.  Although law ...</description>
		<link>http://www.industryzero.com/2009/07/23/why-cant-we-write-law-like-we-write-software/</link>
			</item>
	<item>
		<title>Palm Pre SDK vs iPhone SDK</title>
		<description>The winner is Palm Pre SDK.  Why?  Palm picks a good architecture using javascript, html and css as its core technologies.  There is little learning curve. Unlike iphone which you need to learn Objective-C, xcode, Cocoa, etc.   It also follows convention over configuration (similar to rails).  Using Eclipse as ...</description>
		<link>http://www.industryzero.com/2009/07/21/palm-pre-sdk-vs-iphone-sdk/</link>
			</item>
	<item>
		<title>Palm Pre SDK and Emulator</title>
		<description>I just installed the Palm Pre SDK which includes the emulator.  I also installed the eclipse plug-in.  I have to say.  It is so far so good.  Palm has  a good website to guide you through: http://developer.palm.com/index.php .  I am going to play more and see how easy it is ...</description>
		<link>http://www.industryzero.com/2009/07/20/palm-pre-sdk-and-emulator/</link>
			</item>
	<item>
		<title>How to start erlang debugger</title>
		<description>I am reading Erlang programming by Francesco Cesarini and Simon Thompson.  The book show you how to start up a debugger. by typing debugger:start(). in the erlang shell.  However, that is not enough.  The book implies that you will see the modules automatically.  Not true.  You will have to type ...</description>
		<link>http://www.industryzero.com/2009/07/17/how-to-start-erlang-debugger/</link>
			</item>
	<item>
		<title>install radrails on eclipse without aptana</title>
		<description>Add these two sites through help-&#62;software updates

Name :RDT
URL : http://updatesite.rubypeople.org/release
Name :RadRails
URL : http://radrails.sourceforge.net/updateShareThis </description>
		<link>http://www.industryzero.com/2009/06/18/install-radrails-on-eclipse-without-aptana/</link>
			</item>
	<item>
		<title>Scala vs Erlang</title>
		<description>I am learning scala and erlang the same time to get an idea of FP.  So far, I like Erlang better in term of syntax.  Scala is good but its syntax is just getting too complicated.  It is trying to replace java but the its syntax is no simpler than ...</description>
		<link>http://www.industryzero.com/2009/06/10/scala-vs-erlang/</link>
			</item>
	<item>
		<title>Learning Scala</title>
		<description>I am starting to learn Scala. This will be my first step to Functional programming world (even though Scala is not a pure functional programming language, it supports OO too).  I highly recommended this article for anyone who wants to take the first step: http://www.artima.com/scalazine/articles/steps.html .ShareThis </description>
		<link>http://www.industryzero.com/2009/06/08/learning-scala/</link>
			</item>
</channel>
</rss>
