<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-28318385</id><updated>2012-01-12T14:37:43.522-08:00</updated><category term='c#'/><category term='spp'/><category term='savegame'/><category term='bluetooth'/><category term='android'/><category term='sql'/><category term='virtua tenns'/><category term='hex'/><category term='htc'/><category term='adb'/><category term='eclipse'/><category term='fluent'/><category term='scam'/><category term='nhibernate'/><category term='chrome'/><category term='htc desire'/><title type='text'>Sarkie's Site</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>34</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-28318385.post-3170336169332279413</id><published>2011-12-14T12:46:00.000-08:00</published><updated>2011-12-14T12:46:50.073-08:00</updated><title type='text'>Generic USB Driver Windows 7</title><content type='html'>If you are having issues with finding a driver for a USB Drive, here's a trick.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: inherit;"&gt;Go to C:\&lt;span style="background-color: rgba(255, 255, 255, 0.496094); line-height: 15px;"&gt;Windows\System32\DriverStore\FileRepository\usbstor.inf_&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="background-color: rgba(255, 255, 255, 0.496094); line-height: 15px;"&gt;and get the latest directory, copy the contents to&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="background-color: rgba(255, 255, 255, 0.496094); line-height: 15px;"&gt;C:\Windows\Inf&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="background-color: rgba(255, 255, 255, 0.496094); line-height: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="background-color: rgba(255, 255, 255, 0.496094); line-height: 15px;"&gt;Reinsert your USB stick, it should detect it now and install it.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="background-color: rgba(255, 255, 255, 0.496094); line-height: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="background-color: rgba(255, 255, 255, 0.496094); line-height: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-3170336169332279413?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/3170336169332279413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=3170336169332279413' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/3170336169332279413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/3170336169332279413'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2011/12/generic-usb-driver-windows-7.html' title='Generic USB Driver Windows 7'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-2905610289447123284</id><published>2011-10-31T04:35:00.000-07:00</published><updated>2011-10-31T04:54:37.967-07:00</updated><title type='text'>dotless Configuration Options</title><content type='html'>&lt;span style="background-color: transparent;"&gt;Unless my googling is failing me, I can't find any documentation on the dotless configuration for Web.Config, so I've gone through the code, I think I understand the different options&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;minifyCss&lt;/li&gt;&lt;ul&gt;&lt;li&gt;true or false&lt;/li&gt;&lt;li&gt;Minifies the CSS output&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;cache&lt;/li&gt;&lt;ul&gt;&lt;li&gt;true or false&lt;/li&gt;&lt;li&gt;Caches the CSS after being created&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;web&lt;/li&gt;&lt;ul&gt;&lt;li&gt;true or false&lt;/li&gt;&lt;li&gt;if true, this uses http specifc options, &amp;nbsp;must be set when using on the web, &amp;nbsp;Response.Cache, Request.QueryString for&amp;nbsp;parameters, Server.MapPath for mapping, puts the Log Messages in the Response&lt;/li&gt;&lt;li&gt;if false, uses in memory cache, uses console logger, &amp;nbsp;uses paramaters from the console,&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;log&lt;/li&gt;&lt;ul&gt;&lt;li&gt;info, debug, warn, error, default&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="background-color: transparent;"&gt;optimization&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;0-n&lt;/li&gt;&lt;li&gt;Optimizes the output...&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;source&lt;/li&gt;&lt;ul&gt;&lt;li&gt;How dotless reads the files of interface IFileReader, its the type usually FileReader but can be VirtualFileReader which uses HostingEnvironment.VirtualPathProvider&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;logger&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Can be set but then gets overidden by the "web" boolean, there are AspNetTraceLogger (HttpContext.Trace.Write), aspResponseLogger (Response.Write as Css), ConsoleLogger (Console.Write), DiagnosticsLogger (Debug.WriteLine) and NullLogger (Swallows).&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 13px;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515;"&gt;dotless&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: red;"&gt;minifyCss&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;false&lt;/span&gt;"&lt;span style="color: blue;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: red;"&gt;cache&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;false&lt;/span&gt;"&lt;span style="color: blue;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: red;"&gt;web&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;true&lt;/span&gt;"&lt;span style="color: blue;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: red;"&gt;log&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;debug&lt;/span&gt;"&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: red;"&gt;optimization&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;10&lt;/span&gt;"&lt;span style="color: blue;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: red;"&gt;logger&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;dotless.Core.Loggers.AspNetTraceLogger&lt;/span&gt;"&lt;span style="color: blue;"&gt;&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 13px;"&gt;&lt;span style="color: blue;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 13px;"&gt;&lt;span style="color: blue;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-2905610289447123284?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/2905610289447123284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=2905610289447123284' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/2905610289447123284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/2905610289447123284'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2011/10/dotless-configuration-options.html' title='dotless Configuration Options'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-5060168720476194012</id><published>2011-09-29T02:38:00.000-07:00</published><updated>2011-09-29T02:48:31.503-07:00</updated><title type='text'>Greasemonkey Script to Remove Facebook in Facebook plus more</title><content type='html'>Here's a simple script to remove the right hand column on Facebook, which has Facebook-in-Facebook, adverts and crap, also Greasemonkey is easy.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: jscript"&gt;&lt;br /&gt;// ==UserScript==&lt;br /&gt;// @name           Remove Facebook Right Column&lt;br /&gt;// @namespace      http://sarkies.blogspot.com&lt;br /&gt;// @description    Remove all the pointeless stuff in the right column, the ad's, the facebook-in-facebook, and duplicated events&lt;br /&gt;// @include        http://*.facebook.com/*&lt;br /&gt;// @include        https://*.facebook.com/*&lt;br /&gt;// ==/UserScript==&lt;br /&gt;&lt;br /&gt;var rightColumn = document.getElementById('rightCol');&lt;br /&gt;&lt;br /&gt;if(rightColumn) {&lt;br /&gt; rightColumn.parentNode.removeChild(rightColumn);&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;a href="https://docs.google.com/leaf?id=0BxvwWozaN8ehNGE3MzZhYzEtYjk0My00N2YyLWJmMDItMDEzZTgxN2Q2MzE2&amp;hl=en_US"&gt;Download&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Download the script or copy and save it as rightCol.user.js and drag and drop it in to Chrome and/or Firefox (if you have Greasemonkey enabled) go to Facebook. Rejoice.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-5060168720476194012?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/5060168720476194012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=5060168720476194012' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/5060168720476194012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/5060168720476194012'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2011/09/greasmonkey-script-to-remove-facebook.html' title='Greasemonkey Script to Remove Facebook in Facebook plus more'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-247406029449195814</id><published>2011-07-08T02:03:00.000-07:00</published><updated>2011-07-08T02:12:19.011-07:00</updated><title type='text'>Duke Nukem Forever Stutter work-a-round</title><content type='html'>&lt;p&gt;When playing the game on my PC, it was stuttering like hell, thought it was to-do with not being optimized, since I have a dual screen, I ran task manager in the other monitor. This showed Steam.exe was using 30% of my CPU regardless.&lt;/p&gt;&lt;p&gt;The work-a-round I propose till its fixed will mean no Achievements whilst playing, so its up to you!&lt;/p&gt;&lt;p&gt;Right click Duke Nukem Forever, turn off "Enable Steam Community In Game"&lt;/p&gt;&lt;p&gt;Run the game&lt;/p&gt;&lt;p&gt;Alt-Tab out of the game&lt;/p&gt;&lt;p&gt;Set Steam.exe affinity to one core and set its priority to low via Task Manager.&lt;/p&gt;&lt;p&gt;Kill GameOverLayUI.exe if its running&lt;/p&gt;&lt;p&gt;Play the game and if its still stuttering set DukeNukemForever.exe to the other affinity.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-247406029449195814?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/247406029449195814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=247406029449195814' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/247406029449195814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/247406029449195814'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2011/07/duke-nukem-forever-stutter-work-round.html' title='Duke Nukem Forever Stutter work-a-round'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-2064425701192910622</id><published>2011-05-24T03:21:00.000-07:00</published><updated>2011-05-24T03:42:18.451-07:00</updated><title type='text'>Getting Hexxeh's Chromium Builds Network working</title><content type='html'>&lt;div&gt;If you're trying to get ChromiumOS working on Virtual box, you'll need these network settings.&lt;/div&gt;&lt;div&gt;It took me a while, since its the last in the list!!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Bridge Adapter&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Adapter Type: Paravirtualized Network (virtio-net)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Should give you Ethernet in the login screen now?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Its a bit slow for me though....&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-2064425701192910622?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/2064425701192910622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=2064425701192910622' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/2064425701192910622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/2064425701192910622'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2011/05/getting-hexxehs-chromium-builds-network.html' title='Getting Hexxeh&apos;s Chromium Builds Network working'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-6495558162778749042</id><published>2011-01-07T03:43:00.000-08:00</published><updated>2011-01-07T03:45:49.627-08:00</updated><title type='text'>Sys is undefined error</title><content type='html'>Having tried every single way of fixing this error, I came across and two part fix.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;  &lt;system.web.extensions&gt;&lt;/div&gt;&lt;div&gt;    &lt;scripting&gt;&lt;/div&gt;&lt;div&gt;      &lt;scriptresourcehandler enablecompression="false" enablecaching="true"&gt;&lt;/div&gt;&lt;div&gt;    &lt;/scripting&gt;&lt;/div&gt;&lt;div&gt;  &lt;/system.web.extensions&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Add that to your Web.Config&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;and&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Disable and Renable,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Use HTTP 1.1&lt;/div&gt;&lt;div&gt;Use HTTP 1.1 through proxy connections&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In your Internet Explorer Options.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-6495558162778749042?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/6495558162778749042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=6495558162778749042' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/6495558162778749042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/6495558162778749042'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2011/01/sys-is-undefined-error.html' title='Sys is undefined error'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-739178757941927483</id><published>2010-11-30T08:11:00.000-08:00</published><updated>2011-03-16T03:21:03.291-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scam'/><title type='text'>Western Union Scam! Another one.</title><content type='html'>&lt;span class="Apple-style-span"&gt;&lt;/span&gt;&lt;div&gt;Firslty, the scam.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;"Don't send me money, just send it someone else, friend or family and show me proof you can afford to buy the product / rent the room etc, show me proof using a photocopy of the receipt"&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;How the scam works?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Western Union, don't need any proof of you or the recipient to take the money, ridiculous if you ask me! &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Secondly,  a list of scammers I'm picking up along the way, I'll be adding to it:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;anzy84@hotmail.com / Anzia Scott&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; color: rgb(0, 104, 28); font-family: arial, sans-serif; font-size: 13px; font-weight: bold; white-space: nowrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span&gt;&lt;span&gt;timmsproperty@gmail.com / Sherwood Tim&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;amoo9989@hotmail.com / Amoo Raymond&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;aidataube@yahoo.de / Aida Taube&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;Phone numbers&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;070 2404 4128 &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;div&gt;07045 766243&lt;/div&gt;&lt;div&gt;07045 734145&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;conta&lt;/span&gt;&lt;/span&gt;ct you, they are scammers. The more people who can the address, the better.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If in doubt, never use Western Union and use TinEye.com for reverse picture search. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-739178757941927483?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/739178757941927483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=739178757941927483' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/739178757941927483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/739178757941927483'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/11/western-union-scam-another-one.html' title='Western Union Scam! Another one.'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-8455741191265108733</id><published>2010-10-06T01:13:00.000-07:00</published><updated>2010-10-06T01:15:21.446-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='chrome'/><title type='text'>Can't download Chrome behind a Corporate Network?</title><content type='html'>There seems to be an issue with the Chrome installers:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ChromeSetup.exe &lt;/div&gt;&lt;div&gt;and&lt;/div&gt;&lt;div&gt;ChromeStandaloneSetup.exe&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The only one I found to work was the ones from FileHippo:&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.filehippo.com/download_google_chrome/"&gt;http://www.filehippo.com/download_google_chrome/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;There was a way to download straight from Google but it doesn't seem to work anymore, unless I'm doing it wrong.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The filename should be&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;chrome_installer.exe&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-8455741191265108733?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/8455741191265108733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=8455741191265108733' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/8455741191265108733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/8455741191265108733'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/10/cant-download-chrome-behind-corporate.html' title='Can&apos;t download Chrome behind a Corporate Network?'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-2027917445648627089</id><published>2010-07-30T02:32:00.001-07:00</published><updated>2010-07-30T02:37:22.390-07:00</updated><title type='text'>HTC Desire SPP 2.1 Issues</title><content type='html'>If you have an HTC Desire and you are having issues with your Bluetooth code, such as:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Service Discovery doesn't work or flaky&lt;/li&gt;&lt;li&gt;Can't see Misc devices, i.e. those with a Bluetooth device type of Headset, Phone or Comp&lt;/li&gt;&lt;li&gt;If you have issues communicating via SPP (Serial Port Profile)&lt;/li&gt;&lt;li&gt;Just plain not working&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;You will need to upgrade the ROM on the phone, these may all be fixed with HTC Desire 2.2 update which out "today", but if not its the bluez bluetooth code that has been fixed.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The only ROM that  fully supports all of this is the &lt;a href="http://www.cyanogenmod.com/"&gt;http://www.cyanogenmod.com/&lt;/a&gt; ROM, I've tried all ROMS this one is the only one that works correctly, but its based on the Nexus One ROM, so you won't have Sense, but if someone updates the ROMs with the latest BlueZ stuff, it *should* work.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;OpenSource ftw? &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I had similar issues when developing for a J2ME app on my old K800i, but what could I do?&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-2027917445648627089?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/2027917445648627089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=2027917445648627089' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/2027917445648627089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/2027917445648627089'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/07/htc-desire-spp-21-issues.html' title='HTC Desire SPP 2.1 Issues'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-2553559329031445536</id><published>2010-07-30T01:17:00.000-07:00</published><updated>2010-07-30T01:19:41.399-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='spp'/><category scheme='http://www.blogger.com/atom/ns#' term='bluetooth'/><title type='text'>Finding Bluetooth Service Address on Windows</title><content type='html'>If you have connected to a device, but want to write code to discover it, you need to know the service address/guid of the bluetooth device, in order to talk to it.&lt;br /&gt;&lt;br /&gt;On Windows if you navigate to &lt;br /&gt;&lt;br /&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\BTHENUM\&lt;br /&gt;&lt;br /&gt;You will see the devices connected and then in HardwareID you will see the value at the end for SPP it is usually.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BTHENUM\{00001101-0000-1000-8000-00805f9b34fb}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-2553559329031445536?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/2553559329031445536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=2553559329031445536' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/2553559329031445536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/2553559329031445536'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/07/finding-bluetooth-service-address-on.html' title='Finding Bluetooth Service Address on Windows'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-2435253228393978271</id><published>2010-07-14T01:55:00.000-07:00</published><updated>2010-07-14T01:58:50.324-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='fluent'/><category scheme='http://www.blogger.com/atom/ns#' term='nhibernate'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Could not create the driver from NHibernate.Driver.SqlServerCeDriver</title><content type='html'>Using Fluent NHibernate and MsSqlCeConfiguration, I wanted to use an SQL Compact DB for my Database by changing the FluentConfiguration but I started getting the errors from the InnerException.&lt;br /&gt;&lt;br /&gt;"Could not create the driver from NHibernate.Driver.SqlServerCeDriver"&lt;br /&gt;&lt;br /&gt;The fix is simples,&lt;br /&gt;&lt;br /&gt;You need to add a reference to &lt;br /&gt;&lt;br /&gt;"System.Data.SqlServerCe"&lt;br /&gt;&lt;br /&gt;Located in &lt;br /&gt;&lt;br /&gt;"C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Desktop\System.Data.SqlServerCe.dll"&lt;br /&gt;&lt;br /&gt;If you don't have it, you'll need to install it from.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/sqlserver/2005/en/us/compact-downloads.aspx"&gt;http://www.microsoft.com/sqlserver/2005/en/us/compact-downloads.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Once you've added it you need to set the &lt;br /&gt;&lt;br /&gt;"Copy Local" to true.&lt;br /&gt;&lt;br /&gt;Then you should be good to go.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-2435253228393978271?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/2435253228393978271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=2435253228393978271' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/2435253228393978271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/2435253228393978271'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/07/could-not-create-driver-from.html' title='Could not create the driver from NHibernate.Driver.SqlServerCeDriver'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-8744190862517105161</id><published>2010-07-07T02:39:00.000-07:00</published><updated>2010-07-07T02:43:03.371-07:00</updated><title type='text'>Failed object initialization (ISupportInitialize.EndInit). Error on Windows XP</title><content type='html'>&lt;blockquote&gt;&lt;br /&gt;Failed object initialization (ISupportInitialize.EndInit). Method not found: 'System.Windows.Threading.DispatcherOperation System.Windows.Threading.Dispatcher.BeginInvoke(System.Delegate, System.Object[])'&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;If you get this error, looking at the MSDN page for the method call&lt;br /&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/cc190824(VS.90).aspx"&gt;http://msdn.microsoft.com/en-us/library/cc190824(VS.90).aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It says at the bottom:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;Version Information&lt;br /&gt;.NET Framework&lt;br /&gt;Supported in: 3.5 SP1, 3.0 SP2&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;The computer was running 3.5 vanilla, install the update and you'll be good to go.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-8744190862517105161?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/8744190862517105161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=8744190862517105161' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/8744190862517105161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/8744190862517105161'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/07/failed-object-initialization.html' title='Failed object initialization (ISupportInitialize.EndInit). Error on Windows XP'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-7624730738724269832</id><published>2010-06-20T11:25:00.000-07:00</published><updated>2010-06-20T11:58:35.555-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='virtua tenns'/><category scheme='http://www.blogger.com/atom/ns#' term='savegame'/><category scheme='http://www.blogger.com/atom/ns#' term='hex'/><title type='text'>Bit of Hex Education</title><content type='html'>So I've started my Virtua Tennis Savegame editor, so in order to follow, I need to teach you about hex. So firstly, the easy stuff.&lt;br /&gt;&lt;br /&gt;If you want to get properly confused, go to the Wiki Page but here's a nicer one:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.itnewb.com/v/Introduction-to-Hexadecimal-or-Base-16-Number-System"&gt;http://www.itnewb.com/v/Introduction-to-Hexadecimal-or-Base-16-Number-System&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hex is base 16, i.e. numbers go from 1-16, we usually deal with base 10, (since that's the number of fingers we have), but hex is from 0 to 15, inclusive, so we get our 16.&lt;br /&gt;&lt;br /&gt;Also instead of having 10 to 15, we have A-F, (aside, why A-F, why not A-Z and we get even more numbers?).&lt;br /&gt;&lt;br /&gt;So therefore, lets take 29 in denary&lt;br /&gt;&lt;br /&gt;Binary = 11101&lt;br /&gt;&lt;br /&gt;Hex = 1D &lt;br /&gt;&lt;br /&gt;So easier to store and easier to read, if that was just denary, the most we could store is 100 values from 00-99, in hex, we can store 00-FF which is 256 values.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next thing to know is Endianness, so Big endian and Little Endian and Most Significant and Least Significant bit.&lt;br /&gt;&lt;br /&gt;In a big endian systems, the most significant bit is the furthest to the right, go back to our 29 in binary.&lt;br /&gt;&lt;br /&gt;16 8 4 2 1&lt;br /&gt; 1 1 1 0 1&lt;br /&gt;&lt;br /&gt;So in this instance, the most significant bit is the bit in the 16's column and least significant bit is the 1's column. This is how everyone learns binary.&lt;br /&gt;&lt;br /&gt;The Virtua Tennis Savegame is stored in LSB, so therefore in this case it'd be.&lt;br /&gt;&lt;br /&gt;1 2 4 8 16&lt;br /&gt;1 0 1 1 1&lt;br /&gt;&lt;br /&gt;So once we figure out the values, you'll need to swap the values backwards in order to make the change, but since we are doing it in hex it'll be like this.&lt;br /&gt;&lt;br /&gt;Hex = 0A 01 &lt;br /&gt;&lt;br /&gt;Big Endian    =   0A 01 = 2561&lt;br /&gt;Little Endian =   01 0A = 266&lt;br /&gt;&lt;br /&gt;The reason I think it's stored in Little Endian is because the PC Port, was just emulated, from the Dreamcast version which runs in Little Endian.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.netbsd.org/ports/dreamcast/faq.html#endian"&gt;http://www.netbsd.org/ports/dreamcast/faq.html#endian&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So there's my Hex Education, I'm sure I'm missing stuff. This is just a tasty for when we start hacking the file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-7624730738724269832?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/7624730738724269832/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=7624730738724269832' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/7624730738724269832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/7624730738724269832'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/06/bit-of-hex-education.html' title='Bit of Hex Education'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-3209860137946239328</id><published>2010-06-19T08:31:00.000-07:00</published><updated>2010-06-19T08:45:18.344-07:00</updated><title type='text'>Fixing N95 8GB keypad and save yourself money!</title><content type='html'>Problem: My N95 8GB keypad stopped working and just broke into pieces, cost for some one to fix it, £30-£40.&lt;br /&gt;&lt;br /&gt;I'm a cheap bloke, so I decided to fix it, this is how I did it!&lt;br /&gt;&lt;br /&gt;Firstly, I looked for a new case this is called "housing", so ebay time.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://shop.ebay.co.uk/?_from=_from&amp;_trksid=_trksid&amp;_sacat=_sacat&amp;_nkw=n95+8gb+housing"&gt;&lt;br /&gt;Ebay search for N95 8GB&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It took about 3 weeks for the delivery and it was about £3.50 and from Hong Kong! (How do they make money?) I bought a White one to make it look sexy.&lt;br /&gt;&lt;br /&gt;It should come with the Torx 4/5/6 tools, for you to dismantle your phone, i.e. the for the screws that look like stars.&lt;br /&gt;&lt;br /&gt;This is probably the best video&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.youtube.com/watch?v=jc33lBQzVy8"&gt;http://www.youtube.com/watch?v=jc33lBQzVy8&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I just did it myself, I then found I needed to get a new membrane for £8&lt;br /&gt;&lt;br /&gt;&lt;a href="http://shop.ebay.co.uk/?_from=_from&amp;_trksid=_trksid&amp;_nkw=n95+8gb+membrane&amp;_sacat=_sacat"&gt;Ebay search for N95 8GB Membrane&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I then replaced it, so for under £15 I managed to fix my keypad, get a new case and learn how my phone goes together.&lt;br /&gt;&lt;br /&gt;This post is shorter but it took me a while to find what I needed and get replacements and keep my phone working till I get my HTC Desire!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-3209860137946239328?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/3209860137946239328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=3209860137946239328' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/3209860137946239328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/3209860137946239328'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/06/fixing-n95-8gb-keypad-and-save-yourself.html' title='Fixing N95 8GB keypad and save yourself money!'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-8432992640442664241</id><published>2010-06-16T03:06:00.001-07:00</published><updated>2010-06-16T03:28:14.580-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='htc desire'/><category scheme='http://www.blogger.com/atom/ns#' term='htc'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='android'/><category scheme='http://www.blogger.com/atom/ns#' term='adb'/><title type='text'>Getting HTC Desire working with ADB</title><content type='html'>&lt;div&gt;Got an HTC Desire, I tried installing the Drivers with the Android SDK, it wouldn't work, I first had to enable USB Debugging.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Settings -&gt; Applications -&gt; Development -&gt;  USB Debugging&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;Plugging it in, it wanted to install ADB (Android Debug Bridge)I first tried updating the .inf file&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;;HTC Desire&lt;br /&gt;%SingleAdbInterface% = USB_Install, USB\VID_0BB4&amp;amp;PID_0C87&lt;br /&gt;%CompositeAdbInterface%  = USB_Install, USB\VID_0BB4&amp;amp;PID_0C87&amp;amp;MI_01&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;This made it install. Yay!&lt;br /&gt;But, running adb devices in the tools folder of the SDK showed it wasn't working.&lt;br /&gt;&lt;br /&gt;I then looked on HTC Site for Drivers and found the HTC Sync here:&lt;a href="http://www.htc.com/www/support.aspx"&gt;http://www.htc.com/www/support.aspx&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;Downloaded installed it and then removed the Device and added it again.&lt;br /&gt;adb devices then showed it and Eclipse then saw it.&lt;br /&gt;Yay!&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-8432992640442664241?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/8432992640442664241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=8432992640442664241' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/8432992640442664241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/8432992640442664241'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/06/getting-htc-desire-working-with-adb.html' title='Getting HTC Desire working with ADB'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-4101826477719949026</id><published>2010-06-04T04:36:00.000-07:00</published><updated>2010-06-04T04:47:19.617-07:00</updated><title type='text'>Bitmap Serialize</title><content type='html'>So I've been tasked to fix a database full of pictures that weren't displayed, no matter what I tried, the Image (Stored as a byte array) was always invalid.&lt;br /&gt;&lt;br /&gt;So I thought I'll save the file and see if I can get an image fixer on it, I just used a FileStream opened it and wrote to it&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: csharp"&gt;&lt;br /&gt;var fileStream = new FileStream("output.dat", System.IO.FileMode.Create);&lt;br /&gt;fileStream.Write(bytes, 0, bytes.Length);&lt;br /&gt;fileStream.Close();&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Upon opening the file, I was expected to see something beginning with "Exif" or "JPG" or something, but what I saw was even better.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;A, ha!! The actual Bitmap object was being saved, not the actual Image, therefore I put together a bit of code to get me the Image and put it back as the Image for my code to work correctly. In this case, I could fix it, but if I couldn't I'd have to have a bit of a legacy converter for it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: csharp"&gt;&lt;br /&gt;public static Bitmap BitmapObjectToBitmap(byte[] data)&lt;br /&gt;{&lt;br /&gt;  using (var ms = new MemoryStream(data))&lt;br /&gt;  {&lt;br /&gt;     var bf = new BinaryFormatter();&lt;br /&gt;     Bitmap bitmap = (Bitmap)bf.Deserialize(ms);&lt;br /&gt;     return bitmap;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Then the working code for the Image to Byte Array&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: csharp"&gt;&lt;br /&gt;&lt;br /&gt; public static byte[] ImageToByteArray(Image image, ImageFormat format)&lt;br /&gt;{&lt;br /&gt; using (var ms = new MemoryStream())&lt;br /&gt; {&lt;br /&gt;  &lt;br /&gt;  var bm = new Bitmap(image);&lt;br /&gt;  bm.Save(ms, format);&lt;br /&gt;  return ms.ToArray();&lt;br /&gt;  &lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Comments welcome!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-4101826477719949026?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/4101826477719949026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=4101826477719949026' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/4101826477719949026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/4101826477719949026'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/06/bitmap-serialize.html' title='Bitmap Serialize'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-1346160925322095223</id><published>2010-06-04T03:50:00.001-07:00</published><updated>2010-06-04T04:25:19.670-07:00</updated><title type='text'>Transfer Data between two SQL Server's</title><content type='html'>Everyone probably knows this, but hey ho.&lt;br /&gt;&lt;br /&gt;I needed some data from one of my tables in one server to be inserted into another, here is the simplez SQL to do it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;insert into Server1.Database.dbo.Table(Col1,Col2,Col3)&lt;br /&gt;select Col1,Col2,Col3&lt;br /&gt;from Server2.Database.dbo.Table&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Edit:&lt;br /&gt;thanks to @duncansmart just a bit more info, I'm running on 2008 R2, on previous systems you may need to run&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Execute sp_addlinkedserver Server1&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;To link in the other Server&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-1346160925322095223?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/1346160925322095223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=1346160925322095223' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/1346160925322095223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/1346160925322095223'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/06/transfer-data-between-two-sql-servers.html' title='Transfer Data between two SQL Server&apos;s'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-2565212535163651038</id><published>2010-05-24T02:44:00.000-07:00</published><updated>2010-05-24T02:56:09.232-07:00</updated><title type='text'>Facebook Privacy Checks</title><content type='html'>Here is a list of Facebook Privacy scanners I've found.&lt;br /&gt;&lt;br /&gt;1.) Save Face by Untangle is an automated script that will go through your settings and disable them.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www3.untangle.com/saveface"&gt;http://www3.untangle.com/saveface&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;All you have to do is drag it on to your Bookmark toolbar for later.&lt;br /&gt;&lt;br /&gt;2.) Reclaim Privacy, which is a scanner which gives you a breakdown on which settings / info you are leaking to the internet, as 1.) you just need to drag the bookmark on to your bookmarks toolbar.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.reclaimprivacy.org/"&gt;http://www.reclaimprivacy.org/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now you should log in to Facebook and click number 1, it will automatically go through your settings. (Easier to turn on Info then turn it off in my books)&lt;br /&gt;&lt;br /&gt;Now click number 2, then update any settings it tells you to. Some I leave public, such as "find me via search" and "send me a message" set to everyone.&lt;br /&gt;&lt;br /&gt;Now once you've done that we have another link to click.&lt;br /&gt;&lt;br /&gt;3.) Profile Watch, this will scan your profile as an external person could and will show you info you are still showing the world.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.profilewatch.org"&gt;http://www.profilewatch.org&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4.) Honourable mention is an Application, so this shows you what your Apps can see about you and send to people.&lt;br /&gt;&lt;br /&gt;Privacy Check&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.rabidgremlin.com/fbprivacy/"&gt;http://www.rabidgremlin.com/fbprivacy/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hopefully this helps everyone!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-2565212535163651038?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/2565212535163651038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=2565212535163651038' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/2565212535163651038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/2565212535163651038'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/05/facebook-privacy-checks.html' title='Facebook Privacy Checks'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-2120989033511911798</id><published>2010-05-19T14:21:00.001-07:00</published><updated>2010-05-19T14:24:21.095-07:00</updated><title type='text'>InvalidateRequerySuggested on GUI Thread</title><content type='html'>I've been having issues where buttons weren't getting enabled on my WPF application, only by clicking the form would they work.&lt;br /&gt;&lt;br /&gt;I found that I need to force the refresh using CommandManager.InvalidateRequerySuggested but that didn't work, the reason being I wasn't on the GUI Thread, I was on another thread, so here is my little helper class to do it.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: csharp"&gt;&lt;br /&gt; public static void RaiseInvalidateRequerySuggested()&lt;br /&gt; {&lt;br /&gt;      Dispatcher dispatcher = null;&lt;br /&gt;&lt;br /&gt;      if (Application.Current != null)&lt;br /&gt;       {&lt;br /&gt;          dispatcher = Application.Current.Dispatcher;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;       if (dispatcher != null &amp;&amp; !dispatcher.CheckAccess())&lt;br /&gt;        {&lt;br /&gt;         dispatcher.BeginInvoke(DispatcherPriority.Normal,(Action)CommandManager.InvalidateRequerySuggested);&lt;br /&gt;         }&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This tries to get the application, then gets the dispatcher for the application, makes sure you have access, and then dispatches the Invalidate to that thread.&lt;br /&gt;&lt;br /&gt;bingo.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-2120989033511911798?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/2120989033511911798/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=2120989033511911798' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/2120989033511911798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/2120989033511911798'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/05/invalidaterequerysuggested-on-gui.html' title='InvalidateRequerySuggested on GUI Thread'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-207561244892566095</id><published>2010-05-18T15:20:00.000-07:00</published><updated>2010-05-20T14:40:58.681-07:00</updated><title type='text'>Dieting for Programmer</title><content type='html'>Right,&lt;br /&gt;&lt;br /&gt;I've decided to do a post on dieting, not exactly technical but very much of the, "Healthy body, Healthy mind" manta, so my history, I used to be nearly 16 stone so I'm not from the "always been thin, eat what you like" bunch of twats most diet people are.&lt;br /&gt;&lt;br /&gt;So here is my diet plan / life plan thing.&lt;br /&gt;&lt;br /&gt;Firstly, we need to work out our BMR (Basal Metabolic Rate) basically the amount of calories you'd burn by sitting still all day.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.bmi-calculator.net/bmr-calculator/"&gt;http://www.bmi-calculator.net/bmr-calculator/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So I'm going to take me as an example, I'd probably over weight currently due to being on a bulk, long story my figures.&lt;br /&gt;&lt;br /&gt;Age: 24&lt;br /&gt;Weight : 13 stone, 1 pounds&lt;br /&gt;Height: 6 foot, 2 inches.&lt;br /&gt;&lt;br /&gt;(Hint: 14 pounds in a stone for all you cool metric kids)&lt;br /&gt;&lt;br /&gt;( 13 * 14) + 1 = 169 lbs&lt;br /&gt;&lt;br /&gt;my BMR = &lt;span style="font-weight:bold;"&gt;1895.47&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now we use Harris Benedict Equation to work out our calories&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.bmi-calculator.net/bmr-calculator/harris-benedict-equation/"&gt;http://www.bmi-calculator.net/bmr-calculator/harris-benedict-equation/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Since we're programmers, * 1.2&lt;br /&gt;&lt;br /&gt;My calories for a day should be &lt;span style="font-weight:bold;"&gt;2274.564&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now, in order to lose weight, we need to create a deficit, so the recommended number I feel is 500 calories, anything more, your body thinks its being starved and will hold onto your fat and not let go. It think its in a field starving and needs to keep you warm till you find an animal to eat.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So our Dave's Daily Diet Allowance is.... &lt;span style="font-weight:bold;"&gt; &lt;s&gt;1774.564&lt;/s&gt;(we're going to round it up for ease of use.) 1800 &lt;/span&gt; calories.&lt;br /&gt;&lt;br /&gt;Now if you get any good food you'll see your RDA (recommended daily allowance) of what to eat, the average man is 2500 calories and each woman is 2000 calories. so if I stuck to it, I'd be putting weight on if I sat around doing nothing all day.&lt;br /&gt;&lt;br /&gt;&lt;table border="1"&gt;&lt;tbody&gt;  &lt;tr&gt;    &lt;th&gt;Type&lt;/th&gt;    &lt;th&gt;Male&lt;/th&gt;    &lt;th&gt;Female&lt;/th&gt;  &lt;/tr&gt;  &lt;tr&gt;    &lt;td&gt;Calories&lt;/td&gt;    &lt;td&gt;2500&lt;/td&gt;    &lt;td&gt;2000&lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;    &lt;td&gt;Protein&lt;/td&gt;    &lt;td&gt;55g&lt;/td&gt;    &lt;td&gt;45g&lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;    &lt;td&gt;Carbs&lt;/td&gt;    &lt;td&gt;300g&lt;/td&gt;    &lt;td&gt;230g&lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;    &lt;td&gt;Of those carbs sugar&lt;/td&gt;    &lt;td&gt;120g&lt;/td&gt;    &lt;td&gt;90g&lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;    &lt;td&gt;Fat&lt;/td&gt;    &lt;td&gt;95g&lt;/td&gt;    &lt;td&gt;70g&lt;/td&gt;  &lt;/tr&gt;   &lt;tr&gt;     &lt;td&gt;of that fat, Saturate&lt;/td&gt;     &lt;td&gt;30g&lt;/td&gt;     &lt;td&gt;20g&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;      &lt;td&gt;Fibre&lt;/td&gt;     &lt;td&gt;24g&lt;/td&gt;      &lt;td&gt;24g&lt;/td&gt;    &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;So here are your RDA off the side off a Cornflakes packet! :), so here we have our aim, since you are probably eating more than your need you need to try and curb a little bit off this list too. So just try and keep within your boundaries and just count calories for now.&lt;br /&gt;&lt;br /&gt;Time for the diet. I know from before we have &lt;span style="font-weight:bold;"&gt;1800 &lt;/span&gt; calories to play with over the course of the day, time to split it, you should refine this to how you live, but you always must eat something at the times&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;   &lt;li&gt;Breakfast - 8am - 500 calories&lt;/li&gt;&lt;br /&gt;   &lt;li&gt;Snack - 11am - 100 calories&lt;/li&gt;&lt;br /&gt;   &lt;li&gt;Lunch - 1pm - 400 calories&lt;/li&gt;&lt;br /&gt;   &lt;li&gt;Snack - 4pm - 100 calories&lt;/li&gt;&lt;br /&gt;   &lt;li&gt;Dinner - 7pm - 600 calories&lt;/li&gt;&lt;br /&gt;   &lt;li&gt;Snack - 11pm - 100 calories&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Now that is my breakdown for my calories, I've give myself the most calories for my main meals, your main meal of the day is your breakfast. Skipping this is the worst mistake for your diet, it starts your metabolism kicks it into gear!&lt;br /&gt;&lt;br /&gt;Now a sample diet&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;  &lt;li&gt;Porridge - Main stay of dieters, keeps you full for longer, since its a complex carb (takes a while to breakdown, simple carbs is sugar which takes minutes rather than hours&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Apple + Skips&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Chicken Salad with lots of trimmings or Soup and bread or jacket potato&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Handful of nuts, Almonds are meant to be the best, full of protein&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;Lamb chop and lots of vegs and mash&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Cottage Cheese and ryhvitta, cottage cheese is a slow releasing protein, so makes your metabolism work while you sleep&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So that's a sample day, now all you have to do is tailor the diet to your calories, the foods you like and your lifestyle. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Keep a food diary for a week&lt;/span&gt; See how many calories and such you are eating, doesn't have to be 100% accurate, but gives you an idea where you are eating the worse!&lt;br /&gt;&lt;br /&gt;If you feel you are snacking and want more food, increase your calories. This diet is meant to be one you're on for the rest of your life, not a quick fad one.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;You are allowed one cheat meal a week&lt;/span&gt; make yourself feel bad when you eat it, thinking of the calories etc! But enjoy it, know that its bad for you etc.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regarding food things I've learnt.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;  &lt;li&gt;Anything with &lt;b&gt;Hydrogenerate Fat&lt;/b&gt; avoid like the plage, seriously.&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;Eat protein!! It fills you up and your body works harder to digest it&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;Omega 3 1000mg capsules are amazing, ASDA sells them, eat at least 5 a day&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;When hungry drink a pint of water and wait 20 minutes, then see if you are hungry&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;Any exercise is better than none, don't over do it, or you'll get pissed off and stop&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;Don't let anyone say, "you look good as you are" &lt;/li&gt;&lt;br /&gt; &lt;li&gt;Weightwatchers meals are pretty nice! &lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So that's it, any comments would be grateful and I'll update the post if I need to! &lt;br /&gt;&lt;br /&gt;Hope I haven't rambled too much!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-207561244892566095?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/207561244892566095/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=207561244892566095' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/207561244892566095'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/207561244892566095'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/05/dieting-for-programmer.html' title='Dieting for Programmer'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-3789620862866022735</id><published>2010-05-17T02:55:00.000-07:00</published><updated>2010-05-17T03:19:17.952-07:00</updated><title type='text'>GPS Degrees, Minutes, Seconds to Decimals C#</title><content type='html'>I have been trying to connect to a device and get the GPS Data, I was using the library provided by Microsoft's Coding4Fun. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/coding4fun/archive/2006/10/31/912287.aspx"&gt;http://blogs.msdn.com/coding4fun/archive/2006/10/31/912287.aspx&lt;/a&gt; and written by Scott Hanselman... how can he be wrong!?&lt;br /&gt;&lt;br /&gt;The issue I came across was the precision was out by quite a bit, so the parsing was incorrect, &lt;span style="font-weight:bold;"&gt;for my device&lt;/span&gt;. I'm not sure if NMEA standard is 100% standard, so I'm just posting this code here in case other people have issues.&lt;br /&gt;&lt;br /&gt;ProcessGPRMC and ProcessGPGGA both need to be updated, I have created a method to do this.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: csharp"&gt;&lt;br /&gt;private static double DDMMSSToDecimalDegrees(string data)&lt;br /&gt;{&lt;br /&gt;       var ddmmss = (Convert.ToDouble(data) / 100);&lt;br /&gt;&lt;br /&gt;       var degrees = (int)ddmmss;&lt;br /&gt;&lt;br /&gt;       var minutesseconds = ( (ddmmss - degrees) * 100 ) / 60.0;              &lt;br /&gt;&lt;br /&gt;       return degrees + minutesseconds;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There is also the issue to do with North, Southern, Western and Eastern Hemisphere where the value has go to be negated. :)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So the update methods needs to look like this&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: csharp"&gt;&lt;br /&gt;public void ProcessGPGGA(string data)&lt;br /&gt;  {&lt;br /&gt;   try&lt;br /&gt;   {&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                string[] fields = Regex.Split(data, ",");&lt;br /&gt;&lt;br /&gt;                //Time: Hour, Minute, Second&lt;br /&gt;                //Time is Zulu&lt;br /&gt;                GPGGA.Hour = Convert.ToInt32(fields[0].Substring(0, 2));&lt;br /&gt;                GPGGA.Minute = Convert.ToInt32(fields[0].Substring(2, 2));&lt;br /&gt;                GPGGA.Second = Convert.ToInt32(fields[0].Substring(4, 2));&lt;br /&gt;&lt;br /&gt;                //Latitude&lt;br /&gt;          &lt;br /&gt;                GPGGA.Latitude = DDMMSSToDecimalDegrees(fields[1]);&lt;br /&gt;&lt;br /&gt;             &lt;br /&gt;                if (fields[2] == "S")&lt;br /&gt;                    GPGGA.LatitudeHemisphere = Cardinal.South;&lt;br /&gt;                else&lt;br /&gt;                    GPGGA.LatitudeHemisphere = Cardinal.North;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                if (GPGGA.LatitudeHemisphere == Cardinal.South)&lt;br /&gt;                    GPGGA.Latitude = GPGGA.Latitude * -1;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                //Longitude&lt;br /&gt;                &lt;br /&gt;                GPGGA.Longitude = DDMMSSToDecimalDegrees(fields[3]);&lt;br /&gt;&lt;br /&gt;               &lt;br /&gt;                if (fields[4] == "W")&lt;br /&gt;                    GPGGA.LongitudeHemisphere = Cardinal.West;&lt;br /&gt;                else &lt;br /&gt;                    GPGGA.LongitudeHemisphere = Cardinal.East;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                if (GPGGA.LongitudeHemisphere == Cardinal.West)&lt;br /&gt;                    GPGGA.Longitude = GPGGA.Longitude * -1;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    //GPS Signal Quality&lt;br /&gt;    GPGGA.GPSQuality = (GPSQuality)Convert.ToUInt32( fields[5] );&lt;br /&gt;&lt;br /&gt;    //Satellites&lt;br /&gt;    GPGGA.NumberOfSatellitesInUse = Convert.ToInt32(fields[6]);&lt;br /&gt;&lt;br /&gt;    //HDOP&lt;br /&gt;    GPGGA.HDOP = Convert.ToDouble( fields[7] );&lt;br /&gt;&lt;br /&gt;    //Altitude&lt;br /&gt;    GPGGA.Altitude = Convert.ToDouble(fields[8]);&lt;br /&gt;&lt;br /&gt;    //increase message count&lt;br /&gt;    GPGGA.Count ++;&lt;br /&gt;   }&lt;br /&gt;   catch(Exception e)&lt;br /&gt;   {&lt;br /&gt;                System.Diagnostics.Trace.WriteLine("Chaos in ProcessGPGGA! " + e.ToString());&lt;br /&gt;            }&lt;br /&gt;  }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: csharp"&gt;&lt;br /&gt;public void ProcessGPRMC(string data)&lt;br /&gt;  {&lt;br /&gt;            string[] fields = Regex.Split(data, ",");&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;            //Time: Hour, Minute, Second&lt;br /&gt;            //Time is Zulu&lt;br /&gt;            GPRMC.Hour = Convert.ToInt32(fields[0].Substring(0, 2));&lt;br /&gt;            GPRMC.Minute = Convert.ToInt32(fields[0].Substring(2, 2));&lt;br /&gt;            GPRMC.Second = Convert.ToInt32(fields[0].Substring(4, 2));&lt;br /&gt;&lt;br /&gt;            GPRMC.Day = Convert.ToInt32(fields[8].Substring(0, 2));&lt;br /&gt;            GPRMC.Month = Convert.ToInt32(fields[8].Substring(2, 2));&lt;br /&gt;            GPRMC.Year = Convert.ToInt32(fields[8].Substring(4, 2));&lt;br /&gt;&lt;br /&gt;            GPRMC.DataValid = Convert.ToChar(fields[1]);&lt;br /&gt;&lt;br /&gt;            //Latitude&lt;br /&gt;&lt;br /&gt;            GPRMC.Latitude = DDMMSSToDecimalDegrees(fields[2]);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;            if (fields[3] == "S")&lt;br /&gt;                GPRMC.LatitudeHemisphere = Cardinal.South;&lt;br /&gt;            else&lt;br /&gt;                GPRMC.LatitudeHemisphere = Cardinal.North;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;            if (GPRMC.LatitudeHemisphere == Cardinal.South)&lt;br /&gt;                GPRMC.Latitude = GPRMC.Latitude * -1;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;            //Longitude&lt;br /&gt;&lt;br /&gt;            GPRMC.Longitude = DDMMSSToDecimalDegrees(fields[4]);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;            if (fields[5] == "W")&lt;br /&gt;                GPRMC.LongitudeHemisphere = Cardinal.West;&lt;br /&gt;            else&lt;br /&gt;                GPRMC.LongitudeHemisphere = Cardinal.East;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;            if (GPRMC.LongitudeHemisphere == Cardinal.West)&lt;br /&gt;                GPRMC.Longitude = GPRMC.Longitude * -1;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;            GPRMC.GroundSpeed = Convert.ToDouble(fields[6]);&lt;br /&gt;&lt;br /&gt;            //TODO: MagVar and Course&lt;br /&gt;            GPRMC.Count++;&lt;br /&gt;        }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;That's it for now, I haven't implemented the rest of the project. I'll post all the updated code when I get somewhere, github maybe?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-3789620862866022735?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/3789620862866022735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=3789620862866022735' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/3789620862866022735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/3789620862866022735'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/05/gps-degrees-minutes-seconds-to-decimals.html' title='GPS Degrees, Minutes, Seconds to Decimals C#'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-8416966280242930116</id><published>2010-05-14T01:57:00.000-07:00</published><updated>2010-05-14T02:06:59.606-07:00</updated><title type='text'>Get WhoIs Information from a domain name in C#</title><content type='html'>I needed to get the WhoIs information for a domain using the simplest way possible.&lt;br /&gt;&lt;br /&gt;I could have used a WebService such as WebServiceX.net's &lt;a href="http://www.webservicex.net/whois.asmx"&gt;http://www.webservicex.net/whois.asmx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But I decided to just talk to the whois servers directly, all I needed to do was open a socket send a request and then read from the socket.&lt;br /&gt;&lt;br /&gt;I used the list from &lt;a href="http://www.nirsoft.net/whois_servers_list.html"&gt;http://www.nirsoft.net/whois_servers_list.html&lt;/a&gt; then wrote some code, here is an example of how I did it for anyone that needs the information.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: csharp"&gt;&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Net.Sockets;&lt;br /&gt;using System.IO;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;namespace WHOISConsole&lt;br /&gt;{&lt;br /&gt;    class Program&lt;br /&gt;    {&lt;br /&gt;        static void Main(string[] args)&lt;br /&gt;        {&lt;br /&gt;&lt;br /&gt;            string whoisServer = "whois.nic.uk";&lt;br /&gt;&lt;br /&gt;            string domainName = "bbc.co.uk";&lt;br /&gt;&lt;br /&gt;            Console.WriteLine(GetWHOIS(whoisServer,domainName));&lt;br /&gt;&lt;br /&gt;            Console.ReadKey();&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        /// &lt;summary&gt;&lt;br /&gt;        /// Get the WHO IS Info for a domain name&lt;br /&gt;        /// &lt;/summary&gt;&lt;br /&gt;        /// &lt;param name="whoisServer"&gt;The server to use, changes per domain&lt;/param&gt;&lt;br /&gt;        /// &lt;param name="domainName"&gt;Domain we are looking up&lt;/param&gt;&lt;br /&gt;        /// &lt;returns&gt;&lt;/returns&gt;&lt;br /&gt;        public static string GetWHOIS(string whoisServer, string domainName)&lt;br /&gt;        {&lt;br /&gt;            // Port 43 is standard&lt;br /&gt;            using (var tcpClient = new TcpClient(whoisServer, 43))&lt;br /&gt;            {&lt;br /&gt;                // get the underlying stream&lt;br /&gt;                using (var networkStream = tcpClient.GetStream())&lt;br /&gt;                {&lt;br /&gt;                    // we need to write to the stream&lt;br /&gt;                    using (var streamWriter = new StreamWriter(networkStream))&lt;br /&gt;                    {&lt;br /&gt;                        // write the domain and a new line, CRLF&lt;br /&gt;                        streamWriter.WriteLine(domainName);&lt;br /&gt;&lt;br /&gt;                        // flush it to actually send it&lt;br /&gt;                        streamWriter.Flush();&lt;br /&gt;                    }&lt;br /&gt;&lt;br /&gt;                    using (var streamReader = new StreamReader(networkStream))&lt;br /&gt;                    {&lt;br /&gt;                        // now read from the stream&lt;br /&gt;                        return streamReader.ReadToEnd();&lt;br /&gt;                    }&lt;br /&gt;                    &lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Any comments please post below. Thanks.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-8416966280242930116?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/8416966280242930116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=8416966280242930116' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/8416966280242930116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/8416966280242930116'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/05/get-whois-information-from-domain-name.html' title='Get WhoIs Information from a domain name in C#'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-4159282118278363840</id><published>2010-05-14T01:08:00.001-07:00</published><updated>2010-05-14T01:54:09.237-07:00</updated><title type='text'>Remote Desktop Sharing Files</title><content type='html'>With remote desktop the way to share files is via the Local Resources tab, you can then select a drive.&lt;br /&gt;&lt;br /&gt;This can be tiresome as you would have share a whole drive over the Internet / Network, the workaround I use, is to create a Mapped Drive to the folder I want to share.&lt;br /&gt;&lt;br /&gt;I then share that mapped drive, this means I don't have to wait while all the data is sent, so it makes it very fast.&lt;br /&gt;&lt;br /&gt;Not sure why MS can't just support single file send like VNC.&lt;br /&gt;&lt;br /&gt;Edit: Thanks to smellyhippy from irc.freenode.net #c##, you can just use copy and paste, I was trying drag and drop.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have also allowed anonymous comments. :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-4159282118278363840?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/4159282118278363840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=4159282118278363840' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/4159282118278363840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/4159282118278363840'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/05/remote-desktop-sharing-files.html' title='Remote Desktop Sharing Files'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-6998363790448279634</id><published>2010-04-28T12:57:00.001-07:00</published><updated>2010-04-28T13:00:12.996-07:00</updated><title type='text'>Agent Killer - DirectX Game</title><content type='html'>This is a game I made for my final year of Uni, I'm releasing it cos its hilarious! I'm going to fix the code, make it run with XNA and OpenGL I think.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://sarkie.webhop.org/Files/AgentKiller.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://sarkie.webhop.org/Files/AgentKiller.0.1.zip"&gt;Download&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You'll need a decent card I think to get it running, it *should* work.&lt;br /&gt;&lt;br /&gt;Have fun!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-6998363790448279634?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/6998363790448279634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=6998363790448279634' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/6998363790448279634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/6998363790448279634'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/04/agent-killer-directx-game.html' title='Agent Killer - DirectX Game'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-2398730600519324698</id><published>2010-04-27T16:27:00.000-07:00</published><updated>2010-04-27T16:28:14.148-07:00</updated><title type='text'>System.BadImageFormatException: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)</title><content type='html'>Trying to run DirectX Managed on my Windows 7 x64, the .dlls are only for x86. Change the details in the Project\Build to fix it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-2398730600519324698?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/2398730600519324698/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=2398730600519324698' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/2398730600519324698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/2398730600519324698'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/04/systembadimageformatexception-is-not.html' title='System.BadImageFormatException: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-7741475048495502879</id><published>2010-04-25T15:18:00.000-07:00</published><updated>2010-05-16T15:25:28.274-07:00</updated><title type='text'>//TODO</title><content type='html'>Well here is a list of things on my to do list, of things I'm planning on doing or looking at, I will be updating this as I complete them&lt;br /&gt;&lt;br /&gt;Books to read&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Art of Unit Testing&lt;/li&gt;&lt;br /&gt;&lt;li&gt;DDD&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Applying DDD with .net&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Code Complete 2&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Pragmatic Programmer&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Working Effectively with Legacy Code&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Passionate Programmer&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Mythical Man Month&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Things to Do&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;TASM Series&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Ruby for the C# Programmer Series&lt;li&gt;&lt;br /&gt;&lt;li&gt;Dissecting Malware&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Design Patterns Series&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Dieting for Programmers!&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Projects&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;s&gt;Finish Website&lt;/s&gt; &lt;a href="http://sarkie.webhop.org"&gt;sarkie.webhop.org&lt;/a&gt; -27-April-2010&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;s&gt;Restart the blog&lt;/s&gt;-07-April-2010&lt;/li&gt;&lt;br /&gt;&lt;li&gt;WPF Auto Follow Friday&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;s&gt;OpenRASTA site checker&lt;/s&gt;  &lt;a href="http://devserver.webhop.org"&gt;devserver.webhop.org&lt;/a&gt; - 16/05/2010 &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Ruby CD System&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Virtua Tennis Savegame Editor&lt;/li&gt;&lt;br /&gt;&lt;li&gt;DirectX Game, rebuild and update&lt;/li&gt;&lt;br /&gt;&lt;li&gt;XNA Breakout Game&lt;/li&gt;&lt;br /&gt;&lt;li&gt;OpenGL Breakout Game&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Abstracted Game using DirectX, XNA and OpenGL&lt;/li&gt;&lt;br /&gt;&lt;li&gt;UnrealScript Mod&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Source Engine MOD, USEMP&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;That's it for now, I'm sure I'm forgetting loads! But that's enough to start me with, anything else I'm missing?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-7741475048495502879?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/7741475048495502879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=7741475048495502879' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/7741475048495502879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/7741475048495502879'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/04/todo.html' title='//TODO'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-7735198391099606888</id><published>2010-04-24T12:22:00.000-07:00</published><updated>2010-04-24T12:31:30.960-07:00</updated><title type='text'>Links, Precedence, Style-sheets, Oh my.</title><content type='html'>So I am currently developing my site and I wanted links to be different to my overall colour scheme for links. I therefore added a page style sheet to change them, no matter what I did, the overall one would take precedence instead of the page one.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: css"&gt;&lt;br /&gt;a:link, a:visited,a:hover, a:active&lt;br /&gt;{&lt;br /&gt;   &lt;br /&gt;    text-decoration:underline;&lt;br /&gt;    color:#FFFFFF;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;So I wanted to change it to just white underlined, this was first too over kill, since it was changing links in the footer. I then made it class based&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: css"&gt;&lt;br /&gt;.projectList a:link&lt;br /&gt;{&lt;br /&gt;    text-decoration:underline;&lt;br /&gt;    color:#FFFFFF;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This still did not work for some reason, firebug showed my Site.css was winning now. (odd)&lt;br /&gt;&lt;br /&gt;Thanks to ye-old faithfull &lt;a href="http://w3schools.com"&gt;W3Schools&lt;/a&gt;&lt;br /&gt;I found :link pseudo classes &lt;a href="http://www.w3schools.com/css/pr_pseudo_link.asp"&gt;http://www.w3schools.com/css/pr_pseudo_link.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This meant I could change it per link basis, (win) I now had.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush :css"&gt;&lt;br /&gt;a.downloadLink:visited&lt;br /&gt;{&lt;br /&gt;       color:#FFFFFF;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;and my link&lt;br /&gt;&lt;br /&gt;&lt;a class="downloadLink" href="url"&gt;Download&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now it bloody works!! :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-7735198391099606888?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/7735198391099606888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=7735198391099606888' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/7735198391099606888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/7735198391099606888'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/04/links-precedence-style-sheets-oh-my.html' title='Links, Precedence, Style-sheets, Oh my.'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-4420761453194374680</id><published>2010-04-09T02:08:00.000-07:00</published><updated>2010-04-09T02:09:57.816-07:00</updated><title type='text'>XML to PDF using NFOP, C# .NET</title><content type='html'>I was using this&lt;br /&gt;&lt;br /&gt;http://www.codelathe.com/blog/index.php/2009/02/28/generate-pdf-from-cnet/&lt;br /&gt;&lt;br /&gt;Don't download the 1.0 build version&lt;br /&gt;&lt;br /&gt;Get the 2.0 version source &lt;br /&gt;&lt;br /&gt;http://sourceforge.net/projects/nfop/files/nfop/nfop-v2.0.0/nfop_fw2-2.0.0.zip/download&lt;br /&gt;&lt;br /&gt;and get the .dll out of the build dir, or you will get lots of manifest errors and such&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-4420761453194374680?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/4420761453194374680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=4420761453194374680' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/4420761453194374680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/4420761453194374680'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/04/xml-to-pdf-using-nfop-c-net.html' title='XML to PDF using NFOP, C# .NET'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-1787355261040497527</id><published>2010-04-08T09:14:00.001-07:00</published><updated>2010-04-19T08:04:21.266-07:00</updated><title type='text'>Chrome User Agent</title><content type='html'>Since I can't access my banking website with Chrome but I can with safari, this is how you change the User Agent easily&lt;br /&gt;&lt;br /&gt;Make a .bat or .cmd file open with notepad and paste&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;br /&gt;start chrome --user-agent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Version/3.1 Safari/525.1"&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-1787355261040497527?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/1787355261040497527/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=1787355261040497527' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/1787355261040497527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/1787355261040497527'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/04/chrome-user-agent.html' title='Chrome User Agent'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-2119805804244555229</id><published>2010-04-07T13:13:00.000-07:00</published><updated>2010-04-19T03:22:15.795-07:00</updated><title type='text'>WMV C# Meta Information Update Example</title><content type='html'>I have recently downloaded all the &lt;a href="http://www.dimecasts.net/"&gt;www.dimecasts.net&lt;/a&gt; Videos, I then tried to play them on my Xbox, but they weren't in order, so made it quite hard to follow. I therefore created an App to edit the WMV titles, which the Xbox reads.&lt;br /&gt;&lt;br /&gt;This code is "ok", I should really make the code into a wrapper library, but this is just a bit of a proof of concept really.&lt;br /&gt;&lt;br /&gt;Firstly, you need to add the WMP.dll to the form using the Toolbox,  which should appear as the Windows Media Player Control, it will then add two references&lt;br /&gt;&lt;br /&gt;AxWMPLib&lt;br /&gt;WMPLib&lt;br /&gt;&lt;br /&gt;Then the main code for getting the Meta Data is&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;pre class="brush: csharp"&gt;&lt;br /&gt;private string GetTitle(string filePath)&lt;br /&gt;     {&lt;br /&gt;         var mediaPlayer = new WindowsMediaPlayerClass();&lt;br /&gt;&lt;br /&gt;         IWMPMedia mediaItem = mediaPlayer.add(filePath);&lt;br /&gt;&lt;br /&gt;         return mediaItem.getItemInfo("Title");&lt;br /&gt;      &lt;br /&gt;     }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I got all the attribute names running code like this&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;pre class="brush: csharp"&gt;&lt;br /&gt;for (int i=0; i&amp;lt;mediaitem.attributeCount; i++) {&lt;br /&gt;Console.WriteLine(mediaitem.getAttributeName(i) + " = " +  mediaitem.getItemInfo(mediaitem.getAttributeName(i)) );&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;The code for setting it also very simple&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;pre class="brush: csharp"&gt;&lt;br /&gt;private void SetTitle(string filePath, string title)&lt;br /&gt;     {&lt;br /&gt;         var mediaPlayer = new WindowsMediaPlayerClass();&lt;br /&gt;&lt;br /&gt;         IWMPMedia mediaItem = mediaPlayer.add(filePath);&lt;br /&gt;&lt;br /&gt;      &lt;br /&gt;         mediaItem.setItemInfo("Title", title);&lt;br /&gt;     }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here is the source code: &lt;br /&gt;&lt;a href="http://sarkie.webhop.org/Files/WindowsMediaEditor.zip"&gt;http://sarkie.webhop.org/Files/WindowsMediaEditor.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-2119805804244555229?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/2119805804244555229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=2119805804244555229' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/2119805804244555229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/2119805804244555229'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/04/wmv-c-meta-information-update-example.html' title='WMV C# Meta Information Update Example'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-9029252876011655306</id><published>2010-04-07T13:11:00.000-07:00</published><updated>2010-04-07T13:13:47.340-07:00</updated><title type='text'>wmp.dll self registration failed and missing .dlls from COM Toolbox Visual 2008</title><content type='html'>I got this error trying to add the %WINDIR%\System32\WMP.dll to my toolbox.&lt;br /&gt;&lt;br /&gt;This fix is simples&lt;br /&gt;&lt;br /&gt;Don't run Visual 2008 (maybe 2005) as Administrator! :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-9029252876011655306?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/9029252876011655306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=9029252876011655306' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/9029252876011655306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/9029252876011655306'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2010/04/wmpdll-self-registration-failed-and.html' title='wmp.dll self registration failed and missing .dlls from COM Toolbox Visual 2008'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-5220546028656561131</id><published>2008-04-29T02:43:00.000-07:00</published><updated>2008-04-29T03:01:59.072-07:00</updated><title type='text'>Famous?</title><content type='html'>After having a number of emails with Jeff Atwood last year, I hinted about having a book of Programming Books which most programmers have, I think I coined it a "programming porn pile".&lt;br /&gt;&lt;br /&gt;Today Jeff has added it to his blog, so therefore I am famous on the Internet Tubes.&lt;br /&gt;&lt;br /&gt;http://www.codinghorror.com/blog/archives/001108.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-5220546028656561131?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/5220546028656561131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=5220546028656561131' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/5220546028656561131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/5220546028656561131'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2008/04/famous.html' title='Famous?'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-1175118497540364602</id><published>2007-12-30T05:36:00.000-08:00</published><updated>2007-12-30T05:39:09.112-08:00</updated><title type='text'>Internet Explorer 7 Problems</title><content type='html'>If after some recent updates December-07 the following errors occur.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;User Accounts is not accessible : MSHTA / Script Errors&lt;/li&gt;&lt;li&gt;You cannot access HTTPS sites&lt;/li&gt;&lt;li&gt;Others probably&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;If these are the case, redownload Internet Explorer 7 redistributions and uninstall the current version and do a fresh reinstall, then get the single update from Windows Update, everything should be fixed. :)&lt;br /&gt;&lt;br /&gt;Sarkie&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-1175118497540364602?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/1175118497540364602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=1175118497540364602' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/1175118497540364602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/1175118497540364602'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2007/12/internet-explorer-7-problems.html' title='Internet Explorer 7 Problems'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28318385.post-115162155515961524</id><published>2006-06-29T15:38:00.001-07:00</published><updated>2006-06-29T15:52:35.170-07:00</updated><title type='text'>Graphics Problem</title><content type='html'>This post of basically anyone having a problem with an XFX 6600GT and NForce Based motherboards.&lt;br /&gt;&lt;br /&gt;I'll set the scene, I am beta testing the latest Nvidia Drivers for my newly purchased card to extra "ummph" out of it, and every time I click to load the new control panel it crashes, so I wait for a new beta and boom same error, so I think and I quote "FUCK THAT".&lt;br /&gt;&lt;br /&gt;So I decided I'd remove all Nvidia crap, and then use DriverCleaner from www.guru3d.com to remove all crap, Platform drivers and graphics drivers.&lt;br /&gt;&lt;br /&gt;I then go to www.nvidia.com and get the latest Nforce4 drivers even though mine is Nforce2 it supposedly uses a Unified Driver Architecture, so that all drivers support all revisions, so I installed that all works fine except it doesn't install the Network Adapter, no biggy I am using wireless. (This was a problem I knew of before and I had the driver if needed)&lt;br /&gt;&lt;br /&gt;I then installed the latest beta drivers, restarted and checked the control panel click the button, BOOM death still, so I thought they must be dodgy so I removed them and used the latest WHQL signed drivers from www.nvidia.com so I thought back to where we are.&lt;br /&gt;&lt;br /&gt;Played a few games, did stuff it was fine.&lt;br /&gt;&lt;br /&gt;Then decided to upgrade my PowerStrip demo to the latest release, all fine.&lt;br /&gt;&lt;br /&gt;Played a few games, fine.&lt;br /&gt;&lt;br /&gt;Few days passed started playing King Kong and I got a few artefacts on screen, thought oops, ah well, a restart will be fine. Then it was ok, played CS:S like I do nearly everyday :S and I got artefacts, first thing I thought overheating, so I took my side panel off, still occurred. I loaded de_dust with HDR enabled and my fps is usually about 25 for that map, it was &lt;10.  So I got RivaTuner to check heat of card, ask a few people one including Rom from www.romsteady.net he said the heat was ok, but he had a similar problem relating to a dodgy power supply, I thought GREAT!!! I also couldnt play any Media files it would crash any media player I used or made it use 100% CPU&lt;br /&gt;&lt;br /&gt;So I thought last try, try www.nvidia.com forums I registered and first sign a sticky http://forums.nvidia.com/index.php?showtopic=294  "Artefacts in all DX Games".&lt;br /&gt;Yes, problem over! Opened up it said:&lt;br /&gt;&lt;br /&gt;Please disable AGP Fastwrites in BIOS&lt;br /&gt;Update motherboard BIOS and chipset driver.&lt;br /&gt;&lt;br /&gt;and then it clicked why my Powerstrip didnt like my hardware, and such my platform drivers where wrong, related to my network.&lt;br /&gt;&lt;br /&gt;So I uninstalled Nforce4 installed Nforce2 and then tested and everything worked, I also turned off AGP Fastwrites afterwards incase I stopped any future problems.&lt;br /&gt;&lt;br /&gt;There we go.&lt;br /&gt;&lt;br /&gt;Cheers Sarkie.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/28318385-115162155515961524?l=sarkies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sarkies.blogspot.com/feeds/115162155515961524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=28318385&amp;postID=115162155515961524' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/115162155515961524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28318385/posts/default/115162155515961524'/><link rel='alternate' type='text/html' href='http://sarkies.blogspot.com/2006/06/graphics-problem_29.html' title='Graphics Problem'/><author><name>David Poole</name><uri>https://profiles.google.com/117660779146888242441</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-twkN3en_Tt8/AAAAAAAAAAI/AAAAAAAAAAA/uW8fUawqJHA/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry></feed>
