<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.darrylbraaten.com/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>darrylbraaten.com</title><link>http://www.darrylbraaten.com/cs/blogs/default.aspx</link><description>&lt;P&gt;Software Development and System Architecture&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 (Build: 60809.935)</generator><item><title>http://downforeveryoneorjustme.com/</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2009/02/19/http_3A002F002F00_downforeveryoneorjustme.com_2F00_.aspx</link><pubDate>Thu, 19 Feb 2009 19:43:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6912</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>This is a very cool &lt;a href="http://downforeveryoneorjustme.com"&gt;service&lt;/a&gt;.&amp;nbsp; It lets you check if a site is reachable from their servers if you can&amp;#39;t get to it.&amp;nbsp; &lt;br /&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6912" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/networking/default.aspx">networking</category></item><item><title>AskTog has a new column first one in over a year</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2009/02/11/AskTog-has-a-new-column-first-one-in-over-a-year.aspx</link><pubDate>Wed, 11 Feb 2009 19:03:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6911</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;a href="http://www.asktog.com/columns/075AppleFlatlandPart1.html"&gt;Apple&amp;#39;s Flatland Aesthetic, Part1: The Mac&lt;/a&gt;  is pretty good.  It covers a lot of the difficulty I have with Apple&amp;#39;s OSX and iPhone. Actually his second article this year, I missed the first as I only check his site every few months.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Tog doesn&amp;#39;t publish very often but his articles are usually very good.  For usability guidance I also like to read &lt;a href="http://www.useit.com/alertbox/"&gt;Jacob Nielsen&amp;#39;s Alertbox&lt;/a&gt; articles. &lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6911" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/computers+apple/default.aspx">computers apple</category></item><item><title>Wow installed new video driver, no reboot</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2009/01/08/Wow-installed-new-video-driver_2C00_-no-reboot.aspx</link><pubDate>Fri, 09 Jan 2009 04:43:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6910</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>That was impressive.&amp;nbsp; &lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6910" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/computers/default.aspx">computers</category></item><item><title>W00t running Windows 7</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2009/01/08/W00t-running-Windows-7.aspx</link><pubDate>Fri, 09 Jan 2009 04:39:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6909</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>The upgrade did not work, but it seems to have installed on my second drive without breaking anything there. &lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6909" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/computers/default.aspx">computers</category></item><item><title>I seem to be upgraded</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/11/07/I-seem-to-be-upgraded_2E00_.aspx</link><pubDate>Fri, 07 Nov 2008 21:56:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6908</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I think it is finished, well sometime on Saturday it finished.&amp;nbsp; It would have been nice if there was some indication of progress during the upgrade. The black screen eventually went away and I could log in from the console.&amp;nbsp; For a while things stopped working, but that was because the upgrade activated the Windows Firewall which I had turned off.&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;While it was on the black screen I could remote desktop in, do somethings, but not start stopped services unless they started on boot. At some point&amp;nbsp; it activated the FW cutting off remote desktop and some things I was using, but not SQL server or IIS they survived the FW activation.&amp;nbsp; Possibly their installation automatically put in the correct FW rules. &lt;/p&gt;&lt;p&gt;Overall the upgrade went ok, but it took a really long time.&amp;nbsp; If I had the HW to spare I think it would have been better to install from scratch.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I am leaning to not finished yet.&amp;nbsp; The upgrade really needs some kind of progress bar.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Things are looking ok if a bit strange, and I am unsure if the upgrade is actually complete.&amp;nbsp; The strangeness is that the local console has a blank screen with only a mouse cursor, but I can remote desktop in without any problems.&amp;nbsp; The machine is running at 100% CPU so something might not be finished.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Things to note when doing an upgrade from Windows 2003 to 2008.&amp;nbsp; Run adprep before starting.&amp;nbsp; adprep can be found on the 2008 disc.&amp;nbsp; You may also need to set your Domain to&amp;nbsp; be 2003 native.&amp;nbsp; It seems that by default it is set to 2000 mixed. It can be changed via the AD domains and trusts program.&amp;nbsp; Also make sure all the remote desktop sessions are shut down, you will not be allowed to upgrade if there are multiple people logged in.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Things that are now working yet, Apache which I use for SVN, is not starting up. &amp;nbsp;&lt;/p&gt;&lt;p&gt;Things that are working, SQL 2005, my blog, and my site that prompted the upgrade.&amp;nbsp; Once it is finished enough for the public I will publish the url, for now it is private.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6908" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/computers/default.aspx">computers</category></item><item><title>Wish me luck, upgrading to Windows 2008</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/11/04/Wish-me-luck_2C00_-upgrading-to-Windows-2008.aspx</link><pubDate>Tue, 04 Nov 2008 23:41:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6907</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>
&lt;p&gt;If my server is offline for awhile this is why.&amp;nbsp; &lt;/p&gt;

&lt;p&gt;The reason I am upgrading is that the new stuff I am playing with i.e. ASP.NET MVC works much better on IIS7.&amp;nbsp; &lt;/p&gt;


&lt;pre&gt;                Total    Copied   Skipped  Mismatch    FAILED    Extras
     Dirs :       678       678         0         0         0         0
    Files :    218482    218482         0         0         0         0
    Bytes : 368.533 g 368.533 g         0         0         0         0
    Times :   9:41:17   9:38:01                       0:00:00   0:03:15
    Speed :            11409697 Bytes/sec.
    Speed :             652.868 MegaBytes/min.
    Ended : Wed Nov 05 01:34:50 2008
&lt;/pre&gt;
&lt;p&gt;Things are getting slower as my backup drive fills up&lt;/p&gt;

&lt;pre&gt;                Total    Copied   Skipped  Mismatch    FAILED    Extras
     Dirs :     15276     15276         0         0         0         0
    Files :    138615    138615         0         0         0         0
    Bytes : 104.223 g 104.223 g         0         0         0         0
    Times :   4:34:45   4:23:13                       0:00:00   0:11:32
    Speed :             7085832 Bytes/sec.
    Speed :             405.454 MegaBytes/min.
    Ended : Wed Nov 05 13:25:40 2008
&lt;/pre&gt;

&lt;pre&gt;                Total    Copied   Skipped  Mismatch    FAILED    Extras
     Dirs :      2400      2400         0         0         0         0
    Files :     31959     31959         0         0         0         0
    Bytes : 114.065 g 114.065 g         0         0         0         0
    Times :   2:34:44   2:32:51                       0:00:00   0:01:53

    Speed :            13354671 Bytes/sec.
    Speed :             764.160 MegaBytes/min.

    Ended : Wed Nov 05 19:22:19 2008
&lt;/pre&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6907" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/computers/default.aspx">computers</category></item><item><title>New Computer with 8GB RAM</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/09/16/New-Computer-with-8GB-RAM.aspx</link><pubDate>Tue, 16 Sep 2008 22:41:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6906</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I jumped a little ahead and didn&amp;#39;t wait for any price drops.&amp;nbsp; Boy am I happy with my new machine it is very very fast.&amp;nbsp; There have been a few minor issues with Vista 64bit but overall it has been good.&amp;nbsp; &lt;/p&gt;&lt;p&gt;I purchased it assembled from NCIX, just used there configuration on one of the higher end machines. &amp;nbsp; This way it cut down on the time needed to research individual parts.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1 x Intel Core 2 Duo E8500 Dual Core Processor LGA775 3.16GHZ Wolfdale 1333FSB 6MB Retail&lt;br /&gt;1 x Arctic Cooling Freezer 7 Pro LGA775 2500RPM 45CFM&lt;br /&gt;1 x EVGA Nforce 780I SLI LGA775 ATX 3PCI-E16 1PCI-E1 2PCI SATA2 RAID Sound GBLAN 1394 Motherboard&lt;br /&gt;2 x Corsair XMS2 DHX TWIN2X4096-6400C4DHX 4GB DDR2 2X2GB PC2-6400 DDR2-800 CL 4-4-4-12 240PIN Memory Kit&lt;br /&gt;1 x GeForce GTX 280 OEM 602MHZ 1024MB GDDR3 2.214GHZ PCI-E DVI-I &lt;br /&gt;1 x Antec P182 ATX Black Mid Tower Case 4X5.25 1X3.5 6X3.5INT No PS Front USB Audio Firewire&lt;br /&gt;1 x Corsair CMPSU-620HX 620W ATX Triple 12V 50A 24PIN ATX Modular Power Supply 120MM Fan&lt;br /&gt;1 x Microsoft Windows Vista Ultimate Edition 64BIT DVD OEM&lt;br /&gt;1 x Seagate Barracuda 7200.11 1000GB 1TB SATA2 7200RPM 32MB Cache NCQ Hard Drive OEM&lt;br /&gt;1 x LG GGC-H20L BLU-RAY HD-DVD Reader BD-ROM 6X HD DVD-ROM 3X DVD+-RW 16X8X6 DL 4X Black SATA Software&lt;br /&gt;1 x nGear Flash Card Reader 3.5IN Internal USB Black CF/SM/SD/MMC/MS/XD 18IN Cable Seperated Connectors&lt;br /&gt;1 x Microsoft Natural Ergonomic 4000 Keyboard &amp;amp; Mouse USB PS2 Black OEM Single Pack &lt;br /&gt;1 x Western Digital Velociraptor WD3000GLFS 300GB SATA2 10000RPM 5.5MS 16MB 3.5IN Hard Drive&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6906" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/computers/default.aspx">computers</category></item><item><title>StackOverflow is now live/open beta</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/09/16/StackOverflow-is-now-live_2F00_open-beta.aspx</link><pubDate>Tue, 16 Sep 2008 22:32:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6905</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>&lt;a href="http://stackoverflow.com"&gt;Stackoverflow &lt;/a&gt;is now live,&amp;nbsp; very cool.&amp;nbsp; Getting one of your answers marked best is great.&amp;nbsp; &lt;br /&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6905" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/Development/default.aspx">Development</category></item><item><title>Vista 64bit Experience </title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/09/08/Vista-64bit-Experience-.aspx</link><pubDate>Mon, 08 Sep 2008 17:56:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6904</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>&lt;strong&gt;The Good&lt;/strong&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Lots of Memory, my regular usage is just over 4GB, so no swapping with 8GB of real RAM. &amp;nbsp;&lt;/li&gt;&lt;li&gt;Most things work with out any issues.&amp;nbsp; This is much improved over my experience trying 64 bit in beta. &lt;/li&gt;&lt;li&gt;Very fast file transfers, between two my two main machines I got up to 50MB a second.&amp;nbsp; Drive to drive on the new machine I have gotten over 100MB a second for large files.&amp;nbsp; This is probably more this being a new faster machine then 64 bit. &amp;nbsp;&lt;/li&gt;&lt;li&gt;No problems with the games I have tried, but that hasn&amp;#39;t been many, or for very long.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;strong&gt;The Bad&lt;/strong&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Windows Easy Transfer doesn&amp;#39;t work, I was trying to move things from my old machine but it just crashes&lt;/li&gt;&lt;li&gt;&lt;strike&gt;Windows Media Player crashes on first run, the second time you run it, it works fine.&amp;nbsp; Microsoft blames nVidia and suggest new drivers, new drivers do nothing.&lt;/strike&gt;New drivers released Sept 12, 2008 fixed this issue. &lt;br /&gt;&lt;/li&gt;&lt;li&gt;Edit and continue doesn&amp;#39;t work in VS.NET for 64bit processes.&amp;nbsp; On the plus side it doesn&amp;#39;t matter to much because everything is so fast.&lt;/li&gt;&lt;/ul&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6904" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/Development/default.aspx">Development</category><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/Vista/default.aspx">Vista</category><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/computers/default.aspx">computers</category></item><item><title>StackOverflow is getting pretty good </title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/09/01/StackOverflow-is-getting-pretty-good-.aspx</link><pubDate>Mon, 01 Sep 2008 22:10:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6903</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>I got into the beta for stackoverflow.com a couple of weeks ago.&amp;nbsp; I have been answering a few questions and asking a few over that time.&amp;nbsp; Even with just shy of 4000 users it is a very effective place to get answers to your programming questions. &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
I was having trouble figuring out how to read directly from a device in .Net today so I decided to ask the question on stackoverflow. Within a few minutes I got the answer use CreateFile call in Win32, and the person helpfully linked to the MSDN article for CreateFile which had an example in it for what I wanted to do.&amp;nbsp; Surprisingly the offline MSDN article for CreateFile leaves out this information.&amp;nbsp; I had also forgotten that CreateFile is the master call for opening things in Win32, files, pipes, com ports, pretty much any device that moves bits around.&amp;nbsp; Though it is a bit hard to find it in the help if you don&amp;#39;t know that to open files you need to call create. &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With that information I was able to create a little program to read the information I needed.&amp;nbsp; &lt;br /&gt;

&lt;pre&gt;using System;&lt;br /&gt;using System.Runtime.InteropServices;&lt;br /&gt;using System.IO;&lt;br /&gt;using Microsoft.Win32.SafeHandles;&lt;br /&gt;namespace ReadFromDevice&lt;br /&gt;{&lt;br /&gt;    public class DeviceStream : Stream, IDisposable&lt;br /&gt;    {&lt;br /&gt;        public const short FILE_ATTRIBUTE_NORMAL = 0x80;&lt;br /&gt;        public const short INVALID_HANDLE_VALUE = -1;&lt;br /&gt;        public const uint GENERIC_READ = 0x80000000;&lt;br /&gt;        public const uint GENERIC_WRITE = 0x40000000;&lt;br /&gt;        public const uint CREATE_NEW = 1;&lt;br /&gt;        public const uint CREATE_ALWAYS = 2;&lt;br /&gt;        public const uint OPEN_EXISTING = 3;&lt;br /&gt;        // Use interop to call the CreateFile function.&lt;br /&gt;        // For more information about CreateFile,&lt;br /&gt;        // see the unmanaged MSDN reference library.&lt;br /&gt;        [DllImport(&amp;quot;kernel32.dll&amp;quot;, SetLastError = true, CharSet = CharSet.Unicode)]&lt;br /&gt;        private static extern IntPtr CreateFile(string lpFileName, uint dwDesiredAccess,&lt;br /&gt;          uint dwShareMode, IntPtr lpSecurityAttributes, uint dwCreationDisposition,&lt;br /&gt;          uint dwFlagsAndAttributes, IntPtr hTemplateFile);&lt;br /&gt;        [DllImport(&amp;quot;kernel32.dll&amp;quot;, SetLastError = true)]&lt;br /&gt;        private static extern bool ReadFile(&lt;br /&gt;            IntPtr hFile,                        // handle to file&lt;br /&gt;            byte[] lpBuffer,                // data buffer&lt;br /&gt;            int nNumberOfBytesToRead,        // number of bytes to read&lt;br /&gt;            ref int lpNumberOfBytesRead,    // number of bytes read&lt;br /&gt;            IntPtr lpOverlapped&lt;br /&gt;            //&lt;br /&gt;            // ref OVERLAPPED lpOverlapped        // overlapped buffer&lt;br /&gt;            );&lt;br /&gt;        private SafeFileHandle handleValue = null;&lt;br /&gt;        private FileStream _fs = null;&lt;br /&gt;        public DeviceStream(string device)&lt;br /&gt;        {&lt;br /&gt;            Load(device);&lt;br /&gt;        }&lt;br /&gt;        private void Load(string Path)&lt;br /&gt;        {&lt;br /&gt;            if (string.IsNullOrEmpty(Path))&lt;br /&gt;            {&lt;br /&gt;                throw new ArgumentNullException(&amp;quot;Path&amp;quot;);&lt;br /&gt;            }&lt;br /&gt;            // Try to open the file.&lt;br /&gt;            IntPtr ptr = CreateFile(Path, GENERIC_READ, 0, IntPtr.Zero, OPEN_EXISTING, 0, IntPtr.Zero);&lt;br /&gt;            handleValue = new SafeFileHandle(ptr, true);&lt;br /&gt;            _fs = new FileStream(handleValue, FileAccess.Read);&lt;br /&gt;            // If the handle is invalid,&lt;br /&gt;            // get the last Win32 error &lt;br /&gt;            // and throw a Win32Exception.&lt;br /&gt;            if (handleValue.IsInvalid)&lt;br /&gt;            {&lt;br /&gt;                Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error());&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;        public override bool CanRead&lt;br /&gt;        {&lt;br /&gt;            get { return true; }&lt;br /&gt;        }&lt;br /&gt;        public override bool CanSeek&lt;br /&gt;        {&lt;br /&gt;            get { return false; }&lt;br /&gt;        }&lt;br /&gt;        public override bool CanWrite&lt;br /&gt;        {&lt;br /&gt;            get { return false; }&lt;br /&gt;        }&lt;br /&gt;        public override void Flush()&lt;br /&gt;        {&lt;br /&gt;            return;&lt;br /&gt;        }&lt;br /&gt;        public override long Length&lt;br /&gt;        {&lt;br /&gt;            get { return -1; }&lt;br /&gt;        }&lt;br /&gt;        public override long Position&lt;br /&gt;        {&lt;br /&gt;            get&lt;br /&gt;            {&lt;br /&gt;                throw new NotImplementedException();&lt;br /&gt;            }&lt;br /&gt;            set&lt;br /&gt;            {&lt;br /&gt;                throw new NotImplementedException();&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;        /// &amp;lt;summary&amp;gt;&lt;br /&gt;        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;        /// &amp;lt;param name=&amp;quot;buffer&amp;quot;&amp;gt;An array of bytes. When this method returns,&lt;/pre&gt;&lt;pre&gt; the buffer contains the specified byte array with the values between offset and &lt;br /&gt;        /// (offset + count - 1) replaced by the bytes read from the current source. &amp;lt;/param&amp;gt;&lt;br /&gt;        /// &amp;lt;param name=&amp;quot;offset&amp;quot;&amp;gt;The zero-based byte offset in buffer at which to begin storing the&lt;/pre&gt;&lt;pre&gt; data read from the current stream. &amp;lt;/param&amp;gt;&lt;br /&gt;        /// &amp;lt;param name=&amp;quot;count&amp;quot;&amp;gt;The maximum number of bytes to be read from the current stream.&amp;lt;/param&amp;gt;&lt;br /&gt;        /// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&lt;br /&gt;        public override int Read(byte[] buffer, int offset, int count)&lt;br /&gt;        {&lt;br /&gt;            int BytesRead =0;&lt;br /&gt;            var BufBytes = new byte[count];&lt;br /&gt;            if (!ReadFile(handleValue.DangerousGetHandle(), BufBytes, count, ref BytesRead, IntPtr.Zero))&lt;br /&gt;            {&lt;br /&gt;                Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error());&lt;br /&gt;            }&lt;br /&gt;            for (int i = 0; i &amp;lt; BytesRead; i++)&lt;br /&gt;            {&lt;br /&gt;                buffer[offset + i] = BufBytes&lt;img src="http://www.darrylbraaten.com/cs/emoticons/emotion-55.gif" alt="Idea" /&gt;;&lt;br /&gt;            }&lt;br /&gt;            return BytesRead;&lt;br /&gt;        }&lt;br /&gt;        public override int ReadByte()&lt;br /&gt;        {&lt;br /&gt;            int BytesRead = 0;&lt;br /&gt;            var lpBuffer = new byte[1];&lt;br /&gt;            if (!ReadFile(&lt;br /&gt;            handleValue.DangerousGetHandle(),                        // handle to file&lt;br /&gt;            lpBuffer,                // data buffer&lt;br /&gt;            1,        // number of bytes to read&lt;br /&gt;            ref BytesRead,    // number of bytes read&lt;br /&gt;            IntPtr.Zero&lt;br /&gt;            ))&lt;br /&gt;            { Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error()); ;}&lt;br /&gt;            return lpBuffer[0];&lt;br /&gt;        }&lt;br /&gt;        public override long Seek(long offset, SeekOrigin origin)&lt;br /&gt;        {&lt;br /&gt;            throw new NotImplementedException();&lt;br /&gt;        }&lt;br /&gt;        public override void SetLength(long value)&lt;br /&gt;        {&lt;br /&gt;            throw new NotImplementedException();&lt;br /&gt;        }&lt;br /&gt;        public override void Write(byte[] buffer, int offset, int count)&lt;br /&gt;        {&lt;br /&gt;            throw new NotImplementedException();&lt;br /&gt;        }&lt;br /&gt;        public override void Close()&lt;br /&gt;        {&lt;br /&gt;            handleValue.Close();&lt;br /&gt;            handleValue.Dispose();&lt;br /&gt;            handleValue = null;&lt;br /&gt;            base.Close();&lt;br /&gt;        }&lt;br /&gt;        private bool disposed = false;&lt;br /&gt;        new void Dispose()&lt;br /&gt;        {&lt;br /&gt;            Dispose(true);&lt;br /&gt;            base.Dispose();&lt;br /&gt;            GC.SuppressFinalize(this);&lt;br /&gt;        }&lt;br /&gt;        private new void Dispose(bool disposing)&lt;br /&gt;        {&lt;br /&gt;            // Check to see if Dispose has already been called.&lt;br /&gt;            if (!this.disposed)&lt;br /&gt;            {&lt;br /&gt;                if (disposing)&lt;br /&gt;                {&lt;br /&gt;                    if (handleValue != null)&lt;br /&gt;                    {&lt;br /&gt;                        _fs.Dispose();&lt;br /&gt;                        handleValue.Close();&lt;br /&gt;                        handleValue.Dispose();&lt;br /&gt;                        handleValue = null;&lt;br /&gt;                    }&lt;br /&gt;                }&lt;br /&gt;                // Note disposing has been done.&lt;br /&gt;                disposed = true;&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Linq;&lt;br /&gt;using System.Text;&lt;br /&gt;using System.IO;&lt;br /&gt;namespace ReadFromDevice&lt;br /&gt;{&lt;br /&gt;    class Program&lt;br /&gt;    {&lt;br /&gt;        private const int MB = 1024*1024;&lt;br /&gt;        static void Main(string[] args)&lt;br /&gt;        {&lt;br /&gt;            var reader = new BinaryReader(new DeviceStream(@&amp;quot;\\.\PhysicalDrive3&amp;quot;));&lt;br /&gt;            var writer = new BinaryWriter(new FileStream(@&amp;quot;g:\test.dat&amp;quot;, FileMode.Create));&lt;br /&gt;            var buffer = new byte[MB];&lt;br /&gt;            int count;&lt;br /&gt;            int loopcount=0;&lt;br /&gt;            try{&lt;br /&gt;                while((count=reader.Read(buffer,0,MB))&amp;gt;0)&lt;br /&gt;                {&lt;br /&gt;                    writer.Write(buffer,0,count);&lt;br /&gt;                    System.Console.Write(&amp;#39;.&amp;#39;);&lt;br /&gt;                    if(loopcount%100==0)&lt;br /&gt;                    {&lt;br /&gt;                        System.Console.WriteLine();&lt;br /&gt;                        System.Console.WriteLine(&amp;quot;100MB written&amp;quot;);&lt;br /&gt;                        writer.Flush();&lt;br /&gt;                    }&lt;br /&gt;                    loopcount++;&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;            catch(Exception e)&lt;br /&gt;            {&lt;br /&gt;                Console.WriteLine(e.Message);&lt;br /&gt;            }&lt;br /&gt;            reader.Close();&lt;br /&gt;            writer.Flush();&lt;br /&gt;            writer.Close();&lt;br /&gt;        }&lt;br /&gt;        &lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6903" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/Development/default.aspx">Development</category></item><item><title>DD-WRT v24 SP1 is very cool</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/08/28/DD_2D00_WRT-v24-SP1-is-very-cool.aspx</link><pubDate>Thu, 28 Aug 2008 17:54:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6900</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I just upgraded from v23 SP2 to the new v24 SP1 firmware from &lt;a href="http://www.dd-wrt.com/dd-wrtv3/index.php"&gt;dd-wrt&lt;/a&gt;.&amp;nbsp;&amp;nbsp; I am hoping my internet connection is more stable with the new release, since I moved I have been having intermittent issues where the connection drops for a few seconds throughout the day.&amp;nbsp; Dd-wrt doesn&amp;#39;t seem to produce comprehensive release notes so here is my list of things I like in the new version.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;MAC address are linked to the IEEE vendor &lt;a href="http://standards.ieee.org/cgi-bin/ouisearch?00-16-B6"&gt;search&lt;/a&gt; so you can click on a MAC address and find the &lt;a href="http://standards.ieee.org/cgi-bin/ouisearch?00-19-5B"&gt;vendor&lt;/a&gt; of the Ethernet card.&amp;nbsp; &lt;br /&gt;&lt;/li&gt;&lt;li&gt;There is now a bandwidth monitor with a very cool &lt;a href="http://www.darrylbraaten.com/cs/photos/blog_0/images/6902/original.aspx"&gt;scrolling graph&lt;/a&gt;, three graphs actually LAN, WAN &amp;amp; wireless. &lt;/li&gt;&lt;li&gt;Active IP Connections now has a popup that lists all the connections. It would be nicer if you could sort by connection type, all the stale connections are not so interesting.&amp;nbsp; &lt;br /&gt;&lt;/li&gt;&lt;li&gt;There is a traffic counter for the wan link, in the last 32 minutes I have downloaded 8MB and uploaded 1MB of stuff. And a bit more in the &lt;a href="http://www.darrylbraaten.com/cs/photos/blog_0/images/6901/original.aspx"&gt;picture&lt;/a&gt;. &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;That is all the flashy stuff they added.&amp;nbsp; Other things that I am interested in that look improved are VPN support, and hopefully a fix for my mysterious network issues.&amp;nbsp; My ISP says no issue on their end, not that they are trust worthy in that regard.&amp;nbsp; And I can&amp;#39;t really phone them up when the connection goes down because it would be back up before I would be able to get through to anyone.&amp;nbsp;&amp;nbsp; So I am crossing my fingers that the problem is on my end and therefore fixable. &amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6900" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/computers/default.aspx">computers</category><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/networking/default.aspx">networking</category></item><item><title>Trying hard to justify a new computer </title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/08/12/Trying-hard-to-justify-a-new-computer-.aspx</link><pubDate>Tue, 12 Aug 2008 23:10:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6899</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>Going over my receipts for the last year in preparation for doing my taxes I realized I haven&amp;#39;t upgraded my computer in a couple of years.&amp;nbsp; My current machine is almost 4 years old, but since I first bought it I have upgraded the CPU and video card.&amp;nbsp; The CPU is a AMD 4400+ and can&amp;#39;t really be upgraded again since AMD changed the chip socket since after I bought my motherboard.&amp;nbsp; My video card is a 7950 GX2 which I went a little overboard on when I bought it, I wanted one a couple models down but it was the only one actually purchasable when I was shopping. &amp;nbsp;&lt;br /&gt;&lt;br /&gt;Looking at what is out now, nVidia has their new GTX 280 cards at the high end, but Tom&amp;#39;s Hardware doesn&amp;#39;t have it in their GPU comparison chart yet they are missing the prior 9000 series cards also.&amp;nbsp; My current card is still fast compared to the other cards on the chart.&amp;nbsp; It is also really hard to make direct comparisons as all the review sites always use the latest hardware when looking at video cards, even the resolutions tested are now going up, the old standard was 1024x768 but most monitors now support much higher resolutions, I currently run everything at 1920x1200 for example.&amp;nbsp; Making even manual comparisons between the 7950gx2 from the chart and the latest gtx 280 review impossible. &amp;nbsp;&lt;br /&gt;&lt;br /&gt;Looking at Tom&amp;#39;s CPU charts comparing my 4400+ to the E8500 Intel processors it looks like things are looking up.&amp;nbsp; Most of the benchmarks show the current generation of CPU&amp;#39;s having double or more the performance of the 4400+, and the 4400+ they are using is a slightly better version then the one I have, or at least it has the new socket.&amp;nbsp;&amp;nbsp; PC Mark CPU for example the 4400 rates 4531 and the E8500 gets 8103, almost double.&amp;nbsp; But for the Windows Experience Index the 4400 rates 5.2 and the E8500 5.9. On my actual machine I get 5.0 for the 4400+.&amp;nbsp; Processor and memory are my two lowest scores at 5.0. &amp;nbsp;&lt;br /&gt;&lt;br /&gt;One irony is while I focus on video cards quite a bit while shopping for a new computer is that I don&amp;#39;t really play games on my desktop anymore.&amp;nbsp; A little playing around with Age of Conan, and I will probably play Spore when it comes out in Sept. But it is really more of a work machine.&amp;nbsp; It might also be time to try ATI cards again I have had bad experiences with them in the past and have found nVidia to support their cards much better.&amp;nbsp; I don&amp;#39;t know if things have changed since AMD bought them a couple of years ago. The Radeon HD 4870 compares quite well to the GTX 280 and is much cheaper, about the same prices as the GTX 260. &lt;br /&gt;&lt;br /&gt;One thing I will do for sure with a new machine is run a 64bit install of Vista, my current machine has 3G of memory not all of it is usable as my video card takes up 1G of address space on it&amp;#39;s own.&amp;nbsp; With 64bit Vista I will be able to have 4G or more of memory and have the machine use it all. Most of the time memory is not an issue but if I need to run a virtual machine to play around with stuff it is.&amp;nbsp; I have been using my server for VM&amp;#39;s but it only has 2G of memory which limits my VM memory size a lot.&amp;nbsp; When playing around with Commerce Server 2008 it likes 1G on its own for example. &amp;nbsp;&lt;br /&gt;&lt;br /&gt;Most of my research was done on &lt;a href="http://www.tomshardware.com"&gt;www.tomshardware.com&lt;/a&gt; I also like &lt;a href="http://www.anantech.com"&gt;www.anandtech.com&lt;/a&gt;&lt;a href="http://www.anantech.com"&gt; &lt;/a&gt;but their site is really slow and &lt;a href="http://www.extremetech.com"&gt;www.extremetech.com&lt;/a&gt;. &amp;nbsp;&lt;br /&gt;&lt;br /&gt;I will look at things in another three months or so and see if I can put together a machine I like for under $2000, pricing out everything I would like seems to be hitting between 2200-2600 right now.&amp;nbsp; Three months might give me another CPU or GPU generation to evaluation also. &amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6899" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/gaming/default.aspx">gaming</category><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/computers/default.aspx">computers</category></item><item><title>Unit Testing with Linq to Sql </title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/07/18/Unit-Testing-with-Linq-to-Sql-.aspx</link><pubDate>Fri, 18 Jul 2008 20:02:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6898</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I am working on a small personal project to learn some new things.&amp;nbsp; One my objectives is to follow the test first methodology. Something I just discovered was using SQLExpress to dynamically create databases on the fly, which makes setting up unit tests really easy. You can provide a connection string to a local database create it and add any data required for testing.&amp;nbsp; When you are finished just delete the database.&lt;br /&gt;
&lt;br /&gt;
Using Nunit you can structure your tests in a couple of ways, you can have a setup per class, or you can do setup per test. This is accomplished with the TestFixtureSetUp, and SetUp attributes respectively.&amp;nbsp; When doing setup you should also do clean up, this is done via TestFixtureTearDown, and TearDown.&lt;br /&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private CollectionsDataContext db = null;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
[TestFixtureSetUp]&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public void SetupTests()&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; db = new CollectionsDataContext(Utilities.CollectionDb);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(db.DatabaseExists())&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; db.DeleteDatabase();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; db.CreateDatabase();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var user = new aspnet_User&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplicationId = System.Guid.NewGuid(),&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserId = System.Guid.NewGuid(),&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserName = &amp;quot;TestUser&amp;quot;,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LastActivityDate = DateTime.Now,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LoweredUserName = &amp;quot;testuser&amp;quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; db.aspnet_Users.InsertOnSubmit(user);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; db.SubmitChanges();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
[TestFixtureTearDown]&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public void Cleanup()&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; db.DeleteDatabase();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;
[Test]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void GetUser()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var user = from u in db.aspnet_Users select u;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (var user1 in user)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Assert.AreSame(&amp;quot;TestUser&amp;quot;,user1.UserName);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;br /&gt;
&lt;/code&gt;
One thing not to do is delete the database from the file system, it will then be in never never land. Using the Linq DeleteDatabase method removed the files from removed the files from the file system.&lt;br /&gt;
&lt;br /&gt;
The database location is pulled from the app.config which currently looks like this for the Nunit tests.&lt;br /&gt;
&lt;code&gt;
&amp;lt;connectionStrings&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name=&amp;quot;CollectionLib.Properties.Settings.CollectionsConnectionString&amp;quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; connectionString=&amp;quot;e:\temp\collections2.mdf&amp;quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; providerName=&amp;quot;System.Data.SqlClient&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/connectionStrings&amp;gt;&lt;br /&gt;
&lt;/code&gt;
&lt;br /&gt;
In the actual application it will point to a database on a server.&lt;/p&gt;&lt;code&gt;&lt;/code&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6898" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/Development/default.aspx">Development</category></item><item><title>Integrated Testing with NUnit; Resharper or TestMatrix</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/07/17/Integrated-Testing-with-NUnit-Resharper-or-TestMatrix.aspx</link><pubDate>Thu, 17 Jul 2008 22:07:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6897</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Update: I decided to go with Resharper. It is just a bit slicker then TestMatrix, and I decided the refactoring tools are worth more then the profiling tools in TestMatrix.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;For some reason if you have the Architects version of Visual Studio you are not allowed to write unit tests with Visual Studio.&amp;nbsp; I guess Microsoft things that Architects shouldn&amp;#39;t test the code they write.&amp;nbsp; On one of my past projects I used both Nunit, and the Microsoft test framework.&amp;nbsp; The Microsoft framework is not as large as Nunit, but it looks like it does everything that I need.&amp;nbsp; But because it is currently unavailable to me I am using Nunit for a new project I am starting. &amp;nbsp;&lt;br /&gt;&lt;br /&gt;One thing that I don&amp;#39;t like about Nunit is does not have any Visual Studio integration by default. This makes it rather tedious to use.&amp;nbsp; Previously I have used a free version of JetBrains Resharper to get around this. JetBrains doesn&amp;#39;t seem to offer the free version anymore.&amp;nbsp; Resharper does a bunch of other things in addition to running unit tests, actually unit tests seems to be one of its minor features.&amp;nbsp; Resharper costs $199.&amp;nbsp; Looking around the net for other solutions one that came up the most was TestMatrix by ExactMagic, actually what comes up is TestRunner, TestMatrix is the most resent version, it clocks in at $129.&lt;br /&gt;&lt;br /&gt;My decision now is between, Resharper a refactoring, best practice enforcing tool, or a dedicated unit testing plugin, that does a little profiling and code coverage. &amp;nbsp;&lt;br /&gt;&lt;br /&gt;Resharper Pros&lt;br /&gt;Full Refactoring tool&lt;br /&gt;Suggests best practices for you to follow&lt;br /&gt;Run individual tests from an icon in the coding window.&lt;br /&gt;Will run tests marked ignore if you explicitly run them.&lt;br /&gt;Resharper Cons&lt;br /&gt;The old version anyway slowed VS down a lot.&amp;nbsp; Not sure about the new version yet.&lt;br /&gt;Profiling is a $199 add on.&lt;br /&gt;&lt;br /&gt;TestMatrix Pros&lt;br /&gt;Code coverage&lt;br /&gt;Profiling is included&lt;br /&gt;Nice visual around tests showing their success or failure.&lt;br /&gt;TestMatrix Cons&lt;br /&gt;Can not manually run tests marked ignore&lt;br /&gt;No in editor icons for running tests&lt;br /&gt;&lt;br /&gt;Decisions decisions, resharper is very cool. I like being able to run individual tests even if they are marked ignore. Though this is probably not a best practice, I tend to write utilize these as debug entry points that do something I wouldn&amp;#39;t normally do in a test.&amp;nbsp; TestMatrix has profiling, something I really like, but there are free profilers out there that give pretty good results(Nprof). &amp;nbsp;&lt;/p&gt;&lt;p&gt;I have a few days on the free trials and will add pros and cons and I find them. &amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6897" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/Development/default.aspx">Development</category></item><item><title>The power of + and how it can mess you up</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/06/11/The-power-of-_2B00_-and-how-it-can-mess-you-up.aspx</link><pubDate>Wed, 11 Jun 2008 20:21:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6895</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;One really handy feature on cell phones is that you can prefix the country code with + and the phone will dial the number for you correctly for local calls and long distance.&amp;nbsp; i.e. to call me you would start with +1604&amp;hellip; 1 being the country code for Canada.&amp;nbsp; &lt;/p&gt;&lt;p&gt;One of my friends was updating his new number on my cell phone a while ago, he missed entering the country code, resulting in the area code of 250 being the country code.&amp;nbsp; What county is 250?&amp;nbsp; Rwanda.&amp;nbsp; So I must have woken up some poor guy in Rwanda trying to get a hold of my friend later that day. Luckily Fido has per second billing so it didn&amp;#39;t cost me too much.&lt;/p&gt;&lt;p&gt;Moral of the story, double check phone numbers that someone else updates in your phone.&amp;nbsp; &lt;/p&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6895" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/misc/default.aspx">misc</category></item><item><title>I am now on twitter</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/05/28/I-am-now-on-twitter.aspx</link><pubDate>Wed, 28 May 2008 17:46:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6894</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Thought I would try it out to see what all the fuss is over.&amp;nbsp; Still seems kind of lame to me.&amp;nbsp; &lt;/p&gt;&lt;p&gt;&lt;a href="http://twitter.com/darryl42"&gt;http://twitter.com/darryl42&lt;/a&gt; &lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6894" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/misc/default.aspx">misc</category></item><item><title>Getting a Liquor license</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/05/27/Getting-a-Liquor-license.aspx</link><pubDate>Tue, 27 May 2008 21:01:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6893</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I should have started chronicling this from the beginning.&amp;nbsp; Time line to date.&amp;nbsp; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;Feb &amp;amp; March, decide we should get a liquor license, including surveying customers. &lt;/li&gt;&lt;li&gt;March get Serving it Rite certification, if you own more then 10% of a restaurant you need one.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;April fill in all the paperwork, send it in.&lt;/li&gt;&lt;li&gt;Late April find out because the lease isn&amp;#39;t in the company name we can&amp;#39;t &amp;quot;prove&amp;quot; that is our location.&amp;nbsp;&lt;/li&gt;&lt;li&gt;May 1, phone lawyers in Kelowna to figure out how to change the lease&lt;/li&gt;&lt;li&gt;May 2nd deliver paperwork to the lawyer to begin work, estimated to take 3-5 hours of billable time&lt;/li&gt;&lt;li&gt;May 27th wondering if we should have used a different lawyer.&amp;nbsp;&amp;nbsp;&lt;/li&gt;&lt;li&gt;May 27th Lawyer finished, waiting for landlord to sign new lease papers&lt;/li&gt;&lt;li&gt;June 12th Landlord signed new lease after extorting $700 for doing so&lt;/li&gt;&lt;li&gt;June 16th Cheque cashed&lt;/li&gt;&lt;li&gt;June 19th Lease faxed to person who will look at it.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;With any luck we will have the license just in time for the fall rush, oh wait there is no fall rush.&amp;nbsp; &lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6893" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/elgato/default.aspx">elgato</category></item><item><title>Getting Rid of Books is hard</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/05/24/Getting-Rid-of-Books-is-hard.aspx</link><pubDate>Sun, 25 May 2008 05:06:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6892</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Do I really need:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Turbo Assembler 3.0&lt;/li&gt;&lt;li&gt;The X Window System Programming and Applications with XT&lt;/li&gt;&lt;li&gt;X Window Applications Programming&lt;/li&gt;&lt;li&gt;Using X&lt;/li&gt;&lt;li&gt;PC Interrupts&lt;/li&gt;&lt;li&gt;and many more&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;I don&amp;#39;t think I have looked at any of them in over 10 years, they are almost books historical record now.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Oh well off to the trash. &lt;/p&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6892" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/misc/default.aspx">misc</category><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/Development/default.aspx">Development</category><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/computers/default.aspx">computers</category></item><item><title>GT 5: Prologue</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/04/24/GT-5_3A00_-Prologue.aspx</link><pubDate>Thu, 24 Apr 2008 19:06:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6888</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I bought GT5: Prologue last week, what a disappointment.&amp;nbsp;&amp;nbsp; There has been a lot of cries on the interwebs that it was just a demo an not worth purchasing, usually citing the limited number of tracks (6)and cars (60+). Which are in fact smaller numbers of cars and tracks from other GT games, but that didn&amp;#39;t bother me to much, the demo from last year had a couple cars and one track.&amp;nbsp; What I never noticed in any of the reviews or name calling was that GT5: Prologue is missing the one thing that makes a GT game a GT game, there is no tuning.&amp;nbsp; &lt;/p&gt;&lt;p&gt;In a normal GT game the first thing you do after buying your first car is to go a put a chip in it or change the exhaust, usually the two cheapest things you can do to add more horse power to your car.&amp;nbsp; In GT5:Prologue there is no purchasing of parts, it is just an arcade racer.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Once you get through the main game, levels C, B, and A the end credits roll and the S class opens up.&amp;nbsp; On the S class races there is a tuning menu that lets you change the HP and weight of your car from a single screen.&amp;nbsp; But this is just so you can try and get your car to match the other cars in the race, rather then build some obscene&amp;nbsp; monstrosity with 1000HP and no brakes, which is where all the fun is.&amp;nbsp; &lt;/p&gt;&lt;p&gt;One review I read said that the average winnings per race was only 30k, which means it takes a lot of time to get the money required for all the specific cars you need.&amp;nbsp; This isn&amp;#39;t actually correct, the average per race is closer to 10k, only the S class races give you 30K, which you can only get to once you are finished. Probably the best race is one with a 7.5k pot since you can win it in under a 1:10. But it is pretty hard to win so normally it is 5k a run. Rerunning races is very quick so there is minimal downtime to do it again.&amp;nbsp; There might be a couple of races that make more money if you are a better driver then I am, but when you are grinding cash easy races are the best.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;What is there is entertaining if you like driving games.&amp;nbsp; The online races seem to work ok, there is a nifty feature where if you are out of control your car phases out as to not mess up other drivers which fixes most of the griefing that can happen in a racing game.&amp;nbsp; But keep in mind it is more of an arcade racer then the prior GT games.&amp;nbsp; Which makes the inclusion of an arcade mode even strange&amp;nbsp; since they are the exact same races as the normal races you just don&amp;#39;t get any money for winning. &lt;/p&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6888" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/gaming/default.aspx">gaming</category></item><item><title>HD OTA Experiment</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/03/31/HD-OTA-Experiment.aspx</link><pubDate>Mon, 31 Mar 2008 22:34:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6887</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Rumor has it that Shaw heavily compresses the HD channels making them look horrible whenever there are any scenes with motion.&amp;nbsp; I had heard that there are some HD channels available over the air (OTA) in&amp;nbsp; Vancouver, if I can receive any of them they should look better then what Shaw provides in theory.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Step one of the experiment,&amp;nbsp; Google research.&amp;nbsp; Google proved to be not very encouraging.&amp;nbsp; Most of the things I found were from a few years ago, and being downtown there is a high chance that I will not get anything.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Step two, is my TV able to receive OTA HD signals.&amp;nbsp; I figured it was since it is pretty new, but most of the digital TV stuff on the web is for the US.&amp;nbsp; After digging up the manual I was able to determine that it probably could receive OTA HD signals.&amp;nbsp; The acronym to look for seems to be &lt;a href="http://en.wikipedia.org/wiki/ATSC_Standards"&gt;ATSC&lt;/a&gt;, Advanced Television Systems Committee.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Step three, get an antenna.&amp;nbsp; Radio Shack, sorry The Source, seems to be the only place selling antennas.&amp;nbsp;&amp;nbsp; I picked up an amplified antenna which the salesman assured me would be no better then plain rabbit ears.&amp;nbsp; He almost had me convinced I would not getting any reception downtown and suggested I get cable instead.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Once I had all the pieces in place it was time to see if I could get anything.&amp;nbsp; First hurdle to overcome, the cable from the antenna was to short setting the antenna directly in front of the TV didn&amp;#39;t seem like a good idea.&amp;nbsp; Luckily I had an old splitter and some extra cables, using the splitter also allowed me to hookup the digital and the old style antenna jacks at the same time.&amp;nbsp; The second problem,&amp;nbsp; no reception, after carefully reading the TV manual another time it was found that to enable digital reception you must hit the D/A button on the remote.&amp;nbsp; Success I can receive CBC OTA.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Now to see if it looks any different then the CBC feed on Shaw.&amp;nbsp; This afternoon there was just some talk show both the Shaw feed and the OTA feed looked about the same.&amp;nbsp; The OTA feed drops out ever so often, I think this may be because I am getting the signal via a bounce from another building, as according for an forum post I found the transmitter is in the opposite direction from where I have the antenna pointed.&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;So if you live downtown you might be able to get at least once OTA HD channel.&amp;nbsp; It was an interesting experiment, now I just need to decide if I want to keep the antenna or return it.&amp;nbsp; It might be worth while to wait for movie to come on, or something else with a bit of movement and see if motion is handled better.&amp;nbsp; One last comment, the amplifier on the antenna does seem to work I need to have it turned all the way up to receive anything.&lt;/p&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6887" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/HD/default.aspx">HD</category></item><item><title>Note to Self: exec sp_change_users_login</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/03/28/Note-to-Self_3A00_-exec-sp_5F00_change_5F00_users_5F00_login.aspx</link><pubDate>Fri, 28 Mar 2008 20:31:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6886</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Why SQL Server doesn&amp;#39;t do this automaticly escapes me.&amp;nbsp; If you ever restore a database you end up with a bunch of users in your database, and a bunch of users defined on your database server (well only if they were already on the server).&amp;nbsp; But they are broken half users.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Invaribly I spend half an hour trying to remember the name of the stored procedure that fixes this up when ever I restore a database.&amp;nbsp; &lt;/p&gt;&lt;p&gt;This post is so I can find it quicker.&amp;nbsp; &lt;/p&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6886" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/Development/default.aspx">Development</category></item><item><title>Wii Mote Head tracking</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/01/27/Wii-Mote-Head-tracking.aspx</link><pubDate>Sun, 27 Jan 2008 18:46:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6885</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>&amp;nbsp; &lt;p style="font-size:11pt;margin:0in;font-family:Calibri;"&gt;If you don&amp;#39;t read &lt;a href="http://www.penny-arcade.com/2008/01/23"&gt;Penny Arcade&lt;/a&gt; you may have missing &lt;a href="http://www.cs.cmu.edu/~johnny/projects/wii/"&gt;this&lt;/a&gt;.&lt;span&gt;&amp;nbsp; &lt;/span&gt;It is pretty cool.&lt;span&gt;&amp;nbsp; &lt;/span&gt;I playing around with it a little.&lt;span&gt;&amp;nbsp; &lt;/span&gt;If you don&amp;#39;t want to move your senor bar as he suggests, just multiply things&lt;span&gt;&amp;nbsp; &lt;/span&gt;by -1 to flip things around and use the remote instead.&lt;span&gt;&amp;nbsp; &lt;/span&gt;The default Vista Bluetooth drivers work with the Wii remote so there is no need to use the suggested third party Bluetooth stack. &lt;/p&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6885" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/Development/default.aspx">Development</category><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/Vista/default.aspx">Vista</category><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/computers/default.aspx">computers</category></item><item><title>HD is way to complicated</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/01/13/HD-is-way-to-complicated.aspx</link><pubDate>Sun, 13 Jan 2008 20:25:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6884</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;[Update] Just found a nice &lt;a href="http://www.highdefdigest.com/news/show/Joshua_Zyber/High-Def_FAQ:_Blu-ray_and_HD_DVD_Audio_Explained/1064"&gt;article&lt;/a&gt; that explains things a little more clearly then I did.&amp;nbsp;&amp;nbsp;I still have the same conclusion, support for the new audio formats sucks.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Now that I own a PS3 I was thinking about upgrading my receiver to one that supported the new audio formats available on HD disks.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Getting the video right for HD is hard enough, most display manufactures are not exactly forthright about the real capabilities of their displays lots or marketing material will reference 1080i/p when the set can&amp;#39;t do those formats.&amp;nbsp; Audio is way more difficult, there are 7 different audio codes that HD-DVD and Blu-ray support. Dolby Digital, DTS, Dolby Digital Plus, DTS-HD High Resolution, Linear PCM, Dolby True HD, and DTS-HD Master Audio.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Andy Pennell wrote an interesting &lt;a href="http://blogs.msdn.com/andypennell/archive/2007/06/14/hd-dvd-audio.aspx"&gt;article&lt;/a&gt; on how audio works for HD DVD, specifically he shows how the add-on for the 360 works. The 360 player doesn&amp;#39;t support the new audio formats directly instead the player transcodes the audio to WMA Pro, DTS, or Dolby Digital. Andy considers WMA Pro to be the best format.&amp;nbsp;&amp;nbsp; My current receiver supports DTS and Dolby Digital, I am currently using DTS.&amp;nbsp; Reading the avsforum &lt;a href="http://www.avsforum.com/avs-vb/showthread.php?t=957051"&gt;HD DVD audio faq&lt;/a&gt; was only more confusing, some of the new formats can be sent via HDMI, but only in a limited format that drops some of the audio.&amp;nbsp; If you actually have a standalone player it looks like the best way is to use the analog outputs.&amp;nbsp; &lt;/p&gt;&lt;p&gt;I could not find equivalent information on the PS3 handling of the new audio formats.&amp;nbsp; There are two articles (&lt;a href="http://www.engadgethd.com/2008/01/02/why-the-ps3-isnt-the-best-blu-ray-player/"&gt;1&lt;/a&gt;, &lt;a href="http://www.engadgethd.com/2007/05/08/no-dolby-truehd-or-dts-hd-for-ps3-owners/"&gt;2&lt;/a&gt;)&amp;nbsp;on engadgetHD that is complaining about lack support for True HD.&amp;nbsp; I am currently using the S/PDIF out on the PS3 to run audio to my receiver, what the PS3 is doing is unknown.&amp;nbsp; &lt;/p&gt;&lt;p&gt;This was originally going to be a list of receivers I would consider buying, but with my current playback gear, PS3 &amp;amp; 360 add-on it doesn&amp;#39;t make any sense to upgrade my receiver.&amp;nbsp; The HD audio formats are currently a real mess.&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6884" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/movies/default.aspx">movies</category></item><item><title>PS3 First Impressions</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2008/01/04/PS3-First-Impressions.aspx</link><pubDate>Fri, 04 Jan 2008 21:10:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6883</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;My no Sony products stance has had one minor hiccup as I purchased a 80G PS3 the other day.&amp;nbsp;&amp;nbsp; So far I have played MotorStorm (ok) watched Pixar shorts (Blu-ray), Resident Evil: Extinction (Blu-ray), and The Namesake (DVD).&amp;nbsp;&amp;nbsp;&amp;nbsp; I bought it primarily for playing Blu-ray disks as I was tired of seeing things released on Blu-ray instead of HD-DVD and standard def is starting to bug me, and the PS3 is the &lt;a href="http://kotaku.com/340668/ps3-is-still-the-blu+ray-player-to-buy"&gt;best Blu-ray player&lt;/a&gt; out currently,&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;Blu-ray playback is&amp;nbsp; great, looks about the same as HD-DVD playback on my 360.&amp;nbsp; The PS3 is hooked up via HDMI running 1080P to my TV where the 360 just has component out running 1080i.&amp;nbsp; &lt;/p&gt;&lt;p&gt;DVD playback is great the scalier made The Namesake look very good, what I really liked it is detected the non-widescreen content and pillar boxed it.&amp;nbsp; This is the first player I have seen that does not stretch 4:3 content when played on a 16:9 TV.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Things that I don&amp;#39;t like about the PS3:&amp;nbsp;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;It is rather large and doesn&amp;#39;t fit where I wanted to put it under my TV.&amp;nbsp; &lt;/li&gt;&lt;li&gt;I had to buy a HDMI cable as it doesn&amp;#39;t ship with one&lt;/li&gt;&lt;li&gt;The USB cable for charging the controller is way too short.&amp;nbsp; &lt;/li&gt;&lt;li&gt;The on screen keyboard is random, sometimes it is qwerty, sometimes telephone keys.&amp;nbsp; &lt;/li&gt;&lt;li&gt;It didn&amp;#39;t support the encryption I was using on my Wifi.&amp;nbsp; &lt;/li&gt;&lt;li&gt;It hides the HEX key for WEP making it hard to check what you are typing.&amp;nbsp; &lt;/li&gt;&lt;li&gt;After downloading a demo you need to install them to play. &lt;/li&gt;&lt;li&gt;There are still no games I want to buy for the PS3.&lt;/li&gt;&lt;li&gt;No IR sensor so I can&amp;#39;t use my remote with it. &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Things I like:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;DVD playback is very good, better then the Xbox.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Cheap Blu-ray player&lt;/li&gt;&lt;li&gt;Best Blu-ray player (1.1 Blu-ray support, potentially 2.0 support)&lt;/li&gt;&lt;li&gt;Shiny black. &lt;/li&gt;&lt;li&gt;Less noisy then my 360.&lt;/li&gt;&lt;li&gt;Pretty flexible playing video pictures, music.&amp;nbsp; &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Things that may bug me in the future:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Doesn&amp;#39;t not handle all the Blu-ray &lt;a href="http://www.engadgethd.com/2008/01/02/why-the-ps3-isnt-the-best-blu-ray-player/"&gt;audio formats&lt;/a&gt;.&amp;nbsp; If it did I would need a new stereo so not important currently. &lt;/li&gt;&lt;/ul&gt;&lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6883" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/gaming/default.aspx">gaming</category><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/movies/default.aspx">movies</category></item><item><title>How to open locked luggage</title><link>http://www.darrylbraaten.com/cs/blogs/darryl/archive/2007/12/21/How-to-open-locked-luggage.aspx</link><pubDate>Fri, 21 Dec 2007 23:12:00 GMT</pubDate><guid isPermaLink="false">594326da-9aae-427c-bc86-b251f783f838:6882</guid><dc:creator>darryl</dc:creator><slash:comments>0</slash:comments><description>&lt;a href="http://www.metacafe.com/watch/756021/how_to_easily_open_a_combination_padlock/"&gt;How to open locked luggage.&lt;/a&gt;&amp;nbsp;A very useful little video that shows how to open up a three tumbler combo lock.&amp;nbsp; As it turns out there is a little mark you can see when the wheel is at the correct number.&amp;nbsp; &lt;img src="http://www.darrylbraaten.com/cs/aggbug.aspx?PostID=6882" width="1" height="1"&gt;</description><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/misc/default.aspx">misc</category><category domain="http://www.darrylbraaten.com/cs/blogs/darryl/archive/tags/travel/default.aspx">travel</category></item></channel></rss>