<?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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Krispy Ideas</title>
	<atom:link href="http://krispy.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://krispy.wordpress.com</link>
	<description>Insane Ideas that Krackel and Excite</description>
	<lastBuildDate>Tue, 29 Apr 2008 15:07:23 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='krispy.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/ebd6c3727f6ce09627e43b44c34aee4f?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Krispy Ideas</title>
		<link>http://krispy.wordpress.com</link>
	</image>
			<item>
		<title>JAVA_HOME is not defined correctly</title>
		<link>http://krispy.wordpress.com/2008/04/29/java_home-is-not-defined-correctly/</link>
		<comments>http://krispy.wordpress.com/2008/04/29/java_home-is-not-defined-correctly/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 15:07:23 +0000</pubDate>
		<dc:creator>kuccello</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://krispy.wordpress.com/?p=18</guid>
		<description><![CDATA[I have been working with Grails and Groovy for the last little while and have started to use IntelliJ as my ide of choice since NetBeans Groovy/Grails support is still pending release. I did have an issue getting intelliJ to work though and I found someone else who had the same problem but also had [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=krispy.wordpress.com&blog=1144320&post=18&subd=krispy&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have been working with Grails and Groovy for the last little while and have started to use IntelliJ as my ide of choice since NetBeans Groovy/Grails support is still pending release. I did have an issue getting intelliJ to work though and I found someone else who had the same problem but also had the solution:</p>
<p>POSTED HERE:<a title="Grails" href="http://jlorenzen.blogspot.com/2007/10/jetgroovy-plugin-tip-in-linux.html" target="_self">http://jlorenzen.blogspot.com/2007/10/jetgroovy-plugin-tip-in-linux.html</a></p>
<p><cite>Tip for using Grails in Idea</cite></p>
<p>Recently I tried creating my first Grails application using the JetGroovy plugin available in Idea (version 7.0). However, I have Linux (Ubuntu 7.10) and you don&#8217;t get those nice little icons to start Idea when you install it. Consequently when I tried to create a new Grails project I received the following error:</p>
<p>grails: JAVA_HOME is not defined correctly; can not execute: java</p>
<p>How in the world is that possible I thought to myself? What half decent java programmer doesn&#8217;t have JAVA_HOME set? Oh but then I remembered my special start script responsible for starting Idea. Idea requires the variable JDK_HOME to be set, but Grails within Idea needs JAVA_HOME. Therefore, here is my new script I use to start Idea 7 which allows me to create new Grails projects. And don&#8217;t forget Idea 7 on Linux requires JDK 1.6.</p>
<p>sh -c &#8216;export JDK_HOME=/workspace/java/jdk1.6.0_03;export JAVA_HOME=/workspace/java/jdk1.5.0_12;/workspace/java/idea-7361/bin/idea.sh&#8217;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/krispy.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/krispy.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/krispy.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/krispy.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/krispy.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/krispy.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/krispy.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/krispy.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/krispy.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/krispy.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/krispy.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/krispy.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=krispy.wordpress.com&blog=1144320&post=18&subd=krispy&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://krispy.wordpress.com/2008/04/29/java_home-is-not-defined-correctly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3745496d82e2787aeeed4d7520d94d7b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Krispy</media:title>
		</media:content>
	</item>
		<item>
		<title>TSOT &#8211; Ruby Show and Tell Night</title>
		<link>http://krispy.wordpress.com/2008/01/09/tsot-ruby-show-and-tell-night/</link>
		<comments>http://krispy.wordpress.com/2008/01/09/tsot-ruby-show-and-tell-night/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 14:28:39 +0000</pubDate>
		<dc:creator>kuccello</dc:creator>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Toronto]]></category>

		<guid isPermaLink="false">http://krispy.wordpress.com/2008/01/09/tsot-ruby-show-and-tell-night/</guid>
		<description><![CDATA[I was at TSOT last night with about 30 or so fellow community developers (Brent Ashly, Andrew Burke, Hampton &#8211; from Unspace, Joey DeVilla etc&#8230;) and had a blast. Its always fun to geek out with my programming peeps. Joey was MC with a quick counter rant on What Zed Said &#8211; very amusing. Andrew [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=krispy.wordpress.com&blog=1144320&post=11&subd=krispy&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was at <a href="http://www.tsotinc.com/">TSOT</a> last night with about 30 or so fellow community developers (<a href="http://www.ashleyit.com/">Brent Ashly</a>, <a href="http://www.andrewburke.ca">Andrew Burke</a>, <a href="http://unspace.ca">Hampton &#8211; from Unspace</a>, <a href="http://www.joeydevilla.com/">Joey DeVilla</a> etc&#8230;) and had a blast. Its always fun to geek out with my programming peeps. Joey was MC with a quick counter rant on What Zed Said &#8211; very amusing. Andrew showed off the sign management application he has developed, Hampton gave an amusing demo/explanation on ziplocal and the pains of developing the site. There was a demo (also an unspace demo) on a site for the iphone touch &#8211; that updates you with sports scores &#8211; very nice ui. TSOT will be holding these coder show and tells on the virtues of rails development every second tuesday of the month.</p>
<p>Brent and I both had our Asus Eee PCs with us &#8211; see picture below &#8211; had lots of fun showing them off.<br />
<a href='http://krispy.files.wordpress.com/2008/01/00005.jpg' title='Brent and his Pink Eee'>Brent and his Pink Eee</a></p>
<p><a href='http://krispy.files.wordpress.com/2008/01/00003.jpg' title='Joey'>Joey</a></p>
<p>Pictures:<br />
<a href="http://krispy.files.wordpress.com/2008/01/00001.jpg" title="Joey At TSOT">Joey At TSOT</a><br />
<a href='http://krispy.files.wordpress.com/2008/01/00002.jpg' title='Hampton'>Hampton</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/krispy.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/krispy.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/krispy.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/krispy.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/krispy.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/krispy.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/krispy.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/krispy.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/krispy.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/krispy.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/krispy.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/krispy.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=krispy.wordpress.com&blog=1144320&post=11&subd=krispy&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://krispy.wordpress.com/2008/01/09/tsot-ruby-show-and-tell-night/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3745496d82e2787aeeed4d7520d94d7b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Krispy</media:title>
		</media:content>
	</item>
		<item>
		<title>Some cool things to get the mind working&#8230;</title>
		<link>http://krispy.wordpress.com/2007/06/18/some-cool-things-to-get-the-mind-working/</link>
		<comments>http://krispy.wordpress.com/2007/06/18/some-cool-things-to-get-the-mind-working/#comments</comments>
		<pubDate>Mon, 18 Jun 2007 21:01:32 +0000</pubDate>
		<dc:creator>kuccello</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cool]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://krispy.wordpress.com/2007/06/18/some-cool-things-to-get-the-mind-working/</guid>
		<description><![CDATA[So I came across a few interesting things today, one is this Jack PC which is a dam small computer. I want to get one of these and put it inside a desk and make it a terminal unit that runs linux so I can XDMCP into an X server. Imagine desks that come with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=krispy.wordpress.com&blog=1144320&post=10&subd=krispy&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>So I came across a few interesting things today, one is this <a href="http://blog.scifi.com/tech/archives/2006/06/01/a_computer_so_s.html">Jack PC</a> which is a dam small computer. I want to get one of these and put it inside a desk and make it a terminal unit that runs linux so I can XDMCP into an X server. Imagine desks that come with a computer! Fun food for thought. Makes bringing in new employees a breeze.</p>
<p>The second thing I came across today was this <a href="http://www.c71123.com/daily_photo/">very cool video of one persons daily photograph</a> over a span of years. When you watch this pay attention to how the guys nose grows over the years.</p>
<p>I&#8217;m playing arround with Lua right now and I will post some screen casts soon I think. Its been a while since I did a video. Those intrested should head over to <a href="http://www.democamp.ca">www.democamp.ca</a> and watch my old video podcast (see the side bar).</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/krispy.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/krispy.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/krispy.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/krispy.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/krispy.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/krispy.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/krispy.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/krispy.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/krispy.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/krispy.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/krispy.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/krispy.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=krispy.wordpress.com&blog=1144320&post=10&subd=krispy&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://krispy.wordpress.com/2007/06/18/some-cool-things-to-get-the-mind-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3745496d82e2787aeeed4d7520d94d7b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Krispy</media:title>
		</media:content>
	</item>
		<item>
		<title>An update to Database Web Services</title>
		<link>http://krispy.wordpress.com/2007/06/15/an-update-to-database-web-services/</link>
		<comments>http://krispy.wordpress.com/2007/06/15/an-update-to-database-web-services/#comments</comments>
		<pubDate>Fri, 15 Jun 2007 18:24:35 +0000</pubDate>
		<dc:creator>kuccello</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://krispy.wordpress.com/2007/06/15/an-update-to-database-web-services/</guid>
		<description><![CDATA[I found this great explanation of wrapping a database in a web service today http://www.stanford.edu/dept/itss/docs/oracle/10g/java.101/b12021/callouts.htm . The author covers Oracle® Database Java Developer&#8217;s Guide 10g Release 1 (10.1) Part Number B12021-02 and how to use it to create web services around a db.

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=krispy.wordpress.com&blog=1144320&post=9&subd=krispy&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I found this great explanation of wrapping a database in a web service today <a href="http://www.stanford.edu/dept/itss/docs/oracle/10g/java.101/b12021/callouts.htm">http://www.stanford.edu/dept/itss/docs/oracle/10g/java.101/b12021/callouts.htm</a> . The author covers Oracle® Database Java Developer&#8217;s Guide 10g Release 1 (10.1) Part Number B12021-02 and how to use it to create web services around a db.</p>
<p><img src="http://www.stanford.edu/dept/itss/docs/oracle/10g/java.101/b12021/webservices_calling_database.gif" height="260" width="503" /></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/krispy.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/krispy.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/krispy.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/krispy.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/krispy.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/krispy.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/krispy.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/krispy.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/krispy.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/krispy.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/krispy.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/krispy.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=krispy.wordpress.com&blog=1144320&post=9&subd=krispy&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://krispy.wordpress.com/2007/06/15/an-update-to-database-web-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3745496d82e2787aeeed4d7520d94d7b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Krispy</media:title>
		</media:content>

		<media:content url="http://www.stanford.edu/dept/itss/docs/oracle/10g/java.101/b12021/webservices_calling_database.gif" medium="image" />
	</item>
		<item>
		<title>Should objects be responsible for their own stubbing?</title>
		<link>http://krispy.wordpress.com/2007/05/30/should-objects-be-responsible-for-their-own-stubbing/</link>
		<comments>http://krispy.wordpress.com/2007/05/30/should-objects-be-responsible-for-their-own-stubbing/#comments</comments>
		<pubDate>Wed, 30 May 2007 19:37:43 +0000</pubDate>
		<dc:creator>kuccello</dc:creator>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Theory]]></category>

		<guid isPermaLink="false">http://krispy.wordpress.com/2007/05/30/should-objects-be-responsible-for-their-own-stubbing/</guid>
		<description><![CDATA[I&#8217;m an advocate of TDD (test driven development) and I try too use it all the time when I&#8217;m coding. I have gotten accustomed to using JMock for a lot of my testing as most of what I test are servlets and such which require quite a bit of setup (HttpServletResponse, HttpServletRequest etc). The one [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=krispy.wordpress.com&blog=1144320&post=8&subd=krispy&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;m an advocate of <a href="http://www.agiledata.org/essays/tdd.html">TDD</a> (test driven development) and I try too use it all the time when I&#8217;m coding. I have gotten accustomed to using JMock for a lot of my testing as most of what I test are servlets and such which require quite a bit of setup (HttpServletResponse, HttpServletRequest etc). The one thing I don&#8217;t like though is that using jmock exposes too much of the inner workings (or expectations of the inner workings) of the system to be flexible enough for rapid design. What I mean by this is that when I&#8217;m coding TDD style, I write my test case first and as I do I am thinking about how I may setup the class interface etc&#8230; Jmock forces me to setup certain expectations in advance (not with a gun to my head but pretty close) about how the code will actually implement the solution.</p>
<p>For example say I&#8217;m writing a login servlet called LoginServlet. This servlet class has a method called &#8220;doPost&#8221; that takes a ServletRequest and ServletResponse. My test case begins like this&#8230;</p>
<pre>
public void testLoginWithValidCredentials()throws Exception{   String email = "testmonkey@nodomain.com";String pass = "abc123";

StubRequest req = new StubRequest();

req.setParameter("email",email);

req.setParameter("password",pass);

req.setSession((HttpSession)mockHttpSession.proxy());

....

....

loginServlet.doPost(req,response);

}</pre>
<p>Now I knew in advance that I was going to need a session object because I&#8217;m putting something on it after the login; what that is and how it works are unknown at the moment. Also at this point I don&#8217;t really have any expectations for my test case. I guess my expectation is that after executing loginServlet.doPost(&#8230;) that there will be some new information on the Session object. Thats about all I know to be true. So we can pull the session off the request object afterward and check that its there&#8230;. or using the JMock way we can set an expectation that the mockHttpSession receives a setAttribute message once with some data (At this point I have decided that I will store an Account object on the session). So we create our JMock expectation:</p>
<pre>mockHttpSession.expects(once()).method("setAttribute").with(eq(Account.class.getName()),eq(account));</pre>
<pre>**Note:  I created an account instance object with some test data</pre>
<p>Great, now we can know for sure that the info was set to the session. But how to we get that info?<br />
All of a sudden I need to make all sorts of assumptions about how the code is going to be implemented instead of actually implementing it. I&#8217;m sure I&#8217;m just missing something here but if the way I get the data is by creating a LoginController instance inside the servlet then I need a way to control what comes out of that controller from the test case. Ok, so I could add an overloaded constructor to my Servlet that takes a LoginController instance and then store that inside the servlet for use during the doPost call&#8230; my gut tells me that may be the wrong thing to do. Lets try it out and make sure&#8230;.</p>
<pre>
public void testLoginWithValidCredentials()

 throws Exception{		LoginControllerStub loginControllerStub = new LoginControllerStub();

 	loginControllerStub.setAccount(account);

loginServlet = new LoginServlet();

 	loginServlet.setLoginController(loginControllerStub);

String email = "testmonkey@nodomain.com";

 	String pass = "abc123";

StubRequest req = new StubRequest();

 	req.setParameter("email",email);

 	req.setParameter("password",pass);

 	req.setSession((HttpSession)mockHttpSession.proxy());

mockHttpSession.expects(once()).method("setAttribute").with(eq(Account.class.getName()),eq(account));

loginServlet.doPost(req, response);

}</pre>
<p>Now we need to fill in the login servlet code&#8230;</p>
<pre>
public class LoginServlet extends HttpServlet {

	private LoginController loginController = null;

	public void setLoginController(LoginController lc){
		this.loginController = lc;
	}

	protected LoginController getLoginController(){
		if(this.loginController==null){
			this.loginController = new LoginController();
		}

		return this.loginController;
	}

	@Override
	public void doPost(HttpServletRequest req, HttpServletResponse res)
	throws ServletException, IOException {

		String email = req.getParameter("email");
		String password = req.getParameter("password");

		LoginController loginController = getLoginController();

		Account account = loginController.getAccount(email, password);

		if(account!=null){
			// successful login
			req.getSession().setAttribute(Account.class.getName(), account);
		}else{
			// something was wrong with the creds
		}
	}
}</pre>
<p>And the test passes&#8230;. Hmmm maybe there is a clean way to do this after all&#8230;.<br />
The power of blogging wins again. This is really just a ramble run amok, if you have comments please send them to me.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/krispy.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/krispy.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/krispy.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/krispy.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/krispy.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/krispy.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/krispy.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/krispy.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/krispy.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/krispy.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/krispy.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/krispy.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=krispy.wordpress.com&blog=1144320&post=8&subd=krispy&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://krispy.wordpress.com/2007/05/30/should-objects-be-responsible-for-their-own-stubbing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3745496d82e2787aeeed4d7520d94d7b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Krispy</media:title>
		</media:content>
	</item>
		<item>
		<title>BarCamp Toronto Tech Week</title>
		<link>http://krispy.wordpress.com/2007/05/28/barcamp-toronto-tech-week/</link>
		<comments>http://krispy.wordpress.com/2007/05/28/barcamp-toronto-tech-week/#comments</comments>
		<pubDate>Mon, 28 May 2007 19:15:38 +0000</pubDate>
		<dc:creator>kuccello</dc:creator>
				<category><![CDATA[BarCamp]]></category>
		<category><![CDATA[BarCamp Toronto]]></category>
		<category><![CDATA[BarCampTTW]]></category>

		<guid isPermaLink="false">http://krispy.wordpress.com/2007/05/28/barcamp-toronto-tech-week/</guid>
		<description><![CDATA[As I revel in the memories of the last Bar Camp Toronto (Toronto Tech Week) (photos) I am very inspired by what seems to take place at all of these events. We as community members have &#8220;real&#8221; conversations that often times lead to &#8220;real&#8221; action. Such as the formation of the mobile consumers &#38; content [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=krispy.wordpress.com&blog=1144320&post=6&subd=krispy&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>As I revel in the memories of the last <a href="http://barcamp.org/BarCampTorontoTechWeek">Bar Camp Toronto</a> (<a href="http://torontotechweek.to">Toronto Tech Week</a>) (<a href="http://www.flickr.com/search/?q=BarCampTTW&amp;w=all">photos</a>) I am very inspired by what seems to take place at all of these events. We as community members have &#8220;real&#8221; conversations that often times lead to &#8220;real&#8221; action. Such as the formation of the mobile consumers &amp; content developers advocacy organization &#8211; see the torcamp google group for info on that.</p>
<p>I had the pleasure of meeting Fred Ngo of <a href="http://www.standoutjobs.com">StandoutJobs.com</a> and the founding investor Austin Hill from <a href="http://www.akoha.org">Akoha</a> who shared with me some very intelligent ideas about how to find the right people to hire into my current startup <a href="http://www.domainer.com">Domainer Inc</a>.</p>
<p>Its funny though, I got to thinking that all it took was a wiki entry and a few people (Bryce Johnson, Will Pate, Ryan Coleman and Dan Kurtz) to round up a space and some sponsors for food and we had a good turn out. Its very interesting that with all of the &#8220;new&#8221; technology out there all it takes is a shared piece of virtual paper to get people to come together. This begs the question of how over served some aspects of the web are? Do we really need 50 clones of myspace or flickr? Why is everyone soo intent on reinventing youtube or revver?   Are we as geeks so obsessed with control over the implementation details that we have to continuously &#8220;redo&#8221; and idea until we get it right?</p>
<p>I have tendency to &#8220;scrap&#8221; a lot of code because I often perceive that I could write it better the second time or third time etc. This probably is not healthy and I have taken steps to curb my abandoning ways in place of a more refactoring centric methodology. Its a little compounded by the fact that there is always a better way to do something especially the more you think about and play with a problem. I think this may be why we strive so hard for new languages and ways of working. We know what we want to express but have not found the best ways of doing it yet&#8230;.</p>
<p>I need to find that new new thing for software development&#8230;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/krispy.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/krispy.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/krispy.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/krispy.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/krispy.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/krispy.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/krispy.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/krispy.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/krispy.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/krispy.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/krispy.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/krispy.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=krispy.wordpress.com&blog=1144320&post=6&subd=krispy&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://krispy.wordpress.com/2007/05/28/barcamp-toronto-tech-week/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3745496d82e2787aeeed4d7520d94d7b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Krispy</media:title>
		</media:content>
	</item>
		<item>
		<title>Why did you do it that way?</title>
		<link>http://krispy.wordpress.com/2007/05/25/why-did-you-do-it-that-way/</link>
		<comments>http://krispy.wordpress.com/2007/05/25/why-did-you-do-it-that-way/#comments</comments>
		<pubDate>Fri, 25 May 2007 13:45:56 +0000</pubDate>
		<dc:creator>kuccello</dc:creator>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://krispy.wordpress.com/2007/05/25/why-did-you-do-it-that-way/</guid>
		<description><![CDATA[I cam constantly in awe over how badly we all write code. We contort our ideas into one of three camps.

Object Oriented
Functional
Curried Rice (aspect oriented, etc&#8230;)

And as such we loose much of the expressive nature in conforming to the rules of &#8220;Modern&#8221; programming.  I suspect that 30 years from now we (some of us anyway) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=krispy.wordpress.com&blog=1144320&post=5&subd=krispy&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I cam constantly in awe over how badly we all write code. We contort our ideas into one of three camps.</p>
<ol>
<li>Object Oriented</li>
<li>Functional</li>
<li>Curried Rice (aspect oriented, etc&#8230;)</li>
</ol>
<p>And as such we loose much of the expressive nature in conforming to the rules of &#8220;Modern&#8221; programming.  I suspect that 30 years from now we (some of us anyway) will look back and marvel that anyone was able to write any meaningfully useful programs in the same way I now look back and am amazed that anyone wrote with punch cards.</p>
<p>Now I&#8217;m dancing on a line here and thats between the programming language and the programming model. I have heard it said that the language you code in will affect how you model your thoughts about programming. I agree with this as I have experienced it (I&#8217;m sure you have as well). But what about the inherent &#8220;model&#8221; of programming itself? Computers are an extension of (physical realization of) a mathematical idea. That is, you can feed one function into another function and end up with a more complex function. (I&#8217;m simplified it a bit but I hope you get the jist of what I&#8217;m saying &#8211; read <a href="http://en.wikipedia.org/wiki/Alan_Turing" title="Alan Turing">Alan Turing</a>&#8217;s original paper) so in essence we are influenced by the rules of math when creating programs. Now I&#8217;m not saying there is anything wrong with that but in recent years with the proliferation of languages like <a href="http://www.ruby-lang.org" title="Ruby">Ruby</a> etc. that call themselves 5th generational languages I wonder if we are not striving for something more than a mathematical way to express our ideas in programs?</p>
<p>I want a new way to think about and model my programs. Does anyone have any ideas?</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/krispy.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/krispy.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/krispy.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/krispy.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/krispy.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/krispy.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/krispy.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/krispy.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/krispy.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/krispy.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/krispy.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/krispy.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=krispy.wordpress.com&blog=1144320&post=5&subd=krispy&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://krispy.wordpress.com/2007/05/25/why-did-you-do-it-that-way/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3745496d82e2787aeeed4d7520d94d7b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Krispy</media:title>
		</media:content>
	</item>
		<item>
		<title>WebService DataBase</title>
		<link>http://krispy.wordpress.com/2007/05/23/hello-world/</link>
		<comments>http://krispy.wordpress.com/2007/05/23/hello-world/#comments</comments>
		<pubDate>Wed, 23 May 2007 17:29:46 +0000</pubDate>
		<dc:creator>kuccello</dc:creator>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Theory]]></category>
		<category><![CDATA[Web Service]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[   	 	 	 	 	 	 	 	 	
 Data Persistence as a Web Service
&#160;
Imagine all you had to do to store and retrieve data in object form was to have:
&#160;
	Object obj = new Object();
	obj.store();
&#160;
and all the gory details about how it is stored could be ignored (sort of). In the java [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=krispy.wordpress.com&blog=1144320&post=1&subd=krispy&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><title></title>   	 	 	 	 	 	 	 	 	<!-- 		@page { size: 21.59cm 27.94cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	--></p>
<p style="margin-bottom:0;border-color:#000000;border-style:none none solid;border-width:medium medium 1px;padding:0 0 0.07cm;"> Data Persistence as a Web Service</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">Imagine all you had to do to store and retrieve data in object form was to have:</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">	Object obj = new Object();</p>
<p style="margin-bottom:0;">	obj.store();</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">and all the gory details about how it is stored could be ignored (sort of). In the java world and to some extent the .Net world you could use hibernate as it does a good job of solving the O/R Mapping problem. However it is still a not an ideal solution from a programmer perspective because its not transparent and can clutter up your business logic to some degree with all the DAO (data access objects) you need to write.</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">Would it not be great to take the approach that DB4O took with their object database (<a href="http://www.db4o.com/">www.db4o.com</a>) with their tiny footprint object database engine you can almost transparently persist and retrieve your objects. But its a little awkward to setup access to a shared version of the database. (see the db40 documentation for an explanation) After reading how it works think about how you might achieve this for a web application that has separate helper processes running on remote machines accessing the same database file?</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">It would be great to be able to have a database as a web service. A web service that allowed you to simply send a package of data and store it, retrieve it thought some criteria and filter, delete it and merge it seamlessly with other data available in its context.</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">What if the language of the transaction was simple and contained only two chunks of information:</p>
<p style="margin-bottom:0;">&nbsp;</p>
<ol>
<li>
<p style="margin-bottom:0;">The object data itself (ie:</p>
<ol>
<li>
<ol>
<p style="margin-bottom:0;">String baz = “some string”;</p>
<p style="margin-bottom:0;">Integer yo = 103423;</p>
</ol>
</li>
<p style="margin-bottom:0;">class foo extends object{</p>
<p style="margin-bottom:0;">}</p>
</ol>
</li>
<li>
<p style="margin-bottom:0;">The meta data about this object:</p>
<ol>
<p style="margin-bottom:0;">#GRAPH:{parent=object}</p>
<p style="margin-bottom:0;">#SUBGRAPH:{	child[0]=baz:type=String</p>
</ol>
</li>
</ol>
<p style="margin-bottom:0;">				child[1]=yo:type=Integer}</p>
<p style="margin-bottom:0;">	      #OBJECTHASH:{234j23rjasxcmq023ejdmxaom3dkrj23r}</p>
<p style="margin-bottom:0;">&nbsp;</p>
<p style="margin-bottom:0;">This would represent a self descriptive object that could be stored and indexed. Ah, but now comes the clincher. What if you have an object graph that needs to be stored and has interdependencies etc. Well thats a bit of an implementation detail but it would not be unreasonable to predict that some form of Meta-Meta-Data could form the foundation of the storage mechanism. If you take a look at the <a href="http://www.w3.org/RDF/" title="RDF Spec" target="_blank">RDF</a> standard it defines a way that definitions of “things” can be referenced by other “things” and this forms the basis of the Semantic web theory. I think that it would be possible to apply the same principals against the storage and retrieval with in a limited score with unbounded parameters. What I mean by this is that it would run off one system (limited scope) but its data constraints would be limitless (unbounded). I think also that this can be achieved using some combination of strongly typed languages and weakly typed languages.</p>
<p style="margin-bottom:0;"> More to come as I think about this some more&#8230;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/krispy.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/krispy.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/krispy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/krispy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/krispy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/krispy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/krispy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/krispy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/krispy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/krispy.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/krispy.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/krispy.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=krispy.wordpress.com&blog=1144320&post=1&subd=krispy&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://krispy.wordpress.com/2007/05/23/hello-world/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3745496d82e2787aeeed4d7520d94d7b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Krispy</media:title>
		</media:content>
	</item>
	</channel>
</rss>