<?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>Tsosie Industries</title>
	<atom:link href="http://tsosieindustries.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://tsosieindustries.com</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 06:44:40 +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>New Hires</title>
		<link>http://tsosieindustries.com/?p=143</link>
		<comments>http://tsosieindustries.com/?p=143#comments</comments>
		<pubDate>Tue, 15 May 2012 06:32:56 +0000</pubDate>
		<dc:creator>Dan Tsosie</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tsosieindustries.com/?p=143</guid>
		<description><![CDATA[I&#8217;d like to welcome two people to the Tsosie Industries advanced division. Jordan Redman, experience in patent law and primary legal councel. Welcome to the company. -Dan Tsosie]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d like to welcome two people to the Tsosie Industries advanced division.</p>
<p>Jordan Redman, experience in patent law and primary legal councel.</p>
<p>Welcome to the company.</p>
<p>-Dan Tsosie</p>
]]></content:encoded>
			<wfw:commentRss>http://tsosieindustries.com/?feed=rss2&#038;p=143</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speaking too Soon</title>
		<link>http://tsosieindustries.com/?p=140</link>
		<comments>http://tsosieindustries.com/?p=140#comments</comments>
		<pubDate>Wed, 14 Dec 2011 04:43:07 +0000</pubDate>
		<dc:creator>Dan Tsosie</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://tsosieindustries.com/?p=140</guid>
		<description><![CDATA[In a previous post, I had spoken of a true solution. Now I will break down the lessons learned because I have never seen a contrast of the draw backs of the various past mssql solutions. PDO tdslib driver: This &#8230; <a href="http://tsosieindustries.com/?p=140">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In a previous post, I had spoken of a true solution. Now I will break down the lessons learned because I have never seen a contrast of the draw backs of the various past mssql solutions.</p>
<p>PDO tdslib driver:</p>
<p>This is the installation I recommended last. It was my most recent discovery and fixed all issues I had previously had except for one. Output variables are not to be binded to, and there is no support for multiple result sets, so it can be easy to get the error of all results were not exhausted.</p>
<p>In comparison with the previous driver, these are small fry.</p>
<p>PDO mssql through freetds as odbc driver:</p>
<p>This driver had many problems. Nulls would crash processing, strings above 255 characters would try to allocate 4gb ram, exceptions were not reported. This was the first segment we tackled and we worked around all these failings, but a permanent solution, never.</p>
<p>Solution 3:</p>
<p>A newcomer solution with much experience is now on the scene. Stay tuned for my analysis of its readyness <img src='http://tsosieindustries.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://tsosieindustries.com/?feed=rss2&#038;p=140</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 5.3, MSSQL Server, Centos and You</title>
		<link>http://tsosieindustries.com/?p=137</link>
		<comments>http://tsosieindustries.com/?p=137#comments</comments>
		<pubDate>Sun, 04 Dec 2011 21:20:13 +0000</pubDate>
		<dc:creator>Dan Tsosie</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://tsosieindustries.com/?p=137</guid>
		<description><![CDATA[One day, I found myself needing to use MSSQL Server Procs, using PHP 5.3 in a Linux environment. I soon found out that this was easier said than done as PHP 5.3 had removed built-in MSSQL support from the linux &#8230; <a href="http://tsosieindustries.com/?p=137">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One day, I found myself needing to use MSSQL Server Procs, using PHP 5.3 in a Linux environment. I soon found out that this was easier said than done as PHP 5.3 had removed built-in MSSQL support from the linux distribution and a proper install guide was far more common for Windows PHP users and PHP 5.2.</p>
<p>My first solution was to use FreeTDS, Linux ODBC and PDO ODBC. Out of a myriad voodoo style solutions, this one seemed the most straight forward. Unfortunately, there were issues. Exceptions never really worked right (caused the PHP module to die), NULL values were essentially unsupported, and if any string took more than 255 characters, PHP would demand 4GB of RAM.</p>
<p>Due to the short deadline of the project, crazed hacks were implemented, but I vowed to solve the issue properly at a later date.</p>
<p>So, after having long since conquered the beast, I present the ultimate guide, cradle to grave.</p>
<p>First step is a proper driver for MSSQL that works in Linux. The best and officially PHP supported is FreeTDS at http://www.freetds.org/</p>
<p>This guide assumes freetds-0.91.</p>
<p>Once you have it:</p>
<p><code>tar xzf freetds.tar.gz<br />
cd freetds-0.91<br />
./configure --with-tdsver=7.1 --enable-msdblib --with-gnu-ld &amp;&amp; make<br />
sudo make install<br />
sudo /sbin/ldconfig</code></p>
<p>Once installed, you can do a basic connectivity test.<code></code></p>
<p><code>/usr/local/bin/tsql -S host -U username</code></p>
<p>You will be prompted for password. If you get a prompt, all is well.</p>
<p>Now for PHP, assuming PHP 5.3.8.</p>
<p>./configure line should have whatever your environment needs, but the key addition is the following:</p>
<p><code>--with-pdo-dblib=/usr/local</code></p>
<p>The libraries from FreeTDS by default go there in Centos, so that is where PHP needs to look.</p>
<p>Once PHP is all installed, we can do a basic test that things are working with a quick script.</p>
<p><code>&lt;?php<br />
$dbh= new PDO('dblib:host=hostserverhere;dbname=databasename;appname=MySweetApp', 'username', 'password');<br />
$stmt = $dbh-&gt;prepare("SELECT SYSDATETIME()");<br />
$stmt-&gt;execute();<br />
while ($row = $stmt-&gt;fetch()) {<br />
print_r($row);<br />
}<br />
unset($dbh); unset($stmt);<br />
?&gt;</code></p>
<p>Run that and if you get output, congrats, you have succeeded.</p>
<p>That should be enough to get you started. Next edition, I share some PDO recipes to help the non-MSSQL familiar.</p>
]]></content:encoded>
			<wfw:commentRss>http://tsosieindustries.com/?feed=rss2&#038;p=137</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Battlefield 3 Joystick Fix</title>
		<link>http://tsosieindustries.com/?p=135</link>
		<comments>http://tsosieindustries.com/?p=135#comments</comments>
		<pubDate>Tue, 01 Nov 2011 06:08:13 +0000</pubDate>
		<dc:creator>Dan Tsosie</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://tsosieindustries.com/?p=135</guid>
		<description><![CDATA[It seems from a search that a lot of people are having issues with using a joystick with battlefield 3. While seeing what types of conflicting drivers I had, I went to control panel and searched for game. Windows apparently &#8230; <a href="http://tsosieindustries.com/?p=135">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It seems from a search that a lot of people are having issues with using a joystick with battlefield 3. While seeing what types of conflicting drivers I had, I went to control panel and searched for game. Windows apparently still has the legacy game controller icon. In here, you can see what joysticks are claimed to be installed. On my system, I found a virtual hid device in the list. Checking the advanced button yielded that this fake controller was the default.</p>
<p>I removed that controller from device manager and then all was well. Next step is to setup the Saitek X52 Pro <img src='http://tsosieindustries.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://tsosieindustries.com/?feed=rss2&#038;p=135</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wmplayer using excess cpu with g15 keyboard</title>
		<link>http://tsosieindustries.com/?p=131</link>
		<comments>http://tsosieindustries.com/?p=131#comments</comments>
		<pubDate>Tue, 01 Nov 2011 06:04:21 +0000</pubDate>
		<dc:creator>Dan Tsosie</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://tsosieindustries.com/?p=131</guid>
		<description><![CDATA[A shout out to the person who fixed the issue: http://www.sevenforums.com/software/3020-wmplayer-process-resurrects-itself-hogs-50-cpu.html If you have a G15 keyboard and windows media player, go to windows sideshow in the control panel and disable wmplayer from it.]]></description>
			<content:encoded><![CDATA[<p>A shout out to the person who fixed the issue:</p>
<p>http://www.sevenforums.com/software/3020-wmplayer-process-resurrects-itself-hogs-50-cpu.html</p>
<p>If you have a G15 keyboard and windows media player, go to windows sideshow in the control panel and disable wmplayer from it.</p>
]]></content:encoded>
			<wfw:commentRss>http://tsosieindustries.com/?feed=rss2&#038;p=131</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Richard Tsosie Site Re-launch</title>
		<link>http://tsosieindustries.com/?p=128</link>
		<comments>http://tsosieindustries.com/?p=128#comments</comments>
		<pubDate>Thu, 06 Oct 2011 12:13:14 +0000</pubDate>
		<dc:creator>Dan Tsosie</dc:creator>
				<category><![CDATA[Business]]></category>

		<guid isPermaLink="false">http://tsosieindustries.com/?p=128</guid>
		<description><![CDATA[The previous Richard Tsosie Gallery site used Magento, a product whose company has since been purchased by eBay. The template system, from my point of view, was very peculiar. I understand their desire to create a versatile template concept, but &#8230; <a href="http://tsosieindustries.com/?p=128">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The previous Richard Tsosie Gallery site used Magento, a product whose company has since been purchased by eBay. The template system, from my point of view, was very peculiar. I understand their desire to create a versatile template concept, but the idea of unlimited themes (while only actually supporting two) and the override method for changing the template was a bit overboard when small changes are needed.</p>
<p>And the stock template needed these changes, as back to school ads were default present. Product management also made a lot more sense for bulk goods sellers. As I researched the various eCommerce solutions, I found few that catered to the type of products artists deal with, that is one of a kind products.</p>
<p>The closest I found was opencart. The result of my brief experience is now at the relaunched <a title="Richard Tsosie Gallery" href="http://richardtsosie.com">Richard Tsosie Gallery</a>. The backend of this cart has my attention and I definitely am contemplating making a batch of changes to suite my needs and push upstream.</p>
]]></content:encoded>
			<wfw:commentRss>http://tsosieindustries.com/?feed=rss2&#038;p=128</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tsosie Industries Site Re-launch</title>
		<link>http://tsosieindustries.com/?p=1</link>
		<comments>http://tsosieindustries.com/?p=1#comments</comments>
		<pubDate>Mon, 03 Oct 2011 01:09:24 +0000</pubDate>
		<dc:creator>Dan Tsosie</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://tsosieindustries.com/?p=1</guid>
		<description><![CDATA[Putting up something that looked better than a t-shirt hanging in a closet.]]></description>
			<content:encoded><![CDATA[<p>Putting up something that looked better than a t-shirt hanging in a closet.</p>
]]></content:encoded>
			<wfw:commentRss>http://tsosieindustries.com/?feed=rss2&#038;p=1</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vi Level 3 Reached</title>
		<link>http://tsosieindustries.com/?p=125</link>
		<comments>http://tsosieindustries.com/?p=125#comments</comments>
		<pubDate>Sat, 02 Apr 2011 17:23:25 +0000</pubDate>
		<dc:creator>Daniel Tsosie</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://tsosie.wordpress.com/?p=125</guid>
		<description><![CDATA[Level 1 is the start, where you begin making small changes in vi because the sys admin forgot to install nano. Level 2 was being forsaken by textmate and forced to use windows as a dev environment. Being trapped into &#8230; <a href="http://tsosieindustries.com/?p=125">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Level 1 is the start, where you begin making small changes in vi because the sys admin forgot to install nano.</p>
<p>Level 2 was being forsaken by textmate and forced to use windows as a dev environment. Being trapped into any environment because of a tool was not good times. I tried many IDE&#8217;s but I preferred the quick simplicity of textmate. I also had a coworker who was big on the Vi. I started with just basic functions like syntax highlighting. Little did I know what would come.</p>
<p>Level 3 is comfort with VI and missing it when not available. Vi works on everything? How could it not be available you may ask? This is the distinction between IDE&#8217;s and Vi in my opinion. Vi is not an IDE. No one wants FireFox to act like Visual Studio. But thanks to the good people who created http://vimperator.org/vimperator there is a way to have command line functionality in firefox and vi flavor.</p>
<p>Mouse and Keyboard is leet for FPS, but most functions don&#8217;t need analog input and so you waste one hand using the mouse. Apply both hands to browsing and such and you have a very neutral resting position and skip the repeated movements from keyboard to mouse.<br />
Include command line like syntax for debugging which I hope to investigate soon, I have a fun time ahead indeed. Can&#8217;t wait for what I find in level 4.</p>
]]></content:encoded>
			<wfw:commentRss>http://tsosieindustries.com/?feed=rss2&#038;p=125</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solving E474: Invalid argument: silent w! ++enc=</title>
		<link>http://tsosieindustries.com/?p=121</link>
		<comments>http://tsosieindustries.com/?p=121#comments</comments>
		<pubDate>Tue, 15 Mar 2011 06:22:37 +0000</pubDate>
		<dc:creator>Daniel Tsosie</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://tsosie.wordpress.com/?p=121</guid>
		<description><![CDATA[I found an issue that many have not been able to resolve from my googles so I thought I&#8217;d share my solution. To fix, I found a new version of VimBall.tar.gz (think it was V28). I then extracted it to &#8230; <a href="http://tsosieindustries.com/?p=121">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I found an issue that many have not been able to resolve from my googles so I thought I&#8217;d share my solution.</p>
<p>To fix, I found a new version of VimBall.tar.gz (think it was V28). I then extracted it to the vim main directory rather than my personal plugin directory. This seemed to fix it and all was well.</p>
]]></content:encoded>
			<wfw:commentRss>http://tsosieindustries.com/?feed=rss2&#038;p=121</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Leveled Up On VI</title>
		<link>http://tsosieindustries.com/?p=116</link>
		<comments>http://tsosieindustries.com/?p=116#comments</comments>
		<pubDate>Tue, 15 Mar 2011 06:18:59 +0000</pubDate>
		<dc:creator>Daniel Tsosie</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://tsosie.wordpress.com/?p=116</guid>
		<description><![CDATA[I think I&#8217;m finally coming over the hill of learning VI. A key collection of plugins I found via http://spf13.com/post/the-15-best-vim-plugins I used most but the SQL plugin. One lacking from the list is the command-t plugin. It requires you to &#8230; <a href="http://tsosieindustries.com/?p=116">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I think I&#8217;m finally coming over the hill of learning VI. A key collection of plugins I found via http://spf13.com/post/the-15-best-vim-plugins</p>
<p>I used most but the SQL plugin. One lacking from the list is the command-t plugin. It requires you to install ruby and its dev headers, but in return you get a file finder almost better than TextMates. Folding I must learn and windows, but my coding speed with VI nav short cuts and block editting have been tremendous. Taking 3 lines and moving them down while indenting them without moving from the home row keys is pretty cool. I also think Its more comfortable since I was getting some RSD from moving to the mouse but without that motion, my hands feel much better.</p>
<p>I highly advise learning vi, even a little at a time. I thought I couldn&#8217;t live without TextMate. But now I know I can have the same level of editting (minus cool plugins) on any nix box by default. Much cooler than being stuck on an IDE Island.</p>
]]></content:encoded>
			<wfw:commentRss>http://tsosieindustries.com/?feed=rss2&#038;p=116</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

