<?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>ODLAN</title>
	<atom:link href="http://www.odlan.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.odlan.com/blog</link>
	<description>Code is art too! White space, please! ... also, use comments!</description>
	<lastBuildDate>Fri, 05 Mar 2010 19:52:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Right-Clicking in Parallels on Mac OS X</title>
		<link>http://www.odlan.com/blog/artwork/right-clicking-in-parallels-on-mac-os-x/</link>
		<comments>http://www.odlan.com/blog/artwork/right-clicking-in-parallels-on-mac-os-x/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 18:37:56 +0000</pubDate>
		<dc:creator>naldope</dc:creator>
				<category><![CDATA[Artwork]]></category>

		<guid isPermaLink="false">http://www.odlan.com/blog/?p=118</guid>
		<description><![CDATA[Since I am always forgetting how to right click in Windows XP on my Parallels VM, I decided to keep it in my blog.
To right click, use the following keystroke combination:
Ctrl-Shift-Click
Also, if you are in Full Screen mode and cannot exit, you can try the following:
Alt-Command-Enter (Return)
Hope that helps someone else out there.
Note: I am [...]]]></description>
			<content:encoded><![CDATA[<p>Since I am always forgetting how to right click in Windows XP on my Parallels VM, I decided to keep it in my blog.</p>
<p>To right click, use the following keystroke combination:</p>
<p><code>Ctrl-Shift-Click</code></p>
<p>Also, if you are in Full Screen mode and cannot exit, you can try the following:</p>
<p><code>Alt-Command-Enter (Return)</code></p>
<p>Hope that helps someone else out there.</p>
<p><strong>Note:</strong> I am using Parallels Desktop 4.0 for Mac.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.odlan.com/blog/artwork/right-clicking-in-parallels-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Illustrator CS2 Hanging&#8230; When Reading Fonts</title>
		<link>http://www.odlan.com/blog/technical/illustrator-cs2-hanging-when-reading-fonts/</link>
		<comments>http://www.odlan.com/blog/technical/illustrator-cs2-hanging-when-reading-fonts/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 08:21:32 +0000</pubDate>
		<dc:creator>naldope</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://www.odlan.com/blog/?p=114</guid>
		<description><![CDATA[One day after upgrading my Adobe products via the Adobe Updater, I decided to start Illustrator to work on some diagrams. To my dismay, the program was hanging; it displayed &#8220;Reading fonts&#8230;&#8221; for several minutes. I forced quit the app, then it hung at &#8220;Initializing&#8230;&#8221;.
Initially, I thought I had a problem font so I disabled [...]]]></description>
			<content:encoded><![CDATA[<p>One day after upgrading my Adobe products via the Adobe Updater, I decided to start Illustrator to work on some diagrams. To my dismay, the program was hanging; it displayed &#8220;Reading fonts&#8230;&#8221; for several minutes. I forced quit the app, then it hung at &#8220;Initializing&#8230;&#8221;.</p>
<p>Initially, I thought I had a problem font so I disabled all my fonts except the usual culprits, ie. Arial, Helvetica, etc. That didn&#8217;t work either. So, I re-installed Illustrator &#8212; and that didn&#8217;t work. Ugh!</p>
<p>I googled some more to see if other users had similar issues. Luckily, I used more-specific words, like &#8220;Adobe Illustrator CS2 hanging reading fonts&#8221;, for my search and I located this article, &#8220;<a href="http://kb2.adobe.com/cps/534/cpsid_53468.html">InDesign and Illustrator CS or CS2 fail to launch after applying the Mac OS X Acrobat 8.2 update.</a>&#8221;</p>
<p>After performing the steps listed under Solution 1, I tried to start the program again. Lo and behold, the program was starting right up! Success! *Happy dance*</p>
<p>Below are the steps, if the above link fails&#8230;</p>
<p>Replace the corresponding files present in the “ /Library/Application Support/Adobe/TypeSpt/Unicode/Mappings/” folder with the one attached to this document.</p>
<ol type="1">
<li>Download the attached <a href="http://kb2.adobe.com/cps/534/cpsid_53468/attachments/Mac.dmg">Mac.dmg</a> file to a machine where the issue is seen.</li>
<li>Close all Adobe applications</li>
<li>Double Click the Mac.dmg file to mount it.</li>
<li>Copy Mac folder from mounted image. Paste it to /Library/ApplicationSupport/Adobe/TypeSpt/Unicode/Mappings/.</li>
<li>A message appears to confirm to replace the existing &#8216;Mac&#8217; folder. Replace the &#8216;Mac&#8217; folder.</li>
<li>Launch Illustrator or InDesign CS or CS 2.<strong><em> </em></strong></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.odlan.com/blog/technical/illustrator-cs2-hanging-when-reading-fonts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE8&#8217;s Compatibility View&#8230; Why oh why?</title>
		<link>http://www.odlan.com/blog/technical/ie8s-compatibility-view-why-oh-why/</link>
		<comments>http://www.odlan.com/blog/technical/ie8s-compatibility-view-why-oh-why/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 01:41:56 +0000</pubDate>
		<dc:creator>naldope</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://www.odlan.com/blog/?p=109</guid>
		<description><![CDATA[After spending much time hacking my webpage&#8217;s CSS to render well in IE6, there were decisions made that we would drop IE6 support and focus on the new IE8. I thought this was wonderful news since the page tested wonderfully in IE8.
Anyone who knows IE, knows that wasn&#8217;t the end of the story. As I [...]]]></description>
			<content:encoded><![CDATA[<p>After spending much time hacking my webpage&#8217;s CSS to render well in IE6, there were decisions made that we would drop IE6 support and focus on the new IE8. I thought this was wonderful news since the page tested wonderfully in IE8.</p>
<p>Anyone who knows IE, knows that wasn&#8217;t the end of the story. As I relayed the test URL to my peers, who also had IE8, they were pinging me to let me know that it looks terrible in their browsers. I thought they were kidding until receiving screenshots.</p>
<p>After much research, it seemed liked IE8 was making the page appear in Compatibility View for my co-workers &#8212; which makes the page render like it was being viewed in an older version, ie. IE7. I clicked on the &#8220;Compatibility View&#8221; button on the browser toolbar and lo and behold, I saw what they were seeing. Ugh!</p>
<p>After spending countless hours trying to modify my css, I wondered if I could force IE8 to make users view the page according to IE8 standards only. I googled a bit and located a <a href="http://social.msdn.microsoft.com/Forums/en/iewebdevelopment/thread/00c84ef7-4832-a2af-fa4b6147bf8d" target="_blank">forums thread on the MSDN site</a>.</p>
<p>Within this thread, it linked my to an <a href="http://msdn.microsoft.com/en-us/library/cc817574.aspx" target="_blank">article</a> that allows developers to specify compatibility modes on a per-page basis by using a simple META tag, which looks like:</p>
<p><code>&lt;meta http-equiv="X-UA-Compatible" content="IE=8" /&gt;</code><br />
You can specify other browser versions from IE5 on up.</p>
<p>Now, it forces users to view the page in IE8 based only on IE8 standards. Whew!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.odlan.com/blog/technical/ie8s-compatibility-view-why-oh-why/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bulk Insert and Problem Characters</title>
		<link>http://www.odlan.com/blog/technical/bulk-insert-and-problem-characters/</link>
		<comments>http://www.odlan.com/blog/technical/bulk-insert-and-problem-characters/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 08:34:08 +0000</pubDate>
		<dc:creator>naldope</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://www.odlan.com/blog/?p=90</guid>
		<description><![CDATA[One of my latest projects involves bulk inserting data from a flat-file into a database table (SQL Server 2005 Database). The data file is provided by another third-party application and FTP&#8217;d over to a server that I have access to via batch script and SFTP2.
I use a stored procedure to execute the bulk insert command. [...]]]></description>
			<content:encoded><![CDATA[<p>One of my latest projects involves bulk inserting data from a flat-file into a database table (SQL Server 2005 Database). The data file is provided by another third-party application and FTP&#8217;d over to a server that I have access to via batch script and SFTP2.</p>
<p>I use a stored procedure to execute the bulk insert command. The following is the basic syntax to run the bulk insert.</p>
<p><code>DECLARE @BulkSQL varchar(2000)<br />
SET @SQL = 'BULK INSERT DestinationTable FROM ''//UNC/Path/To/Server/flatfile.dat'' WITH (ROWTERMINATOR=''\n'', FIELDTERMINATOR = ''|'' , FIRSTROW=2)'<br />
EXEC (@BulkSQL)<br />
</code></p>
<p>A little bit of explanation may be necessary. The flat file format is as follows:</p>
<ul>
<li> 1st row is the header row where each column is delimited by a pipe (|)</li>
<li>The remainer of the rows contain data also delimited by pipes.</li>
</ul>
<p><code>NAME|ADDRESS|CITY|STATE|PHONE<br />
John Doe|123 Main St|San Francisco|CA|415-234-2344<br />
Jim Smith|33 Elm St|Oakland|CA|510-542-4562<br />
</code></p>
<p>The bulk insert statement has some attributes that you can customize. The field terminator attribute describes how the fields are delimited. The row terminator defines what character will symbolize the end of row marker. The firstrow attribute states which row to start importing from. Since there is a header row, firstrow should be set to 2 (second row).</p>
<p>When I tested the stored procedure containing the bulk insert command, I received the following error:</p>
<p><code>Server: Msg 4863, Level 16, State 1, Line 1<br />
Bulk insert data conversion error (truncation) for row 1, column 5 (PHONE).</code></p>
<p>The problem was that it would work sometimes and sometimes it would fail. I had no clue what the deal was. I would switch between flat-files; some worked and some failed. I realized that the truncation error was happening only on column 5, the last column, which was a fixed size of 12 characters. But all the files had a last column of 12 characters! Argh!</p>
<p>I opened up the flat-file.dat in Notepad++ (a free source code editor) as seen below<br />
<img src="/blog/gfx/np1.gif" alt="" /></p>
<p>Then I noticed the &#8220;Show All Characters&#8221; icon in the toolbar, which looks like symbol for a paragraph mark (or backwards &#8220;P&#8221;).<br />
<img src="/blog/gfx/np2.gif" alt="" /></p>
<p>Then lo and behold, I saw the problem characters, the CR (carriage return) and LF(line feed) characters.  I read somewhere that</p>
<ul>
<li>Windows uses <strong><span>carriage return &#8211; line feed</span></strong>.</li>
<li>UNIX uses <strong><span>line feed</span></strong>.</li>
<li>Macintosh uses <strong><span>carriage return</span></strong>.</li>
</ul>
<p>But the bulk insert looks for a newline &#8220;\n&#8221; character to mark end of rows in the data file. Note: sometimes, people consider newline and linefeed the same thing. So, the file was using CR+LF as row terminator, but the bulk statement was looking for &#8220;\n&#8221; as it&#8217;s row terminator (or LF).  So, the bulk insert was considering the CR character as part of column 5, thus, creating a truncation error.</p>
<p>Before I changed any of my code, I wanted to be certain what end-of-row marker a fresh data file coming from the other application uses. What I discovered was that it used only LF (line feed) markers.</p>
<p>So, to convert my current data file from CR+LF to just LF, I just selected Format &gt; Convert to Unix as seen here.<br />
<img src="/blog/gfx/np3.gif" alt="" /></p>
<p>And now, I get<br />
<img src="/blog/gfx/np4.gif" alt="" /></p>
<p>Since I changed to row terminator symbol to use line feed, I had to modify the bulk insert statement to the following:</p>
<p><code>DECLARE @BulkSQL varchar(2000)<br />
SET @SQL = 'BULK INSERT DestinationTable FROM ''//UNC/Path/To/Server/flatfile.dat'' WITH (ROWTERMINATOR='''+ CHAR(10) +''', FIELDTERMINATOR = ''|'' , FIRSTROW=2)'<br />
EXEC (@BulkSQL)<br />
</code></p>
<p>So, I tested the stored procedure again, and it worked perfectly.</p>
<p>Below is a table defining control characters and their  ASCII equivalent.<br />
<img src="/blog/gfx/controlchars.gif" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.odlan.com/blog/technical/bulk-insert-and-problem-characters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash in the Past&#8230;</title>
		<link>http://www.odlan.com/blog/web-dev/flash-in-the-past/</link>
		<comments>http://www.odlan.com/blog/web-dev/flash-in-the-past/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 07:56:36 +0000</pubDate>
		<dc:creator>naldope</dc:creator>
				<category><![CDATA[Web Dev]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.odlan.com/blog/?p=85</guid>
		<description><![CDATA[I decided to aggregate some of my old Flash media (circa 2006) and upload it to a designated area on my site. Since I was lazy, I didn&#8217;t even bother to cut up the images and optimize the HTML. I used a typical menu-on-the-left frameset pattern for easier navigation. The direct URL is http://www.odlan.com/flash/
Enjoy! &#8230; [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to aggregate some of my old Flash media (circa 2006) and upload it to a designated area on my site. Since I was lazy, I didn&#8217;t even bother to cut up the images and optimize the HTML. I used a typical menu-on-the-left frameset pattern for easier navigation. The direct URL is <a href="http://www.odlan.com/flash/" target="_blank">http://www.odlan.com/flash/</a></p>
<p>Enjoy! &#8230; and don&#8217;t laugh too hard.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.odlan.com/blog/web-dev/flash-in-the-past/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ScrewTurn Wiki 3.0 Users SQL Server Provider Bug</title>
		<link>http://www.odlan.com/blog/technical/screwturn-wiki-3-0-users-sql-server-provider-bug/</link>
		<comments>http://www.odlan.com/blog/technical/screwturn-wiki-3-0-users-sql-server-provider-bug/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 18:15:24 +0000</pubDate>
		<dc:creator>naldope</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://www.odlan.com/blog/?p=78</guid>
		<description><![CDATA[Recently, I was tasked to implement a wiki using ASP.NET. After googling some possible candidates, I selected the wiki software created by ScrewTurn.
Here&#8217;s the basic information from the ScrewTurn site,
&#8220;ScrewTurn Wiki is based on Microsoft ASP.NET 3.5, meaning that you need a Windows operating system to run it, such as Windows Server 2003 or Windows [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I was tasked to implement a wiki using ASP.NET. After googling some possible candidates, I selected the wiki software created by ScrewTurn.</p>
<p>Here&#8217;s the basic information from the ScrewTurn site,</p>
<blockquote><p>&#8220;ScrewTurn Wiki is based on Microsoft ASP.NET 3.5, meaning that you need a <span>Windows</span> operating system to run it, such as Windows Server 2003 or Windows Server 2008. <span>Desktop</span> operating systems are supported by ScrewTurn Wiki Desktop Edition.</p>
<p>ScrewTurn Wiki can be extended and <span>customized</span> with plugins and themes. It can store data using a simple, built-in <span>file-system</span> provider or, if you need performance and scalability, it can use SQL Server or MySQL*. If you use <span>Active Directory</span>, you can integrate with that too.&#8221;</p></blockquote>
<p>After downloading the latest release, version 3.0, installation was pretty straightforward. You can find install instructions <a href="http://screwturn.eu/Help.Installation.ashx" target="_blank">here</a>.</p>
<p>Initially, the application was using file-system data storage (local pages provider) to store the data (pages, users, files, cache and formatter). Due to the fact that we wanted to be able to use the users&#8217; table from another application and integrate the wiki, I needed to migrate the wiki&#8217;s user data storage provider to a SQL Server implementation.</p>
<p>Logged in as admin, I attempted to enable the SQL Server Users Storage Provider (under Providers tab, selected User Providers radio button). Much to my dismay, it would not allow me to enable it (or even save a db connection string). <strong>Note: </strong>Enabling the SQL Server Storage Provider for Pages worked fine.</p>
<p>After googling for possible/known bugs, I was beginning to pull my hair out. Eventually, I was reading a miscellaneous tip from the ScrewTurn site.</p>
<blockquote><p>&#8220;ScrewTurn Wiki requires the database to be set with a case-insensitive collation. You can use the following script to change it.<br />
<code><br />
alter database [ScrewTurnWiki] set single_user with rollback immediate<br />
alter database [ScrewTurnWiki] collate &lt;your collation&gt;<br />
alter database [ScrewTurnWiki] set multi_user<br />
</code><br />
Replace with a case-insensitive collation, for example Latin1_General_CI_AS.&#8221;</p></blockquote>
<p>So far, ScrewTurn&#8217;s Wiki 3.0 is running fantastic and theme&#8217;ing it was very simple. Great job!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.odlan.com/blog/technical/screwturn-wiki-3-0-users-sql-server-provider-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parallels 3.0 Upgrade to 4.0 (on Snow Leopard)</title>
		<link>http://www.odlan.com/blog/technical/parallels-3-0-upgrade-to-4-0-on-snow-leopard/</link>
		<comments>http://www.odlan.com/blog/technical/parallels-3-0-upgrade-to-4-0-on-snow-leopard/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 06:25:21 +0000</pubDate>
		<dc:creator>naldope</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[conflict]]></category>
		<category><![CDATA[parallels]]></category>
		<category><![CDATA[snow leopard]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[virtual machine]]></category>

		<guid isPermaLink="false">http://www.odlan.com/blog/?p=66</guid>
		<description><![CDATA[When the Mac OS &#8220;Snow Leopard&#8221; was announced, I pre-ordered the software. Upon receiving the installation CD, I immediately installed it (knowing that I had Time Machine backups already in case something catastrophic occurred).
The installation was pretty straightforward and quick. It really wasn&#8217;t a super upgrade; nothing stood out at me, as I was playing [...]]]></description>
			<content:encoded><![CDATA[<p>When the Mac OS &#8220;<a href="http://www.apple.com/snowleopard/" target="_blank">Snow Leopard</a>&#8221; was announced, I pre-ordered the software. Upon receiving the installation CD, I immediately installed it (knowing that I had Time Machine backups already in case something catastrophic occurred).</p>
<p>The installation was pretty straightforward and quick. It really wasn&#8217;t a super upgrade; nothing stood out at me, as I was playing with the OS. I did notice that waking up from sleep and shutting down was a lot faster. This helps if I am at an airport and want to shut down fast.</p>
<p>The biggest issue was trying to run my virtual Windows XP machine through <a href="http://www.parallels.com" target="_blank">Parallels</a>. Upon double-clicking the alias/shortcut to launch Windows XP, I received an error saying that Parallels 3.0 cannot run in my current OS version (Snow Leopard).</p>
<p>So, I decided to upgrade Parallels 3.0 to 4.0. It helped that it was reduced to $39 (from $49) for the Mac Upgrade. After payment was made, I received the download link and activation keys in my inbox. I downloaded the software and tried to run the installation package and managed to get through few of the software wizard screens then reached a screen regarding a &#8220;Conflicting virtual machines&#8221; error. The problem was it was saying that a virtual machine was running already &#8212; which it wasn&#8217;t. To make sure I rebooted and re-ran the install but same error occur. After much dismay, I managed to locate the exact error AND solution in the Parallels site which is located at the following URL: <a href="http://kb.parallels.com/en/6659" target="_blank">http://kb.parallels.com/en/6659</a></p>
<p>I hope this helps someone else out there as well. Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.odlan.com/blog/technical/parallels-3-0-upgrade-to-4-0-on-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Searching for Answers&#8230;</title>
		<link>http://www.odlan.com/blog/web-dev/searching-for-answers/</link>
		<comments>http://www.odlan.com/blog/web-dev/searching-for-answers/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 23:13:53 +0000</pubDate>
		<dc:creator>naldope</dc:creator>
				<category><![CDATA[Web Dev]]></category>
		<category><![CDATA[sem]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://www.odlan.com/blog/?p=76</guid>
		<description><![CDATA[I used to think search engine marketing (SEM)/search engine optimization (SEO), was simple to implement. I mean just insert good meta tags, submit a google sitemap file, use table-less designs and have many sites link to your website — and lo and behold, your rankings would improve.
As I begin my journey down the rabbit hole [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding: 0px;">I used to think search engine marketing (SEM)/search engine optimization (SEO), was simple to implement. I mean just insert good meta tags, submit a google sitemap file, use table-less designs and have many sites link to your website — and lo and behold, your rankings would improve.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding: 0px;">As I begin my journey down the rabbit hole better known as Search Engine Marketing, I came to realize I was only scratching the surface. I will do my best to describe my findings and post them here. Stay tuned!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.odlan.com/blog/web-dev/searching-for-answers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>100% CPU Utilization After Installing Wireless Adapter</title>
		<link>http://www.odlan.com/blog/random/100-cpu-utilization-after-installing-wireless-adapter/</link>
		<comments>http://www.odlan.com/blog/random/100-cpu-utilization-after-installing-wireless-adapter/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 00:07:07 +0000</pubDate>
		<dc:creator>naldope</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[adapter]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[utilization]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://www.odlan.com/blog/?p=52</guid>
		<description><![CDATA[Just recently, I have noticed my Windows XP laptop&#8217;s fan buzzing like crazy. As I checked the Task Manager to see what process was utilizing the CPU cycles so much, I noticed a process called "cscript.exe" using about 50%. Then I saw another instance of the cscript executable. I was totally dumbfounded and did not [...]]]></description>
			<content:encoded><![CDATA[<p>Just recently, I have noticed my Windows XP laptop&#8217;s fan buzzing like crazy. As I checked the Task Manager to see what process was utilizing the CPU cycles so much, I noticed a process called <code>"cscript.exe"</code> using about 50%. Then I saw another instance of the cscript executable. I was totally dumbfounded and did not know what the heck this script was doing. Was it malware? a virus? who knows?</p>
<p>Instantly, I began to google and bing the term, <code>cscript</code>. It seemed like a harmless file. From the <a href="http://technet.microsoft.com/en-us/library/bb490887.aspx" target="_blank">microsoft.com site</a>,</p>
<blockquote><p>&#8220;Cscript.exe is a command-line version of the Windows Script Host that provides command-line options for setting script properties&#8221;.</p></blockquote>
<p>So why was this harmless file taking up so much freaking cpu power? There seemed to be numerous causes and solutions based on my Google findings.</p>
<p>Once the *bleeping* computer-hogging script was running, I used my Windows <code>cmd </code>window to list out all the tasks and processes running. I wasn&#8217;t sure how to find the source of the cscript startup. So, at one point, I decided to kill the process using a <code>"/T"</code> switch parameter in the command, ie. <code>taskkill /PID 3124 /T</code>.  This command killed the cscript process as well as another process.  The &#8220;/T&#8221; parameter runs a tree kill &#8211; It terminates the specified process as well as any processes that were started by it. By doing so, it killed a process that was affiliated to a process called <code>"WZCSLDR2"</code>, which lived in the <code>"Program Files/ANI/"</code>.</p>
<p>I quickly Googled this <code>"ANI"</code> term and noticed some references to wireless adapters. Suddently, I recalled that I didnt notice the whirling fan noise until I installed a USB wireless adapter (In this case, it was the DLink Wireless 150 USB Adapter DWA-125).  So, after uninstalling the DLink software, my computer was mine again! Thank goodness&#8230;</p>
<p>I probably didnt have to uninstall the software; I just needed to remove it from the StartUp items using the System Configuration Utility (type <code>Run &gt; msconfig</code>). But I was too peeved! I wanted it off my machine.  Happy days are here again!</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;"><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; line-height: 15px;">Cscript.exe is a command-line version of the Windows Script Host that provides command-line options for setting script properties</span></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.odlan.com/blog/random/100-cpu-utilization-after-installing-wireless-adapter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Managing Color Shift in Photoshop CS2</title>
		<link>http://www.odlan.com/blog/web-dev/managing-color-shift-in-photoshop-cs2/</link>
		<comments>http://www.odlan.com/blog/web-dev/managing-color-shift-in-photoshop-cs2/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 09:14:19 +0000</pubDate>
		<dc:creator>naldope</dc:creator>
				<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://www.odlan.com/blog/?p=41</guid>
		<description><![CDATA[I had thought I had fixed the color shift problem in Photoshop CS2 when I use the &#8220;Save for Web&#8221; function, but alas, there is still a color shift. I had tried a few possible solutions based on my first page of Google results.
I found a solution by Doug Avery on the Viget.com site and [...]]]></description>
			<content:encoded><![CDATA[<p>I had thought I had fixed the color shift problem in Photoshop CS2 when I use the &#8220;Save for Web&#8221; function, but alas, there is still a color shift. I had tried a few possible solutions based on my first page of Google results.</p>
<p>I found a solution by Doug Avery on the <a href="http://www.viget.com/inspire/the-mysterious-save-for-web-color-shift/" target="_blank">Viget.com</a> site and so I will copy-n-paste the solution from their site. (I hate when I link to some web content &#8212; only for it to go away later). NOTE: Colors still may not look the same on all monitors or machines; Apple computers may experience lighter colors by default.</p>
<p><strong>The following text was taken verbatim from the Viget.com site.</strong></p>
<h3>Step 1: Color Profiles</h3>
<p>Color profiles define how Photoshop interprets the raw color data in your files. That&#8217;s right: That means they <em>change</em> how you see the colors. This kind of precision is great for photography and print design, but it&#8217;s got to go if we&#8217;re making a website. With no images open, go to Edit / Color Settings.</p>
<p><a href="http://www.odlan.com/blog/wp-content/uploads/2009/01/01_color_3_settings.jpg"><img class="alignnone size-full wp-image-44" title="01_color_3_settings" src="http://www.odlan.com/blog/wp-content/uploads/2009/01/01_color_3_settings.jpg" alt="" width="440" height="162" /></a></p>
<p>We&#8217;re going to essentially turn off all this profile nonsense by changing the top drop-down to Monitor Color. Let&#8217;s uncheck &#8220;Ask When Opening&#8221; while we&#8217;re at it&#8230;.from now on, when you open an image that has a color profile, Photoshop will give you a brief heads-up that we&#8217;re tossing it out.</p>
<h3>Step 2: Proof Setup</h3>
<p>Now, let&#8217;s go up to View / Proof Setup / Monitor RGB. This is to make sure Photoshop won&#8217;t be showing you skewed colors on your nice new profile-less images. A note, though: If you&#8217;re on a Mac/PC and want to see how an image is going to look on the other&#8217;s default gamma setting, you can come back here and test using &#8220;Windows RGB&#8221; or &#8220;Macintosh RGB.&#8221; Just remember to switch it back, or you could accidentally be designing in (shudder) PC mode.</p>
<p><a href="http://www.odlan.com/blog/wp-content/uploads/2009/01/02_color_4_proof.jpg"><img class="alignnone size-full wp-image-45" title="02_color_4_proof" src="http://www.odlan.com/blog/wp-content/uploads/2009/01/02_color_4_proof.jpg" alt="" width="440" height="220" /></a></p>
<h3>Step 3:</h3>
<p>After all this hard work, Photoshop still wants to sneak color profiles into your images. Most web browsers ignore them, but new Safari and Firefox builds DON&#8217;T, and IE can be set to work with them too. This can result in the weirdest cross-browser headache yet, so we need to make sure the colors we save out are sans profile.</p>
<p><a href="http://www.odlan.com/blog/wp-content/uploads/2009/01/03_color_5_convert.jpg"><img class="alignnone size-full wp-image-46" title="03_color_5_convert" src="http://www.odlan.com/blog/wp-content/uploads/2009/01/03_color_5_convert.jpg" alt="" width="440" height="140" /></a></p>
<p>Thankfully, it&#8217;s an easy fix: Open up any image on your machine and File / Save For Web. Next to the Preset option, there&#8217;s a sneaky little arrow&#8230;click it and uncheck &#8220;Convert to sRGB.&#8221; (Note: From what I can tell, this is only the default setting in CS3)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.odlan.com/blog/web-dev/managing-color-shift-in-photoshop-cs2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.502 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-03-10 20:15:24 -->
