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

<channel>
	<title>programming with passion</title>
	<atom:link href="http://www.jasonrowland.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jasonrowland.com</link>
	<description>Learning Mac, Ruby, iPhone, BlackBerry, Android, WinMobile</description>
	<lastBuildDate>Tue, 14 Jun 2011 19:11:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Error when configuring to use the EJB interceptor binding API. JAX-RS EJB support is disabled.</title>
		<link>http://www.jasonrowland.com/2011/06/error-when-configuring-to-use-the-ejb-interceptor-binding-api-jax-rs-ejb-support-is-disabled/</link>
		<comments>http://www.jasonrowland.com/2011/06/error-when-configuring-to-use-the-ejb-interceptor-binding-api-jax-rs-ejb-support-is-disabled/#comments</comments>
		<pubDate>Tue, 14 Jun 2011 19:11:38 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.jasonrowland.com/?p=393</guid>
		<description><![CDATA[I&#8217;ve gotten this error twice while using Glassfish inside eclipse.  I&#8217;m not sure of the root cause but after hours of searching both times, I thought I should document how to get around this error.  After I shut down the glassfish server and restarted eclipse, the error went away.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve gotten this error twice while using Glassfish inside eclipse.  I&#8217;m not sure of the root cause but after hours of searching both times, I thought I should document how to get around this error.  After I shut down the glassfish server and restarted eclipse, the error went away.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonrowland.com/2011/06/error-when-configuring-to-use-the-ejb-interceptor-binding-api-jax-rs-ejb-support-is-disabled/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Native looking Mac apps using Python &amp; wxPython</title>
		<link>http://www.jasonrowland.com/2011/04/native-looking-mac-apps-using-python-wxpython/</link>
		<comments>http://www.jasonrowland.com/2011/04/native-looking-mac-apps-using-python-wxpython/#comments</comments>
		<pubDate>Sun, 24 Apr 2011 04:59:43 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.jasonrowland.com/?p=386</guid>
		<description><![CDATA[So, I went down the road of using wxRuby, but it seems that it is a dead or dying code base. Seems most Ruby-ists are interested in Rails, not in desktop applications. I also failed in my attempt at packaging up a ruby desktop app to make it appear native. I kept running into 64bit [...]]]></description>
			<content:encoded><![CDATA[<p>So, I went down the road of using wxRuby, but it seems that it is a dead or dying code base.  Seems most Ruby-ists are interested in Rails, not in desktop applications.  I also failed in my attempt at packaging up a ruby desktop app to make it appear native.  I kept running into 64bit vs 32bit issues.</p>
<p>Anyway, after quite a few months break from my project, I decided it made more sense to develop my blenderfarmers render farm client application using Python.  Blender itself uses Python to perform all it&#8217;s scripting tasks.  This would guarantee that Python is installed on every computer that is running Blender.</p>
<p>Turns out, it doesn&#8217;t even matter if python is on the target machine because built into Python is the ability to bake the python application into an executable.  Ruby has this ability too, but I just never could get it working.  In one hour, I was able to create a shell wxPython window and &#8220;freeze&#8221; it to a native Mac package that behaves just like a native app.  Beautiful!</p>
<p>I know this is Mac centric, I need to test on Windows too, but my experience is it is harder to get working on my Mac, than my Windows virtual machine.</p>
<p>Great page that helped:  <a title="Optimizing for Mac OS X" href="http://wiki.wxpython.org/Optimizing%20for%20Mac%20OS%20X">Optimizing for Mac OS X</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonrowland.com/2011/04/native-looking-mac-apps-using-python-wxpython/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql query tracing</title>
		<link>http://www.jasonrowland.com/2011/04/mysql-query-tracing/</link>
		<comments>http://www.jasonrowland.com/2011/04/mysql-query-tracing/#comments</comments>
		<pubDate>Sat, 23 Apr 2011 05:15:43 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.jasonrowland.com/?p=381</guid>
		<description><![CDATA[# Turn on logging set global log_output=FILE; set global general_log=1; # Turn off logging set global general_log=0; The log file was writing it to mysql/data/{hostname}.log on my machine. I recently used this to discover why a Rails app was taking 15 seconds to load a page.  I know this is also shown in the Rails [...]]]></description>
			<content:encoded><![CDATA[<pre># Turn on logging
set global log_output=FILE;
set global general_log=1;

# Turn off logging
set global general_log=0;</pre>
<p>The log file was writing it to mysql/data/{hostname}.log on my machine.</p>
<p>I recently used this to discover why a Rails app was taking 15 seconds to load a page.  I know this is also shown in the Rails log, but I wanted to show the impact of the SQL statements alone.  It is much easier to look at the MySQL log which isolates the SQL calls.</p>
<p>This application was performing over 600 database operations.  I&#8217;m amazed at how many developers don&#8217;t take the time to truly understand the impact their code has on a database.  Sad to say, this kind of crappy code is all over that application.  I hate inheriting crap.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonrowland.com/2011/04/mysql-query-tracing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convention over configuration</title>
		<link>http://www.jasonrowland.com/2011/02/convention-over-configuration/</link>
		<comments>http://www.jasonrowland.com/2011/02/convention-over-configuration/#comments</comments>
		<pubDate>Mon, 21 Feb 2011 20:55:56 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.jasonrowland.com/?p=376</guid>
		<description><![CDATA[I think convention over configuration is one positive idea that Ruby had brought to the java world.  One of the criticisms that is lobbed at java is that it has too many XML configuration files.  I don&#8217;t think this is a weakness in the java language as much as it is the desire to make an [...]]]></description>
			<content:encoded><![CDATA[<p>I think convention over configuration is one positive idea that Ruby had brought to the java world.  One of the criticisms that is lobbed at java is that it has too many XML configuration files.  I don&#8217;t think this is a weakness in the java language as much as it is the desire to make an extremely flexible system that doesn&#8217;t require a re-compile to change optional parameters.  It centralizes these choices into a configuration file instead of throughout several source code files.</p>
<p>This configuration file explosion isn&#8217;t exclusive to java.  I&#8217;ve seen it in rails applications too.  The only difference that I can tell is that Rails uses a more terse file format known as YML.  The production Rails app that I am working with has dozens of these configuration files.  Frankly, it looks no different to me than other production java projects I&#8217;ve been on.</p>
<p>YML may be easier for a developer due to the terseness of it, but I don&#8217;t think it is any better for the folks who are expected to maintain these configuration files (the production support teams).  In fact, I would think XML would have an advantage in this area because of the ability to validate an xml document based on a schema.  I am not aware of these sorts of tools for YML.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonrowland.com/2011/02/convention-over-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video Capture with C#</title>
		<link>http://www.jasonrowland.com/2011/02/video-capture-with-c/</link>
		<comments>http://www.jasonrowland.com/2011/02/video-capture-with-c/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 03:43:36 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.jasonrowland.com/?p=373</guid>
		<description><![CDATA[I&#8217;m having lots of fun writing a video capture application in C#.  Windows Media Foundation is supposed to be the &#8220;cool new way&#8221; to do this.  Unfortunately, there just isn&#8217;t a lot of support yet in the drivers and as far as I can tell, Windows Media Foundation does not work with the DirectShow drivers [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m having lots of fun writing a video capture application in C#.  Windows Media Foundation is supposed to be the &#8220;cool new way&#8221; to do this.  Unfortunately, there just isn&#8217;t a lot of support yet in the drivers and as far as I can tell, Windows Media Foundation does not work with the DirectShow drivers that capture cards use.  So, I&#8217;ve gone down the rabbit hole of learning how to write a video capture application using C# and DirectShow.  There just isn&#8217;t much information out there because everyone seems to want to use C++.</p>
<p>After opening Microsoft&#8217;s sample C++ app to do video capture, I&#8217;ve come to the conclusion that Microsoft COM C++ just makes me feel stupid.  It&#8217;s always made me feel stupid.  I used to think it was me.  I know now, that it&#8217;s just an ugly API and you have to be able to think in strange ways to do COM.  I&#8217;ve learned so many languages and libraries now that I can say, it&#8217;s just one ugly mess.  I&#8217;m glad they&#8217;ve been going down the CLR route.</p>
<p>I&#8217;m using <a href="http://directshownet.sourceforge.net/">http://directshownet.sourceforge.net/ </a> to handle the interop layer.  I have it capturing video from my Intensity Pro capture card.  My super fast hard drive and SATA3 system is just barely able to keep up with the uncompressed AVI file that I&#8217;m capturing.  I could compress it, but I don&#8217;t want to lose ANY color information as we will be using this footage for green screen magic.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonrowland.com/2011/02/video-capture-with-c/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>command line</title>
		<link>http://www.jasonrowland.com/2010/12/command-line/</link>
		<comments>http://www.jasonrowland.com/2010/12/command-line/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 20:57:58 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.jasonrowland.com/?p=370</guid>
		<description><![CDATA[One of the things that I love the most about my Mac is the command line.  I know the Mac is well known for it&#8217;s beautiful user interface, but that doesn&#8217;t stop at the graphical user interface.  It extends to the command line user interface as well.  One of the advantages of being based on [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things that I love the most about my Mac is the command line.  I know the Mac is well known for it&#8217;s beautiful user interface, but that doesn&#8217;t stop at the graphical user interface.  It extends to the command line user interface as well.  One of the advantages of being based on unix is that all the command line power that is available on unix is also available on the Mac.  I know microsoft has recently upgraded their command line abilities but they can&#8217;t really compete with decades of knowledge on command line usage on unix.  There were many times that I felt a little helpless on my windows box when I wanted to do something cool.  I felt helpless because a lot of the stuff I was interested was for unix only.  I do not usually experience that on my Mac.  The unix environment is just more naturally geared for the free software world.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonrowland.com/2010/12/command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Per Project RVM Selection</title>
		<link>http://www.jasonrowland.com/2010/11/per-project-rvm-selection/</link>
		<comments>http://www.jasonrowland.com/2010/11/per-project-rvm-selection/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 17:39:01 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.jasonrowland.com/?p=367</guid>
		<description><![CDATA[I work on Rails as a contractor as well as my own projects.  My main contract uses rails 2.x and ruby ree 1.8.7.  Naturally, I like to use the bleeding edge on my own projects.  This causes me problems going back and forth.  I found that you can create an .rvmrc file that will set [...]]]></description>
			<content:encoded><![CDATA[<p>I work on Rails as a contractor as well as my own projects.  My main contract uses rails 2.x and ruby ree 1.8.7.  Naturally, I like to use the bleeding edge on my own projects.  This causes me problems going back and forth.  I found that you can create an .rvmrc file that will set the environment for you when you run ruby in that directory.</p>
<p>You just put the same command you would normally type at the prompt to switch RVM environments in the .rvmrc file and it works!</p>
<pre><code>echo "rvm ree@global" &gt; .rvmrc</code></pre>
<p>This will enable you to simply change directories and not have to think about which version of ruby and gemset you are using.  cd into that directory, type ruby &#8211;version to verify it loading the right ruby version.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonrowland.com/2010/11/per-project-rvm-selection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Startups</title>
		<link>http://www.jasonrowland.com/2010/10/startups/</link>
		<comments>http://www.jasonrowland.com/2010/10/startups/#comments</comments>
		<pubDate>Mon, 01 Nov 2010 04:29:01 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.jasonrowland.com/?p=364</guid>
		<description><![CDATA[I&#8217;m currently working at a startup.  One of the things I love about startups is the commitment I see from a lot of developers.  I remember when I first moved to Colorado, working at 2am with other developers.  It&#8217;s sorta like a party.  I think it&#8217;s why I loved the Rails Rumble so much.  It [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently working at a startup.  One of the things I love about startups is the commitment I see from a lot of developers.  I remember when I first moved to Colorado, working at 2am with other developers.  It&#8217;s sorta like a party.  I think it&#8217;s why I loved the Rails Rumble so much.  It is 10:30pm, I just drank 6 shots of espresso.  Another developer and I are planning on working perhaps till people show up in the morning and beyond to get some functionality done.  This is so not a corporate thing to do.  I love it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonrowland.com/2010/10/startups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OSX Path</title>
		<link>http://www.jasonrowland.com/2010/10/mac-osx-path/</link>
		<comments>http://www.jasonrowland.com/2010/10/mac-osx-path/#comments</comments>
		<pubDate>Thu, 28 Oct 2010 18:40:35 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.jasonrowland.com/?p=361</guid>
		<description><![CDATA[Great post on Mac Paths http://www.semioticpixels.com/2010/01/path-settings-on-mac-snow-leopard/]]></description>
			<content:encoded><![CDATA[<p>Great post on Mac Paths</p>
<p><a href="http://www.semioticpixels.com/2010/01/path-settings-on-mac-snow-leopard/">http://www.semioticpixels.com/2010/01/path-settings-on-mac-snow-leopard/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonrowland.com/2010/10/mac-osx-path/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails Rumble 2010</title>
		<link>http://www.jasonrowland.com/2010/10/rails-rumble-2010/</link>
		<comments>http://www.jasonrowland.com/2010/10/rails-rumble-2010/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 00:50:38 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.jasonrowland.com/?p=356</guid>
		<description><![CDATA[Wow, that was incredible fun.  Andrew Kavanaugh and I holed up in a Vegas hotel for the entire weekend to crank out a Rails application www.transcriptify.com for Rails Rumble. We were http://railsrumble.com/teams/double-down. We were so busy, we still haven&#8217;t put one penny in a slot machine yet.  This was also my very first rails application.  We created [...]]]></description>
			<content:encoded><![CDATA[<p>Wow, that was incredible fun.  Andrew Kavanaugh and I holed up in a Vegas hotel for the entire weekend to crank out a Rails application <a href="www.transcriptify.com">www.transcriptify.com</a> for Rails Rumble. We were <a href="http://railsrumble.com/teams/double-down">http://railsrumble.com/teams/double-down</a>. We were so busy, we still haven&#8217;t put one penny in a slot machine yet.  This was also my very first rails application.  We created an application where you will be able to upload a podcast, video, or whatever and get a transcript back.  The user pastes the youtube URL or uploads a video and then we create a bunch of &#8220;HIT&#8221;s on Amazon&#8217;s Mechanical Turk system.  A HIT is a Human Intelligence Task where people log into amazon and fulfill these tasks and get paid.  We break up a 30min video into 60 chunks and have several people per 30 second clip transcribe it.  We then create other HITs to review the transcriptions.  Once all 60 chunks of video/audio have been transcribed and reviewed, we assemble them all into one big transcript that can be downloaded to your website .</p>
<p>We were literally down to the last minute trying to get paypal to work and therefore didn&#8217;t have much testing.  I hope it works <img src='http://www.jasonrowland.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />   Due to time constraints, we have only implemented youtube so far.  there are so many things that would need to be done in order to make this an app I&#8217;m proud to charge for, but overall I&#8217;m quite proud of what we accomplished in 48 hours.  We overcame a crippled laptop that had to be exchanged at the Apple Store only to find out that it is a software problem because my new one has the same issue.  I had to operate in safe mode the whole weekend which meant no audio.  That made it really hard to create a service based on transcribing audio.  We had one team member who was unable to devote the time we had hoped for the contest which was also a disappointment.</p>
<p>Only got a few hours of sleep over the last 48 hours, havent eaten all day, but it was an awesome experience with a fellow coder and friend who also loves to code just for the enjoyment of it.  It was an experience I would recommend and hope to repeat next year.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonrowland.com/2010/10/rails-rumble-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

