<?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>Phodder Blog &#187; jeremy</title>
	<atom:link href="http://phodder.com/blog/author/jeremy/feed/" rel="self" type="application/rss+xml" />
	<link>http://phodder.com/blog</link>
	<description>All things iPhone Dev</description>
	<lastBuildDate>Wed, 17 Feb 2010 18:22:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Phodder is Looking for Help!</title>
		<link>http://phodder.com/blog/2010/02/17/phodder-is-looking-for-help/</link>
		<comments>http://phodder.com/blog/2010/02/17/phodder-is-looking-for-help/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 18:22:45 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://phodder.com/blog/?p=247</guid>
		<description><![CDATA[The following has been posted to the intranet for TAMU CS students.  It&#8217;s not just open to students, in case you know someone that&#8217;s interested.
Phodder, a consortium of passionate technologists, is seeking to hire two graduate students for part-time positions. We are a small development shop located centrally in College Station, and are focused on [...]]]></description>
			<content:encoded><![CDATA[<p>The following has been posted to the intranet for TAMU CS students.  It&#8217;s not just open to students, in case you know someone that&#8217;s interested.</p>
<blockquote><p>Phodder, a consortium of passionate technologists, is seeking to hire two graduate students for part-time positions. We are a small development shop located centrally in College Station, and are focused on making great iPhone experiences and groundbreaking social media applications. If you have experience with Python, Objective-C, C++, JavaScript or other development languages, we want to talk.</p>
<p>We have a great time solving very interesting and practical problems and offer very flexible work schedules. We ask for 14 &#8211; 24 hours of work per week, but are very flexible with class schedules. Short code samples showing your coding abilities are greatly appreciated.</p>
<p>Please send a brief statement of your experience and interests, as well as any applicable code samples, to jobs at phodder.com.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://phodder.com/blog/2010/02/17/phodder-is-looking-for-help/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone worm?!!  I call baloney.</title>
		<link>http://phodder.com/blog/2009/11/11/iphone-worm-i-call-baloney/</link>
		<comments>http://phodder.com/blog/2009/11/11/iphone-worm-i-call-baloney/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 14:52:23 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
				<category><![CDATA[Media Hype]]></category>
		<category><![CDATA[iPhone Security]]></category>

		<guid isPermaLink="false">http://phodder.com/blog/?p=168</guid>
		<description><![CDATA[I saw some news recently about an iPhone worm (more details here) making the rounds in Australia.  I have a brief response to those freaking out and making a big deal about this.  Ready for my quotable, official response?
It&#8217;s Complete and Utter NONSENSE!
No, really, let me explain.  This worm works against jailbroken phones ONLY.  What?  You [...]]]></description>
			<content:encoded><![CDATA[<p>I saw some news recently about an <a title="iPhone Worm" href="http://www.financialpost.com/story.html?id=2207465">iPhone worm </a>(<a title="Sophos writeup" href="http://www.sophos.com/blogs/gc/g/2009/11/08/iphone-worm-discovered-wallpaper-rick-astley-photo/">more details here</a>) making the rounds in Australia.  I have a brief response to those freaking out and making a big deal about this.  Ready for my quotable, official response?</p>
<blockquote><p><strong>It&#8217;s Complete and Utter NONSENSE!</strong></p></blockquote>
<p><strong><span style="font-weight: normal;">No, really, let me explain.  This worm works against jailbroken phones ONLY.  What?  You mean phones that have been compromised to begin with?  Yes.  In order to jailbreak a phone, you have to essentially hack into it. Also, this worm propagates by using the default SSH password set within SSH, an application that can be installed after jailbreaking.  It&#8217;s not using some massively gaping hole left in by Apple when they wrote the iPhone OS.  It attacks an application, added by a few individuals.  That&#8217;s all.</span></strong></p>
<p>Please understand, I&#8217;m not saying Apple is innocent of making stupid mistakes that lead to security vulnerabilities.  They do it all the time.  In this instance though, they didn&#8217;t.  This worm is a non-issue.</p>
<p>ps &#8211; On a geeky historical note, it&#8217;s method of propagation reminds me a little of the <a title="Morris Worm" href="http://en.wikipedia.org/wiki/Morris_worm">Morris Worm</a>.  I guess everything old really is new again.</p>
]]></content:encoded>
			<wfw:commentRss>http://phodder.com/blog/2009/11/11/iphone-worm-i-call-baloney/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Urban Airship and RESTful Puts with Python</title>
		<link>http://phodder.com/blog/2009/09/08/urban-airship-puts-with-python/</link>
		<comments>http://phodder.com/blog/2009/09/08/urban-airship-puts-with-python/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 16:57:03 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
				<category><![CDATA[iPhone creation]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[push]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[restful]]></category>

		<guid isPermaLink="false">http://phodder.com/blog/?p=89</guid>
		<description><![CDATA[This will be a quick post with a bit of code.  I wanted to share this since I had an awful time finding some working code snippets to communicate with Urban Airship to do Push notifications to Apple for  iPhones.
This code snippet will register a new device with Urban Airship that can then receive Push [...]]]></description>
			<content:encoded><![CDATA[<p>This will be a quick post with a bit of code.  I wanted to share this since I had an awful time finding some working code snippets to communicate with Urban Airship to do Push notifications to Apple for  iPhones.</p>
<p>This code snippet will register a new device with Urban Airship that can then receive Push notifications.</p>
<p><code> </code></p>
<p><code></p>
<pre>import urllib2
from simplejson import dumps as json_dumps

user   = UAPUSH_USER
passwd = UAPUSH_PASS
base_url = UAPUSH_BASE_URL

# push_payload = {
    # 'aps': { 'badge': 2 },
    # 'device_tokens': [ 'devToken01', 'devToken02', etc ]
    # }

def _http_request(url,payload,is_put=False):
    headers = {"Content-type": "application/json" }
    authinfo = urllib2.HTTPBasicAuthHandler()
    authinfo.add_password("API", url, user, passwd )
    opener = urllib2.build_opener(authinfo)
    req  = urllib2.Request(url, payload, headers)
    if is_put: req.get_method = lambda: 'PUT'
    data = opener.open(req)
    return data.read()

def register_device(dev_token, tags):
    # dev_token is a string of hex returned from
    #     registerForRemoteNotificationTypes:
    # tags is a list of string based tags
    content = {"tags": tags}
    url = "%sdevice_tokens/%s" % (base_url, dev_token)
    print _http_request(url, json_dumps(content), is_put=True)</pre>
<p></code></p>
<p>There&#8217;s nothing magical here.  I just found it a bit interesting to have an HTTP base authenticated PUT request to a restful service and figured I&#8217;d show how to tie these all together.</p>
]]></content:encoded>
			<wfw:commentRss>http://phodder.com/blog/2009/09/08/urban-airship-puts-with-python/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
