Feb 28, 2009

FOWA Miami 2009 Notes' Notes

Didn't make FOWA Miami 2009, but after reading the notes from Obie Fernandez, I felt it's a fantastic event. Here is the notes from the "notes":

3rd place:
"If you're in this room trying to convince someone to use Facebook or Twitter, stop it."

2nd place:
"Fail early, fail often is invalid in business. Learn from success."

1st place, this is my favorite one:
"I asked him how many years until he buys the jets. He said 25, but if he can't he'll take out the NFL. 'Fuck the NFL' (ROFL!)"

Again, thanks Obie Fernandez for the wonderful notes.

Feb 21, 2009

Compile do_mysql on OS X(Mac)

I was trying to upgrade DM to the latest version the other day, but I failed miserable:


I also noticed that there is a plugin dm-constraints, I haven't check it out yet, but it seems like the same, here is the code from the plugin:


I filed an issue report on lighthouseapp.com.

UPDATE(Feb-21-2009): Just got the note from Dan Kubb( one of the core DM developers):
"The Collection#destroy! method is actually supposed to bypass all hooks. The way you're doing it by looping over the records and calling each Resource#destroy method is the proper approach to execute each Resources' hooks.
In dm-core 0.10.0 there will be a Collection#destroy method that wraps this up and essentially does the same thing."

This makes a lot of sense. Like always, I really appreciate the attitude of the developers from DM, that is one one the reason I am using DM.

Feb 7, 2009

Smart Sleep - Mac OS X

I can't remember since when Apple decided that when you sleep your laptop, it will write all the data in memory to the hard drive, then go to hibernate. It is a good thing if you are on road, and want to change the battery. Once you power it on, every thing just like before you swap the battery. But for me, I've had 4 apple laptops, I've never done this for a single time. Especially for my latest MacBook Pro, I have to wait it to dump 4GB memory on to hard drive every time. And most of the time, I found it is even faster if you just power off it. I would be more happier if it can go to sleep right away when I close the lid.

Now, you can do that - SmartSleep PrefPane. I've been looking for something like this for a while. Why I love it, you know, now, I can get home 5 mins earlier every day. :-)

Feb 1, 2009

Bigger system fonts on Mac

Maybe I am too old[I am not :)], or I am working with too many 'elder' people in office, I was frequently asked "How can I get bigger fonts on my screen?". Well, I am not talking about "CMD +". It is too easy, most of the situation, they want every thing if possible.

First, I found "Quartz Debug".

I must to say it is very interesting. You should try it out if you've not yet. You will get the bigger fonts as you want, menu, labels... But it may have some problem when rendering the mouse.(Here, on an iMac). All that said, I am supposing you know what you are doing...

Then I tried "TinkerTool".

It is a very nice app. Not only the fonts, it can do other stuff for you too. e.g, I am putting the dock on the left-bottom now. :-) I would like to recommend TinkerTool for changing the fonts.