<?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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>theootz dot com</title> <link>http://www.hardeep.me</link> <description>tech, programming, rants and randomonium!</description> <lastBuildDate>Thu, 20 Jan 2011 02:32:35 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <image><link>http://www.hardeep.me</link> <url>http://theootz.com/wp-content/cbnet-favicon/favicon.gif</url><title>theootz dot com</title> </image>  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/theootz" /><feedburner:info uri="theootz" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://superfeedr.com/hubbub" /><feedburner:browserFriendly></feedburner:browserFriendly><item><title>Your complaint was super effective! CRTC is still crap though, and so is traffic shaping.</title><link>http://www.hardeep.me/2010/11/your-complaint-was-super-effective-crtc-is-still-crap-though-and-so-is-traffic-shaping/</link> <comments>http://www.hardeep.me/2010/11/your-complaint-was-super-effective-crtc-is-still-crap-though-and-so-is-traffic-shaping/#comments</comments> <pubDate>Tue, 16 Nov 2010 23:34:40 +0000</pubDate> <dc:creator>theootz</dc:creator> <category><![CDATA[Random]]></category> <category><![CDATA[Rants]]></category> <category><![CDATA[bell]]></category> <category><![CDATA[complaint letter]]></category> <category><![CDATA[crtc]]></category> <category><![CDATA[government]]></category> <category><![CDATA[internet]]></category> <category><![CDATA[ISP]]></category> <category><![CDATA[traffic management]]></category><guid isPermaLink="false">http://www.theootz.com/?p=3822</guid> <description><![CDATA[Woah...WOAH.  Ok so, a few weeks ago (on a whim really, and upset that after paying for hotfile premium I still got shit speeds) I sent out a complaint to the CRTC stating that  bell throttles websites that are not listed in their traffic management  protocols/documentation online (which is essentially not allowed). I finally got a response today :oNo related posts.]]></description> <content:encoded><![CDATA[<p>Woah&#8230;WOAH.  Ok so, a few weeks ago (on a whim really, and upset that after paying for hotfile premium I still got shit speeds) I sent out a complaint to the CRTC stating that  bell throttles websites that are not listed in their traffic management  protocols/documentation online (which is essentially not allowed). I finally got a response today <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /></p><p>They stated that they stick by the reasoning that their traffic  management hardware/software can sometimes falsely identify traffic from  sources as being P2P traffic even though it isn&#8217;t. This can result in  some traffic being throttled even when it shouldn&#8217;t be. Specifically:</p><blockquote><p>As the Company has consistently stated, it does not intentionally shape any non-P2P file-sharing traffic as part of its network management practices and, as such, there are no websites that the Company “targets” for traffic shaping.  However, as the Company has stated in the past, the deployment of any network technology such as technical ITMPs may have some unintended consequences and the Company encourages its customers to bring such unintended consequences to its attention in order to resolve them.</p></blockquote><p>BUT, they&#8217;ve done extensive testing with some of the specific sites I mentioned to them and were able to replicate the issue. Specifically hotfile.com, using both free and premium accounts.</p><blockquote><p>As a result of the complaint letter, the Company has performed various tests in an attempt to recreate the reported problem.  As accurately indicated in the complaint letter, www.hotfile.com is a storage type of site that leverages http (web) direct downloading mechanisms for the sharing of files.  The site offers two types of access, a free access and a premium (paid for subscription) access.  Whereas the free access has limitations in terms of the number of concurrent downloads as well as throughput/speed that can be reduced if the site www.hotfile.com is congested, the premium service is not limited in concurrent downloads or throughput/speed as a result of congestion at the site itself.</p></blockquote><p>So they admit something is messed up for &#8216;some&#8217; of the traffic. But the interesting part is they&#8217;ve claimed to already be rolling out a solution <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> I&#8217;m wondering if this is the result of many complaints, or specifically this one, but still interesting. In the following quote, DPI is Deep Packet Inspection devices. And to give context, my original complaint was sent to them on the 19th of October, so it definitely gave them time to react to it.</p><blockquote><p>In order to address the issue of inadvertent shaping of www.hotfile.com traffic, there was a requirement to update the signatures used in the various DPI platforms used by the Company.  A solution was implemented for the vast majority of the Company’s DPI devices on 2 November 2010 and a second solution for the remaining DPI devices will be implemented by 30 November 2010.  As such, www.hotfile.com traffic should no longer be shaped during peak hours after the 30 November 2010.</p></blockquote><p>So it looks like ISPs don&#8217;t want to mess with whatever the CRTC deems they should be doing, once it&#8217;s been established. The issue is the CRTC giving in so much to ISPs when they lobby for change. UGH.</p><p>Also DPI devices freak me out. EVERY packet that leaves from your computer to go to anywhere else, encrypted or not, is inspected by these machines. They look at the actual CONTENTS of the packets to determine what type of traffic they are. It&#8217;s like having a packet sniffer constantly monitoring your connection -.-</p><p>So what else does the CRTC have planned for our internet? Why, more control for the ISPs and government of course and screwing us over! YAY&#8230;&#8230;..</p><p>Currently we&#8217;ve got this wonderful issue with <a href="http://thetyee.ca/Mediacheck/2010/11/16/BigBrotherInternetLaws/">FURTHER tracking of what you do on the internet</a>. And just for kicks, lets <a href="http://openmedia.ca/meter">give the ISPs even MORE control over how much they can limit our bandwidth</a>. Unlimited internet? NOPE. Rogers already doesn&#8217;t allow this, and bell charges an extra $30/month for unlimited bandwidth on their current packages. Think of our cell phone plans. $30/month for a measly 1 or 2gb or whatever the hell it is that they offer. And then charging a RIDICULOUS amount of money per additional MEGABYTE. Now imagine that happening to your internet connection on the desktop too. Hell you&#8217;re probably already in that position. Imagine it being worse. Ugh&#8230;</p><p>*edit*<br /> Thought it might be useful to include my original complaint sent to the <a href="http://www.crtc.gc.ca/rapidsccm/register.asp?lang=e">CRTC</a> as well. If nothing else, could serve as a template for throttling for other sites and such. If they&#8217;re gonna throttle P2P traffic then they damned well stick to nothing but that only.</p><p>If you want to try and get throttling changed at all&#8230;then complain to the CRTC, your local government officials, whatever. Hell, complain to every government official you can get the contact info for even <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /></p><blockquote><p> This complaint is in regard to Bell Internet Services and their Internet Traffic Management Practices.</p><p>In January and February 2010, the CRTC followed up with several Canadian ISPs in order to ensure consumers have access to the information they need to make informed choices about the Internet services they purchase. Specifically, the Commission required that several ISPs more prominently display information about their ITMPs on their websites, marketing materials, and terms of service.</p><p>This is currently NOT the case with Bell&#8217;s Internet Services! Bell has decided to throttle (i.e. lower the bandwidth) on websites beyond only P2P (peer to peer) traffic as stated on their &#8220;Network Management&#8221; web page http://internet.bell.ca/index.cfm?language=en&#038;method=content.view&#038;content_id=12119</p><p>An example of these websites includes HOTFILE.COM.</p><p>This is a well known issue amongst it&#8217;s customers, but such practices are not at all mentioned on any of their websites, marketing materials, terms of service or acceptable use policies.</p><p>Their terms of service http://internet.bell.ca/index.cfm?method=content.view&#038;category_id=550&#038;content_id=11013 has several locations in which they mention the quality and speed of service one should expect:</p><p>1) Section 6: &#8220;Service&#8221; in this case refers to the internet service I have chosen from their available plans. There is no mention of the service being affected by using a particular website here.</p><p>2) Section 12: Here, they explain how they are not responsible for bottlenecks somewhere along the connection between my local system and a remote system. However this is a well known issue that affects all its customers, and ONLY their customers. Customers on competing ISPs (such as Rogers) have no such issues with the mentioned website. Also, the speeds obtained and the times for which the speeds are at a lower rate correspond to their P2P traffic management practices.</p><p>Further down the Terms of Service page is their Acceptable Use Policy. There is one section in particular which seems relevant:</p><p>1) Under the GENERAL heading, it lists actions which are prohibited from being committed while using their Service. In particular, &#8220;Restricting or inhibiting any other user from using or enjoying the Internet, impairing the operations or efficiency of the Service or creating an unusually large burden on our networks, or otherwise generating levels of Internet traffic sufficient to impede other users’ ability to transmit or receive information.&#8221;</p><p>This may be a viable reason for restricting the internet connection speed of a single individual. However, this is not the case. Connection speeds to the web services and web sites I have mentioned are throttled for everyone, regardless of how much bandwidth they use or otherwise.</p><p>It is important to note that HOTFILE.COM is not a P2P service. It is a direct download over HTTP, using standard ports. It should not be throttled according to their own practices. Also, having a premium account with the HOTFILE.COM service does not matter &#8211; Bell is actively throttling the connection to this website as a whole.</p><p>I believe Bell should be required to specify which websites it throttles on their Network Management website in order to allow customers to make truly informed decisions.</p><p>Links:<br /> 1) http://www.dslreports.com/forum/r24012235-Hotfile-IS-throttled. This page shows screen captures comparing other direct download services and their speeds, with speeds from HOTFILE.com while using a Bell internet service connection. The speeds achieved are at most 256kbit/s &#8211; in line with their P2P traffic management practices.</p><p>2) http://www.dslreports.com/forum/r24729541-So-Hotfile-is-throttled-During-What-Times Customers have found that the times correspond to the times used for their P2P traffic management practices.</p></blockquote><p>No related posts.</p>]]></content:encoded> <wfw:commentRss>http://www.hardeep.me/2010/11/your-complaint-was-super-effective-crtc-is-still-crap-though-and-so-is-traffic-shaping/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>An experiment in 3D Max :o</title><link>http://www.hardeep.me/2010/10/an-experiment-in-3d-max/</link> <comments>http://www.hardeep.me/2010/10/an-experiment-in-3d-max/#comments</comments> <pubDate>Sat, 09 Oct 2010 03:49:05 +0000</pubDate> <dc:creator>theootz</dc:creator> <category><![CDATA[Design]]></category> <category><![CDATA[Random]]></category> <category><![CDATA[3d max]]></category> <category><![CDATA[adobe]]></category> <category><![CDATA[animation]]></category> <category><![CDATA[Compositing]]></category> <category><![CDATA[design]]></category> <category><![CDATA[global illumination]]></category> <category><![CDATA[photoshop]]></category> <category><![CDATA[post processing]]></category> <category><![CDATA[premiere]]></category> <category><![CDATA[projects]]></category> <category><![CDATA[test]]></category> <category><![CDATA[video]]></category> <category><![CDATA[youtube]]></category><guid isPermaLink="false">http://www.theootz.com/?p=3797</guid> <description><![CDATA[Just an experiment in 3D Studio Max in texturing, lighting, micro triangle modeling and compositing.Related posts:<ol><li><a href='http://www.hardeep.me/2010/03/videocross-posting-test/' rel='bookmark' title='Permanent Link: video+cross posting test'>video+cross posting test</a></li><li><a href='http://www.hardeep.me/2010/02/da-stank-bank-uploader/' rel='bookmark' title='Permanent Link: Da Stank Bank &#8220;Uploader&#8221;'>Da Stank Bank &#8220;Uploader&#8221;</a></li><li><a href='http://www.hardeep.me/2010/03/da-stank-bank-uploader-progress/' rel='bookmark' title='Permanent Link: Da Stank Bank Uploader &#8211; progress!'>Da Stank Bank Uploader &#8211; progress!</a></li></ol>]]></description> <content:encoded><![CDATA[<p>Messing around in 3d max&#8230;haven&#8217;t used it in so long <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> (see image to right, and video at end)</p><div id="attachment_3800" class="wp-caption alignright" style="width: 310px"><a href="http://www.theootz.com/wp-content/uploads/2010/10/tree-front-high-res-edit.png"><img class="size-medium wp-image-3800" title="Tree - Full Render" src="http://www.theootz.com/wp-content/uploads/2010/10/tree-front-high-res-edit.png" alt="Tree - Full Render" width="300" height="168" /></a><p class="wp-caption-text">Click to view full image</p></div><p>Just an experiment in some things. For the image:</p><ul><li>Texturing<ul><li>This failed :/ I wanted to try to make the tree look as realistic as possible. Unfortunately, the texture I used was too low of a resolution and I couldn&#8217;t get the bump map to work out the way I wanted. Also, I couldn&#8217;t figure out how to properly texture the vines. UGH</li></ul></li><li>Lighting<ul><li>I think this turned out ok <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> I wanted to make the tree blend in with the background. I should have changed the angle of the lighting a bit but it&#8217;s not bad I think. Also messing around with HDRI maps, and global illumination.</li></ul></li><li>Modeling<ul><li>Modeling of the tree, and the vines. Mostly trying to get micro-triangle modeling to work&#8230;worked out decently for the vines &#8211; couldn&#8217;t get it to work at all for the tree <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></li></ul></li><li>Compositing<ul><li>Getting the tree to blend in with the background and not look out of place. Pretty much failed here too lol</li></ul></li></ul><div id="attachment_3810" class="wp-caption alignright" style="width: 310px"><a href="http://www.theootz.com/wp-content/uploads/2010/10/tree-front-pre-edit.jpg"><img class="size-medium wp-image-3810" title="Tree - Pre photoshop" src="http://www.theootz.com/wp-content/uploads/2010/10/tree-front-pre-edit-300x168.jpg" alt="Tree - Pre photoshop" width="300" height="168" /></a><p class="wp-caption-text">This is what the image looked like before I edited it in photoshop...</p></div><p>The video was just to see how it the global illumination would hold up in an animation. Some methods end up producing a lot of weird artifacts once you start trying to animate and such. I still have to try to build a scene and move things around inside of it instead of just the camera and see how that turns out. I also did a small bit of post processing on the video &#8211; added some film grain, color correcting, and other little things here and there. Since I rendered the video at a very odd resolution, Youtube decided to sample it down to an even lower res. Meh. The video download probably looks a bit better.</p><p>Video: <a href="http://www.theootz.com/wp-content/uploads/2010/10/postprocv2.flv">Download</a></p><p><a href="http://www.hardeep.me/2010/10/an-experiment-in-3d-max/"><em>Click here to view the embedded video.</em></a></p><p><a href='http://www.hardeep.me/2010/10/an-experiment-in-3d-max/'>Back to list</a></p><fieldset class='dataset'><legend>Details of 3D Studio Max - Tree Test</legend><dl><dt>Date Started</dt><dd>October 7, 2010</dd><dt>Description</dt><dd><p>See description here: http://www.theootz.com/2010/10/an-experiment-in-3d-max/</p><br /><p>Full image: http://www.theootz.com/wp-content/uploads/2010/10/tree-front-high-res-edit.png</p><br /><p>Video link: http://www.theootz.com/wp-content/uploads/2010/10/postprocv2.flv</p></dd><dt>Main Link</dt><dd><a class='projectmanager_url' href='http://http://www.theootz.com/2010/10/an-experiment-in-3d-max/' target='_blank' title='http://www.theootz.com/2010/10/an-experiment-in-3d-max/'>http://www.theootz.com/2010/10/an-experiment-in-3d-max/</a></dd><dl class='uri '></dl></dl></fieldset><p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F10%2Fan-experiment-in-3d-max%2F&amp;linkname=An%20experiment%20in%203D%20Max%20%3Ao" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F10%2Fan-experiment-in-3d-max%2F&amp;linkname=An%20experiment%20in%203D%20Max%20%3Ao" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_button_reddit" href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F10%2Fan-experiment-in-3d-max%2F&amp;linkname=An%20experiment%20in%203D%20Max%20%3Ao" title="Reddit" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a class="a2a_button_tumblr" href="http://www.addtoany.com/add_to/tumblr?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F10%2Fan-experiment-in-3d-max%2F&amp;linkname=An%20experiment%20in%203D%20Max%20%3Ao" title="Tumblr" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/tumblr.png" width="16" height="16" alt="Tumblr"/></a> <a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F10%2Fan-experiment-in-3d-max%2F&amp;linkname=An%20experiment%20in%203D%20Max%20%3Ao" title="Digg" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a class="a2a_button_stumbleupon" href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F10%2Fan-experiment-in-3d-max%2F&amp;linkname=An%20experiment%20in%203D%20Max%20%3Ao" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F10%2Fan-experiment-in-3d-max%2F&amp;linkname=An%20experiment%20in%203D%20Max%20%3Ao" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a class="a2a_button_google_reader" href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F10%2Fan-experiment-in-3d-max%2F&amp;linkname=An%20experiment%20in%203D%20Max%20%3Ao" title="Google Reader" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share</a></p><p>Related posts:<ol><li><a href='http://www.hardeep.me/2010/03/videocross-posting-test/' rel='bookmark' title='Permanent Link: video+cross posting test'>video+cross posting test</a></li><li><a href='http://www.hardeep.me/2010/02/da-stank-bank-uploader/' rel='bookmark' title='Permanent Link: Da Stank Bank &#8220;Uploader&#8221;'>Da Stank Bank &#8220;Uploader&#8221;</a></li><li><a href='http://www.hardeep.me/2010/03/da-stank-bank-uploader-progress/' rel='bookmark' title='Permanent Link: Da Stank Bank Uploader &#8211; progress!'>Da Stank Bank Uploader &#8211; progress!</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.hardeep.me/2010/10/an-experiment-in-3d-max/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <enclosure url="http://www.theootz.com/wp-content/uploads/2010/10/postprocv2.flv" length="1265343" type="video/x-flv" /> </item> <item><title>Swan-dive into Android development!</title><link>http://www.hardeep.me/2010/09/swan-dive-into-android-development/</link> <comments>http://www.hardeep.me/2010/09/swan-dive-into-android-development/#comments</comments> <pubDate>Mon, 06 Sep 2010 02:52:36 +0000</pubDate> <dc:creator>theootz</dc:creator> <category><![CDATA[android]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[design]]></category> <category><![CDATA[Eclipse IDE]]></category> <category><![CDATA[game]]></category> <category><![CDATA[google]]></category> <category><![CDATA[hello]]></category> <category><![CDATA[java]]></category> <category><![CDATA[projects]]></category> <category><![CDATA[samsung]]></category> <category><![CDATA[world]]></category><guid isPermaLink="false">http://www.theootz.com/?p=3737</guid> <description><![CDATA[<p>I&#8217;ve decided to take a crack at developing my own android game. I figure, since I&#8217;m getting an android phone soon (hopefully&#8230;come on Rogers! I want my Samsung Captivate!) I should learn how to develop things for it <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> I&#8217;m going to use this post to walk you through what I did and what I&#8217;ve learned while doing it to hopefully save someone out there some headache.<br /> <span id="more-3737"></span><br /><div id='toc' class='post-3737'><div id='toc_title'>Table of contents</div><ul><li><a href="#Hello-World">Hello, World!</a><ul><li><a href="#Create-Project">Create Project</a></li><li><a href="#O-hai-dere-world">O, hai dere world!</a><ul><li><a href="#OH-NOES-ERROR-unknown-virtual-device-name">OH NOES! &#8220;ERROR: unknown virtual device name&#8221;</a></li></ul></li><li><a href="#Whats-Next">What&#8217;s Next?</a></li></ul></li><li><a href="#Thoughts">Thoughts</a></li></ul></div></p><p>So[&#8230;] <a href="http://www.hardeep.me/2010/09/swan-dive-into-android-development/" class="read_more">read more</a></p>Related posts:<ol><li><a href='http://www.hardeep.me/2010/03/creating-a-windows-7-phone-series-application/' rel='bookmark' title='Permanent Link: Creating a Windows Phone 7 Series application'>Creating a Windows Phone 7 Series application</a></li></ol>]]></description> <content:encoded><![CDATA[<p>I&#8217;ve decided to take a crack at developing my own android game. I figure, since I&#8217;m getting an android phone soon (hopefully&#8230;come on Rogers! I want my Samsung Captivate!) I should learn how to develop things for it <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> I&#8217;m going to use this post to walk you through what I did and what I&#8217;ve learned while doing it to hopefully save someone out there some headache.<br /> <span id="more-3737"></span><br /><div id='toc' class='post-3737'><div id='toc_title'>Table of contents</div><ul><li><a href="#Hello-World">Hello, World!</a><ul><li><a href="#Create-Project">Create Project</a></li><li><a href="#O-hai-dere-world">O, hai dere world!</a><ul><li><a href="#OH-NOES-ERROR-unknown-virtual-device-name">OH NOES! &#8220;ERROR: unknown virtual device name&#8221;</a></li></ul></li><li><a href="#Whats-Next">What&#8217;s Next?</a></li></ul></li><li><a href="#Thoughts">Thoughts</a></li></ul></li></ul></div><p>So first thing&#8217;s first, I&#8217;m not going to dive in straight to a game. Nope. We have to create a hello, world app first! At this point I&#8217;ve already <a href="http://developer.android.com/sdk/installing.html">installed the Android SDK</a> and <a href="http://www.eclipse.org">Eclipse</a>, along with the <a href="http://developer.android.com/sdk/eclipse-adt.html#installing">ADT plugin</a> and a virtual device (run: <em>android create avd &#8211;target 2 &#8211;name my_avd</em> or use the <em>SDK Setup.exe</em> program included in the Android SDK). I really have no idea when I did this, but I found the folders all ready and configured on my system <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Hurray past me! There&#8217;s lots of documentation on how to set this all up, and it&#8217;s relatively straight-forward so I&#8217;m not going to go through it all here. Follow the links if you&#8217;re having trouble. I&#8217;m also going to assume you have at least basic experience working with the Eclipse IDE and know enough Java to follow along.</p><h2 id='Hello-World'>Hello, World!</h2><p>Note: A lot of this section is taken from the <a href="http://developer.android.com/guide/tutorials/hello-world.html">Hello, World tutorial</a> found on the android website as that&#8217;s what I followed myself.</p><h3 id='Create-Project'>Create Project</h3><div id="attachment_3746" class="wp-caption alignleft" style="width: 203px"><a href="http://www.theootz.com/wp-content/uploads/2010/09/newandroidproject201009.png"><img class="size-medium wp-image-3746" title="New Android Project" src="http://www.theootz.com/wp-content/uploads/2010/09/newandroidproject201009-193x300.png" alt="New Android Project" width="193" height="300" /></a><p class="wp-caption-text">Settings for creating the Hello, World Android Project</p></div><p>Begin by creating a new Android project in Eclipse. Press <em>CTRL+N</em> (or <em>File -&gt; New -&gt; Other</em> from the menu) and choose <em>Android -&gt; Android Project</em>. Give your project a name, and choose a <em>Build Target</em>. If none show up, then you must use the Android SDK to download the libraries you wish to use. Personally, I set mine to target <em>Android 2.1-update1</em> as that&#8217;s what a lot of phones currently have (or will have soon) and also what the phone I&#8217;m getting will ship with. After that, set your <em>Application Name</em> &#8211; this will show to your users in their android phone menu. It can be changed later if you like.  The <em>Package Name</em> is what your java classes will live under; I used theootz.helloworld. The <em>Activity </em>is the class that will be created for you by the IDE. An android application is a collection of one or more activities. I just called mine the same as the Application name. Finally, the Min SDK Version tells Android what your application requires to run. If you look at the Build Targets you will see an <em>API Level</em> column. Any of these numbers is valid for the Min SDK Version. But you&#8217;d probably want to set it to be the same as what you chose for your Build Target. If you picked Android 2.1-update1, then this is 7. Once all your information is set, you can click Finish.</p><h3 id='O-hai-dere-world'>O, hai dere world!</h3><p>And now to get to some actual coding. Creating a Hello, World! app in Android is actually pleasantly simple. The IDE will have created a base class for your application to start with, so lets go ahead and open that up. In your project, use the package explorer to browse to <em>src -&gt; your.package.name -&gt; activity_name.java</em> and open it in the editor. The actual path will vary depending on what you chose when you created the project but there&#8217;s only one file so it should be easy enough to find <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> You&#8217;ll get some code that looks similar to the following:</p><pre class="brush: java; highlight: [11]; title: ;">
package theootz.helloworld;

import android.app.Activity;
import android.os.Bundle;

public class HelloWorld extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
}
</pre><p>Now we want to create our View (a drawable object to use in our UI) and set the text to &#8220;Hello, World!&#8221;. So naturally, we&#8217;ll use the TextView object <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Replace line 11 with the following lines of code:</p><pre class="brush: java; gutter: false; title: ;">
        TextView tv = new TextView(this);
        tv.setText(&quot;Hello, World!&quot;);
        setContentView(tv);
</pre><p>What we&#8217;re doing is creating a TextView object, setting it&#8217;s text value, and then telling our application to use this View for our Activity&#8217;s UI. You may notice that the TextView class will not get picked up as a valid object by the IDE. This is because we haven&#8217;t imported the right package. You can either add the following line:</p><pre class="brush: java; gutter: false; title: ;">import android.widget.TextView;</pre><p>Or use Eclipse&#8217;s awesome package management to do this for you by pressing Ctrl+Shift+O.</p><p>Your final code should look like this and is now ready to run:</p><pre class="brush: java; highlight: [5,13,14,15,16]; title: ;">
package theootz.helloworld;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class HelloWorld extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        // display our text
        TextView tv = new TextView(this);
        tv.setText(&quot;Hello, World!&quot;);
        setContentView(tv);
    }
}
</pre><div id="attachment_3753" class="wp-caption alignright" style="width: 310px"><a href="http://www.theootz.com/wp-content/uploads/2010/09/5554vm2120100905194502.png"><img class="size-medium wp-image-3753" title="Hello, World! Running an Android Virtual Device" src="http://www.theootz.com/wp-content/uploads/2010/09/5554vm2120100905194502-300x216.png" alt="Hello, World! Running an Android Virtual Device" width="300" height="216" /></a><p class="wp-caption-text">Hello, World! Running an Android Virtual Device</p></div><p>Go ahead and run the project, and if all goes well the android emulator should start up and begin your application!</p><h4 id='OH-NOES-ERROR-unknown-virtual-device-name'>OH NOES! &#8220;ERROR: unknown virtual device name&#8221;</h4><p>Oh gawd, an error&#8230; but it&#8217;s only a Hello, World! app what can possibly go wrong?! <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p><p>Not everyone will get this, and if you didn&#8217;t then you can go ahead and skip to the next part. If you did, you&#8217;re probably on windows :/ Turns out that the Android SDK will look for the Virtual Devices in &#8220;<em>%USERPROFILE%\.android</em>&#8221; but the SDK will create the .android folder in &#8220;<em>X:\.android</em>&#8221; where X is the drive letter you installed to. So this leaves you with two options:</p><ol><li>Move the folder to your user profile folder (<em>start -&gt; run -&gt; %USERPROFILE%</em>). The problem with this is, if you create new virtual devices you&#8217;ll have to manually move them each time as well.</li><li>Create a symbolic link. This is the route I went.</li></ol><p>So how do you create a Symbolic Link? Start by opening a command prompt (<em>start -&gt; run -&gt; cmd</em>). Browse to your User Profile folder (something like C:\users\&lt;username&gt;). Then type the following command:</p><pre class="brush: plain; light: true; title: ;">
mklink /D .android X:\.android
</pre><p>Replace X with the drive letter that has your actual .android folder. And that&#8217;s it! Run your application from Eclipse again and you should see the Virtual Device pop up with your app <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><h3 id='Whats-Next'>What&#8217;s Next?</h3><p>Well, for me it will be creating a first game. If  you want to take smaller steps in between then you can read the rest of the <a href="http://developer.android.com/guide/tutorials/hello-world.html#upgrading">Hello, World! tutorial</a> or others on their <a href="http://developer.android.com/guide/index.html">dev site</a>.</p><h2 id='Thoughts'>Thoughts</h2><p>So developing on android, at least on a simple app, seems fairly comparable to creating a <a href="http://www.theootz.com/2010/03/creating-a-windows-7-phone-series-application/">Windows Phone 7 app</a>. I think I prefer the MS approach at this point because it uses a lot of systems I&#8217;m already accustomed to &#8211; i.e. .NET and WPF. Also, I&#8217;ve grown to like the .NET development environment (at least in ASP .NET) over the last few months as I&#8217;ve been using it at work. It seems to grow on you pretty quickly. Granted, I haven&#8217;t created a full out app in either system yet, so hard to say how it will be once I dive a bit deeper.</p><p>Buuuuuuuut I <em>will </em>be creating my game soon for Android and will be creating a post as I do to keep track of everything that happens (already started, actually..but its hiding from the world as a Draft). Eventually, I&#8217;d like to re-create the same game in the Windows Phone 7 system and see what I like/dislike about each platform. I thought about doing the same with the iPhone but I&#8217;m not gonna buy a mac just so I can develop on Jobs&#8217; precious &#8211; so forget that. If by some chance I end up buying an iPhone instead of the Galaxy S, then I&#8217;ll consider finding a work-around <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> (a VM seems most likely solution).</p><p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F09%2Fswan-dive-into-android-development%2F&amp;linkname=Swan-dive%20into%20Android%20development%21" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F09%2Fswan-dive-into-android-development%2F&amp;linkname=Swan-dive%20into%20Android%20development%21" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_button_reddit" href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F09%2Fswan-dive-into-android-development%2F&amp;linkname=Swan-dive%20into%20Android%20development%21" title="Reddit" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a class="a2a_button_tumblr" href="http://www.addtoany.com/add_to/tumblr?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F09%2Fswan-dive-into-android-development%2F&amp;linkname=Swan-dive%20into%20Android%20development%21" title="Tumblr" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/tumblr.png" width="16" height="16" alt="Tumblr"/></a> <a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F09%2Fswan-dive-into-android-development%2F&amp;linkname=Swan-dive%20into%20Android%20development%21" title="Digg" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a class="a2a_button_stumbleupon" href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F09%2Fswan-dive-into-android-development%2F&amp;linkname=Swan-dive%20into%20Android%20development%21" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F09%2Fswan-dive-into-android-development%2F&amp;linkname=Swan-dive%20into%20Android%20development%21" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a class="a2a_button_google_reader" href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F09%2Fswan-dive-into-android-development%2F&amp;linkname=Swan-dive%20into%20Android%20development%21" title="Google Reader" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share</a></p><p>Related posts:<ol><li><a href='http://www.hardeep.me/2010/03/creating-a-windows-7-phone-series-application/' rel='bookmark' title='Permanent Link: Creating a Windows Phone 7 Series application'>Creating a Windows Phone 7 Series application</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.hardeep.me/2010/09/swan-dive-into-android-development/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Going Ons</title><link>http://www.hardeep.me/2010/05/going-ons/</link> <comments>http://www.hardeep.me/2010/05/going-ons/#comments</comments> <pubDate>Wed, 12 May 2010 00:14:11 +0000</pubDate> <dc:creator>theootz</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[.NET]]></category> <category><![CDATA[amd]]></category> <category><![CDATA[ASP]]></category> <category><![CDATA[first]]></category> <category><![CDATA[group project]]></category> <category><![CDATA[internship]]></category> <category><![CDATA[isdc 2010]]></category> <category><![CDATA[microsoft]]></category> <category><![CDATA[mssql]]></category> <category><![CDATA[projects]]></category> <category><![CDATA[student design competition]]></category> <category><![CDATA[test]]></category> <category><![CDATA[test project]]></category> <category><![CDATA[theootz]]></category><guid isPermaLink="false">http://www.theootz.com/?p=251</guid> <description><![CDATA[<p>Whew, busy last little while &#8211; been a while since my last post!</p><p>Since then, I&#8217;ve applied to positions for an internship at school and finished my semester. Went through a bunch of interviews and finally accepted a position at ATI (i.e. AMD) which is awesome! I&#8217;m not really sure yet if I&#8217;m allowed to blog about the things I&#8217;ll be working on there but I&#8217;ll find out. Would be cool to keep track of the progress I make while there for the next 16 months. Along with that, I&#8217;ve bought myself a car to get to and from work[&#8230;] <a href="http://www.hardeep.me/2010/05/going-ons/" class="read_more">read more</a></p>No related posts.]]></description> <content:encoded><![CDATA[<p>Whew, busy last little while &#8211; been a while since my last post!</p><p>Since then, I&#8217;ve applied to positions for an internship at school and finished my semester. Went through a bunch of interviews and finally accepted a position at ATI (i.e. AMD) which is awesome! I&#8217;m not really sure yet if I&#8217;m allowed to blog about the things I&#8217;ll be working on there but I&#8217;ll find out. Would be cool to keep track of the progress I make while there for the next 16 months. Along with that, I&#8217;ve bought myself a car to get to and from work &#8211; FREEDOM! <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>Elsewhere in my tech-space, I&#8217;ve begun familiarizing myself with the ASP.NET framework (in C#) and MsSQL as the project I&#8217;m working on at AMD seems to require such. I actually ended up coding a test project for an interview for another company using the framework/database and <a href="http://www.theootz.com/projects/?show=10">posted the project</a> (more info below). It&#8217;s my first dive into ASP and far from the proper way of doing things, but I&#8217;ve already learned quite a bit since then so I think I&#8217;m on a good course.</p><p>I also won 2nd place in the <a href="http://www.upassoc.org/conference/2010/students/">International Student Design Competition (iSDC 2010)</a> for my <a href="http://www.theootz.com/projects/?show=9">group project in CSC318</a>! The conference is being held in Germany and our projects will be presented there soon <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Unfortunately, no one in our group will be able to attend but we&#8217;re going to try to get our poster printed out for display there. We&#8217;ll probably be listed on the <a href="http://www.usabilityprofessionals.org/conference/2010/students/awards/">iSDC website</a> too once that&#8217;s done. Look for the Grocery Garden project by The Crew <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>Finally, I also got myself <a href="http://www.hardeepsingh.ca">hardeepsingh.ca</a> because well, why not? It just points to the same host as <a href="http://www.theootz.com">theootz.com</a> though.</p><p><a href='http://www.hardeep.me/2010/05/going-ons/'>Back to list</a></p><fieldset class='dataset'><legend>Details of ASP.NET Test Website</legend><dl><dt>Date Started</dt><dd>April 12, 2010</dd><dt>Description</dt><dd><p>A website made in ASP.NET and using a local MsSQL server to manage a simple set of companies and edit their data. Used as a quick primer to learning how to use ASP.NET and because a job application I had applied for wanted me to make it - two birds one stone and all that :) Took about 4 hours to make I think.</p></dd><dt>Main Link</dt><dd><a class='projectmanager_url' href='http://http://www.theootz.com/downloads/ASP.NET+test+website' target='_blank' title='http://www.theootz.com/downloads/ASP.NET+test+website'>http://www.theootz.com/downloads/ASP.NET+test+website</a></dd><dl class='uri '></dl></dl></fieldset><p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F05%2Fgoing-ons%2F&amp;linkname=Going%20Ons" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F05%2Fgoing-ons%2F&amp;linkname=Going%20Ons" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_button_reddit" href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F05%2Fgoing-ons%2F&amp;linkname=Going%20Ons" title="Reddit" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a class="a2a_button_tumblr" href="http://www.addtoany.com/add_to/tumblr?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F05%2Fgoing-ons%2F&amp;linkname=Going%20Ons" title="Tumblr" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/tumblr.png" width="16" height="16" alt="Tumblr"/></a> <a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F05%2Fgoing-ons%2F&amp;linkname=Going%20Ons" title="Digg" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a class="a2a_button_stumbleupon" href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F05%2Fgoing-ons%2F&amp;linkname=Going%20Ons" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F05%2Fgoing-ons%2F&amp;linkname=Going%20Ons" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a class="a2a_button_google_reader" href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F05%2Fgoing-ons%2F&amp;linkname=Going%20Ons" title="Google Reader" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share</a></p><p>No related posts.</p>]]></content:encoded> <wfw:commentRss>http://www.hardeep.me/2010/05/going-ons/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Your site, saved and backed up on the S3 cloud!</title><link>http://www.hardeep.me/2010/03/your-site-saved-and-back-up-on-the-s3-cloud/</link> <comments>http://www.hardeep.me/2010/03/your-site-saved-and-back-up-on-the-s3-cloud/#comments</comments> <pubDate>Sat, 20 Mar 2010 18:56:02 +0000</pubDate> <dc:creator>theootz</dc:creator> <category><![CDATA[Random]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[Amazon]]></category> <category><![CDATA[amazon s3]]></category> <category><![CDATA[backup scripts]]></category> <category><![CDATA[bash]]></category> <category><![CDATA[online backup]]></category> <category><![CDATA[online sync]]></category> <category><![CDATA[projects]]></category> <category><![CDATA[script]]></category> <category><![CDATA[server backups]]></category> <category><![CDATA[theootz]]></category><guid isPermaLink="false">http://www.theootz.com/?p=226</guid> <description><![CDATA[<p>I got sick of having to do backups manually and then manually saving them somewhere&#8230;then I wondered if it&#8217;d be possible to use my S3 service to back up my website? I mean, I&#8217;m already using it as a content distribution system but having a full backup of all files + databases would be nice too!</p><h2>What You Need</h2><p>You&#8217;ll need PHP, bash, CRON access and python to get this working. And given the bash/cron requirements, that also means it assumes you&#8217;re running a *nix based server. It&#8217;s probably possible to get the requirements down, but I just wanted to[&#8230;] <a href="http://www.hardeep.me/2010/03/your-site-saved-and-back-up-on-the-s3-cloud/" class="read_more">read more</a></p>No related posts.]]></description> <content:encoded><![CDATA[<p>I got sick of having to do backups manually and then manually saving them somewhere&#8230;then I wondered if it&#8217;d be possible to use my S3 service to back up my website? I mean, I&#8217;m already using it as a content distribution system but having a full backup of all files + databases would be nice too!</p><h2>What You Need</h2><p>You&#8217;ll need PHP, bash, CRON access and python to get this working. And given the bash/cron requirements, that also means it assumes you&#8217;re running a *nix based server. It&#8217;s probably possible to get the requirements down, but I just wanted to get something done quick and it&#8217;s what I came up with.</p><h2>The Files</h2><h4>backup.sh</h4><p>First up is the bash script (based on <a href="http://www.howtogeek.com/wiki/Tweaking_a_Dedicated_Virtual_Web_Server#Backups">this one</a>) that does most of the work. It will tar+gzip all your site files, export your database(s), and remove old backup files (+5 days old) when necessary. You should only really have to edit the top part of the script. Make sure you remember what you set your <span style="text-decoration: underline;">BACKUP_DIR</span> and <span style="text-decoration: underline;">FILES_DIR</span> to &#8211; you&#8217;ll need them in other scripts later on.</p><pre class="brush: bash; title: ;">
#!/bin/sh

# EDIT THIS PART ------------------
# where all these backup scripts are stored
BACKUP_DIR=/home/theootz/backups

# where you want to keep all the actual backup folders
FILES_DIR=/home/theootz/backups/files

# where all your html files reside
HTML_DIR=/home/theootz/public_html

# your MySQL database name, username and password
SQL_USER1=myusername1
SQL_PASS1=mypass1
SQL_DB1=mydb1

# a second database
# Uncomment these lines if you want to back up a second database.
# Also uncomment the line specified below!
# You can also add more databases and follow the same format.
#SQL_USER2=myusername2
#SQL_PASS2=mypass2
#SQL_DB2=mydb2
# STOP EDITING ------------------

THEDATE=`date +%Y-%m-%d_%H-%M-%S`

mkdir -p $BACKUP_DIR/files

mysqldump -u${SQL_USER1} -p${SQL_PASS1} ${SQL_DB1} &gt; ${FILES_DIR}/${THEDATE}_db1backup.sql

# Uncomment the line below if have a second database to back up
#mysqldump -u${SQL_USER2} -p${SQL_PASS2} ${SQL_DB2} &gt; ${FILES_DIR}/${THEDATE}_db2backup.sql

tar -cf ${FILES_DIR}/${THEDATE}_site.tar ${HTML_DIR}
gzip ${FILES_DIR}/${THEDATE}_site.tar

find ${FILES_DIR}/*site* -mtime +5 -exec rm {} \;
find ${FILES_DIR}/*db* -mtime +5 -exec rm {} \;
</pre><h4>backup_upload.py</h4><p>Next is the Python script to upload the files. It uses a PHP library that I&#8217;ll give more information on below.</p><pre class="brush: python; title: ;">
import sys
import os

########## Make sure these values match the ones you set in your shell script!
BACKUP_DIR = &quot;/home/theootz/backups&quot;
FILES_DIR = &quot;/home/theootz/backups/files&quot;

# this needs to be changed to reflect your settings on your s3 account
S3_BUCKET = &quot;theootz&quot;
S3_FOLDER = &quot;mysite/backups&quot;
##########

j = os.path.join
fname = os.path.basename(sys.argv[1])
cmdstr = j(BACKUP_DIR, &quot;s3.php&quot;) + &quot; put &quot; + \
    j(FILES_DIR, fname) + &quot; &quot; + \
    j(S3_BUCKET, j(S3_FOLDER, fname.split(&quot;_&quot;)[-1]))

os.system(cmdstr)
</pre><h4>PHP S3</h4><p>The python script uses a PHP library to do all the S3 uploading work. The original is available <a href="http://edoceo.com/creo/phps3tk">here</a>.</p><p>I had to edit a few paths in the php library to get it to work, so if you want to download my version it&#8217;s available here:</p> <a href="http://www.hardeep.me/downloads/PHP+Amazon+S3+Library" title="Downloaded 133 times">PHP Amazon S3 Library</a> - Based on http://edoceo.com/creo/phps3tkA PHP library to access and work with Amazon S3<p>Regardless of which one you pick, make sure you open and edit the s3.php file! You&#8217;ll need to put your S3 keys in there (near the top of the file). It will look something like this:</p><pre class="brush: php; title: ;">
// S3_CONF file
$aws_key = null;
$aws_secret = null;
</pre><p>You&#8217;ll want to put your access and secret keys there as strings, as follows:</p><pre class="brush: php; title: ;">
// S3_CONF file
$aws_key = &quot;my access key here&quot;;
$aws_secret = &quot;my secret key here&quot;;
</pre><h2>How To Get It All Working?</h2><p>Ok, so you&#8217;ve got the files. Now upload them to your web server to your <span style="text-decoration: underline;">BACKUP_DIR</span> folder (whatever you choose it as, I picked /home/theootz/backups). Finally, take the files from the the PHP S3 library and put them in your <span style="text-decoration: underline;">BACKUP_DIR</span> as well. This should leave you with the following files in a single folder:</p><ul><li>backup.sh</li><li>backup_upload.py</li><li>s3sync.php</li><li>s3.php</li><li>libs3.php</li><li>libaws.php</li></ul><p>I&#8217;m pretty sure most of the files from the S3 library aren&#8217;t needed but once again not something I bothered to check.</p><p>Now you&#8217;ll want to enable execution for all our scripts. You can do this by running the following commands while in your <span style="text-decoration: underline;">BACKUP_DIR</span> folder:</p><pre class="brush: bash; title: ;">
chmod u+x backup.sh
chmod u+x backup_upload.py
chmod u+x s3.php
</pre><p>At this point, you can go ahead and run backup.sh and see if everything worked. If it did, then we can set up the cron jobs to have this all work automatically for us <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>You&#8217;ll want to add two entries to cron. The first entry will run our backup.sh on a daily basis for us. This will give us 5 days worth of backups at any one point. The second script will upload our latest backup to the S3 service, replacing whatever is already there.</p><pre class="brush: plain; title: ;">
1       1       *       *       *       /path/to/BACKUP_DIR/backup.sh
1       1       *       *       *       find /path/to/FILES_DIR/* -mtime 0 -exec python /path/to/BACKUP_DIR/backup_upload.py '{}' \;
</pre><p>Make sure you edit the paths to reflect the way you have it configured for your system! For example, my cron jobs look like this:</p><pre class="brush: plain; title: ;">
0       0       *       *       *       /home/theootz/backups/backup.sh
0       0       *       *       0       find /home/theootz/backups/files/* -mtime 0 -exec python /home/theootz/backups/backup_upload.py '{}' \;
</pre><h2>Done!</h2><p>And that&#8217;s it <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Your website along with databases and other content will now be backed up daily to the server itself, and uploaded to your S3 account weekly. If you wanna be super extra paranoid you can download the backups from the <span style="text-decoration: underline;">FILES_DIR</span> yourself or <a href="http://www.howtogeek.com/wiki/Tweaking_a_Dedicated_Virtual_Web_Server#Sync_Backups_Off-Site_With_Rsync">use rsync</a> or something similar to automate that as well. One idea is perhaps sending it to your e-mail &#8211; use that g-mail space for something right? <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /></p><p>Hope that&#8217;s some help to someone <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fyour-site-saved-and-back-up-on-the-s3-cloud%2F&amp;linkname=Your%20site%2C%20saved%20and%20backed%20up%20on%20the%20S3%20cloud%21" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fyour-site-saved-and-back-up-on-the-s3-cloud%2F&amp;linkname=Your%20site%2C%20saved%20and%20backed%20up%20on%20the%20S3%20cloud%21" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_button_reddit" href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fyour-site-saved-and-back-up-on-the-s3-cloud%2F&amp;linkname=Your%20site%2C%20saved%20and%20backed%20up%20on%20the%20S3%20cloud%21" title="Reddit" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a class="a2a_button_tumblr" href="http://www.addtoany.com/add_to/tumblr?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fyour-site-saved-and-back-up-on-the-s3-cloud%2F&amp;linkname=Your%20site%2C%20saved%20and%20backed%20up%20on%20the%20S3%20cloud%21" title="Tumblr" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/tumblr.png" width="16" height="16" alt="Tumblr"/></a> <a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fyour-site-saved-and-back-up-on-the-s3-cloud%2F&amp;linkname=Your%20site%2C%20saved%20and%20backed%20up%20on%20the%20S3%20cloud%21" title="Digg" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a class="a2a_button_stumbleupon" href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fyour-site-saved-and-back-up-on-the-s3-cloud%2F&amp;linkname=Your%20site%2C%20saved%20and%20backed%20up%20on%20the%20S3%20cloud%21" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fyour-site-saved-and-back-up-on-the-s3-cloud%2F&amp;linkname=Your%20site%2C%20saved%20and%20backed%20up%20on%20the%20S3%20cloud%21" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a class="a2a_button_google_reader" href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fyour-site-saved-and-back-up-on-the-s3-cloud%2F&amp;linkname=Your%20site%2C%20saved%20and%20backed%20up%20on%20the%20S3%20cloud%21" title="Google Reader" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share</a></p><p>No related posts.</p>]]></content:encoded> <wfw:commentRss>http://www.hardeep.me/2010/03/your-site-saved-and-back-up-on-the-s3-cloud/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Creating a Windows Phone 7 Series application</title><link>http://www.hardeep.me/2010/03/creating-a-windows-7-phone-series-application/</link> <comments>http://www.hardeep.me/2010/03/creating-a-windows-7-phone-series-application/#comments</comments> <pubDate>Sat, 20 Mar 2010 03:42:23 +0000</pubDate> <dc:creator>theootz</dc:creator> <category><![CDATA[programming]]></category> <category><![CDATA[Amazon]]></category> <category><![CDATA[amazon s3]]></category> <category><![CDATA[design]]></category> <category><![CDATA[hello]]></category> <category><![CDATA[projects]]></category> <category><![CDATA[silverlight]]></category> <category><![CDATA[visual studio]]></category> <category><![CDATA[windows phone]]></category> <category><![CDATA[world]]></category> <category><![CDATA[WPF]]></category><guid isPermaLink="false">http://www.theootz.com/?p=209</guid> <description><![CDATA[<p>Yay, long article time!</p><p>With the release of the Windows Phone 7 Series (I really really hate that name so I&#8217;m gonna just use winmo7) <a href="http://developer.windowsphone.com/">SDK</a>, I decided to give it a shot and see how hard (or even easy?) creating an application on the platform would be.</p><p>I should probably mention I have very little experience coding in SilverLight and only dabbled with it a while ago, and I&#8217;ve been coding in C# for a good half year or so now but once again not quite that much experience in the language. On top of that, most C#[&#8230;] <a href="http://www.hardeep.me/2010/03/creating-a-windows-7-phone-series-application/" class="read_more">read more</a></p>Related posts:<ol><li><a href='http://www.hardeep.me/2010/09/swan-dive-into-android-development/' rel='bookmark' title='Permanent Link: Swan-dive into Android development!'>Swan-dive into Android development!</a></li></ol>]]></description> <content:encoded><![CDATA[<p>Yay, long article time!</p><p>With the release of the Windows Phone 7 Series (I really really hate that name so I&#8217;m gonna just use winmo7) <a href="http://developer.windowsphone.com/">SDK</a>, I decided to give it a shot and see how hard (or even easy?) creating an application on the platform would be.</p><p>I should probably mention I have very little experience coding in SilverLight and only dabbled with it a while ago, and I&#8217;ve been coding in C# for a good half year or so now but once again not quite that much experience in the language. On top of that, most C# applications I&#8217;ve written use Windows Forms and not WPF. I&#8217;ve also decided that my first application will be a simple browser for <a href="https://s3.amazonaws.com/">Amazon S3</a> (considering how much I&#8217;ve been <a href="http://www.theootz.com/2010/02/jungle-disk-great-idea-but/">fiddling</a> <a href="http://www.theootz.com/2010/02/jungle-disk-continued/">with</a> <a href="http://www.theootz.com/2010/03/speed-projects-and-features-oh-my/">it recently</a>), of whose API I have zero experience with as well. So from what I can tell, I have quite a learning curve ahead of me <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>I&#8217;m not going to go over any problems I have over the IDE, APIs, language, etc&#8230; but I&#8217;m going to try to focus on the experience of creating an actual application for the platform.</p><h2>Initial Setup</h2><p>The download and install of the SDK was relatively painless. It did take quite a while though because I had the beta of Visual Studio 2010 still installed and the SDK requires either the RC or it will install Visual Studio 2010 Express on its own. I didn&#8217;t really feel like downloading and installing Visual Studio 2010 again, so I had to uninstall VS2010 along with the .Net 4 beta. After which, the SDK installer downloaded and installed the RC for me. It was kind of annoying how it didn&#8217;t really tell me why the beta simply HAD to be uninstalled and I had to search through the depths of their forums to figure it out, but I guess most shouldn&#8217;t have this problem.</p><p>One thing to remember if you&#8217;re using the Express version of VS2010 though, I don&#8217;t think it&#8217;s possible to have any VCS integration so you&#8217;ll have to do it outside the IDE.</p><h2>My First App</h2><p>Opening up VS2010, I&#8217;m presented with a few nice big buttons on pre-set winmo7 specific projects. You can create a Windows Phone App, a Windows Phone List App (not sure what this is exactly but it&#8217;s somehow specific to &#8220;list and navigation controls&#8221;) and a Windows Phone Library.</p><p>I figured I want an application and I&#8217;ll code in a simple library for working with S3 inside that.</p><p>So I went ahead and choose the first option and it creates a nice looking UI preview for me with the phone chrome and all so I can see exactly how it will look. Not bad. Running the program launches the emulator (which takes quite a while :/) and launches my app which currently does nothing. Good enough of a Hello World for me!</p><p>Also of interest, the emulator need only be loaded ONCE. It can then be used for multiple debug/run sessions, very nice considering how long it took to load up!</p><h2>Designing the S3 Browser</h2><p>So at this point I need to figure out how I want the program to look and behave. I&#8217;ve decided to use this desktop <a href="http://s3browser.com/">S3 Browser</a> by <a href="http://netsdk.com/">NetSDK</a> Software as a basis on functionality. At the bare minimum, I&#8217;m going to need a way for users to enter in their keys and save them (because typing them in every time on a mobile device will DEFINITELY be annoying). They then need to be able to view buckets, and then be able to explore the contents of each bucket. Perhaps even adding in the ability to upload, download, delete and rename files if possible. Though at this point, I&#8217;m not even sure if winmo7 has a concept of a user accessible file system or if it&#8217;s abstracted/sandboxed like the iPhone.</p><div id="attachment_214" class="wp-caption alignleft" style="width: 163px"><a href="http://www.theootz.com/wp-content/uploads/2010/03/ss11.png"><img class="size-medium wp-image-214" title="Login Screen" src="http://www.theootz.com/wp-content/uploads/2010/03/ss11-153x300.png" alt="Login Screen Design" width="153" height="300" /></a><p class="wp-caption-text">Login Screen Design</p></div><p>Screens will probably be something akin to:</p><p>(1) Login/Key Manager -&gt; (2) Buckets -&gt; (3) Browse</p><p>(To the left you can see my first stab at the login screen using the built in controls.)</p><p>I&#8217;m going to have screen (1) act as a login screen for now, no saving of multiple accounts. That can be added later. Screen (2) will simply list buckets, and then later allow creation/deletion of them as well possibly. And finally screen (3) will list all your files and other functionality to be added later.</p><p>The actual design of each screen may be somewhat trivial, but I want the look and feel of application to be as if its a part of the operating system. A quick google search shows that there ARE a <a href="http://windowsteamblog.com/blogs/wpdev/archive/2010/03/18/windows-phone-7-series-ui-design-amp-interaction-guide.aspx">set of guidelines</a> so I&#8217;m going to have to read them over and figure it out. From what I can tell though, as long as I&#8217;m using the Controls that are given to me then most of it should follow the look/feel anyways.</p><h2>Initial Thoughts</h2><p>So far, it seems that Microsoft has gone out of their to make it very easy to develop for the platform &#8211; leveraging technologies that developers should already be familiar with: Visual Studio, .Net, Expression Blend, SilverLight, etc&#8230;</p><p>I suspect that the SDK will become better as time goes on. For example, being based on .Net it wouldn&#8217;t surprise me if they allow programmers to use languages other than C#. Also from what I&#8217;ve been reading, a lot of people have had success porting over their existing SilverLight applications relatively easily and quickly to the new platform.</p><h2>What&#8217;s Next?</h2><p>Well, I&#8217;ve gotta make a library of some sort to connect to S3. I&#8217;ve gotta figure out how to use WPF but that shouldn&#8217;t be too difficult. Then I&#8217;ve gotta get it all working in the emulator. I&#8217;ll post updates as I have them, for now my project is available below along with a repository (SVN where it also turns out I managed to misspell theootz as theooz :/) link &#8211; feel free to check it out.</p><p><a href='http://www.hardeep.me/2010/03/creating-a-windows-7-phone-series-application/'>Back to list</a></p><fieldset class='dataset'><legend>Details of Windows Phone 7 Series S3 Browser</legend><dl><dt>Date Started</dt><dd>March 19, 2010</dd><dt>Description</dt><dd><p>My first attempt at a Windows 7 Phone Series application, amongst other firsts. It's just a simple Amazon S3 browser for the device. There's more information on my blog :)</p></dd><dt>Main Link</dt><dd><a class='projectmanager_url' href='http://http://www.theootz.com/2010/03/creating-a-windows-7-phone-series-application/' target='_blank' title='http://www.theootz.com/2010/03/creating-a-windows-7-phone-series-application/'>http://www.theootz.com/2010/03/creating-a-windows-7-phone-series-application/</a></dd><dt>Repository Link</dt><dd><a class='projectmanager_url' href='http://http://code.google.com/p/theootzs3browser/' target='_blank' title='http://code.google.com/p/theootzs3browser/'>http://code.google.com/p/theootzs3browser/</a></dd></dl></fieldset><p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fcreating-a-windows-7-phone-series-application%2F&amp;linkname=Creating%20a%20Windows%20Phone%207%20Series%20application" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fcreating-a-windows-7-phone-series-application%2F&amp;linkname=Creating%20a%20Windows%20Phone%207%20Series%20application" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_button_reddit" href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fcreating-a-windows-7-phone-series-application%2F&amp;linkname=Creating%20a%20Windows%20Phone%207%20Series%20application" title="Reddit" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a class="a2a_button_tumblr" href="http://www.addtoany.com/add_to/tumblr?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fcreating-a-windows-7-phone-series-application%2F&amp;linkname=Creating%20a%20Windows%20Phone%207%20Series%20application" title="Tumblr" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/tumblr.png" width="16" height="16" alt="Tumblr"/></a> <a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fcreating-a-windows-7-phone-series-application%2F&amp;linkname=Creating%20a%20Windows%20Phone%207%20Series%20application" title="Digg" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a class="a2a_button_stumbleupon" href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fcreating-a-windows-7-phone-series-application%2F&amp;linkname=Creating%20a%20Windows%20Phone%207%20Series%20application" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fcreating-a-windows-7-phone-series-application%2F&amp;linkname=Creating%20a%20Windows%20Phone%207%20Series%20application" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a class="a2a_button_google_reader" href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fcreating-a-windows-7-phone-series-application%2F&amp;linkname=Creating%20a%20Windows%20Phone%207%20Series%20application" title="Google Reader" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share</a></p><p>Related posts:<ol><li><a href='http://www.hardeep.me/2010/09/swan-dive-into-android-development/' rel='bookmark' title='Permanent Link: Swan-dive into Android development!'>Swan-dive into Android development!</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.hardeep.me/2010/03/creating-a-windows-7-phone-series-application/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Speed, projects and features – oh my!</title><link>http://www.hardeep.me/2010/03/speed-projects-and-features-oh-my/</link> <comments>http://www.hardeep.me/2010/03/speed-projects-and-features-oh-my/#comments</comments> <pubDate>Tue, 16 Mar 2010 17:47:47 +0000</pubDate> <dc:creator>theootz</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Amazon]]></category> <category><![CDATA[amazon cloud front]]></category> <category><![CDATA[amazon s3]]></category> <category><![CDATA[caching system]]></category> <category><![CDATA[lifestream]]></category> <category><![CDATA[OpenID]]></category> <category><![CDATA[projects]]></category> <category><![CDATA[speed improvement]]></category> <category><![CDATA[theootz]]></category> <category><![CDATA[verisign]]></category><guid isPermaLink="false">http://www.theootz.com/?p=207</guid> <description><![CDATA[<p>Added a whole bunch of new features to the blog, mostly back end changes but a few new pages too.</p><p>There&#8217;s the new &#8220;<a title="Projects" href="http://www.theootz.com/projects">Projects</a>&#8221; section which is powered by a nice little back-end script to let me easily manage links and data to all the projects I&#8217;m working on, or have worked on.</p><p>I added a &#8220;<a title="Life Stream" href="http://www.theootz.com/lifestream">LifeStream</a>&#8221; &#8211; based on the same <a href="http://en.wikipedia.org/wiki/Lifestreaming">concept</a> that facebook uses to aggregate many social sites into one &#8216;stream&#8217;. Ironically, I disabled facebook from showing up on the stream because it was posting way too much. Though the upside[&#8230;] <a href="http://www.hardeep.me/2010/03/speed-projects-and-features-oh-my/" class="read_more">read more</a></p>Related posts:<ol><li><a href='http://www.hardeep.me/2010/03/videocross-post-test-second-attempt/' rel='bookmark' title='Permanent Link: video+cross post test, second attempt'>video+cross post test, second attempt</a></li><li><a href='http://www.hardeep.me/2010/02/da-stank-bank-uploader/' rel='bookmark' title='Permanent Link: Da Stank Bank &#8220;Uploader&#8221;'>Da Stank Bank &#8220;Uploader&#8221;</a></li></ol>]]></description> <content:encoded><![CDATA[<p>Added a whole bunch of new features to the blog, mostly back end changes but a few new pages too.</p><p>There&#8217;s the new &#8220;<a title="Projects" href="http://www.theootz.com/projects">Projects</a>&#8221; section which is powered by a nice little back-end script to let me easily manage links and data to all the projects I&#8217;m working on, or have worked on.</p><p>I added a &#8220;<a title="Life Stream" href="http://www.theootz.com/lifestream">LifeStream</a>&#8221; &#8211; based on the same <a href="http://en.wikipedia.org/wiki/Lifestreaming">concept</a> that facebook uses to aggregate many social sites into one &#8216;stream&#8217;. Ironically, I disabled facebook from showing up on the stream because it was posting way too much. Though the upside is, it gave me an idea for getting my whole cross-posting idea to work that I&#8217;m going to explore later. Originally I was trying to use my blog to push data to all the other services I use, but I figured I could also use facebook to push to my blog and from my blog to the rest of the services. I&#8217;d have to work out how I could make my blog still push unique posts to facebook and not push those specific posts but I haven&#8217;t really looked at any code yet so I&#8217;ll figure it out then.</p><p>Next, I finally figured out how to set up my blog as an <a href="http://en.wikipedia.org/wiki/Open_id">OpenID</a> provider <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> So instead of remembering that convoluted verisign address that I *ALWAYS* forget, I can just use my blog address. Nice and simple.</p><p>I&#8217;ve added a massive caching system and found another use for my <a href="https://s3.amazonaws.com/">Amazon S3</a> account! I decided to create a new s3 bucket and linked it to <a href="http://aws.amazon.com/cloudfront/">Amazon&#8217;s Cloud Front</a>. All media, most javascript, css, etc&#8230; is now served from local amazon end points (@ cloud.theootz.com) instead of my hosting provider <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> I haven&#8217;t tested to see if this has resulted in any real speed improvement, but at least at a glance it seems to help a lot.</p><p>And to end it off, I found a wordpress plug-in for managing resume&#8217;s that I&#8217;m looking at using for posting my CV up on the site. Haven&#8217;t fiddled with it much yet but it seems to hold promise. Also another plug-in to find and display &#8216;related posts&#8217; at the bottom of each post I make. Gotta love wordpress plug-ins <img src='http://www.hardeep.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fspeed-projects-and-features-oh-my%2F&amp;linkname=Speed%2C%20projects%20and%20features%20%26%238211%3B%20oh%20my%21" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fspeed-projects-and-features-oh-my%2F&amp;linkname=Speed%2C%20projects%20and%20features%20%26%238211%3B%20oh%20my%21" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_button_reddit" href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fspeed-projects-and-features-oh-my%2F&amp;linkname=Speed%2C%20projects%20and%20features%20%26%238211%3B%20oh%20my%21" title="Reddit" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a class="a2a_button_tumblr" href="http://www.addtoany.com/add_to/tumblr?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fspeed-projects-and-features-oh-my%2F&amp;linkname=Speed%2C%20projects%20and%20features%20%26%238211%3B%20oh%20my%21" title="Tumblr" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/tumblr.png" width="16" height="16" alt="Tumblr"/></a> <a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fspeed-projects-and-features-oh-my%2F&amp;linkname=Speed%2C%20projects%20and%20features%20%26%238211%3B%20oh%20my%21" title="Digg" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a class="a2a_button_stumbleupon" href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fspeed-projects-and-features-oh-my%2F&amp;linkname=Speed%2C%20projects%20and%20features%20%26%238211%3B%20oh%20my%21" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fspeed-projects-and-features-oh-my%2F&amp;linkname=Speed%2C%20projects%20and%20features%20%26%238211%3B%20oh%20my%21" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a class="a2a_button_google_reader" href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fspeed-projects-and-features-oh-my%2F&amp;linkname=Speed%2C%20projects%20and%20features%20%26%238211%3B%20oh%20my%21" title="Google Reader" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share</a></p><p>Related posts:<ol><li><a href='http://www.hardeep.me/2010/03/videocross-post-test-second-attempt/' rel='bookmark' title='Permanent Link: video+cross post test, second attempt'>video+cross post test, second attempt</a></li><li><a href='http://www.hardeep.me/2010/02/da-stank-bank-uploader/' rel='bookmark' title='Permanent Link: Da Stank Bank &#8220;Uploader&#8221;'>Da Stank Bank &#8220;Uploader&#8221;</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.hardeep.me/2010/03/speed-projects-and-features-oh-my/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>video+cross post test, second attempt</title><link>http://www.hardeep.me/2010/03/videocross-post-test-second-attempt/</link> <comments>http://www.hardeep.me/2010/03/videocross-post-test-second-attempt/#comments</comments> <pubDate>Tue, 16 Mar 2010 10:26:39 +0000</pubDate> <dc:creator>theootz</dc:creator> <category><![CDATA[Random]]></category> <category><![CDATA[test]]></category> <category><![CDATA[video]]></category> <category><![CDATA[youtube]]></category><guid isPermaLink="false">http://www.theootz.com/?p=186</guid> <description><![CDATA[<p>Alrighty, here&#8217;s another attempt at cross posting to facebook + twitter + tumblr from my blog. Previously I had my posts being pushed to tumblr and twitter, and then tumblr pushing to facebook. But this made the facebook link back to tumblr and depending on the type of post may not display all my text on FB itself. So now I&#8217;m trying to get WP to push directly to FB&#8230;</p><p>And of course an embed test.</p><p>Related posts:<ol><li><a href='http://www.hardeep.me/2010/03/videocross-posting-test/' rel='bookmark' title='Permanent Link: video+cross posting test'>video+cross posting test</a></li><li><a href='http://www.hardeep.me/2010/03/speed-projects-and-features-oh-my/' rel='bookmark' title='Permanent Link: Speed, projects and features &#8211; oh my!'>Speed, projects and features &#8211; oh my!</a></li><li><a href='http://www.hardeep.me/2010/10/an-experiment-in-3d-max/' rel='bookmark' title='Permanent Link: An experiment in 3D Max :o'>An experiment in 3D Max :o</a></li></ol></p>Related posts:<ol><li><a href='http://www.hardeep.me/2010/03/videocross-posting-test/' rel='bookmark' title='Permanent Link: video+cross posting test'>video+cross posting test</a></li><li><a href='http://www.hardeep.me/2010/03/speed-projects-and-features-oh-my/' rel='bookmark' title='Permanent Link: Speed, projects and features &#8211; oh my!'>Speed, projects and features &#8211; oh my!</a></li><li><a href='http://www.hardeep.me/2010/10/an-experiment-in-3d-max/' rel='bookmark' title='Permanent Link: An experiment in 3D Max :o'>An experiment in 3D Max :o</a></li></ol>]]></description> <content:encoded><![CDATA[<p>Alrighty, here&#8217;s another attempt at cross posting to facebook + twitter + tumblr from my blog. Previously I had my posts being pushed to tumblr and twitter, and then tumblr pushing to facebook. But this made the facebook link back to tumblr and depending on the type of post may not display all my text on FB itself. So now I&#8217;m trying to get WP to push directly to FB&#8230;</p><p><a href="http://www.hardeep.me/2010/03/videocross-post-test-second-attempt/"><em>Click here to view the embedded video.</em></a></p><p>And of course an embed test.</p><p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fvideocross-post-test-second-attempt%2F&amp;linkname=video%2Bcross%20post%20test%2C%20second%20attempt" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fvideocross-post-test-second-attempt%2F&amp;linkname=video%2Bcross%20post%20test%2C%20second%20attempt" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_button_reddit" href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fvideocross-post-test-second-attempt%2F&amp;linkname=video%2Bcross%20post%20test%2C%20second%20attempt" title="Reddit" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a class="a2a_button_tumblr" href="http://www.addtoany.com/add_to/tumblr?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fvideocross-post-test-second-attempt%2F&amp;linkname=video%2Bcross%20post%20test%2C%20second%20attempt" title="Tumblr" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/tumblr.png" width="16" height="16" alt="Tumblr"/></a> <a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fvideocross-post-test-second-attempt%2F&amp;linkname=video%2Bcross%20post%20test%2C%20second%20attempt" title="Digg" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a class="a2a_button_stumbleupon" href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fvideocross-post-test-second-attempt%2F&amp;linkname=video%2Bcross%20post%20test%2C%20second%20attempt" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fvideocross-post-test-second-attempt%2F&amp;linkname=video%2Bcross%20post%20test%2C%20second%20attempt" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a class="a2a_button_google_reader" href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fvideocross-post-test-second-attempt%2F&amp;linkname=video%2Bcross%20post%20test%2C%20second%20attempt" title="Google Reader" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share</a></p><p>Related posts:<ol><li><a href='http://www.hardeep.me/2010/03/videocross-posting-test/' rel='bookmark' title='Permanent Link: video+cross posting test'>video+cross posting test</a></li><li><a href='http://www.hardeep.me/2010/03/speed-projects-and-features-oh-my/' rel='bookmark' title='Permanent Link: Speed, projects and features &#8211; oh my!'>Speed, projects and features &#8211; oh my!</a></li><li><a href='http://www.hardeep.me/2010/10/an-experiment-in-3d-max/' rel='bookmark' title='Permanent Link: An experiment in 3D Max :o'>An experiment in 3D Max :o</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.hardeep.me/2010/03/videocross-post-test-second-attempt/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Da Stank Bank Uploader – progress!</title><link>http://www.hardeep.me/2010/03/da-stank-bank-uploader-progress/</link> <comments>http://www.hardeep.me/2010/03/da-stank-bank-uploader-progress/#comments</comments> <pubDate>Tue, 16 Mar 2010 05:05:46 +0000</pubDate> <dc:creator>theootz</dc:creator> <category><![CDATA[programming]]></category> <category><![CDATA[da stank bank]]></category> <category><![CDATA[design]]></category> <category><![CDATA[projects]]></category><guid isPermaLink="false">http://www.theootz.com/?p=168</guid> <description><![CDATA[<p>Got a chance to sit down and finally do some more coding for this project which has been neglected for long enough now :/</p><p>I managed to add effectively full (for the program&#8217;s purposes anyways) youtube support to the program now. So it&#8217;ll batch render the mp3s to videos, and then upload all of them to youtube. The user can choose a youtube description for each file or just use the default one, as well as tags, the youtube category (synch&#8217;d with their <a href="http://gdata.youtube.com/schemas/2007/categories.cat">schema</a>), tags, etc&#8230;</p><p>Next up is figuring out the wordpress API to make posts on there,[&#8230;] <a href="http://www.hardeep.me/2010/03/da-stank-bank-uploader-progress/" class="read_more">read more</a></p>Related posts:<ol><li><a href='http://www.hardeep.me/2010/02/da-stank-bank-uploader/' rel='bookmark' title='Permanent Link: Da Stank Bank &#8220;Uploader&#8221;'>Da Stank Bank &#8220;Uploader&#8221;</a></li><li><a href='http://www.hardeep.me/2010/01/da-stank-bank-2/' rel='bookmark' title='Permanent Link: Da Stank Bank!'>Da Stank Bank!</a></li><li><a href='http://www.hardeep.me/2010/03/videocross-post-test-second-attempt/' rel='bookmark' title='Permanent Link: video+cross post test, second attempt'>video+cross post test, second attempt</a></li></ol>]]></description> <content:encoded><![CDATA[<p>Got a chance to sit down and finally do some more coding for this project which has been neglected for long enough now :/</p><p>I managed to add effectively full (for the program&#8217;s purposes anyways) youtube support to the program now. So it&#8217;ll batch render the mp3s to videos, and then upload all of them to youtube. The user can choose a youtube description for each file or just use the default one, as well as tags, the youtube category (synch&#8217;d with their <a href="http://gdata.youtube.com/schemas/2007/categories.cat">schema</a>), tags, etc&#8230;</p><p>Next up is figuring out the wordpress API to make posts on there, changing album art and video art per file. I might also decide to change the way it uploads the file to youtube and do it manually instead of using their .net library so I can add a progress bar but that would come after I&#8217;ve finished the more necessary features.</p><p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fda-stank-bank-uploader-progress%2F&amp;linkname=Da%20Stank%20Bank%20Uploader%20%26%238211%3B%20progress%21" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fda-stank-bank-uploader-progress%2F&amp;linkname=Da%20Stank%20Bank%20Uploader%20%26%238211%3B%20progress%21" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_button_reddit" href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fda-stank-bank-uploader-progress%2F&amp;linkname=Da%20Stank%20Bank%20Uploader%20%26%238211%3B%20progress%21" title="Reddit" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a class="a2a_button_tumblr" href="http://www.addtoany.com/add_to/tumblr?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fda-stank-bank-uploader-progress%2F&amp;linkname=Da%20Stank%20Bank%20Uploader%20%26%238211%3B%20progress%21" title="Tumblr" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/tumblr.png" width="16" height="16" alt="Tumblr"/></a> <a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fda-stank-bank-uploader-progress%2F&amp;linkname=Da%20Stank%20Bank%20Uploader%20%26%238211%3B%20progress%21" title="Digg" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a class="a2a_button_stumbleupon" href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fda-stank-bank-uploader-progress%2F&amp;linkname=Da%20Stank%20Bank%20Uploader%20%26%238211%3B%20progress%21" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fda-stank-bank-uploader-progress%2F&amp;linkname=Da%20Stank%20Bank%20Uploader%20%26%238211%3B%20progress%21" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a class="a2a_button_google_reader" href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fda-stank-bank-uploader-progress%2F&amp;linkname=Da%20Stank%20Bank%20Uploader%20%26%238211%3B%20progress%21" title="Google Reader" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share</a></p><p>Related posts:<ol><li><a href='http://www.hardeep.me/2010/02/da-stank-bank-uploader/' rel='bookmark' title='Permanent Link: Da Stank Bank &#8220;Uploader&#8221;'>Da Stank Bank &#8220;Uploader&#8221;</a></li><li><a href='http://www.hardeep.me/2010/01/da-stank-bank-2/' rel='bookmark' title='Permanent Link: Da Stank Bank!'>Da Stank Bank!</a></li><li><a href='http://www.hardeep.me/2010/03/videocross-post-test-second-attempt/' rel='bookmark' title='Permanent Link: video+cross post test, second attempt'>video+cross post test, second attempt</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.hardeep.me/2010/03/da-stank-bank-uploader-progress/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>video+cross posting test</title><link>http://www.hardeep.me/2010/03/videocross-posting-test/</link> <comments>http://www.hardeep.me/2010/03/videocross-posting-test/#comments</comments> <pubDate>Sun, 14 Mar 2010 17:11:57 +0000</pubDate> <dc:creator>theootz</dc:creator> <category><![CDATA[Random]]></category> <category><![CDATA[test]]></category> <category><![CDATA[video]]></category> <category><![CDATA[vimeo]]></category><guid isPermaLink="false">http://www.theootz.com/?p=166</guid> <description><![CDATA[<p>Trying to see if I can get a video to post properly on here, facebook, tumblr and link from twitter while only making a single post here. That, and this is a damned cool video anyways!</p><p><a href="http://vimeo.com/1109226">Higher quality vimeo link</a><br /> Youtube embed&#8230;cause I think this should get embedded on tumblr?<br /> <object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/pmfHHLfbjNQ&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/pmfHHLfbjNQ&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p><p>Related posts:<ol><li><a href='http://www.hardeep.me/2010/03/videocross-post-test-second-attempt/' rel='bookmark' title='Permanent Link: video+cross post test, second attempt'>video+cross post test, second attempt</a></li><li><a href='http://www.hardeep.me/2010/02/da-stank-bank-uploader/' rel='bookmark' title='Permanent Link: Da Stank Bank &#8220;Uploader&#8221;'>Da Stank Bank &#8220;Uploader&#8221;</a></li><li><a href='http://www.hardeep.me/2010/10/an-experiment-in-3d-max/' rel='bookmark' title='Permanent Link: An experiment in 3D Max :o'>An experiment in 3D Max :o</a></li></ol></p>Related posts:<ol><li><a href='http://www.hardeep.me/2010/03/videocross-post-test-second-attempt/' rel='bookmark' title='Permanent Link: video+cross post test, second attempt'>video+cross post test, second attempt</a></li><li><a href='http://www.hardeep.me/2010/02/da-stank-bank-uploader/' rel='bookmark' title='Permanent Link: Da Stank Bank &#8220;Uploader&#8221;'>Da Stank Bank &#8220;Uploader&#8221;</a></li><li><a href='http://www.hardeep.me/2010/10/an-experiment-in-3d-max/' rel='bookmark' title='Permanent Link: An experiment in 3D Max :o'>An experiment in 3D Max :o</a></li></ol>]]></description> <content:encoded><![CDATA[<p>Trying to see if I can get a video to post properly on here, facebook, tumblr and link from twitter while only making a single post here. That, and this is a damned cool video anyways!</p><p><a href="http://vimeo.com/1109226">Higher quality vimeo link</a><br /> Youtube embed&#8230;cause I think this should get embedded on tumblr?<br /> <object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/pmfHHLfbjNQ&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/pmfHHLfbjNQ&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p><p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fvideocross-posting-test%2F&amp;linkname=video%2Bcross%20posting%20test" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fvideocross-posting-test%2F&amp;linkname=video%2Bcross%20posting%20test" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_button_reddit" href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fvideocross-posting-test%2F&amp;linkname=video%2Bcross%20posting%20test" title="Reddit" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a> <a class="a2a_button_tumblr" href="http://www.addtoany.com/add_to/tumblr?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fvideocross-posting-test%2F&amp;linkname=video%2Bcross%20posting%20test" title="Tumblr" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/tumblr.png" width="16" height="16" alt="Tumblr"/></a> <a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fvideocross-posting-test%2F&amp;linkname=video%2Bcross%20posting%20test" title="Digg" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a class="a2a_button_stumbleupon" href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fvideocross-posting-test%2F&amp;linkname=video%2Bcross%20posting%20test" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fvideocross-posting-test%2F&amp;linkname=video%2Bcross%20posting%20test" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a class="a2a_button_google_reader" href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fwww.hardeep.me%2F2010%2F03%2Fvideocross-posting-test%2F&amp;linkname=video%2Bcross%20posting%20test" title="Google Reader" rel="nofollow" target="_blank"><img src="http://www.hardeep.me/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share</a></p><p>Related posts:<ol><li><a href='http://www.hardeep.me/2010/03/videocross-post-test-second-attempt/' rel='bookmark' title='Permanent Link: video+cross post test, second attempt'>video+cross post test, second attempt</a></li><li><a href='http://www.hardeep.me/2010/02/da-stank-bank-uploader/' rel='bookmark' title='Permanent Link: Da Stank Bank &#8220;Uploader&#8221;'>Da Stank Bank &#8220;Uploader&#8221;</a></li><li><a href='http://www.hardeep.me/2010/10/an-experiment-in-3d-max/' rel='bookmark' title='Permanent Link: An experiment in 3D Max :o'>An experiment in 3D Max :o</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.hardeep.me/2010/03/videocross-posting-test/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 74/329 queries in 0.771 seconds using disk
Object Caching 3859/4096 objects using disk
Content Delivery Network via Amazon Web Services: CloudFront: Amazon Web Services: S3: cloud.theootz.com

Served from: www.theootz.com @ 2012-04-04 17:21:22 -->

