Archive for March of 2007

OS X, PHP 4.4.4 and MySQL 5

March 24, 2007
I just had some troubles setting local MySQL, phpMyAdmin and XOOPS. The problem was that neither application was able connect MySQL even though it was up and running. I got an error:

#2002 - The server is not responding (or local MySQL server's socket is not correctly configured)

After some serious searching it turned out to be mismatch of the socket setting.

Here is the solution - from the macosxhints forums:

Modify /etc/my.cnf to have following entries - the file can also be empty:

[mysqld]
change
socket = /tmp/mysql.sock
to
socket =/var/mysql/mysql.sock

[client]
change
socket = /tmp/mysql.sock
to
socket =/var/mysql/mysql.sock

Free alternative for Adobe Flex - OpenLaszlo

March 21, 2007
As feature rich internet applications are becoming more popular every day there are also more and more frameworks to develop such. There are various AJAX frameworks but if you want to build your client application to take advantage of Flash's features you do not that many choices. Adobe Flex is one but it is not free but OpenLaszlo is. It supports Flash and now with brand new version 4 it also has support for DHTML.

I have been playing around with it and it seems to be quite easy to get started with even though I have very little experience with Flash development. OpenLaszlo has an active community around it and documentation is mostly good. Their site has also numerous examples how to use it.

If you think it needs Flash plugin and nobody has it you should know that plugin is available over 95% percent of browsers. That makes it better than Java Applets in sense of availability. Now I only need an idea for my killer application...

Mac OS X Tiger 10.4.9 update, iChat AV & USB webcams

March 16, 2007
Among other fixes and improvements this update includes iChat support for USB Video Class webcams. This is good news for me as my 12" PowerBook does not have built-in camera and I do not have DV camera with Firewire connection or iSight as previous versions required.

The problem now is that there is no proper list of suitable webcams available anywhere. But with some searching I found some discussions about this issue with some hints:

Apple support discussion forum

List of Logitech webcams - those with UVC support should work. There are two versions of same model in some cases so pay attention on serial numbers.

And finally - I have read from various sources that Microsoft Xbox Live Vision Xbox 360 camera works as well. Widely available this might be a decent solution if you do not have great angst against Microsoft.

online casino guide deposit casino black jack casino online download online casino game online casino roulette online internet casino internet casino gambling casino online gambling 1 card casino game play online casino game free chip casino black jack ballroom casino online poker gambling casino online bonus roulette casino casino poker game online casino gambling online casino online gambling best online casino