<?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>Peter Boctor</title>
	<atom:link href="http://peter.boctor.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://peter.boctor.net</link>
	<description>Thoughts of a new entrepreneur</description>
	<pubDate>Fri, 26 Feb 2010 23:07:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Searching for iPhone App Names</title>
		<link>http://peter.boctor.net/2010/02/26/searching-for-iphone-app-names/</link>
		<comments>http://peter.boctor.net/2010/02/26/searching-for-iphone-app-names/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 23:06:41 +0000</pubDate>
		<dc:creator>Peter Boctor</dc:creator>
		
		<category><![CDATA[Twitter]]></category>

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

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

		<guid isPermaLink="false">http://peter.boctor.net/?p=144</guid>
		<description><![CDATA[iPhone OS 3.0 introduced Spotlight Search: Flick to the left and you can search through the apps you have installed as well as other things like contacts, calendars events, emails, songs and notes.
For apps the iPhone OS will look at the app name that you see under it&#8217;s icon. So typing &#8216;bird&#8217; would find the [...]]]></description>
			<content:encoded><![CDATA[<p>iPhone OS 3.0 introduced <a href="http://www.apple.com/iphone/iphone-3gs/search.html">Spotlight Search</a>: Flick to the left and you can search through the apps you have installed as well as other things like contacts, calendars events, emails, songs and notes.</p>
<p>For apps the iPhone OS will look at the app name that you see under it&#8217;s icon. So typing &#8216;bird&#8217; would find the <a href="http://tr.im/PXcj">Birdfeed</a> app.</p>
<p>But the OS also looks at the name of the app as it appears in iTunes. <a href="http://tr.im/PXcj">Birdfeed&#8217;s</a> name in the app store is &#8220;Birdfeed - A very nice Twitter client&#8221;, which is why <a href="http://tr.im/PXcj">Birdfeed</a> shows up when you type &#8216;twitter&#8217;.</p>
<p><img src="http://peter.boctor.net/wp-content/uploads/2010/02/spotlight.png" alt="spotlight" title="spotlight" width="320" height="480" class="aligncenter size-full wp-image-145" /></p>
<p>When you download an app to your phone the .ipa file includes the actual app binary as well as an iTunesMetadata.plist file. This plist file contains the app&#8217;s name as it appears in iTunes.</p>
<p><a href="http://tr.im/PXcT">Tweetie</a> on the other hand doesn&#8217;t show up in the screen-shot above even though it is installed on the phone. <a href="http://tr.im/PXcT">Tweetie&#8217;s</a> name in the app store is &#8220;Tweetie 2&#8243; which doesn&#8217;t include the word &#8216;twitter&#8217;.</p>
<p style="text-align: center;"><a title="Follow us on Twitter" href="http://www.twitter.com/boctor"><img class="aligncenter" src="http://s.twimg.com/a/1253048135/images/business/follow/follow_twitter_button_c.png" alt="Follow us on Twitter" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://peter.boctor.net/2010/02/26/searching-for-iphone-app-names/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Troubleshooting A Wireless Network</title>
		<link>http://peter.boctor.net/2010/02/24/troubleshooting-a-wireless-network/</link>
		<comments>http://peter.boctor.net/2010/02/24/troubleshooting-a-wireless-network/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 22:15:48 +0000</pubDate>
		<dc:creator>Peter Boctor</dc:creator>
		
		<category><![CDATA[Mac OS X]]></category>

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

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

		<guid isPermaLink="false">http://peter.boctor.net/?p=138</guid>
		<description><![CDATA[I just finished helping a family member across the country with their wireless network setup. Neither the local ISP or Netgear technical support were able to help.
Problem: An iMac plugged directly to a Netegear router via Ethernet connected to the Internet just fine, but a wireless connection from a MacBook didn&#8217;t work.
First we figured out [...]]]></description>
			<content:encoded><![CDATA[<p>I just finished helping a family member across the country with their wireless network setup. Neither the local ISP or Netgear technical support were able to help.</p>
<p>Problem: An iMac plugged directly to a Netegear router via Ethernet connected to the Internet just fine, but a wireless connection from a MacBook didn&#8217;t work.</p>
<p>First we figured out that the router was a <a href="http://kb.netgear.com/app/products/model/a_id/2630">Netgear WPN824v3</a> and the devices we are trying to connect are an iMac, a MacBook and an iPhone.</p>
<p>The problem was that the MacBook was connected to the wireless network but wasn&#8217;t properly getting an IP address via DHCP.</p>
<p>We verified that plugging the Ethernet cable into the Macbook worked, so we knew that the Internet connection to the ISP worked fine, and the problem was only for wireless.</p>
<p>First we tried temporarily turning off all wireless security but that made no difference.</p>
<p>Next I found a simulation of the UI for that unit <a href="http://interface.netgear-forum.com/WPN824v2/">here</a>. This made it a lot easier to see what options were available for that router.</p>
<p>We changed the default password for the router and enabled Remote Management. Now I could log in to the router and see the router&#8217;s actual settings.</p>
<p>The first thing I noticed was that the Mode for the wireless network was set to &#8220;Auto 108Mbps&#8221;. Did this router support 802.11n? And did it work with the built-in Airport card? A couple of Google searches turned up no answer.</p>
<p>So next I decided to try to get things working with just 802.11g.<br />
First I set the Mode to &#8220;g and b&#8221; and set the Channel to &#8220;Auto&#8221;. That didn&#8217;t change anything. The MacBook could still connect to the wireless network, but not get an IP address.</p>
<p>Under Advanced/Wireless Settings I noticed an &#8220;108Mbps Settings&#8221; area. I checked &#8220;Disable Advanced 108Mbps Features&#8221; and un-checked &#8220;Enable eXtended Range(XR) Feature&#8221;</p>
<p>Success! The Macbook could now successfully get a DHCP IP address!</p>
<p>Before finishing, we made sure that the bottom of the router had a piece of paper with the router&#8217;s password and we disabled the router&#8217;s Remote Management feature and re-enabled the WPA2 password and re-verified that everything was still working as expected. We also made sure that the iPhone could also connect without any problems.</p>
<p>Happy Troubleshooting!</p>
<p style="text-align: center;"><a href="http://www.twitter.com/boctor" title="Follow us on Twitter"><img alt="Follow us on Twitter" src="http://s.twimg.com/a/1253048135/images/business/follow/follow_twitter_button_c.png" class="aligncenter"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://peter.boctor.net/2010/02/24/troubleshooting-a-wireless-network/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Exploring iPhone view hierarchies</title>
		<link>http://peter.boctor.net/2009/11/20/exploring-iphone-view-hierarchies/</link>
		<comments>http://peter.boctor.net/2009/11/20/exploring-iphone-view-hierarchies/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 05:44:45 +0000</pubDate>
		<dc:creator>Peter Boctor</dc:creator>
		
		<category><![CDATA[iPhoneDev]]></category>

		<guid isPermaLink="false">http://peter.boctor.net/?p=131</guid>
		<description><![CDATA[Sometimes it&#8217;s useful to quickly see all the subviews of an iPhone view.
Perhaps you&#8217;re debugging a problem in one of your views or trying to understand the inner workings of one of the built in views.
You can simply iterate over a view&#8217;s subviews, but then you won&#8217;t see subviews deeper than one level. You need [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes it&#8217;s useful to quickly see all the subviews of an iPhone view.</p>
<p>Perhaps you&#8217;re debugging a problem in one of your views or trying to understand the inner workings of one of the built in views.</p>
<p>You can simply iterate over a view&#8217;s subviews, but then you won&#8217;t see subviews deeper than one level. You need a method that recursively walks the hierarchy.</p>
<p>Luckily Apple has already done this with an undocumented <a href="http://ericasadun.com/iPhoneDocs312/interface_u_i_view%28_u_i_debugging%29.html">UIDebugging category on UIView</a> that makes this very easy: <strong>recursiveDescription</strong></p>
<p>At the gdb prompt in the Xcode debugger you can say:</p>
<p><code>p [[self view] recursiveDescription]</code></p>
<p>and instantly see a description of the entire view hierarchy.</p>
<p style="text-align: center;"><a href="http://www.twitter.com/boctor" title="Follow us on Twitter"><img alt="Follow us on Twitter" src="http://s.twimg.com/a/1253048135/images/business/follow/follow_twitter_button_c.png" class="aligncenter"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://peter.boctor.net/2009/11/20/exploring-iphone-view-hierarchies/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Removing Twitter followers</title>
		<link>http://peter.boctor.net/2009/09/28/removing-twitter-followers/</link>
		<comments>http://peter.boctor.net/2009/09/28/removing-twitter-followers/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 19:07:24 +0000</pubDate>
		<dc:creator>Peter Boctor</dc:creator>
		
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://peter.boctor.net/?p=108</guid>
		<description><![CDATA[Did you know that it&#8217;s possible to remove someone from your followers without blocking them?
Normally when you visit your list of followers these are the options available to you:

But after you protect your twitter account and mark it private, the options change to include the remove option:

Selecting &#8220;Remove&#8221; shows this alert and after you click [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Did you know that it&#8217;s possible to remove someone from your followers without blocking them?</p>
<p style="text-align: left;">Normally when you visit your list of <a href="http://twitter.com/followers">followers</a> these are the options available to you:</p>
<p style="text-align: left;"><img class="size-full wp-image-110 aligncenter" title="No Remove option" src="http://peter.boctor.net/wp-content/uploads/2009/09/remove_twitter_user_missing.png" alt="No Remove option" width="202" height="112" /><br />
But after you protect your twitter account and mark it private, the options change to include the remove option:</p>
<p style="text-align: left;"><img class="size-full wp-image-109  aligncenter" title="Remove a follower" src="http://peter.boctor.net/wp-content/uploads/2009/09/remove_twitter_user.png" alt="Remove a follower" width="202" height="134" /></p>
<p style="text-align: left;">Selecting &#8220;Remove&#8221; shows this alert and after you click OK, poof that user is no longer following you:</p>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-114" title="Confirm removing a follower" src="http://peter.boctor.net/wp-content/uploads/2009/09/confirm_remove_twitter_user.png" alt="Confirm removing a follower" width="490" height="148" /></p>
<p style="text-align: left;">This nifty option is also available from the API, though it is undocumented:</p>
<blockquote>
<p style="text-align: left;">curl -u user:password -d &#8221; http://twitter.com/friendships/destroy/59648642.xml</p>
</blockquote>
<p style="text-align: left;">Here is a patch to <a href="http://addictedtonew.com/about/">John Nunemaker&#8217;s</a> <a href="http://twitter.rubyforge.org/">Twitter gem</a> that adds this functionality:</p>
<blockquote>
<p style="text-align: left;">module Twitter<br />
&nbsp;&nbsp;class Base<br />
&nbsp;&nbsp;&nbsp;&nbsp;def friendship_remove(id)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;perform_post(&#8221;/friendships/remove/#{id}.xml&#8221;)<br />
&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;end</p></blockquote>
<p style="text-align: left;">And here is a quick Ruby Script that removes all the followers of a user:</p>
<blockquote>
<p style="text-align: left;">#!/usr/bin/ruby -rubygems<br />
require &#8216;twitter&#8217;</p>
<p>module Twitter<br />
&nbsp;&nbsp;class Base<br />
&nbsp;&nbsp;&nbsp;&nbsp;def friendship_remove(id)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;perform_post(&#8221;/friendships/remove/#{id}.xml&#8221;)<br />
&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;end</p>
<p>auth = Twitter::HTTPAuth.new(&#8217;user&#8217;, &#8216;password&#8217;)<br />
twitter = Twitter::Base.new(auth)</p>
<p>twitter.follower_ids.each do |follower_id|<br />
&nbsp;&nbsp;begin<br />
&nbsp;&nbsp;&nbsp;&nbsp;twitter.friendship_remove(follower_id)<br />
&nbsp;&nbsp;rescue =&gt; err<br />
&nbsp;&nbsp;&nbsp;&nbsp;puts &#8220;#{err} for follower #{follower_id}&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;next<br />
&nbsp;&nbsp;end<br />
end</p></blockquote>
<p style="text-align: center;"><a href="http://www.twitter.com/boctor" title="Follow us on Twitter"><img alt="Follow us on Twitter" src="http://s.twimg.com/a/1253048135/images/business/follow/follow_twitter_button_c.png" class="aligncenter"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://peter.boctor.net/2009/09/28/removing-twitter-followers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Twitter now supports @ symbol in URLs</title>
		<link>http://peter.boctor.net/2009/09/17/twitter-now-supports-symbol-in-urls/</link>
		<comments>http://peter.boctor.net/2009/09/17/twitter-now-supports-symbol-in-urls/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 00:22:13 +0000</pubDate>
		<dc:creator>Peter Boctor</dc:creator>
		
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://peter.boctor.net/?p=99</guid>
		<description><![CDATA[It looks like Twitter is making lots of little changes on their site.
They&#8217;ve added new colorful default profile images,  rolled out some design tweaks and now they allow the @ symbol in URLs.
Previously if you tried twitter.com/@boctor or twitter.com/@tweetslounge you&#8217;d get an error. But now that link works just fine.
Handy for those times you&#8217;re copying [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">It looks like Twitter is making lots of little changes on their site.</p>
<p style="text-align: left;">They&#8217;ve added <a href="http://peter.boctor.net/2009/09/15/new-twitter-profile-images/">new colorful default profile images</a>,  <a href="http://www.techcrunch.com/2009/09/17/twitter-rolls-out-some-design-tweaks-for-web-app/">rolled out some design tweaks</a> and now they allow the @ symbol in URLs.</p>
<p style="text-align: left;">Previously if you tried <a href="http://twitter.com/@boctor">twitter.com/@boctor</a> or <a href="http://twitter.com/@tweetslounge">twitter.com/@tweetslounge</a> you&#8217;d get an error. But now that link works just fine.</p>
<p style="text-align: left;">Handy for those times you&#8217;re copying and pasting and accidentally keep the  symbol</p>
<p style="text-align: left;">A welcome change from the brown!</p>
<p style="text-align: center;"><a title="Follow us on Twitter" href="http://www.twitter.com/boctor"><img class="aligncenter" src="http://s.twimg.com/a/1253048135/images/business/follow/follow_twitter_button_c.png" alt="Follow us on Twitter" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://peter.boctor.net/2009/09/17/twitter-now-supports-symbol-in-urls/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.803 seconds -->
<!-- Cached page generated by WP-Super-Cache on 2010-03-10 18:41:24 -->
