Community Page
- www.rickylui.com/blog Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- Agree and perception is a major topic in management. I sometimes compare low perception value but with real quality and great perception value but low real quality, which one is the less of the two...
- 11 months ago
- 0 comments
- Active 11 months ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
- 1 year ago
- 0 comments
- Active 1 year ago
- More
Cuil indexes 120 billion Web pages, but it forgot to index itself. started by rickylui
I thought I’ll just give a new search engine, Cuil, a try, and so I tried to find a firefox plugin for it.
And while I’m thinking “Hmm… should I use Google to find whether there’s a firefox plugin for Cuil?”, then I
And while I’m thinking “Hmm… should I use Google to find whether there’s a firefox plugin for Cuil?”, then I
CodeJam@Thoughtworks Beijing started by rickylui
Ye Zheng wrote quite a detailed account (in Chinese) about our first CodeJam in the Beijing office already, so I’ll just be brief. I had a great time pairing with other colleagues that I haven’t worked with before. In hindsight I was quite amazed how much we accomplis
CodeJam@Thoughtworks Beijing started by rickylui
Ye Zheng wrote quite a detailed account about our first CodeJam in the Beijing office already, so I’ll just be brief. I had a great time pairing with other colleagues that I haven’t worked with before. In hindsight I was quite amazed how much we accomplished and how smoot
Apple and Nintendo started by rickylui
They’re my favourite companies that I’d like to invest into: I think long term both companies has designed great electronics with great user interfaces. Prices of electronics always drop, and I think it’s probably now reached a point where prices has become
making it your own, by blogging started by rickylui
I’m a lazy blogger. But one reason to do it more often is to write about what I have learned and therefore reinforce my memory. A few months ago I worked with the wonderful Jake Scruggs and learned about RSpec and mocking out the ‘new’ method of a class. Today
Hello world! started by rickylui
Welcome to my blog. A new life, looking forward to becoming a ThoughtWorker!
The Design of Everyday Things, and writing code started by rickylui
Our client recommended me to read this book “The Design of Everyday Things“, which is about Human Factors and not specifically about software nor GUI design. As a software developer though, I actually find some intriguing parallels in writing code:
“Design of Everyday Things” counter-example started by rickylui
There are many counterexamples in the book… the one I liked is the remote control that has a loop antenna on it. The user, a computer science prof, points the loop antenna to his stereo, but still the stereo didn’t seem to receive the signals from the remote very well.
Suppressing warnings in Ruby (in my case, assert_select) started by rickylui
assert_select outputs warnings to stderr about invalid HTML problems (something like a mismatching closing
), yet the assertion still passes/fails as expected. So, instead of fixing the real problem by digging through our layout and partials rhtmls and find the mismatching%
), yet the assertion still passes/fails as expected. So, instead of fixing the real problem by digging through our layout and partials rhtmls and find the mismatching%
“Design of Everyday Things” - User feedback started by rickylui
p.g 158: “Most designers… know the product too well to envision how people will use it, yet we (designers) are separated from the end users by multiple layers of corporate bureaucracy…. What this really points out is that the process by which we design is
“Design of Everyday Things” example started by rickylui
In “Design of Everyday Things”, the author introduced concepts such as “conceptual models”, “forcing function”, “gulf of execution and gulf of evaluation”, etc. The design that he mentioned more
TDD is good for your happiness and well-being started by rickylui
“Flow”, by Mihaly Csikszentmihalyi, is one of the pioneering books in the field of Positive Psychology, i.e. researching about what makes people happy and productive, instead of focusing of psychological diseases.
One of the key concepts in the book is t
One of the key concepts in the book is t
First few days in Bangalore started by rickylui
It’s very nice weather at Bangalore! Mild and definitely not too hot this time of year. I was told that Delhi could be as hot as 40C in the summer, and as cold as 5C in the winter!
MTR was a very nice restaurant. You know it’s good when you see the loca
MTR was a very nice restaurant. You know it’s good when you see the loca
Mysore trip started by rickylui
Very good buffet breakfast, at a highway stop like restaurant. They had many huts and we occupied one of them. Rice Idly, vada, etc… and good watermelon juice.
Then we went to Srirangapatnam, Tipu Sultan’s summer palace. The drawings on the w
Then we went to Srirangapatnam, Tipu Sultan’s summer palace. The drawings on the w
Lego and my TV debut started by rickylui
on India CNN, I got 1/10 sec exposure. Shows you how much fun we had in our training with Legos!
Jajah: free phone-to-phone long distance started by rickylui
A friend told me about Jajah, and it’s a VoIP callback system. You enter your own phone number, and the destination phone number, and Jajah will call you and then the destination. It’s free only if you and your destination both signed up as members,
Tailored 2 shirts in Bangalore started by rickylui
Picked up 1 of my 2 shirts today from my tailor. It was my first time getting tailor-made shirts, so I forgot to specify how the bottom of my shirt should look like… and there’s some miscommunication regarding the collar style, so they’ll fix it for me. I&%
2nd attempt of keeping at blogging, and Synergy started by rickylui
After forgetting about my blog, it’s time to revive it, and Canada Day seems a good day to do so. So I’m sitting at home in front of my work laptop and my personal one, and using my ergonomic keyboard and trackball controlling both.
That’s po
That’s po
Bull Temple started by rickylui
The Bull Temple was very interesting. Local people go to worship, and of course there are a few vendors and beggers who are especially persistent to court tourists. A teenager was showing us around, telling us some history about the Nandi temple, but of course at the end he’s ask
JSON is valid YAML started by rickylui
I was searching for simple JSON parsing in Rails and found only the Rails 2.0 way: ActiveSupport::JSON.decode. In old version of Rails (1.2.6) there’s only JSON.encode…
So I googled and found here that you can do YAML::load ‘{&%2
So I googled and found here that you can do YAML::load ‘{&%2
Don’t be a refactoring bigot started by rickylui
Developers want to write simple and elegant code. I do too, and so sometimes I catch myself being a little bit of a “refactoring bigot”, that when I came across code that I deemed not good, I became critical, or I just wanted to fix it all at once. Not very smart.%3
Learning Textmate shortcuts started by rickylui
As Nick Carroll said here, pairing with different IDEs means more shortcuts to remember. For our project we’ll be using jEdit and Textmate, so that motivated me to look up the equivalent for Textmate
: Ctrl-Cmd-T lists the actions in a Quicksilver manner.
: Ctrl-Cmd-T lists the actions in a Quicksilver manner.
TextMate bundle to Run Focused Test on a module (part 2) started by rickylui
So here’s the actual bundle, using Alt-Cmd-M as shortcut.
Shane wrote another bundle to run all tests (instead of running just focused test) that include a module, Cmd-M, and I’ve included it here too.
run_all_unit_tests_in_module-tmCommand.gz<br %
Shane wrote another bundle to run all tests (instead of running just focused test) that include a module, Cmd-M, and I’ve included it here too.
run_all_unit_tests_in_module-tmCommand.gz<br %
A few things I learned about ActiveRecord after_create (and other callbacks) started by rickylui
1. after_create does not get inherited
class Animal < ActiveRecord::Base
after_create :feed_on_milk
def feed_on_milk
self.immunity_level = 1
end
end
class Cat < Animal
end%3
class Animal < ActiveRecord::Base
after_create :feed_on_milk
def feed_on_milk
self.immunity_level = 1
end
end
class Cat < Animal
end%3
Next
Sometimes I c