<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>OSByte</title>
	<atom:link href="http://osbyte.net/feed" rel="self" type="application/rss+xml" />
	<link>http://osbyte.net</link>
	<description>That's *FX to you and me...</description>
	<lastBuildDate>Tue, 04 Oct 2011 21:29:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Rant: Printers</title>
		<link>http://osbyte.net/archives/93</link>
		<comments>http://osbyte.net/archives/93#comments</comments>
		<pubDate>Tue, 04 Oct 2011 21:29:31 +0000</pubDate>
		<dc:creator>Pootle</dc:creator>
				<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://osbyte.net/?p=93</guid>
		<description><![CDATA[Printers &#8211; second only to fax machines in the &#8220;technology that gives me hassle&#8221; category. I needed to make a quick copy of a receipt, so I scanned it in then selected &#8220;Print&#8221;. A warning popped up saying that magenta was very low. This wasn&#8217;t a problem, because I only needed a quick black and [...]]]></description>
			<content:encoded><![CDATA[<p>Printers &#8211; second only to fax machines in the &#8220;technology that gives me hassle&#8221; category.</p>
<p>I needed to make a quick copy of a receipt, so I scanned it in then selected &#8220;Print&#8221;. A warning popped up saying that magenta was very low. This wasn&#8217;t a problem, because I only needed a quick black and white copy. I buried down in the printer settings, set it to grayscale then hit the button to start printing. The printer immediately jumped into action.</p>
<p>When I say &#8220;action&#8221;, I don&#8217;t mean actually printing. To be honest, I&#8217;m not really sure what it&#8217;s doing at this point. I think it&#8217;s cleaning the heads in preparation to print. The clunks and whirs coming from the machine indicate some kind of movement in the head vicinity, but it&#8217;s not reached for paper yet.</p>
<p>After a minute, it goes quiet. Too quiet. I lean around to see if anything&#8217;s flashing, and search the desktop for hints about what&#8217;s going on, but there&#8217;s nothing. Before I start pushing buttons, it suddenly starts moving again.</p>
<p>Two minutes in, and it still hasn&#8217;t reached for paper. I&#8217;m starting to wonder if that&#8217;s what some of the whirring is &#8212; maybe the paper is stuck or out of reach, but I don&#8217;t want to interrupt it at this point because for all I know, it could be about to spit out the page.</p>
<p>After nearly three minutes of teasing, the whirs and clunks subside and a message box pops up on the screen. During all this activity, the last bit of magenta ink has mysteriously evaporated, so it can&#8217;t possibly print my grayscale image, even though the two black cartridges are brand new.</p>
<p>Oh well, about time I inserted that replacement cartridge I bought a while ago. The box had been left on my bedside table by dearest daughter, and it had been living there for a couple of weeks. I went to fetch it, only to find it&#8217;s been moved. It&#8217;s literally been there for weeks, up until the moment I actually need it, and now I&#8217;m out of luck.</p>
<p>Back at the computer, I&#8217;m sure there must be a way of convincing it to continue printing in black and white. Sure enough, the empty ink error goes on to say that if I press continue, it will attempt to print without the magenta, but threatens me with damage to the printer. I&#8217;m a little dubious of this claim, but seeing as the image doesn&#8217;t contain any magenta, it&#8217;s not a problem. What is a problem is that there&#8217;s no continue button: the dialog has a &#8220;buy ink&#8221; button and a &#8220;cancel printing&#8221; button only. Maybe it means the button on the front of the printer with the flashing light? I press it, and the whirring starts again&#8230;</p>
<p>&#8230;then stops. And nothing happens. The printer queue window tells me my document is printing, but it&#8217;s telling lies.</p>
<p>Maybe the age old fix for everything will work. I turn the printer off, then on again. The printer whirs a bit once more, then claims to be ready for action. Unfortunately, turning the printer off caused the print job to be cancelled and deleted, so I track down the scanned image and select print again, making sure it&#8217;s still set to grayscale and all that. More whirring, then nothing.</p>
<p>After much swearing and threats, I resume the hunt for the replacement cartridges. I eventually find the box hidden at the back of the bathroom drawer. Obvious, really, when you think about it. I replace the magenta cartridge and try again. Still no luck.</p>
<p>I unplug the printer and reconnect it using one of the USB ports on the rear of the machine. I have a thumb drive I use for ReadyBoost, and Windows was only happy to use it when I used a rear USB port rather than one of the front ones. I&#8217;m not sure why there&#8217;s a difference, but it was worth a shot. Nothing.</p>
<p>It&#8217;s giving me a warning that the yellow ink is also low, so I try replacing that one, too. We&#8217;re long past the point of things making sense now. <em>Still </em>nothing.</p>
<p>In an act of half desperation and half clicking to do something while wondering what to try next, I click the troubleshoot button in the printer settings. Windows sits and thinks for a while, then decides the USB driver is at fault and restarts it, declaring the issue fixed. Yeah, right, says I, clicking Print again before watching the printer pick up a piece of paper and print out my document. Wait, what? The troubleshoot button actually troubleshot and fixed an issue? Apparently so, and that&#8217;s the first time I&#8217;ve ever seen it do that.</p>
<p>It&#8217;s times like this I wish I still had my old Canon BJ10ex. It&#8217;s relatively slow at the actual printing, and black and white only, but I seem to remember a whole bunch less lead-in time and general messing around.</p>
]]></content:encoded>
			<wfw:commentRss>http://osbyte.net/archives/93/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rant: Wells Fargo</title>
		<link>http://osbyte.net/archives/85</link>
		<comments>http://osbyte.net/archives/85#comments</comments>
		<pubDate>Tue, 02 Aug 2011 18:56:55 +0000</pubDate>
		<dc:creator>Pootle</dc:creator>
				<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://osbyte.net/?p=85</guid>
		<description><![CDATA[A few months ago, I bought a couple of items using a 0% interest credit plan the store was offering. The credit was provided by Wells Fargo. Everything went through ok. Shortly afterwards, I started receiving emails with someone else&#8217;s name but to my email address, encouraging me to sign into my account on the [...]]]></description>
			<content:encoded><![CDATA[<p>A few months ago, I bought a couple of items using a 0% interest credit plan the store was offering. The credit was provided by Wells Fargo. Everything went through ok.</p>
<p>Shortly afterwards, I started receiving emails with someone else&#8217;s name but to my email address, encouraging me to sign into my account on the Wells Fargo online banking site. I don&#8217;t have online banking, just a store credit card, and that&#8217;s handled through a different site. I figured I should let them know. It&#8217;s probably just a simple data entry error, but might be a symptom of something more serious. In the small print at the bottom of the email, I found the line</p>
<blockquote><p><em>Wells Fargo Online</em>® customers, <span style="color: #336699;">Sign On</span> to your secure banking session and click &#8216;Contact Us&#8217;.<br />
If you are not a <em>Wells Fargo Online</em> customer, <span style="color: #336699;">contact us here</span>.</p></blockquote>
<p>As I&#8217;m not a Wells Fargo Online customer, I clicked &#8220;contact us here&#8221;. It redirected me to a customer service page, where it listed the email contacts as</p>
<blockquote>
<ul>
<li><strong>Online Banking Customer?</strong><br />
Sign On to send a secure email.</li>
<li><strong>Not an Online Banking customer?</strong><br />
Enroll Now to send a secure email.</li>
</ul>
</blockquote>
<div>Basically, there&#8217;s no way to contact them by email if you&#8217;re not a customer. Feel free to attempt calling the phone line or mail a letter.</div>
]]></content:encoded>
			<wfw:commentRss>http://osbyte.net/archives/85/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rant: Verizon</title>
		<link>http://osbyte.net/archives/79</link>
		<comments>http://osbyte.net/archives/79#comments</comments>
		<pubDate>Fri, 13 May 2011 23:32:02 +0000</pubDate>
		<dc:creator>Pootle</dc:creator>
				<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://osbyte.net/?p=79</guid>
		<description><![CDATA[If I buy a new phone before 10am, and pay extra for overnight delivery, don&#8217;t email me the next day to tell me order has been received and will be dispatched soon, estimating delivery as next week. I&#8217;d be a little annoyed if you tried that.]]></description>
			<content:encoded><![CDATA[<p>If I buy a new phone before 10am, and pay extra for overnight delivery, don&#8217;t email me the next day to tell me order has been received and will be dispatched soon, estimating delivery as next week.</p>
<p>I&#8217;d be a little annoyed if you tried that.</p>
]]></content:encoded>
			<wfw:commentRss>http://osbyte.net/archives/79/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rant: Adobe</title>
		<link>http://osbyte.net/archives/71</link>
		<comments>http://osbyte.net/archives/71#comments</comments>
		<pubDate>Fri, 13 May 2011 21:59:14 +0000</pubDate>
		<dc:creator>Pootle</dc:creator>
				<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://osbyte.net/?p=71</guid>
		<description><![CDATA[We had a copy of Photoshop CS2 for Windows, and wanted to upgrade to Photoshop CS5 for Mac. Not an incredibly unusual event, I would imagine. Adobe calls this a &#8220;cross-platform upgrade&#8221;. There&#8217;s a variation on this theme called a platform-switch  - switching platform on the same version with no upgrade; a process that seems [...]]]></description>
			<content:encoded><![CDATA[<p>We had a copy of Photoshop CS2 for Windows, and wanted to upgrade to Photoshop CS5 for <em>Mac</em>. Not an incredibly unusual event, I would imagine.</p>
<p>Adobe calls this a &#8220;cross-platform upgrade&#8221;. There&#8217;s a variation on this theme called a platform-switch  - switching platform on the same version with no upgrade; a process that seems to involve faxing promises that you won&#8217;t use the previous platform anymore. But no, it&#8217;s the cross-platform upgrade I&#8217;m after.<span id="more-71"></span></p>
<p>The Adobe website didn&#8217;t go into details about how exactly how the cross-platform this worked, and seeing as this was my wife&#8217;s photoshop I was upgrading, I wanted to know some more of the details. I didn&#8217;t have access to my wife&#8217;s Adobe site account at the time, and was concerned there might be hidden gotchas, like you have to order the upgrade from within the account. Just to be sure, I hit up customer support online chat. They didn&#8217;t seem overly interested, because I hadn&#8217;t bought the upgrade yet.</p>
<blockquote><p>Me:<span style="color: red;"> So I should be able to install the mac upgrade using the old PC serial code as proof of &#8220;upgrade&#8221;?</span><br />
Adobe Agent 1:<span> I&#8217;ll be right with you.</span><br />
Adobe Agent 1:<span> We do have Cross Platform Upgrade option. </span><br />
Adobe Agent 1:<span> I suggest you to contact our Sales Team or you can go ahead and place the order online. </span><br />
Adobe Agent 1:<span> Please do contact us when you are about to install the software so that we can unlock it.</span></p></blockquote>
<p><span>So the gist of the interaction was &#8220;buy the mac photoshop CS5 upgrade, then contact support for help unlocking it&#8221;. Alrighty. I was initially going to place the order through the Adobe store, but then found Newegg were selling it for slightly cheaper, so I placed the order with them.</span></p>
<h3><em>&#8230; A few days later &#8230;</em></h3>
<p>Having received the Mac upgrade, I began the installation process. After entering the serial code for the mac upgrade, it then asked for the serial code for the version I&#8217;m upgrading from. Curiosity then said &#8220;well, isn&#8217;t that just the serial code from the old PC version?&#8221; You&#8217;d think that&#8217;d suffice, but no. The installer claimed it wasn&#8217;t a valid product to upgrade from. Time to get back to Adobe support. I explain the upgrade I&#8217;m attempting and give them the serial codes from both versions. The response is&#8230;</p>
<blockquote><p>Adobe Agent 2:<span> Thank you for your patience.</span><br />
Adobe Agent 2:<span> In this case you need to return the Upgrade version and purchase the Cross platform upgrade.</span></p></blockquote>
<p><span>The what, now? I wondered if I have to go down the platform switch route, from a PC version of photoshop CS5:</span></p>
<blockquote><p>Me:<span style="color: red;"> wait, so I have to buy the pc version, then request a platform change?</span><br />
Adobe Agent 2:<span> No, you need to purchase a Cross platform upgrade to MAC.</span></p></blockquote>
<p><span>I&#8217;d been told to buy the &#8220;upgrade&#8221;, not a specific cross platform upgrade. The Adobe store only lists the full version, upgrade and subscription as purchase options. I pointed this out in case there was a misunderstanding:</span></p>
<blockquote><p><span>Adobe Agent 2:<span> You need to purchase the cross platform upgrade, the normal upgrade won&#8217;t support to install on the MAC system.</span><br />
Adobe Agent 2:<span> Do you have any more questions for me?</span><br />
Me:<span style="color: red;"> where can I buy the cross platform upgrade?</span><br />
Adobe Agent 2:<span> You can purchase it from Adobe only, in order to purchase the cross platform upgrade you need to contact our Sales team.</span></span></p></blockquote>
<p><span><span>So, it seems I need to buy a super-secret version of the upgrade that isn&#8217;t listed in the web store &#8211; I need to talk to sales in hushed tones in order to buy it.</span></span></p>
<blockquote><p><span><span>Adobe Agent 2:<span> However, the only option is to return the upgrade and purchase the Cross platform Upgrade to MAC.</span></span></span></p></blockquote>
<p><span><span><span>Feh. Ok, I&#8217;ve wasted my time buying it from newegg, it would seem. I might as well talk to Adobe sales and get the cross platform upgrade ordered, then I can return the Mac upgrade to newegg.</span></span></span></p>
<blockquote><p><span><span><span>Me:<span style="color: red;"> Ok, I&#8217;m looking at upgrading from photoshop CS2 on PC to photoshop CS5 on Mac.</span><br />
Me:<span style="color: red;"> I purchased a mac upgrade version of CS5, but I&#8217;m told I need a cross-platform upgrade version</span><br />
Adobe Sales:<span> That&#8217;s wonderful to know.</span><br />
Adobe Sales:<span> Yes, you can use cross platform swap with the latest version.</span><br />
Adobe Sales:<span> Yes, exactly.</span><br />
Adobe Sales:<span> Just to confirm, are you interested in creating 3D animations for the images that you create?</span></span></span></span></p></blockquote>
<p><span><span><span><span>Wut?</span></span></span></span></p>
<blockquote><p><span><span><span><span>Me:<span style="color: red;"> no, I&#8217;m wanting photoshop CS5 for Mac, but I&#8217;m upgrading from an older PC version. I have the photoshop CS5 upgrade for Mac, but I have since been told that I need a cross-platform version in order to upgrade</span><br />
Me:<span style="color: red;"> Do I need to return the Mac upgrade I bought and purchase a cross-platform upgrade?</span></span></span></span></span></p></blockquote>
<p><span><span><span><span>&#8230; Silence &#8230;</span></span></span></span></p>
<blockquote><p><span><span><span><span>Me:<span style="color: red;"> hello?</span><br />
Adobe Sales:<span> You just need to purchase the upgrade for Mac, while installing the upgrade you just need to contact our Customer service, they will be glad to help you with the upgrade.</span><br />
Adobe Sales:<span> Yes.</span><br />
</span></span></span></span></p></blockquote>
<p><span><span><span><span>Okaaaay</span></span></span></span></p>
<blockquote><p><span><span><span><span>Me:<span style="color: red;"> that&#8217;s just what I did</span><br />
Me:<span style="color: red;"> they told me the mac upgrade was no good</span><br />
Me:<span style="color: red;"> I needed a &#8220;cross-platform&#8221; upgrade</span><br />
Adobe Sales:<span> If you purchase the upgrade for Mac you will get a new serial number Photoshop CS2 for Mac, so that you can use to validate the upgrade of Photoshop CS5.=</span><br />
Me:<span style="color: red;"> so I need to ask support for a CS2 for mac serial number in order to install the upgrade?</span><br />
Adobe Sales:<span> Yes, absolutely.</span><br />
</span></span></span></span></p></blockquote>
<p>Hmm. Someone&#8217;s not telling the truth, but I don&#8217;t know who.</p>
<blockquote><p>Adobe Sales:<span> It looks like this is what you need, lets go ahead and place the order online, okay.</span><br />
Me:<span style="color: red;"> I have the mac upgrade already, it&#8217;s sitting in the drive</span><br />
Adobe Sales:<span> You just need to contact our Customer service on <a href="tel:1-800-833-6687" target="_blank">1-800-833-6687</a> for more information on this.</span><br />
Adobe Sales:<span> As we are from Online Sales Department, we don&#8217;t have enough resource to do the cross platform swap.</span></p></blockquote>
<p>It was a weekend and the phoneline wasn&#8217;t open, and I couldn&#8217;t get the online support chat to appear again, so I left it for the day.</p>
<h3><em>&#8230; a couple of days later &#8230;</em></h3>
<p>Called the customer service line at about 8:15pm central, 45 minutes before the end of support hours. An automated system tells me I&#8217;m on hold and hold time should be 20-30 mins. Bleah. Ok, I can do this.</p>
<p>30 mins go by.</p>
<p>An hour goes by.</p>
<p>After an hour and a half of listening to the same hold music &#8211; now 45 minutes past when support hours end &#8211; I reach the conclusion that they all must have gone home for the night and left me on hold. The option to chat with support online has reappeared, so I figured it can&#8217;t hurt to try again. I explain that I want to do a cross platform upgrade:</p>
<blockquote><p>Adobe Agent 3:<span> I have checked and see that you can go ahead and purchase the upgrade version of the software with the platform you want. </span></p></blockquote>
<p>Aha! Just the upgrade version &#8211; no secret cross-platform version. I tell the agent I already have the upgrade, and supply the serial codes.</p>
<blockquote><p>Adobe Agent 3:<span> I have checked and see that the serial numbers are valid. </span></p></blockquote>
<p><span>I&#8217;m starting to feel a glimmer of hope!</span></p>
<blockquote><p><span>Adobe Agent 3:<span> As I understand that you are not able to login to your Adobe account. Am I correct?</span></span></p></blockquote>
<p><span>Oh no! Hope glimmer fading! The agent appears to be slipping off-topic! The sales rep did this too; in retrospect, I guess they must have a dozen chat sessions going simultaneously, and occasionally paste a response into the wrong window.</span></p>
<blockquote><p><span>Me:<span style="color: red;"> Sorry? I&#8217;m trying to do a cross-platform upgrade, but the mac installer doesn&#8217;t seem to want to accept the old pc serial number</span><br />
Adobe Agent 3:<span> Are you at the upgrade check window?</span><br />
</span></p></blockquote>
<p><span>Frantic re-opening of the installer</span></p>
<blockquote><p><span>Adobe Agent 3:<span> Please left or right double click any where on the upgrade check window holding shift + cmd or shift + apple keys. You will get 6 digits unlock code; please provide me the same without closing the window.</span><br />
Me:<span style="color: red;"> XXXXXX</span><br />
Adobe Agent 3:<span> Thank you for the challenge code. </span><br />
Adobe Agent 3:<span> I’ll generate the response code, so once you enter the response code, the software will be unlocked.</span><br />
Me:<span style="color: red;"> Great!</span><br />
Adobe Agent 3:<span> here is the response code. </span><br />
Adobe Agent 3:<span> YYYYYY </span><br />
Adobe Agent 3:<span> Pleas go ahead and activate the software. </span><br />
Me:<span style="color: red;"> Ok, looks like it&#8217;s going ahead with the installation&#8230; thank you!</span></span></p></blockquote>
<h3>Post mortem</h3>
<p>It seems that if you&#8217;re doing a cross platform upgrade, all you need to do is buy the normal upgrade version for the platform you want to use, then when it comes to entering the serial code from the version you&#8217;re upgrading from, just ask support for the challenge/response code to unlock it. Agent #2 that I chatted with apparently had no knowledge regarding this process, and heaped on a ton of confusion. I guess if you find yourself in a similar situation, keep trying for an agent who can help you.</p>
<p>I understand the need to protect the software from illegal copying, but they&#8217;ve got to keep the process as simple as possible for those of us who are paying.</p>
]]></content:encoded>
			<wfw:commentRss>http://osbyte.net/archives/71/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Missing MSVCR80.DLL, MSVCM80.DLL, MSVCP80.DLL</title>
		<link>http://osbyte.net/archives/48</link>
		<comments>http://osbyte.net/archives/48#comments</comments>
		<pubDate>Thu, 27 May 2010 19:12:12 +0000</pubDate>
		<dc:creator>Pootle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://osbyte.net/?p=48</guid>
		<description><![CDATA[I ran into a problem yesterday that took a few hours to decipher. I thought I&#8217;d share it here, in case Google manages to lead someone with a similar problem this way. I made a minor change to a DLL in a program I&#8217;ve been working on and distributed it to the end users. The [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into a problem yesterday that took a few hours to decipher. I thought I&#8217;d share it here, in case Google manages to lead someone with a similar problem this way.</p>
<p>I made a minor change to a DLL in a program I&#8217;ve been working on and distributed it to the end users. The user that had requested the fix was happy with the result, and everything was fine for a couple of hours. Then I received an email from another user complaining the program was failing to load, reporting the error</p>
<blockquote><p><code>System.IO.FileLoadException: Could not load file or assembly 'MyLIB, Version=1.0.3798.19982, Culture=neutral, PublicKeyToken=null' or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)</code></p></blockquote>
<p>I&#8217;d seen this type of error before; typically it means MyLIB.dll requires another DLL that isn&#8217;t present. I checked his program folder, but everything was present &#8211; no missing DLLs. Tried re-patching and tried re-installing, and still no luck. I ran the dependency walker to see exactly what it was that it was missing. Turns out to be MSVCR80.DLL, MSVCM80.DLL and MSVCP80.DLL &#8211; the MS Visual C++ runtime.</p>
<p>Wait, <em>what?</em></p>
<p>That didn&#8217;t make any sense, as he&#8217;d had the program running happily a few hours before. I tried re-installing the runtime, but that didn&#8217;t seem to help. Much scratching of heads and gnashing of teeth followed.</p>
<p>It turns out that the new build of MyLIB.DLL that I&#8217;d built had tied itself to the specific runtime version I had on my PC &#8211; 8.0.50727.4053. These runtime DLLs were installing into C:\Windows\WinSxS, where different versions of the same DLLs live side by side in an uneasy truce. I don&#8217;t pretend to fully understand what&#8217;s going on in there, but anyway. The different versions of runtimes were in different subfolders, the names of which contained the version number. When we checked the machine that the program was failing to run on, the .4053 version wasn&#8217;t there. We had to find that specific C++ redistributable version on microsoft.com as install it, which fixed the problem. The version of the runtime I had tried reinstalling earlier was an older version. It was then I realized that I have a new PC, and this is the first time I&#8217;ve rebuilt that particular DLL on this machine. Those with older machines were less likely to have the newer runtime installed.</p>
<p>Many sources on the interwebbings were simply saying &#8220;get the dll from here, and stick it in your Windows\System32 directory&#8221;. This is exactly wrong in this instance.</p>
<p>It would be nice if I could find an option in the project build configuration that says &#8220;Use runtime version X or later&#8221;, rather than it requiring the specific version it finds on my machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://osbyte.net/archives/48/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ImageList and .NET leaks</title>
		<link>http://osbyte.net/archives/42</link>
		<comments>http://osbyte.net/archives/42#comments</comments>
		<pubDate>Wed, 14 Apr 2010 20:52:51 +0000</pubDate>
		<dc:creator>Pootle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://osbyte.net/?p=42</guid>
		<description><![CDATA[Even with garbage-collected managed memory systems like those found in C#/.NET applications still suffer from leaks. Most of the time, the &#8220;leak&#8221; is an object that has a reference to it being held by a static object. These can be a pain to identify, and near impossible in a large application without the aid of [...]]]></description>
			<content:encoded><![CDATA[<p>Even with garbage-collected managed memory systems like those found in C#/.NET applications still suffer from leaks.</p>
<p>Most of the time, the &#8220;leak&#8221; is an object that has a reference to it being held by a static object. These can be a pain to identify, and near impossible in a large application without the aid of additional memory tracking tools. SciTech&#8217;s <a href="http://memprofiler.com/" target="_blank">.NET Memory Profiler</a> software is such a tool, and has proven itself invaluable in detecting these problems.</p>
<p>It surprises me how often leaks come back to (mis)use of the innocent looking <em>ImageList </em>object. For example, I have an <em>ImageList </em>object that contains a set of icons for different document types, and use it for <em>ListView</em>s, <em>TreeView</em>s, <em></em>and anywhere else in the UI where I&#8217;m presenting collections of documents. It&#8217;s all too easy to set the image list:</p>
<pre style="padding-left: 30px;">myListView.SmallImageList = MyApp.DocumentIcons;</pre>
<p>&#8230;then assume that when this particular UI goes away, all the contents go away too.</p>
<p>Under the surface, pointing a <em>ListView </em>control at an <em>ImageList </em>also causes the <em>ImageList </em>to store a reference back to the <em>ListView</em>. This way, if an icon is modified in the <em>ImageList</em>, all the <em>ListViews </em>and other controls that are using it can be updated too. The downside is when you forget to reset the <em>SmallImageList </em>property in the <em>ListView </em>control when the control containing the <em>ListView </em>is being disposed. Because the <em>ImageList </em>refers to the <em>ListView</em>, the <em>ListView </em>won&#8217;t go away. The <em>ListView </em>refers to the parent UI, the parent UI refers to the document, the document refers to the data, and so on. So when we set our document reference to <em>null</em>, while we might expect the whole lot to be disposed, they continue to persist in memory,  accessible only through the <em>ImageList </em>object.</p>
<p>SciTech&#8217;s tool allows me to take snapshots before and after opening and closing a document or particular UI, and compare them to see what objects have been created but not freed. I&#8217;ve been using it for a few days and have already found a couple of commonly used UserControls in a UI-heavy application that weren&#8217;t being disposed of correctly.</p>
]]></content:encoded>
			<wfw:commentRss>http://osbyte.net/archives/42/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Natural order</title>
		<link>http://osbyte.net/archives/33</link>
		<comments>http://osbyte.net/archives/33#comments</comments>
		<pubDate>Wed, 24 Feb 2010 19:26:00 +0000</pubDate>
		<dc:creator>Pootle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[movie]]></category>
		<category><![CDATA[scifi]]></category>

		<guid isPermaLink="false">http://osbyte.net/?p=33</guid>
		<description><![CDATA[Being a parent is an awesome responsibility. The choices and guidance I provide to my kids now can have a huge impact on the adults they become. Sometimes this can be daunting, especially when you realize you only have one shot at some elements. One such element is something I&#8217;ve been wondering about for a [...]]]></description>
			<content:encoded><![CDATA[<p>Being a parent is an awesome responsibility. The choices and guidance I provide to my kids now can have a huge impact on the adults they become. Sometimes this can be daunting, especially when you realize you only have one shot at some elements.</p>
<p>One such element is something I&#8217;ve been wondering about for a while now. I&#8217;ve asked a couple of people for input, and for the most part, they just laughed. I don&#8217;t think they realize the magnitude of the issue. So here it is:</p>
<p>In what order should we watch the Star Wars films?</p>
<p>Should we go for released order, i.e. New Hope, Empire Strikes Back and Return of the Jedi (the original trilogy), <em>then</em> episodes  1-3? This was the order I grew up with. This way, you get the surprise that Darth Vader is Luke&#8217;s father. This is what I&#8217;m familiar with.</p>
<p>Alternatively, we could go in story order, with episodes 1-3 first.  It&#8217;s impossible for me to truly understand how the original trilogy will be interpreted already having the back story of episodes 1-3, beyond superficial observances like half way through the story, the effects are toned way down and suddenly there are <em>characters</em> running around the films.</p>
<p>&#8230;</p>
<p><em>You&#8217;re</em> laughing at me now, aren&#8217;t you?</p>
]]></content:encoded>
			<wfw:commentRss>http://osbyte.net/archives/33/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Binary Thumbs</title>
		<link>http://osbyte.net/archives/34</link>
		<comments>http://osbyte.net/archives/34#comments</comments>
		<pubDate>Wed, 24 Feb 2010 19:05:14 +0000</pubDate>
		<dc:creator>Pootle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://osbyte.net/?p=34</guid>
		<description><![CDATA[I tried playing Halo 3 the other night. Oh dear. I thought I&#8217;d start off gradually and selected difficulty mode &#8220;Easy&#8221;. &#8220;The game practically plays itself&#8221;, claimed the description of the easy mode setting. Nevertheless, I still managed to die. Now, ok, I should have been wearing my glasses. My original comfy seat on the [...]]]></description>
			<content:encoded><![CDATA[<p>I tried playing Halo 3 the other night. Oh dear.</p>
<p>I thought I&#8217;d start off gradually and selected difficulty mode &#8220;Easy&#8221;. &#8220;The game practically plays itself&#8221;, claimed the description of the easy mode setting. Nevertheless, I still managed to die.</p>
<p>Now, ok, I should have been wearing my glasses. My original comfy seat on the sofa, about 10&#8242; away from my 40&#8243; tv, was quickly replaced by perching on the edge of a seat about 3&#8242; away, but still my right eye was tearing from trying to make sense of all the detail. But never mind all that. The ultimately frustrating thing about the game I found was the controls.</p>
<p>For those who have never played, it seems that the left analogue stick controls movement left/right/forward/back, while the right analogue stick turns you left/right and causes you to look up and down. These are all pretty crucial when trying to shoot some alien creature ducking behind a tree, 20 yards in front of you. That&#8217;s kind of what the game is about.</p>
<p>I&#8217;m afflicted with the terrible physical disability <em>thumbus binaris</em> &#8211; possibly as a result of hundreds of keyboard based games and over exposure to Playstation 1 games. My thumbs don&#8217;t do analogue. It&#8217;s left or right or nothing. There&#8217;s no slightly-little-bit-to-the-left-but-not-too-much, often required to nudge the sights just past the edge of the tree ready for the alien. No, I swing around at full force like a drunken muppet on ice. And usually while staring at the sky or the ground, leaving me wondering where the heck I am now.</p>
<p>This isn&#8217;t a new discovery. I seem to remember having the same kind of &#8220;fun&#8221; with Goldeneye on N64. This may also explain why I&#8217;ve been less inclined to invest in PS2, PS3 or XBOX gaming, compared to PC games. I&#8217;m ok with a keyboard and mouse.</p>
<p>Am I getting too old for these games? Maybe I should just quit whining and try it again.</p>
<p>I&#8217;m certainly not going to venture online in this game just yet!</p>
]]></content:encoded>
			<wfw:commentRss>http://osbyte.net/archives/34/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Groundhog Day</title>
		<link>http://osbyte.net/archives/27</link>
		<comments>http://osbyte.net/archives/27#comments</comments>
		<pubDate>Tue, 09 Feb 2010 18:37:27 +0000</pubDate>
		<dc:creator>Pootle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[movie]]></category>
		<category><![CDATA[tv]]></category>

		<guid isPermaLink="false">http://osbyte.net/?p=27</guid>
		<description><![CDATA[Last week was Groundhog Day, and almost inevitably, Bill Murray&#8217;s Groundhog Day movie was showing on TV. It reminded me of articles I&#8217;d read last year, where the author attempted to work out how long Mr Murray spent repeating the same day over and over, by estimating the time required to learn to play a [...]]]></description>
			<content:encoded><![CDATA[<p>Last week was Groundhog Day, and almost inevitably, Bill Murray&#8217;s Groundhog Day movie was showing on TV. It reminded me of articles I&#8217;d read last year, where the author attempted to work out <a href="http://www.wolfgnards.com/index.php/2009/08/18/harold-ramis-responds-to-the-wolf-gnards">how long Mr Murray spent repeating the same day over and over</a>, by estimating the time required to learn to play a piano, speak French, etc. Opinions differ, ranging from 8 to 40 years. Either way, this is a seriously long time.</p>
<p>Even at the low end of the scale, I imagine 8 years would be enough time to get over the horror of the situation and accept the new lifestyle. It has it&#8217;s advantages for sure. Most importantly, you&#8217;re presented with potentially unlimited free time to spend doing whatever you want. Although you can&#8217;t take anything physical along with you day to day, knowledge and skills persist, so you can learn to play instruments, speak new languages, learn how to paint. I guess if you can get to an airport, you could learn to fly, too &#8211; especially as any fatal crashes are resolved at 6am the following morning.</p>
<p>There&#8217;s a ton of things you no longer have to worry about. You don&#8217;t have to worry about going to work any more. You don&#8217;t have to worry about money &#8211; your bank account replenishes every morning and you can always rack up credit cards without worrying about repayments. You don&#8217;t have to worry about mortgage payments or utilities. You can eat or drink whatever you want, seeing as your body also resets every morning &#8211; yay, no hangovers! You don&#8217;t have to worry about illnesses or crime, and you can be secure in the knowledge that everyone you care about is safe because the world resets every morning.</p>
<p>Sounds appealing* when you think of it like that.</p>
<p>Now imagine you&#8217;ve spent 8, 10, 20, or 40 years like that, and suddenly you get snapped out of it into a normal timeline. All those worries come back in a flash, and you&#8217;re not ready for it. Suddenly, you have no idea what&#8217;s going to happen that day, and now your actions have <em>consequences</em>.</p>
<p>I think that&#8217;d scare the life out of me. I picture Bill Murray wandering out into the snow covered street after the end of the movie and suddenly realizing, potentially for the first time in decades, that he has no idea what it going on in the town around him.</p>
<p>&#8220;Aaaaaaaaaargh!&#8221;</p>
<p>* Ok, the downsides might balance this out a bit. It must get pretty lonely after a while when no-one remembers the previous day&#8217;s interactions and you can&#8217;t talk about anything you&#8217;ve been doing without them thinking you&#8217;re crazy.</p>
]]></content:encoded>
			<wfw:commentRss>http://osbyte.net/archives/27/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Caprica, disbelief unsuspended.</title>
		<link>http://osbyte.net/archives/21</link>
		<comments>http://osbyte.net/archives/21#comments</comments>
		<pubDate>Wed, 03 Feb 2010 17:45:40 +0000</pubDate>
		<dc:creator>Pootle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[scifi]]></category>
		<category><![CDATA[tv]]></category>

		<guid isPermaLink="false">http://osbyte.net/?p=21</guid>
		<description><![CDATA[I watched the second episode of Caprica last night. This is the prequel to Battlestar Galactica, tracing the development of the Cylons. So far, I&#8217;m enjoying it, but in this episode I noticed something that kind of broke the suspension of disbelief. It wasn&#8217;t the appearance of the Cylon prototype. There is something that&#8217;s not [...]]]></description>
			<content:encoded><![CDATA[<p>I watched the second episode of Caprica last night. This is the prequel to Battlestar Galactica, tracing the development of the Cylons. So far, I&#8217;m enjoying it, but in this episode I noticed something that kind of broke the suspension of disbelief.</p>
<p>It <em>wasn&#8217;t</em> the appearance of the Cylon prototype. There is <em>something</em> that&#8217;s not quite right about the CG animated Cylon; it doesn&#8217;t seem to settle in the scene like it&#8217;s actually there. I can&#8217;t put my finger on what&#8217;s wrong, though. Maybe it&#8217;s rendered too shiny? Maybe it&#8217;s too sharp in contrast to the rest of the scene? Maybe there&#8217;s something wrong with the animation &#8211; not weighted correctly, perhaps? Maybe the appearance of an eight foot tall battle robot sitting in a teenager&#8217;s bedroom is just not right to start with.</p>
<p>But no. The thing that caught my eye was this:</p>
<p><a href="http://osbyte.net/wp-content/uploads/2010/02/vga.jpg"><img class="aligncenter size-medium wp-image-22" title="vga" src="http://osbyte.net/wp-content/uploads/2010/02/vga-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>A VGA cable in the back of a monitor in the lab where they&#8217;re working on the Cylon.</p>
<p>Elsewhere in the show they have video playing on the interior surface of house windows. They have video playing on a sheet of paper. Super hi-tech stuff. But down in the lab, they have a monitor with a familiar blue VGA connector plugged in the back. I wouldn&#8217;t be surprised if there was a Dell logo on the front.</p>
<p>It brought me right back down to Earth, in all senses of the phrase!</p>
<p>&#8230;</p>
<p>Alright, I&#8217;m a nerd.</p>
]]></content:encoded>
			<wfw:commentRss>http://osbyte.net/archives/21/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

