<?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>Hum &#187; Software</title>
	<atom:link href="http://blog.ronhsu.com/category/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ronhsu.com</link>
	<description>Atia of the Julii, I call for justice!</description>
	<lastBuildDate>Tue, 20 Jul 2010 06:15:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Apple&#8217;s official letter regarding the antenna issue.</title>
		<link>http://blog.ronhsu.com/2010/07/02/apples-official-letter-regarding-the-antenna-issue/</link>
		<comments>http://blog.ronhsu.com/2010/07/02/apples-official-letter-regarding-the-antenna-issue/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 17:44:10 +0000</pubDate>
		<dc:creator>Ron</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[antenna]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[AT&T]]></category>
		<category><![CDATA[battery]]></category>
		<category><![CDATA[battery life]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[iPhone 3G]]></category>
		<category><![CDATA[iPhone 4]]></category>
		<category><![CDATA[reception]]></category>
		<category><![CDATA[Sprint]]></category>

		<guid isPermaLink="false">http://blog.ronhsu.com/?p=725</guid>
		<description><![CDATA[A simple mistake, or an attempt at deception that backfired? My initial reaction is to dismiss it as corporate BS, but it does fall in line with my observations that I wrote several days ago (which I didn&#8217;t write here in this blog unfortunately). To reiterate, at my apartment (which completely obliterates all providers, especially [...]]]></description>
			<content:encoded><![CDATA[<p>A simple mistake, or an attempt at deception that backfired? My initial reaction is to <a href="http://www.apple.com/pr/library/2010/07/02appleletter.html">dismiss it as corporate BS</a>, but it does fall in line with my observations that I wrote several days ago (which I didn&#8217;t write here in this blog unfortunately).  To reiterate, at my apartment (which completely obliterates all providers, especially Sprint), the &#8220;issue&#8221; manifests itself greatly. For reference, my iPhone 3G would average 1-2 bars with AT&#038;T. Taking a call and holding the phone to my ear (either ear) would result in a drop >50% of the time. Using a headset would drop it down to maybe 10%. My roommate&#8217;s Sprint service would drop nearly 100% of the time on a call within the first minute, holding the phone or otherwise. Sprint representatives told him he&#8217;s less than a block from the nearest cell tower. Lead in our walls maybe?</p>
<p>My iPhone 4 now reports 4-5 bars at my apt with AT&#038;T. I suppose I should have been more suspicious. Could Apple really have improved the antenna that much? In comparison, at work, a good coverage area, I have yet to be able to get the bars to disappear. Sometimes, they don&#8217;t even drop at all, even with the phone crammed in my left palm. </p>
<p>Anyway, Apple&#8217;s comments also seems to fall in line with <a href="http://www.anandtech.com/show/3794/the-iphone-4-review/2">Anandtech&#8217;s comprehensive review</a> (dB measurements and all), which notes that the 5th bar represents a disproportionately wide range of signal. So basically, it&#8217;s showing that you have 5 bars, when you don&#8217;t. Either Apple just made an innocent mistake, or they were trying to be sneaky and fake a much larger improvement in antenna design than there actually was. For the Apple haters, the latter should do nicely. </p>
<p>In any case, it&#8217;s not exactly long term yet, but to follow up <a href="http://blog.ronhsu.com/2010/06/24/iphone-4-antenna-issue/">on my other post</a>, I&#8217;ve had the phone for over a week now, and I&#8217;m quite happy with it. With the <a href="http://itunes.apple.com/us/app/speedtest-net-speed-test/id300704847?mt=8">Speed Test app</a> I&#8217;ve been able to pull 2 megabit, and push 1.2 megabit (all dependent on ATT&#8217;s coverage of course, but the new iPhone supposedly has an improved chip for faster uploads). Battery life has been much, much better than expected. I used to keep my 3G on 66% brightness, and with normal use, the phone would last about 1.5 days. But I don&#8217;t even bother with the 4 &#8211; 100% brightness all the way. And it still lasts longer than the 3G did. I haven&#8217;t run it dry yet, but based on the battery indicator, it looks like the 4 should last at least 50% longer than my 3G. <a href="http://www.anandtech.com/show/3794/the-iphone-4-review/13">The Anandtech review shows some impressive benchmarks for more info on that. </a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ronhsu.com/2010/07/02/apples-official-letter-regarding-the-antenna-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone 4 antenna issue</title>
		<link>http://blog.ronhsu.com/2010/06/24/iphone-4-antenna-issue/</link>
		<comments>http://blog.ronhsu.com/2010/06/24/iphone-4-antenna-issue/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 06:25:58 +0000</pubDate>
		<dc:creator>Ron</dc:creator>
				<category><![CDATA[Art!]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[antenna]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[AT&T]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[iPhone 4]]></category>
		<category><![CDATA[reception]]></category>

		<guid isPermaLink="false">http://blog.ronhsu.com/?p=723</guid>
		<description><![CDATA[http://www.macrumors.com/2010/06/24/other-mobile-phones-with-similar-signal-loss-issues/ It happens on other phones but it definitely is accentuated on the new iPhone if you bridge the two antennas on the left. Merely contacting the two antennas at the same time isn&#8217;t enough &#8211; I tried putting my fingers on the two antennas as close as possible without covering the gap, and the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.macrumors.com/2010/06/24/other-mobile-phones-with-similar-signal-loss-issues/">http://www.macrumors.com/2010/06/24/other-mobile-phones-with-similar-signal-loss-issues/</a></p>
<p>It happens on other phones but it definitely is accentuated on the new iPhone if you bridge the two antennas on the left. Merely contacting the two antennas at the same time isn&#8217;t enough &#8211; I tried putting my fingers on the two antennas as close as possible without covering the gap, and the connectivity sustained. You have to cover the gap.  I suspect it will only strongly affect left handed folks who choose not to get a case. </p>
<p>Still, a pretty big design flaw. I get the feeling someone overrode the engineers and made an artistic design decision, because it seems like a fairly trivial issue to overcome. Cover the gap in plastic or glass? It would have messed with the clean design, but eh, people eat up some ugly android phone designs, so I doubt people would have given too much of a damn about an extra panel of glass or plastic. </p>
<p>I predict next year&#8217;s phone will have some kind of cover over the gaps. </p>
<p>I told myself if the antenna issue was major, I&#8217;d just return the thing, but given that I&#8217;m right handed, I suspect it won&#8217;t affect me too much. We&#8217;ll see what happens in the coming weeks. </p>
<p>On another note, I&#8217;m pretty happy with the phone. My coworker showed me Family Guy Blue Harvest on his, and it looked amazing. Video call, while gimmicky, was still quite cool. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ronhsu.com/2010/06/24/iphone-4-antenna-issue/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>More Google Maps Fail, More Bing Win</title>
		<link>http://blog.ronhsu.com/2010/03/21/more-google-maps-fail-more-bing-win/</link>
		<comments>http://blog.ronhsu.com/2010/03/21/more-google-maps-fail-more-bing-win/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 17:51:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[Bing]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://blog.ronhsu.com/?p=716</guid>
		<description><![CDATA[So I&#8217;ve written how Google switched to their own navigation data. I&#8217;m not sure if it&#8217;s related to this, but lately I&#8217;ve noticed Google maps likes to jump to conclusions, and for me, they&#8217;ve been wrong. It&#8217;s not uncommon that I don&#8217;t have a complete address. The beauty with Google, at least I thought, was [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.ronhsu.com/2009/12/05/google-maps-down-bing-maps-up/">So I&#8217;ve written how Google switched to their own navigation data</a>. I&#8217;m not sure if it&#8217;s related to this, but lately I&#8217;ve noticed Google maps likes to jump to conclusions, and for me, they&#8217;ve been wrong. It&#8217;s not uncommon that I don&#8217;t have a complete address. The beauty with Google, at least I thought, was that it didn&#8217;t really matter. I could just throw in a partial, but reasonable, address, and Google would do its magical search, and give a list of results.  I thought it used to do that anyway; I swear Google maps used to give a list of suggestions. </p>
<p>For example, last week I went to the <a href="http://www.bnpparibasopen.org/">BNP Paribas Open</a> in Indian Wells, CA.  I knew it was in the desert somewhere, and didn&#8217;t have the full address, so I put in Indian Wells, CA. Google then assumed I meant the significantly further, unincorporated community between Sequoia National Forest and Edwards Air Force Base, and gave me directions based on that, rather than the much, much closer Indian Wells by Palm Springs. Thankfully we only drove the wrong way for about 5-10 miles before we realized what was happening. </p>
<p>Here is what you get if you search for Indian Wells, CA with Google maps on the iPhone or at google.com: <a href="http://maps.google.com/maps?f=q&#038;source=s_q&#038;hl=en&#038;geocode=&#038;q=Indian+Wells,+CA&#038;sll=33.688907,-117.832607&#038;sspn=0.008659,0.013754&#038;ie=UTF8&#038;hq=&#038;hnear=Indian+Wells,+Kern,+California&#038;ll=35.771029,-117.957458&#038;spn=1.080783,1.760559&#038;z=9">http://maps.google.com/maps?f=q&#038;source=s_q&#038;hl=en&#038;geocode=&#038;q=Indian+Wells,+CA&#038;sll=33.688907,-117.832607&#038;sspn=0.008659,0.013754&#038;ie=UTF8&#038;hq=&#038;hnear=Indian+Wells,+Kern,+California&#038;ll=35.771029,-117.957458&#038;spn=1.080783,1.760559&#038;z=9</a>. Or just try the search yourself. Today is March 21, 2010, btw, just in case this behavior becomes obsolete one day.</p>
<p>This is what you get when you search at bing: <a href="http://www.bing.com/maps/#JnE9eXAuSW5kaWFuK1dlbGxzJTJjK0NBJTdlc3N0LjAlN2VwZy4xJmJiPTQ5Ljk3MjM3Mjc0NjEyOCU3ZS04OC4wNjM3NTEyMjElN2UxMy41Mjg0NDQ0MTkzNjAxJTdlLTE0Ny4xMjYyNTEyMjE=">http://www.bing.com/maps/#JnE9eXAuSW5kaWFuK1dlbGxzJTJjK0NBJTdlc3N0LjAlN2VwZy4xJmJiPTQ5Ljk3MjM3Mjc0NjEyOCU3ZS04OC4wNjM3NTEyMjElN2UxMy41Mjg0NDQ0MTkzNjAxJTdlLTE0Ny4xMjYyNTEyMjE=</a>. Bing nicely points out that there are two possibilities. </p>
<p>So now I suddenly remembered how I was unable to find another address several weeks ago. My aunt invited me to a dumpling-making party in celebration of Chinese New Years. In an email, she gave me the address as &#8220;412 Broadway, Anaheim, CA 92805.&#8221; Much, much more complete than &#8220;Indian Wells, Ca.&#8221; We never found the place however. Fast forward to today. I found a paper invite, with an even more complete version of the address. &#8220;412 EAST Broadway, Anaheim, CA 92805.&#8221; Oh, damn.  Again, <a href="http://maps.google.com/maps?f=q&#038;source=s_q&#038;hl=en&#038;geocode=&#038;q=412+Broadway,+Anaheim,+CA+92805&#038;sll=35.771029,-117.957458&#038;sspn=1.080783,1.760559&#038;ie=UTF8&#038;hq=&#038;hnear=412+W+Broadway,+Anaheim,+Orange,+California+92805&#038;z=16">if you dump &#8220;412 Broadway, Anaheim, CA 92805&#8243; in Google, it will spit out one location</a>. Bing will point out that <a href="http://www.bing.com/maps/#JnE9eXAuNDEyK0Jyb2Fkd2F5JTJjK0FuYWhlaW0lMmMrQ0ErOTI4MDUlN2Vzc3QuMCU3ZXBnLjEmYmI9MzkuNDM2MTEyMDcxMzY1NCU3ZTEuNDE0OTk4MDI0NzAyMDclN2UzNy4yNjk1OTgxMjMzNTgzJTdlLTIuMjc2NDA4MjI1Mjk3OTM=">there are two</a>. </p>
<p>I&#8217;m starting to wish Apple would decouple the iPhone from Google maps and allow the user to specify a different map app (is there a way that I don&#8217;t know of?). But the Google maps integration is so good. All your contacts show up as bookmarks in your google maps if you have addresses listed for them, and you can access their phone number straight from the maps app, too. Handy if you&#8217;re about to arrive and need to call.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ronhsu.com/2010/03/21/more-google-maps-fail-more-bing-win/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yelp Manipulation</title>
		<link>http://blog.ronhsu.com/2010/01/20/yelp-manipulation/</link>
		<comments>http://blog.ronhsu.com/2010/01/20/yelp-manipulation/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 03:02:10 +0000</pubDate>
		<dc:creator>Ron</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[removed]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[shady]]></category>
		<category><![CDATA[Yelp]]></category>

		<guid isPermaLink="false">http://blog.ronhsu.com/?p=683</guid>
		<description><![CDATA[I love Yelp, but I also love credibility and honesty. Apparently, Yelp&#8217;s been accused of massaging scores if businesses hand over some advertising dough. There was always that minor suspicion but this article details it fully: http://www.eastbayexpress.com/eastbay/yelp-extortion-allegations-stack-up/Content?oid=1176984 The story, which was picked up by national news outlets including The New York Times and The Wall [...]]]></description>
			<content:encoded><![CDATA[<p>I love Yelp, but I also love credibility and honesty.  Apparently, Yelp&#8217;s been accused of massaging scores if businesses hand over some advertising dough. There was always that minor suspicion but this article details it fully: <a href="http://www.eastbayexpress.com/eastbay/yelp-extortion-allegations-stack-up/Content?oid=1176984">http://www.eastbayexpress.com/eastbay/yelp-extortion-allegations-stack-up/Content?oid=1176984</a></p>
<blockquote><p>The story, which was picked up by national news outlets including The New York Times  and The Wall Street Journal, detailed the accounts of local business owners who said that sales reps at the popular user-generated review site offered to move negative reviews of their businesses if they advertised.</p></blockquote>
<p>Anyway, today, my friend told me about how one of his (very legitimate) reviews got removed:</p>
<blockquote><p>A:<br />
oh hey apparently yelp is like, fuckin 1984 shit<br />
maybe that&#8217;s not the right analogy<br />
they went all china censor on me<br />
back in august 07 i went to this bed and breakfast in monterey bay, and it was dirty and filthy and had clogged plumbing and no toilet paper and BEBBUGS IN ALL THE BEDS<br />
woke up in the middle of the night like omfg wtf and just left<br />
so i wrote this harsh ass review of it on yelp, and posted pics of bedbugs</p>
<p>Ron Hsu<br />
they deleted the review?</p>
<p>A<br />
and a few weeks ago<br />
i got an email<br />
from &#8220;Frank @ yelp hq&#8221; saying they were removing my pics from that business because they &#8220;fall outside our local business photo guidelines&#8221;<br />
a couple of days ago, i got a personal message on yelp from the owner of the business offering a free night&#8217;s stay at his business (which, since I went there, has apparently undergone new ownership and a total renovation) so that i might have a better experience and change my rating<br />
i wrote him back saying thanks, if i ever go to monterey again maybe i&#8217;ll take you up on your offer<br />
and for now i&#8217;ll add a line to the beginning of my old review saying &#8220;note: i haven&#8217;t been back, but apparently there is new ownership and the place has been renovated&#8221;<br />
and today, i got a message from &#8220;Casper @ Yelp HQ&#8221; telling me that one of my reviews was deleted &#8220;because it lacks a first-hand experience of the business&#8221;<br />
and i was like what the fuuuuuck how was my review not a first hand experience of hte business<br />
it was ANYTHING but secondhand<br />
smells like BS to me<br />
i suspect you can pay off yelp or bitch to them or do something shady to delete bad reviews<br />
which, of course, defeats the purpose of yelp in the first place</p>
<p>http://www.yelp.com/biz/the-inn-at-del-monte-beach-monterey-2</p>
<p>check it<br />
only 5 reviews<br />
used to be 6<br />
mine got killed<br />
they have to be a yelp sponsor of some sort to be able to list that &#8220;grand opening! rates start at 79!&#8221; ad rectangle right?<br />
the only review from the last two years is from someone with 2 reviews, who just started yelping in january 2010<br />
fiiiiishy fiiiiishy<br />
yeah yelp sold out or something, cus that is bullshiiiiiit<br />
i sent a message to that hazel q chick, yelp oc community organizer or whatever, no response<br />
dunno if she has any power or say in the first place<br />
but yeah, bullllshiiiit<br />
&#8220;your review was deleted because it lacks a first-hand experience of the business,&#8221; LOL</p>
<p>Ron Hsu<br />
actually i had just read an article about something like your experience a few days ago</p></blockquote>
<p>The only legitimate rationale I can think of is the new ownership angle, and thus, perhaps, my friend&#8217;s review no longer counts since he hasn&#8217;t been to the &#8220;new and improved&#8221; version.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ronhsu.com/2010/01/20/yelp-manipulation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server Management Studio 2005/2008 forgets password</title>
		<link>http://blog.ronhsu.com/2010/01/18/sql-server-management-studio-2005-forgets-password/</link>
		<comments>http://blog.ronhsu.com/2010/01/18/sql-server-management-studio-2005-forgets-password/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 20:18:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[2005]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Sql]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SSMS]]></category>

		<guid isPermaLink="false">http://blog.ronhsu.com/?p=678</guid>
		<description><![CDATA[This is why people bag on Microsoft. SQL Server Management Studio 2005 forgets password As does the 2008 version. I ran into this issue and was (not) surprised to find that the bug dating back to version 2005 had still not been fixed.  Hey, at least you can delete some files to fix it though. [...]]]></description>
			<content:encoded><![CDATA[<p>This is why people bag on Microsoft.</p>
<p><a href="http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/e40a3a81-748c-4a26-9fa3-9945b7a98be0">SQL Server Management Studio 2005 forgets password</a></p>
<p>As does the 2008 version. I ran into this issue and was (not) surprised to find that the bug dating back to version 2005 had still not been fixed.  Hey, at least you can delete some files to fix it though.</p>
<p>Edit: Just to make it more clear, from Voot&#8217;s post in the link above, you need to go to C:\Documents and Settings\[USERNAME]\Application Data\Microsoft\Microsoft SQL Server\100\Tools\Shell</p>
<p>and delete SqlStudio.bin. </p>
<p>Make sure SSMS is not running when you delete it. Fire up SSMS again. All your credentials will be gone, so you&#8217;ll need to reenter them, but it should remember them from here on out. I have no idea what causes it to initially mess up.</p>
<p>On another note, it&#8217;s not often you see a woman write something like the following (what can I say, there&#8217;s not that many women in my field):</p>
<blockquote><p>It doesn&#8217;t take too long to set up a tool to monitor a file or directory &#8211; you can download FileMon from:</p>
<p><a title="http://www.microsoft.com/technet/sysinternals/FileAndDisk/Filemon.mspx" href="http://www.microsoft.com/technet/sysinternals/FileAndDisk/Filemon.mspx">http://www.microsoft.com/technet/sysinternals/FileAndDisk/Filemon.mspx</a></p>
<p>The Connect to Server dialog can pop up in different situations where there is no security context for the connection to use. If you use registered servers (and save the password there) when you view the registered servers, select a server in the Registered Servers task pane and then click New Query on the toolbar or Right Click, Connect, Object Explorer or New Query which will result in connecting under the security context you used when registering the server. If a server isn&#8217;t selected, there is no security context available so the Connect to Server dialog pops up. I haven&#8217;t heard of passwords  being &#8220;lost&#8221; or &#8220;forgotten&#8221; using the registered servers task pane and saving registration information there.</p></blockquote>
<p>Good info.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ronhsu.com/2010/01/18/sql-server-management-studio-2005-forgets-password/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Google Maps Down, Bing Maps Up?</title>
		<link>http://blog.ronhsu.com/2009/12/05/google-maps-down-bing-maps-up/</link>
		<comments>http://blog.ronhsu.com/2009/12/05/google-maps-down-bing-maps-up/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 07:29:19 +0000</pubDate>
		<dc:creator>Ron</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Bing]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://blog.ronhsu.com/?p=587</guid>
		<description><![CDATA[Interesting. My friend pointed out that Google&#8217;s directions to an address we were heading to was completely wrong. Apparently Google dumped Nav Teq in &#8217;08 for Tele Atlas, and recently it dumped Tele Atlas in favor of its own collected data. Ambitious, but now Maps doesn&#8217;t seem to be very accurate anymore. These directions are [...]]]></description>
			<content:encoded><![CDATA[<p>Interesting. My friend pointed out that Google&#8217;s directions to an address we were heading to was completely wrong. Apparently Google dumped Nav Teq in &#8217;08 for Tele Atlas, and recently it dumped Tele Atlas in favor of its own collected data. Ambitious, but now Maps doesn&#8217;t seem to be very accurate anymore. <a href="http://maps.google.com/maps?f=q&#038;source=s_q&#038;hl=en&#038;geocode=&#038;q=1561+W+Sunflower+Ave,+Costa+Mesa,+Orange,+California+92626&#038;sll=33.683354,-117.887313&#038;sspn=0.008731,0.013797&#038;ie=UTF8&#038;hq=&#038;hnear=1561+W+Sunflower+Ave,+Costa+Mesa,+Orange,+California+92626&#038;ll=33.681068,-117.881413&#038;spn=0.069852,0.110378&#038;z=13">These directions</a> are totally wrong by 2 miles. Sure, Google Maps has had mistakes before, and I guess now they&#8217;re just trusting in user corrections to fix things&#8230;but I don&#8217;t want wiki-assurance on my map. I want as accurate data as possible. And with <a href="http://www.bing.com/maps/explore/#5872/style=auto&#038;lat=33.694143&#038;lon=-117.889174&#038;z=16&#038;pid=5874/5003/0.6002=q:1561+W+Sunflower+Ave,+Costa+Mesa,+Orange,+California+92626:lat:34.0858829658024:long:-118.375999451&#038;o=&#038;a=0">Bing Maps Beta</a> showing some strong promise&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ronhsu.com/2009/12/05/google-maps-down-bing-maps-up/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Someone Exploited My Scoreboard</title>
		<link>http://blog.ronhsu.com/2009/08/17/someone-exploited-my-scoreboard/</link>
		<comments>http://blog.ronhsu.com/2009/08/17/someone-exploited-my-scoreboard/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 07:46:49 +0000</pubDate>
		<dc:creator>Ron</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[arithmetic]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[gem story]]></category>
		<category><![CDATA[integer]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[overflow]]></category>
		<category><![CDATA[story]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://blog.ronhsu.com/?p=565</guid>
		<description><![CDATA[Someone managed to exploit a flaw in the way I calculate high scores for my game Gem Story. As of 8/18/09, Quest Name Score Level Date ma 2147483647 16 August 13 2009 Loren 1317023 28 August 16 2009 yan 1108697 9 August 04 2009 Matt 880118 20 August 06 2009 moogleii 313409 17 July 10 [...]]]></description>
			<content:encoded><![CDATA[<p>Someone managed to exploit a flaw in the way I calculate high scores for my game <a href="http://blog.ronhsu.com/2009/07/08/gem-story/">Gem Story</a>.</p>
<p>As of <a href="http://www.excari.com/gemstory/highscores.php">8/18/09</a>,</p>
<h2>Quest</h2>
<table border="0">
<tbody>
<tr>
<th>Name</th>
<th>Score</th>
<th>Level</th>
<th>Date</th>
</tr>
<tr>
<td>ma</td>
<td>2147483647</td>
<td>16</td>
<td>August 13 2009</td>
</tr>
<tr>
<td>Loren</td>
<td>1317023</td>
<td>28</td>
<td>August 16 2009</td>
</tr>
<tr>
<td>yan</td>
<td>1108697</td>
<td>9</td>
<td>August 04 2009</td>
</tr>
<tr>
<td>Matt</td>
<td>880118</td>
<td>20</td>
<td>August 06 2009</td>
</tr>
<tr>
<td>moogleii</td>
<td>313409</td>
<td>17</td>
<td>July 10 2009</td>
</tr>
<tr>
<td>smd</td>
<td>298247</td>
<td>1</td>
<td>July 08 2009</td>
</tr>
<tr>
<td>bud</td>
<td>284941</td>
<td>32</td>
<td>July 11 2009</td>
</tr>
<tr>
<td>Emily</td>
<td>242672</td>
<td>6</td>
<td>July 07 2009</td>
</tr>
<tr>
<td>hech</td>
<td>184688</td>
<td>8</td>
<td>July 15 2009</td>
</tr>
<tr>
<td>Gg</td>
<td>170662</td>
<td>13</td>
<td>August 05 2009</td>
</tr>
</tbody>
</table>
<p>I thought I had accounted for such a scenario with proper checks, but it looks like I made some false assumptions about how things are cast in Objective-C. Guess I should have read the documentation more thoroughly. I wonder if this is true with C as well. I admit, I haven&#8217;t coded in C in a long time.</p>
<p>Anyway, player &#8220;ma&#8221; got an exorbitant score as you can see. To computer science folks, his particular score number, 2147483647, should immediately pop out.  That happens to be the maximum value for a signed integer.  So I figured he must have lowered his score into the negative, and at some point, my program attempted to assign a negative value to a variable that only accepts positive values. When that happens, the number will wrap around to the other side. So assigning -1 to a positive-only variable will jump the number around to the highest value.</p>
<p>Anyway, as I said, I thought I had accounted for that, by doing something like:</p>
<p>if ( ( NSInteger ) score + ( pointValue * multiplier ) ) &gt; 0 )</p>
<p>but I guess that wasn&#8217;t enough. I did some testing (I&#8217;ve renamed some stuff to make it a little more readable):</p>
<ol>
<li>NSUInteger uStartValue = 0;</li>
<li>NSInteger sPointValue = -1000; //signed value</li>
<li>NSUInteger uMultiplier = 10; //unsigned value</li>
<li>NSInteger sMultiTest = sPointValue * uMultiplier; //-10000</li>
<li>BOOL test = NO;</li>
<li>test = (sPointValue * multiplier) &gt; 0; // YES&#8230;whut?</li>
<li>NSUInteger unsignedTest = (sPointValue * uMultiplier); //4294957296</li>
</ol>
<p>So this is interesting. So 7 shows the overflow in action. 6 seems to show that if a mixed-type operation isn&#8217;t assigned to a value, then it will default to type NSUInteger, if the operation contains an NSUInteger. But if you explicitly assign it, as in 4, then it&#8217;ll work fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ronhsu.com/2009/08/17/someone-exploited-my-scoreboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gem Story</title>
		<link>http://blog.ronhsu.com/2009/07/08/gem-story/</link>
		<comments>http://blog.ronhsu.com/2009/07/08/gem-story/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 17:27:05 +0000</pubDate>
		<dc:creator>Ron</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://blog.ronhsu.com/?p=545</guid>
		<description><![CDATA[Woot, on July 3rd, 2009, my first iPhone app &#8220;Gem Story&#8221; was approved! It could probably be described as a more challenging version of Bejeweled; well, challenging, until you learn how to play with the differences. You have a little character that moves alongside the other gems, and monsters that appear and try to get [...]]]></description>
			<content:encoded><![CDATA[<p>Woot, on July 3rd, 2009, my first iPhone app &#8220;<a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=320739436&#038;mt=8">Gem Story</a>&#8221; was approved! It could probably be described as a more challenging version of Bejeweled; well, challenging, until you learn how to play with the differences. You have a little character that moves alongside the other gems, and monsters that appear and try to get you. </p>
<p>It&#8217;s my first game I&#8217;ve ever made, and I&#8217;m happy with how it turned out. Looking forward to making a second project soon!</p>
<p>Thanks to all those that helped:<br />
TOKiMONSTA with music and character designs- I really felt the need to get the game more polished once she agreed to help, &#8217;cause she is truly one of those talented artist types. So, to get the game more shiny, I found&#8230;</p>
<p>Chris Kawagiwa &#8211; very skilled illustrator, and he did indeed make the game look much, much more shiny! All final art was drawn by Chris: monsters, characters, backgrounds, everything. </p>
<p>Abel Stearns &#8211; gave me lots of cool sound effects!</p>
<p>Jason Su &#8211; helped me out with some alpha art and other miscellaneous stuff, much appreciated.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ronhsu.com/2009/07/08/gem-story/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>TaxCut vs TurboTax</title>
		<link>http://blog.ronhsu.com/2009/02/25/taxcut-vs-turbotax/</link>
		<comments>http://blog.ronhsu.com/2009/02/25/taxcut-vs-turbotax/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 08:01:01 +0000</pubDate>
		<dc:creator>Ron</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[discount]]></category>
		<category><![CDATA[Scottrade]]></category>
		<category><![CDATA[taxes]]></category>

		<guid isPermaLink="false">http://blog.ronhsu.com/?p=249</guid>
		<description><![CDATA[Use TurboTax. End communique. OK maybe not. I&#8217;ve always been a TaxCut guy. I don&#8217;t know when H&#038;R Block got me, but when they did, I just stuck with them. Maybe their boxes and packaging looked a little more professional. Green geometric shapes on a white box. Huzzuh! Meanwhile, TurboTax just seemed like the ghetto [...]]]></description>
			<content:encoded><![CDATA[<p>Use TurboTax. End communique.</p>
<p>OK maybe not. I&#8217;ve always been a TaxCut guy. I don&#8217;t know when H&#038;R Block got me, but when they did, I just stuck with them. Maybe their boxes and packaging looked a little more professional. Green geometric shapes on a white box. Huzzuh! Meanwhile, TurboTax just seemed like the ghetto alternative. Some gaudy red with some reflective logo on a white box (I&#8217;m going off fuzzy memory here). It reminded me of cheap shareware. Ghettoware. But I guess H&#038;R fooled me, like Netgear and their product designs (I hold Netgear products with special contempt). </p>
<p>This year, I tried to do my taxes online through H&#038;R Block&#8217;s site. And it kept giving me a stupid error. Four to be exact.  Instead of taking me to the precise problem(s), it just continually dumped me somewhere else. Hence, I could never find the cause. The problem seemed unsolvable. Impatient and not wanting to pay $10 to get help, I tried out TurboTax, which is also available online. Now I could pit the two head to head! </p>
<p>In the end, they both refunded the same amount, but TurboTax was far, far more user friendly. Maybe Intuit added some pwn to it when they bought TurboTax. Even with the base filing bundle, everything was very clearly explained. It&#8217;s also highly integrated with payroll companies, so if your company signed up for it, you can import your W2 straight through TurboTax&#8217;s site. You can do the same for your stocks if your broker is listed. </p>
<p>Speaking of stocks, if you happen to use <a href="http://www.scottrade.com">Scottrade</a>, sign into your Scottrade account, and you&#8217;ll be treated to a link offering 30% off all TurboTax federal filing packages. GOGOGO! If you do not use Scottrade, and would like to, let me know. We all get free trades if I refer you.</p>
<p>If you don&#8217;t have Scottrade, TurboTax is a little bit more expensive than TaxCut, but from what I&#8217;ve seen of both, the premium seems worth it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ronhsu.com/2009/02/25/taxcut-vs-turbotax/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
