Flock: Yet another Web Browser…

November 20, 2007 § Leave a comment

Update December 23, 2007:

Soon enough I will be switching back to Firefox, to be exact, Firefox 3.0.

Why? Firefox version 3.0 is ridiculously fast. Faster loading time, faster loading tab, and faster rendering.

When? As soon as Firebug is ported to FX 3.0. 

Yes, I know… another web browser… as if there’s not enough of them, but let me explain why Flock might be a nice replacement of your Firefox.

Yes, you heard that right.

Flock might be a nice suitable replacement of Firefox. Firefox is nice even before Firebug. With Firebug, it has become irreplaceable.

Firebug is the Office for Microsoft, OS X for Apple, and Myspace for the Internet in the eye of teenagers. Therefore it is impossible for me to switch browsers. Until I came up with this way belated idea.

Why not use some other Gecko-based web browsers that can still use Firebug.

Thus, I installed Flock. Once you can get by the cluttered-default interface (which you can disabled), Flock seemed to be a great candidate as Firefox replacement. It has been 3 days since I use it and it hasn’t crashed yet.

Readers should try Flock, you might like it.

Reviews:

Awesome SQLAlchemy Tutorials

November 15, 2007 § Leave a comment

Below are couple of awesome SQLAlchemy tutorials,

the list will grow as I find more of these:

OS X Leopard: Dock…

November 12, 2007 § Leave a comment

is driving me crazy.

It was perfect on Tiger, why change it into some faux 3D translucent table?

I thought minimalist style is the dogma on OS X styling.

But anyway, these are reasons why I hate the “new” Dock:

  • When magnification is “on”, the Dock becomes ridiculously crowded and noisy. Even when being busy programming, I cannot help but to notice how horrendous the Dock is.
  • What’s the point on having reflection on the icon? It’s not like the shadow is accurate.

Anyway, this is how you can make the Dock “2D”:

prompt> defaults write com.apple.dock no-glass -boolean YES
prompt> killall Dock

Review on Mac OS X Leopard

November 9, 2007 § Leave a comment

After using it for couple of days, I think it’s time to give the new OS its review. The list will grow as I use it more and more.

Changes that not necessarily useful but nice anyway:

  • Finally! Unified GUI… iTunes, Finder, & Safari no longer look alien to each other.

Features I find useful:

  • Stacks cut down amount of clicks I have to do while navigating Finder. It is very well executed.
  • Quick look is very useful, especially for reading comic book online.
  • Leopard’s Spotlight is definitely faster.
  • Most Leopard early adopters don’t like the new menubar, especially because of the transparency. But I LOVE transparency, all of Leopard’s transparency feature is done well IMO.

Features I find lacking:

  • The iTunes-esque cover flow felt somewhat unnatural and useless. It is not big enough to replace document preview and definitely not as useful as quick look.

I got Leopard (OS X) installed!!!!!

November 9, 2007 § Leave a comment

and then MySQL is broken… Damn…

There are quite a number of people giving suggestions on how to deal with this problem.

It turns out to be just permission problem. Below is what I did:

Fri Nov 09–at[~]–do–>sudo chown -R {my_username} /usr/local/mysql/data

Done.

Now I can start and stop MySQL via Preference Pane as usual.

Hopefully this help some readers who want to upgrade to OS X Leopard.

OS X Haiku (1)

November 2, 2007 § Leave a comment

It was chowned last week,

sudo “fix my computer”!

Only in my dream…

Python Haiku (1)

November 1, 2007 § Leave a comment

Nightmare in Track Town

Spaghetti code reigns supreme

Python makes me sane

Python: SQLAlchemy & MySQL installation problems…

November 1, 2007 § Leave a comment

Another dependency issue happened again to me while re-installing my python development environment.

What did I do to re-install Python?

  1. Downloaded python 2.5.1
  2. Downloaded easy_install
  3. Installed every modules using easy_install (w/o version number, so that I get the most recent stable build)

What went wrong?

1. SQLAlchemy import was messed up. All the sudden I couldn’t import create_session…

What did I do?

>>> import sys
>>> sys.path
['', '/Library/Frameworks/Python.framework/Versions/2.5/lib/

python2.5/site-packages/SQLAlchemy-0.4...egg', ]

Nothing is weird, but this Google Group discussion mentioned that an unrelated project had similar dependency issue to mine. Their solution is to downgrade SQLAlchemy to 0.3.10 (version 0.3.11 is also OK)

Using SQLAlchemy:

easy_install -U “SQLAlchemy==0.3.11″ 

Voila, import problem solved.

2. Cannot run MySQL_python because of missing dot so file, now that’s messed up big time. This is the snippet of the error:

ImportError: dlopen(~/.python-eggs/MySQL_python-1.2.2-py2.5-macosx-10.5-i386.egg-tmp/_mysql.so, 2): Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient_r.15.dylib
Referenced from: ~/.python-eggs/MySQL_python-1.2.2-py2.5-macosx-10.5-i386.egg-tmp/_mysql.so
Reason: image not found

What did I do?

Googling this problem, reveal the cure for it:

sudo mkdir /usr/local/mysql/lib/mysql
sudo cp /usr/local/mysql/lib/libmysqlclient_r.15.dylib /usr/local/mysql/lib/mysql/libmysqlclient_r.15.dylib

Apparently the particular mysql lib file is located in the wrong folder.

Done, now the project runs smoothly the way it was before.

Lesson Learned:

Google Search is very Python friendly, use it extensively.

Where Am I?

You are currently viewing the archives for November, 2007 at RAPD.

Follow

Get every new post delivered to your Inbox.