<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>Authored by Alex Soulim, a software engineer, author and curator of RubyFlow.ru and RubyJobs.ru.</description><title>Alex Soulim</title><generator>Tumblr (3.0; @soulim)</generator><link>http://soulim.tumblr.com/</link><item><title>"Death is very likely the single best invention of life. It is life’s change agent. It clears out the..."</title><description>“&lt;p&gt;Death is very likely the single best invention of life. It is life’s change agent. It clears out the old to make way for the new. Right now the new is you, but someday not too long from now, you will gradually become the old and be cleared away. Sorry to be so dramatic, but it is quite true.&lt;/p&gt;

&lt;p&gt;Your time is limited, so don’t waste it living someone else’s life. Don’t be trapped by dogma — which is living with the results of other people’s thinking. Don’t let the noise of others’ opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.&lt;/p&gt;”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;span&gt;&lt;a href="http://www.apple.com/"&gt;Steve Jobs&lt;/a&gt;, 1955 - 2011&lt;/span&gt; (via &lt;a href="http://subbotin.me/"&gt;eploko&lt;/a&gt;)&lt;/em&gt;</description><link>http://soulim.tumblr.com/post/11135064562</link><guid>http://soulim.tumblr.com/post/11135064562</guid><pubDate>Fri, 07 Oct 2011 12:45:49 +0400</pubDate></item><item><title>"Your problems aren’t what make you special. Everyone has problems. Your solutions make you special."</title><description>“Your problems aren’t what make you special. Everyone has problems. Your solutions make you special.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://thestartupfoundry.com/2011/03/25/everyone-has-problems-your-solutions-make-you-special-bootstrapping-postmark/"&gt;Everyone has problems. Your solutions make you special. – Bootstrapping Postmark | The Startup Foundry&lt;/a&gt;&lt;/em&gt;</description><link>http://soulim.tumblr.com/post/5098165408</link><guid>http://soulim.tumblr.com/post/5098165408</guid><pubDate>Sun, 01 May 2011 16:04:26 +0400</pubDate></item><item><title>"Don’t give your customers what they ask for; give them what they want."</title><description>“Don’t give your customers what they ask for; give them what they want.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;a href="http://tom.preston-werner.com/2011/03/29/ten-lessons-from-githubs-first-year.html"&gt;Ten Lessons from GitHub’s First Year&lt;/a&gt;&lt;/em&gt;</description><link>http://soulim.tumblr.com/post/4439914775</link><guid>http://soulim.tumblr.com/post/4439914775</guid><pubDate>Fri, 08 Apr 2011 20:50:42 +0400</pubDate></item><item><title>digdog:

“Actually, Sheldon Has Better Design.”
If you’re an iOS...</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_lhi5u62DuJ1qarf1uo1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://digdog.tumblr.com/post/3628378498"&gt;digdog&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;h2&gt;“Actually, Sheldon Has Better Design.”&lt;/h2&gt;
&lt;p&gt;If you’re an iOS developer, and love the scicom &lt;strong&gt;&lt;a href="http://en.wikipedia.org/wiki/The_Big_Bang_Theory"&gt;The Big Bang Theory&lt;/a&gt;&lt;/strong&gt;, then you have to watch season 4 episode 12: &lt;a href="http://www.cbs.com/primetime/big_bang_theory/recaps/412/recaps.php"&gt;The Bus Pants Utilization&lt;/a&gt; (original air date is January 6, 2011.)&lt;/p&gt;
&lt;p&gt;In this episode, Leonard comes up with an idea for his iOS app and derails his friendship with Sheldon.&lt;/p&gt;
&lt;p&gt;What’s the app? It’s a handwriting-recognition based equations solver, or in Sheldon’s way: “The Surprisingly Helpful Equation-Linked Differential Optimized Numerator.” The basic idea behind this is to use iPhone’s camera to take a picture of the equation, and scan it with handwriting recognition, then run it through a symbolic evaluation engine, and bam.&lt;/p&gt;
&lt;p&gt;During the episode, they show several actual Objective-C code snippets and interesting design sketches on white boards, here are some of them:&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_lhi5v4nws01qa95u5.png"/&gt; You can see they have a &lt;code&gt;CRecognition&lt;/code&gt; object holds an &lt;code&gt;UIImage&lt;/code&gt; instance variable, and sadly they are naming it &lt;code&gt;_Photo&lt;/code&gt; (with underline as prefix), it’s not the naming convention &lt;a href="http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/CodingGuidelines/CodingGuidelines.html"&gt;Apple suggested&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_lhi5vfQBnW1qa95u5.png"/&gt; The next morning, Sheldon started his own design, if you look closer, it’s much more considered than Leonard’s.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_lhi5vrOGHp1qa95u5.png"/&gt; For example, since this is an utility app, Sheldon comes up with a flip view design that similar to built-in Camera app. You can see a full screen &lt;code&gt;SPhotoView&lt;/code&gt; with a snapshot button in the middle, and on the other side, it’s &lt;code&gt;SEquationView&lt;/code&gt; and a &lt;code&gt;UITableView&lt;/code&gt; at the bottom with some buttons.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_lhi5w5Yrr51qa95u5.png"/&gt; In here, you can see more details. A &lt;code&gt;UITableView&lt;/code&gt; holds the scanned equations, and supports rotation for landscape full screen detail view and portrait detail view. And on the right side, Sheldon shows a better understanding of &lt;code&gt;UIViewController&lt;/code&gt;’s view hierarchy.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_lhi5whzcD31qa95u5.png"/&gt; Later, Leonard’s team is doing some reference counting. Instead of accessing instance variable directly in &lt;code&gt;-initWithPhoto:&lt;/code&gt; and &lt;code&gt;-dealloc&lt;/code&gt;, they decide to use retain property &lt;code&gt;self.photo&lt;/code&gt;, with class method to return a autoreleased &lt;code&gt;CRecognition&lt;/code&gt; object, and claim there’s no leak.&lt;/p&gt;
&lt;p&gt;What a mess, you should always use instance variable directly in &lt;code&gt;-initWithPhoto:&lt;/code&gt; and &lt;code&gt;-dealloc&lt;/code&gt; when creating/releasing instance object.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_lhi5wt2WnT1qa95u5.png"/&gt; Here you see Leonard’s app class hierarchy, mostly C/C++ style naming convention for the class names, almost everything starts with letter “C” (is for “Class” I think), &lt;code&gt;CAppDelegate&lt;/code&gt;, &lt;code&gt;CMainView&lt;/code&gt;, &lt;code&gt;CCameraView&lt;/code&gt;, &lt;code&gt;CSymbolicView&lt;/code&gt;, etc. They should use prescribed prefix like “LRH,” which means Leonard, Rajesh and Howard.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_lhi5x9Fzin1qa95u5.png"/&gt; The beautiful Penny next to Sheldon, and there’s Facebook API behind him.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_lhi5xmHCPw1qa95u5.png"/&gt; In the end, Penny’s shoes app project. There’re many of them on the AppStore already, and her UI design looks kinda lame.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_lhi5y1pDMY1qa95u5.png"/&gt; And Sheldon is working on this project…&lt;/p&gt;
&lt;h3&gt;Conclusion&lt;/h3&gt;
&lt;p&gt;I love and enjoy this episode a lot, and the TBBT crew dis a great job for all these minor details, they looks very convincible to me.&lt;/p&gt;
&lt;p&gt;But, they should all use Mac when doing the coding, I only saw Raj’s MacBook Pro, and rest of them are all using PC. That’s not right, you can’t run Xcode on PC, well, unless they all use Hackintosh…&lt;/p&gt;
&lt;h3&gt;References&lt;/h3&gt;
&lt;ul&gt;&lt;li&gt;The Big Bang Theory: &lt;a href="http://www.cbs.com/primetime/big_bang_theory/recaps/412/recaps.php"&gt;4x12 The Bus Pants Utilization&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Apple: &lt;a href="http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/CodingGuidelines/CodingGuidelines.html"&gt;Introduction to Coding Guidelines for Cocoa&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[digdog dig]; &lt;a href="http://digdog.tumblr.com/post/1177480301"&gt;To nil, or not to nil, that is the question&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/blockquote&gt;</description><link>http://soulim.tumblr.com/post/3655530914</link><guid>http://soulim.tumblr.com/post/3655530914</guid><pubDate>Sat, 05 Mar 2011 13:06:19 +0300</pubDate></item><item><title>cocoaheads:

 
iPad: Year One
</title><description>&lt;iframe width="400" height="300" src="http://www.youtube.com/embed/HpiVeC1Z3yI?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://cocoaheads.tumblr.com/post/3628379640"&gt;cocoaheads&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;
&lt;h1 id="watch-headline-title"&gt;&lt;span id="eow-title" dir="ltr" title="Apple - iPad: Year One"&gt;iPad: Year One&lt;/span&gt;&lt;/h1&gt;
&lt;/blockquote&gt;</description><link>http://soulim.tumblr.com/post/3655520788</link><guid>http://soulim.tumblr.com/post/3655520788</guid><pubDate>Sat, 05 Mar 2011 13:05:02 +0300</pubDate></item><item><title>cocoaheads:

 
Apple’s Tablet Vision 1990’s
</title><description>&lt;iframe width="400" height="300" src="http://www.youtube.com/embed/WPS1DMlzz0M?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://cocoaheads.tumblr.com/post/3103418037"&gt;cocoaheads&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;
&lt;h1 id="watch-headline-title"&gt;&lt;span id="eow-title" dir="ltr" title="Apple's Tablet Vision 1990's"&gt;Apple’s Tablet Vision 1990’s&lt;/span&gt;&lt;/h1&gt;
&lt;/blockquote&gt;</description><link>http://soulim.tumblr.com/post/3105612475</link><guid>http://soulim.tumblr.com/post/3105612475</guid><pubDate>Fri, 04 Feb 2011 18:42:28 +0300</pubDate></item><item><title>Chris Wanstrath @ StartupBootcamp 2010</title><description>&lt;iframe width="400" height="300" src="http://www.youtube.com/embed/zEYjJoF2RAY?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Chris Wanstrath @ StartupBootcamp 2010&lt;/p&gt;</description><link>http://soulim.tumblr.com/post/1540658469</link><guid>http://soulim.tumblr.com/post/1540658469</guid><pubDate>Thu, 11 Nov 2010 09:01:42 +0300</pubDate></item><item><title>"Whether you think you can or think you can’t, you are right."</title><description>“Whether you think you can or think you can’t, you are right.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;Henry Ford&lt;/em&gt;</description><link>http://soulim.tumblr.com/post/318426022</link><guid>http://soulim.tumblr.com/post/318426022</guid><pubDate>Tue, 05 Jan 2010 21:55:00 +0300</pubDate></item><item><title> 
 

If you’re good at something, never do it for free!
</title><description>&lt;iframe width="400" height="300" src="http://www.youtube.com/embed/uYMnAUGFuG0?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;b&gt; &lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt; &lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;
&lt;p&gt;If you’re good at something, never do it for free!&lt;/p&gt;
&lt;/b&gt;&lt;/p&gt;</description><link>http://soulim.tumblr.com/post/318419014</link><guid>http://soulim.tumblr.com/post/318419014</guid><pubDate>Tue, 05 Jan 2010 21:48:34 +0300</pubDate></item></channel></rss>
