Kitchen Nightmares and Entrepreneurship

I am a big fan of Hulu. Ever since I found Hulu, I don’t watch much of TV. This is clearly new way of watching TV shows.It’s very convenient, and I get to watch whatever I want (as long as episodes are available) and whenever I want. Since I don’t have much time to watch during the weekday nights, I tend to “binge” watch on weekend nights.

I have recently discovered a very interesting show called “Kitchen Nightmares“, and while it’s entertaining and a little formulaic, I drew a lot of parallels with entrepreneurship.

Passion

It was amazing to see how many co-owners didn’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.

Passion was something a lot of investors and entrepreneurs talk about (also in the book called “Monk and the Riddle“). An entrepreneur without passion is an oxymoron. If investors see the lack of passion, it’s the fastest way to getting turned down.

Leadership

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’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.

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. Continue reading

Post to Twitter

Full text search on Heroku

If you want to have full text search capability on Heroku, you should definitely use texticle or acts_as_tsearch. It is possible to use acts_as_farret on Heroku, but since you can only write to /tmp directory and your index file will be deleted sooner or later, you should not use it.

I first used texticle, and later switched over to acts_as_tsearch because I wasn’t happy with performance. Acts_as_tsearch is working really fine for me, and since your database on Heroku is already Postgres, there should be minimal configuration required. I even switched my local database from MySQL to Postgres to make both development and production environments consistent.

Post to Twitter

My answer to text-dynamo

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.

http://github.com/eandrejko/text-dynamo

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’s quite simple. You go through the seed text and count frequency of next words, and that determines the frequency. For example, “am” is likely to folllow “I” most frequently. Next might be “do” or other verbs.

Continue reading

Post to Twitter

Korea will be left behind

It’s okay to be patriotic. You should love your country, but it should not keep you from being objective.

In one way, Koreans are kind of Xenophobic. It’s not exactly it because they don’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’s media’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.

When you are in the middle of it, it’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’t care.

Now, you may ask, “why do you care?” I shouldn’t. What Korea does or doesn’t do doesn’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’t want to care, but I can’t help it.

Anyhow, I think Korea is in big trouble. They will be completely left behind in 10 years or so. Because they don’t invest in important technologies. But, you might say, “C’mon. Korea has the highest rate of Broadband penetration! Their mobile technology is way ahead of the Continue reading

Post to Twitter

How to convert from MySQL to Postgres

I have been using MySQL for probably as long as I could remember. For Bloglation, search capability is an important feature since it’s hard to browse each post one by one. I will probably implement tagging functionality, but even so, it’s important to be able to search the contents with a keyword(s). While Ultrasphinx works well, Heroku only supports WebSolr… 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.

Then, I found out that Postgres supports full-text search and since Heroku uses Postgres, I could use other plug-ins like acts_as_tsearch or texticle for free. Free is important to me, since it’s not making any money.

Searching online, there are various ways to do it like Pivotal Labs’ script or Heroku’s Taps gem, but I wanted to do it in an old way like AEdifice to check everything is going alright at each step.

1. First thing to do is to backup MySQL

For me, it was important to backup preserving encoding, since it had many different languages. First I pulled db from Heroku thinking that I Continue reading

Post to Twitter

Bloglation – Translate, Save, and Share!

Last Thursday, I released private alpha version of Bloglation, which lets a user translate any web page, save and share. It’s supposed to be private, but I need to get some good feedback from real users. If you are bi-lingual (or not) and interested in translating cool ideas, concepts and/or knowledge, please go ahead. And don’t forget to send me any comments/feedback you have.

I also wanted to maintain a separate blog just for bloglation. You can find it here.

Post to Twitter