<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Scott Sargent : Codeboy's Blog</title><subtitle type="html">All about Scott Sargent</subtitle><id>http://weblogs.asp.net/ssargent/atom.aspx</id><link rel="alternate" type="text/html" href="http://weblogs.asp.net/ssargent/default.aspx" /><link rel="self" type="application/atom+xml" href="http://weblogs.asp.net/ssargent/atom.aspx" /><generator uri="http://communityserver.org" version="3.0.20510.895">Community Server</generator><updated>2004-06-14T22:46:00Z</updated><entry><title>I've edited yesterdays doom gloom post</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/ssargent/archive/2007/07/17/i-ve-edited-yesterdays-doom-gloom-post.aspx" /><id>http://weblogs.asp.net/ssargent/archive/2007/07/17/i-ve-edited-yesterdays-doom-gloom-post.aspx</id><published>2007-07-17T21:02:00Z</published><updated>2007-07-17T21:02:00Z</updated><content type="html">&lt;p&gt;I've edited (gutted) yesterday's doom and gloom post.&amp;nbsp; It caused a great deal of confusion.&amp;nbsp;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3193312" width="1" height="1"&gt;</content><author><name>codeboy</name><uri>http://weblogs.asp.net/members/codeboy.aspx</uri></author></entry><entry><title>Change is a good thing or perhaps it will be </title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/ssargent/archive/2007/07/16/change-is-a-good-thing-or-perhaps-it-will-be.aspx" /><id>http://weblogs.asp.net/ssargent/archive/2007/07/16/change-is-a-good-thing-or-perhaps-it-will-be.aspx</id><published>2007-07-16T13:13:00Z</published><updated>2007-07-16T13:13:00Z</updated><content type="html">&lt;p&gt;Ok there was a post here that caused a good deal of confusion.&amp;nbsp; It lead some people to understandably think that i was very unhappy with my job or my employer.&amp;nbsp; That's definitely not the case.&amp;nbsp; I'm very happy to work where i do and really could not imagine working anywhere else.&amp;nbsp; That's the truth.&amp;nbsp; The post that was here was about something else entirely and while yes it was career related it was not in any way shape or form a complaint about my employer.&amp;nbsp; I apologize for the confusion that this post has caused.&amp;nbsp; The bottom line is I love where I'm working, the team at my company that i work with and am excited about working with new people who have recently joined the company.&amp;nbsp; The post referred to something else entirely.&lt;/p&gt;&lt;p&gt;Scott "Causer of Great Confusion and Distress" Sargent&lt;br&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=3170394" width="1" height="1"&gt;</content><author><name>codeboy</name><uri>http://weblogs.asp.net/members/codeboy.aspx</uri></author><category term="Career" scheme="http://weblogs.asp.net/ssargent/archive/tags/Career/default.aspx" /></entry><entry><title>Blogging from Word</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/ssargent/archive/2007/02/16/blogging-from-word.aspx" /><id>http://weblogs.asp.net/ssargent/archive/2007/02/16/blogging-from-word.aspx</id><published>2007-02-16T16:17:43Z</published><updated>2007-02-16T16:17:43Z</updated><content type="html">&lt;p&gt;I'm about to start a new project that involves using word's metablog api capabilities to let users post rich content to a website that I'm the developer on directly from word.  As such I wanted to try out word's blogging functionality and see how I liked it, how it worked etc..  So here's a test post that is totally devoid of any other type of content.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1687059" width="1" height="1"&gt;</content><author><name>codeboy</name><uri>http://weblogs.asp.net/members/codeboy.aspx</uri></author><category term="Personal" scheme="http://weblogs.asp.net/ssargent/archive/tags/Personal/default.aspx" /><category term="Telligent" scheme="http://weblogs.asp.net/ssargent/archive/tags/Telligent/default.aspx" /></entry><entry><title>selectSingleNode and FireFox</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/ssargent/archive/2007/01/25/selectsinglenode-and-firefox.aspx" /><id>http://weblogs.asp.net/ssargent/archive/2007/01/25/selectsinglenode-and-firefox.aspx</id><published>2007-01-25T19:21:00Z</published><updated>2007-01-25T19:21:00Z</updated><content type="html">&lt;p&gt;Ajax is cool, for sure.&amp;nbsp; However sometimes its not so easy to work with, Ajax brings back a problem to web development that had been going by the wayside for a few years.&amp;nbsp; You see when I started back in early 2000, we had MS IE, Netscape 4, AOL and a slew of other browsers to support.&amp;nbsp; Writing interactive web programs for that collection of browsers was roughly akin to writing source code for multiple platforms.&amp;nbsp; Actually that&amp;#39;s just what it is, i guess the analogy works too well.&amp;nbsp; ASP.NET made a lot of this much nicer, ok well in truth I worked on intranet based projects that locked into one browser.&amp;nbsp; So while the problem may not have gotten any better I couldn&amp;#39;t see it ;)&amp;nbsp;&amp;nbsp; All that changed a couple years ago, working on very public sites again they had to work in FF and IE, granted this is much better than the old browser collection.&amp;nbsp; So one problem i had yesterday was Firefox kept barking (rudely) about selectSingleNode() is not a function.&amp;nbsp; It sure is, its part of an xml element!&amp;nbsp; i said, but it persisted.&amp;nbsp; After much googling, i was able to write this function to wrap the functionality.&amp;nbsp; I&amp;#39;m sure there are better ways of doing this, but this is the one I found.&amp;nbsp; Judging by the amount of googling that i did to find the bits &amp;amp; parts, there are some out there with a similar problem.&amp;nbsp; I guess what i don&amp;#39;t understand is why it takes three lines of code to do this in FF and only one in IE.&amp;nbsp; Is it that coming from an IE background my point of view is skewed?&amp;nbsp; Or is this just legitimately more difficult in FF?&amp;nbsp;&amp;nbsp; I&amp;#39;ll bet that most frameworks (atlas/etc..) have this built in and I just didn&amp;#39;t see it.&amp;nbsp; Post a comment and tell me if that&amp;#39;s it!&lt;/p&gt;&lt;pre&gt;    function SelectSingleNode(xmlDoc, elementPath)
    {
        if(window.ActiveXObject)
        {
            return xmlDoc.selectSingleNode(elementPath);
        }
        else
        {
           var xpe = new XPathEvaluator();
           var nsResolver = xpe.createNSResolver( xmlDoc.ownerDocument == null ? xmlDoc.documentElement : xmlDoc.ownerDocument.documentElement);
           var results = xpe.evaluate(elementPath,xmlDoc,nsResolver,XPathResult.FIRST_ORDERED_NODE_TYPE, null);
           return results.singleNodeValue; 
        }
    }
&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1472772" width="1" height="1"&gt;</content><author><name>codeboy</name><uri>http://weblogs.asp.net/members/codeboy.aspx</uri></author><category term="Firefox" scheme="http://weblogs.asp.net/ssargent/archive/tags/Firefox/default.aspx" /><category term="AJAX" scheme="http://weblogs.asp.net/ssargent/archive/tags/AJAX/default.aspx" /><category term="Javascript" scheme="http://weblogs.asp.net/ssargent/archive/tags/Javascript/default.aspx" /></entry><entry><title>Just a little bit of Rewriting</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/ssargent/archive/2007/01/25/just-a-little-bit-of-rewriting.aspx" /><id>http://weblogs.asp.net/ssargent/archive/2007/01/25/just-a-little-bit-of-rewriting.aspx</id><published>2007-01-25T19:10:00Z</published><updated>2007-01-25T19:10:00Z</updated><content type="html">I was trying to figure out the other day how to do url-rewriting on a handler basis, so I could key in on exactly what was re-written and not affect the app on a global basis.&amp;nbsp; I found &lt;a href="http://httphandler.codebetter.com/blogs/jeffrey.palermo/archive/2005/08/10/130532.aspx" title="this blog post"&gt;this blog post&lt;/a&gt; by Jeffery Palermo and it was just what I needed.&amp;nbsp; This is perfect because the app that i&amp;#39;m currently working on tends towards having very nasty urls, a problem i don&amp;#39;t have the time to fix globally&amp;nbsp;*yet*.&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1472616" width="1" height="1"&gt;</content><author><name>codeboy</name><uri>http://weblogs.asp.net/members/codeboy.aspx</uri></author><category term="ASP.NET" scheme="http://weblogs.asp.net/ssargent/archive/tags/ASP.NET/default.aspx" /><category term="URL" scheme="http://weblogs.asp.net/ssargent/archive/tags/URL/default.aspx" /><category term="HttpHandler" scheme="http://weblogs.asp.net/ssargent/archive/tags/HttpHandler/default.aspx" /></entry><entry><title>The Five Things Blog Tag Game</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/ssargent/archive/2007/01/05/the-five-things-blog-tag-game.aspx" /><id>http://weblogs.asp.net/ssargent/archive/2007/01/05/the-five-things-blog-tag-game.aspx</id><published>2007-01-05T16:09:00Z</published><updated>2007-01-05T16:09:00Z</updated><content type="html">&lt;p&gt;I&amp;#39;ve been blog tagged by one of my co-workers &lt;a href="http://daptivate.com/archive/2007/01/05/the-five-things-blog-tag-game.aspx" title="Kyle Beyer" target="_blank"&gt;Kyle Beyer&lt;/a&gt;.&amp;nbsp; I&amp;#39;ve worked with Kyle for about a year now on a few of Telligent&amp;#39;s sites that we manage.&amp;nbsp; I&amp;#39;ve heard about this game from others and seen some fascinating posts, definitely learning a lot along the way.&amp;nbsp; Others have far more information about the origin of the game, I&amp;#39;m afraid i couldn&amp;#39;t do that justice so I&amp;#39;m just going to get to the five things about me.&lt;/p&gt;&lt;p&gt;1.&amp;nbsp;I&amp;#39;ve just finished building my first house.&amp;nbsp; That was something that I never thought i&amp;#39;d be able to do, build a house by myself (ok i confess, i just wrote checks &amp;amp; signed documents)&amp;nbsp; but I got it done and I&amp;#39;m in the house.&amp;nbsp; Why did i build the house? good investment?&amp;nbsp; Stop throwing money away on rent?&amp;nbsp; More space?&amp;nbsp; Ok these are all excellent reasons to build a house, but not why I did it.&amp;nbsp; I wanted to have a room and a place to listen to my stereo system as loud as i wanted.&amp;nbsp; I never got complaints in my old apartment but you can&amp;#39;t crank the subwoofer &amp;amp; speakers and not feel at least a little bad.&amp;nbsp; I cant at least.&amp;nbsp; But now in the house I can,&amp;nbsp; I love the way the subwoofer throws you back into your seat when something explodes.&amp;nbsp; &lt;/p&gt;&lt;p&gt;2.&amp;nbsp; I&amp;#39;m a .net developer focusing on databases and websites, but one of my passions is video games.&amp;nbsp; Playing them but some day I want to be able to build them.&amp;nbsp; Games &amp;amp; game engines are among the most complex of software that&amp;#39;s being written today.&amp;nbsp; 3D Math and physics are mind bogglingly complex, I love complex things.&amp;nbsp; So for me game dev is a great hobby.&amp;nbsp; I&amp;#39;m completely self taught as a computer programmer.&amp;nbsp; I took a couple of courses in databases and C/C++ but most of what i know and use every day i&amp;#39;m totally self taught.&amp;nbsp; At times I wish i&amp;#39;d taken more CS courses but I&amp;#39;m really grateful with my ability to teach myself new technologies and computer concepts.&amp;nbsp; So I hope one day to have taught myself how to build realtime 3D Graphics software.&amp;nbsp; With a helping portion of AI too.&lt;/p&gt;&lt;p&gt;3.&amp;nbsp; I&amp;#39;ve recently come to the understanding that my music collection is woefully lacking and have been buying new cds, trying new things to try to expand my horizons musically.&amp;nbsp; Ok this isn&amp;#39;t all that interesting, and acutally is probably a tad boring.&amp;nbsp; However if you&amp;#39;re reading this you have a favorite cd.&amp;nbsp; Leave me a comment and let me know what it is!&amp;nbsp; Not your all time favorite, but what&amp;#39;s being played most in your cd player at the moment.&amp;nbsp; Please no country or Rap, its good just not my thing.&amp;nbsp; On a similarly related note I absolutely love movies and dvds.&amp;nbsp; (see #1) I&amp;#39;ve nearly 300 dvds and am always looking for more.&amp;nbsp; &lt;/p&gt;&lt;p&gt;4.&amp;nbsp; I just got my first tattoo.&amp;nbsp; I&amp;#39;ve wanted one for a while and decided that the time was right.&amp;nbsp; I mulled over the design, trying to draw it myself, but my computer skills seem to have replaced my art skills and I decided to just let an artist do it for me.&amp;nbsp; Seneca at Unique Arts in glens falls did a fantastic job.&amp;nbsp; Why did i want a tattoo you may ask?&amp;nbsp; Well i think they look really really cool, I wanted something to be a symbol of a memory of a loved one that&amp;nbsp;I lost a while ago.&amp;nbsp; I don&amp;#39;t have pictures of it, I&amp;#39;ll try to post one later.&amp;nbsp; While this was my first i&amp;#39;m not sure if its my last.&amp;nbsp; Family is not so accepting of tattoos, so if i go quickly for the fully covered look i&amp;#39;ll probably shock quite a few of them.&amp;nbsp; That being said i could definitely see another tattoo at some point.&lt;/p&gt;&lt;p&gt;5.&amp;nbsp; When i was younger i wanted to be (in order) a Road Fixer, a GI Joe guy, a fighter pilot, an engineer that designed things, a business man, a computer programmer, a Fire truck (see the movie Crazy People&amp;nbsp;) and a Computer programmer.&lt;/p&gt;&lt;p&gt;I&amp;#39;d Like to see these people carry this on: &lt;a href="http://weblogs.asp.net/rhoward/" title="Rob Howard"&gt;Rob Howard&lt;/a&gt;, &lt;a href="http://jasona.net/" title="Jason Alexander"&gt;Jason Alexander&lt;/a&gt;, &lt;a href="http://blogs.iis.net/bills/" title="Bill Staples"&gt;Bill Staples&lt;/a&gt;, &lt;a href="http://sqladvice.com/blogs/dpenton/" title="David Penton"&gt;David Penton&lt;/a&gt; and &lt;a href="http://weblogs.asp.net/scottdockendorf" title="Scott Dockendorf"&gt;Scott Dockendorf&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1366384" width="1" height="1"&gt;</content><author><name>codeboy</name><uri>http://weblogs.asp.net/members/codeboy.aspx</uri></author><category term="&amp;#187;telligent" scheme="http://weblogs.asp.net/ssargent/archive/tags/_26002300_187_3B00_telligent/default.aspx" /><category term="DirectX &amp;amp; Game Development" scheme="http://weblogs.asp.net/ssargent/archive/tags/DirectX+_2600_amp_3B00_+Game+Development/default.aspx" /><category term="Personal" scheme="http://weblogs.asp.net/ssargent/archive/tags/Personal/default.aspx" /><category term="Blog Tagging" scheme="http://weblogs.asp.net/ssargent/archive/tags/Blog+Tagging/default.aspx" /></entry><entry><title>IIS.NET Is Live</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/ssargent/archive/2006/05/23/IIS.NET-Is-Live.aspx" /><id>http://weblogs.asp.net/ssargent/archive/2006/05/23/IIS.NET-Is-Live.aspx</id><published>2006-05-23T19:31:00Z</published><updated>2006-05-23T19:31:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=Verdana size=2&gt;IIS.NET is live, I wasn't the first to post this and hopefully I won't be the last, but IIS.NET is finally live, I've been working on this project for what seems like months and months now, it feels incredible to see it come to life as living breathing site.&amp;nbsp; Definitely check out all of the great content on &lt;/FONT&gt;&lt;A href="http://www.iis.net"&gt;&lt;FONT face=Verdana size=2&gt;www.iis.net&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; there's a ton of awesome articles and dozens&amp;nbsp;&amp;amp; dozens of cool things in the techCENTER.&amp;nbsp; There's also blogs and forums so you can read about what MS's IIS team members are up to and help each other / get advice in the forums.&amp;nbsp; Very cool stuff.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=448760" width="1" height="1"&gt;</content><author><name>codeboy</name><uri>http://weblogs.asp.net/members/codeboy.aspx</uri></author><category term="IIS" scheme="http://weblogs.asp.net/ssargent/archive/tags/IIS/default.aspx" /></entry><entry><title>This was pretty Funny</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/ssargent/archive/2006/01/06/434717.aspx" /><id>http://weblogs.asp.net/ssargent/archive/2006/01/06/434717.aspx</id><published>2006-01-06T19:10:00Z</published><updated>2006-01-06T19:10:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Verdana" size="2"&gt;Saw this come through the other day, Jason blogged about it: &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://jasona.net/archive/2006/01/04/16.aspx"&gt;&lt;font face="Verdana" size="2"&gt;http://jasona.net/archive/2006/01/04/16.aspx&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=434717" width="1" height="1"&gt;</content><author><name>codeboy</name><uri>http://weblogs.asp.net/members/codeboy.aspx</uri></author><category term="&amp;#187;telligent" scheme="http://weblogs.asp.net/ssargent/archive/tags/_26002300_187_3B00_telligent/default.aspx" /></entry><entry><title>Fixing Wierd Problems</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/ssargent/archive/2006/01/05/434632.aspx" /><id>http://weblogs.asp.net/ssargent/archive/2006/01/05/434632.aspx</id><published>2006-01-05T20:31:00Z</published><updated>2006-01-05T20:31:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Verdana" size="2"&gt;Here's an odd compiler error that I got today while working on a directx sample: &lt;/font&gt;&lt;/p&gt;&lt;font size="1"&gt; &lt;p&gt;x:\ssargent\projects\introdirectx\chap01\d3dinit.cpp(84) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [19]' to 'LPCWSTR'&lt;br /&gt;Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;Now it turns out this is an error thats partially caused by Visual Studio 2005.&amp;nbsp; I don't claim to know which is better but apparently code that was written in vs2003 might expect a multi byte character set while VS 2005 defaults to a Unicode character set.&amp;nbsp; This&amp;nbsp;little error is caused by that difference.&amp;nbsp; To fix it in vs2005 just switch to a multibyte character set.&amp;nbsp;&amp;nbsp; Right Click on Project -&amp;gt; Properties -&amp;gt; General -&amp;gt; Character set.&amp;nbsp;&amp;nbsp; This fixed it for me, perhaps this will help some others.&amp;nbsp; This was also in this thread: &lt;a href="http://www.moon-labs.com/cgi-bin/YaBB/YaBB.cgi?board=book_board;action=display;num=1135734768"&gt;http://www.moon-labs.com/cgi-bin/YaBB/YaBB.cgi?board=book_board;action=display;num=1135734768&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=434632" width="1" height="1"&gt;</content><author><name>codeboy</name><uri>http://weblogs.asp.net/members/codeboy.aspx</uri></author></entry><entry><title>Football and MVP</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/ssargent/archive/2006/01/05/434613.aspx" /><id>http://weblogs.asp.net/ssargent/archive/2006/01/05/434613.aspx</id><published>2006-01-05T15:42:00Z</published><updated>2006-01-05T15:42:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Verdana" size="2"&gt;College football is over :(&amp;nbsp; but it was a really good season this year.&amp;nbsp; My favorite teams didn't do as well as I'd hoped, it looked for a while like Bama might stand a shot at the National Championship (however remote) it was not to be though.&amp;nbsp; And Michigan well they lost a lot this year, its pretty sad when they have as many losses as the giants do.&amp;nbsp; C'mon blue what was wrong with the defense this year?&amp;nbsp; I was absolutely estatic to see that Texas had won, not sure what Hook-em Horns means but apparently thats what they did.&amp;nbsp; I'd really been getting sick of the USC is the best thing for college football ever or people &amp;amp; announcers saying that no one can keep up with USC they're just college football gods.&amp;nbsp; Well by what I saw one guy was able to defeat them almost by himself. And that was pretty cool...&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;Well yesterday was the MVP Award day, but not for me.&amp;nbsp; I didn't get re-awarded MVP status this year, I remember thinking about it that if i lost MVP status that would be a huge deal.&amp;nbsp; Well Its amazing how things change your perspective because I think its a good thing.&amp;nbsp; There were more deserving people in front of me and that's pretty cool that they got recognized.&amp;nbsp; Congradulations!!&amp;nbsp; What will I do?&amp;nbsp; well going to florida with Kara for one, this will be the first time i've ever gone on a vacation so I'm pretty excited about that.&amp;nbsp; I've taken vacations before but never gone anywhere, I heard sanibel island is nice.&amp;nbsp; I'll get back to my prior levels of community involvement, this has just been a nice break.&amp;nbsp; I'm thinking of branching out into other communities as well (3D Gfx / Game Dev for one)&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;Once again, Congradulations to the MVPs!&lt;/font&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=434613" width="1" height="1"&gt;</content><author><name>codeboy</name><uri>http://weblogs.asp.net/members/codeboy.aspx</uri></author></entry><entry><title>Looking back at 2005 and forward to 2006</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/ssargent/archive/2006/01/03/434432.aspx" /><id>http://weblogs.asp.net/ssargent/archive/2006/01/03/434432.aspx</id><published>2006-01-03T20:24:00Z</published><updated>2006-01-03T20:24:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Verdana" size="2"&gt;Its 2006 pretty hard to believe that a year has passed,&amp;nbsp; I remember well how 2005 started, me studying for&amp;nbsp;a job interview out west.&amp;nbsp; I didn't get that job which was a good thing, because it paved the way for me to work at perhaps &lt;/font&gt;&lt;a href="http://www.telligent.com/"&gt;&lt;font face="Verdana" size="2"&gt;the best company on the planet&lt;/font&gt;&lt;/a&gt;&lt;font face="Verdana"&gt;.&lt;font size="2"&gt;&amp;nbsp; Still I can't believe its been a year, well technically it hasn't been as 2/4 was the date I started.&amp;nbsp; Let's not get bogged down in details though cause what fun would that be?&amp;nbsp;&amp;nbsp;2005 was a pretty amazing year for me, started working for telligent full time&amp;nbsp;doing lots of cool .net stuff, started building a house (pay a lot &amp;amp; wait a lot basically...) and met someone really special :).&amp;nbsp; Hey come to think of it, i just summed up one year in just a single sentence, well that's cause its time to discuss cool geeky stuff.&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;Technically my strength and passions have always been towards asp.net &amp;amp; managed code.&amp;nbsp; A funny thing is starting to happen though, more and more I'm finding myself wanting to play in the unmanaged world of C++, ok that's not really new for me but doing the heavy 3D Gfx stuff with DirectX is and that's where I'm spending more and more of my free time.&amp;nbsp; I'm loving reading some of the awesome books that are out there about doing 3D Game Engines &amp;amp; Graphics with DirectX.&amp;nbsp; I've dabbled in this before but never really got anywhere with it, one book i'm currently reading really said it well: this stuff isn't easy and with 3D Game engines more than anything else you need a well laid out and thought through approach.&amp;nbsp; I'm hoping that spending the time in the 3d Game Dev worlds will help me become a better and more disciplined programmer in more respects and in professional programming (.net, asp.net sql etc..) as well.&amp;nbsp; Here's a professional New Years Resolution (Increase the size and complexity of projects that I can handle well on my own).&amp;nbsp; Through better planning, development practices and discipline I think i can get there.&amp;nbsp; Also, I really believe the answer for me is not in managed code, its in the C++ world where things are quite a bit less forgiving.&amp;nbsp; See, if I can build some of these engines or add new things to them successfully its got to be in C++ where things aren't as easy.&amp;nbsp;I'll have to handle memory management and all of the other fun challenges C++ brings.&amp;nbsp; This if successful will teach more discipline that will be very useful back in the managed world.&amp;nbsp; I've already learned something new: 3D Graphics w/ DirectX requires quite a bit more Math than ASP.NET does.&amp;nbsp; So here's what I'm reading: &lt;/font&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;&lt;a href="http://www.amazon.com/gp/product/1556229135/qid=1136319506/sr=8-1/ref=pd_bbs_1/102-4631338-9367339?n=507846&amp;amp;s=books&amp;amp;v=glance"&gt;Introduction to 3D Game Programming with DirectX 9.0&lt;/a&gt;&lt;/font&gt;&lt;font face="Verdana"&gt; &lt;/font&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;&lt;a href="http://www.amazon.com/gp/product/1584503637/qid=1136319506/sr=8-5/ref=pd_bbs_5/102-4631338-9367339?n=507846&amp;amp;s=books&amp;amp;v=glance"&gt;Programming a Multiplayer FPS in DirectX &lt;/a&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;Ideally, I'll get good enough to make things like you'd see in here:&lt;/font&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;font face="Verdana" size="2"&gt;&lt;a href="http://www.amazon.com/gp/product/0321335597/qid=1136319635/sr=2-1/ref=pd_bbs_b_2_1/102-4631338-9367339?s=books&amp;amp;v=glance&amp;amp;n=283155"&gt;GPU Gems 2&lt;/a&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;font face="Verdana"&gt;&lt;font size="2"&gt;OK, that's about it for today from the technical side.&amp;nbsp; &lt;/font&gt;&lt;font size="2"&gt;Another new years resolution: get back to artwork.&amp;nbsp; I used to be able to draw pretty well, I've lost some of that so i'd like to get it back.&amp;nbsp; I've my first project and that's to create a design that might be used as a tattoo.&amp;nbsp; If it gets Inked, i'll post it for people to see.&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=434432" width="1" height="1"&gt;</content><author><name>codeboy</name><uri>http://weblogs.asp.net/members/codeboy.aspx</uri></author><category term="DirectX &amp;amp; Game Development" scheme="http://weblogs.asp.net/ssargent/archive/tags/DirectX+_2600_amp_3B00_+Game+Development/default.aspx" /></entry><entry><title>IE 6 Rendering Bugs</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/ssargent/archive/2005/09/07/424605.aspx" /><id>http://weblogs.asp.net/ssargent/archive/2005/09/07/424605.aspx</id><published>2005-09-07T14:17:00Z</published><updated>2005-09-07T14:17:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Verdana" color="#000080" size="2"&gt;Now that I'm working fulltime for Telligent I'm finding my duties to be changing a bit from what I've traditionally done.&amp;nbsp; I'm doing a lot more HTML/CSS design type work for the various projects we do.&amp;nbsp; I think its a great thing and I'm learning a ton.&amp;nbsp; At times though I'm quite a bit behind the eight ball in terms of what's what with CSS as its very much still a learning process for me.&amp;nbsp; Well here's the Welcome to Last Week (or perhaps last year?) that I ran into today.&amp;nbsp; &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" color="#000080" size="2"&gt;IE6 Rendering bugs.&amp;nbsp; One of my projects uses a div-css / table less layout, floating divs with out the use of tables basically.&amp;nbsp; The strange behavior that was reported was that the text was disappearing, and only appeared after the text had been hilighted.&amp;nbsp; After googling for a while,&amp;nbsp;I was able to find this website: &lt;/font&gt;&lt;a href="http://pear.reversefold.com/badIE/"&gt;&lt;font face="Verdana" color="#000080" size="2"&gt;http://pear.reversefold.com/badIE/&lt;/font&gt;&lt;/a&gt;&lt;font face="Verdana" color="#000080" size="2"&gt;&amp;nbsp; basically the cure for the problem was to add a height attribute to the main content DIV.&amp;nbsp; &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" color="#000080" size="2"&gt;So in the end being able to google to find the solutions to problems is quite a nice benefit of living life in last week (as far as Html / CSS is concerned).&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" color="#000080" size="2"&gt;My $.02&lt;/font&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=424605" width="1" height="1"&gt;</content><author><name>codeboy</name><uri>http://weblogs.asp.net/members/codeboy.aspx</uri></author><category term="&amp;#187;telligent" scheme="http://weblogs.asp.net/ssargent/archive/tags/_26002300_187_3B00_telligent/default.aspx" /></entry><entry><title>SQL 2005 Installation Tips</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/ssargent/archive/2005/07/28/420875.aspx" /><id>http://weblogs.asp.net/ssargent/archive/2005/07/28/420875.aspx</id><published>2005-07-28T15:20:00Z</published><updated>2005-07-28T15:20:00Z</updated><content type="html">&lt;font face="Verdana" color="#000080" size="2"&gt;Hello everyone, its been far too long since i've last posted.&amp;nbsp; I discovered something today that helped me out, I'm sure its common knowledge by now but for me it really saved quite a bit of work.&amp;nbsp; So although its not news&amp;nbsp;I wanted&amp;nbsp;to post it on my little blog.&amp;nbsp; Ok here it is: Basically i'm working on a project that needs both Whidbey Beta2 as well as April CTP of sql server.&amp;nbsp; I thought or hoped that since these two seem to play to gether on my main dev workstation that SQL 2005 would just install into the laptop w/o any fuss.&amp;nbsp; Well this of course wasn't so.&amp;nbsp; SQL2k5 claimed to have a utility that would "fix" the computer for me.&amp;nbsp; It got close but what was great was that it showed me what was wrong.&amp;nbsp; Or so I thought.&amp;nbsp; I uninstalled everything that the sql Build Uninstall Wizard found but still sql wouldn't install the .net fx more specifically, when it got to that step it would just say beta components detected and die.&amp;nbsp; So here's what i eventually discovered.&amp;nbsp; If you go into the Redist folder of sql2k5, then to the 2.0 folder&amp;nbsp; you can manually install the framework,&amp;nbsp;and when you do this it lists all the things that are incompatible.&amp;nbsp; Just remove these and away you go!&lt;/font&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=420875" width="1" height="1"&gt;</content><author><name>codeboy</name><uri>http://weblogs.asp.net/members/codeboy.aspx</uri></author><category term="SQL Server 2005" scheme="http://weblogs.asp.net/ssargent/archive/tags/SQL+Server+2005/default.aspx" /></entry><entry><title>VSTS Unit testing</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/ssargent/archive/2004/09/07/226298.aspx" /><id>http://weblogs.asp.net/ssargent/archive/2004/09/07/226298.aspx</id><published>2004-09-07T13:26:00Z</published><updated>2004-09-07T13:26:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Verdana" size="2"&gt;This post is predominantly about unit testing, but first a little dilbert: It seems that everyone in a the software development field knows about dilbert, I am absolutely positive that Scott Adams works for my company and has been in many of our meetings.&amp;nbsp; Well, sunday's dilbert describes in a single comic most of our projects.&amp;nbsp; Here's a link: &lt;/font&gt;&lt;a href="http://www.dilbert.com/comics/dilbert/archive/dilbert-20040905.html"&gt;&lt;font face="Verdana" size="2"&gt;Sunday's Dilbert&lt;/font&gt;&lt;/a&gt;&lt;font face="Verdana" size="2"&gt;&amp;nbsp;&amp;nbsp; Its really kind of frightening how accurate that is at times.&amp;nbsp; &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;On to unit testing, I've been playing with the Beta1 refresh that's available on MSDN Universal lately, the VSTS stuff in this build is very very cool.&amp;nbsp; My favorite feature is the unit test generation feature.&amp;nbsp; My biggest complaint so far is that there doesn't seem to be many options I've seen for the unit test generation stuff. For example, the class that i'm unit testing requires a call to an Initialize() function for it to work, It would be very cool if i could have a dialog upon unit test generation that would allow me to specify the correct way of creating the object.&amp;nbsp; Ie, calling initialize(), passing some data etc..&amp;nbsp; Basically, for my three classes it generated 107 tests, and that's quite a few tests to go through and edit.&amp;nbsp; Granted, i've got to edit them to add intelligence &amp;amp; functionality, but every little bit helps.&amp;nbsp; I'm also wondering if it would be possible to have some sort of templating system?&amp;nbsp; If i could supply a default template for unit tests to use and perhaps a project level template as well.&amp;nbsp; &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;Another thing I've noticed, if you remove unit tests your test view isn't updated.&amp;nbsp; I'm wondering if that could watch the unit test assembly and look for changes, if it changes then reload.&amp;nbsp; Its not that big a deal to just hit reload but when i'm getting into the habit of compile unit tests, run tests, getting an error that testid {someid} cannot be found is confusing at times.&amp;nbsp; Another idea, perhaps hitting run tests could automatically compile the unit test assembly if needed.&amp;nbsp; It seemed like it was trying to do so, but wasn't in the end?&amp;nbsp; This was confusing, I wasn't sure exactly what was supposed happen when i hit run tests (beyond running of the actual tests).&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Verdana" size="2"&gt;Great Work, VSTS looks awesome.&lt;/font&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=226298" width="1" height="1"&gt;</content><author><name>codeboy</name><uri>http://weblogs.asp.net/members/codeboy.aspx</uri></author></entry><entry><title>MSBuild and Custom AssemblyVersion Attributes</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/ssargent/archive/2004/06/14/155721.aspx" /><id>http://weblogs.asp.net/ssargent/archive/2004/06/14/155721.aspx</id><published>2004-06-15T02:46:00Z</published><updated>2004-06-15T02:46:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=Verdana size=2&gt;I've just started working on getting into MSBuild, one of the first tasks that I'm looking to accomplish is the ability to have MSBuild generate custom assembly version numbers.&amp;nbsp; I'd like to be able to do a build and have MSBuild generate a assembly version number something like 1.0.40615.22 where 4 is the year, 06 is the month, 15 is the day and 22 is the hour (military time).&amp;nbsp; I know i could write&amp;nbsp;a task to actually edit the assemblyinfo.cs file (well truth be told i'm not entirely sure how to do this :( but i can figure this out without too much trouble).&amp;nbsp; What I'd really like though is to have the task completely ignore the AssemblyVersion attribute and always generate the custom number N.N.YMMDD.HH (perhaps i have the AssemblyVersion attribute omitted).&amp;nbsp; I'd like to not edit the assemblyinfo.cs file on every build to stay away from source control issues.&amp;nbsp; I don't really want to get into having to check&amp;nbsp;out and check in the file every time.&amp;nbsp; What i don't really understand is why this isn't built directly into the AssemblyVersion attribute itself, you can already specify 1.0.* to have it generate a time based version number (i believe its time based, but not entirely sure) &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;What's the easiest way of accomplishing this task?&amp;nbsp; Perhaps a nice solution would be to specify the YMMDD.HH in the AssemblyInfo.cs file directly which would at runtime be translated but not require editing the file on a per build basis.&amp;nbsp; I think this is what I'm going to shoot for.&amp;nbsp; I think this version number scheme is similar to the one that Microsoft uses, but they've probably got a much more involved and complicated build system than I'm looking to employ.&amp;nbsp; Does anyone know of how to accomplish this through (or something similar) through a custom msbuild task and not involve editing the AssemblyInfo.cs file?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Scott &lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=155721" width="1" height="1"&gt;</content><author><name>codeboy</name><uri>http://weblogs.asp.net/members/codeboy.aspx</uri></author></entry></feed>