I’ve been developing a website with Ruby on Rails since August(more on the choice of the technology later). I like Ruby on Rails the framework a lot so far and it has made me very productive. However, the default debugger breakpointer (ruby script/breakpointer) is somewhat primitive. One of the big minuses is that breakpointer does not provide the functionality to step through your code. I didn’t feel that was a big problem because frankly the output from WEBrick and development.log, together with breakpointer allowed me to diagnose any problems I had until now.
The implementation of PayPal payment for my website changed my requirements and I now need to step through the code to have a better understanding of the payment process, to ensure payments are handled correctly. I dug around the net a little and found ruby-debug. The first version of ruby-debug was developed by Kent Sibilev in July. The current version of ruby-debug has very convenient features such as stepping into or over a line of code, viewing the code, saving your breakpoints to a file, etc. It has made my life a lot easier.
I’m currently running Ubuntu Dapper Drake and the installation of ruby-debug is very easy if you install Continue reading
It’s often true that stocks trade 9 to 12 months ahead of their fundamentals. The home builder stocks are showing signs of bottoming. Does that mean that the U.S. housing market is stablizing?
I’ve found that the housing stocks trade in tandem. Let’s take a look at some of their charts. The trend sure looks great.
CNBC had a special program on Warren Buffett yesterday. It was just an hour long of great entertainment as well as education. Among other things, the program talked about the annual shareholder meeting of Berkshire Hathaway. It showed how enthusiastic people were attending the meeting. It reminded me how I’ve always wanted to go to a Berkshire Hathaway shareholder meeting and that I never had the time to go(or I made up an excuse for not going).
I’ve always admired Warren Buffett and Charlie Munger. Not only they have great business sense, that they can make the most complicated things look so simple, they also have high ethics and integrity. I decided that I did not want to put off meeting these two giants anymore and so Continue reading
Starbucks the stock took a beating today. It’s trading down 6% after a “lackluster” earnings report. I continue to like the stock and here’s why.
Technically, the stock is forming a giant reverse head-and-shoulder with a major resistance at $40. I didn’t expect the stock to blow past the resistance as soon as today. If the width of the right shoulder is going to be about the same as the width of the left shoulder, it’ll probably be another month before we have a breakout above $40, that is if we do get a breakout.
Fundamentally, Continue reading
I had been procrastinating to set up my company email up until last week when I had to start signing up for services for my company. I thought about managing my own email servers since having total control and privacy is certainly nice. I spent a few hours learning about Postfix but finally decided that it was too much of a hassle to manage my own email server. Plus I want to dedicate all my VPS resources to my web application(more on VPS hosting later) anyway. I also didn’t want to just spend $10 a month to get a shared hosting plan just to get managed emails.
Coincidentally, a Help page of a hosting company mentioned Google Apps for your Domain and it reminded me the free Continue reading
Update: see my post Paypal vs Google Checkout online payment systems – Part II
As I mentioned on my About page, I’m in the process of starting a website(more on the nature of the website later). One of the things I need to do is to set up online payment for my customers. I considered handling credit card transactions myself but that simply has too many security implications. Instead, I’m looking into PayPal and Google Checkout. It’s best to leave online payment processing to the specialists.
One thing that would be really nice for my website to have is some kind of shopping cart/checkout feature which would allow me to streamline the payment process nicely. However, Google Checkout requires you to work with a 3rd party e-commerce partner to enable the checkout feature. Continue reading
This was originally posted on November 6, 2006:
Thanks to Digg, I had a chance to read Steve Jobs’ commencement speech again. We all have limited time on the face of the earth and I wish you all be able to make the best use of it. Here’s a link to the speech if you haven’t read the script or you’d like to reread it. It’s worth the time.
What are your dreams? What do you want in life?