Archive for the 'English' Category

Tasty Delicious on LearnHub too

Jun 11 2008 Published by under English,Links,Toronto

We are on del.icio.us Hotlist today! And it is the 4th in popular list.

No responses yet

Tasty Crunching on LearnHub

Jun 11 2008 Published by under English,Ruby,Toronto

We’ve redesigned our homepage:

And get TechCrunched:

Tasty!

No responses yet

RailsConf 2008 Summary and Review

Jun 11 2008 Published by under English,Ruby,Toronto

We three of us in Learnhub, Wesley Moxam, Carsten Nielsen and my self have attended RailsConf 2008 last weekend. It was a great event for sure. After came back, we did a presentation for Toronto Ruby on Rails Project Night yesterday. Here is the presentation file which we’ve used:

More details are on LearnHub Rails Community:

RailsConf 2008 Summary and Review

No responses yet

DHH & Libin

Jun 03 2008 Published by under English,Ruby

DHH & Libin, originally uploaded by Wes and Faye.

Thanks to my dear co-worker Wesley took this nice picture for me!

It was after David has finished his Keynote in RailsConf 2008.

No responses yet

RailsConf 2008

May 29 2008 Published by under English,Ruby

Stay tuned! More details about RailsConf 2008 will be here soon.

See you in Portland! :D

One response so far

Death Toll at Least 10,000 From China Earthquake

May 12 2008 Published by under China,English

Nearly 10000 dead in China quake, fears for many more

China quake buries nearly 900 students in Sichuan Province

Massive death toll feared in Chinese earthquake

More on Google News

No responses yet

(Re)Enable TextMate Ruby Bundle

May 11 2008 Published by under English,Mac,Ruby,Software

We all love TextMate, by all means. It is the best friend for Ruby Developers.

After our project upgraded to Rails 2.0+ at LearnHub.com, I noticed that there are some very powerful Ruby Bundle Commands just stopped working. Especially these two:

  • Run Focused Unit Test

This is an awesome lovely command in Ruby Bundle, absolutely my favorite! It allows you to run a single unit test out of a whole suite of tests by simply positioning your cursor into the test you’d like to run.

  • Run Rake Task

This is another cool command too. It shows a popup window which list all the available rake tasks you have and it will show a pretty HTML result window after you choose from the list.

This thing really bothers me a lot. I could be fine for the second one, as I do have terminal windows open all the time. But I really really miss the first one, as our test files get longer very soon.

I have to make it work!

After couple of hours trying today, I’ve pretty much got the right reason and the simple solution, for now.

The reason is that TextMate includes its own version of builder.rb, which is conflicting with Rails 2.0′ version of builder.rb.

The simple solution:

  1. Open TextMate Bundlers Editor
  2. Find Ruby -> Run Focused Unit Test
  3. Search for RUBYLIB=”$TM_BUNDLE_SUPPORT/RakeMate${RUBYLIB:+:$RUBYLIB}”
  4. Change to RUBYLIB=”$TM_BUNDLE_SUPPORT/RakeMate”
  5. Reload Bundlers

That’s it! And apply the same changing method to other commands such as “Run Rake Task” as well.

And just want to point out the alternate solution is:

mv /Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb /Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb.bak

It’s up to you to choose one of them.

Hope Google can pickup this post quickly so we can save somebody else sometime too. :)

Enjoy!

3 responses so far

Collect and share your online life

May 11 2008 Published by under English


My personal life and learning timeline.

Collect and share your Learning life!

Create yours on Dipity.com too.

No responses yet

ZipCar, Mini Cooper and Time

May 10 2008 Published by under English,Toronto

Toronto, May 10, Sunny, 19°C. A beautiful day after the long long winter.

There is a ZipCar parking spot in front of our building, I’ve been thinking to try them for a while. Finally, I’ve got my zipcard this Monday. So I decided to spend some time with this hot red mini cooper today. It was absolutely an exciting experience and I’ve learned three things:

  1. ZipCar is a great solution for occasional driving needs. Reliable and convenient access plus a reasonable price could make our life a little easier and more fun. You just reserve it early, drive it safe and return it on time. After that, you could just forget it until you need it again, so you don’t have to deal with those vampire insurance companies here in Ontario.
  2. Mini Cooper is an awesome car. It is beautiful, smart, powerful and big enough. The one I was driving is pretty much the same as the one in the picture. It has some very nice features such as sunroof. Driving mini is a really enjoyable and comfortable experience. I love this car and I am planing to get one when I really need. Well, maybe. If we could have ZENN electric car here?
  3. Time is money! (If you return ZipCar late, penalty starts from $50.) Your time is money, every second counts. Even some moments nobody pays you or you don’t pay anybody, they still are. So, if you don’t use it, you lose it, for even.

Wanna give ZipCar a try too?

No responses yet

Java SE 6 on Leopard, Officially!

Apr 29 2008 Published by under Apple,English,Java,Mac,OS X

Half a year after Leopard has been released, we finally get an official Java SE 6 from Apple today!

Java for Mac OS X 10.5 Update 1 adds support for Java SE 6

Thanks Apple! Anyway…

As you can see from the description:

This update does not replace the existing installation of J2SE 5.0 or change the default version of Java.

So if you want to make Java SE 6 your default version of Java, there is one thing you need to do:

sudo ln….. OK, no command line this time.

Here is the right way to do:

  1. Launch /Applications/Utilities/Java/Java\ Preferences.app
  2. Drag “Java SE 6 (64-bit)” to the top of the “Java Application runtime Setting”
  3. Save

You could change Java Applet Runtime Version to J2SE 6 too, but please make sure you know you really need it.

Enjoy!

2 responses so far

« Prev - Next »