mySQL is a free SQL database program that can work in conjunction with PHP (see PHP hint elsewhere here) to create dynamically generated web sites, such as this one. It's important to me, as I use mySQL and PHP locally to test new elements for this site, and it was getting to be a pain booting back to the Public Beta every time I had to work on something. I tried running the mySQL installer package from the PB, but it failed (not sure why). So I'd been waiting on a new installer package, to make things easy. Last night, I got tired of waiting :-).
I received an email stating that a new binary package was available on the iDisk of 'skribble', so I went and checked it out. Go to www.mac.com, click on the iDisk tab, sign on with your ID, and then enter 'skribble' in the box for "Open Public Folder" section to mount that folder. You'll see the binary for mySQL. I downloaded this and installed it, but couldn't quite get it running - but it may have been user error. It did not install the 'var' directory, where mySQL keeps the databases. You may have better luck than I, so it might be worth a shot.
After a few minutes of mucking around with it (without success), I "rm"ed the mysql directory, and decided to go straight to the source (literally), and grabbed the files from mysql.com to try and build it myself. I was successful, and now have a fully functional PHP 4.04 and mySQL 3.23.36 installation on my OS X machine! Read the rest of the article if you'd like instructions on how to build it yourself -- it's really not that hard!
There's an interesting discussion in this MacNN forum about replacing the "Buy Mac OS X Software" menu item in the new Apple menu with something of your own design.
With some (relatively) simple editing, you can insert your own command to replace the one Apple has provided.
Personally, I haven't missed the Apple menu at all, but I know some people find it essential. Although this is far from the return of the OS 9 Apple Menu, it's interesting if you'd like to know more about customizing your system.
I've been searching the net now since installing OSX Final for a way to use my hosts file in my /etc folder like I do under Linux for developing websites (i.e. in the hosts file I create "127.0.0.1 somesite.me" and then use apache and http headers so that somesite.me in a browser returns a locally created website).
Looking in the /etc/hosts file you are told that the file isn't consulted unless you change your lookupd configuration. Lookupd is handled by NetInfo. And hence my problem: I had no idea how to change the order in NetInfo to look at the flat file /etc/hosts before going to DNS.
Read the rest of this article if you'd like more info on using NetInfo as at hosts file...
My computer is on DSL behind a router that uses DHCP. The connection was dropped this morning and Mac OS X's DHCP did not log back and in and get the new information from the router. I had to change the Network preferences to BootP, close the panel, and then return and select DHCP again. OS X logged back in to the router.
Is there any way to make DHCP log back in automatically?
[Editor's note: See the comments for a discussion on a number of alternative methods to making this work]
I have a number of apps/scripts that I've built that can only be launched from the command line. Is there any way to either:
A) Make these double-clickable for launching
B) Create a simple app that basically executes the same commands I would type in the terminal window
For example, I have a bulletin-board client that I run locally. At present, the only way to run it is to either type the full path to it, put a link to it in a bin folder, or be in the same folder and type ./bbs . What I really want is an icon that I can double click which will open a terminal window and execute a file in a given path.
If I plug in my mouse while the iBook is sleeping (lid closed) when I wake it my screen comes up for a few seconds and then goes dead. Nothing will wake it, except a complete cold reboot. Also my freshly charged battery went totally flat. This happened twice with 2 different batteries before I realized what was happening. The same crash occurs with the power plugged in except the battery appears unaffected (as expected). I am posting this to Apple but thought I should warn everyone as it can stop you dead if power isn't handy.
User 'pata' writes: "Hello, does anyone know of a way to find the hard disk size and available space short of doing a df -k from the command prompt? Apple, in their infinite wisdom, removed this from the Get Info dialog of a Drive on the Desktop?"
It certainly appears that way. If you do Get Info on a desktop drive icon, you get fairly basic information on kind, where, created, modified, and format, but not on size or usage.
However, if you simply click on that same disk icon, but in a Finder window, the Get Info window changes (on the fly, I love that!) to add Capacity, Available, and Used. So it's still there, but not for drives on the desktop, just for drives in Finder windows.
Saw this one somewhere today, and it's a good one. The Finder doesn't seem to remember that I prefer column view with about seven columns showing. I set my window that way, navigate around, close it, open a new one, and I get icon view again ... a little frustrating! Turns out there is a way to get it to remember the settings.
Close all your finder windows, open a new window, set it the way you like it (column view, icon view, width, height, whatever). Now close that window before you do anything in it. From now on, all your new Finder windows will open with those characteristics. I'm not sure whether this is a bug or a feature, as it sometimes seems inconsistent about remembering.
Reader "parki" wrote in with the question "I recognize that I am likely missing the obvious, but does anyone know how to have apps auto launched when I log in, re-creating the environment when I log out?"
There's at least a partial answer in the System Prefs application. Go to the Login panel, and you can add applications to the list. You can even (apparently) add shell scripts, which opens up a world of possibilities. I was able to add a shell script, but I didn't test it with a logout/login combo. Interesting to think about what you could do, though.
Launching the apps isn't quite totally recreating the environment, but it's a start.
Many people have complained about File Sharing hogging processor cycles, and have reported better system behavior after disabling File Sharing.
I came across the UNIX command nice, which says you can, "invoke a command with an altered scheduling priority." I read this to mean that you could possibly start File Sharing with a lower processing priority, thus causing a reduced drain on system resources.
If anyone is savvy enough to try, please let us know.
[Editor's note: See the comments -- nice is broken in the current release of Mac OS X, so this command will have no impact].