<?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>CodeCube.NET &#187; General</title>
	<atom:link href="http://codecube.net/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://codecube.net</link>
	<description>Joel Martinez' weblog</description>
	<lastBuildDate>Mon, 21 May 2012 20:28:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>JavaScript Engine for Windows Phone</title>
		<link>http://codecube.net/2011/10/javascript-engine-for-windows-phone/</link>
		<comments>http://codecube.net/2011/10/javascript-engine-for-windows-phone/#comments</comments>
		<pubDate>Thu, 13 Oct 2011 03:43:03 +0000</pubDate>
		<dc:creator>Joel Martinez</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://codecube.net/?p=517</guid>
		<description><![CDATA[Edit: This is now available on GitHub: https://github.com/joelmartinez/Jint.Phone Did a fun bit of hacking, ported the Jint JavaScript interpereter to Windows Phone 7.5 &#8230; the result is seen below: And when we run that code in a silverlight application: This would also work in XNA games for wp7, so one can imagine scripting scenarios if [...]]]></description>
			<content:encoded><![CDATA[<p><em>Edit: This is now available on GitHub: <a href="https://github.com/joelmartinez/Jint.Phone">https://github.com/joelmartinez/Jint.Phone</a></em></p>
<p>Did a fun bit of hacking, ported the <a href="http://jint.codeplex.com/">Jint JavaScript interpereter</a> to Windows Phone 7.5 &#8230; the result is seen below:</p>
<div id="gist-1283275" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'><span class="kt">var</span> <span class="n">engine</span> <span class="p">=</span> <span class="k">new</span> <span class="n">JintEngine</span><span class="p">();</span></div><div class='line' id='LC2'><span class="n">engine</span><span class="p">.</span><span class="n">SetFunction</span><span class="p">(</span><span class="s">&quot;alert&quot;</span><span class="p">,</span> <span class="k">new</span> <span class="n">Action</span><span class="p">&lt;</span><span class="kt">string</span><span class="p">&gt;(</span><span class="n">t</span> <span class="p">=&gt;</span> <span class="n">MessageBox</span><span class="p">.</span><span class="n">Show</span><span class="p">(</span><span class="n">t</span><span class="p">)));</span></div><div class='line' id='LC3'><br/></div><div class='line' id='LC4'><span class="n">engine</span><span class="p">.</span><span class="n">Run</span><span class="p">(</span><span class="s">&quot;alert(&#39;Hello World, from dynamically interpereted JavaScript on WP7!&#39;)&quot;</span><span class="p">);</span></div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/1283275/d98d251673babe3dfe036bb119ad3115adac1927/gistfile1.cs" style="float:right;">view raw</a>
            <a href="https://gist.github.com/1283275#file_gistfile1.cs" style="float:right;margin-right:10px;color:#666">gistfile1.cs</a>
            <a href="https://gist.github.com/1283275">This Gist</a> brought to you by <a href="http://github.com">GitHub</a>.
          </div>
        </div>
</div>

<p>And when we run that code in a silverlight application:</p>
<p style="text-align: center;"><img class="size-full wp-image-524 aligncenter" title="mapped alert method" src="http://codecube.net/wp-content/uploads/2011/10/wp7helloworld.png" alt="mapped alert method" width="473" height="350" /></p>
<p style="text-align: left;">This would also work in XNA games for wp7, so one can imagine scripting scenarios if that&#8217;s your cup of tea. Though it would take more work for this to be supported on the xbox since DynamicMethod is not supported there.</p>
<p style="text-align: left;">I was really happy to see that Windows Phone 7.1 (Mango) brings in support for the DynamicMethod and some of the other Reflection.Emit features. One of my previous projects (<em><a title="New LateBinder" href="http://codecube.net/2008/12/new-latebinder/">New LateBinder</a></em>) showed significant perf benefits to using this over regular old reflection.</p>
<p style="text-align: left;">I had to overcome some quirks due to the slight differences in the compact framework, but after some time I got it all working &#8230; so far all my tests have been successful (though it&#8217;s not to say it&#8217;s all fully working). Many props to the team of developers that did this over at codeplex.</p>
]]></content:encoded>
			<wfw:commentRss>http://codecube.net/2011/10/javascript-engine-for-windows-phone/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>R.I.P. Steve Jobs</title>
		<link>http://codecube.net/2011/10/r-i-p-steve-jobs/</link>
		<comments>http://codecube.net/2011/10/r-i-p-steve-jobs/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 13:09:50 +0000</pubDate>
		<dc:creator>Joel Martinez</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://codecube.net/?p=514</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://apple.com"><img class="size-thumbnail wp-image-515 aligncenter" title="apple" src="http://codecube.net/wp-content/uploads/2011/10/apple-150x150.jpg" alt="" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://codecube.net/2011/10/r-i-p-steve-jobs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Droids I&#8217;m Looking For</title>
		<link>http://codecube.net/2011/08/the-droids-im-looking-for/</link>
		<comments>http://codecube.net/2011/08/the-droids-im-looking-for/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 03:50:42 +0000</pubDate>
		<dc:creator>Joel Martinez</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://codecube.net/2011/08/the-droids-im-looking-for/</guid>
		<description><![CDATA[I’m quite excited to reveal that, after 4+ years at my current employer, I’ve decided to accept a new position. The new position is with About.com, working in their Calorie Count business unit on their Android app. The app was recently featured on TechCrunch, covering a new feature which came to the iOS version. I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://market.android.com/details?id=com.about.CalorieCount&amp;feature=search_result"><img style="margin: 0px 8px 0px 0px; display: inline; float: left;" src="https://www.gstatic.com/android/market/com.about.CalorieCount/hi-78-2" alt="Calorie Counter &amp; Diet Tracker" align="left" /></a>I’m quite excited to reveal that, after 4+ years at my current employer, I’ve decided to accept a new position.</p>
<p>The new position is with <a href="http://about.com">About.com</a>, working in their <a href="http://caloriecount.about.com/">Calorie Count</a> business unit on their <a href="https://market.android.com/details?id=com.about.CalorieCount&amp;feature=search_result">Android app</a>. The app was recently <a href="http://techcrunch.com/2011/08/16/about-coms-calorie-count-ios-app-adds-voice-recognition-food-logging-and-more/">featured on TechCrunch</a>, covering a new feature which came to the iOS version. I will be working to bring that feature and others to the Android version.</p>
<p>This is of course a bit of a departure for me, professionally speaking. Having lived most of my professional life working with Microsoft technologies; I see it as a huge opportunity to broaden my horizons, and experience a different perspective. So far, Java hasn&#8217;t been that tough to pick up, and the Android SDK is easy enough to work with.</p>
<p>The team I will be working with has a radically different culture than I’ve seen in many places. For example; Although it’s part of a larger organization, the business unit is run somewhat as a startup. They even meet at <a href="http://nwc.co/">NewWorkCity</a> on Wednesdays just to change things up. This appeals to me a great deal, and I look forward to operating in an environment that eschews traditional corporate processes in favor of getting results.</p>
<p><a href="http://caloriecount.about.com/"><img src="http://ccakamai.about.com/images/elements/logo_cc.png" alt="Calorie Count" /></a></p>
<p>I’ve learned a great deal in the last 5 years. And I’ve come away from the experience with some of the best friends and most trusted colleagues. Also, just because I’ll be doing some Android programming now, I still love XNA, and I still love my Windows Phone … I will probably just have a few extra gadgets on my persons from now on <img class="wlEmoticon wlEmoticon-winkingsmile" style="border-style: none;" src="http://codecube.net/wp-content/uploads/2011/08/wlEmoticon-winkingsmile.png" alt="Winking smile" /></p>
]]></content:encoded>
			<wfw:commentRss>http://codecube.net/2011/08/the-droids-im-looking-for/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SteamBirds for Windows Phone</title>
		<link>http://codecube.net/2011/08/steambirds-for-windows-phone/</link>
		<comments>http://codecube.net/2011/08/steambirds-for-windows-phone/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 17:00:21 +0000</pubDate>
		<dc:creator>Joel Martinez</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://codecube.net/2011/08/steambirds-for-windows-phone/</guid>
		<description><![CDATA[Now Available for the Windows Phone Marketplace, SteamBirds: The turn-based aerial combat game that over twelve million people have played! &#34;&#8230;Steambirds lies in wait to rob you of your Monday morning.&#34; &#8211;Penny Arcade Use bombs, missiles and poison gas to defeat enemy planes in this unique turn-based game! This version features improved graphics, new music, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://goo.gl/mf6Dh"><img src="http://image.catalog.zune.net/v3.2/image/83605e47-88f6-4009-b755-d4d2692e15dd?width=200&amp;height=200" /></a></p>
<p>Now Available for the Windows Phone Marketplace, <a href="http://goo.gl/mf6Dh">SteamBirds</a>:</p>
<blockquote><p>The turn-based aerial combat game that over twelve million people have played!     </p>
<p><em>&quot;&#8230;Steambirds lies in wait to rob you of your Monday morning.&quot;</em> &#8211;Penny Arcade      </p>
<p>Use bombs, missiles and poison gas to defeat enemy planes in this unique turn-based game! This version features improved graphics, new music, and local multiplayer mode.</p>
</blockquote>
<p><a href="http://goo.gl/mf6Dh"><img title="Download Udder Chaos for your Windows Phone" alt="" src="http://www.windowsphoneapplist.com/forum/styles/monsmntheme/theme/images/download.png" width="160" height="50" /></a></p>
<p>There’s already a few reviews in the marketplace, my favorite is:</p>
<blockquote><p>OMG!!!!!!! THE Steambirds is out!!! I&#8217;ve <a href="http://steambirds.com/">played this game in flash</a>,now it&#8217;s out for wp7. A must have game for RTS lovers. Runs perfect &amp; smooth [… snip …] 10 out of 5 stars!!!</p>
</blockquote>
<p>As with <a href="http://codecube.net/2011/07/udder-chaos-for-windows-phone/">Udder Chaos</a>, this game was built with <a href="http://www.flatredball.com">FlatRedBall</a>. Many thanks to Vic and the rest of the team involved for the opportunity to work on this game. Lots of exciting things on the horizon <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://codecube.net/wp-content/uploads/2011/08/wlEmoticon-smile.png" /></p>
]]></content:encoded>
			<wfw:commentRss>http://codecube.net/2011/08/steambirds-for-windows-phone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exec-Sql PowerShell Function</title>
		<link>http://codecube.net/2011/07/exec-sql-powershell-function/</link>
		<comments>http://codecube.net/2011/07/exec-sql-powershell-function/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 13:00:15 +0000</pubDate>
		<dc:creator>Joel Martinez</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://codecube.net/?p=481</guid>
		<description><![CDATA[And the hits just keep on coming &#8230; here&#8217;s a simple little function which executes a query against a database and pipelines the results as PSObjects. .SYNOPSIS Executes SQL against the supplied connection string. .DESCRIPTION Executes SQL against the supplied connection string. The result set is then pipelined as a PSObject which can subsequently be [...]]]></description>
			<content:encoded><![CDATA[<p>And the hits just keep on coming &#8230; here&#8217;s a simple little function which executes a query against a database and pipelines the results as PSObjects.</p>
<blockquote>
<pre>.SYNOPSIS
Executes SQL against the supplied connection string.
.DESCRIPTION
Executes SQL against the supplied connection string. The result set is then pipelined as a PSObject which can subsequently be formatted and filtered any way you choose.
.PARAMETER query
The query to execute
.PARAMETER connstring
The connection string to use
.EXAMPLE
PS C:\&gt; Exec-Sql -q "select top 1 * from common.country" -conn ""
.EXAMPLE
PS C:\&gt; Exec-Sql -q "select * from common.country (nolock)" -conn "" | where {$_.Code -eq "AX" } | select code, name
#&gt;
function global:Exec-Sql
{
param ([Alias("q")]$query, [Alias("conn")]$connstring)

[system.reflection.assembly]::LoadWithPartialName("System.Data")
$connection = New-Object -TypeName System.Data.SqlClient.SqlConnection

$connection.ConnectionString = $connstring
$connection.Open()

$command = New-Object -TypeName System.Data.SqlClient.SqlCommand

$command.Connection = $connection
$command.CommandText = $query
$reader = $command.ExecuteReader()

$fieldcount = $reader.FieldCount

while ($reader.Read())
{
$o = new-object psobject

for ($i=0;$i -lt $fieldcount;$i++)
{
$o | add-member -membertype noteproperty $reader.GetName($i) $reader[$reader.GetName($i)].ToString()

}

write-output -inputobject $o
}

$connection.Close()

}</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://codecube.net/2011/07/exec-sql-powershell-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Minor PowerShell Prompt Customization</title>
		<link>http://codecube.net/2011/07/minor-powershell-prompt-customization/</link>
		<comments>http://codecube.net/2011/07/minor-powershell-prompt-customization/#comments</comments>
		<pubDate>Thu, 14 Jul 2011 10:30:31 +0000</pubDate>
		<dc:creator>Joel Martinez</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://codecube.net/?p=472</guid>
		<description><![CDATA[Having recently started using PowerShell a lot more, I wanted to share a minor customization I made to my powershell prompt. function prompt { $loc = $(get-location).ToString() $usr = ($env:userprofile).ToString() if ($loc.StartsWith($usr, $true,[System.Globalization.CultureInfo].CurrentCulture)) { $loc = "~"+$loc.SubString($usr.Length, $loc.Length - $usr.Length) } Write-Host ("PS " + $loc +"&#62;") -nonewline -foregroundcolor Yellow return " " } all [...]]]></description>
			<content:encoded><![CDATA[<p>Having recently started using PowerShell a lot more, I wanted to share a minor customization I made to my powershell prompt.</p>
<pre>function prompt
{
    $loc = $(get-location).ToString()
    $usr = ($env:userprofile).ToString()
    if ($loc.StartsWith($usr, $true,[System.Globalization.CultureInfo].CurrentCulture)) {
	$loc = "~"+$loc.SubString($usr.Length, $loc.Length - $usr.Length)
    }
    Write-Host ("PS " + $loc +"&gt;") -nonewline -foregroundcolor Yellow
    return " "
}</pre>
<p>all it does is that when I&#8217;m in my user profile directory, it shortens the prompt to something like: <strong>PS ~&gt;</strong>. Since you can use the &#8216;~&#8217; character as a shortcut for your user directory, may as well shorten the path to give you more space. Also, it makes the prompt yellow so that it can be more easily distinguished from the rest of the output.</p>
]]></content:encoded>
			<wfw:commentRss>http://codecube.net/2011/07/minor-powershell-prompt-customization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS Tech-Ed 2011</title>
		<link>http://codecube.net/2011/05/ms-tech-ed-2011/</link>
		<comments>http://codecube.net/2011/05/ms-tech-ed-2011/#comments</comments>
		<pubDate>Tue, 24 May 2011 16:36:36 +0000</pubDate>
		<dc:creator>Joel Martinez</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://codecube.net/2011/05/ms-tech-ed-2011/</guid>
		<description><![CDATA[What a whirlwind of a few weeks … first order of business, I can’t believe that I hadn’t even posted a link to this, but Udder Chaos was released on XBox Live Indie Games several weeks ago. It’s received favorable reviews (or mildly tepid at worst), and was even featured on Kotaku’s favorites list for [...]]]></description>
			<content:encoded><![CDATA[<p>What a whirlwind of a few weeks … first order of business, I can’t believe that I hadn’t even posted a link to this, but Udder Chaos was released on XBox Live Indie Games several weeks ago.</p>
<p><a href="http://goo.gl/g0DfL"><img style="margin: 0px 10px 0px 0px; display: inline; float: left;" title="Udder Chaos" src="http://download.xbox.com/content/xna/assets/5855082D_World/webboxart.jpg" alt="Udder Chaos" align="left" /></a></p>
<p>It’s <a href="http://www.dealspwn.com/xbligotw-ultraviolet-udder-chaos-delta-energy-ii-57221">received</a> favorable reviews (or <a href="http://www.gamemarx.com/video/trials/65/udder-chaos.aspx?amp&amp;amp">mildly tepid</a> at worst), and was even featured on Kotaku’s favorites list for a bit. All in all, I had a great time helping the team get that game to market, and is a testament to <a href="http://flatredball.com">FlatRedBall</a>. Though we’re all working on other projects right now, a <a title="Udder Chaos for Windows Phone" href="http://codecube.net/2011/07/udder-chaos-for-windows-phone/">windows phone 7 version</a> isn’t far away <img class="wlEmoticon wlEmoticon-smile" style="border-style: none;" src="http://codecube.net/wp-content/uploads/2011/05/wlEmoticon-smile.png" alt="Smile" /></p>
<blockquote><p>“Udder Chaos plays like one of the classic lightgun games of yesteryear, evoking nostalgic memories of the likes of Point Blank and Duck Hunt.” – <a href="http://www.dealspwn.com/xbligotw-ultraviolet-udder-chaos-delta-energy-ii-57221">Jonathan Lester of DealSpwn</a></p></blockquote>
<p>But on to the fun, last week I had the pleasure of attending Tech-Ed 2011 … wow, what a blast that was. This is just a brief offload of my notes of a few of the cool things I saw. Definitely need to follow up on some of these</p>
<ul>
<li>F# – interesting as always, did a hands on lab, but am still trying to find a compelling reason to really look at it in detail.</li>
<li>Task Parallel Library/Asynchrony
<ul>
<li>Async Actions – I had seen this on the feature lists before, but hadn’t had a chance to actually use them before. Very cool! if your app is IO bound (i.e. database access), you should absolutely be using this.</li>
<li>By far, one of the coolest pieces of tech, SingalR uses some of the async request infrastructure mentioned above to provide some really sweet push notification functionality in a scalable way.  This is one to watch</li>
</ul>
</li>
<li>Windows Server AppFabric Cache – saw some cool sessions on this, glad to see that they’ve finally gone to market after seeing the first version back in PDC 2008.
<ul>
<li>My takeaway here is that you will want to do a lot of capacity planning to understand read/write frequency, and max # of projected objects. This will drive memory/server requirements.</li>
<li>Also, the primary use case is not specifically to increase response times, although that will often be a side-effect … but actually to lighten the load on the database (or other external data source). Because the db is often the bottleneck, this gives you an easily scalable layer between your application and the database.</li>
</ul>
</li>
<li>Lots of cool HTML5 and client topics, in no particular order:
<ul>
<li>Modernizr is cool</li>
<li>jQuery Visualize plugin is cool</li>
<li>jQuery.Unobtrusive is cool</li>
<li>must look into KnockoutJS</li>
</ul>
</li>
<li>And finally, NuGet represent! am really amped up for how easy NuGet makes dependency management and lib deployment.</li>
</ul>
<p>Anyways, that was just a braindump of some of my notes … I still have a mountain of stuff to catch up and follow up on. Overall, very impressed with the conference, although one can make the argument that it was almost <em>too big</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://codecube.net/2011/05/ms-tech-ed-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lego/Snap-Circuits Mashup</title>
		<link>http://codecube.net/2011/04/legosnap-circuits-mashup/</link>
		<comments>http://codecube.net/2011/04/legosnap-circuits-mashup/#comments</comments>
		<pubDate>Sun, 10 Apr 2011 15:59:22 +0000</pubDate>
		<dc:creator>Joel Martinez</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://codecube.net/?p=454</guid>
		<description><![CDATA[My daughter Layla mentioned a few days ago that they are teaching her how to program simple Mindstorms robots at school. As a software developer, I was of course super excited when she started explaining the logic she was &#8220;writing&#8221; in the visual programming language to make her little mindstorms robot move around and turn. [...]]]></description>
			<content:encoded><![CDATA[<p>My daughter Layla mentioned a few days ago that they are teaching her how to program simple <a href="http://mindstorms.lego.com">Mindstorms</a> robots at school. As a software developer, I was of course super excited when she started explaining the logic she was &#8220;writing&#8221; in the visual programming language to make her little mindstorms robot move around and turn. So then today my son Ashton goes upstairs and grabs all his legos, and the <a href="http://codecube.net/2009/12/snap-circuits-review/">Snap Circuits</a> I bought him a few years ago, and asked me to help him build a robot. The options were pretty limited because the snap circuits kit only had one motor, and the legos he has don&#8217;t have any gears or anything.</p>
<p><a href="http://codecube.net/wp-content/uploads/2011/04/WP_000465.jpg"><img class="size-medium wp-image-458 alignnone" style="margin: 10px;" title="Ashton and Layla's robot" src="http://codecube.net/wp-content/uploads/2011/04/WP_000465-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>It was a blast helping the kids with it <img src='http://codecube.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  The biggest challenge was figuring out how to transfer the power from the snap circuits motor to the lego pieces. We ended up cobbling together a rudimentary axle, and used a rubber band to transfer the torque from the motor to the axle.</p>
<p><a href="http://codecube.net/wp-content/uploads/2011/04/WP_000471.jpg"><img class="alignnone size-medium wp-image-460" style="margin: 10px;" title="the &quot;transmission&quot;" src="http://codecube.net/wp-content/uploads/2011/04/WP_000471-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>And it totally works!</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/4bduoIpeWjE?hl=en&amp;fs=1" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/4bduoIpeWjE?hl=en&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>well, mostly &#8230; the motor was too weak to actually move the car without first getting a push &#8230; but as you can see above, they got it to actually turn the wheels <img src='http://codecube.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Of course it wasn&#8217;t done all on their own &#8230; I gave them help along the way, but I&#8217;m happy that they worked through the process of figuring out something like. And most importantly, it was because they wanted to &#8230; I can&#8217;t wait to see what this generation does with all the technology they are growing up with.</p>
<p><a href="http://codecube.net/wp-content/uploads/2011/04/WP_000476.jpg"><img class="alignnone size-thumbnail wp-image-464" title="WP_000476" src="http://codecube.net/wp-content/uploads/2011/04/WP_000476-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://codecube.net/wp-content/uploads/2011/04/WP_000475.jpg"><img class="alignnone size-thumbnail wp-image-465" title="WP_000475" src="http://codecube.net/wp-content/uploads/2011/04/WP_000475-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://codecube.net/wp-content/uploads/2011/04/WP_000467.jpg"><img class="alignnone size-thumbnail wp-image-466" title="WP_000467" src="http://codecube.net/wp-content/uploads/2011/04/WP_000467-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://codecube.net/wp-content/uploads/2011/04/WP_000468.jpg"><img class="alignnone size-thumbnail wp-image-468" title="WP_000468" src="http://codecube.net/wp-content/uploads/2011/04/WP_000468-150x150.jpg" alt="" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://codecube.net/2011/04/legosnap-circuits-mashup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lemonade Stand for WP7</title>
		<link>http://codecube.net/2011/03/lemonade-stand-for-wp7/</link>
		<comments>http://codecube.net/2011/03/lemonade-stand-for-wp7/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 11:14:32 +0000</pubDate>
		<dc:creator>Joel Martinez</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://codecube.net/?p=431</guid>
		<description><![CDATA[Fresh on the Marketplace, Lemonade Stand for Windows Phone 7 now available for download! Please note: LMND.st is down until further notice, the app has been removed from the marketplace until that time. Welcome to Lemonade Stand, a new and easy way to buy and sell locally. Lemonade Stand is a neighborly commerce platform that [...]]]></description>
			<content:encoded><![CDATA[<p>Fresh on the Marketplace, Lemonade Stand for Windows Phone 7 now <del>available for download</del>! <em><strong>Please note:</strong> <a href="http://lmnd.st">LMND.st</a> is down until further notice, the app has been removed from the marketplace until that time.</em></p>
<p style="text-align: center;"><a href="http://social.zune.net/redirect?type=phoneApp&amp;id=de95fd87-704c-e011-854c-00237de2db9e"><img class="aligncenter size-full wp-image-435" title="Download Lemonade Stand for Windows Phone 7" src="http://codecube.net/wp-content/uploads/2011/03/download_tile.png" alt="" width="208" height="50" /></a></p>
<blockquote><p>Welcome to Lemonade Stand, a new and easy way to buy and sell locally. Lemonade Stand is a neighborly commerce platform that enables people to buy and sell goods within a community. Artists, craftspeople and entrepreneurs can share their wares with their neighbors while members of the community can find and buy close to home. An easy way to shop while supporting your local economy and the talent within it- what could be more wholesome?</p></blockquote>
<p>This application had somewhat of an interesting birth. Right before this year&#8217;s <a href="http://sxsw.com/interactive">SXSW</a> began, I came across the <a href="http://startupbus.com">StartupBus</a> project. A group of entrepreneurs (or rather, busrepeneurs) would join forces on the bus to sxsw, and over the course of the road trip, produce and launch a startup.</p>
<p><a href="http://startupbus.com/teams/54-lemonade-stand">One of the teams</a> took an interesting approach by publishing a <a href="http://lmnd.st/api.html">RESTful API</a> as the first step to creating an Android and IPhone app for their startup. A WP7 app was regrettably not on the roadmap, so as I went to bed on Thursday night I wondered what it would take to gin up a version for wp7 based on their public API. When I woke up, I guess my subconscious was thinking about it all night, because I shot out of bed and saved a few pages of the <a href="http://lmnd.st">lmnd.st</a> site, including some of the art assets to my laptop. When I got on the train, I started by writing the rest calls and models, and experimenting with some of the different layouts. Of course I didn&#8217;t finish as my train ride (or at least the first train I take towards NYC) is only about 50 minutes. So I decided to hit up the closest Starbucks for lunch to leach off their WiFi. Now that I had network access, I started testing the rest calls and tweaking some of the layout/design to match the mockups they had put up on their site (of course with the <a href="http://en.wikipedia.org/wiki/Metro_Design_Language">Metro</a> design language as inspiration).</p>
<p>Before my lunch hour was over, I had a working prototype. So I banged out a quick <a href="http://codecube.net/2011/03/lmnd-st-for-wp7/">blog post</a> and celebratory <a href="http://twitter.com/#!/joelmartinez/status/46272270661976065">tweet</a> before heading back to the office. Within a few hours, I got a twitter DM from one of the <a title="Christopher Kennedy" href="http://twitter.com/#!/kennedysgarage">lmndst team members</a> asking me to call them. <a href="http://twitter.com/#!/jonmarkgo">Jon</a> was super nice and thanked me for the effort. Then a bit later he called me back and asked if I could send him the app so they could show it off at sxsw. I asked him if he had a wp7 device and he said there may have been one on the startup bus from the sponsors, but sounded unsure. That&#8217;s when I remembered that a member of the wp7 team (Ben Lower) was in sxsw <a href="http://twitter.com/#!/benlower/status/46335744742137857">handing out phones</a> in exchange for pitches. So I <a href="http://twitter.com/#!/joelmartinez/status/46318396530360321">introduced them</a> (and got some <a href="http://hashable.com">hash cred</a> while I was at it <img src='http://codecube.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ) and they <a href="http://twitter.com/#!/benlower/status/46400901329588225">got a phone to show off the app</a>. Then I went home and polished up the app a tiny bit before sending it off to the lmnd.st team and submitting it to the wp7 marketplace.</p>
<p>The rest of the weekend was pretty calm, I followed along on twitter as the team set up a real lemonade stand to cool down parched festival goers. Those guys put forth a pretty big effort as is evident by their many mentions in follow up articles to sxsw. I was even indirectly mentioned in <a href="http://washingtonexaminer.com/blogs/opinion-zone/2011/03/chris-jeane-busepreneur">one of the articles</a> As an &#8220;unknown Supporter&#8221; <img src='http://codecube.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<blockquote><p>The team created the Android and iPhone applications, but they were greeted with an exceptional surprised when they woke up in Austin on Friday: A Window&#8217;s mobile version of their app.  <strong>A supporter unknown to any on the project team</strong> who had been following their progress on the New York Observer  blog took their API and created the Windows version.</p></blockquote>
<p>Now that sxsw is over, the team says they will continue development of lmndst. I too plan on more iterations to at least reach feature parity with the iOS and Android apps.</p>
<p>One parting note, on the Saturday after I first published the app, I briefly skimmed over the premise of lemonade stand with my wife at dinner. I was surprised when, on Sunday as I was talking about needing a new laptop, my seven year old son said, &#8220;you can sell your old one on Lemonade Stand&#8221;. So maybe there is something to this idea <img src='http://codecube.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://codecube.net/2011/03/lemonade-stand-for-wp7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Khan Academy for WP7 Review</title>
		<link>http://codecube.net/2011/03/khan-academy-for-wp7-review/</link>
		<comments>http://codecube.net/2011/03/khan-academy-for-wp7-review/#comments</comments>
		<pubDate>Wed, 16 Mar 2011 03:32:59 +0000</pubDate>
		<dc:creator>Joel Martinez</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://codecube.net/?p=428</guid>
		<description><![CDATA[This was a nice little surprise My (unofficial) Khan Academy app for windows phone 7 got reviewed on an episode of Hot Apps By Laura Foy &#8211; check the video below. Only reason I noticed was because I checked the download stats and saw a sustained spike in traffic a few weeks ago. Thanks Laura!]]></description>
			<content:encoded><![CDATA[<p>This was a nice little surprise <img src='http://codecube.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  My (unofficial) Khan Academy app for windows phone 7 got reviewed on an episode of<a href="http://channel9.msdn.com/Shows/Hot-Apps/Hot-Apps-Butterfly-Deluxe-Moon-Pipes-Khan-Academy-MyComic"> <em>Hot Apps</em> By Laura Foy</a> &#8211; check the video below.</p>
<p><object width="512" height="288" type="application/x-silverlight-2" data="data:application/x-silverlight-2,"><param name="minRuntimeVersion" value="4.0.50401.0" /><param name="source" value="http://channel9.msdn.com/scripts/Channel9.xap?v=1.5" /><param name="initParams" value="mediaurl=http://files.ch9.ms/ch9/075e/3b800fac-ea5d-422c-aaf5-9e930033075e/HAButterfly.ism/manifest,thumbnail=http://media.ch9.ms/ch9/075e/3b800fac-ea5d-422c-aaf5-9e930033075e/HAButterfly_512_ch9.jpg,deliverymethod=adaptivestreaming,autoplay=false,entryid=3b800facea5d422caaf59e930033075e" /></object></p>
<p>Only reason I noticed was because I checked the download stats and saw a sustained spike in traffic a few weeks ago. Thanks Laura!</p>
]]></content:encoded>
			<wfw:commentRss>http://codecube.net/2011/03/khan-academy-for-wp7-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

