<?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>Rocks Thoughts</title>
	<atom:link href="http://rocksthoughts.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rocksthoughts.com</link>
	<description>Code, Marketing, Local SEO, SEM, Family, Homebrew</description>
	<lastBuildDate>Thu, 16 Feb 2012 04:32:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Graditude Journal Day 1</title>
		<link>http://rocksthoughts.com/2012/02/16/graditude-journal-day-1/</link>
		<comments>http://rocksthoughts.com/2012/02/16/graditude-journal-day-1/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 04:32:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Be Happy]]></category>

		<guid isPermaLink="false">http://rocksthoughts.com/?p=52</guid>
		<description><![CDATA[I said earlier today that I would be creating a gratitude journal with the hopes of being more consistently upbeat. Sometimes I get caught up in stupid crap that get&#8217;s me in]]></description>
			<content:encoded><![CDATA[<p>I said earlier today that I would be creating a gratitude journal with the hopes of being more consistently upbeat. Sometimes I get caught up in stupid crap that get&#8217;s me in the type of mood that I wouldn&#8217;t want to be around if I wasn&#8217;t me. I&#8217;m trying to stay away from the most common things like wife, kids, etc&#8230; SO&#8230; With that said, here we go.</p>
<p>Last night I was watching a little bit of idiot tube. I never watch a show called LA Ink but it was on and I was watching. There was a story of a little 11 month old baby that ended up with cancer and survived. I couldn&#8217;t IMAGINE what their parents were going through with that. Gratitude #1 is I&#8217;m SO LUCKY to have kids that are not sick and are healthy (knock on wood).</p>
<p>Gratitude #2 is I&#8217;m healthy. I have my little quarks here and there but overall, I&#8217;m healthy.</p>
<p>Gratitude #3 is I get to do what I love for a living!</p>
<p>Positive experience was my wife called me and told me to walk outside and wait for my daughter to walk home. As she crossed the street I just smiled at how beautiful my little girl has become. She&#8217;s 13 now and growing up quick. Wish I could stop her but I&#8217;m enjoying watching her grow.</p>
]]></content:encoded>
			<wfw:commentRss>http://rocksthoughts.com/2012/02/16/graditude-journal-day-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Positive Psychology &#8211; Shawn Achor</title>
		<link>http://rocksthoughts.com/2012/02/15/positive-psychology-shawn-achor/</link>
		<comments>http://rocksthoughts.com/2012/02/15/positive-psychology-shawn-achor/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 15:43:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Be Happy]]></category>

		<guid isPermaLink="false">http://rocksthoughts.com/?p=47</guid>
		<description><![CDATA[I just watched a video on Positive Psychology by Shawn Achor. Achor is a Harvard researcher who has studied the effect on how business is effected by your level of]]></description>
			<content:encoded><![CDATA[<p>I just watched a video on Positive Psychology by Shawn Achor. Achor is a Harvard researcher who has studied the effect on how business is effected by your level of happiness. It&#8217;s a REALLY interesting talk because it shows that happiness is not simply attained by achieving your goals because goals are ever changing. Meaning that once you hit 100k in sales, you&#8217;ll want 150k. His assertion is that you need to be happy BEFORE attaining your goals.</p>
<p>Check it out:</p>
<p>&nbsp;</p>
<p><iframe src="http://www.youtube.com/embed/GXy__kBVq1M" frameborder="0" width="560" height="315"></iframe></p>
<p>One of his methods of achieving happiness before reaching your goals is a daily gratitude journal as well as keeping a journal about one positive experience you had that day.. So I&#8217;m going to start one here for the next 21 days.</p>
]]></content:encoded>
			<wfw:commentRss>http://rocksthoughts.com/2012/02/15/positive-psychology-shawn-achor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why is my computer running so slow?</title>
		<link>http://rocksthoughts.com/2012/02/07/why-is-my-computer-running-so-slow/</link>
		<comments>http://rocksthoughts.com/2012/02/07/why-is-my-computer-running-so-slow/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 14:42:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://rocksthoughts.com/?p=43</guid>
		<description><![CDATA[So for the past few months my development machine has been running like dog crap. I couldn&#8217;t, for the life of me figure out why this was happening. I downloaded]]></description>
			<content:encoded><![CDATA[<p>So for the past few months my development machine has been running like dog crap. I couldn&#8217;t, for the life of me figure out why this was happening. I downloaded ProcessExplorer&#8230; Nothing too bad. Memory is being used up efficiently, nothing is dogging my CPU. What&#8230;the&#8230;hell!</p>
<p>Quite by accident I figured out what the issue was&#8230; My web browsers. Yep. Seems that ole Firefox OR Chrome decided to make my machine as inefficient as possible. Now, don&#8217;t get me wrong, they can&#8217;t take ALL the blame. I also blame 80% of the issue on adobe flash. I&#8217;m starting to see why flash and apple are battling against each other. What a horribly inefficient piece of crap flash is.</p>
<p>So I decided to do an unscientific test. I timed how long it took my machine to compile an 8 project application in Visual Studio with and without Chrome running. Then I tried the same scenario after I watched a video on youtube. Anyone want to guess? At LEAST twice as long to compile after watching a flash video.</p>
<p>I&#8217;ve tried IE (but haven&#8217;t used it in years) and Opera but I don&#8217;t like those browsers all that much. As it is now, I no longer use a web browser on my dev machine. I now use another laptop on my desk for streaming pandora, watching tutorials or anything else that requires flash.</p>
<p>So&#8230; If your machine is running slow, take a look at your web browsers as a source of frustration.</p>
]]></content:encoded>
			<wfw:commentRss>http://rocksthoughts.com/2012/02/07/why-is-my-computer-running-so-slow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using GetPackagesInfos2</title>
		<link>http://rocksthoughts.com/2012/01/31/using-getpackagesinfos2/</link>
		<comments>http://rocksthoughts.com/2012/01/31/using-getpackagesinfos2/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 15:00:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[SSIS]]></category>

		<guid isPermaLink="false">http://rocksthoughts.com/?p=32</guid>
		<description><![CDATA[Recently I was creating the Advanced Execute Package task for Task Factory. One of the ways to retrieve a list of packages from SSIS is by using the GetPackageInfos method.]]></description>
			<content:encoded><![CDATA[<p>Recently I was creating the Advanced Execute Package task for <a href="http://pragmaticworks.com/Products/Business-Intelligence/TaskFactory/Features.aspx" target="_blank">Task Factory</a>. One of the ways to retrieve a list of packages from SSIS is by using the <a href="http://msdn.microsoft.com/en-us/library/microsoft.sqlserver.dts.runtime.application.getpackageinfos.aspx" target="_blank">GetPackageInfos</a> method. However, the problem with GetPackageInfos is that it requires you to pass in a username and password. With the use of an OLEDB or ADO SSIS connection manager, this isn&#8217;t possible. You can grab the username from the SSIS connection manager connection string but you cannot retrieve the password. In comes <a href="http://msdn.microsoft.com/en-us/library/microsoft.sqlserver.dts.runtime.application.getpackageinfos2(v=sql.105).aspx" target="_blank">GetPackageInfos2</a> which is an undocumented (of course it is!) way of retrieving packages from the MSDB server. The function signature for GetPackageInfos2 is:</p>
<pre>Public Function GetPackageInfos2 ( _
	strFolder As String, _
	connectionObject As Object _
) As PackageInfos</pre>
<p>Notice the second parameter is an Object type? Yeah, uh&#8230; good luck finding out what it is on your own. Fortunately I figured it out and was able to use it in my project&#8230; and so that you can just read this blog and not waste a few hours looking for an answer.</p>
<p>Turns out the connectionObject parameter is looking for an SSIS connection manager object. So to get the GetPackageInfos2 to work you simply grab a reference to a connection manager and pass the connection manager object into the function. mConnections is an a Microsoft.SqlServer.Dts.Runtime.Connections object.</p>
<pre>Dim app As New Microsoft.SqlServer.Dts.Runtime.Application
Dim cm As Microsoft.SqlServer.Dts.Runtime.ConnectionManager = mConnections("MyConnectionManager")
' pass in the root folder of "/"
Dim packages As Microsoft.SqlServer.Dts.Runtime.PackageInfos = app.GetPackageInfos2("/", cm)

For Each package as PackageInfo in packages
     Console.Writeline(package.Name)
Next</pre>
<p>So it&#8217;s as simple as that. Grab the connection manager reference from an OLEDB or ADO.NET connection managers, pass it into GetPackageInfos2 and you got your reference.</p>
<p>Leave a comment if you have any questions.</p>
]]></content:encoded>
			<wfw:commentRss>http://rocksthoughts.com/2012/01/31/using-getpackagesinfos2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GoDaddy&#8230; Come on man!</title>
		<link>http://rocksthoughts.com/2012/01/30/godaddy-come-on-man/</link>
		<comments>http://rocksthoughts.com/2012/01/30/godaddy-come-on-man/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 17:44:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Come On Man]]></category>

		<guid isPermaLink="false">http://rocksthoughts.com/?p=11</guid>
		<description><![CDATA[If you&#8217;ve inexplicitely ever sat through an episode of ESPN&#8217;s NFL round table discussion shows you&#8217;re probably aware of the &#8220;Come on man&#8221; segments. If not, the basis is the]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve inexplicitely ever sat through an episode of ESPN&#8217;s NFL round table discussion shows you&#8217;re probably aware of the &#8220;Come on man&#8221; segments. If not, the basis is the commentators see an NFL player, owner, fans, ref, etc do something stupid and they call them out on their stupidity. It&#8217;s pretty funny sometimes, other times&#8230; not so much. Today I have my own come on man.</p>
<h3>Come on Godaddy.com!</h3>
<p>This particular feature of Godaddy.com has been bugging the hell out of me lately. I&#8217;ll go and search on their home page for a domain to see if it&#8217;s available. Instead of automatically removing http or www they decided to be lazy and let you fix issues with your query rather than trying to adjust it themselves. Here&#8217;s an example.</p>
<p>I went to godaddy&#8217;s home page and entered in www.rocksthoughts.com in the textbox for &#8220;Search for a domain&#8221;.</p>
<p>&nbsp;</p>
<p><a href="http://rocksthoughts.com/wp-content/uploads/2012/01/godaddy-needs-to-learn-regex.png"><img class="alignnone size-full wp-image-12" title="godaddy-needs-to-learn-regex" src="http://rocksthoughts.com/wp-content/uploads/2012/01/godaddy-needs-to-learn-regex.png" alt="" width="656" height="195" /></a></p>
<p>When I pressed the &#8220;GO&#8221; button this was the error message I received on the next page:</p>
<p><a href="http://rocksthoughts.com/wp-content/uploads/2012/01/godaddy-invalid-search.png"><img class="alignnone size-full wp-image-13" title="godaddy-invalid-search" src="http://rocksthoughts.com/wp-content/uploads/2012/01/godaddy-invalid-search.png" alt="" width="493" height="51" /></a></p>
<p>So basically they are saying &#8220;Hey, we know what you did but we&#8217;re too lazy to fix it&#8221;. Seriously&#8230; It&#8217;s not that hard to either REMOVE the www. or use a regular expression to look for it.</p>
<p>In fact, here&#8217;s some code for ONLY looking at the domain.</p>
<p>I mean a very easy way to solve that is:</p>

<div class="wp_syntax"><div class="code"><pre class="vbnet" style="font-family:monospace;"><span style="color: #0600FF;">Dim</span> url <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">String</span> <span style="color: #008000;">=</span> UrlTextbox.<span style="color: #0000FF;">Text</span>
&nbsp;
<span style="color: #0600FF;">If</span> url.<span style="color: #0000FF;">StartsWith</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;www.&quot;</span><span style="color: #000000;">&#41;</span> <span style="color: #FF8000;">Then</span>
    url <span style="color: #008000;">=</span> url.<span style="color: #0600FF;">Replace</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;www.&quot;</span>, <span style="color: #808080;">&quot;&quot;</span><span style="color: #000000;">&#41;</span> 
<span style="color: #0600FF;">End</span> <span style="color: #0600FF;">If</span></pre></div></div>

<p>&nbsp;</p>
<p>I&#8217;m just not sure why that error exists. Am I missing something or are the Godaddy engineers being lazy here?</p>
]]></content:encoded>
			<wfw:commentRss>http://rocksthoughts.com/2012/01/30/godaddy-come-on-man/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Book chapters complete</title>
		<link>http://rocksthoughts.com/2012/01/23/book-chapters-complete/</link>
		<comments>http://rocksthoughts.com/2012/01/23/book-chapters-complete/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 22:40:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[imawesome]]></category>
		<category><![CDATA[SSIS]]></category>

		<guid isPermaLink="false">http://rocksthoughts.com/?p=9</guid>
		<description><![CDATA[I was lucky enough to be invited to write some chapters for the upcoming Professional SQL Server Integration services book. This was a very unique experience unlike anything I&#8217;ve ever]]></description>
			<content:encoded><![CDATA[<div id="attachment_18" class="wp-caption alignleft" style="width: 190px"><a href="http://rocksthoughts.com/wp-content/uploads/2012/01/pro-ssis-integration-services-2012.jpg"><img class=" wp-image-18 " title="pro-ssis-integration-services-2012" src="http://rocksthoughts.com/wp-content/uploads/2012/01/pro-ssis-integration-services-2012-300x300.jpg" alt="" width="180" height="180" /></a><p class="wp-caption-text">My Book</p></div>
<p>I was lucky enough to be invited to write some chapters for the upcoming <a href="http://www.amazon.com/Professional-Microsoft-Server-Integration-Services/dp/111810112X/ref=sr_1_1?s=books&amp;ie=UTF8&amp;qid=1327357858&amp;sr=1-1" target="_blank">Professional SQL Server Integration</a> services book. This was a very unique experience unlike anything I&#8217;ve ever done before. I&#8217;ve never had someone really judge my writing skills (or lack thereof) before. So to have someone judge almost every sentence I wrote was very weird. I&#8217;m sort of glad that I can get away with writing code that doesn&#8217;t have to be judged line by line (well, except code reviews). That said, I had fun doing it and now I get to put that on my resume. Having a book published by Wrox is a pretty significant career and resume booster.</p>
<p>My chapters in the book cover the programming side of SSIS in terms of writing custom components. In essence they will be the chapters that most BI developers skip right over but programmers will read. Not many BI Developers I know are all that interested in writing custom components. They prefer to write script tasks and components to do what they need. I have to agree with them for the most part but the problem with script tasks and components is the lack of re-usability. If they need to use the same code base again they basically have to copy and paste it over and over again. Which sucks. So my chapters cover the pain staking task of creating custom components that can be used in any ssis package they create without copy and paste. Yes, it is quite a pain to create them. I do it every day writing <a href="http://pragmaticworks.com/Products/Business-Intelligence/TaskFactory/" target="_blank">Task Factory</a>.</p>
<p>While I liked the experience of writing this book it&#8217;s one of those things you have to try to see if you like it for yourself. It was never fun having the Technical Editor remind me that I forgot essential parts of SSIS in 2012 and having to go spend hours / days learning new <strong>undocumented</strong> classes. Anyone who&#8217;s ever had to cry their way through writing code with undocumented Microsoft classes knows the pain I was in.</p>
<p>Was it worth it? Absolutely! While I won&#8217;t be spending time in France having Gertrude Stein review my work, I&#8217;m pretty proud of this accomplishment. I do, however, look forward to spending time in a local starbucks. Maybe at some point, when I visit Charleston, with my buddy <a href="https://www.facebook.com/patrick.riddle">Patrick Riddle</a>.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://rocksthoughts.com/2012/01/23/book-chapters-complete/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello World!</title>
		<link>http://rocksthoughts.com/2012/01/16/hello-world/</link>
		<comments>http://rocksthoughts.com/2012/01/16/hello-world/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 11:14:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://rocksthoughts.com/?p=1</guid>
		<description><![CDATA[When you install a wordpress blog the first post is always &#8220;Hello world!&#8221;. I&#8217;ve probably put together 50 websites in the past few years with wordpress and always delete the]]></description>
			<content:encoded><![CDATA[<p>When you install a wordpress blog the first post is always &#8220;Hello world!&#8221;. I&#8217;ve probably put together 50 websites in the past few years with wordpress and always delete the &#8220;Hello world&#8221; post. Because for the most part it&#8217;s not relevant to the site&#8217;s content. But this time I&#8217;m leaving it. It&#8217;s truly, Hello world for me. Well, really, hello world again&#8230;</p>
<p>A few years ago I had a pretty nice blog going on RocksThoughts.com. I had lots of code examples and generally a lot of good information about writing software. But as is often the case, (A.D.D. anyone?) I forgot about the blog and moved on to other projects. I was getting quite a few hits to the site and looking back I could have monetized the site for a nice monthly recurring income. The reason I didn&#8217;t do it then is because I didn&#8217;t know what I didn&#8217;t know. I was writing about cool stuff I found. I&#8217;m hoping to the same now.</p>
<p>SQUIRREL!!! (A.D.D. again). Seriously I walked away from writing this post for 45 minutes. I&#8217;d take a drug to control it but I hate prescription drugs. Anyways&#8230;</p>
<p>The one area I struggled with last time was writing about coding. I love coding but it&#8217;s only 20% of my life. Why should I write a full blog on 20% of my life. So this new blog will be about coding, websites, seo, sem, homebrew, family stuff, vacations, etc.</p>
<p>I&#8217;m not really writing for a specific audience and I doubt too many people will read this but I don&#8217;t really care all that much. It&#8217;s a place where I can write what I want (within reason) and have fun with it.</p>
<p>At this point if you&#8217;re still reading, that&#8217;s awesome. Congrats to you and hope you stick around for more.</p>
]]></content:encoded>
			<wfw:commentRss>http://rocksthoughts.com/2012/01/16/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

