Category: Mac OS X

Enable the Debug Menu in Safari

I find the new debugging tools in Safari almost as useful as Firebug. There’s a Web Inspector that lets you see exactly how the HTML is formed, a Javascript console that lets you see errors and debugging messages written into the code and much more.

But to use them you must enable the Debug menu in Safari. Open Safari preferences in the Safari Menu, click Advanced, and select Show Develop menu in menu bar.

Continue reading

XCode 4 installation fails with error

XCode, the developer tools suite provided by Apple is available to registered Apple Developers for free. If you are not a registered developer with Apple, you can still get XCode for a small fee through the App Store. But unlike many of the app store applications, clicking the “Install” button under the XCode description does not directly result in a working application appearing in your dock. The icon for an XCode installer shows up there instead. And that can installer isn’t trouble-free.

When I tried to run the XCode installer, it failed when it was nearly done, and displayed a message to go look for an error in the log (/var/log/install.log) where I found errors like this:

Xcode install Underlying Error=(Error Domain=NSPOSIXErrorDomain…

Continue reading

Fixing the error: JAVA_HOME is not set on a Mac

While setting up Nutch on a Mac, I kept getting this error in the terminal:

Error: JAVA_HOME is not set

To fix the error on OS X 10.6.x (Snow Leopard), enter the following at the command prompt:

export JAVA_HOME=$(/usr/libexec/java_home)

On 10.5 and above, the command line tool /usr/libexec/java_home dynamically finds the top Java version specified in Java Preferences for the current user. Using this method will allow the path to automatically change as software updates change Java versions.

Continue reading

Use inexpensive Korg Controllers to control Logic Pro interfaces

Logic Pro is a popular digital audio workstation/ Midi sequencer for the Mac. It contains many virtual models of mixers, effects, synths, drum machines and sequencers. Since the typical audio gear requires simultaneous fine-grained control of multiple parameters, the typical adjustment method is with a knob or slider control.

ultrabeat

A standard mouse is not the best way to control such a UI. Many companies sell USB-Midi control surfaces with knobs and faders that allow real-time control of the sound using Logic’s virtual mixers and effects. However these can be very expensive. For those who are on a budget it can be a high price to pay to get started.

Continue reading