<?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/"
	>

<channel>
	<title>Luis de la Rosa</title>
	<atom:link href="http://www.luisdelarosa.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.luisdelarosa.com</link>
	<description>iPhone and Mac OS X Programming (with a bit of Ruby on Rails)</description>
	<pubDate>Mon, 01 Mar 2010 20:51:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>dim - visualize your Git diff in TextMate</title>
		<link>http://www.luisdelarosa.com/2009/10/15/dim-visualize-your-git-diff-in-textmate/</link>
		<comments>http://www.luisdelarosa.com/2009/10/15/dim-visualize-your-git-diff-in-textmate/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 19:26:35 +0000</pubDate>
		<dc:creator>luis</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[diff]]></category>

		<category><![CDATA[git]]></category>

		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://www.luisdelarosa.com/?p=403</guid>
		<description><![CDATA[I use git as my primary version control system and one nice alias that I have in my ~/.bash_profile is &#8220;dim&#8221;.  When I type in &#8220;dim&#8221;, I see my Git diff within TextMate which makes it easy to see what I&#8217;m about to commit.
Here&#8217;s the entire source:
alias dim="git diff &#124; mate"
It should automatically pick [...]]]></description>
			<content:encoded><![CDATA[<p>I use git as my primary version control system and one nice alias that I have in my ~/.bash_profile is &#8220;dim&#8221;.  When I type in &#8220;dim&#8221;, I see my Git diff within <a href="http://macromates.com/">TextMate</a> which makes it easy to see what I&#8217;m about to commit.</p>
<p>Here&#8217;s the entire source:<br />
<code>alias dim="git diff | mate"</code></p>
<p>It should automatically pick the &#8220;Diff&#8221; language for you, but if not, then just pick it from the chooser at the bottom of the window to get the nice highlighting where deleted lines are in red, added lines are in green and markers are in blue.<br />
<!-- bubbleGUM --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luisdelarosa.com/2009/10/15/dim-visualize-your-git-diff-in-textmate/feed/</wfw:commentRss>
		</item>
		<item>
		<title>C4[3] Blitz Talks and MacRuby</title>
		<link>http://www.luisdelarosa.com/2009/09/30/c43-blitz-talks-and-macruby/</link>
		<comments>http://www.luisdelarosa.com/2009/09/30/c43-blitz-talks-and-macruby/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 05:54:19 +0000</pubDate>
		<dc:creator>luis</dc:creator>
		
		<category><![CDATA[Cocoa]]></category>

		<category><![CDATA[Conferences]]></category>

		<category><![CDATA[Mac OS X]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Ruby]]></category>

		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.luisdelarosa.com/?p=399</guid>
		<description><![CDATA[I just came back from C4[3] - an Independent Mac and iPhone Developer Conference in Chicago.  Wolf and Victoria host it and I saw Daniel Jalkut helping out along with a few other folks.  In case you&#8217;re not hip to the zero numbering scheme, this is actually the 4th iteration of the conference. [...]]]></description>
			<content:encoded><![CDATA[<p>I just came back from <a href="http://rentzsch.com/c4/threeOpen">C4[3]</a> - an Independent Mac and iPhone Developer Conference in Chicago.  <a href="http://rentzsch.com/">Wolf</a> and <a href="http://violasong.com/blog/">Victoria</a> host it and I saw <a href="http://www.red-sweater.com/blog/">Daniel Jalkut</a> helping out along with a few other folks.  In case you&#8217;re not hip to the zero numbering scheme, this is actually the 4th iteration of the conference.  <a href="http://www.luisdelarosa.com/2008/09/26/10-things-i-learned-from-c42/">I went last year to C4[2]</a> and this year was even better in my opinion.</p>
<p>There&#8217;s too many things to write about so I&#8217;ll just focus on two things that stick out in my mind: Blitz Talks and <a href="http://www.macruby.org/">MacRuby</a>.</p>
<p>I go to <a href="http://www.nscodernightdc.com/">NSCoderNightDC</a> and we have a nice core group of Mac and iPhone Devs who show up every week and eat Strawberry Napoleons.  We also code and talk about design.  Well 3 of the guys proposed Blitz Talks and got accepted.</p>
<p><a href="http://robrhyne.com/">Rob</a> hit it out of the park with his <a href="http://giveabrief.com/">Briefs iPhone prototyping tool</a>.  Jose actually created a Brief on the way from the airport to the hotel.  He was kinda nervous beforehand in the hotel room but he practiced his presentation a few times on me and was really well prepared.  His slides were top-notch but I think the idea is what really captivates people.  I&#8217;m personally a big fan of fake-powered prototypes - prototypes powered by objects that return canned responses, but I&#8217;m definitely going to try out Briefs on upcoming iPhone engagements.</p>
<p><a href="http://greenmango.org/">Jose</a> did well with his presentation about the different types of contexts that an iPhone user would use different apps in.  I&#8217;ve seen him give this talk before so it was interesting to see how he pared it down to fit in the much tighter 5 minute time frame.</p>
<p><a href="http://stationinthemetro.com/">Mark</a> gave an interesting talk about how to do video right for Mac and iPhone screencasts and demos.  I have a lot to learn about this and I&#8217;m hoping to work with Mark on a screencast sometime in the near future for Webnote.</p>
<p>There were many other Blitz Talks and I think they really were a nice Change of Pace that I haven&#8217;t seen in other conferences.  Wolf amped it up even further by providing an animated radar / pie that kept filling up as the talk progressed.</p>
<p>MacRuby was the other big surprise for me.  I had been tracking RubyCocoa and had seen the early MacRuby demo at RubyConf 2007.  I&#8217;m a former Smalltalker and current Rubyist.  I do all my automated build processes in Ruby and I&#8217;ve also created various non-Rails Ruby server-side components for clients.  Plus I did Ruby on Rails for a few years.  So I&#8217;ve been wanting to make Mac apps with Ruby, except one thing kept holding me back: I don&#8217;t want to show everyone my source.</p>
<p>Obfuscation is not a problem with server-side Ruby.  The users only see what you expose via the web or other ports.  They only see what&#8217;s rendered to them or the API that you expose.</p>
<p>Client-side Ruby is another world altogether.  Users learn that they can peek inside application packages and if you&#8217;re writing Ruby, they can see your source.  I&#8217;ve asked this question at WWDCs in the past and the answer was usually that its not a big deal and that you should just keep innovating.  But we don&#8217;t just leave our Objective-C sources lying around, do we?</p>
<p>MacRuby will soon solve that, or I hope it will, with his AOT (Ahead Of Time) compiler.  Or as it is known in the C/C++/Objective-C world: a compiler.  LOL.  So with the AOT, we will be able to write Cocoa apps in Ruby, compile them and run them on Mac.  (And maybe iPhone - the jury is still out on that.)  Which means that people can&#8217;t just look at your Ruby source.  Even better, there is the HotCocoa project which provides useful macros / shortcuts for common Cocoa idioms.</p>
<p>Why use Ruby to write Cocoa apps?  Ruby can be more concise, there are more libraries to choose from and the testing/mocking frameworks are better.  On the other hand, the debugging story is still hazy.</p>
<p>I&#8217;ll be trying out MacRuby soon and I&#8217;ll post what I find.  They&#8217;re currently at 0.4 with a 0.5 on the horizon, with nightlies for Snow Leopard available and the latest source available in both Subversion and Git.<!-- bubbleGUM-start --><font style="position: absolute;overflow: hidden;height: 0;width: 0"></font><!-- bubbleGUM-end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luisdelarosa.com/2009/09/30/c43-blitz-talks-and-macruby/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Getting Sparkle from source (using bzr as compared with svn and git)</title>
		<link>http://www.luisdelarosa.com/2009/07/01/getting-sparkle-from-source-using-bzr-as-compared-with-svn-and-git/</link>
		<comments>http://www.luisdelarosa.com/2009/07/01/getting-sparkle-from-source-using-bzr-as-compared-with-svn-and-git/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 17:29:27 +0000</pubDate>
		<dc:creator>luis</dc:creator>
		
		<category><![CDATA[Cocoa]]></category>

		<category><![CDATA[Mac OS X]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[bzr]]></category>

		<category><![CDATA[git]]></category>

		<category><![CDATA[sparkle]]></category>

		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.luisdelarosa.com/?p=396</guid>
		<description><![CDATA[A few notes about getting Sparkle, the widely used framework for updating Mac OS X apps, from source:
1. Get a branch.  This is similar to &#8220;svn checkout&#8221; or &#8220;git clone&#8221;.
bzr branch lp:sparkle
I admit it is kind of cool to have such a short name here like &#8220;lp:sparkle&#8221; due to bzr&#8217;s integration with Launchpad, which [...]]]></description>
			<content:encoded><![CDATA[<p>A few notes about getting Sparkle, the widely used framework for updating Mac OS X apps, from source:</p>
<p>1. Get a branch.  This is similar to &#8220;svn checkout&#8221; or &#8220;git clone&#8221;.<br />
<code>bzr branch lp:sparkle</code></p>
<p>I admit it is kind of cool to have such a short name here like &#8220;lp:sparkle&#8221; due to bzr&#8217;s integration with Launchpad, which is sort of like SourceForge or GitHub.</p>
<p>2. Later on, you might need to get the latest version.  This is similar to &#8220;svn update&#8221; or &#8220;git pull&#8221;.<br />
<code>bzr pull</code></p>
<p>3. To make sure you have the latest, you can check what version you have.  This is similar to &#8220;svn info&#8221;.  The closest to this in git is &#8220;git log &#8211;max-count=1&#8243;<br />
<code>bzr version-info</code></p>
<p>You can compare that version to the latest one in <a href="https://code.launchpad.net/~andymatuschak/sparkle/main">the main Sparkle branch</a>.<!-- bubbleGUM-start --><span style="height: 0pt;width: 1pt;position: absolute;overflow: auto;"></span><!-- bubbleGUM-end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luisdelarosa.com/2009/07/01/getting-sparkle-from-source-using-bzr-as-compared-with-svn-and-git/feed/</wfw:commentRss>
		</item>
		<item>
		<title>iPhoneDevCampDC is coming July 31st - August 1st!</title>
		<link>http://www.luisdelarosa.com/2009/06/25/iphonedevcampdc-is-coming-july-31st-august-1st/</link>
		<comments>http://www.luisdelarosa.com/2009/06/25/iphonedevcampdc-is-coming-july-31st-august-1st/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 06:18:44 +0000</pubDate>
		<dc:creator>luis</dc:creator>
		
		<category><![CDATA[Conferences]]></category>

		<category><![CDATA[Northern Virginia]]></category>

		<category><![CDATA[Washington DC]]></category>

		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.luisdelarosa.com/?p=392</guid>
		<description><![CDATA[We are putting together a local gathering of iPhone developers in the Washington DC area.  Its called iPhoneDevCampDC and it is a satellite event of the main iPhoneDevCamp (which is in Sunnyvale, CA.)  There are satellite events all over the country and Washington DC is one of the new ones in this third [...]]]></description>
			<content:encoded><![CDATA[<p>We are putting together a local gathering of iPhone developers in the Washington DC area.  Its called <a href="http://iphonedevcampdc.com">iPhoneDevCampDC</a> and it is a satellite event of the main <a href="http://iphonedevcamp.org">iPhoneDevCamp</a> (which is in Sunnyvale, CA.)  There are satellite events all over the country and Washington DC is one of the new ones in this third iteration.  <a href="http://iphonedevcampfl.org/">iPhoneDevCamp Florida</a>, by the way, is another new one - go East Coast!</p>
<p>iPhoneDevCampDC is going to be the evening of July 31st and then all day August 1st.  We are looking for sponsors for the event, so if you are looking to get your company in front of iPhone developers, <a href="mailto:iphonedevcampdc@luisdelarosa.com">please contact us</a>.</p>
<p>We will be limiting the number of attendees this year to 50.  Ticket registration will start next week around the beginning of July.  This is a BarCamp-style conference, where the attendees present the sessions, so if you&#8217;re planning to attend, start thinking of what session you could present.  We won&#8217;t have time for everyone to present, but if everyone comes ready, then we&#8217;ll have great topics for everyone to choose from.</p>
<p>There&#8217;s a <a href="http://iphonedevcampdc.com">website for iPhoneDevCampDC</a> with some more details and we&#8217;ve also started tweeting at <a href="http://twitter.com/iphonedevcampdc">@iphonedevcampdc</a>, where we&#8217;ll publish news about the event (like when registration starts.)<!-- bubbleGUM-start --><br />
<style>div.XesYCmOEgf {height: 0pt;width: 0pt;position: absolute;overflow: auto}</style>
<div class="XesYCmOEgf"></div>
<p><!-- bubbleGUM-end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luisdelarosa.com/2009/06/25/iphonedevcampdc-is-coming-july-31st-august-1st/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Three things I learned at WWDC 2009</title>
		<link>http://www.luisdelarosa.com/2009/06/19/three-things-i-learned-at-wwdc-2009/</link>
		<comments>http://www.luisdelarosa.com/2009/06/19/three-things-i-learned-at-wwdc-2009/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 17:26:44 +0000</pubDate>
		<dc:creator>luis</dc:creator>
		
		<category><![CDATA[Cocoa]]></category>

		<category><![CDATA[Conferences]]></category>

		<category><![CDATA[Mac OS X]]></category>

		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[wwdc]]></category>

		<guid isPermaLink="false">http://www.luisdelarosa.com/?p=388</guid>
		<description><![CDATA[I went to WWDC 2009 last week and I learned 100 things.  Unfortunately, 97 of them are under NDA, so I&#8217;ll just share with you three things that aren&#8217;t secret.
1. When in doubt, file a bug.
Mac OS X and iPhone to some extent are a democracy, where bugs count as votes.  Apple uses [...]]]></description>
			<content:encoded><![CDATA[<p>I went to WWDC 2009 last week and I learned 100 things.  Unfortunately, 97 of them are under NDA, so I&#8217;ll just share with you three things that aren&#8217;t secret.</p>
<p><strong>1. When in doubt, file a bug.</strong><br />
<em>Mac OS X and iPhone to some extent are a democracy, where bugs count as votes.</em>  Apple uses your bug filings to see which things should get fixed and which things should get implemented.  I&#8217;d say at least half of the Q&#038;A could be summed up by: &#8220;Please file a bug.&#8221;</p>
<p>At first it seems like the Apple Engineers are just passing the buck, but really what they&#8217;re saying is either:<br />
a. &#8220;Yes that seems like a good idea, but I need you to file a bug so I can justify working on this, be it a bug or a new feature, to my manager.&#8221; or<br />
b. &#8220;I&#8217;m not sure about that, but file a bug and if we get enough of those, we&#8217;ll work on it.&#8221;</p>
<p>BTW here&#8217;s <a href="https://bugreport.apple.com/">how to file a bug in Apple&#8217;s Radar bug database.</a></p>
<p><strong>2. Instruments is as important as Xcode and Interface Builder.</strong><br />
Every Mac and iPhone Developer is familiar with Xcode and Interface Builder.  But Instruments is just as important, especially with the relatively limited hardware of the 1st gen/3G iPhone and 1st gen iPod Touch.  There were a lot of good sessions that featured Instruments that are worth watching when the session videos come out.</p>
<p>Even on Mac OS X, profiling your application to improve its performance and memory usage is important to do with Instruments.</p>
<p>Another interesting tool to delve into is dtrace.  Its the technology that underlies some of the instruments in Instruments.</p>
<p>Also I heard a new phrase <em>&#8220;There&#8217;s an Instrument for that.&#8221;</em>  If you have access to the Snow Leopard betas (and you should get it via ADC), then check out the new ones that are available.  If you don&#8217;t see one that fits your needs, you might consider filing a bug requesting it.</p>
<p><strong>3. WWDC 2010 will hopefully occur in a bigger venue.</strong><br />
WWDC 2009 sold out the fastest as I&#8217;ve seen any (and perhaps the fastest ever?)  60% of attendees were new attendees.  So there&#8217;s still another 3000 or so people who were at WWDC 2008 and previously that might have attended if they had purchased their tickets sooner.  Add to that another 2000 or so developers that see the market growing due to the $99 iPhone and you&#8217;re over 10,000 developers that could be attending WWDC 2010.  That&#8217;s roughly double the attendance.</p>
<p>OK I admit that I don&#8217;t really like lines and such, but the keynote line ran completely around the block back to the front!  <em>Moscone West was just overflowing with Mac and iPhone developers this year.</em>  I&#8217;m hoping that next year&#8217;s WWDC 2010 will be say in Moscone South or Moscone North.  It might not be as cozy but it should give some breathing space and allow for more developers (including those who have longer purchasing cycles) to attend.<!-- bubbleGUM-start --><font style="position: absolute;overflow: hidden;height: 0;width: 0"></font><!-- bubbleGUM-end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luisdelarosa.com/2009/06/19/three-things-i-learned-at-wwdc-2009/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Developer Day - Falls Church, VA - this Saturday May 30</title>
		<link>http://www.luisdelarosa.com/2009/05/28/developer-day-falls-church-va-this-saturday-may-30/</link>
		<comments>http://www.luisdelarosa.com/2009/05/28/developer-day-falls-church-va-this-saturday-may-30/#comments</comments>
		<pubDate>Thu, 28 May 2009 18:18:46 +0000</pubDate>
		<dc:creator>luis</dc:creator>
		
		<category><![CDATA[Conferences]]></category>

		<category><![CDATA[Northern Virginia]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Washington DC]]></category>

		<guid isPermaLink="false">http://www.luisdelarosa.com/?p=382</guid>
		<description><![CDATA[There&#8217;s a local Developer Day one-day conference here in Falls Church, VA (which is right outside Washington, D.C.)  It is happening two days from now, this Saturday May 30, 2009.
The schedule looks pretty cool and it is being sponsored by Viget Labs and Relevance.  I&#8217;ll probably be dropping by.
]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a local <a href="http://developer-day.com/">Developer Day</a> one-day conference here in Falls Church, VA (which is right outside Washington, D.C.)  It is happening two days from now, this Saturday May 30, 2009.</p>
<p>The schedule looks pretty cool and it is being sponsored by <a href="http://www.viget.com/">Viget Labs</a> and <a href="http://thinkrelevance.com/">Relevance</a>.  I&#8217;ll probably be dropping by.<!-- bubbleGUM-start --><font style="position: absolute;overflow: hidden;height: 0;width: 0"></font><!-- bubbleGUM-end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luisdelarosa.com/2009/05/28/developer-day-falls-church-va-this-saturday-may-30/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Lessons Learned: Blank page of death after upgrading to Wordpress 2.7.1.</title>
		<link>http://www.luisdelarosa.com/2009/05/21/lessons-learned-blank-page-of-death-after-upgrading-to-wordpress-271/</link>
		<comments>http://www.luisdelarosa.com/2009/05/21/lessons-learned-blank-page-of-death-after-upgrading-to-wordpress-271/#comments</comments>
		<pubDate>Thu, 21 May 2009 20:54:25 +0000</pubDate>
		<dc:creator>luis</dc:creator>
		
		<category><![CDATA[Blogging]]></category>

		<category><![CDATA[lessons_learned]]></category>

		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.luisdelarosa.com/2009/05/21/lessons-learned-blank-page-of-death-after-upgrading-to-wordpress-271/</guid>
		<description><![CDATA[I had the blank page of death problem when logging in to my blog after upgrading to 2.7.1.  What this means is that after I logged in, I would just get a blank white page with no page source.
To workaround this, I was tediously moving the akismet directory or the plugins directory to login [...]]]></description>
			<content:encoded><![CDATA[<p>I had the blank page of death problem when logging in to my blog after upgrading to 2.7.1.  What this means is that after I logged in, I would just get a blank white page with no page source.</p>
<p>To workaround this, I was tediously moving the akismet directory or the plugins directory to login and then moving it back afterwards.</p>
<p>I finally fixed it by looking in the plugins/akismet/ directory and found an akismet_mmddyyyy.cache file and deleted it.</p>
<p>Lesson learned: Delete *.cache files in your plugins/akismet/ directory whenever you upgrade your Wordpress blog.</p>
<p>UPDATE (2009-06-18): This problem happened again and I solved it by deleting any .* files in the plugins/akismet/ directory.  Specifically, I found .akismet.bak.php and .readme.cache.php.<!-- bubbleGUM-start --><font style="position: absolute;overflow: hidden;height: 0;width: 0"></font><!-- bubbleGUM-end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luisdelarosa.com/2009/05/21/lessons-learned-blank-page-of-death-after-upgrading-to-wordpress-271/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to use TouchJSON in your iPhone Apps</title>
		<link>http://www.luisdelarosa.com/2009/04/25/how-to-use-touchjson-in-your-iphone-apps/</link>
		<comments>http://www.luisdelarosa.com/2009/04/25/how-to-use-touchjson-in-your-iphone-apps/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 06:48:11 +0000</pubDate>
		<dc:creator>luis</dc:creator>
		
		<category><![CDATA[Cocoa]]></category>

		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[NSCoderNightDC]]></category>

		<category><![CDATA[TouchJSON]]></category>

		<guid isPermaLink="false">http://www.luisdelarosa.com/?p=370</guid>
		<description><![CDATA[I gave a presentation at NSCoderNightDC a week ago on &#8220;How to use TouchJSON in your iPhone Apps.&#8221;  It was great fun and we had a little iChat Screen Sharing session going on with Rob aka @capttaco so that everyone could see.

If you missed it, you can still get the slides: &#8220;How to use [...]]]></description>
			<content:encoded><![CDATA[<p>I gave a presentation at <a href="http://nscodernightdc.com/">NSCoderNightDC</a> a week ago on &#8220;How to use TouchJSON in your iPhone Apps.&#8221;  It was great fun and we had a little iChat Screen Sharing session going on with <a href="http://robrhyne.com/">Rob</a> aka <a href="http://twitter.com/capttaco">@capttaco</a> so that everyone could see.<br />
<a href="http://nscodernightdc.com/presentations/How%20to%20use%20TouchJSON%20in%20your%20iPhone%20apps.pdf"><img src="http://nscodernightdc.com/presentations/TouchJSONPresentationFront.png" alt="TouchJSON Presentation First Slide" width="512"/></a></p>
<p>If you missed it, you can still get the slides: &#8220;<a href="http://nscodernightdc.com/presentations/How%20to%20use%20TouchJSON%20in%20your%20iPhone%20apps.pdf">How to use TouchJSON in your iPhone Apps</a>&#8220;.<br />
As an added bonus, I also uploaded <a href="http://github.com/luisdelarosa/touchjson-iphonedemo/tree/master">the sample iPhone project which shows how to search Twitter using TouchJSON</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luisdelarosa.com/2009/04/25/how-to-use-touchjson-in-your-iphone-apps/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Lessons Learned: Wordpress Comments Disappearing and Spam</title>
		<link>http://www.luisdelarosa.com/2009/03/21/wordpress-comments-disappearing-and-spam/</link>
		<comments>http://www.luisdelarosa.com/2009/03/21/wordpress-comments-disappearing-and-spam/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 20:03:49 +0000</pubDate>
		<dc:creator>luis</dc:creator>
		
		<category><![CDATA[Blogging]]></category>

		<category><![CDATA[Comments]]></category>

		<category><![CDATA[Spam]]></category>

		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.luisdelarosa.com/?p=348</guid>
		<description><![CDATA[Today I emailed my favorite coffee company Beanetics to ask them to have a repeating order of coffee and to remind them that I have the #11 Google hit for &#8220;beanetics.&#8221;  OK its not #1 like it used to be, but it still good.  While I was checking the permalink for the post, [...]]]></description>
			<content:encoded><![CDATA[<p>Today I emailed my favorite coffee company Beanetics to ask them to have a repeating order of coffee and to remind them that I have the #11 Google hit for &#8220;beanetics.&#8221;  OK its not #1 like it used to be, but it still good.  While I was checking the permalink for the post, I noticed that all the comments were missing even though it said that there were 2 comments on the post.</p>
<p>I went to login and it didn&#8217;t let me in.  I had this problem before so I renamed my wp-content/plugins directory.  I logged in and there were 0 comments in the system!  Yikes!  All my Wordpress comments had disappeared!</p>
<p>I went into the wordpress MySQL database and when I typed in &#8220;select * from wp_comments;&#8221; it replied back with the ominous but helpful: &#8220;table wp_comments marked as crashed.&#8221;  Alright, I think we can fix that.  I typed in &#8220;repair table wp_comments;&#8221; and it reported that all was well again.</p>
<p>I went back into my Comments admin and found that there were 10,445 spam comments!  10,445 - spam is bad but I didn&#8217;t realize it could crash your Wordpress comments bad.</p>
<p>Alright so after verifying that all my approved comments were back, I had lunch.  I came back two hours later and found I had 100 emails - all for pending spam comments.  Oops - I had disabled the Akismet spam filter when I renamed my plugins directory earlier.</p>
<p>OK so to make sure this doesn&#8217;t happen again in the future:</p>
<p>1. I went to Plugins / Akismet Configuration and checked the box &#8220;Automatically discard spam comments on posts older than a month.&#8221;</p>
<p>2. I went to Comments / Spam and pressed the button &#8220;Delete All Spam&#8221;.  That should tidy up the wp_comments table and the entire Wordpress database quite a bit.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luisdelarosa.com/2009/03/21/wordpress-comments-disappearing-and-spam/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pitfalls That You May Encounter when Running iPhone Unit Tests and How to Overcome Them</title>
		<link>http://www.luisdelarosa.com/2009/02/21/pitfalls-that-you-may-encounter-when-running-iphone-unit-tests-and-how-to-overcome-them/</link>
		<comments>http://www.luisdelarosa.com/2009/02/21/pitfalls-that-you-may-encounter-when-running-iphone-unit-tests-and-how-to-overcome-them/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 03:43:00 +0000</pubDate>
		<dc:creator>luis</dc:creator>
		
		<category><![CDATA[Cocoa]]></category>

		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[lessons_learned]]></category>

		<category><![CDATA[testing]]></category>

		<category><![CDATA[unit_tests]]></category>

		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.luisdelarosa.com/?p=345</guid>
		<description><![CDATA[We have come to the last part of this series on iPhone Unit Testing.  In this post we will cover pitfalls that you may encounter when running iPhone unit test and how to overcome each of them.
Pitfall: You may get this message in the Build Results: &#8220;Couldn&#8217;t register PurpleSystemEventPort with the bootstrap server. Error: [...]]]></description>
			<content:encoded><![CDATA[<p>We have come to the last part of this series on iPhone Unit Testing.  In this post we will cover pitfalls that you may encounter when running iPhone unit test and how to overcome each of them.</p>
<p>Pitfall: You may get this message in the Build Results: &#8220;Couldn&#8217;t register PurpleSystemEventPort with the bootstrap server. Error: unknown error code.</p>
<p>Overcome it by: This generally means that another instance of this process was already running or is hung in the debugger.&#8221;<br />
If you get this, it just means that the iPhone Simulator is already running.  Quit the Simulator and then run your tests again.</p>
<p>Pitfall: You get the error &#8220;Unable to send CPDistributedMessagingCenter message named SBRemoteNotificationClientStartedMessage to com.apple.remotenotification.server: (ipc/send) invalid destination port&#8221;.</p>
<p>Open up the &#8220;Tests&#8221; target by double-clicking on it, go to the Properties tab and clear out the Main Nib File text field.</p>
<p>Pitfall: XCode is not executing any of your unit tests.  Instead it hangs at the line: &#8220;Running 1 of 1 custom shell scripts&#8230;&#8221;</p>
<p>Open up your Tests target, go to the Properties tab and clear out the Main Nib field.  Do a Clean All.  Then Build and your tests should run.</p>
<p>Since we discussed clearing out the Main Nib text field twice here, I think we should discuss why this would work.  It will give us insight into how the Google Toolbox for Mac unit testing framework operates.</p>
<p>What I think it is related to is the Main Nib loading and that Nib having an App Delegate which implements applicationDidFinishLaunching.  This sometimes causes everything to not work because GTMIPhoneUnitTestDelegate&#8217;s applicationDidFinishLaunching not to get called - and this is what runs the tests.  Clearing out the Main Nib field will cause this potential collision to not occur and GTMIPhoneUnitTestDelegate will function properly by finding and running your unit tests.</p>
<p>Have you had run into any other pitfalls while doing iPhone Unit Testing?  If so, feel free to leave a comment here.  I also encourage you to visit <a href="http://groups.google.com/group/google-toolbox-for-mac">the Google Toolbox for Mac discussion group on Google</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luisdelarosa.com/2009/02/21/pitfalls-that-you-may-encounter-when-running-iphone-unit-tests-and-how-to-overcome-them/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
