Category Archives: Computers

Dreamweaver MX MySQL connectivity on a Windows LAN

So there I was, driving myself nuts trying to figure out how to get my Dreamweaver MX on Mac OS X installation to connect to my IntranetΩs MySQL server via Mac OS XΩs built-in Samba client. I had tried everything substitute IP address for server name, local vs DNS names, variations on spelling and capitalization in my freakinΩ password, etc. Still nothing, and I was going insane.

There is a known problem with Dremweaver MX and PHP 4.1.0 due to a bug in mysql_pconnect(), but that wasn’t it since we were on PHP 4.0.4 old, but it should work nonetheless.

No, the problem is Samba itself, or at least the way Dreamweaver tries to use it. Switching to FTP connectivity to my Remote and Testing servers and substituting IP addresses instead of machine names solved my problem.

So if you’re having trouble with Dreamweaver MX for Mac OS X on a Windows LAN when trying to connect to your development server via Mac OS XΩs built in Samba client and nothing is happening, see if you can get to it via FTP.

Work Smarter

According to a recent report from Nielsen/NetRatings, Mac users demographically tend to be smarter and wealthier than their Windows counterparts. Now I’m no-one to judge, but I can attest to the fact that after switcing to the Mac platform my levels of productivity and work quality increased dramatically, which in turn led to a dramatic increase in my personal income and job satisfaction. Add to that my feeling that the Mac operating system offers a far more intuitive, open, flexible, and ultimately more powerful platform for computing than what you can scratch out from the Windows platform.

Here’s a link to an article about the report on C|Net. To borrow from the C|Net teaser: ” If you’re reading this on Windows, feel free to take your time on the big words.”

Changing from default MSN home page in IE 5.2

If you’re finding that no matter how many times you try to change IE 5.2’s Preferences to specify your own home page, try quitting Entourage first, then set your home page in IE’s Preferences panel, and then the change should stick. Something about having Entourage open when you make this change causes your saved preference to always revert back to MSN. It boggles the mind as to why…

Cool Stuff

First cool item is Silk, a haxie for Mac OS X. This enables Quartz text antialiasing in all your Carbon applications, making text look beautifully smooth and getting rid of the look of jagged and pixelated text from your system almost entirely. This really makes apps look good – almost too good…

Next is Mozilla 1.0. I have finally switched away from MSIE to this version of Mozilla on the Mac OS X. (I had swiched to Mozilla on Windows at version 0.9.2.) The performance is now quite good on OS X, and while theres still a couple of little bugs here and there, everything is working quite well. Features that rule over IE include: Consistent form elements, tabbed browsing, client X509 certificate support, better form menus than I’ve seen on any other Mac browser, full suite of tools in context menus, Page Info command, intelligent character set management, correct rendering of non-Roman character sets in menus and title bar, skins, and the list goes on.

Finally, Navzilla is a very nice looking skin for Mozilla that is based on the look and feel of Chimera , a very promising Mac OS X offshoot of the core Mozilla project.

Running Mozilla in conjunction with the Silk haxie and the Navzilla skin makes for a quite nice web browser. (Update: Mac OS X 10.2 “Jaguar” renders this obsolete.)

Restoring Chinese Input on Mac OS X v10.1.4 From Another Working System

Recently I upgraded my primary machine, a PowerBook G4, to Mac OS X v10.1.4. There is an issue with this upgrade if you use one or more of the lesser input methods, such as Korean, Chinese, or one of the other newer ones. If you need this functionality, you must install your language input method after upgrading to 10.1.3, but before 10.1.4. (No, there is no freekin’ documentation anywhere on Apple’s website or Software Update on this…)

In my case, I need Traditional Chinese input capability. I also had a hosed system and needed to bring it back by means of backing up my data (god bless my LaCie FireWire drive), wiping the hard drive, and reinstalling from scratch. I of course flew through the installation and, despite a warning from my Chinese Language Mac-Using Bretheren, I blew past 10.1.3 without installing my precious language input method support for the Traditional Chinese character set.

Thankfully, I had Yingwen’s iMac, which was purring like a Chinese kitten. (The iMac, not Yingwen…)

To restore or add Chinese input method capability to a 10.1.4 system from another of the same version number, you need to do the following:

1. Go to the working system and copy all the files that start with “TCIM” or “SCIM” from /System/Library/Components/ to a temporary location on the system that needs to be restored. Specifically, these files (for Traditional Chinese) are called TCIM.component, TCIMTool, and TCIMUIServer.

2. Now that these files are on the system to be restored, copy them to that system’s /System/Library/Components/ directory. To do this, you will need to use the “sudo” command in Terminal. Entering a command like “sudo cp TCIM* /System/Library/Components/” should do it.

3. Optionally, you can copy the Asia Text Extras folder from the good system’s /Applications/Utilities/ directory to it’s mirror on the other system.

4. If you don’t have any Chinese fonts, you will need to get some. These can again be copied from the good system. You will at least need the Taipei font, and you can find out how to get more fonts here.

5. When you’re ready, reboot your computer. You should now be able to add a keyboard for Chinese from System Preferences > International > Keyboard Menu.

That’s it! You may now enjoy a well-deserved beer in your new Chinese Input-Enabled Mac OS X v.10.1.4 environment.

Now the question is, how many people out there will find this information helpful? The answer is: the same number of people that have stumbled across this page that have upgraded to Mac OS X 10.1.4 without installing Chinese input method support but would like to do so. Or in other words, probably noone. BUT… if this does prove helpful to you, please let me know. For no other reason than satisfying my morbid curiosity on how truly futile this information post really is…