tag:blogger.com,1999:blog-248704802024-02-08T05:06:57.852-08:00Trev's BlogTrevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.comBlogger29125tag:blogger.com,1999:blog-24870480.post-92036130358147684792007-08-13T11:04:00.000-07:002007-08-13T11:05:26.528-07:00Why DRM Sucks!<div class=Section1> <p class=MsoBodyText><font size=2 face=Arial><span style='font-size:10.0pt'>So here's the scoop. Google video is closing its doors, and when that happens their DRM service will no longer function. Why does that matter? Well even if you shelled out $19.95 or whatever to purchase the video you no longer can view that file.<span style="mso-spacerun: yes"> </span>This is the equivalent of having Bestbuy go out of business, and all the DVD’s you’ve every bought from them melt inside the case… bogus!</span></font></p> <p class=MsoBodyText><font size=2 face=Arial><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></p> <p class=MsoBodyText><font size=2 face=Arial><span style='font-size:10.0pt'><a href="http://arstechnica.com/news.ars/post/20070812-google-selleth-then-taketh-away-proving-the-need-for-drm-circumvention.html">Ars Technica Article</a></span></font></p> <p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></p> <p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></p> </div> Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com2tag:blogger.com,1999:blog-24870480.post-71361995036080854412007-06-14T08:12:00.001-07:002007-06-14T08:12:15.551-07:00Using SharpDevelop as a Portable App<div class=Section1> <p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'>Lately I’ve been messing around with <a href="http://www.sharpdevelop.com/OpenSource/SD/Default.aspx">SharpDevelop</a>.<span style="mso-spacerun: yes"> </span>Mainly because I think I’m going to pick Boo as my <a href="http://www.pragmaticprogrammer.com/loty/">one new programming language each year</a>.<span style="mso-spacerun: yes"> </span>As part of my research I’ve discovered that it can be used as a Portable App.<span style="mso-spacerun: yes"> </span>That is, it can be run directly from a USB thumb drive without an install.<span style="mso-spacerun: yes"> </span>In it’s simplest form all that is needed is to copy the files from the install directory to the thumb drive and away you go.<span style="mso-spacerun: yes"> </span>However if you are using the <a href="http://portableapps.com/suite">PortableApps Suite</a> and want SharpDevelop to show up in you menu it’s a little harder.</span></font></p> <p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></p> <p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'>First the PortableApss Suite expects all its applications to exist in folders that end in “portable”.<span style="mso-spacerun: yes"> </span>This isn’t hard to do just create a ShpapDevelopPortable folder under the PortableApps directory and copy the files there.<span style="mso-spacerun: yes"> </span>Now, the second hurtle is that the Suite menu expects the executable to be in that root folder; SharpDevlop is not, it’s in a bin folder.<span style="mso-spacerun: yes"> </span>You could probably move the assemblies to the root directory but it would probable create problems with some of the resource dependences.<span style="mso-spacerun: yes"> </span>So, I decided to create a proxy exe that would call the real one.<span style="mso-spacerun: yes"> </span>Here is the entire source code.</span></font></p> <p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=green face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:green'>/*<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=green face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:green'><span style="mso-spacerun: yes"> </span>* Created by SharpDevelop.<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=green face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:green'><span style="mso-spacerun: yes"> </span>* User: Trevor Michealson<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=green face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:green'><span style="mso-spacerun: yes"> </span>* Date: 6/13/2007<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=green face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:green'><span style="mso-spacerun: yes"> </span>* Time: 11:17 PM<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=green face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:green'><span style="mso-spacerun: yes"> </span>* <o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=green face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:green'><span style="mso-spacerun: yes"> </span>* To change this template use Tools | Options | Coding | Edit Standard Headers.<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=green face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:green'><span style="mso-spacerun: yes"> </span>*/<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><b><font size=2 color=green face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:green;font-weight:bold'>using </span></font></b><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family:Consolas; color:black'>System</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:darkgreen'>;<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><b><font size=2 color=green face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:green;font-weight:bold'>using </span></font></b><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family:Consolas; color:black'>System</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:darkgreen'>.</span></font><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:black'>Collections</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:darkgreen'>.</span></font><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:black'>Generic</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:darkgreen'>;<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><b><font size=2 color=green face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:green;font-weight:bold'>using </span></font></b><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family:Consolas; color:black'>System</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:darkgreen'>.</span></font><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:black'>Diagnostics</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:darkgreen'>;<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><b><font size=2 color=green face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:green;font-weight:bold'>namespace </span></font></b><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:black'>SharpDevelop<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'>{<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'><span style='mso-tab-count:1'> </span></span></font><font size=2 color=red face=Consolas><span style='font-size:10.0pt;font-family:Consolas; color:red'>class </span></font><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:black'>MainClass<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:black'><span style='mso-tab-count:1'> </span></span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'>{<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'><span style='mso-tab-count:2'> </span><o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'><span style='mso-tab-count:1'> </span><span style='mso-tab-count:1'> </span></span></font><b><font size=2 color=blue face=Consolas><span style='font-size:10.0pt;font-family:Consolas; color:blue;font-weight:bold'>public </span></font></b><font size=2 color=brown face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:brown'>static </span></font><font size=2 color=red face=Consolas><span style='font-size:10.0pt; font-family:Consolas;color:red'>void </span></font><b><font size=2 color=midnightblue face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:midnightblue;font-weight:bold'>Main</span></font></b><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'>(</span></font><font size=2 color=red face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:red'>string</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'>[] </span></font><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:black'>args</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'>)<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'><span style='mso-tab-count:1'> </span><span style='mso-tab-count:1'> </span>{<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'><span style='mso-tab-count:2'> </span><span style='mso-tab-count:1'> </span><span style="mso-spacerun: yes"> </span></span></font><font size=2 color=red face=Consolas><span style='font-size:10.0pt;font-family:Consolas; color:red'>string </span></font><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:black'>apploc </span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'>= </span></font><font size=2 color=blue face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:blue'>@"/bin/SharpDevelop.exe"</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'>;<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'><span style='mso-tab-count:2'> </span><span style='mso-tab-count:1'> </span><span style='mso-tab-count:1'> </span></span></font><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:black'>Process SharpDev </span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family:Consolas; color:darkgreen'>= </span></font><b><font size=2 color=darkcyan face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:darkcyan;font-weight:bold'>new </span></font></b><b><font size=2 color=midnightblue face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:midnightblue;font-weight: bold'>Process</span></font></b><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:darkgreen'>();<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'><span style="mso-spacerun: yes"> </span></span></font><b><font size=2 color=blue face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:blue;font-weight:bold'>if </span></font></b><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'>(</span></font><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:black'>System</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'>.</span></font><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:black'>IO</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'>.</span></font><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:black'>File</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'>.</span></font><b><font size=2 color=midnightblue face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:midnightblue; font-weight:bold'>Exists</span></font></b><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:darkgreen'>(</span></font><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:black'>apploc</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:darkgreen'>))<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'><span style="mso-spacerun: yes"> </span></span></font><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:black'>SharpDev</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'>.</span></font><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:black'>StartInfo</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'>.</span></font><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:black'>FileName </span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:darkgreen'>= </span></font><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:black'>apploc</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:darkgreen'>;<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'><span style="mso-spacerun: yes"> </span></span></font><b><font size=2 color=blue face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:blue;font-weight:bold'>else<o:p></o:p></span></font></b></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><b><font size=2 color=blue face=Consolas><span style='font-size:10.0pt;font-family:Consolas; color:blue;font-weight:bold'><span style="mso-spacerun: yes"> </span></span></font></b><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:black'>SharpDev</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'>.</span></font><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:black'>StartInfo</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'>.</span></font><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:black'>FileName </span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:darkgreen'>=<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'><span style="mso-spacerun: yes"> </span><span style="mso-spacerun: yes"> </span><span style="mso-spacerun: yes"> </span></span></font><font size=2 color=blue face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:blue'>@"/PortableApps/SharpDevelopPortable/" </span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:darkgreen'>+ </span></font><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:black'>apploc</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:darkgreen'>;<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'><span style="mso-spacerun: yes"> </span></span></font><font size=2 color=black face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:black'>SharpDev</span></font><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'>.</span></font><b><font size=2 color=midnightblue face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:midnightblue; font-weight:bold'>Start</span></font></b><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:darkgreen'>();<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'><span style="mso-spacerun: yes"> </span><o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'><span style='mso-tab-count:1'> </span><span style='mso-tab-count:1'> </span>}<o:p></o:p></span></font></p> <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family: Consolas;color:darkgreen'><span style='mso-tab-count:1'> </span>}<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:darkgreen'>}<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:darkgreen'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=darkgreen face=Consolas><span style='font-size:10.0pt;font-family:Consolas;color:darkgreen'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></p> <p class=MsoBodyText><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt;mso-bidi-font-size:10.0pt'>The if statement determines if you are running from the menu or if you’ve run the exe directly, it gets a different working directory in both.<o:p></o:p></span></font></p> <p class=MsoBodyText><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt;mso-bidi-font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></p> <p class=MsoBodyText><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt;mso-bidi-font-size:10.0pt'>Note: when I brought it to work it ran in completely different working directory.<span style="mso-spacerun: yes"> </span>I’m not sure if this is Windows 2000 or a profile setting but this code did work on both my Home PC (running XP) and my Laptop(running Server 2003).<o:p></o:p></span></font></p> </div> Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com2tag:blogger.com,1999:blog-24870480.post-78239208492248830802007-06-06T05:56:00.001-07:002007-06-06T05:56:06.401-07:00Programmer Personality Type<div class=Section1> <p class=MsoNormal style='margin-bottom:12.0pt'><font size=1 face=Verdana><span style='font-size:8.5pt;font-family:Verdana'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></p> <p class=MsoNormal style='margin-bottom:12.0pt'><font size=1 face=Verdana><span style='font-size:8.5pt;font-family:Verdana'>Your programmer personality type is:<br> <br> </span></font><b><font size=5 face=Verdana><span style='font-size:18.0pt;font-family:Verdana;font-weight:bold'>DHTB</span></font></b><font size=1 face=Verdana><span style='font-size:8.5pt;font-family:Verdana'><o:p></o:p></span></font></p> <p><b><font size=1 face=Verdana><span style='font-size:8.5pt;font-family:Verdana; font-weight:bold'>You're a </span></font></b><b><font size=5 face=Verdana><span style='font-size:18.0pt;font-family:Verdana;font-weight:bold'>D</span></font></b><b><font size=1 face=Verdana><span style='font-size:8.5pt;font-family:Verdana; font-weight:bold'>oer.</span></font></b><font size=1 face=Verdana><span style='font-size:8.5pt;font-family:Verdana'><br> You are very quick at getting tasks done. You believe the outcome is the most important part of a task and the faster you can reach that outcome the better. After all, time is money.<br> <br> <br> <b><span style='font-weight:bold'>You like coding at a </span></b></span></font><b><font size=5 face=Verdana><span style='font-size:18.0pt;font-family:Verdana; font-weight:bold'>H</span></font></b><b><font size=1 face=Verdana><span style='font-size:8.5pt;font-family:Verdana;font-weight:bold'>igh level.</span></font></b><font size=1 face=Verdana><span style='font-size:8.5pt;font-family:Verdana'><br> The world is made up of objects and components, you should create your programs in the same way.<br> <br> <br> <b><span style='font-weight:bold'>You work best in a </span></b></span></font><b><font size=5 face=Verdana><span style='font-size:18.0pt;font-family:Verdana; font-weight:bold'>T</span></font></b><b><font size=1 face=Verdana><span style='font-size:8.5pt;font-family:Verdana;font-weight:bold'>eam.</span></font></b><font size=1 face=Verdana><span style='font-size:8.5pt;font-family:Verdana'><br> A good group is better than the sum of it's parts. The only thing better than a genius programmer is a cohesive group of genius programmers.<br> <br> <br> <b><span style='font-weight:bold'>You are a li</span></b></span></font><b><font size=5 face=Verdana><span style='font-size:18.0pt;font-family:Verdana; font-weight:bold'>B</span></font></b><b><font size=1 face=Verdana><span style='font-size:8.5pt;font-family:Verdana;font-weight:bold'>eral programmer.</span></font></b><font size=1 face=Verdana><span style='font-size:8.5pt;font-family:Verdana'><br> Programming is a complex task and you should use white space and comments as freely as possible to help simplify the task. We're not writing on paper anymore so we can take up as much room as we need.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></p> <p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'>Get your programmer personality type at</span></font></p> <p class=MsoNormal style='margin-bottom:12.0pt'><font size=1 face=Verdana><span style='font-size:8.5pt;font-family:Verdana'><a href="http://www.doolwind.com/index.php?page=11">http://www.doolwind.com/index.php?page=11</a><o:p></o:p></span></font></p> <p style='margin:0in;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></p> </div> Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com0tag:blogger.com,1999:blog-24870480.post-24896567108132341132007-05-14T07:20:00.001-07:002007-05-14T07:20:02.077-07:00Reporting Services Table Column Headers in ExcelRecently I've been working with SQL Reporting <br>Services. I have a generally high opinion of<br>the product, but I have discovered a fairly large<br>problem. It does not support repeating column<br>headers when exported to Excel. <p>What I have found is that this isn't a bug<br>in fact it was a design decision to put headers<br>in the repeating rows in order to support<br>images. With the repeating rows in use;<br>there is no other way to repeat information<br>on each page. <p>The header can be moved to the excel header<br>by setting the UseSimpleHeader tag in the<br>device directive, but even then the table <br>header row won't repeat. My personal<br>opinion is that this shouldn't be a big deal<br>because if the report is exported to PDF<br>the column header repeat just fine, I have<br>to imagine that plenty of offices won't view<br>that as an expectable solution.<p>By the way, I'm not a Reporting Services<br>expert, if there is something I've missed<br>please tell me.Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com3tag:blogger.com,1999:blog-24870480.post-3496305181063004332007-04-28T17:21:00.000-07:002007-04-28T17:22:23.760-07:00Richmond Code Camp 3<p class="MsoNormal">So I decided to skip a session at the Richmond Code Camp, and I thought now would be a good time to write a blog post; so here goes.<span style=""> </span>This is the third code camp here in <st1:city st="on"><st1:place st="on">Richmond</st1:place></st1:City> and it’s been a great success, other then the fact that it rained for the third time as well.<span style=""> </span>It’s the biggest one yet, or so they tell me, and I love that.<span style=""> </span>The quality of speakers is excellent and just gets better every time, it’s a shame nobody from my office comes with me.<span style=""> </span>My only real gripe is, as always, the name; couldn’t we call it the “Richmond Day of .Net” why must I be ridiculed for trying to better myself as a professional, dang!<span style=""> </span>Oh well, time to head to the next session catchya later.</p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">T</p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal"><a href="http://www.richmondcodecamp.org/">http://www.richmondcodecamp.org/</a></p> <p class="MsoNormal"><o:p> </o:p></p>Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com0tag:blogger.com,1999:blog-24870480.post-12713412170101570822007-04-12T06:09:00.001-07:002007-04-12T06:09:30.653-07:00Current Tech Podcast lineupI've become a bit of a podcast enthusiast lately. I'd posted before about<br>listening to tech podcasts but I thought it was time to revisit the topic.<br>Now that I actually have an Mp3 player I find myself listening to podcast in<br>the car as well as at work. They are a great way to keep up with current<br>trends without having to spend hours a day reading, though I do that too.<br>So here's a list of what I'm listening too. This list usually amounts to<br>about five hours of listen time a week which cover my commuting time nicely.<p><br>.NET Rocks <<a href="http://www.dotnetrocks.com/">http://www.dotnetrocks.com/</a>> <br>ARCast <<a href="http://channel9.msdn.com/">http://channel9.msdn.com/</a>> <br>Hanselminutes <<a href="http://www.hanselminutes.com/">http://www.hanselminutes.com/</a>> <br>this WEEK in TECH (TWiT) <<a href="http://www.twit.tv/">http://www.twit.tv/</a>> <br>Windows Weekly <<a href="http://www.twit.tv/">http://www.twit.tv/</a>>Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com0tag:blogger.com,1999:blog-24870480.post-36897295969781822742007-03-30T09:31:00.001-07:002007-03-30T09:31:34.913-07:00Using Forms Authentication with CallbacksWe use callbacks all over the place in our asp.net applications. Because of<br>various security and technical concerns we also use forms authentication by<br>default. Well this creates a problem when the forms authentication ticket<br>expires. In the traditional model using postbacks when the authentication<br>ticket expires you are redirected to the login page however when a callback<br>occurs there is no action by default. After discovering this I began<br>googling for information and found this blog post<br><a href="http://blogs.msdn.com/irenak/archive/2007/03/12/sysk-304-how-to-detect-and-h">http://blogs.msdn.com/irenak/archive/2007/03/12/sysk-304-how-to-detect-and-h</a><br>andle-form-based-authentication-timeout-during-asp-net-script-callback.aspx.<br>Admittedly it is a little hacky but I think it works well for our purpose.<br>Read the article, but the jist is this:<p>Micorsofts callback javascript handler expects a response that either begins<br>with an 's' for success or 'e' for error. The authentication failure does<br>not return either of these<p>To get around you add a handler for the Application_AuthenticateRequest<br>event in the global.asax. In the handler, write a message to the response<br>the begins with an 'e' then you can redirect to the login page from within<br>the the Callback error javascript.Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com0tag:blogger.com,1999:blog-24870480.post-26348299746515809652007-03-14T07:01:00.001-07:002007-03-14T07:01:53.996-07:00Use Once DialogIn my post on Handling alerts in WATIN<br><<a href="http://tmichealson.blogspot.com/2007/01/handling-alerts-in-watin.html">http://tmichealson.blogspot.com/2007/01/handling-alerts-in-watin.html</a>> I<br>referenced a class called UseDialogOnce and did not show the code for it.<br>This is an adaptation of the one that is in the WATIN Unit tests file<br>IeAndMainDocument.cs<p>using System;<br>using WatiN.Core;<br>using WatiN.Core.DialogHandlers; <p>namespace Framework.UnitTesting<br>{ <p> public class UseDialogOnce : IDisposable<br> {<br> private DialogWatcher dialogWatcher;<br> private IDialogHandler dialogHandler;<p> public UseDialogOnce(DialogWatcher dialogWatcher,IDialogHandler<br>dialogHandler)<br> {<br> this.dialogWatcher = dialogWatcher;<br> this.dialogHandler = dialogHandler;<p> if (dialogWatcher != null)<br> {<br> dialogWatcher.Add(dialogHandler);<br> }<br> }<p> #region IDisposable Members<p><br> public void Dispose()<br> {<br> Dispose(true);<br> GC.SuppressFinalize(this);<br> return;<p> }<p> protected virtual void Dispose(bool managedAndNative) <br> {<br> dialogWatcher.Remove(dialogHandler);<p> dialogWatcher = null;<br> dialogHandler = null;<br> }Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com9tag:blogger.com,1999:blog-24870480.post-65830754249352212242007-03-07T07:09:00.001-08:002007-03-07T18:20:58.965-08:00NOVA Code Camp<span style="font-family:Default Sans Serif,Verdana,Arial,Helvetica,sans-serif;font-size:85%;"><span style="font-size:85%;color:#0000ff;"><p>There will be a Northern Virginia Code Camp on April 14</p><p>http://novacodecamp.org</p></span></span>Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com1tag:blogger.com,1999:blog-24870480.post-66413289592634926852007-02-07T05:09:00.000-08:002007-02-07T05:10:06.573-08:00Richmond Code CampThere will be another Richmond Code Camp on Sat. April 28.<p><a href="http://www.richmondcodecamp.org/default.aspx">http://www.richmondcodecamp.org/default.aspx</a><p><br>For those of you that don't know a Code Camp is really just a one day<br>conference. There will be five tracks and five sessions. They'll have<br>breakfast and lunch, and they'll givaway prizes. Best of all it's all FREE.<p>Hope to see you there.<p>TrevorTrevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com1tag:blogger.com,1999:blog-24870480.post-29884238922901082812007-01-29T10:58:00.001-08:002007-01-29T10:58:23.228-08:00FXCop Custom MSBuild TaskFXCop is great for checking code, and it's easy enough to run the command<br>line utility from MSBuild. This will run the analysis and produce a report<br>of all the issues, but this has no "teeth", that is, nothing makes anyone<br>look at the report and fix the issues. In order to have FXCop actually<br>break the build you need to write a custom task the following is an example<br>of a simple task that breaks the build if there are any issues. It does<br>need to be told where to find the report via the report location property<p><br>using System;<br>using System.Collections.Generic;<br>using System.Text;<br>using Microsoft.Build.Tasks;<br>using Microsoft.Build.Utilities;<br>using Microsoft.Build.Framework;<br>using System.IO;<br>using System.Reflection;<br>using System.Diagnostics;<br>using System.Xml;<p>namespace Framework.Build.CustomTasks<br>{<br> public class CheckFXCop : Task<br> {<p><br> private string _reportLocation;<p><br> [Required]<br> public string ReportLocation<br> {<br> get { return _reportLocation; }<br> set { _reportLocation = value; }<br> }<p> /// <summary><br> /// Executes the Task<br> /// </summary><br> /// <returns>true if the task successfully executed; otherwise,<br>false.</returns><br> public override bool Execute()<br> {<p> bool returnVal = true;<br> int numIssues = 0;<p> try<br> {<p> FileStream xmlFileStream = new<br>FileStream(this.ReportLocation, FileMode.Open);<p> XmlTextReader fxReport = new XmlTextReader(xmlFileStream);<p> while (fxReport.Read())<br> {<p> if (fxReport.LocalName == "Issue")<br> {<br> returnVal = false;<br> numIssues++;<br> }<p><br> }<p> if (!returnVal)<br> {<p> Log.LogError("There are " + numIssues.ToString() + "<br>FXCop issue(s). Please review the report");<p> }<p><br> return returnVal;<p> }<br> catch<br> {<br> return false;<p> }<p> }<p><br> }<br>}Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com3tag:blogger.com,1999:blog-24870480.post-79485034236546717882007-01-25T07:47:00.001-08:002007-05-30T16:44:53.011-07:00Handling alerts in WATINUpdate: I posted a response awhile ago as a new blog entry <a href="http://tmichealson.blogspot.com/2007/03/use-once-dialog.html">http://tmichealson.blogspot.com/2007/03/use-once-dialog.html</a><br /><br /><br /><br />One of the most common user interaction on a website is the javascript<br />"alert" funcions.<br />With a syntect of:<br /><p>alert('message'); <p>This function displays a message to the user and requires that they click a<br />button labeled OK before continuing. <p>Creating an automated test for a website that uses this poses a couple of<br />problems. First the is no DOM object<br />for the window, and second the window runs under a different thread then the<br />main browser window. Luckly any<br />web automation tool worth its salt will address both these issues and WATIN<br />is no exeption. The following code is an<br />example of how to use the alertdialog handler. <p><br />using( IE ie = new IE("<a href="http://hostname/pagename.htm">http://hostname/pagename.htm</a>"))<br />{ <p><br />AlertDialogHandler alertDialogHandler = new AlertDialogHandler ();<br />using (new UseDialogOnce(ie.DialogWatcher, alertDialogHandler ))<br />{ <p><br />/*************************************<br />* -- code to generate alert -- *<br />* *<br />* must use the "nowait" to allow *<br />* the code to goto the next line *<br />* *<br />*************************************/ <p>alertDialogHandler.WaitUntilExists();<br /><br /><br />alertDialogHandler.OKButton.Click(); <p><p>IE.WaitForComplete(); <p>} <p>}</p>Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com11tag:blogger.com,1999:blog-24870480.post-1658501348091138132007-01-24T18:38:00.000-08:002007-01-24T18:51:02.461-08:00WATIN vs WATIRI've been messing about with WATIR for awhile now and am very impressed. Very powerful, very flexible and I love any excuse to learn a new language (ruby). However, most of my coworkers do not share my thirst for knowledge. Nobody seamed interested in the amazing things that I was doing. Guess they were to busy getting the bug count down, forget that what I'm doing could keep it from getting high in the first place. Knowing this I've moved on to WATIN which so far seems to have most of the same features comes with an IDE and intellisense. Oh and lets not forget the US Navy and its list of approved software. The couple of DLLs that make up watin can be included in a project, but I don't think that an entire interpreter could be thought of in the same way.Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com5tag:blogger.com,1999:blog-24870480.post-43566715137378500982007-01-24T18:28:00.000-08:002007-01-24T18:30:31.040-08:00New BloggerSo I'm on the new blogger now. To be honest, I'm not sure what that means exactly. But hey, if it's new it must be better right?Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com0tag:blogger.com,1999:blog-24870480.post-1169528822757970562007-01-22T21:06:00.000-08:002007-01-22T21:07:02.773-08:00Super Hero ResultsYour results:<br /><b>You are <span style="font-size:6;">Green Lantern</span></b><br /><table><tr><td><table><tr><td>Green Lantern</td><br /><td><hr align="LEFT" size="4" width="70"></td><td> 70%</td><br /></tr><tr><td>Iron Man</td><br /><td><hr align="LEFT" size="4" width="70"></td><td> 70%</td><br /></tr><tr><td>Spider-Man</td><br /><td><hr align="LEFT" size="4" width="70"></td><td> 70%</td><br /></tr><tr><td>The Flash</td><br /><td><hr align="LEFT" size="4" width="65"></td><td> 65%</td><br /></tr><tr><td>Catwoman</td><br /><td><hr align="LEFT" size="4" width="60"></td><td> 60%</td><br /></tr><tr><td>Hulk</td><br /><td><hr align="LEFT" size="4" width="60"></td><td> 60%</td><br /></tr><tr><td>Superman</td><br /><td><hr align="LEFT" size="4" width="60"></td><td> 60%</td><br /></tr><tr><td>Robin</td><br /><td><hr align="LEFT" size="4" width="47"></td><td> 47%</td><br /></tr><tr><td>Supergirl</td><br /><td><hr align="LEFT" size="4" width="40"></td><td> 40%</td><br /></tr><tr><td>Batman</td><br /><td><hr align="LEFT" size="4" width="30"></td><td> 30%</td><br /></tr><tr><td>Wonder Woman</td><br /><td><hr align="LEFT" size="4" width="20"></td><td> 20%</td><br /></tr></table></td><br /><td>Hot-headed. You have strong <br />will power and a good imagination.<br /><br /><img src="http://www.thesuperheroquiz.com/pics/lantern2.jpg" /></td><br /></tr></table><a href="http://www.thesuperheroquiz.com/"><br />Click here to take the Superhero Personality Test</a><br />Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com0tag:blogger.com,1999:blog-24870480.post-1167236527997959872006-12-27T08:22:00.000-08:002006-12-27T08:22:08.033-08:00OpenXML The new Default format for Office 2007<p class="mobile-post"><br />> Despite my classification as a Developer at work, I often find myself<br />> doing research projects. In this case I was told to research how to<br />> generate Office Documents from the server. Then I'll have to write a<br />> whitepaper and do presentation. So far my research has lead me direclty<br />> to OpenXML the new default format for Office 2007. Now mind you there is<br />> no way on god's green earth that we will migrate to office 2007 but I'm of<br />> the opinion that we should use the format anyway. So I'll be spending the<br />> next couple of weeks writing a paper and trying to convience everyone<br />> (including myself) that OpenXML is the greatest thing since the invension<br />> of the wordproccesor.<br />> <br />> In case I acutlly have readers I'm gonna post some links and maybe the<br />> whitepaper when it done.<br />> <br />> T.<br />> <br />> <br />> MSDN Magazine: Server-Side Generation of Word 2007 Docs<br />> <br />> <http://msdn.microsoft.com/msdnmag/issues/06/11/BasicInstincts/> <br />> MSDN: Walkthrough: Word 2007 XML Format<br />> <http://msdn2.microsoft.com/en-us/library/ms771890.aspx><br />> MSDN: Introducing the Office (2007) Open XML File Format<br />> <http://msdn2.microsoft.com/en-us/library/aa338205.aspx><br />> ECMA: Office Open XML Overview<br />> <http://shrinkster.com/ku8><br />> </p>Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com0tag:blogger.com,1999:blog-24870480.post-1164046696192041712006-11-20T10:18:00.000-08:002006-11-20T10:18:16.230-08:00Linerider<div class=Section1> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'>This is sweet! I’m so not getting any work done this afternoon<o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'><a href="http://www.linerider.com/">http://www.linerider.com/</a><o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'>T<o:p></o:p></span></font></span></p> </div>Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com0tag:blogger.com,1999:blog-24870480.post-1163768205979451432006-11-17T04:56:00.000-08:002006-11-17T04:56:47.360-08:00Wrestling Season take 2<div class=Section1> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'>So, we had what I think is called a Nor’easter yesterday and they cancelled school activities so today will be my first day of practice<o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'>T<o:p></o:p></span></font></span></p> </div>Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com2tag:blogger.com,1999:blog-24870480.post-1163698915761985892006-11-16T09:41:00.000-08:002006-11-16T09:41:55.813-08:00Wrestling Season<div class=Section1> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'>I take up the post of Head Wrestling Coach at Hugo Owens Middle School today.<o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'>It’s going to be me and 50+ 7<sup>th</sup> and 8<sup>th</sup> graders.<span style="mso-spacerun: yes"> </span>May god have mercy on my soul.<o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'>T<o:p></o:p></span></font></span></p> </div>Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com0tag:blogger.com,1999:blog-24870480.post-1163131759405856112006-11-09T20:09:00.000-08:002006-11-09T20:09:19.446-08:00.Net 3.0 Released!<div class=Section1> <p class=MsoNormal><span class=EmailStyle18><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'>.Net 3.0, however poorly named, was released to market with full support today.<span style="mso-spacerun: yes"> </span>To bad the US Navy seams content to use Windows 2000 till the end of all time, maybe someday I’ll get to be cutting edge. Anyway, check it out.<o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle18><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle18><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'><a href="http://www.netfx3.com/">http://www.netfx3.com</a><o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle18><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle18><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p> <p class=MsoNormal><span class=EmailStyle18><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family: Arial'>T<o:p></o:p></span></font></span></p> </div>Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com0tag:blogger.com,1999:blog-24870480.post-1162305743598185582006-10-31T06:42:00.000-08:002006-10-31T06:42:23.596-08:00My Virtual PC Woes<div class=Section1> <div style='border:none;border-bottom:solid #DDDDDD 1.0pt;padding:0in 0in .25in 0in'> <p class=mobile-post style='border:none;mso-border-bottom-alt:solid #DDDDDD 1.0pt; padding:0in;mso-padding-alt:0in 0in .25in 0in'><font size=3 color="#333333" face=Verdana><span lang=EN style='font-size:12.0pt;font-family:Verdana; color:#333333;mso-ansi-language:EN'>I love <a href="http://www.microsoft.com/windows/virtualpc/default.mspx">Virtual PC</a>. It's a great place to install betas and screw with all kinds of OS features without fear of destroying your computer. But whenever I run a windows operating system on a virtual pc it runs slow. So slow that I can't really perform anything; well I've just read <a href="http://www.codinghorror.com/blog/archives/000714.html">the single most important virtual machine performance tip</a> and as it happens I just bought a new hard drive on sale. So, when I get home I'll installing that baby and moving my VHDs to it. I'll post again with any performance boosts<o:p></o:p></span></font></p> <p class=mobile-post style='border:none;mso-border-bottom-alt:solid #DDDDDD 1.0pt; padding:0in;mso-padding-alt:0in 0in .25in 0in'><font size=3 color="#333333" face=Verdana><span lang=EN style='font-size:12.0pt;font-family:Verdana; color:#333333;mso-ansi-language:EN'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></p> <p class=mobile-post style='border:none;mso-border-bottom-alt:solid #DDDDDD 1.0pt; padding:0in;mso-padding-alt:0in 0in .25in 0in'><font size=3 color="#333333" face=Verdana><span lang=EN style='font-size:12.0pt;font-family:Verdana; color:#333333;mso-ansi-language:EN'>T</span></font><font color=black><span lang=EN style='color:black;mso-ansi-language:EN'> </span></font><font color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p> </div> </div>Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com0tag:blogger.com,1999:blog-24870480.post-1162305396987928362006-10-31T06:36:00.000-08:002006-10-31T06:36:37.210-08:00My Virtual PC Woes<p class="mobile-post">I love Virtual PC <http://www.microsoft.com/windows/virtualpc/default.mspx>.<br />It's a great place to install betas and screw with all kinds of OS features<br />without fear of destroying your computer. But whenever I run a windows<br />operating system on a virtual pc it runs slow. So slow that I can't really<br />perform anything; well I've just read the single most important virtual<br />machine performance tip<br /><http://www.codinghorror.com/blog/archives/000714.html> and as it happens I<br />just bought a new hard drive on sale. So, when I get home I'll installing<br />that baby and moving my VHDs to it. I'll post again with any performance<br />boosts. </p><p class="mobile-post">T </p>Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com0tag:blogger.com,1999:blog-24870480.post-1160691688895201282006-10-12T15:21:00.000-07:002006-10-12T15:21:28.936-07:00Ubuntu LinuxI'm a windows guy. Always have been always will be. However, I like to see what the other side is like now and again. Usually when I want to scratch my Unix itch I turn to my old friend FreeBSD this is the Unix I used in collage and the one I'm most familiar with. This time though I heard about Ubuntu and their live CD, and I've got to tell you I'm really impressed. While I never really considered the actuall install process for Unix/Linux to be more difficult then Windows the configuration of Xwindows and the either the KDE or GNOME desktops can be quite a pain, VI and I don't get along. Ubuntu on the other hand has made the entire install and configuration so simple I'd go so far as to say it's easier then a windows install. They call it "Linux for human beings" and it lives up to its name.<br> <br> If you'd like to play with the penguin for awhile here's the scoop:<br> <br> First goto <a href="http://www.ubuntu.com/">www.ubuntu.com</a> and download the desktop ISO image,<br> and burn it to CD<br> <br> At this point you have several options<br> <br> Super Cool No Risk Ubuntu preview from Live CD<br> -Boot your machine from the CD<br> -Ubuntu will load into memory and allow you full access to the entire OS. This includes by default the GNOME desktop so even the most die hard of windows zealots should feel comfortable.<br> The OS will not mount your Hard Drive so there is no risk of corrupting your current system.<br> <br> Full Installation<br> If you have a spare machine, some unformatted space on your hard drive, or like me want to run from a <a href="http://www.microsoft.com/windows/virtualpc/default.mspx">Virtual PC</a> simply boot as before and click the install icon from the desktop.<br> A wizard will walk you through all steps needed to configure user accounts and netwoking<br> <br> <br> Ubuntu comes with a host of Free software pre-loaded the CD it really is a complete package, here's a small list of the included software:<br> <br> FireFox (Web Browser)<br> Evolution (Mail and Calendar)<br> OpenOffice (Word Processor, Spreadsheet, Presentation, etc..)<br> GIMP (Photo Editor)<br> Games<br> Multi-media Players<br> <br> <br> I Say Check it out. Catch Ya Later<br> <br> T<br> <br> <br> <br> <br>Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com0tag:blogger.com,1999:blog-24870480.post-1159569154038882612006-09-29T15:09:00.000-07:002006-09-29T15:32:34.123-07:00Refill your own Swifer WetJet CartridgesI'm not really a clean nut. However I was mopping the floor in my kitchen just now and had to swap out the solution container for our swifer wet jet and I had a thought. "I bet this could be refilled", I said to myself, and in fact it is very simple and easy. The cap screws off; it has some plastic bits in place to keep you from doing it, but with a pair of pliers it came right off, and will screw back on and off after that by hand. Fill with any floor cleaning solution<br /><br />If this seems silly or off topic see my post about operant conditioning<br /><br /><br />TTrevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com6tag:blogger.com,1999:blog-24870480.post-1158519403077089772006-09-17T11:56:00.000-07:002006-09-17T11:58:47.536-07:00Portable AppsI've always thought I'd be more organized with a PDA or smartphone but a couple of things have always keep me from getting one. First I'm to cheep to buy something I "think" I might use, and second I would loose or forget it so often as to be impractical. On an average week, my current cellphone spends about 2 weekdays and all weekend just sitting on my nightstand where it is of use to nobody. Now on the other hand my USB key comes with me everywhere I go, not because I think I need 256MB of storage where ever I go but because it is attached to my key chain and I can't get back into my house without it. This is where portable apps come in. A portable app is an computer application that does not need to be installed and configured to run, allowing it to run directly from a USB or other portable storage device. Most single .exe files will fall under this category, so things like <a href="http://www.flos-freeware.ch/notepad2.html">Notepad2</a> would be included. However what impresses me the most is at <a href="http://portableapps.com/">Portableapps.com</a> there is an entire library of application that normally would require installation but have been wraped in a launcher that allows them to be run directly from USB this include Firefox, Openoffice, Sunbird (mozilla calendar client), and Thunderbird (mozilla email client). equipped with this software my $20 USB drive becomes an 80% solution for a $300 PDA. Another way to look at it is; instead of just carrying your documents with you, know you can garentee that you have the ability to open them.<a href="http://www.flos-freeware.ch/notepad2.html"></a>Trevor Michealsonhttp://www.blogger.com/profile/01660038445542003911noreply@blogger.com0