osx

What is a good way to force Perl 5 to run out of memory quickly on OS X?

I am trying to test a specific condition the will only occur if perl has a malloc that fails due to there being no memory left. I would like perl to die as quickly as possible. I figured the fasted way would be create some huge arrays like perl -le '$_->[100_000_000_000] = 1 for \(@a, @b, @c, @d); <>' But I had to kill it after my sw...

Netbeans 6.9.1 IDE performance issue

I am trying to figure out whether NetBeans 6.9.1 is having a problem with my machine or is it just slow. I recently switched to NetBeans about 2 weeks ago. So far, the only plug-ins that I have are the PHP ones. My machine is a 2.4 Ghz Core 2 Duo Apple Macbook Pro with a 500 Gb 7200 RPM hard disk and 4 Gb RAM. Activity Monitor shows ...

Setuptools not found

I am switching from Linux to OSX and when I run our build's setup.py script, I get an error message that contains the text This script requires setuptools version 0.6c7. I have tried several times to install setuptools, and have verified that the setuptools egg exists in /Library/Python/2.6/site-packages. I have no idea why it is n...

problem in imagemagick and grails

i have a new problem in image magick that look strange .. i'm using mac osx snow leopard and i've installed image magick on it and it's working fine on command .. but when i call it from the grails class like the following snippet it gives me "Cannot run program "convert": error=2, No such file or directory" the code is :- public s...

Set language in packagemaker

Hi, I am trying to add language to my installation. I changed the language in info.plist to Spanish, it let me choose the Spanish in the license part and it it changed the buttons language but in the next page it returns to English. Also the langugae in the left side: "introduction, license ..." is all the time English. I also tried to...

Install Rails 3 on OSX with RVM

Trying to install the new Rails 3 release on OSX 10.6. Have never touched Ruby or Rails on this machine since purchased. I was able to get rvm and get Ruby 1.9.2. installed. From there, I am stuck. I tried: rvmsudo gem install rails -v 3.0.0 sudo gem install rails --pre sudo gem install rails sudo gem update rails And I get the sam...

PDF to HTML Mac

Is there a software for mac os X 10.6.4 that that converts PDF to HTML ? ...

What process controls the menubar in OS X (not menuextras on the right side)?

I know menuextras are controlled by SystemUIServer. My question is what process controls the entire menubar, including accepting and displaying app menus on the left side? ...

How to modify the fullscreen behavior of some apps in MacOSX

I recently got a Matrox Dualhead2Go for my Mac and now I have the problem that some applications that run in fullscreen stretch over two of my monitors. Matrox DH2G "simulates" one monitor with 3840x1200 resolution across my two 1920x1200 monitors. The main applications I want this for is VLC and when viewing flash video in fullscreen. ...

python mysql configuration problem

Hi all, I'm trying to make django work on snow leopard. So far I've installed mysql 64 bit installed python 2.7 64 bit and installed django 1.2.1. Now I'm trying to install mysql-python-1.2.3; at the beginning I had problems because I hadn't installed the setup tool, having done that when try to install it by executing these command pyt...

How to copy textField to OSX clipboard?

Hi everyone, I'm stuck here. I know how to copy and paste on the iPhone side of things but how can I copy contents from a textField to the global clipboard in OSX. I've been searching the web but there are really no examples. So let me explain in detail what I'm trying to accomplish. I have a NSTextField named helloField and I want to be...

How can I make a window or NSPanel out of an image?

Hi everyone, I'm trying to add some style to my app and it's driving me crazy. I'm wanting to take a image that is transparent and use it as a window or NSPanel. I'm thinking this will have to be done programmatically but I would like to do it in Interface Builder. How can I achieve this effect either way. So far, I've tried both ways an...

Hosting web services on Mac OSX Snow Leopard

Does anyone what options exist for developing and hosting web services on a Mac OSX Snow Leopard server? Is webobjects still supported, are there other solutions? Does Python or PHP have a solution on Mac that also has libraries for working with MySQL? Any help appreciated, Thanks // :) ...

Mac OS Directory Services/LDAP user with local admin rights

I've have several network based users (Mac OS X Directory Services). Some of them need local admin rights on their Mac OS X Workstations (10.6.4). They should be able to install software and to change system settings. I added the users (i.e. /LDAPv3/server.domain.com/Users/harry) to the local (workstation's) admin group /Local/Default/G...

Pointers to creating virtual monitor drivers for OS X

I'd like to create a virtual monitor driver for OS X. What I mean by virtual is a monitor driver that does not drive an attached monitor, yet fools OS X into thinking there is such a monitor attached. The purpose? It can tunnel display data to some other device over some other protocol, say VNC. I believe this has been done before in o...

How can I clear all entries in the Log Navigator in Xcode4?

Overtime there are many past log entries (for either build or debug sessions) accumulated in the Log Navigator. How can I remove these entries? ...

How can I tie togeather extra space on Macintosh desktops with a distributed filesystem?

I have access to a bunch of Mac desktops, the hard drives of which are under-utilized. I want to set up a distributed filesystem to gang them together into one large virtual volume. The server has to be able to run as a normal user. I've tried PVFS2, but it's designed for Linux and isn't running well on OSX (hangs the clients on write)....

Building Perl for OS X - Architecture-Specific Compile Options

Thanks to a suggestion from Chas. Owens, I have been having fun playing with Perlbrew to have various Perl builds in my home directory. My question is more generally on building a newer Perl under OS X however. I have OS X 10.6.4 Snow Leopard running on a very recent MacBook Pro. After a small diversion getting gcc properly setup under...

Wordpress: Error establishing a database connection. Yeah, I've tried that. And that...

This is driving me nuts! I have a test instance of Wordpress installed on my MacBook Pro, which has suddenly stopped working. If I head for http://localhost:9003/wp-admin/ I get: Error establishing a database connection This either means that the username and password information in your wp-config.php file is incorrect or ...

MacOSX open file with an application: where does it go to?

I posted this basic question before, but didn't get an answer I could work with. I've been writing applications on my Mac, and have been physically making them into .app bundles (i.e., making the directories and plist files by hand). But when I open a file in the application by right clicking on the file in finder and specifying my app,...