osx

Linking issue with indirect dependencies on Mac OS X

Hi all, we have some linking problems with indirect dependencies. Guessing from what I read on the web it may be because of two-level namespace usage. This happens when we link against a boost library, boost_filesystem to be precise, which itself depends on boost_system. The linker doesn't resolve the dependency between boost_filesystem ...

How does Apple's Java 1.6 JVM compare with Sun's?

How different is Apple's 1.6 Java VM from Sun's? Are there any major performance differences? Do they both share any code, or is Apple's built completely independently? I have been amazed with the performance of the 1.6 JVM under Linux and Windows, especially on floating-point calculations (it is basically neck-and-neck with optimized C...

How to compile a simple Qt and c++ application using g++ on mac os x?

I am trying to use Qt for a project in school but am running into problems. I started following the tutorials and I am running into Makefile problems. Most of the tutorials say to run qmake -project, then qmake and finally make. But when I try this I run into the error make: *** No targets specified and no makefile found. Stop. I dont k...

Licensing Technology for OS X applications?

I've been looking at some OSX applications, and I noticed they all seem to have a similar (and slick) inbox purchase experience. Is there a third party thats providing this? If one wanted to implement it in ones own OS X application, where would one go? Examples include delicious library, things, the hit list, and coda. ...

How can I tell if a file or folder is busy, e.g. the Finder is busy copying to it?

I have tried: Checking the FSCatalogInfo nodeFlags to see if kFSNodeForkOpenBit is set (using kFSNodeForkOpenMask). Checking whether the creator code is between kFirstMagicBusyFiletype and kLastMagicBusyFiletype. Checking the ExtendedFileInfo extendedFinderFlags to see if kExtendedFlagObjectIsBusy is set. Running GetFileInfo -ab from ...

Deploying a webapp remotely to Tomcat using Ant on OSX

I wish to use the Tomcat install/deploy tasks from catalina-ant.jar to deploy a webapp to a remote app server. After installing Ant using the instructions found here, my ant folder is configured as: /usr/local/ant My "Ant Home" has also been set to that directory through Eclipse. I copied catalina-ant.jar to my ant/lib folder. My b...

Is there an easy way to send SCSI passthrough on OSX using native python

Hi All, On Windows I am able to sent SCSI passthrough to devices using win32file.DeviceIOControl(..), on UN*X I can do it using fnctl.ioctl(...). I have been searching for something equivalent in OSX that would allow me to send the IOCTL commands using only native python. I would to send commands to hard drives specifically, not USB d...

Where does Leopard Server's MySQL store its data?

I'm trying to recover a table in a MySQL database from Time Machine, however I don't know and can't find where Leopard Server's MySQL stores its data files. Does anyone know where they are stored? Is there an easy way to run mysqldump on them without restoring them? Is there anything else I should know about Time Machine and MySQL data...

Is there a way to programmatically hide an carbon application on osx?

I have a carbon C++ application and I would like to programmatically do the equivalent of Command-H (to hide the application) which is available in the Application menu for my app. I have explored the carbon API for TransitionWindow and HideWindow and while these can hide my window, they do not do the equivalent of Command-H. I looked in...

What does this Python message mean?

ho-fe3fdd00-12:~ Sam$ easy_install BeautifulSoup Traceback (most recent call last): File "/usr/bin/easy_install", line 8, in <module> load_entry_point('setuptools==0.6c7', 'console_scripts', 'easy_install')() File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/setuptools/command/easy_install.py", line...

What is a good Graph Editor for MacOS?

I need some sort of node-graph editor, that hopefully works on both Mac and other platforms, to generate user created node collections with properties. The graph data will then be used in a data-driven application I'm working on, so kudos if the application can save the graphs in some easy to process format. So far I was using XML with a...

Mac OS X: what causes the spinning beach ball?

When does OS X decide to give your app a spinning beach ball? What can you do when programming an application to avoid this? ...

Best visual client for Git on Mac OS X?

I'm looking for a nice, Mac OS X-like, client for Git. As an example, I use Versions for Subversion and it's exactly what I'd like to purchase for Git access. Suggestions? Versions link ...

How can I eliminate dead keys on Mac OS X with international keyboard?

The keys ^¨~ ´` etc are dead keys on my swedish keyboard on Mac OS X (or half-dead since they start b typing the letter and then wait for the next character until the decision is made). How can I turn this off to make them fully live? ...

NSMutableArray memory management

NSMutableArray *a1 = [[NSMutableArray alloc] init]; NSMutableArray *a2 = [NSMutableArray array]; TempObj *obj = [[TempObj alloc] init]; //assume this line is repeated for each obj [a1 addObject:obj]; [a1 addObject:obj2]; [a1 addObject:obj3]; [a1 addObject:obj4]; [obj release]; [obj2 release]; [obj3 release]; [obj4 release]; [a1 releas...

Why is Xcode 3 displaying multiple compiler errors or warnings for each that actually occurs.

When I build in Xcode, any errors or warnings are being duplicated. So in the IDE, I get twice the number near the icons in the status bar, and where the yellow or red bubbles show up in the editor, there are two warning lines (or error lines) below the line where the warning (or error) occurred. Anyone else have this problem, or know ...

Is it possible to add multiple commands to the readline .inputrc file?

I'm trying to configure my Terminal and I would like to insert @{} at one key-stroke. This works with the following code # .inputrc "\e\"": "@{}" But I also want the cursor to end up inside the braces. How can I do this? The following doesn't work. # .inputrc "\e\"": "@{}": backward-char ...

Java Micro Edition (JME) SDK for Mac OS X or Linux

The question is clear from the title. Is there an SDK for the Java Micro Edition available for Mac OS X or Linux? Or does one need Windows XP to develop JME applications? ...

Indirect linking trouble on OSX

hi everyone. I have some trouble with indirect linking. Here is a small example that shows what's going wrong: $ make g++ -fPIC -Wall -c -o main.o main.cpp g++ -fPIC -Wall -c -o a.o a.cpp g++ -fPIC -Wall -c -o b.o b.cpp g++ -fPic -Wall -r -dynamiclib b.o -o libb.dylib g++ -fPic -Wall -r -dynamiclib a.o -o liba.dylib -L. -lb LD_LIB...

What is the best Scheme or LISP implementation for OS X?

I am looking for a version of Scheme or even LISP that I can use to recover some lost Lisp development skills. Some web capabilities would be nice but not essential. I've looked at Plt and MIT scheme and, while both look pretty good, the Plt seems to be more feature rich. I've also looked at Lisp implementations but all of the seem q...