<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Mind Gravy</title>
	
	<link>http://www.mindgravy.net</link>
	<description>Slather Your Mind</description>
	<lastBuildDate>Wed, 11 Aug 2010 01:05:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/mindgravy/feed" /><feedburner:info uri="mindgravy/feed" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Windy City Rails – the Next Step</title>
		<link>http://feedproxy.google.com/~r/mindgravy/feed/~3/jtQdDQOPsiA/</link>
		<comments>http://www.mindgravy.net/2010/08/03/windy-city-rails-the-next-step/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 03:04:29 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.mindgravy.net/?p=339</guid>
		<description><![CDATA[In my quest to become a better programmer, I have started to learn how to do some simple things in Ruby on Rails.  I have gotten to the point where I need to find others in this area that can be a mentor to me to help prod me along. So, I have registered to [...]]]></description>
			<content:encoded><![CDATA[<p>In my quest to become a better programmer, I have started to learn how to do some simple things in Ruby on Rails.  I have gotten to the point where I need to find others in this area that can be a mentor to me to help prod me along.</p>
<p>So, I have registered to attend <a href="http://www.windycityrails.org">Windy City Rails</a>.</p>
<p>I hope to learn a lot there and to meet a few of the people I follow on twitter as well.</p>
<img src="http://feeds.feedburner.com/~r/mindgravy/feed/~4/jtQdDQOPsiA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.mindgravy.net/2010/08/03/windy-city-rails-the-next-step/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.mindgravy.net/2010/08/03/windy-city-rails-the-next-step/</feedburner:origLink></item>
		<item>
		<title>Hawks Win!</title>
		<link>http://feedproxy.google.com/~r/mindgravy/feed/~3/t6rjGwcMi7c/</link>
		<comments>http://www.mindgravy.net/2010/06/09/hawks-win/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 04:27:13 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Sports]]></category>
		<category><![CDATA[blackhawks]]></category>
		<category><![CDATA[nhl]]></category>

		<guid isPermaLink="false">http://www.mindgravy.net/2010/06/09/hawks-win/</guid>
		<description />
			<content:encoded><![CDATA[<p align="center"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="2cyhbbn" border="0" alt="2cyhbbn" src="http://www.mindgravy.net/wp-content/uploads/2010/06/2cyhbbn.jpg" width="329" height="504" /></p>
<img src="http://feeds.feedburner.com/~r/mindgravy/feed/~4/t6rjGwcMi7c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.mindgravy.net/2010/06/09/hawks-win/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.mindgravy.net/2010/06/09/hawks-win/</feedburner:origLink></item>
		<item>
		<title>Writing from my iPad</title>
		<link>http://feedproxy.google.com/~r/mindgravy/feed/~3/9nkxO40ScTc/</link>
		<comments>http://www.mindgravy.net/2010/05/26/writing-from-my-ipad/#comments</comments>
		<pubDate>Wed, 26 May 2010 21:41:57 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[iPad]]></category>

		<guid isPermaLink="false">http://www.mindgravy.net/2010/05/26/writing-from-my-ipad/</guid>
		<description><![CDATA[This is my first post written directly on my iPad. This device has made our lives more interesting and has a lot uses for children. I&#8217;ve enjoyed the initial experience with the iPad and I think the rest of my family has as well. I would say the games and coloring style apps have been [...]]]></description>
			<content:encoded><![CDATA[<p>This is my first post written directly on my iPad.  This device has made our lives more interesting and has a lot uses for children.  I&#8217;ve enjoyed the initial experience with the iPad and I think the rest of my family has as well.  I would say the games and coloring style apps have been the most enjoyable, along with the ability to stream movies and videos.</p>
<p>The apps that I have installed on here are:</p>
<ul>
<li><strong>Air Video</strong> &#8211; stream video from a server directly to the iPad</li>
<li><strong>Netflix</strong> &#8211; mandatory for video</li>
<li><strong>Plants vs. Zombies</strong> &#8211; my wife truly enjoys this game, much to my amusement</li>
<li><strong>Flight Control HD</strong> &#8211; I have a thing for planes</li>
<li><strong>RadarScope</strong> &#8211; Level 2 radar at your fingertips, along with Spotter Network integration make for an awesome experience</li>
<li><strong>X-Plane</strong> &#8211; again, an excellent flight simulator</li>
</ul>
<p>The one thing I am surprised with is reading books.  I thought that it would be different because of the backlit screen and my eyes would hurt, but I haven&#8217;t had any problems picking up the iPad to read a nice book on Python.</p>
<p>Overall, I am extremely happy we purchased the iPad.</p>
<hr />
<p><strong>UPDATE:</strong> I forgot to mention <strong>GoodReader</strong> which is an awesome app to manage documents.</p>
<img src="http://feeds.feedburner.com/~r/mindgravy/feed/~4/9nkxO40ScTc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.mindgravy.net/2010/05/26/writing-from-my-ipad/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.mindgravy.net/2010/05/26/writing-from-my-ipad/</feedburner:origLink></item>
		<item>
		<title>How to Verify Your Stored Procedures</title>
		<link>http://feedproxy.google.com/~r/mindgravy/feed/~3/BGeGYaNUa1c/</link>
		<comments>http://www.mindgravy.net/2010/05/05/how-to-verify-your-stored-procedures/#comments</comments>
		<pubDate>Wed, 05 May 2010 16:56:51 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.mindgravy.net/2010/05/05/how-to-verify-your-stored-procedures/</guid>
		<description><![CDATA[One of the things I’ve been trying to do is to eliminate the unnecessary stored procedures from our project.&#160; Currently, we have about 150 left, but a lot of them are still used.&#160; Some of them are still left over and no longer are called from our application.&#160; As I was building a new SQL [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things I’ve been trying to do is to eliminate the unnecessary stored procedures from our project.&#160; Currently, we have about 150 left, but a lot of them are still used.&#160; Some of them are still left over and no longer are called from our application.&#160; As I was building a new SQL install script, I was trying to run a script of all stored procedures in one database and create them all in a new one.&#160; I found that some of them no longer would work because of changes we’ve made to the database that have broken these stored procedures without even knowing.&#160; </p>
<p>I asked on twitter how this could be done and Argenis Fernandez (<a href="http://twitter.com/afernandez">@afernandez</a>) suggested that I look into a Powershell script to verify stored procedures still work.</p>
<p>After some investigation on how Powershell and SQL work together, I scraped together this script:</p>
<pre class="brush:powershell">$server = "localhost";		# The SQL Server instance name
$database = "MyDatabase";		# The database name

# Load the SMO assembly
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | out-null

# Create the SMO objects
$srv = New-Object "Microsoft.SqlServer.Management.SMO.Server" $server;
$db = New-Object ("Microsoft.SqlServer.Management.SMO.Database");

# Get the database
$db = $srv.Databases[$database];

# For each stored procedure in the database
foreach($proc in $db.StoredProcedures)
{
    # NOTE: my stored procedures are all prefixed with "web_"
    if ($proc.Name.StartsWith("web_"))
	{
        $proc.TextBody = $proc.TextBody;
        $proc.Alter();
    }
}</pre>
<p>If any error occurs, it will display which procedure name did not get altered properly.</p>
<p>In my application, all my stored procedures that I use in the websites are prefixed with “web_”.&#160; This made it easy to check if the procedures used still work.&#160; </p>
<img src="http://feeds.feedburner.com/~r/mindgravy/feed/~4/BGeGYaNUa1c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.mindgravy.net/2010/05/05/how-to-verify-your-stored-procedures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.mindgravy.net/2010/05/05/how-to-verify-your-stored-procedures/</feedburner:origLink></item>
		<item>
		<title>Adding Another Piece to My Mac-universe?</title>
		<link>http://feedproxy.google.com/~r/mindgravy/feed/~3/7DGtBU3wdKw/</link>
		<comments>http://www.mindgravy.net/2010/04/23/adding-another-piece-to-my-mac-universe/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 17:18:54 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Family]]></category>
		<category><![CDATA[Home]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[iPad]]></category>

		<guid isPermaLink="false">http://www.mindgravy.net/2010/04/23/adding-another-piece-to-my-mac-universe/</guid>
		<description><![CDATA[So after getting my first Macbook, I am again considering adding another Apple product.&#160; This time, it’s not just for me. The iPad looks like a wonderful device.&#160; I can see myself using it for the web and email quite frequently on the couch and with my son (2 years old already, wow).&#160; The app [...]]]></description>
			<content:encoded><![CDATA[<p><img title="ipad" style="border-right: 0px; border-top: 0px; display: inline; margin-left: 0px; border-left: 0px; margin-right: 0px; border-bottom: 0px" height="138" alt="ipad" src="http://www.mindgravy.net/wp-content/uploads/2010/04/ipad.jpg" width="244" align="right" border="0" />So after getting my first <a href="http://www.mindgravy.net/2010/02/01/new-laptop-im-a-mac/">Macbook</a>, I am again considering adding another Apple product.&#160; This time, it’s not just for me. </p>
<p>The iPad looks like a wonderful device.&#160; I can see myself using it for the web and email quite frequently on the couch and with my son (2 years old already, wow).&#160; The app store would be wonderful for getting game for him to play.&#160; We would be able to play videos and music for him in the car.&#160; We are also embarking on a vacation soon and he is going on his first airplane ride.&#160; </p>
<p>I am looking to minimize the inconvenience for all parties involved, including my son.&#160; I would like to keep his attention for more than an hour watching the Muppet Show or Clone Wars and not thinking about the fact that he is flying.&#160; The pressure changes are going to be hard enough.&#160; Between any apps that I get and the videos, I’m hoping that instead of bringing my laptop, the iPad will be easier to bring with on the trip and take less room.&#160; </p>
<p>I’ve searched and found a few toddler apps on the store, but since I don’t have an iPod or iPhone, this will be my first experience with the app store.&#160; What apps to people with kids install?</p>
<p>I am still mulling over this idea, considering every bullet point before pulling the trigger.&#160; If you have any suggestions, I’m willing to hear them.</p>
<img src="http://feeds.feedburner.com/~r/mindgravy/feed/~4/7DGtBU3wdKw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.mindgravy.net/2010/04/23/adding-another-piece-to-my-mac-universe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.mindgravy.net/2010/04/23/adding-another-piece-to-my-mac-universe/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.298 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-08-24 15:34:52 -->
