A place for my personal musings, about programming, design or whatever come across my mind

kahfei

An excellent interview with Steve Jobs by Playboy. “Why should a person buy a computer?” the interviewer asks. Remember, it is 1985. Computer is not as common and not as advanced as today. Normal human reaction toward changes is to resist, hence we fall back to what we know best, what we have been doing […]

There are already guide out there to get Jekyll installed on Windows machine. I have problem to start it after installation though, a long list of errors follow, D:\ruby_projects\olla\jekyll serve Configuration file: D:/ruby_projects/olla/_config.yml Source: D:/ruby_projects/olla Destination: D:/ruby_projects/olla/_site Generating… Liquid Exception: cannot load such file — yajl/2.0/yajl in _posts/2013-10-22-welcome-to-jekyll.markdownD:\ruby_projects\olla\jekyll serve Configuration file: D:/ruby_projects/olla/_config.yml Source: D:/ruby_projects/olla Destination: […]

Following railstutorial again, to strengthen my rails basic and pick up new shiny things in rails 4. Getting sublime to run test directly is quite awesome, I mean you just need to highlight part of the test you wish to run, cmd + shift + R, boom you got your test result, all without needing […]

This irb tip is from Natasha the Robot. Often we forgot to assign an expression to a variable, you could of course use up arrow to retrieve last command and then move all the way to the front, add a variable and equal sign to it, but that is a lot of troubles. An easy […]

I often needs to open up multiple Terminal session on the same path, example, one to launch rails server, then another to actually working with it. There are a few tricks on the internet, but most involved writing some applescript to achieve that. I prefer a straightforward solution hence I keep on looking, finally found […]

Attended an information sharing session this morning. One problem stood up. The person conducting the session is a bad presenter, not very fluent in English, and speaks with very heavy accent. Most of us are at a lost on what he tries to convey. Twenty minutes into his talk, half of the audiences already give […]

I keep bump into this problem, where I pick up some basic long ago, after a while, get too used to it and forgot the reason why something is done in a particular way. If I have written about it, then I have a better understanding and longer memory. Like the collection_select method which I […]

I wish by now I have something positive to write as a fitting part 2 to the post wrote last year, you know, happy ending or something like that. The sad fact is, after numerous try, despite seemingly getting closer each time; I am still here one year later, still looking every possible ways to […]

No doubt heroku is the greatest thing since sliced bread, with easy deployment and stuff, and it is free to start with. Perfect for stingy developer like me. So I am working on a rails apps, deployed to heroku, with paperclip for image upload. Things work fine, except images I uploaded keep on missing. I […]