<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Rants &amp; Raves</title>
	
	<link>http://blog.devtoolsonline.com</link>
	<description>Just another blog from just another nerd.</description>
	<lastBuildDate>Sun, 04 Apr 2010 01:51:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/devtoolsonline/BWOm" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="devtoolsonline/bwom" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Android nexus one experience</title>
		<link>http://blog.devtoolsonline.com/javascript/android-nexus-one-experience/</link>
		<comments>http://blog.devtoolsonline.com/javascript/android-nexus-one-experience/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 21:51:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://blog.devtoolsonline.com/?p=15</guid>
		<description><![CDATA[After losing my HTC Hero *snif* I bought myself a brand new Google Nexus one. As you might know the Nexus One can currently only be ordered if you are in the U.S. or the U.K. I currently live in Argentina so I had to get help from a friend in the U.S. to get [...]]]></description>
			<content:encoded><![CDATA[<p><strong>After losing my <a title="HTC Hero official homepage" href="http://www.htc.com/www/product/hero/overview.html" target="_blank">HTC Hero</a> *snif* I bought myself a brand new Google Nexus one. As you might know the <a title="The official page of the Nexus One" href="http://www.google.com/phone/?hl=en&amp;s7e=" target="_blank">Nexus One</a> can currently only be ordered if you are in the U.S. or the U.K. I currently live in Argentina so I had to get help from a friend in the U.S. to get ordered and delivered at another friend in the U.K. who forwarded it to Holland so a colleague could take it with him to Argentina! </strong></p>
<p><strong>So, yes, I wanted it badly <img src='http://blog.devtoolsonline.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
</strong></p>
<p>On first sight the Nexus One looks great, and let&#8217;s be honest, it&#8217;s a technological masterpiece.</p>
<p>The amoled display is the most beautiful display I have ever laid eyes on.<br />
The camera is quite good unlike the useless excuse for a camera my HTC Hero used to have.<br />
And the speed of the CPU makes everything look smoother and feel better.</p>
<p>Unfortunately my enthusiasm didn&#8217;t last long.</p>
<p>When HTC delivers an Android phone of themselves, like the Hero, it has a user interface (UI) they call &#8220;<a title="Asian guy prophesizing about HTC's Sense" href="http://www.htc.com/www/product/hero/a-closer-look.html" target="_blank">Sense</a>&#8220;. Essentially this is a collection of Widgets and extensions that really make a difference to the way you experience the platform.<br />
When buying the Nexus One I had to trust Google on it&#8217;s reputation because the website is partially inaccessible from Argentina. I was a bit worried on beforehand because I&#8217;ve seen that both Motorola and Samsung were not able to deliver anything remotely cool as the HTC Hero.</p>
<p>Here&#8217;s a list of things the Hero does better than Nexus One. They are mostly UI related so don&#8217;t expect a hardware breakdown.</p>
<p><strong>Dialpad</strong><br />
The first thing I noticed was that there was not such an obvious button to the dial pad on the home screen, but rather a common sized icon.<br />
The dial pad itself looks fine, but doesn&#8217;t allow you to type the name of the desired contact dtp style. HTC&#8217;s Sense does this really smart. You just type either a unlisted number, t9 style a contact&#8217;s name, or the number of a contact and you will be presented with helpful suggestions.</p>
<p>Google doesn&#8217;t do this. Here you have to either type a number or explicitly go to the contacts tab, scroll to the contact you&#8217;re looking for or even explicitly hit the search button to make an input box pop up.<br />
Altogether a lot less intuitive than what Sense does.</p>
<p><strong>Clock</strong><br />
The clock that comes with Sense is by default present on the home screen and looks great. You can actually choose from a variety of clocks that are all equally beautyful or remove it from the home screen.<br />
Tapping the clock brings you to a screen where you can choose from a timer, alarms, clock settings etc. which is very handy and I used a lot for weekly stand up meetings where eveyone has a fixed amount of time to talk.</p>
<p>Google doesn&#8217;t seem to agree with this. If you want more than the little clock in the status bar (the top right of the screen), you&#8217;ll have to place a shortcut to the clock on your home screen and tap that to actually see it, set alarms and see weather information.  Altogether a bit cumbersome and it doesn&#8217;t get near the user experience of Sense.</p>
<p><strong>Numerical input</strong><br />
Another minor, yet slightly dissappointing difference is that Sense has the one-armed-bandit style of choosing numerical values. For example, when you want to a timer you scroll through the numbers as if they were printed on a roll of toilet paper. The advantage of this is that you can skip a bunch of numbers in a single swipe, rather than clicking many times on a + or &#8211; symbol.</p>
<p><strong>Equalizer</strong><br />
An issue that I found to be equally dumbfounding in both the Hero as well as the Nexus One is the lack of an equalizer / bass-booster in the audio players that come with the device.<br />
Even my Nokia N73 and later N95 both had that!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.devtoolsonline.com/javascript/android-nexus-one-experience/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mod_rewrite trouble: RewriteEngine Off seemingly not working for subdirectories under a rewritten directory</title>
		<link>http://blog.devtoolsonline.com/general/mod_rewrite-trouble-rewriteengine-off-seemingly-not-working-for-subdirectories-under-a-rewritten-directory/</link>
		<comments>http://blog.devtoolsonline.com/general/mod_rewrite-trouble-rewriteengine-off-seemingly-not-working-for-subdirectories-under-a-rewritten-directory/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 01:00:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.devtoolsonline.com/?p=13</guid>
		<description><![CDATA[It took me hours and hours of swearing at the screen before I finally found the solution for a problem I was facing with mod_rewrite. The situation was the following:
I was applying pretty urls to the website of a customer of mine using mod_rewrite. The rewrite rules were identical to the Zend htaccess file, which [...]]]></description>
			<content:encoded><![CDATA[<p>It took me hours and hours of swearing at the screen before I finally found the <a title="Disable mod_rewrite for subdirectories" href="http://serverfault.com/questions/55323/disable-modrewrite-for-subdirectory" target="_blank">solution</a> for a problem I was facing with mod_rewrite. The situation was the following:</p>
<p>I was applying <a title="Pretty URL" href="http://en.wikipedia.org/wiki/Pretty_URL" target="_blank">pretty urls</a> to the website of a customer of mine using mod_rewrite. The rewrite rules were identical to the Zend htaccess file, which looks like this:</p>
<pre>RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(js|ico|gif|jpg|png|css)$ /index.php</pre>
<p>This ruleset basically says: Internally redirect every request to a URL that is</p>
<ul>
<li>not an existing file and</li>
<li>not an existing directory and</li>
<li>not a typical html asset</li>
</ul>
<p>to index.php in the root of the website.<br />
This htaccess file approach is also automatically in effect <em>inside</em> existing subdirectories but that&#8217;s usually easilly overcome by having a htaccess file in there that says:</p>
<pre>RewriteEngine Off</pre>
<p>But THAT is where things went wrong this time. When I requested a file in <span style="text-decoration: underline;">both the root directory as well as this subdirectory</span>, I could not ever trigger a 404. Also not when requesting a non-existent .jpg file which, as you can see in the RewriteRule, should not trigger mod_rewrite.</p>
<p>After a lot of searching I found <a href="http://serverfault.com/questions/55323/disable-modrewrite-for-subdirectory" target="_blank">1 website</a> that mentioned the cause of my trouble. The server the website was hosted on was a DirectAdmin powered webserver that has custom error documents enabled which I deleted from the filesystem somewhere in the past.</p>
<p>What I needed to do is add the following line to the top of the htaccess file in the root of the website:</p>
<pre>ErrorDocument 404 "The thing you are looking for does not exist on this planet... Go away."</pre>
<p>This solved the whole problem. Of course the message can be whatever you deem fit for your visitors.</p>
<p>I figured out that I had similar trouble as mentioned on that other website by having the redirect target be some other url, followed by %{REQUEST_FILENAME} like so:</p>
<pre>RewriteRule .* http://www.google.com/%{REQUEST_FILENAME} [NE,L]</pre>
<p>Hope this helps.</p>
<p>Menno</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.devtoolsonline.com/general/mod_rewrite-trouble-rewriteengine-off-seemingly-not-working-for-subdirectories-under-a-rewritten-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

