<?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>adorr.net</title>
	<atom:link href="http://adorr.net/feed" rel="self" type="application/rss+xml" />
	<link>http://adorr.net</link>
	<description>where Arts resolves into Science</description>
	<lastBuildDate>Thu, 11 Mar 2010 04:24:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Different CSS for iPhone and other portable devices</title>
		<link>http://adorr.net/2010/03/different-css-for-iphone-and-other-portable-devices.html</link>
		<comments>http://adorr.net/2010/03/different-css-for-iphone-and-other-portable-devices.html#comments</comments>
		<pubDate>Thu, 11 Mar 2010 04:22:32 +0000</pubDate>
		<dc:creator>d0rr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[480px]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[ipod touch]]></category>
		<category><![CDATA[portable]]></category>

		<guid isPermaLink="false">http://adorr.net/?p=1007</guid>
		<description><![CDATA[With Apple&#8217;s iPhone and iPod Touch, Google&#8217;s Android smartphones and other portable devices gradually dominating the market, it is getting more important to optimize websites to look better in these relatively-smaller-screen portable devices.
If you have been in CSS game for quite a while, you may think that defining media=handheld will do the trick
@media handheld {
&#160;&#160;.navigation [...]]]></description>
			<content:encoded><![CDATA[<p>With Apple&#8217;s iPhone and iPod Touch, Google&#8217;s Android smartphones and other portable devices gradually dominating the market, it is getting more important to optimize websites to look better in these relatively-smaller-screen portable devices.</p>
<p>If you have been in CSS game for quite a while, you may think that defining <strong>media=handheld</strong> will do the trick</p>
<p><code>@media handheld {<br />
&nbsp;&nbsp;.navigation {<br />
&nbsp;&nbsp;&nbsp;&nbsp;display: none;<br />
&nbsp;&nbsp;}<br />
}</code></p>
<p>Unfortunately Apple defined it in such that iPhones will look for &#8220;screen&#8221; media type instead of the limited &#8220;handheld&#8221; media which deem to be outdated.</p>
<p>The solution to this is to <strong>specify CSS rule that looks at the device screen resolution</strong>.</p>
<p>There are some sayings that Internet Explorer has issues ignoring the CSS rule, but that can be easily fixed with Internet Explorer&#8217;s &#8220;conditional comments&#8221; feature.</p>
<p>Conceptually, you can define a separate set of CSS for iPhone (or devices with width less than 480px) as follow:</p>
<p><code>&lt;!--[if !IE]&gt;--&gt;<br />
&lt;link media="only screen and (max-device-width: 480px)" rel="stylesheet" type="text/css" href="iphone.css"/&gt;<br />
&lt;!--&lt;![endif]--&gt;</code></p>
<p>And the iphone.css can be any CSS definitions that will overwrites the original CSS definitions.</p>
<p>Hopefully this basic and simple trick can help you to kick start your website revamp to cater for different sizes of portable devices.</p>
]]></content:encoded>
			<wfw:commentRss>http://adorr.net/2010/03/different-css-for-iphone-and-other-portable-devices.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[3417] MSSQL Express 2005 error due to compressed LDF/MDF</title>
		<link>http://adorr.net/2010/02/3417-mssql-express-2005-error-due-to-compressed-ldfmdf.html</link>
		<comments>http://adorr.net/2010/02/3417-mssql-express-2005-error-due-to-compressed-ldfmdf.html#comments</comments>
		<pubDate>Mon, 22 Feb 2010 15:56:30 +0000</pubDate>
		<dc:creator>d0rr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[2005]]></category>
		<category><![CDATA[3417]]></category>
		<category><![CDATA[compress]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[EXPRESS]]></category>
		<category><![CDATA[ldf]]></category>
		<category><![CDATA[mdf]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://adorr.net/?p=1004</guid>
		<description><![CDATA[Today when I tried to start MSSQL EXPRESS 2005 on my laptop in which I have not started the SQL service for quite some time, I received the following error:
Windows could not start the SQL Server (SQLEXPRESS2005) on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact [...]]]></description>
			<content:encoded><![CDATA[<p>Today when I tried to start MSSQL EXPRESS 2005 on my laptop in which I have not started the SQL service for quite some time, I received the following error:</p>
<p><strong>Windows could not start the SQL Server (SQLEXPRESS2005) on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 3417.</strong></p>
<p>And I found the following error detail in the Event Viewer <em>(<strong>Windows XP: </strong>Start &gt; Settings &gt; Control Panel &gt; Administrative Tools &gt; Event Viewer &gt; Application)</em></p>
<p><strong>&#8220;The file &#8216; C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\mastlog.ldf &#8216; is compressed but does not reside in a read-only database or file group. The file must be decompressed.&#8221;</strong></p>
<p>Immediately the cause was known. As my laptop disk space did run low quite some time ago, Windows actually helped to compress the files that were not used frequently. MSSQL doesn&#8217;t know how to load compressed database files, as simple as that.</p>
<p>I simply browse to &#8216; <strong>C:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\DATA\ </strong>&#8216;, right click on &#8216; <strong>mastlog.ldf</strong> &#8216;, proceed to &#8216;<em> Properties &gt; General &gt; Advanced</em> &#8216; and uncheck <strong>&#8221; Compress contents to save disk space &#8220;</strong></p>
<p>If that still does not solve your problem, try to do the same for all the files under that folder, that should do the trick.</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://adorr.net/2010/02/3417-mssql-express-2005-error-due-to-compressed-ldfmdf.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>W3 Silver Awards</title>
		<link>http://adorr.net/2010/02/w3-silver-awards.html</link>
		<comments>http://adorr.net/2010/02/w3-silver-awards.html#comments</comments>
		<pubDate>Thu, 18 Feb 2010 15:16:12 +0000</pubDate>
		<dc:creator>d0rr</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[award]]></category>
		<category><![CDATA[Convertium]]></category>
		<category><![CDATA[government]]></category>
		<category><![CDATA[MCYS]]></category>
		<category><![CDATA[MICA]]></category>
		<category><![CDATA[mysingapore.sg]]></category>
		<category><![CDATA[NHB]]></category>
		<category><![CDATA[singapore]]></category>
		<category><![CDATA[singapore2010.sg]]></category>
		<category><![CDATA[w3]]></category>
		<category><![CDATA[w3c]]></category>
		<category><![CDATA[yesterday.sg]]></category>
		<category><![CDATA[YOG]]></category>

		<guid isPermaLink="false">http://adorr.net/?p=996</guid>
		<description><![CDATA[
I received three warmhearted W3 Silver Awards today, awarded by International Academy of the Visual Arts, an assembly of leading professionals from various disciplines of the visual arts dedicated to embracing progress and the evolving nature of traditional and interactive media.
The three winning websites are: mysingapore.sg, yesterday.sg, singapore2010.sg (was face-lifted), in which I was involved [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-995 aligncenter" title="W3 Silver Awards" src="http://adorr.net/wp-content/uploads/2010/02/DSC06938a1.jpg" alt="W3 Silver Awards" width="730" /></p>
<p>I received three warmhearted W3 Silver Awards today, awarded by <a href="http://www.iavisarts.org" target="_blank">International Academy of the Visual Arts</a>, an assembly of leading professionals from various disciplines of the visual arts dedicated to embracing progress and the evolving nature of traditional and interactive media.</p>
<p>The three winning websites are: <a href="http://mysingapore.sg" target="_blank">mysingapore.sg</a>, <a href="http://yesterday.sg" target="_blank">yesterday.sg</a>, singapore2010.sg (was face-lifted), in which I was involved in site planning, and in-charged of the rest of the development, deployment, testing cycle.</p>
<p>Special thanks to <a href="http://convertium.com" target="_blank">Convertium</a> and Gerard Lim for the opportunities, ex-tech manager for the unconditioned guidance and supports, project managers for excellent collaborations, and the designers for the brilliant creativity, and not forgetting the awesome clients <a href="http://www.mica.gov.sg" target="_blank">MICA</a>, <a href="http://www.nhb.gov.sg" target="_blank">NHB</a> and <a href="http://www.mcys.gov.sg" target="_blank">MCYS</a>.</p>
<p>I gladly and truly appreciate the recognitions, it seems like all the hard works being paid off.</p>
<p>This year is definitely going to be a better year!</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://adorr.net/2010/02/w3-silver-awards.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure IIS to accept URL with Special Characters (%, &amp;, :, *)</title>
		<link>http://adorr.net/2010/01/configure-iis-to-accept-url-with-special-characters.html</link>
		<comments>http://adorr.net/2010/01/configure-iis-to-accept-url-with-special-characters.html#comments</comments>
		<pubDate>Wed, 27 Jan 2010 03:47:18 +0000</pubDate>
		<dc:creator>d0rr</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[ampersand]]></category>
		<category><![CDATA[characters]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[special]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://adorr.net/?p=911</guid>
		<description><![CDATA[I was working in one of the projects where our client requested to allow clean URL  which contains ampersand symbol (&#38;). The website is powered by our inhouse CMS which allow generation of clean URL (without file extensions) by page.
While it is not a good practise (at all) to allow ampersand (and other special characters) [...]]]></description>
			<content:encoded><![CDATA[<p>I was working in one of the projects where our client requested to allow clean URL  which contains ampersand symbol (&amp;). The website is powered by our inhouse CMS which allow generation of clean URL (without file extensions) by page.</p>
<p>While it is not a good practise (at all) to allow ampersand (and other special characters) in the URL, there are some situations where you just have to work around it and accept those URL (e.g. the URL was previously created and the URL was widely spreaded).</p>
<p>By default, IIS will block URL requests containing <strong>special characters (%, &amp;, :, *) </strong>for security concerns, throwing error &#8220;<strong>400 Bad Request</strong>&#8221; (or simply &#8220;Bad Request&#8221; for some cases).</p>
<p>The workaround is rather simple, just following the following steps. Be extra careful as it involves changes in your registry</p>
<ol class="listing">
<li>Set &#8220;<strong>AllowRestrictedChars</strong>&#8221; to 1 (<a href="http://support.microsoft.com/kb/820129" target="_blank">http://support.microsoft.com/kb/820129</a>)</li>
<li>Set &#8220;<strong>VerificationCompatibility</strong>&#8221; to 1 (<a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;826437" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;EN-US;826437</a>) &#8211; yes, it applies to ASP.NET frameworks other than 1.1</li>
<li>If you are running on Windows 64-bit version, you may also want to set &#8220;<strong>VerificationCompatibility</strong>&#8221; to 1 (Path: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\ASP.NET)</li>
<li>And if all the above does not help, you may want to try to set &#8220;<strong>&lt;Page ValidateRequest=false&gt;</strong>&#8221; on your website&#8217;s web.config</li>
</ol>
<p>Do note that for step 1 and 2, you&#8217;ll need to <strong>restart IIS and/or HTTP related services</strong>, so you may want to follow the steps closely.</p>
<p>Hopefully it will help those who had the same problem as I did.</p>
]]></content:encoded>
			<wfw:commentRss>http://adorr.net/2010/01/configure-iis-to-accept-url-with-special-characters.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2009 Thought Back</title>
		<link>http://adorr.net/2010/01/2009-thought-back.html</link>
		<comments>http://adorr.net/2010/01/2009-thought-back.html#comments</comments>
		<pubDate>Sun, 24 Jan 2010 16:16:12 +0000</pubDate>
		<dc:creator>d0rr</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[2009]]></category>
		<category><![CDATA[anniversary]]></category>
		<category><![CDATA[senior]]></category>
		<category><![CDATA[thought back]]></category>
		<category><![CDATA[tokyo]]></category>
		<category><![CDATA[travel]]></category>
		<category><![CDATA[united states]]></category>

		<guid isPermaLink="false">http://adorr.net/?p=899</guid>
		<description><![CDATA[I have always been aware of the existence of my blog and the lack of updates, but simply couldn&#8217;t make time for there were always other better things to do than sitting down and complete a blog post (I do have a few saved-in-draft blog posts that yet to be completed), be it excuses for [...]]]></description>
			<content:encoded><![CDATA[<p>I have always been aware of the existence of my blog and the lack of updates, but simply couldn&#8217;t make time for there were always other better things to do than sitting down and complete a blog post (I do have a few saved-in-draft blog posts that yet to be completed), be it excuses for laziness or was really busy (haha)</p>
<p>I have seen a lot of my friends talking about their past-a-year achievements and new year resolutions.</p>
<p>While I don&#8217;t really have new year resolutions which I&#8217;d want to share publicly, I appreciated (and felt glad) with what had happened in year 2009. There were simply too many things to record them all down, but here were some of the great happenings:</p>
<ul class="listing">
<li>I visited <strong>Tokyo</strong> for the first time in my life towards the end of 2008 and back to Singapore in early 2009. I was exposed to the lovely Disneyland, breathtaking Mt Fuji, shopping heaven Harajuku and Shibuya districts, amazing railway systems, pedestrian scrambles at Hachiko Square, historical Kamakura, and many more interesting local cultures and people. I told myself that I would definitely revisit Japan some time later.</li>
<li>It marked my first anniversary with <strong><a href="http://convertium.com" target="_blank">Convertium Pte Ltd</a></strong>, at where I have gained the most growth in my working life (the people I worked with, the projects I was exposed to, the knowledge I&#8217;ve gained and the opportunities I was given). It was a whole great year in my career and I believed it would elongate.</li>
<li>I was promoted as a<strong> senior technology engineer </strong>as an acknowledgment of works I&#8217;ve done. It was also meant to be a beginning of another level of my career, with more chances and future exposures.</li>
<li>Me and girlfriend celebrated our <strong>first year anniversary</strong> as we spent our precious first 365 days of life together. We spent quite a bit of time in adjusting ourselves getting together, and I promised myself I would do the best to make sure we will spend indefinite 365 days in our future.</li>
<li>I stopped <strong><a href="http://ramblings.adorr.net" target="_blank">rambling</a></strong> and turned to take more actions. It was hard to let go something you are so used to, but sometimes you just need to sacrifice for the better. In fact, ramblings (and grumblings) will not help but to get out there and act.</li>
<li>I was in the <strong>United States</strong> for the first time in my life at the end of the year, took the longest hour flight in my life, experienced real jet-lag and been to magnificent places (like San Francisco, Lake Tahoe, Death Valley, Las Vegas, Grand Canyon and Los Angeles). The scenic places were simply awesome, but culturally I felt glad to be born in Asia country (will blog about the trip separately)</li>
<li>I revisited <strong>Tokyo </strong>for a few days as we transit from United States back to Singapore. Tokyo was as great, and once again, I promised myself that I would revisit Japan again, maybe some other parts other than just Tokyo as I believe there are more details yet to be discovered in the Land of the Rising Sun.</li>
</ul>
<p>To sum it all once again, it has been a good year 2009, and I very much look forward for year 2010.</p>
]]></content:encoded>
			<wfw:commentRss>http://adorr.net/2010/01/2009-thought-back.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
