<?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/" version="2.0">

<channel>
	<title>Coolestan</title>
	
	<link>http://www.coolestan.com</link>
	<description>Ramblings About Technology, Music and Other Stuff</description>
	<lastBuildDate>Thu, 04 Mar 2010 17:06:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Coolestan" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="coolestan" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">Coolestan</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Radio Javan Desktop Wallpapers</title>
		<link>http://www.coolestan.com/2010/03/04/radio-javan-desktop-wallpapers/</link>
		<comments>http://www.coolestan.com/2010/03/04/radio-javan-desktop-wallpapers/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 12:28:56 +0000</pubDate>
		<dc:creator>Hamed</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[Radio Javan]]></category>

		<guid isPermaLink="false">http://www.coolestan.com/?p=314</guid>
		<description><![CDATA[Here are two Radio Javan desktop wallpapers&#8230; enjoy!
 
Download Red 1900&#215;1200 &#124;    Download Green 1900&#215;1200
]]></description>
			<content:encoded><![CDATA[<p>Here are two Radio Javan desktop wallpapers&#8230; enjoy!</p>
<p><img class="alignnone size-medium wp-image-315" title="radio_javan_red_1900x1200" src="http://www.coolestan.com/wp-content/uploads/2010/03/radio_javan_red_1900x1200-300x189.png" alt="" width="300" height="189" /> <img class="alignnone size-medium wp-image-316" title="radio_javan_green_1900x1200" src="http://www.coolestan.com/wp-content/uploads/2010/03/radio_javan_green_1900x1200-300x189.png" alt="" width="300" height="189" /></p>
<p><a href="http://assets.radiojavan.com/static/specials/wallpapers/radio_javan_red_1900x1200.png" target="_blank" rel="lightbox[314]">Download Red 1900&#215;1200</a> |    <a href="http://assets.radiojavan.com/static/specials/wallpapers/radio_javan_green_1900x1200.png" target="_blank" rel="lightbox[314]">Download Green 1900&#215;1200</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.coolestan.com/2010/03/04/radio-javan-desktop-wallpapers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What A Million Views Mean</title>
		<link>http://www.coolestan.com/2010/02/23/what-a-million-views-mean/</link>
		<comments>http://www.coolestan.com/2010/02/23/what-a-million-views-mean/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 20:23:32 +0000</pubDate>
		<dc:creator>Hamed</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[Radio Javan]]></category>

		<guid isPermaLink="false">http://www.coolestan.com/?p=293</guid>
		<description><![CDATA[A few weeks ago at Radio Javan, we premiered the new video &#8220;Alaki&#8221; by recording artist Siavash Ghomayshi. After about 18 days (as of this writing), it has been viewed over 1,300,000 times, which easily makes it the most popular video ever on RJ. The closest other videos have come have been around 300-400k views.

Now [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago at Radio Javan, we premiered the new video <a href="http://www.radiojavan.com/music/video/siavash-ghomayshi-alaki" target="_blank">&#8220;Alaki&#8221;</a> by recording artist Siavash Ghomayshi. After about 18 days (as of this writing), it has been viewed over 1,300,000 times, which easily makes it the most popular video ever on RJ. The closest other videos have come have been around 300-400k views.</p>
<p><a href="http://www.coolestan.com/wp-content/uploads/2010/02/Screen-shot-2010-02-22-at-9.49.57-PM.png" rel="lightbox[293]"><img class="alignnone size-medium wp-image-298" title="Screen shot 2010-02-22 at 9.49.57 PM" src="http://www.coolestan.com/wp-content/uploads/2010/02/Screen-shot-2010-02-22-at-9.49.57-PM-300x194.png" alt="" width="300" height="194" /></a></p>
<p>Now it seems this has caused controversies with &#8220;some&#8221; claiming that these views are fake and RJ is making it up. We&#8217;ve strived to make our video views count show up accurately. While we make sure that if the same person views the video twice within a certain amount of time that it only counts once, maybe sites like Youtube are more restrictive and their period of time is longer than ours. I&#8217;m not sure because they don&#8217;t publish their algorithms on what a &#8220;view&#8221; is. But I can tell you that the video file for the Siavash Ghomayshi video definitely has been served up over a million times, at least.</p>
<p>If you compare this video with other videos on our website, you can easily see that the statistics for it are through the roof. It has about 3,000 votes. And with what definitely can not be faked by RJ, you can see that it has almost 10,000 shares on Facebook. If everyone of those shares were done by people that have an average of 200 friends and say only 20 of those friends ended up watching the video, well you can see where a lot of the views can come from. And to be clear, our view count also includes views from both Facebook shares and our popular iPhone app.</p>
<p>However, what&#8217;s really interesting is that some of the staff of one of our competitor&#8217;s websites, Bia2, have started a <a href="http://bia2.com/forum/index.php?showtopic=6345">thread on their forum</a> and accusing RJ of faking the view counts on the Siavash Ghomayshi video. But their &#8220;data&#8221; is completely flawed. They decided to use Alexa&#8217;s numbers to show that the video could not possible have had that many views. Now, Alexa&#8217;s accuracy is <a href="http://techcrunch.com/2007/08/13/alexa-says-youtube-is-now-bigger-than-google-theyre-wrong/">completely bogus</a> but let&#8217;s pretend it&#8217;s not.</p>
<p>In their post, Bia2&#8217;s calculation is based on the number that Alexa provides for RJ, which is 50,677, and they calculate that to mean how many visitors RJ gets every day. Except that number is the ranking of RJ compared to other websites, not the site&#8217;s daily traffic. If it was, then Google would have <a href="http://www.alexa.com/siteinfo/google.com">1 visitor a day</a>.</p>
<p>And this is where it gets downright ironic. If you go to the videos that Bia2 displays, their &#8220;view&#8221; count number is always evenly divisible by 6. How is that possible? Hmm&#8230; Here are two screenshots of this before they fix this.</p>
<p><a href="http://www.coolestan.com/wp-content/uploads/2010/02/Screen-shot-2010-02-22-at-9.43.23-PM.png" rel="lightbox[293]"><img class="alignnone size-medium wp-image-295" title="Screen shot 2010-02-22 at 9.43.23 PM" src="http://www.coolestan.com/wp-content/uploads/2010/02/Screen-shot-2010-02-22-at-9.43.23-PM-300x194.png" alt="" width="300" height="194" /></a><a href="http://www.coolestan.com/wp-content/uploads/2010/02/Screen-shot-2010-02-22-at-9.43.35-PM.png" rel="lightbox[293]"><img class="alignnone size-medium wp-image-296" title="Screen shot 2010-02-22 at 9.43.35 PM" src="http://www.coolestan.com/wp-content/uploads/2010/02/Screen-shot-2010-02-22-at-9.43.35-PM-300x194.png" alt="" width="300" height="194" /></a></p>
<p>And let me say one more important thing about the Siavash Ghomayshi video &#8212; everyone of us at RJ were shocked at the traffic for this video and we did not expect it. Our traffic levels on those first few days of the premiere matched the levels we&#8217;d see during the Persian New Year (Saal Tahvil) time, which is the biggest time every year. Looking back, there&#8217;s a few things that I think contributed to this success. One, we had teasers and advertisements for the video before the release. Two, Siavash&#8217;s management did an unbelievable job in promoting the video on their own. Three, there are many, many web blogs that are dedicated to Siavash and helped spread this video. And four, Siavash is pretty damn popular on the internet (much more than most artists).</p>
<p>I&#8217;m not the type of person that brags about how good RJ is, and I hope I didn&#8217;t come across like that in this post. We do our thing and let people decide, which is what matters most. I was surprised, though, to see the staff members of Bia2 venting out their frustration in public. We all know the Persian industry is a small community, and it needs everyone&#8217;s support to keep growing. Competition is a good thing, it keeps the industry on its toes and doesn&#8217;t let a few people dictate its destiny. We&#8217;ve never tried to play favorites at RJ and try to treat everyone as fairly as possible. As an example, if an artist works with one of our competitors, it doesn&#8217;t mean that we&#8217;re going to boycott them. We will still support them. That&#8217;s who we are, and that&#8217;s how we operate.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coolestan.com/2010/02/23/what-a-million-views-mean/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mobile Web For Radio Javan</title>
		<link>http://www.coolestan.com/2009/12/22/mobile-web-for-radio-javan/</link>
		<comments>http://www.coolestan.com/2009/12/22/mobile-web-for-radio-javan/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 17:37:49 +0000</pubDate>
		<dc:creator>Hamed</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Radio Javan]]></category>

		<guid isPermaLink="false">http://www.coolestan.com/?p=282</guid>
		<description><![CDATA[Just recently, I launched a new version of Radio Javan&#8217;s site for the mobile web (finally) which works on the iPhone, Android, and Palm Pre phones (essentially anything running a WebKit-based browser). Even though mobile formatted versions of sites is nothing new, it was a never a high priority for me compared to other development [...]]]></description>
			<content:encoded><![CDATA[<p>Just recently, I launched a new version of Radio Javan&#8217;s site for the mobile web (finally) which works on the iPhone, Android, and Palm Pre phones (essentially anything running a WebKit-based browser). Even though mobile formatted versions of sites is nothing new, it was a never a high priority for me compared to other development tasks. But over the last few months, the front page of Radio Javan has grown with a lot of content and images that take a while to load which makes it hard to use on 3G networks.</p>
<p>When I started, the first thing that I did was research on some existing iPhone frameworks, such as the popular iUI and the new jQTouch. But they all try to copy the iPhone native style too much and none of them really allowed me to have a custom look and feel. I looked towards some of the sites that I visit frequently on my iPhone such as ESPN, Google Reader, and Facebook, and what did they all have in common &#8212; they looked custom made.</p>
<p>So I spent a few weeks figuring out and writing the framework from scratch before I built out the individual pages. What did this involve? Just only less than 300 lines of jQuery code and the necessary CSS. But it really isn&#8217;t anything too genius, just took some time figuring out what I wanted. By the way, it is insanely easy and fun when working on supporting only one browser (Webkit), and then to have that browser support all the latest CSS.</p>
<p>The end result? <a href="http://m.radiojavan.com" target="_blank">http://m.radiojavan.com</a></p>
<p>I&#8217;ve currently done the most popular sections which includes Music Videos, Events (with geo location), and Podcasts. If you have any feedback, please let me know!</p>
<p><a href="http://www.coolestan.com/wp-content/uploads/2009/12/photo-1.jpg" rel="lightbox[282]"><img class="alignnone size-medium wp-image-283" title="photo 1" src="http://www.coolestan.com/wp-content/uploads/2009/12/photo-1-200x300.jpg" alt="photo 1" width="200" height="300" /></a> <a href="http://www.coolestan.com/wp-content/uploads/2009/12/photo-3.jpg" rel="lightbox[282]"><img class="alignnone size-medium wp-image-284" title="photo 3" src="http://www.coolestan.com/wp-content/uploads/2009/12/photo-3-200x300.jpg" alt="photo 3" width="200" height="300" /></a></p>
<p><a href="http://www.coolestan.com/wp-content/uploads/2009/12/photo-3.jpg" rel="lightbox[282]"></a> <a href="http://www.coolestan.com/wp-content/uploads/2009/12/photo-4.jpg" rel="lightbox[282]"><img class="alignnone size-medium wp-image-285" title="photo 4" src="http://www.coolestan.com/wp-content/uploads/2009/12/photo-4-200x300.jpg" alt="photo 4" width="200" height="300" /></a> <a href="http://www.coolestan.com/wp-content/uploads/2009/12/photo-2.jpg" rel="lightbox[282]"><img class="alignnone size-medium wp-image-287" title="photo 2" src="http://www.coolestan.com/wp-content/uploads/2009/12/photo-2-200x300.jpg" alt="photo 2" width="200" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.coolestan.com/2009/12/22/mobile-web-for-radio-javan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook Connect With Rails</title>
		<link>http://www.coolestan.com/2009/09/14/facebook-connect-with-rails/</link>
		<comments>http://www.coolestan.com/2009/09/14/facebook-connect-with-rails/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 15:55:14 +0000</pubDate>
		<dc:creator>Hamed</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Radio Javan]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.coolestan.com/?p=275</guid>
		<description><![CDATA[I just finished up with our Facebook Connect integration on Radio Javan&#8217;s site to allow users to to login to our site via their Facebook account. While I was lucky enough that there are some good Rails guides and API helpers, it was still an interesting experience. The FB APIs are pretty straightforward, but at [...]]]></description>
			<content:encoded><![CDATA[<p>I just finished up with our Facebook Connect integration on Radio Javan&#8217;s site to allow users to to login to our site via their Facebook account. While I was lucky enough that there are some good Rails guides and API helpers, it was still an interesting experience. The FB APIs are pretty straightforward, but at the end of the day you are at the mercy of FB on whether or not anything actually works!</p>
<ul>
<li> I started off with this <a href="http://passthehash.com/hash/2009/05/how-to-facebook-connect-your-rails-app.html" target="_blank">great guide and example project</a>. Like most Facebook/Rails integrations, this project makes use of the awesome <a href="http://github.com/mmangino/facebooker" target="_blank">Facebooker</a> library &#8212; I say &#8220;awesome&#8221; because the author still keeps it updated.</li>
<li>Part of getting the integration working is that you have to send a &#8220;facebook.connect.registerUsers&#8221; command to register your existing users with FB. This API allows you to send accounts in batches of 1,000 &#8212; but it doesn&#8217;t work if you do it that high (you get HTTP errors and no-ops). In fact, I couldn&#8217;t even get it working in batches of 100, so I just ended up doing a call for each user (that would be almost 40,000+ calls for RJ).</li>
<li>One important thing to note is that FB never sends the account&#8217;s email address to you. So if you want to know a new user&#8217;s email address (which is a must for RJ), then you should just simply ask for it in a signup form after they authenticated your app thru FB.</li>
<li>A tricky problem is what to do if the user already has an account on your website with a DIFFERENT email address than their FB account. I&#8217;m still trying to figure this one out &#8212; I&#8217;ve seen other sites simply tell the users not to do this and use the same email, and I don&#8217;t think that&#8217;ll be a friendly behavior. Right now, I look to see if the user is already logged into RJ and determine it based on that.</li>
<li>Oh, this post would not be complete without a <strong>great Internet Explorer story</strong>. So if parts of your site runs on SSL, then you need to include the <a href="http://wiki.developers.facebook.com/index.php/Facebook_Connect_Via_SSL" target="_blank">SSL versions</a> of Facebook&#8217;s Javascript files (which in turn pulls in the SSL versions of images, css, etc that it needs). The reason for this is to avoid the classic &#8220;this page both contains secure and non-secure items&#8221; from IE. So what happens when you use the SSL resources from Facebook? A big, ugly, show-stopping Javascript error (and why does it have to be about Flash?). The reason I mentioned earlier you are the mercy of FB is because I think this used to work, and they updated their JS library recently as the bugs just started <a href="http://forum.developers.facebook.com/viewtopic.php?id=33060" target="_blank">showing up for people the last few weeks</a>. My answer for now: no SSL pages for in IE &#8212; IE users don&#8217;t really care about security, do they?</li>
</ul>
<p>Anyways, now that my integration is complete, I&#8217;m looking forward in doing more things such as publishing to the news feed. And did anyone say <a href="http://wiki.developers.facebook.com/index.php/Facebook_Connect_for_iPhone" target="_blank">Facebook Connect with iPhone</a>?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coolestan.com/2009/09/14/facebook-connect-with-rails/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Snow Leopard Impressions</title>
		<link>http://www.coolestan.com/2009/08/31/snow-leopard-impressions/</link>
		<comments>http://www.coolestan.com/2009/08/31/snow-leopard-impressions/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 22:49:58 +0000</pubDate>
		<dc:creator>Hamed</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Snow Leopard]]></category>

		<guid isPermaLink="false">http://www.coolestan.com/?p=266</guid>
		<description><![CDATA[My copy of Snow Leopard was delivered to me on Friday, after an amusing and annoying mess up by Fedex. I decided first to install it on my iMac to make sure everything goes smoothly before I install it on my primary machine (a 15&#8243; MBP). The whole process took about an hour on both [...]]]></description>
			<content:encoded><![CDATA[<p>My copy of Snow Leopard was <a href="http://twitpic.com/flnv3" target="_blank">delivered to me</a> on Friday, after an <a href="http://twitter.com/hamedh/status/3608245909" target="_blank">amusing and annoying mess up by Fedex</a>. I decided first to install it on my iMac to make sure everything goes smoothly before I install it on my primary machine (a 15&#8243; MBP). The whole process took about an hour on both machines and it went by smoothly.. and that includes reinstalling XCode.</p>
<ul>
<li>Everything is faster, especially app load times. Even my old iMac from years ago, which I always dreaded using because of what seemed like hard drive thrashing, now performs very well.</li>
<li>Quicktime has the biggest UI change &#8212; and it&#8217;s okay. For me though, I need to use Quicktime 7 Pro because of the export options that I use for Radio Javan&#8217;s music videos, and Snow Leopard still includes this in the Utilities directory.</li>
<li>Finder has been completely re-written taking advantage of the new libraries (will they ever rewrite iTunes?). I know this because I&#8217;ve read it, but also it is slightly more responsive.</li>
<li>The new Expose that let&#8217;s you do show only windows within a specific app is pretty cool.</li>
<li>After install, I had gigs of hard drive space freed up on both my machines.</li>
<li>I admit, the new wallpapers (the two of the Snow Leopards) are pretty cool.</li>
</ul>
<p>Since Snow Leopard is basically just a rewrite &amp; rework of Leopard, there&#8217;s not much that&#8217;s going to awe you. But for only $30, Apple made a great choice by avoiding the feature creep that shows up on every new OS. They decided to go back and improve everything under the hood. I know the word &#8220;refactor&#8221; scares many of us, but I hope more software developers take notice.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coolestan.com/2009/08/31/snow-leopard-impressions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Recent Perspective On Programming Languages</title>
		<link>http://www.coolestan.com/2009/08/17/my-recent-perspective-on-programming-languages/</link>
		<comments>http://www.coolestan.com/2009/08/17/my-recent-perspective-on-programming-languages/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 15:37:28 +0000</pubDate>
		<dc:creator>Hamed</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.coolestan.com/?p=256</guid>
		<description><![CDATA[Every time I start on a new project, one of the initial questions is always what programming language to use. Most of the time this depends on the actual frameworks available for that language. My opinion has changed over the years as I&#8217;m sure it has for other software developers too. During my years at [...]]]></description>
			<content:encoded><![CDATA[<p>Every time I start on a new project, one of the initial questions is always what programming language to use. Most of the time this depends on the actual frameworks available for that language. My opinion has changed over the years as I&#8217;m sure it has for other software developers too. During my years at Georgia Tech, pretty much every project I worked on was done in C, that&#8217;s what I started out with. Yes, we did Java as well many times, but not nearly as much as C code. At different jobs in my career and as well on personal projects, I&#8217;ve gone from doing C to Java to Javascript to Ruby to Objective-C.</p>
<p>But the most important question is what the requirements of the project you&#8217;re working on is. Often developers end up using a language/framework that they&#8217;re familiar with (which is a valid consideration). Other times we like to try out a new language on a project just to learn something new. Just be careful always to keep the requirements of the project in mind.</p>
<h3>Java</h3>
<p>As a language, Java is great, there&#8217;s not much wrong with it. When you use it properly, it lends itself to use good design patterns. One of it&#8217;s downsides is that it takes more lines of code to do something in Java than a dynamic language. The JVM, however, is a beauty &#8212; it&#8217;s fast, stable, and self-optimizes. But for me when I think of Java I shudder because of the &#8220;enterprise&#8221; stigma attached to it. There&#8217;s so many frameworks and libraries out there, and it&#8217;s very easy to over-architect your project and end up using a framework that at the end of the day doesn&#8217;t perform and becomes bulky. It&#8217;s not Java that&#8217;s the problem, it&#8217;s misuse and misunderstanding of the frameworks that can make your project overly-complicated.</p>
<p>These days I never choose Java when I think about doing a web project, there&#8217;s simply many better choices. However, if I was doing a highly transactional application (such as financial or telecomm), then Java would be my choice.</p>
<h3 style="font-size: 1.17em;">Ruby</h3>
<p>Let&#8217;s face it, Ruby on Rails is a great framework, and it&#8217;s what made Ruby popular. If you diss it because it&#8217;s &#8220;too slow&#8221; for a website, then you just haven&#8217;t done your research. The simplicity of Ruby is what makes Rails work, even though there have been copies of the Rails framework made for other languages. And actually, I really enjoy the development community around Ruby, they really are pushing out great stuff. The one downside (if you can call it that) is that there are so many updates made to the Rails framework that you always have to try and keep up so you&#8217;re doing things the &#8220;Rails way&#8221;.</p>
<p>While Ruby and Rails both make things easier for the developer, that doesn&#8217;t mean that everyone can just write a Rails app and so there&#8217;s no &#8220;skill&#8221; involved. The simplicity provides the developer to think about higher-level problems such as better database models, good design and application flow, and a more intuitive UI.</p>
<h3>Objective-C</h3>
<p>Ahh, not many people choose this ever, but if you ever have coded for OS X or the iPhone you will have done Objective-C. The language is C-based and more or less straight forward. The OO-syntax is kinda funky, but once you get used to it, it&#8217;s fun to use. The big downside for me is that I always find myself having to use some libraries that are C or C++ based inside my Objective-C project. This makes it very confusing when writing code, trying to remember how a method or object should be invoked.. and never mind the difference of memory management between the 3 languages. But I&#8217;m not a complete expert on Objective-C, so I may just be doing things wrong.</p>
<p>By the way, the article that I&#8217;m writing here was inspired from reading <a href="http://amromousa.com/2009/08/15/opinion-of-objective-c/" target="_blank">my buddy Amro&#8217;s opinion</a> on Objective-C.</p>
<h3>Javascript</h3>
<p>Obviously JS is used these days mostly within browsers. In fact, the most painful experiences I&#8217;ve had in software development has come from worrying about different JS implementation across modern browsers. But sometimes it&#8217;s not the exact JS language implementation as opposed to more subtle things such as performance and DOM manipulation.</p>
<p>I&#8217;ll be honest, I enjoy writing JS these days, it&#8217;s not that terrible. I know there&#8217;s many non-web projects that even try to run JS as the back-end server, and why not? After all, JS of course is really a dialect of ECMAScript.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coolestan.com/2009/08/17/my-recent-perspective-on-programming-languages/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Music Copyright Royalty Increases</title>
		<link>http://www.coolestan.com/2009/07/18/music-copyright-royalty-increases/</link>
		<comments>http://www.coolestan.com/2009/07/18/music-copyright-royalty-increases/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 20:18:26 +0000</pubDate>
		<dc:creator>Hamed</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[Music Industry]]></category>
		<category><![CDATA[Satellite Radio]]></category>

		<guid isPermaLink="false">http://www.coolestan.com/?p=246</guid>
		<description><![CDATA[Last week I got the following email from XM satellite radio saying that they are raising my monthly fee because of increases to the royalties they have to pay for playing copyrighted music. This got me upset, not necessarily because of the small fee increase, but because the money is going to just the big [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I got the following email from XM satellite radio saying that they are raising my monthly fee because of increases to the royalties they have to pay for playing copyrighted music. This got me upset, not necessarily because of the small fee increase, but because the money is going to just the big labels. For those of you who don&#8217;t know, there&#8217;s an organization called SoundExchange setup to collect royalties for radio airplay (for satellite and internet only since FM/AM do not pay royalty fees). This organization works hand-in-hand with the RIAA, which represents the handful of big labels. Independent record companies and independent artists hardly are able to recoup any royalties. In practice, even if the radio is playing songs not represented by the RIAA, the money still goes to them! And let&#8217;s face it, how many people have satellite radio to listen to normal Top 20 songs? It&#8217;s a big scam.</p>
<blockquote>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Thank you for being an XM subscriber. We are dedicated to providing our subscribers with the best programming and listener experience available on radio today. As part of this commitment, we have an important update regarding your XM subscription.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Music royalty rights were established by the U.S. Congress as part of the Copyright Act. This Act requires payment of copyright music royalties to recording artists, musicians and recording companies who hold copyrights in sound recordings.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">These royalties have recently increased dramatically, principally as a result of a decision made by the Copyright Royalty Board, which is designated by the Library of Congress to set royalty rates for sound recordings. Beginning on July 29, 2009, a “U.S. Music Royalty Fee” of $1.98/month* for primary subscriptions and $.97/month* for multi-receiver subscriptions will be effective upon your next renewal. This fee will be used directly to offset increased payments from XM to the recording industry.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Unfortunately, we cannot control the Copyright Royalty Board&#8217;s rate increase, but we can offer you ways to save on your subscription. The longer your subscription, the more you save!Thank you for being an XM subscriber. We are dedicated to providing our subscribers with the best programming and listener experience available on radio today. As part of this commitment, we have an important update regarding your XM subscription.</div>
<p><span style="color: #808080;">Music royalty rights were established by the U.S. Congress as part of the Copyright Act. This Act requires payment of copyright music royalties to recording artists, musicians and recording companies who hold copyrights in sound recordings. </span></p>
<p><span style="color: #808080;">These royalties have recently increased dramatically, principally as a result of a decision made by the Copyright Royalty Board, which is designated by the Library of Congress to set royalty rates for sound recordings. Beginning on July 29, 2009, a “U.S. Music Royalty Fee” of $1.98/month* for primary subscriptions and $.97/month* for multi-receiver subscriptions will be effective upon your next renewal. This fee will be used directly to offset increased payments from XM to the recording industry.</span></p>
<p><span style="color: #808080;">Unfortunately, we cannot control the Copyright Royalty Board&#8217;s rate increase, but we can offer you ways to save on your subscription. The longer your subscription, the more you save!</span></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.coolestan.com/2009/07/18/music-copyright-royalty-increases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where Is My Vote Rallies</title>
		<link>http://www.coolestan.com/2009/07/02/where-is-my-vote-rallies/</link>
		<comments>http://www.coolestan.com/2009/07/02/where-is-my-vote-rallies/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 04:58:06 +0000</pubDate>
		<dc:creator>Hamed</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[#iranelection]]></category>
		<category><![CDATA[Iran]]></category>

		<guid isPermaLink="false">http://www.coolestan.com/?p=235</guid>
		<description><![CDATA[In support of raising awareness about the situation in Iran, people all across the world have been holding rallies, and Atlanta is no exception. The Iranians here have been active in trying to make weekly rallies which have been held so far at CNN/Centennial Park, Piedmont Park (candlelight vigil for Neda), &#38; Lenox Mall. Here [...]]]></description>
			<content:encoded><![CDATA[<p>In support of raising awareness about the situation in Iran, people all across the world have been holding rallies, and Atlanta is no exception. The Iranians here have been active in trying to make weekly rallies which have been held so far at CNN/Centennial Park, Piedmont Park (candlelight vigil for Neda), &amp; Lenox Mall. Here are some recent photos from these events.</p>
				<div id="gallery-14157009" class="flickr-gallery photoset">
													<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=3670771900"><img class="photo" title="IMG_0079" src="http://farm4.static.flickr.com/3647/3670771900_de392273d9_s.jpg" alt="IMG_0079" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=3670772624"><img class="photo" title="IMG_0082" src="http://farm4.static.flickr.com/3396/3670772624_23ac8572c5_s.jpg" alt="IMG_0082" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=3670772988"><img class="photo" title="IMG_0083" src="http://farm4.static.flickr.com/3368/3670772988_f540fc9ae3_s.jpg" alt="IMG_0083" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=3670773318"><img class="photo" title="IMG_0095" src="http://farm4.static.flickr.com/3325/3670773318_28bc19d8d4_s.jpg" alt="IMG_0095" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=3670773616"><img class="photo" title="IMG_0097" src="http://farm3.static.flickr.com/2549/3670773616_ac679afe4b_s.jpg" alt="IMG_0097" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=3670773980"><img class="photo" title="IMG_0098" src="http://farm3.static.flickr.com/2556/3670773980_f80390b758_s.jpg" alt="IMG_0098" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=3669968947"><img class="photo" title="IMG_0099" src="http://farm4.static.flickr.com/3383/3669968947_1c9ddee9e8_s.jpg" alt="IMG_0099" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=3669969345"><img class="photo" title="IMG_0101" src="http://farm4.static.flickr.com/3540/3669969345_08617ab24b_s.jpg" alt="IMG_0101" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=3669969709"><img class="photo" title="IMG_0102" src="http://farm4.static.flickr.com/3657/3669969709_e194f65745_s.jpg" alt="IMG_0102" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=3670775372"><img class="photo" title="IMG_0104" src="http://farm4.static.flickr.com/3336/3670775372_dd95ea9189_s.jpg" alt="IMG_0104" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=3669970485"><img class="photo" title="IMG_0105" src="http://farm3.static.flickr.com/2454/3669970485_308b7c46c5_s.jpg" alt="IMG_0105" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=3670776174"><img class="photo" title="IMG_0107" src="http://farm4.static.flickr.com/3621/3670776174_e201e5ff2b_s.jpg" alt="IMG_0107" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=3670776564"><img class="photo" title="IMG_0110" src="http://farm3.static.flickr.com/2467/3670776564_0f1270bc55_s.jpg" alt="IMG_0110" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=3670776990"><img class="photo" title="IMG_0111" src="http://farm3.static.flickr.com/2557/3670776990_b0f6cbd802_s.jpg" alt="IMG_0111" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=3669972005"><img class="photo" title="IMG_0114" src="http://farm4.static.flickr.com/3210/3669972005_85cb2bbc63_s.jpg" alt="IMG_0114" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=3761802519"><img class="photo" title="IMG_0145" src="http://farm3.static.flickr.com/2469/3761802519_b8af410928_s.jpg" alt="IMG_0145" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=3761803149"><img class="photo" title="IMG_0141" src="http://farm3.static.flickr.com/2577/3761803149_4d2f2f8a2b_s.jpg" alt="IMG_0141" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=3761803859"><img class="photo" title="IMG_0140" src="http://farm3.static.flickr.com/2574/3761803859_2d46081406_s.jpg" alt="IMG_0140" /></a>
								</div>
															<div class="flickr-thumb">
									<a href="http://flickr.com/photo.gne?id=3761807441"><img class="photo" title="IMG_0143" src="http://farm4.static.flickr.com/3470/3761807441_9189343862_s.jpg" alt="IMG_0143" /></a>
								</div>
												<div class="fg-clear"></div>
				</div>
													<div class="fg-clear alignright">Powered by <a href="http://co.deme.me/projects/flickr-gallery/">Flickr Gallery</a></div>
								<div class="fg-clear"></div>
							<script type="text/javascript">
											jQuery(document).ready(function(){
							jQuery("#gallery-14157009 .flickr-thumb img").flightbox();
						});
										
										//-->
				</script>
			
]]></content:encoded>
			<wfw:commentRss>http://www.coolestan.com/2009/07/02/where-is-my-vote-rallies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Following Iran On The Internet #iranelection</title>
		<link>http://www.coolestan.com/2009/06/23/following-iran-on-the-internet-iranelection/</link>
		<comments>http://www.coolestan.com/2009/06/23/following-iran-on-the-internet-iranelection/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 16:13:59 +0000</pubDate>
		<dc:creator>Hamed</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[#iranelection]]></category>
		<category><![CDATA[Iran]]></category>

		<guid isPermaLink="false">http://www.coolestan.com/?p=222</guid>
		<description><![CDATA[The situation in Iran has kept many of us glued to the news trying to get an insight on what&#8217;s going on. Here are some of the best sources that I&#8217;ve found.
Live Blogs/Sites

Huffington Post &#8211; The most updated blog source, the author gathers info from other blogs, articles, Tweets, Youtube videos, and email readers.
NIAC &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>The situation in Iran has kept many of us glued to the news trying to get an insight on what&#8217;s going on. Here are some of the best sources that I&#8217;ve found.</p>
<h2>Live Blogs/Sites</h2>
<ul>
<li><a href="http://www.huffingtonpost.com/2009/06/13/iran-demonstrations-viole_n_215189.html" target="_blank">Huffington Post</a> &#8211; The most updated blog source, the author gathers info from other blogs, articles, Tweets, Youtube videos, and email readers.</li>
<li><a href="http://niacblog.wordpress.com/">NIAC</a> &#8211; Only English live blog that&#8217;s written by Iranians. The information here is more accurate &amp; confirmed than other sites.</li>
<li><a href="http://andrewsullivan.theatlantic.com/the_daily_dish/">The Daily Dish</a> &#8211; Great collection of posts, has many op-ed articles.</li>
<li><a href="http://www.guardian.co.uk/news/blog">Guardian Blog</a> &#8211; They&#8217;ve been having a new live-blog everyday, and they link to many interesting BBC posts.</li>
<li><a href="http://ghalamnews.ir/">Mousavi&#8217;s Official Site</a> &#8211; This is in Persian, there&#8217;s been &#8220;rumors&#8221; that the site has been hacked, but it looks like those were false.</li>
<li><a href="http://www.facebook.com/mousavi">Mousavi&#8217;s Facebook Page</a> &#8211; We don&#8217;t know who the admin of this page is. It&#8217;s fairly accurate, but not everything should be considered as official posts.</li>
</ul>
<h2>Twitter</h2>
<ul>
<li><a href="http://twitter.com/iranbaan">http://twitter.com/iranbaan</a> &#8211; Mostly in Persian, probably the most reliable &amp; confirmed account on Twitter. Very up-to-date.</li>
<li><a href="http://twitter.com/tehranbureau">http://twitter.com/tehranbureau</a> &#8211; Cites many sources from Iran, not always confirmed news.</li>
<li><a href="http://twitter.com/persiankiwi">http://twitter.com/persiankiwi</a> &#8211; I can&#8217;t tell where this user is from, but the info is more or less accurate.</li>
<li><a href="http://twitter.com/jimsciuttoABC">http://twitter.com/jimsciuttoABC</a> &#8211; Reliable ABC News Reporter who was in Iran during the elections.</li>
<li><a href="http://twitter.com/LaraABCNews">http://twitter.com/LaraABCNews</a> &#8211; Reliable ABC News Reporter.</li>
<li><a href="http://search.twitter.com/search?q=%23IranElection">#iranelection Search</a> &#8211; This is, of course, the top trending topic on Twitter for the last 2 weeks. You can search &amp; find many postings here. Unfortunately it&#8217;s almost impossible to confirm anything. There are also many pro-govt accounts who are posting fake info.</li>
</ul>
<h2>Photos</h2>
<ul>
<li><a href="http://twitpic.com/photos/madyar">http://twitpic.com/photos/madyar</a> &#8211; Updated postings, many of them graphic.</li>
<li><a href="http://www.flickr.com/photos/mousavi1388/">http://www.flickr.com/photos/mousavi1388</a></li>
<li><a href="http://www.flickr.com/photos/kosoof">http://www.flickr.com/photos/kosoof</a></li>
</ul>
<p>There are many other sources of information from Persian-only news sites, but I figure other Iranians know where to go for that info instead of me posting them here. I believe this whole situation will take many months to resolve itself, and there will be times that the flow of information or photos/videos will be slow. If you have other good site suggestions, please share them in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coolestan.com/2009/06/23/following-iran-on-the-internet-iranelection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Version of Radio Javan iPhone App</title>
		<link>http://www.coolestan.com/2009/04/08/new-version-of-radio-javan-iphone-app/</link>
		<comments>http://www.coolestan.com/2009/04/08/new-version-of-radio-javan-iphone-app/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 05:23:57 +0000</pubDate>
		<dc:creator>Hamed</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Radio Javan]]></category>

		<guid isPermaLink="false">http://www.coolestan.com/?p=202</guid>
		<description><![CDATA[I just submitted the new version of the Radio Javan iPhone app to Apple, and it should be hitting iTunes soon! Version 2.0 of the app has a few big features as well as many small improvements.
+ New Look &#38; Design
+ Browse and Play Persian Music Videos On WiFi or 3G
+ Search Through Hundreds of [...]]]></description>
			<content:encoded><![CDATA[<p>I just submitted the new version of the Radio Javan iPhone app to Apple, and it should be hitting iTunes soon! Version 2.0 of the app has a few big features as well as many small improvements.</p>
<p>+ New Look &amp; Design<br />
+ Browse and Play Persian Music Videos On WiFi or 3G<br />
+ Search Through Hundreds of Music Videos<br />
+ Listen to Show and DJ Podcasts<br />
+ Added Option for Lower Quality Radio Stream<br />
+ Added Option to Disable Screen Auto-Lock<br />
+ Adjust Volume Using Device Controls</p>
<p>That&#8217;s right, we have just put our ENTIRE collection of music videos on the iPhone app giving you easy access wherever you are. And if you are using WiFi, you&#8217;ll be able to view the videos in high quality. You can now also catch up with the latest podcasts on-demand by streaming them from the app.</p>
<p>We&#8217;ve also improved our radio player, by giving the design a little update to keep it fresh as well as improved streaming quality. And since we&#8217;ve had so many requests for this, there is now an option for a lower quality radio stream (96k), so that if you are somewhere with poor cell coverage, you still would have a chance to listen.</p>
<p><a href="http://www.coolestan.com/wp-content/uploads/2009/04/1.png" rel="lightbox[202]"><img class="alignnone size-medium wp-image-203" title="Radio Javan" src="http://www.coolestan.com/wp-content/uploads/2009/04/1-161x300.png" alt="Radio Javan" width="161" height="300" /></a><a href="http://www.coolestan.com/wp-content/uploads/2009/04/2.png" rel="lightbox[202]"><img class="alignnone size-medium wp-image-208" title="Music Videos" src="http://www.coolestan.com/wp-content/uploads/2009/04/2-161x300.png" alt="Music Videos" width="161" height="300" /></a><a href="http://www.coolestan.com/wp-content/uploads/2009/04/4.png" rel="lightbox[202]"><img class="alignnone size-medium wp-image-210" title="Video Search" src="http://www.coolestan.com/wp-content/uploads/2009/04/4-161x300.png" alt="Video Search" width="161" height="300" /></a></p>
<p><a href="http://www.coolestan.com/wp-content/uploads/2009/04/4.png" rel="lightbox[202]"></a><a href="http://www.coolestan.com/wp-content/uploads/2009/04/31.png" rel="lightbox[202]"><img class="alignnone size-medium wp-image-217" title="Podcasts" src="http://www.coolestan.com/wp-content/uploads/2009/04/31-161x300.png" alt="Podcasts" width="161" height="300" /></a><a href="http://www.coolestan.com/wp-content/uploads/2009/04/5.png" rel="lightbox[202]"><img class="alignnone size-medium wp-image-211" title="Song History" src="http://www.coolestan.com/wp-content/uploads/2009/04/5-161x300.png" alt="Song History" width="161" height="300" /></a><a href="http://www.coolestan.com/wp-content/uploads/2009/04/3.png" rel="lightbox[202]"></a></p>
<p><a href="http://www.coolestan.com/wp-content/uploads/2009/04/5.png" rel="lightbox[202]"></a></p>
<p><img class="alignleft size-full wp-image-206" title="untitled-11" src="http://www.coolestan.com/wp-content/uploads/2009/04/untitled-11.png" alt="untitled-11" width="500" height="210" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.coolestan.com/2009/04/08/new-version-of-radio-javan-iphone-app/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
