<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on Yang's Blog</title><link>https://blog.yangtheman.com/posts/</link><description>Recent content in Posts on Yang's Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Yang Chung</copyright><lastBuildDate>Mon, 21 Sep 2020 11:24:05 +0000</lastBuildDate><atom:link href="https://blog.yangtheman.com/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Day Four to Six: Osaka/Kyoto (Arashiyama, Tenryu-ji Temple, Dōtonbori)</title><link>https://blog.yangtheman.com/2020/09/21/day-four-to-six-osaka-kyoto-arashiyama-tenryu-ji-temple-dotonbori/</link><pubDate>Mon, 21 Sep 2020 11:24:05 +0000</pubDate><guid>https://blog.yangtheman.com/2020/09/21/day-four-to-six-osaka-kyoto-arashiyama-tenryu-ji-temple-dotonbori/</guid><description/></item><item><title>Day Three: Busan (Gamcheon Culture Village)</title><link>https://blog.yangtheman.com/2020/09/21/day-three-busan-gamcheon-culture-village/</link><pubDate>Mon, 21 Sep 2020 08:47:23 +0000</pubDate><guid>https://blog.yangtheman.com/2020/09/21/day-three-busan-gamcheon-culture-village/</guid><description/></item><item><title>Trip to Korea and Japan</title><link>https://blog.yangtheman.com/2020/09/21/trip-to-korea-and-japan/</link><pubDate>Mon, 21 Sep 2020 08:16:37 +0000</pubDate><guid>https://blog.yangtheman.com/2020/09/21/trip-to-korea-and-japan/</guid><description/></item><item><title>Day Two: Gyeongju (Bulguksa)</title><link>https://blog.yangtheman.com/2020/09/21/day-two-gyeongju-bulguksa/</link><pubDate>Mon, 21 Sep 2020 08:13:32 +0000</pubDate><guid>https://blog.yangtheman.com/2020/09/21/day-two-gyeongju-bulguksa/</guid><description/></item><item><title>Introducing LISTORIO!</title><link>https://blog.yangtheman.com/2020/07/23/introducing-listorio/</link><pubDate>Fri, 24 Jul 2020 05:21:06 +0000</pubDate><guid>https://blog.yangtheman.com/2020/07/23/introducing-listorio/</guid><description/></item><item><title>Day One: Seoul (Gyeongbokgung, Insa-dong, Bukchon Hanok Village)</title><link>https://blog.yangtheman.com/2018/05/25/day-one-seoul-gyeongbokgung-insa-dong-bukchon-hanok-village/</link><pubDate>Fri, 25 May 2018 18:56:56 +0000</pubDate><guid>https://blog.yangtheman.com/2018/05/25/day-one-seoul-gyeongbokgung-insa-dong-bukchon-hanok-village/</guid><description/></item><item><title>When JSON encoding does not play well with character encoding</title><link>https://blog.yangtheman.com/2015/07/08/json_character_encoding/</link><pubDate>Wed, 08 Jul 2015 08:20:35 +0000</pubDate><guid>https://blog.yangtheman.com/2015/07/08/json_character_encoding/</guid><description/></item><item><title>MongoDB Query Performance Gotchas</title><link>https://blog.yangtheman.com/2015/04/03/mongodb-query-performance-gotchas/</link><pubDate>Fri, 03 Apr 2015 17:23:38 +0000</pubDate><guid>https://blog.yangtheman.com/2015/04/03/mongodb-query-performance-gotchas/</guid><description/></item><item><title>Practice programming like you practice martial arts</title><link>https://blog.yangtheman.com/2015/03/23/practice-programming-like-you-practice-martial-arts/</link><pubDate>Mon, 23 Mar 2015 07:30:07 +0000</pubDate><guid>https://blog.yangtheman.com/2015/03/23/practice-programming-like-you-practice-martial-arts/</guid><description/></item><item><title>Importance of owning a market segment - Monopoly, market leader, and innovator's dilemma</title><link>https://blog.yangtheman.com/2014/10/22/importance-of-owning-a-market-segment-monopoly-market-leader-and-innovators-dilemma/</link><pubDate>Wed, 22 Oct 2014 08:48:36 +0000</pubDate><guid>https://blog.yangtheman.com/2014/10/22/importance-of-owning-a-market-segment-monopoly-market-leader-and-innovators-dilemma/</guid><description/></item><item><title>How to create a (simple) watch app on Pebble</title><link>https://blog.yangtheman.com/2014/07/17/how-to-create-a-simple-watch-app-on-pebble/</link><pubDate>Fri, 18 Jul 2014 05:18:30 +0000</pubDate><guid>https://blog.yangtheman.com/2014/07/17/how-to-create-a-simple-watch-app-on-pebble/</guid><description/></item><item><title>User-friendly 500 and 404 pages on Rails 3</title><link>https://blog.yangtheman.com/2012/10/11/user-friendly-500-and-404-pages-on-rails-3/</link><pubDate>Fri, 12 Oct 2012 04:07:32 +0000</pubDate><guid>https://blog.yangtheman.com/2012/10/11/user-friendly-500-and-404-pages-on-rails-3/</guid><description/></item><item><title>Best way to learn is to imitate (and how it should apply to startups in emerging markets)</title><link>https://blog.yangtheman.com/2012/09/15/best-way-to-learn-is-to-imitate-and-how-it-should-apply-to-startups-in-emerging-market/</link><pubDate>Sat, 15 Sep 2012 22:12:54 +0000</pubDate><guid>https://blog.yangtheman.com/2012/09/15/best-way-to-learn-is-to-imitate-and-how-it-should-apply-to-startups-in-emerging-market/</guid><description/></item><item><title>Install ImageMagick on Lion from source</title><link>https://blog.yangtheman.com/2012/07/18/install-imagemagick-on-lion-from-source/</link><pubDate>Wed, 18 Jul 2012 23:44:19 +0000</pubDate><guid>https://blog.yangtheman.com/2012/07/18/install-imagemagick-on-lion-from-source/</guid><description/></item><item><title>How can you not get romantic about startups?</title><link>https://blog.yangtheman.com/2012/04/24/how-can-you-not-get-romantic-about-startups/</link><pubDate>Tue, 24 Apr 2012 09:56:55 +0000</pubDate><guid>https://blog.yangtheman.com/2012/04/24/how-can-you-not-get-romantic-about-startups/</guid><description/></item><item><title>Simple Ruby on Rails app using Twilio API</title><link>https://blog.yangtheman.com/2012/04/10/simple-ruby-on-rails-app-using-twilio-api/</link><pubDate>Wed, 11 Apr 2012 03:19:22 +0000</pubDate><guid>https://blog.yangtheman.com/2012/04/10/simple-ruby-on-rails-app-using-twilio-api/</guid><description/></item><item><title>Facebook Connect with Rails (using Omniauth and Devise) [Update]</title><link>https://blog.yangtheman.com/2012/02/09/facebook-connect-with-rails-omniauth-devise/</link><pubDate>Thu, 09 Feb 2012 09:47:05 +0000</pubDate><guid>https://blog.yangtheman.com/2012/02/09/facebook-connect-with-rails-omniauth-devise/</guid><description/></item><item><title>How to install Ubuntu on Chomebook (CR-48) and put parental control</title><link>https://blog.yangtheman.com/2012/01/17/how-to-install-ubuntu-on-chomebook-cr-48-and-put-parental-control/</link><pubDate>Tue, 17 Jan 2012 07:44:42 +0000</pubDate><guid>https://blog.yangtheman.com/2012/01/17/how-to-install-ubuntu-on-chomebook-cr-48-and-put-parental-control/</guid><description/></item><item><title>How to install KidsRuby on Mac OS X and Ubuntu</title><link>https://blog.yangtheman.com/2012/01/17/how-to-install-kids-ruby-on-mac-os-x-and-ubuntu/</link><pubDate>Tue, 17 Jan 2012 07:24:21 +0000</pubDate><guid>https://blog.yangtheman.com/2012/01/17/how-to-install-kids-ruby-on-mac-os-x-and-ubuntu/</guid><description/></item><item><title>Never never give up on your life</title><link>https://blog.yangtheman.com/2011/11/18/never-never-give-up-on-your-life/</link><pubDate>Fri, 18 Nov 2011 10:44:32 +0000</pubDate><guid>https://blog.yangtheman.com/2011/11/18/never-never-give-up-on-your-life/</guid><description/></item><item><title>Fresh installation of Ruby, Rails, Git, RubyGems, and Postgresql 8.x</title><link>https://blog.yangtheman.com/2011/11/18/resources-for-fresh-installation-of-git-rubygems-postgresql-8-x-and-ruby-on-rails/</link><pubDate>Fri, 18 Nov 2011 09:53:34 +0000</pubDate><guid>https://blog.yangtheman.com/2011/11/18/resources-for-fresh-installation-of-git-rubygems-postgresql-8-x-and-ruby-on-rails/</guid><description/></item><item><title>(org.mongodb.mogod) Exited with exit code: 100</title><link>https://blog.yangtheman.com/2011/08/01/org-mongodb-mogod-exited-with-exit-code-100/</link><pubDate>Tue, 02 Aug 2011 01:59:04 +0000</pubDate><guid>https://blog.yangtheman.com/2011/08/01/org-mongodb-mogod-exited-with-exit-code-100/</guid><description/></item><item><title>Relevance in current Internet</title><link>https://blog.yangtheman.com/2011/06/05/relevance-in-current-internet/</link><pubDate>Sun, 05 Jun 2011 08:58:50 +0000</pubDate><guid>https://blog.yangtheman.com/2011/06/05/relevance-in-current-internet/</guid><description/></item><item><title>Lean Startup in Education (Hacking for Education)</title><link>https://blog.yangtheman.com/2011/05/16/lean-startup-in-education-hacking-for-education/</link><pubDate>Mon, 16 May 2011 07:00:24 +0000</pubDate><guid>https://blog.yangtheman.com/2011/05/16/lean-startup-in-education-hacking-for-education/</guid><description/></item><item><title>Silicon Valley Bubble</title><link>https://blog.yangtheman.com/2011/01/22/silicon-valley-bubble/</link><pubDate>Sun, 23 Jan 2011 00:05:46 +0000</pubDate><guid>https://blog.yangtheman.com/2011/01/22/silicon-valley-bubble/</guid><description/></item><item><title>Pretty Permalinks on Rails</title><link>https://blog.yangtheman.com/2010/12/09/pretty-permalinks-on-rails/</link><pubDate>Fri, 10 Dec 2010 06:25:58 +0000</pubDate><guid>https://blog.yangtheman.com/2010/12/09/pretty-permalinks-on-rails/</guid><description/></item><item><title>RVM and Heroku</title><link>https://blog.yangtheman.com/2010/12/09/rvm-and-heroku/</link><pubDate>Fri, 10 Dec 2010 06:19:33 +0000</pubDate><guid>https://blog.yangtheman.com/2010/12/09/rvm-and-heroku/</guid><description/></item><item><title>Kitchen Nightmares and Entrepreneurship</title><link>https://blog.yangtheman.com/2010/02/28/kitchen-nightmares-and-entrepreneurship/</link><pubDate>Mon, 01 Mar 2010 05:24:18 +0000</pubDate><guid>https://blog.yangtheman.com/2010/02/28/kitchen-nightmares-and-entrepreneurship/</guid><description>&lt;p&gt;I am a big fan of &lt;a href="http://www.hulu.com" target="_blank" rel="noreferrer"&gt;Hulu&lt;/a&gt;. Ever since I found Hulu, I don&amp;rsquo;t watch much of TV. This is clearly new way of watching TV shows.It&amp;rsquo;s very convenient, and I get to watch whatever I want (as long as episodes are available) and whenever I want. Since I don&amp;rsquo;t have much time to watch during the weekday nights, I tend to &amp;ldquo;binge&amp;rdquo; watch on weekend nights.&lt;/p&gt;
&lt;p&gt;I have recently discovered a very interesting show called &amp;quot; &lt;a href="http://en.wikipedia.org/wiki/Kitchen_Nightmares" target="_blank" rel="noreferrer"&gt;Kitchen Nightmares&lt;/a&gt;&amp;quot;, and while it&amp;rsquo;s entertaining and a little formulaic, I drew a lot of parallels with entrepreneurship.&lt;/p&gt;

&lt;h2 class="relative group"&gt;Passion
 &lt;div id="passion" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#passion" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;It was amazing to see how many co-owners didn&amp;rsquo;t have passion for their restaurants! It was very clear some owners were using it for their ego trip, even though it was failing. You need that fire in the belly, which enables you to take charge of chaotic situation and plow through.&lt;/p&gt;
&lt;p&gt;Passion was something a lot of investors and entrepreneurs talk about (also in the book called &amp;quot; &lt;a href="http://www.amazon.com/Monk-Riddle-Education-Silicon-Entrepreneur/dp/1578511402" target="_blank" rel="noreferrer"&gt;Monk and the Riddle&lt;/a&gt;&amp;quot;). An entrepreneur without passion is an oxymoron. If investors see the lack of passion, it&amp;rsquo;s the fastest way to getting turned down.&lt;/p&gt;

&lt;h2 class="relative group"&gt;Leadership
 &lt;div id="leadership" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#leadership" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;Oh, man, did it matter! I have never seen inside of a kitchen during dinner rush, but it was definitely chaotic. If there is no clear leadership, everything falls apart. Bad restaurants were plagued with inconsistent food, confusion in the kitchen and among wait staff, and angry customers who had to wait for a long time for their food to arrive or whose food wasn&amp;rsquo;t exactly top quality. It also turned out that whoever took charge happened to be one with hottest passion, most fire in the belly. And it shows.&lt;/p&gt;
&lt;p&gt;Also in entrepreneurship, especially in hard times, leadership matters the most. Someone with hottest passion may not be the best leader, but that person will at least carry the company through especially in hard times.&lt;/p&gt;</description></item><item><title>Full text search on Heroku</title><link>https://blog.yangtheman.com/2010/02/28/full-text-search-on-heroku/</link><pubDate>Mon, 01 Mar 2010 04:44:37 +0000</pubDate><guid>https://blog.yangtheman.com/2010/02/28/full-text-search-on-heroku/</guid><description/></item><item><title>Path of enlightenment to Ruby</title><link>https://blog.yangtheman.com/2010/02/22/path-of-enlightenment-to-ruby/</link><pubDate>Tue, 23 Feb 2010 06:39:02 +0000</pubDate><guid>https://blog.yangtheman.com/2010/02/22/path-of-enlightenment-to-ruby/</guid><description/></item><item><title>My answer to text-dynamo</title><link>https://blog.yangtheman.com/2010/02/22/my-naswer-to/</link><pubDate>Tue, 23 Feb 2010 05:09:37 +0000</pubDate><guid>https://blog.yangtheman.com/2010/02/22/my-naswer-to/</guid><description>&lt;p&gt;As an exercise to practice Ruby, you can try to compete a random text generator using an underlying Markov chain model. The codes in the following github account are incomplete. You are supposed to fill in or create methods that will create randomly generated texts given seed texts.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://github.com/eandrejko/text-dynamo" target="_blank" rel="noreferrer"&gt;http://github.com/eandrejko/text-dynamo&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Markov chain is like a state machine, but the key is the what causes state transition only depends on the current state. In this case, how do you determine probability of selecting which word next? It&amp;rsquo;s quite simple. You go through the seed text and count frequency of next words, and that determines the frequency. For example, &amp;ldquo;am&amp;rdquo; is likely to folllow &amp;ldquo;I&amp;rdquo; most frequently. Next might be &amp;ldquo;do&amp;rdquo; or other verbs.&lt;/p&gt;</description></item><item><title>Korea will be left behind</title><link>https://blog.yangtheman.com/2010/02/12/korea-will-be-left-behind/</link><pubDate>Fri, 12 Feb 2010 08:57:09 +0000</pubDate><guid>https://blog.yangtheman.com/2010/02/12/korea-will-be-left-behind/</guid><description>&lt;p&gt;It&amp;rsquo;s okay to be patriotic. You should love your country, but it should not keep you from being objective.&lt;/p&gt;
&lt;p&gt;In one way, Koreans are kind of Xenophobic. It&amp;rsquo;s not exactly it because they don&amp;rsquo;t hate foreigners, but because they think they are better than others. It was very clear when I lived in Korea for two years. It&amp;rsquo;s media&amp;rsquo;s fault, which is pretty much propaganda machine for everything to do with Korea. Come to think of it, this kind of blind loyalty is rampant in Korea.&lt;/p&gt;
&lt;p&gt;When you are in the middle of it, it&amp;rsquo;s really hard to tell others about different things. But it becomes crystal clear when you are outside Korea. Whatever Koreans think they are best at, people in other parts of world simply don&amp;rsquo;t care.&lt;/p&gt;
&lt;p&gt;Now, you may ask, &amp;ldquo;why do you care?&amp;rdquo; I shouldn&amp;rsquo;t. What Korea does or doesn&amp;rsquo;t do doesn&amp;rsquo;t affect me. So, why? I used to ask that myself, and I found an answer. Because I am a Korean, too (well, 1/2 of me is. Not that I am mixed, but I just happened to live 1/2 of my life in the US). I didn&amp;rsquo;t want to care, but I can&amp;rsquo;t help it.&lt;/p&gt;
&lt;p&gt;Anyhow, I think Korea is in big trouble. They will be completely left behind in 10 years or so. Because they don&amp;rsquo;t invest in important technologies. But, you might say, &amp;ldquo;C&amp;rsquo;mon. Korea has the highest rate of Broadband penetration! Their mobile technology is way ahead of the&lt;/p&gt;</description></item><item><title>How to convert from MySQL to Postgres</title><link>https://blog.yangtheman.com/2010/01/30/how-to-convert-from-mysql-to-postgres/</link><pubDate>Sat, 30 Jan 2010 07:55:21 +0000</pubDate><guid>https://blog.yangtheman.com/2010/01/30/how-to-convert-from-mysql-to-postgres/</guid><description>&lt;p&gt;I have been using MySQL for probably as long as I could remember. For &lt;a href="http://www.bloglation.com" target="_blank" rel="noreferrer"&gt;Bloglation&lt;/a&gt;, search capability is an important feature since it&amp;rsquo;s hard to browse each post one by one. I will probably implement tagging functionality, but even so, it&amp;rsquo;s important to be able to search the contents with a keyword(s). While Ultrasphinx works well, Heroku only supports WebSolr&amp;hellip; I was using acts_as_ferret using /tmp for index files, but the problem using the /tmp directory is that ferret index files most likely to disappear at some point.&lt;/p&gt;
&lt;p&gt;Then, I found out that Postgres supports full-text search and since Heroku uses Postgres, I could use other plug-ins like &lt;a href="http://code.google.com/p/acts-as-tsearch/" target="_blank" rel="noreferrer"&gt;acts_as_tsearch&lt;/a&gt; or &lt;a href="http://tenderlovemaking.com/2009/10/17/full-text-search-on-heroku/comment-page-1/" target="_blank" rel="noreferrer"&gt;texticle&lt;/a&gt; for free. Free is important to me, since it&amp;rsquo;s not making any money.&lt;/p&gt;
&lt;p&gt;Searching online, there are various ways to do it like &lt;a href="http://pivotallabs.com/users/jpignata/blog/articles/1077-converting-rails-application-data-from-mysql-to-postgresql" target="_blank" rel="noreferrer"&gt;Pivotal Labs&amp;rsquo; script&lt;/a&gt; or &lt;a href="http://adam.blog.heroku.com/past/2009/2/11/taps_for_easy_database_transfers/" target="_blank" rel="noreferrer"&gt;Heroku&amp;rsquo;s Taps gem&lt;/a&gt;, but I wanted to do it in an old way like &lt;a href="http://blog.aedifice.org/2009/09/08/converting-rails-applications-from-mysql-to-postgresql" target="_blank" rel="noreferrer"&gt;AEdifice&lt;/a&gt; to check everything is going alright at each step. &lt;strong&gt;1. First thing to do is to backup MySQL&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;For me, it was important to backup preserving encoding, since it had many different languages. First I pulled db from Heroku thinking that I&lt;/p&gt;</description></item><item><title>Best Wordpress Backup plugin (if you have Amazon S3 account)</title><link>https://blog.yangtheman.com/2009/12/16/best-wordpress-backup-plugin-if-you-have-amazon-s3-account/</link><pubDate>Wed, 16 Dec 2009 20:18:59 +0000</pubDate><guid>https://blog.yangtheman.com/2009/12/16/best-wordpress-backup-plugin-if-you-have-amazon-s3-account/</guid><description/></item><item><title>To mock or stub 'open' method</title><link>https://blog.yangtheman.com/2009/12/16/to-mock-or-stub-open-method/</link><pubDate>Wed, 16 Dec 2009 08:17:01 +0000</pubDate><guid>https://blog.yangtheman.com/2009/12/16/to-mock-or-stub-open-method/</guid><description/></item><item><title>Bloglation - Translate, Save, and Share!</title><link>https://blog.yangtheman.com/2009/11/24/bloglation-translate-save-and-share/</link><pubDate>Tue, 24 Nov 2009 22:44:29 +0000</pubDate><guid>https://blog.yangtheman.com/2009/11/24/bloglation-translate-save-and-share/</guid><description/></item><item><title>Those who say it cannot be done shouldn’t interrupt the people doing it</title><link>https://blog.yangtheman.com/2009/11/10/those-who-say-it-cannot-be-done-shouldn%E2%80%99t-interrupt-the-people-doing-it/</link><pubDate>Tue, 10 Nov 2009 07:05:40 +0000</pubDate><guid>https://blog.yangtheman.com/2009/11/10/those-who-say-it-cannot-be-done-shouldn%E2%80%99t-interrupt-the-people-doing-it/</guid><description/></item><item><title>Installing acts_as_ferret with pagination and deploying on Heroku</title><link>https://blog.yangtheman.com/2009/11/05/installing-acts_as_ferret-with-pagination-and-deploying-on-heroku/</link><pubDate>Thu, 05 Nov 2009 23:56:02 +0000</pubDate><guid>https://blog.yangtheman.com/2009/11/05/installing-acts_as_ferret-with-pagination-and-deploying-on-heroku/</guid><description>&lt;p&gt;OMG!&lt;/p&gt;
&lt;p&gt;This shouldn&amp;rsquo;t have been this difficult, but it has because while there are many cool tutorials are out there, they are mostly outdated, and for some reason, the &lt;a href="http://docs.heroku.com/full-text-indexing" target="_blank" rel="noreferrer"&gt;instruction on Heroku&lt;/a&gt; was not accessible.&lt;/p&gt;
&lt;p&gt;While I picked acts_as_ferret because Heroku supports it, many seemed to prefer &lt;a href="http://freelancing-god.github.com/ts/en/" target="_blank" rel="noreferrer"&gt;Thinking Sphinx&lt;/a&gt;. So, if you are not constrained (like me with Heroku), you should try that out too.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1. Install acts_as_ferret&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Full instruction is outlined on &lt;a href="http://github.com/jkraemer/acts_as_ferret" target="_blank" rel="noreferrer"&gt;github&lt;/a&gt;, so you should check it out. You can also find the installation instruction and complete list of methods &lt;a href="http://projects.jkraemer.net/rdoc/acts_as_ferret/" target="_blank" rel="noreferrer"&gt;here&lt;/a&gt;, too.&lt;/p&gt;
&lt;p&gt;While the instruction asks you to put version name, since Heroku only has version 0.4.3 installed, specifying a version will break it.&lt;/p&gt;</description></item><item><title>Get WP-Syntax</title><link>https://blog.yangtheman.com/2009/10/22/get-wp-syntax/</link><pubDate>Thu, 22 Oct 2009 18:44:30 +0000</pubDate><guid>https://blog.yangtheman.com/2009/10/22/get-wp-syntax/</guid><description/></item><item><title>Counting rows and modifying MySQL to work with Postgres or Heroku</title><link>https://blog.yangtheman.com/2009/10/22/counting-rows-and-modifying-mysql-to-work-with-postgres-or-heroku/</link><pubDate>Thu, 22 Oct 2009 07:48:03 +0000</pubDate><guid>https://blog.yangtheman.com/2009/10/22/counting-rows-and-modifying-mysql-to-work-with-postgres-or-heroku/</guid><description>&lt;p&gt;Now I am moving on to Open Translation Project. I&amp;rsquo;ve done some translation work before, including one of Paul Graham&amp;rsquo;s essay - &lt;a href="http://www.paulgraham.com/notnot.html" target="_blank" rel="noreferrer"&gt;Why to not not start a startup&lt;/a&gt;. BTW, he finally made a link from the essay to my translation. I used Google Translate as base, but I couldn&amp;rsquo;t believe how bad the translation was. Yahoo&amp;rsquo;s Babel Fish was a little better, but not as much. That&amp;rsquo;s where I got the idea of creating this possibly massive project.&lt;/p&gt;
&lt;p&gt;Anyhow, I wanted to find a way of selecting an article or blog that was translated the most. I had one model that stored basic information of original article/blog. Then its children are translations. So, I need to count rows of children with the same parent. In MySQL, I had the following statement in Rails.&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;@top_origs = OrigPost.find(:all,
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;                              :select =&amp;gt; &amp;#39;orig_posts.*, count(posts.id) as post_count&amp;#39;,
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;                              :joins =&amp;gt; &amp;#39;left outer join posts on posts.orig_post_id = orig_posts.id&amp;#39;,
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;                              :group =&amp;gt; &amp;#39;orig_posts.id&amp;#39;,
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;                              :order =&amp;gt; &amp;#39;post_count DESC&amp;#39;,
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;                              :limit =&amp;gt; 5)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Best Open Source Wireframing Tool</title><link>https://blog.yangtheman.com/2009/10/03/best-open-source-wireframing-tool/</link><pubDate>Sat, 03 Oct 2009 16:55:55 +0000</pubDate><guid>https://blog.yangtheman.com/2009/10/03/best-open-source-wireframing-tool/</guid><description/></item><item><title>Duck Tape Programmer</title><link>https://blog.yangtheman.com/2009/10/01/duck-tape-programmer/</link><pubDate>Thu, 01 Oct 2009 18:36:39 +0000</pubDate><guid>https://blog.yangtheman.com/2009/10/01/duck-tape-programmer/</guid><description/></item><item><title>Featured on Clickpass blog</title><link>https://blog.yangtheman.com/2009/09/28/featured-on-clickpass-blog/</link><pubDate>Tue, 29 Sep 2009 06:30:50 +0000</pubDate><guid>https://blog.yangtheman.com/2009/09/28/featured-on-clickpass-blog/</guid><description/></item><item><title>Ready to take a red pill?</title><link>https://blog.yangtheman.com/2009/09/28/ready-to-take-a-red-pill/</link><pubDate>Tue, 29 Sep 2009 06:26:31 +0000</pubDate><guid>https://blog.yangtheman.com/2009/09/28/ready-to-take-a-red-pill/</guid><description/></item><item><title>3D Printer for less than $2,000</title><link>https://blog.yangtheman.com/2009/09/22/3d-printer-for-less-than-2000/</link><pubDate>Tue, 22 Sep 2009 22:03:55 +0000</pubDate><guid>https://blog.yangtheman.com/2009/09/22/3d-printer-for-less-than-2000/</guid><description/></item><item><title>Forget Everything, Just Build First</title><link>https://blog.yangtheman.com/2009/09/21/forget-everything-just-build-first/</link><pubDate>Mon, 21 Sep 2009 18:04:44 +0000</pubDate><guid>https://blog.yangtheman.com/2009/09/21/forget-everything-just-build-first/</guid><description/></item><item><title>How to integrate Clickpass (and OpenID) with a Rails app</title><link>https://blog.yangtheman.com/2009/09/17/how-to-integrate-clickpass-or-openid-with-a-rails-app/</link><pubDate>Thu, 17 Sep 2009 09:21:20 +0000</pubDate><guid>https://blog.yangtheman.com/2009/09/17/how-to-integrate-clickpass-or-openid-with-a-rails-app/</guid><description>&lt;p&gt;I saw &lt;a href="http://www.clickpass.com/" target="_blank" rel="noreferrer"&gt;Clickpass&lt;/a&gt; in action at the &lt;a href="http://news.ycombinator.com" target="_blank" rel="noreferrer"&gt;Hacker News&lt;/a&gt;, and I thought it was another great way to reduce another login account. I wanted to implement it for my &lt;strong&gt;Open Translation&lt;/strong&gt; project.&lt;/p&gt;
&lt;p&gt;However, when I tried to find tutorials for using Clickpass with a Rails app, I couldn&amp;rsquo;t find any! How could it be! The pesudo code example Clickpass provided was for Java, I think, and thus it wasn&amp;rsquo;t any help to me. I was completely lost.&lt;/p&gt;
&lt;p&gt;Then I realized that in the core underlying architecture of Clickpass is OpenID. Then it all made sense to me. I found a great tutorial on OpenID and Authlogic on a &lt;a href="http://railscasts.com/episodes/170-openid-with-authlogic" target="_blank" rel="noreferrer"&gt;Railscasts episode&lt;/a&gt; (I am not using Authlogic for my site, though, but for the Open Translation project, I probably will.). So the following is a mixture of the Railscasts episode, &lt;strong&gt;ruby-openid&lt;/strong&gt; gem, &lt;strong&gt;open_id_authentication&lt;/strong&gt; plugin and Clickpass setup.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1.&lt;/strong&gt; Install the gem and the plugin.&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo gem install ruby-openid&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>How to integrate Facebook Feed with a Rails app</title><link>https://blog.yangtheman.com/2009/09/09/integrating-facebook-feed-with-a-rails-app/</link><pubDate>Wed, 09 Sep 2009 07:17:28 +0000</pubDate><guid>https://blog.yangtheman.com/2009/09/09/integrating-facebook-feed-with-a-rails-app/</guid><description>&lt;p&gt;On Monday, I&amp;rsquo;ve gotten Facebook Feed publishing to work with my site, and it took about two hours including TV watching time. I could&amp;rsquo;ve done it faster if I actually paid a full attention. It was all possible, thanks to Chris Schmitt, who has an excellent &lt;a href="http://www.thoughtintomotion.com/2009/06/publish-feed-stories-with-facebooker-rails.html" target="_blank" rel="noreferrer"&gt;tutorial&lt;/a&gt; on his site.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1.&lt;/strong&gt; Simply you first need to create a sub-class inherited from &lt;strong&gt;Facebooker::Rails::Publisher&lt;/strong&gt; inside a controller. In my case, I wanted to publish a feed when a new playground is added and an existing playground is edited, so it made a sense to put it in &lt;strong&gt;playgrounds&lt;/strong&gt; controller. &lt;strong&gt;publish_pg&lt;/strong&gt; takes objects and sets parameters, and &lt;strong&gt;publish_pg_template&lt;/strong&gt; creates a feed message based on those parameters.&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;class PlaygroundsController &amp;lt; ApplicationController
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[SNIP - other actions]
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; class FacebookPublisher &amp;lt; Facebooker::Rails::Publisher
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; def publish_pg_template
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; one_line_story_template &amp;#34;{*actor*} created/updated: {*pg_name*}&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; short_story_template &amp;#34;{*actor*} created/updated: {*pg_name*} in {*pg_city*}, {*pg_state*}&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &amp;#34;Check out what {*actor*} said, and rate or add comments to help other parents!&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; end
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; def publish_pg(pg, facebook_session)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; send_as :user_action
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; from facebook_session.user
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; data :actor =&amp;gt; facebook_session.user.first_name, :pg_name =&amp;gt; pg.name, :pg_city =&amp;gt; pg.city, :pg_state =&amp;gt; pg.state, :pg_id =&amp;gt; pg.id
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; end
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; end
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;end&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;**&lt;/p&gt;</description></item><item><title>Deploying a Rails app on Heroku (paperclip, gems, yml)</title><link>https://blog.yangtheman.com/2009/09/05/deploying-a-rails-app-on-heroku-paperclip-gems-yml/</link><pubDate>Sat, 05 Sep 2009 08:57:21 +0000</pubDate><guid>https://blog.yangtheman.com/2009/09/05/deploying-a-rails-app-on-heroku-paperclip-gems-yml/</guid><description>&lt;p&gt;I just moved my &lt;a href="http://www.playgroundrus.com" target="_blank" rel="noreferrer"&gt;PlaygroundsRUs&lt;/a&gt; site from &lt;a href="http://aws.amazon.com/ec2/" target="_blank" rel="noreferrer"&gt;AWS&lt;/a&gt; to &lt;a href="http://heroku.com/" target="_blank" rel="noreferrer"&gt;Heroku&lt;/a&gt;, and I couldn&amp;rsquo;t be happier. My first full month bill from Amazon was about $75, and $74 of that (99% of the total cost) was for running an instance. &lt;a href="http://www.harlanknight.net/pub/H@rlan_Knight_Wood/" target="_blank" rel="noreferrer"&gt;Harlan&lt;/a&gt; told me about Heroku after he deployed his &lt;a href="http://fork-this-demo.heroku.com/login" target="_blank" rel="noreferrer"&gt;ForkThis&lt;/a&gt; demo on there.&lt;/p&gt;
&lt;p&gt;Most of the transition was smooth, but there were a few hiccups on the way. One of them still hasn&amp;rsquo;t been resolved (one of the plugins is having conflict with PostgresSQL, which is used by Heroku). I will enumerate what I had to go through so that it might be easier for you.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1. Secret YAML files&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I have a public GitHub account for deploying on AWS using &lt;a href="http://ec2onrails.rubyforge.org/" target="_blank" rel="noreferrer"&gt;ec2onrails&lt;/a&gt;. Since it&amp;rsquo;s public and anyone can see it, I had to omit sensitive &lt;code&gt;.yml&lt;/code&gt; files in config directory that contained passwords and keys. It&amp;rsquo;s easily done by specifying those files in &lt;code&gt;.gitignore&lt;/code&gt; and listing them in &lt;code&gt;:nonvc_configs&lt;/code&gt; in &lt;code&gt;config/deploy.rb&lt;/code&gt; used by ec2onrails.&lt;/p&gt;
&lt;p&gt;I found out that for Heroku, the same can be achieved by creating another branch, including those files, merging with master, and pushing it to Heroku. So, the following lines should do the trick.&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;git checkout production
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[remove those yml files from .gitignore]
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;git merge master
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;git push heroku production:master&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;**&lt;/p&gt;</description></item><item><title>SF Women 2.0 Startup Weekend Wrap-up</title><link>https://blog.yangtheman.com/2009/09/01/sf-women-2-0-startup-weekend-wrap-up/</link><pubDate>Tue, 01 Sep 2009 07:24:47 +0000</pubDate><guid>https://blog.yangtheman.com/2009/09/01/sf-women-2-0-startup-weekend-wrap-up/</guid><description/></item><item><title>Why there are not many startups in Korea</title><link>https://blog.yangtheman.com/2009/08/31/why-there-are-not-many-startups-in-korea/</link><pubDate>Tue, 01 Sep 2009 00:11:52 +0000</pubDate><guid>https://blog.yangtheman.com/2009/08/31/why-there-are-not-many-startups-in-korea/</guid><description/></item><item><title>왜 창업을 해야 하나? (Why to Not Not Start a Startup)</title><link>https://blog.yangtheman.com/2009/08/28/%EC%99%9C-%EC%B0%BD%EC%97%85%EC%9D%84-%ED%95%98%EB%A9%B4-%EC%95%8A%EB%90%98%EB%82%98-why-to-not-not-start-a-startup/</link><pubDate>Fri, 28 Aug 2009 09:12:08 +0000</pubDate><guid>https://blog.yangtheman.com/2009/08/28/%EC%99%9C-%EC%B0%BD%EC%97%85%EC%9D%84-%ED%95%98%EB%A9%B4-%EC%95%8A%EB%90%98%EB%82%98-why-to-not-not-start-a-startup/</guid><description>&lt;p&gt;내 가 Silicon Valley에 온 이유는 high-tech회사를 창업을 하고 싶어한 이유였다. 거의 nothing에서 something을 만들어내고 부를 만들수 있다는 것이 참 묘한 매력이 있었다. 하지만 창업에는 marketing이나 영업에 경험이 필요하다 생각하여, 그쪽으로 career를 바꾸었으나, Paul Graham의 essay를 읽고, 그가 하는 Y-combinator라 하는 incubator의 한 leader이자 Paul의 아내인 Jessica Livingston이 지은 &lt;a href="http://www.foundersatwork.com/" target="_blank" rel="noreferrer"&gt;Founders at Work&lt;/a&gt; 라 는 책을 읽고는 이제서야 다시 software developer로 다시 career를 바꾸려 한다. 거의 모든 성공적인 high-tech회사들은 engineer가 시작했다. 하지만 벌써 가족이 있는 난 너무 늦은것 같다. 하지만 다른 젊은 사람하나라도 이 글들을 읽고 성공할 수 있으면 하는 것이 나의 바람이다. 번역을 하면서 다시 essay를 읽었는데, 한국과 미국의 문화적 차이를 확실히 느끼게 하며, 왜 한국에 startup회사들이 많이 없는지 알수 있을것 같다. 참 안타까운 일이다. 하지만 이 essay를 쓰는 이유는 독자 중 1%만 창업을 하고 성공해서 한국의 startup 문화를 바꿀수 있으면 하는 바램이다.&lt;/p&gt;
&lt;p&gt;이번 essay를 시작으로 Paul Graham의 많은 essay를 한글로 번역할 예정이다. 이미 Paul Graham에게는 허락을 받은 상태이다. Paul Graham은 Viaweb이라는 최초의 application service provider software을 lisp언어로 써 고객이 자신의 e-commerce site을 짓고 운영할 수 있게 했다. 나중에 Yahoo에 팔아 나중에 Yahoo! Store이 되었다. 그후 Y-Combinator라는 incubator회사를 만들어 많은 web 2.0회사를 투자헀고, 조언을 해 주었다. 내 개인적으로도 최고로 존경하는 사람이다.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.paulgraham.com/notnot.html" target="_blank" rel="noreferrer"&gt;왜 창업을 해야 하나?&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;2007년 3월&lt;/p&gt;
&lt;p&gt;(이 에세이는 2007 년 &lt;a href="http://74.125.19.132/translate_c?hl=en&amp;amp;sl=en&amp;amp;tl=ko&amp;amp;u=http://startupschool.org/&amp;amp;rurl=translate.google.com&amp;amp;usg=ALkJrhhJGm0MAOWdXHzDUHWcivDPO1Hmlw" target="_blank" rel="noreferrer"&gt;Startup School&lt;/a&gt; 과 버클리 CSUA에서 발표를 바탕으로 기고했습니다.)&lt;/p&gt;
&lt;p&gt;지금은 Y-Comibator의 성공율을 측정 할 만큼 운영해 왔다고 생각한다. 2005 년 여름에는 8개의 회사가 있었다. 그 중 최소 4개는 성공적이었다. Reddit과 Infogami는 합병했고, 또다른 회사가 합병이 되었으나, 말 할수는 없다. 또 다른 회사는 너무나 잘 돼서 원하면 10분안에 인수될수 있는 Loopt이다.&lt;/p&gt;
&lt;p&gt;그래서, 처음 여름에 시작했던 창업자들 중에 반정도가 그들의 기준으로 봐서는 부자가 되었다. (한가지 배운점은 부자의 종류가 여러가지 있다는 것이다).&lt;/p&gt;
&lt;p&gt;그러나, 우리의 성공율이 항상 50%일 것이라고는 장담을 할 수 없다. 처음은 예외일 수가 있다. 하지만 우리는 항상 이야기하는 10%의 성공율 보다는 잘 할수 있을것이다. 한 25%정도는 안전한 숫자로 생각된다.&lt;/p&gt;
&lt;p&gt;실패한 창업자들도 그렇게 나쁜 시간을 가졌다는 생각을 하지 않는 듯 한다. 8개 회사 중 3개는 죽었을 것이다. 그 중 두 개는 여름 끝에 다른 일을 찾았다. 그들이 큰 상처를 입었다고 생각하지는 않는다. 가장 상처를 많이 받았을 회사는 일년 동안 열심히 일했지만 Google Calendar에 밀린 Kiko이였다. 하지만 끝은 행복하게 되었다. eBay에 100만 달러에 팔았기 때문이다. Angel 투자자들에게 돈을 돌려준 이후 그들은 한 1년 동안의 연봉 만큼을 건졌다.&lt;/p&gt;
\[1\]&lt;p&gt; 그 이후 그들은 바로 새롭고 더 재미있는, Justin.TV라는 회사를 창업했다.&lt;/p&gt;
&lt;p&gt;그래서 여기에 더욱 놀라운 통계가 있다: 처음 창업자들은 아무도 고통적인 경험을 하지 않았는 것이다. 여느 startup처럼 좋은 일과 나쁜 일이 있었지만, 아무도 직장에 다니는 일과 바꾸지는 않을 것이라고 생각한다. 이 통계는 예외가 아닐 것이다. 장기적인 성공율이 무엇이든지, 일반적인 직업을 갖고싶어하는 창업자는 아무도 없을 것이다.&lt;/p&gt;
&lt;p&gt;그럼 나에게 가장 큰 미스테리는, 왜 더 많은 사람들이 창업을 않하는 것일까? 거의 모든 창업자들이 일반 직장을 싫어하고 높은 비율이 부자가 되는데, 왜 모든 사람이 창업을 하지 않을까? 많은 사람들이 자금신청을 수천개를 받을 것으로 생각하나, 사실은 수백개에 그친다. 왜 더 많이 신청하지 않을까? 창업되는 회사가 꾀 많은 것 같지만 창업에 필요한 기술을 가지고 있는 사람들에 비해 작다. Programmer의 대부분이 대학 졸업 후 평범한 직장을 찾아, 그 곳에 머물고 만다.&lt;/p&gt;
&lt;p&gt;사람들은 자기 자신의 이익과 반대로 행동하는것 같다. 왜 그럴까? 답은 있는것 같다. Y-Combinator가 벤처 자금 지원 절차의 매우 시작에 있기 때문에, 창업에 대해 불확신이 있는 사람들의 심리에 대해서는 알수있는 이는, 우리만큼 좋은위치에 있는 회사는 없을 것이다.&lt;/p&gt;
&lt;p&gt;불확신이 항상 나쁜것은 아니다. 당신이 창업을 생각하고 있는 hacker (Paul Graham의 hacker는 보통 사람이 생각하는 hacker가 아님. 그의 hacker는 어떤 수로든, 어떻게든 많들어 내는 programmer임) 라면, 불확신은 지극히 당연한것이다. Larry와 Sergey도 Google시작전에, Jerry와 Filo도 Yahoo시작전에 똑같이 불확신을 가지고 있었다. 사실은 성공적인 startup들의 거의가 너무 확실한 사업자들 보다는 불확실한 hacker가 시작하였다.&lt;/p&gt;
&lt;p&gt;이것들을 증명하는 몇 가지 증거가있다. 우리가 투자하고 성공한 startup들 중에 많은 곳들이 거의 마지막순간에 자금신청을 하기로 결정했다고 했다. 일부는 마감일 몇 시간전에 결정 하기도했다.&lt;/p&gt;
&lt;p&gt;불 확실성을 다루는 방법을 구성 요소로 분석하는 것이다. 누가 뭔가를 꺼려 대부분의 사람들은, 약 8 여러 가지 이유가 함께 머리를 혼합되어서 어떤것이 가장 큰이유인지 모른다. 어떤 것은 정당하고, 어떤 것은 가짜이지만, 상대적인 비율을 모른다면 전반적인 불확성이 정당한지, 가짜인지 모를 것이다.&lt;/p&gt;
&lt;p&gt;그래서, 난 사람들의 창업을 꺼려하는 요소들을 나열하고 어떤 것들이 정당한 것인지 설명할 것이다. 그럼 창업을 생각하는 사람들이 자신의 감정을 점검할 수 있는 체크리스트로 쓸수 있을것이다.&lt;/p&gt;
&lt;p&gt;내 목표는 당신의 자신감을 높이는 것이다. 하지만 이것은 보통 자신감을 높이는 것과는 두 가지 점이 다르다. 첫째, 나의 동기는 솔직함이다. 자신감을 높이는 사업을 하는 사람들은 사람들이 그들의 책을 사거나 당신이 얼마나 위대한가를 말해주는 세미나에 참석하면 벌써 목표를 달성한 것이다. 창업을 해야 되지 않은 사람을 장려하면, 내 인생은 더 피곤해진다. 너무 많은 사람들을 Y-Combinator에 신청하도록 권장 하면, 내 일은 더 많아지게 된다.&lt;/p&gt;
&lt;p&gt;둘째는 나의 방법이다. 난 긍정적인 대신, 부정적일 것이다. 할수 있다고 말하는 대시, 난 당신이 창업을 하지 않고있는 이유를 보여주고, 왜 거의 모두가 무시되어야 하는지 말해주겠다.&lt;/p&gt;
&lt;p&gt;그럼, 우리모두가 가지고 태어난 것부터 시작하겠다.&lt;/p&gt;</description></item><item><title>How to integrate Google Maps in a Rails app</title><link>https://blog.yangtheman.com/2009/08/27/how-to-integrate-google-maps-in-a-rails-app/</link><pubDate>Thu, 27 Aug 2009 20:08:28 +0000</pubDate><guid>https://blog.yangtheman.com/2009/08/27/how-to-integrate-google-maps-in-a-rails-app/</guid><description>&lt;p&gt;The major part of my experiment was going to be the integration with Google Maps. At first, I was a bit apprehensive about it, but Ruby on Rails being a community oriented language, I found a couple of quite useful plug-ins. With them, finding a location based on address or geocode or finding nearby places based on certain radius of a location were not too hard.&lt;/p&gt;
&lt;p&gt;There is actually an excellent book also, called &lt;a href="http://books.google.com/books?id=E90Dg0N-FQkC&amp;amp;dq=google&amp;#43;maps&amp;#43;rails&amp;amp;source=gbs_navlinks_s" target="_blank" rel="noreferrer"&gt;Beginning Google maps applications with Rails and Ajax&lt;/a&gt;. But the problem with the book is that it was geared towards more for java developers using rails. Thus, its major functions were javascripts and it showed how to talk to rails app. In my case, since I wanted simple features and I didn&amp;rsquo;t want to take time to learn javascript, I decided to find a simpler way.&lt;/p&gt;
&lt;p&gt;And I found that for things I wanted to do, I could do with &lt;a href="http://ym4r.rubyforge.org/ym4r_gm-doc/" target="_blank" rel="noreferrer"&gt;YM4R/GM&lt;/a&gt; and &lt;a href="http://geokit.rubyforge.org/" target="_blank" rel="noreferrer"&gt;Geokit&lt;/a&gt;. There are other excellent tutorials out there like the &lt;a href="http://www.developer.com/open/article.php/3757576" target="_blank" rel="noreferrer"&gt;one&lt;/a&gt; by Jason Gilmore on Developer.com.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s begin.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1.&lt;/strong&gt; Sign-up for Google Maps API by going to &lt;a href="http://code.google.com/apis/maps/signup.html" target="_blank" rel="noreferrer"&gt;here&lt;/a&gt;. For development environment, you can use either http://localhost:3000 or http://127.0.0.1:300 as the website URL. Copy the API key.&lt;/p&gt;
&lt;p&gt;When you move to production environment, make sure you come back here to get another key for production URL.&lt;/p&gt;</description></item><item><title>Singleton Class, acts_as_rated and twitterify in Rails</title><link>https://blog.yangtheman.com/2009/08/27/singleton-class-acts_as_rated-and-twitterify-in-rails/</link><pubDate>Thu, 27 Aug 2009 17:14:06 +0000</pubDate><guid>https://blog.yangtheman.com/2009/08/27/singleton-class-acts_as_rated-and-twitterify-in-rails/</guid><description>&lt;p&gt;Today, I went to &lt;a href="http://ruby.meetup.com/117/" target="_blank" rel="noreferrer"&gt;San Jose Ruby Hackfest meetup&lt;/a&gt;, and met a bunch of cool guys. One of them was &lt;a href="http://blog.angelbob.com/posts" target="_blank" rel="noreferrer"&gt;Noah Gibbs&lt;/a&gt;, who helped me tremendously with one of the most pesky problems I had.&lt;/p&gt;
&lt;p&gt;Before you go on, you might want to read up on really good tutorials on &lt;a href="http://jonesbunch.com/articles/2008/ruby-singleton" target="_blank" rel="noreferrer"&gt;Singleton Class&lt;/a&gt; and &lt;a href="http://blog.angelbob.com/posts/20" target="_blank" rel="noreferrer"&gt;Self variable&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>How to integrate Facebook Connect with a Rails app</title><link>https://blog.yangtheman.com/2009/08/23/how-to-integrate-facebook-connect-with-a-rails-app/</link><pubDate>Mon, 24 Aug 2009 05:36:59 +0000</pubDate><guid>https://blog.yangtheman.com/2009/08/23/how-to-integrate-facebook-connect-with-a-rails-app/</guid><description>&lt;p&gt;&lt;em&gt;Update: I have written up another post for using Devise and Omniauth, and you can find it &lt;a href="http://blog.yangtheman.com/2012/02/09/facebook-connect-with-rails-omniauth-devise/" target="_blank" rel="noreferrer"&gt;here&lt;/a&gt;. Facebooker is no longer maintained.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Top of my to-do list was to integrate Facebook Connect with my Rails app, since 1) there are A LOT of people using Facebook and 2) having to register to post or edit could be an obstacle in getting more users to use my site.&lt;/p&gt;
&lt;p&gt;I looked on the web for a while, and found a great example by Stuart Eccles at &lt;a href="http://www.madebymany.co.uk/tutorial-for-restful_authentication-on-rails-with-facebook-connect-in-15-minutes-00523" target="_blank" rel="noreferrer"&gt;Made by Many&lt;/a&gt;. It&amp;rsquo;s an awesome tutorial, but it&amp;rsquo;s for restful_authentication. I don&amp;rsquo;t use it, so I had to modify it a little bit. Also, I added a step to ask a user to pick a username. So the following instruction is basically modification of Stuart&amp;rsquo;s.&lt;/p&gt;
&lt;p&gt;Without further ado, let&amp;rsquo;s begin.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1.&lt;/strong&gt; Setup Facebook Application page&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1.1.&lt;/strong&gt; Go to this &lt;a href="http://www.facebook.com/developers/#/developers/createapp.php" target="_blank" rel="noreferrer"&gt;page&lt;/a&gt;, and enter a name for your application. I named mine &amp;ldquo;Playgrounds_R_Us&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1.2.&lt;/strong&gt; Make a note of &lt;strong&gt;Application ID&lt;/strong&gt;, &lt;strong&gt;API Key&lt;/strong&gt;, and &lt;strong&gt;Secret&lt;/strong&gt;. You need it for &lt;strong&gt;facebooker.yml&lt;/strong&gt; later.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1.3.&lt;/strong&gt; Next is &lt;strong&gt;Authentication&lt;/strong&gt; section. Here what&amp;rsquo;s important is &lt;strong&gt;Post-Authroize&lt;/strong&gt; and &lt;strong&gt;Post-Remove Callback URL&lt;/strong&gt;. They refer to a web page a user will be taken to after logging into and logging out of Facebook account. While testing, I left it at &amp;ldquo;http://127.0.0.1:3000&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1.4.&lt;/strong&gt; I also used the same URL (http://127.0.0.1:3000) for &lt;strong&gt;Canvas Callback URL&lt;/strong&gt; in &lt;strong&gt;Canvas&lt;/strong&gt; section and &lt;strong&gt;Connect URL&lt;/strong&gt; in &lt;strong&gt;Connect&lt;/strong&gt; section.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1.5.&lt;/strong&gt; Then you are pretty much set with configuration on Facebook side.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2.&lt;/strong&gt; Get &lt;a href="http://github.com/mmangino/facebooker/tree/master" target="_blank" rel="noreferrer"&gt;facebooker&lt;/a&gt; plugin and install it. From your rails app root directory,&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;ruby script/plugin install git://github.com/mmangino/facebooker.git&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Why the tagline, Life hacker?</title><link>https://blog.yangtheman.com/2009/08/11/why-the-tagline-life-hacker/</link><pubDate>Tue, 11 Aug 2009 08:42:43 +0000</pubDate><guid>https://blog.yangtheman.com/2009/08/11/why-the-tagline-life-hacker/</guid><description/></item><item><title>Driving direction and link to edit playground information</title><link>https://blog.yangtheman.com/2009/08/11/driving-direction-and-edit-playground-link/</link><pubDate>Tue, 11 Aug 2009 07:57:05 +0000</pubDate><guid>https://blog.yangtheman.com/2009/08/11/driving-direction-and-edit-playground-link/</guid><description/></item><item><title>Fix display problem with Fedora 11</title><link>https://blog.yangtheman.com/2009/08/07/fix-display-problem-with-fedroa-11/</link><pubDate>Fri, 07 Aug 2009 23:16:41 +0000</pubDate><guid>https://blog.yangtheman.com/2009/08/07/fix-display-problem-with-fedroa-11/</guid><description/></item><item><title>How to enable WordPress permalinks on 1and1.com</title><link>https://blog.yangtheman.com/2009/08/04/how-to-enable-wordpress-permalinks-work-on-1and1-com/</link><pubDate>Tue, 04 Aug 2009 21:40:44 +0000</pubDate><guid>https://blog.yangtheman.com/2009/08/04/how-to-enable-wordpress-permalinks-work-on-1and1-com/</guid><description/></item><item><title>Alpha version of Playgrounds R Us is launched</title><link>https://blog.yangtheman.com/2009/08/04/alpha-version-of-playgrounds-r-us-is-launched/</link><pubDate>Tue, 04 Aug 2009 21:10:35 +0000</pubDate><guid>https://blog.yangtheman.com/2009/08/04/alpha-version-of-playgrounds-r-us-is-launched/</guid><description/></item><item><title>It's here to stay and disrupt for a long time</title><link>https://blog.yangtheman.com/2009/07/06/its-here-to-stay-and-disrupt-for-a-long-time/</link><pubDate>Mon, 06 Jul 2009 07:06:00 +0000</pubDate><guid>https://blog.yangtheman.com/2009/07/06/its-here-to-stay-and-disrupt-for-a-long-time/</guid><description/></item><item><title>Infinite possibilities and power of parents</title><link>https://blog.yangtheman.com/2009/02/02/infinite-possibilities-and-power-of-parents/</link><pubDate>Tue, 03 Feb 2009 05:12:00 +0000</pubDate><guid>https://blog.yangtheman.com/2009/02/02/infinite-possibilities-and-power-of-parents/</guid><description/></item><item><title>Historical moment, and only in America</title><link>https://blog.yangtheman.com/2009/01/20/historical-moment-and-only-in-america/</link><pubDate>Wed, 21 Jan 2009 06:14:00 +0000</pubDate><guid>https://blog.yangtheman.com/2009/01/20/historical-moment-and-only-in-america/</guid><description/></item><item><title>How do you know when you are in deep sh*t</title><link>https://blog.yangtheman.com/2009/01/06/how-do-you-know-when-you-are-in-deep-sht/</link><pubDate>Tue, 06 Jan 2009 08:05:00 +0000</pubDate><guid>https://blog.yangtheman.com/2009/01/06/how-do-you-know-when-you-are-in-deep-sht/</guid><description/></item><item><title>Never Give Up</title><link>https://blog.yangtheman.com/2008/12/15/never-give-up/</link><pubDate>Mon, 15 Dec 2008 07:52:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/12/15/never-give-up/</guid><description/></item><item><title>Mobile Security</title><link>https://blog.yangtheman.com/2008/12/11/mobile-security/</link><pubDate>Thu, 11 Dec 2008 08:08:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/12/11/mobile-security/</guid><description/></item><item><title>Now is the best time to start a company</title><link>https://blog.yangtheman.com/2008/11/25/now-is-the-best-time-to-start-a-company/</link><pubDate>Tue, 25 Nov 2008 17:46:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/11/25/now-is-the-best-time-to-start-a-company/</guid><description/></item><item><title>Want and Must</title><link>https://blog.yangtheman.com/2008/11/17/want-and-must/</link><pubDate>Mon, 17 Nov 2008 23:34:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/11/17/want-and-must/</guid><description/></item><item><title>Founders at Work - Part 2</title><link>https://blog.yangtheman.com/2008/10/23/founders-at-work-part-2/</link><pubDate>Fri, 24 Oct 2008 06:30:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/10/23/founders-at-work-part-2/</guid><description/></item><item><title>Future of advertisement</title><link>https://blog.yangtheman.com/2008/10/23/future-of-advertisement/</link><pubDate>Fri, 24 Oct 2008 06:01:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/10/23/future-of-advertisement/</guid><description/></item><item><title>Founders at Work - Part 1</title><link>https://blog.yangtheman.com/2008/10/09/founders-at-work-part-1/</link><pubDate>Fri, 10 Oct 2008 04:43:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/10/09/founders-at-work-part-1/</guid><description/></item><item><title>Open, Closed and Whole Product</title><link>https://blog.yangtheman.com/2008/10/08/open-closed-and-whole-product/</link><pubDate>Thu, 09 Oct 2008 06:29:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/10/08/open-closed-and-whole-product/</guid><description/></item><item><title>Danger of isolation</title><link>https://blog.yangtheman.com/2008/10/08/danger-of-isolation/</link><pubDate>Wed, 08 Oct 2008 19:56:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/10/08/danger-of-isolation/</guid><description/></item><item><title>Whole Product</title><link>https://blog.yangtheman.com/2008/10/02/whole-product/</link><pubDate>Thu, 02 Oct 2008 19:53:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/10/02/whole-product/</guid><description/></item><item><title>Mobile app - P2P or mesh</title><link>https://blog.yangtheman.com/2008/09/29/mobile-app-p2p-or-mesh/</link><pubDate>Tue, 30 Sep 2008 06:31:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/09/29/mobile-app-p2p-or-mesh/</guid><description/></item><item><title>History repeats itself? iPhone and Apple Mac's</title><link>https://blog.yangtheman.com/2008/09/25/history-repeats-itself-iphone-and-apple-macs/</link><pubDate>Thu, 25 Sep 2008 19:24:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/09/25/history-repeats-itself-iphone-and-apple-macs/</guid><description/></item><item><title>T-Mobile G1 (Dream)</title><link>https://blog.yangtheman.com/2008/09/23/t-mobile-g1-dream/</link><pubDate>Tue, 23 Sep 2008 21:06:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/09/23/t-mobile-g1-dream/</guid><description/></item><item><title>Mobile app - translator</title><link>https://blog.yangtheman.com/2008/09/23/mobile-app-translator/</link><pubDate>Tue, 23 Sep 2008 07:08:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/09/23/mobile-app-translator/</guid><description/></item><item><title>Follow your dream?</title><link>https://blog.yangtheman.com/2008/09/22/follow-your-dream/</link><pubDate>Tue, 23 Sep 2008 05:22:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/09/22/follow-your-dream/</guid><description/></item><item><title>Dare to predict the future</title><link>https://blog.yangtheman.com/2008/09/21/dare-to-predict-the-future/</link><pubDate>Mon, 22 Sep 2008 06:39:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/09/21/dare-to-predict-the-future/</guid><description/></item><item><title>Just do it!</title><link>https://blog.yangtheman.com/2008/02/22/just-do-it/</link><pubDate>Fri, 22 Feb 2008 07:29:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/02/22/just-do-it/</guid><description/></item><item><title>Security: Tech's all-time top flop</title><link>https://blog.yangtheman.com/2008/02/03/security-techs-all-time-top-flop/</link><pubDate>Sun, 03 Feb 2008 07:36:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/02/03/security-techs-all-time-top-flop/</guid><description/></item><item><title>Microsoft + Yahoo is a bad, bad move</title><link>https://blog.yangtheman.com/2008/02/03/microsoft-yahoo-is-a-bad-bad-move/</link><pubDate>Sun, 03 Feb 2008 07:04:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/02/03/microsoft-yahoo-is-a-bad-bad-move/</guid><description/></item><item><title>Signature-based security is no longer effective</title><link>https://blog.yangtheman.com/2008/01/26/signature-based-security-is-no-longer-effective/</link><pubDate>Sun, 27 Jan 2008 06:34:00 +0000</pubDate><guid>https://blog.yangtheman.com/2008/01/26/signature-based-security-is-no-longer-effective/</guid><description/></item><item><title>Pros and cons of outsourcing software development to India</title><link>https://blog.yangtheman.com/2007/08/24/pros-and-cons-of-outsourcing-software-development-to-india/</link><pubDate>Sat, 25 Aug 2007 06:18:00 +0000</pubDate><guid>https://blog.yangtheman.com/2007/08/24/pros-and-cons-of-outsourcing-software-development-to-india/</guid><description/></item><item><title>Learn from others' mistakes</title><link>https://blog.yangtheman.com/2007/07/10/learn-from-others-mistakes/</link><pubDate>Wed, 11 Jul 2007 03:39:00 +0000</pubDate><guid>https://blog.yangtheman.com/2007/07/10/learn-from-others-mistakes/</guid><description/></item><item><title>What makes a company great?</title><link>https://blog.yangtheman.com/2007/07/05/what-makes-a-company-great/</link><pubDate>Fri, 06 Jul 2007 02:50:00 +0000</pubDate><guid>https://blog.yangtheman.com/2007/07/05/what-makes-a-company-great/</guid><description/></item><item><title>Do you dare to predict the future?</title><link>https://blog.yangtheman.com/2007/07/04/do-you-dare-to-predict-the-future/</link><pubDate>Thu, 05 Jul 2007 04:24:00 +0000</pubDate><guid>https://blog.yangtheman.com/2007/07/04/do-you-dare-to-predict-the-future/</guid><description/></item><item><title>Software is the king</title><link>https://blog.yangtheman.com/2007/07/04/software-is-the-king/</link><pubDate>Thu, 05 Jul 2007 02:22:00 +0000</pubDate><guid>https://blog.yangtheman.com/2007/07/04/software-is-the-king/</guid><description/></item><item><title>In transition, stuck in the middle</title><link>https://blog.yangtheman.com/2007/06/29/in-transition-stuck-in-the-middle/</link><pubDate>Sat, 30 Jun 2007 05:14:00 +0000</pubDate><guid>https://blog.yangtheman.com/2007/06/29/in-transition-stuck-in-the-middle/</guid><description/></item><item><title>Identity Crisis</title><link>https://blog.yangtheman.com/2007/04/19/identity-crisis/</link><pubDate>Fri, 20 Apr 2007 05:28:00 +0000</pubDate><guid>https://blog.yangtheman.com/2007/04/19/identity-crisis/</guid><description/></item><item><title>Scholar and Entreprenuer</title><link>https://blog.yangtheman.com/2007/04/19/scholar-and-entreprenuer/</link><pubDate>Fri, 20 Apr 2007 05:16:00 +0000</pubDate><guid>https://blog.yangtheman.com/2007/04/19/scholar-and-entreprenuer/</guid><description/></item><item><title>Online resources for high-tech entrepreneurs</title><link>https://blog.yangtheman.com/2007/03/27/online-resources-for-high-tech-entrepreneurs/</link><pubDate>Wed, 28 Mar 2007 01:59:00 +0000</pubDate><guid>https://blog.yangtheman.com/2007/03/27/online-resources-for-high-tech-entrepreneurs/</guid><description/></item><item><title>Google Interview</title><link>https://blog.yangtheman.com/2007/03/23/google-interview/</link><pubDate>Sat, 24 Mar 2007 02:38:00 +0000</pubDate><guid>https://blog.yangtheman.com/2007/03/23/google-interview/</guid><description/></item><item><title>Starting a company is hard....</title><link>https://blog.yangtheman.com/2007/03/22/starting-a-company-is-hard/</link><pubDate>Fri, 23 Mar 2007 02:47:00 +0000</pubDate><guid>https://blog.yangtheman.com/2007/03/22/starting-a-company-is-hard/</guid><description/></item><item><title>Who am I?</title><link>https://blog.yangtheman.com/2007/03/22/who-am-i/</link><pubDate>Fri, 23 Mar 2007 02:34:00 +0000</pubDate><guid>https://blog.yangtheman.com/2007/03/22/who-am-i/</guid><description/></item></channel></rss>