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

<channel>
	<title>Tech Experiment</title>
	<atom:link href="http://www.techexperiment.com/rss2" rel="self" type="application/rss+xml" />
	<link>http://www.techexperiment.com</link>
	<description></description>
	<pubDate>Sun, 12 Oct 2008 17:52:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Yahoo! Launches Web Analytics</title>
		<link>http://www.techexperiment.com/2008/10/12/yahoo-launches-web-analytics/</link>
		<comments>http://www.techexperiment.com/2008/10/12/yahoo-launches-web-analytics/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 17:00:42 +0000</pubDate>
		<dc:creator>Jay Signorello</dc:creator>
		
		<category><![CDATA[Web Services]]></category>

		<category><![CDATA[web analytics]]></category>

		<category><![CDATA[yahoo web analytics]]></category>

		<guid isPermaLink="false">http://www.techexperiment.com/?p=67</guid>
		<description><![CDATA[Yahoo! is launching a &#8220;web analytics&#8221; service on a limited basis starting this week, as reported by Search Engine Land. The new service (currently in beta and available to only a select handful of advertisers and third party application developers) is apparently the result of Yahoo&#8217;s acquisition of IndexTools earlier this year.
Jitendra Kavathekar, Yahoo&#8217;s VP [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://web.analytics.yahoo.com/" target="_blank"><img class="alignright" title="Yahoo Web Analytics" src="http://l.yimg.com/a/i/us/webanalytics/images/ywa-top-logo.jpg" border="0" alt="" width="316" height="31" /></a>Yahoo! is launching a &#8220;web analytics&#8221; service on a limited basis starting this week, as reported by <a href="http://searchengineland.com" target="_blank">Search Engine Land</a>. The new service (currently in beta and available to only a select handful of advertisers and third party application developers) is apparently the result of Yahoo&#8217;s acquisition of IndexTools earlier this year.</p>
<p>Jitendra Kavathekar, Yahoo&#8217;s VP of Web Analytics, said that the next &#8220;big deployment&#8221; will be for Yahoo&#8217;s Small Business service users, and that the service will continue to be rolled out this year and into 2009.</p>
<p>Best of all&#8230;the service will be free! Really nice to see some more competition for Google in this space.</p>
<p>Check out the Web Analytics FAQ, and then read the article at Search Engine Land (both links below).</p>
<p><a href="http://web.analytics.yahoo.com/faqs.php" target="_blank">Yahoo! Web Analytics FAQ</a><br />
<a href="http://searchengineland.com/yahoo-launches-web-analytics-14988.php" target="_blank">Search Engine Land Article: Yahoo Launches Web Analytics</a></p>
<p>For future updates, sign-up on <a href="http://web.analytics.yahoo.com/" target="_blank">Yahoo&#8217;s Web Analytics homepage</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techexperiment.com/2008/10/12/yahoo-launches-web-analytics/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Recycled Circuit Boards as Home and Office Decor</title>
		<link>http://www.techexperiment.com/2008/10/04/recycled-circuit-boards-as-home-and-office-decor/</link>
		<comments>http://www.techexperiment.com/2008/10/04/recycled-circuit-boards-as-home-and-office-decor/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 21:11:21 +0000</pubDate>
		<dc:creator>Jay Signorello</dc:creator>
		
		<category><![CDATA[Geek Products]]></category>

		<category><![CDATA[geekery products]]></category>

		<category><![CDATA[geeky home decor]]></category>

		<category><![CDATA[recycled circuit boards]]></category>

		<category><![CDATA[techy decor]]></category>

		<guid isPermaLink="false">http://www.techexperiment.com/?p=55</guid>
		<description><![CDATA[While browsing Flickr the other night, I came across Debby Arem&#8217;s photo stream, which included some amazing and unique decor creations made out of recycled circuit boards.
I&#8217;m really digging some of these designs, not to mention being totally impressed with how she was able to incorporate the circuit boards into so many different areas. I [...]]]></description>
			<content:encoded><![CDATA[<p>While browsing Flickr the other night, I came across <a href="http://www.flickr.com/photos/debbyaremdesigns" target="_blank">Debby Arem&#8217;s photo stream</a>, which included some amazing and unique decor creations made out of recycled circuit boards.</p>
<p>I&#8217;m really digging some of these designs, not to mention being totally impressed with how she was able to incorporate the circuit boards into so many different areas. I have to admit, they make my circuit board key chain look pretty weak.</p>
<p>This is just a sample of her Three Ring Circuits (3RC) line, enjoy :).</p>
<div style="text-align: center;">
<p><a href="http://www.flickr.com/photos/debbyaremdesigns/2887536175/" target="_blank"><img title="Pencil Box" src="http://www.techexperiment.com/wp-content/files/2887536175_0afd271a71.jpg" alt="" width="375" height="500" /></a></p>
<p><a href="http://www.flickr.com/photos/debbyaremdesigns/2751148260/" target="_blank"><img title="Pencil Holder" src="http://www.techexperiment.com/wp-content/files/2751148260_5578f3a578.jpg" alt="" width="375" height="500" /></a></p>
<p><a href="http://www.flickr.com/photos/debbyaremdesigns/2887535735/" target="_blank"><img title="Bookends" src="http://www.techexperiment.com/wp-content/files/2887535735_275b822e03.jpg" alt="" width="500" height="375" /></a></p>
<p><a href="http://www.flickr.com/photos/debbyaremdesigns/2888370956/" target="_blank"><img title="Paper Weight" src="http://www.techexperiment.com/wp-content/files/2888370956_283b884f69.jpg" alt="" width="500" height="375" /></a></p>
<p><a href="http://www.flickr.com/photos/debbyaremdesigns/2131604118/" target="_blank"><img title="Picture Frame" src="http://www.techexperiment.com/wp-content/files/2131604118_e73a02b43a.jpg" alt="" width="375" height="500" /></a></p>
<p><a href="http://www.flickr.com/photos/debbyaremdesigns/2131555606/" target="_blank"><img title="Clock" src="http://www.techexperiment.com/wp-content/files/2131555606_53a0ea4f5a.jpg" alt="" width="500" height="375" /></a></p>
<p><a href="http://www.flickr.com/photos/debbyaremdesigns/2133071271/" target="_blank"><img title="Bookmarks" src="http://www.techexperiment.com/wp-content/files/2133071271_12c705d04e.jpg" alt="" width="500" height="479" /></a></div>
<p>To learn more about Debby&#8217;s entire  Three Ring Circuits (3RC) line, please visit the links below:</p>
<ul>
<li><a href="http://www.debbyarem.com/" target="_blank">Debby Arem Designs Online Store</a></li>
<li><a href="http://www.etsy.com/shop.php?user_id=5369666" target="_blank">Esty.com</a></li>
<li><a href="http://www.debbyarem.com/about.php?id=history" target="_blank">About Debby Arem</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.techexperiment.com/2008/10/04/recycled-circuit-boards-as-home-and-office-decor/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How Amazon S3 and EC2 Can Cut Your Hosting Bills in Half</title>
		<link>http://www.techexperiment.com/2008/09/24/how-amazon-s3-and-ec2-can-cut-your-hosting-bills-in-half/</link>
		<comments>http://www.techexperiment.com/2008/09/24/how-amazon-s3-and-ec2-can-cut-your-hosting-bills-in-half/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 02:25:00 +0000</pubDate>
		<dc:creator>Jay Signorello</dc:creator>
		
		<category><![CDATA[Amazon Web Services]]></category>

		<category><![CDATA[amazon ec2]]></category>

		<category><![CDATA[amazon s3]]></category>

		<category><![CDATA[Cloud computing]]></category>

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

		<guid isPermaLink="false">http://www.techexperiment.com/?p=39</guid>
		<description><![CDATA[When I first interviewed for Heavy, Scott Penberthy told me he wanted to make Heavy.com and future products be able to run in the local Starbucks.
 What exactly did he mean by that? The simple answer I would soon learn was  that he wanted to reduce our infrastructure overhead drastically. Heavy, like many popular [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://aws.amazon.com"><img class="alignright" title="Amazon Web Services" src="http://awsmedia.s3.amazonaws.com/logo_aws.gif" alt="" width="164" height="60" /></a>When I first interviewed for <a href="http://www.heavy.com" target="_blank">Heavy</a>, <a href="http://scottpenberthy.com" target="_blank">Scott Penberthy</a> told me he wanted to make <a href="http://www.heavy.com" target="_blank">Heavy.com</a> and future products be able to run in the local Starbucks.</p>
<p><!-- 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } --> What exactly did he mean by that? The simple answer I would soon learn was  that <strong>he wanted to reduce our infrastructure overhead drastically</strong>. Heavy, like many popular online destinations, have hefty hosting fees (Storage + Bandwidth + Monthly Server Rentals). When I found out what the current infrastructure costs were, I almost died. Heavy serves a ton of videos, so naturally it costs a boat load of money to keep this puppy running and that&#8217;s where AWS comes in. AWS is just so cheap compared to Rackspace&#8230;how could Heavy ignore the possible cost savings (<a href="http://aws.amazon.com/ec2/#pricing" target="_blank">EC2 Pricing</a> / <a href="http://aws.amazon.com/s3/#pricing" target="_blank">S3 Pricing</a>).</p>
<p>I&#8217;m happy to report over the past year, Heavy has made some serious progress with Amazon Web Services. The development team is really amazing and I&#8217;m proud to be apart of it.</p>
<p>I&#8217;m not going to go into anymore details, because Scott made a really amazing write up about how we reduced storage and bandwidth fees drastically and made Rackspace shit in their pants once they realized what we were doing.</p>
<p><strong><a href="http://scottpenberthy.com/2008/09/24/amazon-aws-vs-rackspace-and-akamai/" target="_blank">Amazon AWS vs. Rackspace and Akamai</a></strong></p>
<p>In addition to saving money, the team created a suit of tools for AWS, a control panel for administrating EC2 Instances, as well as built an entire product on top of the EC2 cloud.</p>
<p><a href="http://www.mikebrittain.com/blog/" target="_blank">Mike Brittain</a> also posted an excellent article explaining <strong><a href="http://www.mikebrittain.com/blog/2008/07/19/web-hosting-on-ec2/" target="_blank">How We Built a Web Hosting Infrastructure on EC2</a></strong>.</p>
<p>I recommend reading both articles, especially if you plan on using AWS in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techexperiment.com/2008/09/24/how-amazon-s3-and-ec2-can-cut-your-hosting-bills-in-half/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Python Introduction Videos</title>
		<link>http://www.techexperiment.com/2008/09/08/python-introduction-videos/</link>
		<comments>http://www.techexperiment.com/2008/09/08/python-introduction-videos/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 12:34:50 +0000</pubDate>
		<dc:creator>Jay Signorello</dc:creator>
		
		<category><![CDATA[Python]]></category>

		<category><![CDATA[introduction to python]]></category>

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

		<guid isPermaLink="false">http://www.techexperiment.com/?p=30</guid>
		<description><![CDATA[Advanced Python (more about the inner workings of python and not programming tactics), Google TechTalk by Thomas Wouters 



This talk aims to enlighten programmers new to Python about these fundamentals, the language mechanics that flow from them and how to effectively put those to use. Among the topics covered are duck-typing, interfaces, descriptors, decorators, metaclasses, [...]]]></description>
			<content:encoded><![CDATA[<p>Advanced Python (more about the inner workings of python and not programming tactics), Google TechTalk by Thomas Wouters </p>
<div style="text-align: center;">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/E_kZDvwofHY&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/E_kZDvwofHY&amp;hl=en&amp;fs=1" allowfullscreen="true"></embed></object>
</div>
<blockquote><p>This talk aims to enlighten programmers new to Python about these fundamentals, the language mechanics that flow from them and how to effectively put those to use. Among the topics covered are duck-typing, interfaces, descriptors, decorators, metaclasses, reference-counting and the cyclic-garbage collector, the divide between C/C++ data and Python objects and the CPython implementation in general.</p></blockquote>
<p>As an added bonus, I found this funny python introduction video. It might just make you LOL.</p>
<div style="text-align: center;"><embed id="VideoPlayback" src="http://video.google.com/googleplayer.swf?docid=9023849479319414382&#038;hl=en&#038;fs=true" style="width:400px;height:326px" allowFullScreen="true" allowScriptAccess="always" type="application/x-shockwave-flash"></embed></div>
]]></content:encoded>
			<wfw:commentRss>http://www.techexperiment.com/2008/09/08/python-introduction-videos/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Creating Static Methods in Python</title>
		<link>http://www.techexperiment.com/2008/08/21/creating-static-methods-in-python/</link>
		<comments>http://www.techexperiment.com/2008/08/21/creating-static-methods-in-python/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 13:22:59 +0000</pubDate>
		<dc:creator>Jay Signorello</dc:creator>
		
		<category><![CDATA[Python]]></category>

		<category><![CDATA[static methods]]></category>

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

		<guid isPermaLink="false">http://www.techexperiment.com/?p=24</guid>
		<description><![CDATA[This is a short introductory guide to creating static methods. Static methods, though not used entirely that often, can be a very useful tool. I personally get the most use out of them when organizing my code.
Python&#8217;s static methods have a similar implementation as Java &#38; C++. Static methods were not introduced into Python until [...]]]></description>
			<content:encoded><![CDATA[<p>This is a short introductory guide to creating static methods. Static methods, though not used entirely that often, can be a very useful tool. I personally get the most use out of them when organizing my code.</p>
<p>Python&#8217;s static methods have a similar implementation as Java &amp; C++. Static methods were not introduced into Python until version 2.2</p>
<p><strong>Example of version 2.2 and higher implementation:</strong></p>
<pre><code>
&gt;&gt;&gt; class Foo:
...     def bar(arg):
...         Foo.arg = arg
...     bar = staticmethod(bar)
...
&gt;&gt;&gt; Foo.bar('Hello World')
&gt;&gt;&gt; Foo.arg
'Hello World'
&gt;&gt;&gt; Foo().bar('Hello')
&gt;&gt;&gt; Foo.arg
'Hello'
</code></pre>
<p>Static methods can be called either on the class (such as Foo.bar()) or on an instance (such as Foo().bar()). The instance is ignored except for its class.</p>
<p>In version 2.4, function decorator syntax was added, which allows another way to define a static method. If you are using 2.4 or above, this is the recommended way of creating a static method.</p>
<p><strong>Example of version 2.4 and higher implementation:</strong></p>
<pre><code>
&gt;&gt;&gt; class Foo:
...     @staticmethod
...     def bar(arg):
...         Foo.arg = arg
...
&gt;&gt;&gt; Foo.bar('Hello World')
&gt;&gt;&gt; Foo.arg
'Hello World'
&gt;&gt;&gt; Foo().bar('Hello')
&gt;&gt;&gt; Foo.arg
'Hello'
</code></pre>
<p>If you are looking to do more advanced static methods, look into using classmethod instead of staticmethod. One of the differences between the two is that class method receives the class as implicit first argument,   just like an instance method receives the instance. For further reading on class method, refer to the <a href="http://docs.python.org/lib/built-in-funcs.html">built in functions page</a>. If anyone is interested in seeing example of class method in use, let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techexperiment.com/2008/08/21/creating-static-methods-in-python/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Does a Function Like isset() Exist in Python?</title>
		<link>http://www.techexperiment.com/2008/08/19/does-a-function-like-isset-exist-in-python/</link>
		<comments>http://www.techexperiment.com/2008/08/19/does-a-function-like-isset-exist-in-python/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 12:59:36 +0000</pubDate>
		<dc:creator>Jay Signorello</dc:creator>
		
		<category><![CDATA[Python]]></category>

		<category><![CDATA[best pratices]]></category>

		<guid isPermaLink="false">http://www.techexperiment.com/?p=23</guid>
		<description><![CDATA[The answer is no.
One way to see if a variable exists in the namespace is by catching exceptions when trying to access the variable. Here is an example:

try:
    if foo:
        # variable is set, do something
        pass
except NameError:
 [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The answer is no.</strong></p>
<p>One way to see if a variable exists in the namespace is by catching exceptions when trying to access the variable. Here is an example:</p>
<pre><code>
try:
    if foo:
        # variable is set, do something
        pass
except NameError:
    # variable not set, do something
    pass
</code></pre>
<p><strong>Avoid code like this were ever possible.</strong> This is not a recommended best practice. If you need variables that you don&#8217;t know the name of, trying using a dictionary (hash table) instead. They are made for that exact purpose.</p>
<p><strong>Example of Best Practices</strong></p>
<pre><code>
&gt;&gt;&gt; unknown_vars = {}
&gt;&gt;&gt; unknown_vars['foo'] = 2323
&gt;&gt;&gt; 'foo' in unknown_vars
True
&gt;&gt;&gt; 'bar' in unknown_vars
False
</code></pre>
<p><strong>OR</strong> checking against globals (Thanks to bsdemon for this tip)</p>
<pre><code>
&gt;&gt;&gt; foo = 2323
&gt;&gt;&gt; 'foo' in globals()
True
&gt;&gt;&gt; 'bar' in globals()
False
</code></pre>
<p><strong>OR</strong> checking against locals (Thanks to bsdemon for this tip)</p>
<pre><code>
&gt;&gt;&gt; def test():
...     a = 12
...     if 'a' in locals():
...             return 'OK'
...     else:
...             return 'SORRY'
...
&gt;&gt;&gt; test()
'OK'
</code></pre>
<p><strong>UPDATED:</strong> My first gut reaction was to quick make a function to handle checking against globals, but as <a href="http://braintrace.ru/">bsdemon</a> pointed out in his second comment, you won&#8217;t be able to use the function to check local variables. Thank you again for catching that mistake.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techexperiment.com/2008/08/19/does-a-function-like-isset-exist-in-python/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Android Maybe Slow To Market, But This Is Only The Beginning.</title>
		<link>http://www.techexperiment.com/2008/08/15/android-slow-to-market-but-is-only-the-beginning/</link>
		<comments>http://www.techexperiment.com/2008/08/15/android-slow-to-market-but-is-only-the-beginning/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 17:03:28 +0000</pubDate>
		<dc:creator>Jay Signorello</dc:creator>
		
		<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://www.techexperiment.com/?p=21</guid>
		<description><![CDATA[While checking out Tech Crunch this morning, came across an interesting article, which I just so happen to disagree with. The article was titled T-Mobile Is Dreaming Of Android Riches. And It Might Have To Keep Dreaming. Naturally, like most articles on Tech Crunch, the piece was well written and though out, but I believe [...]]]></description>
			<content:encoded><![CDATA[<p>While checking out <a href="http://www.techcrunch.com">Tech Crunch</a> this morning, came across an interesting article, which I just so happen to disagree with. The article was titled <a href="http://www.techcrunch.com/2008/08/15/t-mobile-is-dreaming-of-android-riches/">T-Mobile Is Dreaming Of Android Riches. And It Might Have To Keep Dreaming</a>. Naturally, like most articles on Tech Crunch, the piece was well written and though out, but I believe they missed something.</p>
<p>No one can deny that the excitement around the Android platform has dwindled down to nothing (No thanks to Google and the Open Handset Alliance), but that doesn&#8217;t mean in the long run, Android will be a viable competitor to Apple.  History has shown us over and over again, that executives have ignored new technologies, because of a lack of understanding and/or only concentrating on what&#8217;s hot.</p>
<p>My prediction for Android is this. A wave of new phones will finally start coming out with Android installed. These phones will be slightly cheaper or have features that the iPhone lacks (such as a physical keyword), which will cause a decent percentage of people to buy these new phones instead of the iPhone. Plus, you know mobile companies like T-Mobile are going to push consumers to buy their phones instead of Apple, duh.</p>
<p>Jump ahead a year or so and people&#8217;s awareness of Android will start coming around. Companies who ignore the current noise and have apps on the market for Android and will enjoy the first big profits. Naturally everyone else will jump on the bandwagon once they see money is being made.</p>
<p>In my opinion, the only real problem for Android is the hardware that the platform sits on. If the hardware is not up to par with Apples iPhone, Apple will win out. People will dish out money for an alternative to the iPhone, but it has to have similar or better hardware specs, end of story. Imagine if this new T-Mobile phone comes out without the capability or hard drive space for music or video&#8217;s, shit who cares about what platform it&#8217;s running then. (hmmm&#8230;kind of reminds me of the wars between Apples and PC&#8217;s which is till going on today.)</p>
<p>Tech Crunch is right in saying they should keep dreaming, but only if mobile companies fail to provide the adequate hardware specs. The Android platform itself may take longer to become mainstream, but over time, consumer demand for applications will be there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techexperiment.com/2008/08/15/android-slow-to-market-but-is-only-the-beginning/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Apple iPhone SDK Out in the Wild!</title>
		<link>http://www.techexperiment.com/2008/03/08/apple-iphone-sdk-out-in-the-wild/</link>
		<comments>http://www.techexperiment.com/2008/03/08/apple-iphone-sdk-out-in-the-wild/#comments</comments>
		<pubDate>Sat, 08 Mar 2008 04:53:39 +0000</pubDate>
		<dc:creator>Jay Signorello</dc:creator>
		
		<category><![CDATA[Apple]]></category>

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

		<guid isPermaLink="false">http://www.techexperiment.com/2008/03/08/apple-iphone-sdk-out-in-the-wild/</guid>
		<description><![CDATA[This has been long awaited my many hardcore iPhone fans as well as companies looking to get a jump start on this new market. Along with the software update, Apple also announced that venture capital firm Kleiner Perkins has created a $100 million &#8220;iFund&#8221; to fund software development on both the iPhone and iPod Touch.
Developers [...]]]></description>
			<content:encoded><![CDATA[<p>This has been long awaited my many hardcore iPhone fans as well as companies looking to get a jump start on this new market. Along with the software update, Apple also announced that venture capital firm Kleiner Perkins has created a $100 million &#8220;iFund&#8221; to fund software development on both the iPhone and iPod Touch.</p>
<p>Developers will be provided pretty loose restrictions on what will be aloud to be used, so expect too see some really kick ass apps coming out soon. Apple has said it will keep 30 percent of the revenue from applications sold through Apple Store, but will not charge developers credit card, hosting or marking fees.  The developers themselves get to set prices for applications. Apple&#8217;s developer program costs $99 to join.</p>
<p>A quote from <a href="http://blogs.zdnet.com/Apple/?p=1388">http://blogs.zdnet.com/Apple/?p=1388</a>&#8230;a little fluff from Apple never hurts right?</p>
<blockquote><p>&#8220;Today, we&#8217;re witnessing history: that&#8217;s the launching of the SDK, the creation of the third great platform, the iPhone and the iPod Touch. Think about it. What the iPhone is all about is in your pocket, you have something that&#8217;s broadband, and connected all the time. It&#8217;s persona, it knows who you are and where you are. That&#8217;s a big deal, a really big deal. It&#8217;s bigger than the personal computer.&#8221;</p>
<p>&#8220;So, [iFund] is about this great opportunity. But more than the money, it&#8217;s really about the people, the entrepreneurs, it&#8217;s about the great team at Apple, and most of all it&#8217;s about the great talent that we can recruit together and go build these amazing companies.&#8221;</p></blockquote>
<p>The SDK can be found here <a href="http://developer.apple.com/iphone/program/">http://developer.apple.com/iphone/program/</a>. Though I wouldn&#8217;t get to excited, because as some of my co-workers found out this morning, it will take a bit of time to download. The SDK is over a 2GB in size (ouch right! Take that Facebook and Google).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techexperiment.com/2008/03/08/apple-iphone-sdk-out-in-the-wild/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Building URL (HTTP GET) Query Dynamically</title>
		<link>http://www.techexperiment.com/2007/04/29/building-url-http-get-query-dynamically/</link>
		<comments>http://www.techexperiment.com/2007/04/29/building-url-http-get-query-dynamically/#comments</comments>
		<pubDate>Sun, 29 Apr 2007 19:59:53 +0000</pubDate>
		<dc:creator>Jay Signorello</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.techexperiment.com/2007/04/29/building-url-http-get-query-dynamically/</guid>
		<description><![CDATA[Probably one of the most tedious parts of web development is hand coding a URL with several parameters attached to it. Most beginning developers are use to hand coding URL&#8217;s when developing dynamic web apps, much like this.


&#60;a href="page.php?id=&#60;? echo $_GET['id']; ?&#62;&#038;title=&#60;? echo $_GET['title']; ?&#62;&#038;q=&#60;? echo $_GET['q']; ?&#62;">XXX&#60;/a&#62;


This isn&#8217;t a horrible practice and of course [...]]]></description>
			<content:encoded><![CDATA[<p>Probably one of the most tedious parts of web development is hand coding a URL with several parameters attached to it. Most beginning developers are use to hand coding URL&#8217;s when developing dynamic web apps, much like this.</p>
<pre>
<code>
&lt;a href="page.php?id=&lt;? echo $_GET['id']; ?&gt;&#038;title=&lt;? echo $_GET['title']; ?&gt;&#038;q=&lt;? echo $_GET['q']; ?&gt;">XXX&lt;/a&gt;
</code>
</pre>
<p>This isn&#8217;t a horrible practice and of course it works, but the code snippet below will make your life ten times easier, believe me. It&#8217;s much more expandable and easier to strip and encode data if needed. Plus, the first way can be lead to bugs in your code if not properly handled. </p>
<p>In addition, you need PHP 5+ to use the <a href="http://us2.php.net/http_build_query">http_build_query()</a> function. (You could easily build a similar function yourself if needed).</p>
<pre>
<code>
&lt;?
$queries = array();
if(isset($_GET)) {
	$keys = array_keys($_GET);
	foreach($keys as $key) {
		$queries[$key]=$_GET[$key];
	}
}
//http://us2.php.net/http_build_query
$params = http_build_query($queries);
?&gt;

&lt;a href="page.php?&lt;? echo $params; ?&gt;"&gt;XXX&lt;/a&gt;
</code>
</pre>
<p>If you need to add parameters to your URL, just append to the $queries array.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techexperiment.com/2007/04/29/building-url-http-get-query-dynamically/feed/</wfw:commentRss>
		</item>
		<item>
		<title>HTTP POST without cURL library - PHP</title>
		<link>http://www.techexperiment.com/2007/04/29/http-post-without-curl-library-php/</link>
		<comments>http://www.techexperiment.com/2007/04/29/http-post-without-curl-library-php/#comments</comments>
		<pubDate>Sun, 29 Apr 2007 19:24:58 +0000</pubDate>
		<dc:creator>Jay Signorello</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.techexperiment.com/2007/04/29/http-post-without-curl-library-php/</guid>
		<description><![CDATA[Found this interesting function that can handle a HTTP POST without using redirects or any special hacks. This is extremely useful for sending data over a secure HTTPS POST or to another web site. cURL is probably the better choice here, but if you don&#8217;t have the library avaliable, (like many developers because of strict [...]]]></description>
			<content:encoded><![CDATA[<p>Found this interesting function that can handle a HTTP POST without using redirects or any special hacks. This is extremely useful for sending data over a secure HTTPS POST or to another web site. cURL is probably the better choice here, but if you don&#8217;t have the library avaliable, (like many developers because of strict hosting solutions), this function might be your best bet.</p>
<p>Anyway on to the code. I found this awesome code snippet at: <a href="http://netevil.org/node.php?nid=937">http://netevil.org/node.php?nid=937</a></p>
<p>I encourage you to check out some other parts of this guys site, pretty good stuff.</p>
<pre><code>
 array(
                  'method' =&gt; 'POST',
                  'content' =&gt; $data
               ));
     if ($optional_headers !== null) {
        $params['http']['header'] = $optional_headers;
     }
     $ctx = stream_context_create($params);
     $fp = @fopen($url, 'rb', false, $ctx);
     if (!$fp) {
        throw new Exception("Problem with $url, $php_errormsg");
     }
     $response = @stream_get_contents($fp);
     if ($response === false) {
        throw new Exception("Problem reading data from $url, $php_errormsg");
     }
     return $response;
  } 

?&gt;
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.techexperiment.com/2007/04/29/http-post-without-curl-library-php/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
