<?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>Poldon's Blog</title>
	
	<link>http://www.poldon.com</link>
	<description>All things digital, political, and randomical.</description>
	<lastBuildDate>Tue, 16 Aug 2011 18:39:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Poldon" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="poldon" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Set a Breakpoint on Unhandled Exceptions in the Xcode Debugger</title>
		<link>http://www.poldon.com/2011/08/16/set-a-breakpoint-on-unhandled-exceptions-in-the-xcode-debugger/</link>
		<comments>http://www.poldon.com/2011/08/16/set-a-breakpoint-on-unhandled-exceptions-in-the-xcode-debugger/#comments</comments>
		<pubDate>Tue, 16 Aug 2011 18:39:40 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.poldon.com/?p=59</guid>
		<description><![CDATA[One of the most frustrating things in iOS development is when the Xcode debugger doesn&#8217;t break on unhandled exceptions.  On most other platforms I&#8217;ve developed, the debugger always stops on exceptions you didn&#8217;t specifically catch in your code.  For some reason, the Xcode debugger doesn&#8217;t.  I suspect it&#8217;s really more of a GDB problem when [...]]]></description>
			<content:encoded><![CDATA[<p>One of the most frustrating things in iOS development is when the Xcode debugger doesn&#8217;t break on unhandled exceptions.  On most other platforms I&#8217;ve developed, the debugger always stops on exceptions you didn&#8217;t specifically catch in your code.  For some reason, the Xcode debugger doesn&#8217;t.  I suspect it&#8217;s really more of a GDB problem when debugging Obcjective-C than an Xcode issue.  There is something you can do though.</p>
<p><span id="more-59"></span>By adding a couple of breakpoints, the debugger should stop when an unhandled exception is thrown.   Start by going to the Run | Show | Breakpoints menu.  First, create a <strong>symbolic breakpoint</strong> named &#8220;objc_exception_throw&#8221; in the Location &#8220;libobjc.A.dylib&#8221;.  The symbolic breakpoint is important, otherwise, the debugger won&#8217;t catch anything.</p>
<p>Then, create a 2nd breakpoint called &#8220;-[NSException raise]&#8221; in the Location &#8220;CoreFoundation&#8221;.  You should be all set!  Run your app, and viola!  If it throws an exception, you&#8217;ll be in the debugger with a nice, beautiful stack trace!</p>
<p>One final suggestion I&#8217;d make is to make them global breakpoints instead of project breakpoints.  By doing that, they will be set for all your apps from the beginning, saving you tons of time and frustration.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.poldon.com/2011/08/16/set-a-breakpoint-on-unhandled-exceptions-in-the-xcode-debugger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Life as an iPhone/Android Developer in Dallas</title>
		<link>http://www.poldon.com/2011/08/15/life-as-an-iphone-android-developer-in-dallas/</link>
		<comments>http://www.poldon.com/2011/08/15/life-as-an-iphone-android-developer-in-dallas/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 15:46:18 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[dallas]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[plano]]></category>
		<category><![CDATA[texas]]></category>

		<guid isPermaLink="false">http://www.poldon.com/?p=49</guid>
		<description><![CDATA[For several years, I have been developing all types of software, from websites to desktop applications to mobile apps, etc.  When I started writing iPhone and Android apps, I didn&#8217;t think it would be my main thing.  It was a really cool technology, but I had no real idea how much I would end up [...]]]></description>
			<content:encoded><![CDATA[<p>For several years, I have been developing all types of software, from websites to desktop applications to mobile apps, etc.  When I started writing iPhone and Android apps, I didn&#8217;t think it would be my main thing.  It was a really cool technology, but I had no real idea how much I would end up loving it.</p>
<p><span id="more-49"></span>For me, the thing that I love is that it takes me back to the days of what software engineering used to be.  Back in the days of the Tandy Radio Shack 80 (commonly called the &#8220;Trash 80&#8243;), you had a very limited supply of memory, processing power, and storage (anyone remember floppy disks or tape drives?).  Today, we have so much power on our desks or even in our lap (I&#8217;m still talking computers here!).  Combine that with the new programming languages we have these days such as C# and Java that have &#8220;garbage collectors&#8221; in them so the developer doesn&#8217;t have to worry about cleaning up after himself and writing efficient code.</p>
<p>The end result is instead of it being &#8220;easier&#8221; to write good software, it has become easier &#8211; if not encouraged &#8211; to write bad software.  We have bloated software on our computers that take several seconds or even minutes to start, and things often feel sluggish and unstable.  Even the &#8220;best&#8221; of applications suffer from these symptoms.  Then, the universities don&#8217;t bother teaching good practices such as memory management because &#8220;Java takes care of that for you.&#8221;</p>
<p>And then, mobile app development became a hit, and everything changed&#8230;at least for now.  Now, good iphone developers can really shine because they already know the tricks of the trade.  Android developers can, too, but I still think it was a mistake to use Java as the language of choice.  However, in both cases, mobile developers are more focused on making their apps quick and lightweight because they have to.  You have to be efficient with your network access because it&#8217;s usually a slow cell network that you have to deal with.  So, no downloading several megabytes at a time if all you need is a few kilobytes of data.</p>
<p>The Objective-C language is good, bad, and ugly sometimes.  For the most part, it&#8217;s good.  The only bad I&#8217;ve really found is the syntax for calling methods in objects.  Apple calls these messages, and they look like this:</p>
<pre style="padding-left: 30px;">[someObject someMethod:arg1 anotherParameter:arg2];</pre>
<p>In C++, it would look like this:</p>
<pre style="padding-left: 30px;">someObject-&gt;someMethod(arg1, arg2);</pre>
<p>Does it make sense?  Not really, but it&#8217;s what they chose.  I&#8217;m guessing it had to do with the timeline of when Objective-C was created vs. when C++ was, or that NextStep (Steve Job&#8217;s other tech company) wanted to compete with C++ for market dominance.  In the end, developers like me have gotten used to it, and it gets ugly when other developers go crazy with nested calls and weird names.</p>
<p>Finally, you&#8217;re probably wondering about the Dallas part.  My wife and I moved to Texas a year ago because there was a better job market here.  I&#8217;m from California, but I didn&#8217;t want to deal with their economy&#8230;or lack thereof.  We love Dallas because there&#8217;s so much to do here, and with Plano nearby, there&#8217;s a ton of opportunity here.  I think the only thing left for me to do is to go buy some cowboy boots, hat, and a pack of Skoal.  Ah, Texas&#8230;the only place you can where a cowboy hat and boots to work&#8230;<em>no matter where you work!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.poldon.com/2011/08/15/life-as-an-iphone-android-developer-in-dallas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ashley Got Married and Spammed Me!</title>
		<link>http://www.poldon.com/2010/10/13/ashley-got-married-and-spammed-me/</link>
		<comments>http://www.poldon.com/2010/10/13/ashley-got-married-and-spammed-me/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 22:26:34 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[virus]]></category>

		<guid isPermaLink="false">http://www.poldon.com/?p=3</guid>
		<description><![CDATA[Most spam/virus emails are easy to spot because they almost all use bad grammar or spelling. I think it&#8217;s because only low-lifes and illiterates think they can fool smart people into clicking harmful links or giving them their passwords. However, this one is the best I&#8217;ve seen so far. Hiiiiiiiiiiiiiiiiiii, it’s Ashley here, it was [...]]]></description>
			<content:encoded><![CDATA[<p>Most spam/virus emails are easy to spot because they almost all use bad grammar or spelling.  I think it&#8217;s because only low-lifes and illiterates think they can fool smart people into clicking harmful links or giving them their passwords.  However, this one is the best I&#8217;ve seen so far.</p>
<div lang="x-western">
<p style="padding-left: 30px;"><span id="more-3"></span>Hiiiiiiiiiiiiiiiiiii, it’s Ashley here, it was such a long time , how  is it going with you there ? I heard that you got a new job, didn’t  you? Is everything ok there ? Hey, can you believe it! I got married to  Brian ! Yes I did. I tried to call but you did not answer. You have  changed your number, haven’t you? Just give me your current telephone  number if you read this mail. It’s really a pity that we did not see you  in our wedding. I wanted to invite you so much.  Well, here I’m sending you a few pics taken in our wedding :</p>
<p style="padding-left: 30px;">http://www.example.com/photos/ashley/wedding.zip</p>
<p style="padding-left: 30px;">Let&#8217;s keep in touch then.</p>
<p style="padding-left: 30px;">Love,</p>
<p style="padding-left: 30px;">Ashley &amp; Brian</p>
<p>At first, I actually thought it might be legitimate, but then I realized I didn&#8217;t know any Ashley&#8217;s.  Further, I checked the email address it was sent to, and it was one of my special spam tracking accounts that nobody knows about.  So, it looks like this particular spam is a virus or worm because it links to a .zip file.</p>
<p>After some more digging, I found out it came from someone in Sweden (now I <em>know</em> this is spam).  There&#8217;s also a hidden link to a web page with the same message:</p>
<pre id="line1" style="padding-left: 30px;">Please click the following link to see a web version of the newsletter:

http://www.anp.se/newsletter/934038/464A5B4B7241445B4672454A5043</pre>
<p>Maybe this will be called the Ashley Got Married worm! <img src='http://www.poldon.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.poldon.com/2010/10/13/ashley-got-married-and-spammed-me/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>In-N-Out Burger Texas Locations to Open in 2011</title>
		<link>http://www.poldon.com/2010/10/12/in-n-out-burger-texas-locations-to-open-in-2011/</link>
		<comments>http://www.poldon.com/2010/10/12/in-n-out-burger-texas-locations-to-open-in-2011/#comments</comments>
		<pubDate>Tue, 12 Oct 2010 20:58:43 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[in-n-out]]></category>
		<category><![CDATA[texas]]></category>

		<guid isPermaLink="false">http://www.poldon.com/?p=24</guid>
		<description><![CDATA[I just heard that my favorite burger joint, In-N-Out Burger, is planning on opening up locations in the Dallas, Texas area.  So, I decided to search for when their opening dates were. After searching, I found out only that they were planning locations in Garland and Ft. Worth.  Nobody mentioned any opening date or where [...]]]></description>
			<content:encoded><![CDATA[<p>I just heard that my favorite burger joint, In-N-Out Burger, is planning on opening up locations in the Dallas, Texas area.  So, I decided to search for when their opening dates were.</p>
<p><span id="more-24"></span>After searching, I found out only that they were planning locations in Garland and Ft. Worth.  Nobody mentioned any opening date or where they were going to be.</p>
<p>So, I called up In-N-Out&#8217;s headquarters and asked if they could tell me when they were planning on opening up in Texas.  The friendly lady on the other end of the line informed me that the plans were still &#8220;preliminary&#8221;, but that they&#8217;re hoping to open sometime next year.  Unfortunately, she didn&#8217;t know anything more than that.</p>
<p>I wish I knew more, but that&#8217;s the latest official word.  I&#8217;ll definitely post updates when I hear more.</p>
<p>As a side, I did find another <a href="http://eatsblog.dallasnews.com/archives/2010/10/texas-first-in-n-out-burger.html">article</a> that specified the first location to be at Central Expressway and Caruth Haven, but I think it&#8217;s still too soon to tell for sure until they break ground somewhere.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.poldon.com/2010/10/12/in-n-out-burger-texas-locations-to-open-in-2011/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Nigerian Advance Fee Fraud – People Actually Fall for These?</title>
		<link>http://www.poldon.com/2010/10/08/nigerian-advance-fee-fraud-people-actually-fall-for-these/</link>
		<comments>http://www.poldon.com/2010/10/08/nigerian-advance-fee-fraud-people-actually-fall-for-these/#comments</comments>
		<pubDate>Fri, 08 Oct 2010 14:34:38 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[scam]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.poldon.com/?p=17</guid>
		<description><![CDATA[It never ceases to amaze me at the types of spam I get, especially the Nigerian scam emails.  What surprises me isn&#8217;t that they&#8217;re sending it, but that it&#8217;s worth sending!   If they&#8217;re sending it, that means someone is falling for it.  Even worse, enough people are falling for it that they&#8217;re making money off [...]]]></description>
			<content:encoded><![CDATA[<p>It never ceases to amaze me at the types of spam I get, especially the Nigerian scam emails.  What surprises me isn&#8217;t that they&#8217;re sending it, but that it&#8217;s <em><strong>worth sending</strong></em>!   If they&#8217;re sending it, that means someone is falling for it.  Even worse, enough people are falling for it that they&#8217;re making money off of it.</p>
<p>Here&#8217;s the latest scam email I received this morning:</p>
<p style="padding-left: 30px;"><span id="more-17"></span>Dear Friend,</p>
<p style="padding-left: 30px;">I guess this letter may come to you as surprise since I had no previous correspondence with you.</p>
<p style="padding-left: 30px;">I am the Chairman of the Electoral Commission Ghana (EC). I got your contact in my search for a reliable person to handle a very confidential transaction involving the transfer of the sum of $14.500.000 Dollars (Fourteen Million Five Hundred Thousand United States Dollars) the above fund is not connected with arms, drugs or money laundering. It is the product of an over invoiced contract awarded in 2008 by (EC) to a foreign company for the supply of electoral materials that were used for conducting the 2008 elections.</p>
<p style="padding-left: 30px;">The contract has long been executed and payment of the actual contract amount has been made to the foreign contractor leaving the balance of $14.5 million which my colleagues and I now want to transfer out of Ghana into a reliable foreign account for our personal use.</p>
<p style="padding-left: 30px;">As civil servants we are not allowed to run foreign accounts. Hence we have chosen to front and support you as the beneficiary to this funds. If you are interested in the proposal kindly get back to me by sending me your letter of acceptance along with your direct telephone and fax numbers, we have decided to share the money in the following percentage, 60% for us 30% for you the account owner and 10% for all local and international expenses that may arise in the course of this transaction. Further details about this transaction will be discussed in subsequent correspondence.</p>
<p style="padding-left: 30px;">Note also that the particular nature of your business is irrelevant to this transaction and this transaction is expected to be concluded within 5 working days since all local contacts and arrangements are in place for a smooth and successful conclusion of this transaction.</p>
<p style="padding-left: 30px;">Contact me via email with your contact telephone and fax numbers, so that I can call you for a discussion.</p>
<p style="padding-left: 30px;">Thank you as I await your response.</p>
<p style="padding-left: 30px;">You can reach me on my private email account <a href="mailto:afari@in.com">afari@in.com</a></p>
<p style="padding-left: 30px;">yours faithfully,</p>
<p style="padding-left: 30px;">Dr.Kwadwo Afari</p>
<p>If I had never seen this before and got this in my email, I&#8217;d be asking <em>at least </em>the following questions:</p>
<ol>
<li>Why is someone offering little old me 30% of $14,500,000?</li>
<li>Isn&#8217;t it illegal for an election official in Ghana to take those funds for his personal use?</li>
<li>Are they really going to trust a complete stranger to transfer such a large amount of money in 5 days?</li>
<li>What&#8217;s the risk for me?</li>
<li>Is it legal for me to do this?</li>
</ol>
<p>I mean, duh!  Of course, the answer is that it&#8217;s a scam designed to get you, the victim, to pay them m0ney <em>before</em> they send you anything&#8230;which they won&#8217;t.</p>
<p>Seriously, we&#8217;re in sad shape as a country, if not the world, if so many people are dumb enough to fall for this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.poldon.com/2010/10/08/nigerian-advance-fee-fraud-people-actually-fall-for-these/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Leaving AT&amp;T Without the Early Termination Fee!</title>
		<link>http://www.poldon.com/2010/10/06/leaving-att-without-the-early-termination-fee/</link>
		<comments>http://www.poldon.com/2010/10/06/leaving-att-without-the-early-termination-fee/#comments</comments>
		<pubDate>Wed, 06 Oct 2010 22:10:34 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[at&t]]></category>

		<guid isPermaLink="false">http://www.poldon.com/?p=5</guid>
		<description><![CDATA[Well, I finally jumped ship from AT&#38;T, and I also got them to waive the Early Termination Fees!  How?  Pretty easily, actually, although I&#8217;m not sure if many people know how. The trick is to move to an area that doesn&#8217;t have coverage, especially if another carrier does, like Verizon.  In my case, AT&#38;T said [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I finally jumped ship from AT&amp;T, and I also got them to waive the Early Termination Fees!  How?  Pretty easily, actually, although I&#8217;m not sure if many people know how.</p>
<p><span id="more-5"></span>The trick is to move to an area that doesn&#8217;t have coverage, especially if another carrier does, like Verizon.  In my case, AT&amp;T said they had coverage here, but, in reality, they don&#8217;t for about a mile in each direction.  So, you&#8217;re technically not breaching the contract if they can&#8217;t give you coverage.  In fact, legally, they&#8217;re not living up to their end of the bargain.</p>
<p>If you live in an area without coverage, they may still ask you to talk to their technical support team to try and fix the problem.  They&#8217;ll probably create a case for it so their engineers can look into it.  However, it&#8217;s just a formality, and well worth a couple days wait in my opinion.</p>
<p>If you want AT&amp;T to waive the early termination fee, this is definitely the way to go&#8230;and one way they obviously don&#8217;t advertise. <img src='http://www.poldon.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.poldon.com/2010/10/06/leaving-att-without-the-early-termination-fee/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

