Does anyone know how to diagnose why eclipse (using Ant) takes over an hour to build a project on a windows box that takes a Mac only 3 minutes to build?
I've checked my eclipse.ini file and it is as identical as a Mac and Windows implementation can be.
...
I am an experienced iPhone dev beginning to work on my first Mac app. One thing that is really throwing me off is the differences between UIView and NSView. It seems that I cannot set the background color of a NSView via interface builder as I can with a UIView. It also seems that I cannot do it by simply sending a setBackgroundColor: me...
I'm trying to install Image Magick on MAMP. And I'm seriously out of my depth.
I've installed MacPorts, and opened the terminal. I've typed in sudo port -v selfupdate per the instructions on http://www.macports.org/install.php#pkg
But the response I get from the Terminal is Unrecognized action "sudo"
I've googled and googled, but can'...
Hi all,
I've got a server that runs under MacOS/X and Linux. Under Linux, I've found the following code to be useful in specifying a TCP socket's behavior in the case where a client gets suddenly disconnected from the network:
int arg = 5; // send a keepalive packet after 5 seconds of inactivity
if (setsockopt(fd, SOL_TCP, TCP_KEEPI...
I'm running Leopard, xcode 3.1.3. When I type "java" at the command line I get this:
dyld: could not load inserted library: /usr/lib/libSaturnFE.dylib
Trace/BPT trap
What did I do? I did do some profiling with Saturn a while back but I didn't know it was going to screw up my machine. I'm fairly sure it worked when I first installe...
I've written software on Linux since 1995 but must get up to speed with app development on the Mac. I have no experience on that platform. Obviously I should get my hands on some appropriate hardware. What are good books, tutorial websites, and other resources for experienced devs getting started on Mac? Not just APIs and app inter...
I have a deamon which is registered with launchctl to run as system-wide-daemon and to load automatically with every system startup or if the daemon crashes.
I have registered this daemon with:
sudo launchctl load -w /Library/LaunchDaemons/plist.file
Everything works fine. My daemon is registered and with
sudo launchctl list
I can...
I'm desperately trying to successfully install psycopg2 but keep running into errors. The latest one seems to involve it not being to find "stdarg.h" (see code below). However I can see with my own eyes that a file called stdarg.h exists at /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h (where it claims it can't find anything) so I...
When I enter in python in Terminal it loads up Python 2.6.2. However there are folders by the name of Python 2.6 in different places on my drive. I'm not sure if that's because Python 2.6 has been installed in different places or because Python just likes to have lots of folers in different places.
If there are multiple installations, I...
Possible Duplicate:
How can I programatically change the background in Mac OS X?
Hi,
I've whipped together a small (in this case python, but the language is not important) script which gets a jpg from a webpage and sets it as the current background image in OSX (testing and coding on 10.6.3).
My question is how to effectuate...
Do Automator variable persist between executions of a workflow?
If a variable is set during the execution of a workflow, can I get the last value assigned to a variable, once the workflow is executed again?
...
My mac laptop has 1,024,000 pixels.
What's the simplest way to turn my display completely black and go nuts with writing little programs to twiddle pixels to my heart's delight?
To make it more concrete, say I wanted to implement the Chaos Game to draw a Sierpinski triangle, at the pixel level, with nothing else on the screen.
What are ...
I've recently ported my entire application to 64-bit and everything is working fine except for my audio recorder. Even though the correct parameters (such as sample rate) are being reported when I check the resulting file's information in Quicktime, the file either has consistent gaps, is playing at a much higher speed, or is playing at...
OpenCL 1.0 came with nVidia driver for Mac OS X 10.6. I wonder if/how it is possible to update header files to utilize OpenCL 1.1 API. Greatly appreciate in advance.
...
I am using Mac OS X 10.6 and installed MAMP and Tomcat.
My Tomcat is installed in /Users/(userID)/Tomcat
I can start Tomcat server in Terminal without a problem
But it cannot be started automatically when Mac OS X is boot up.
I put a file org.apache.tomcat.plist in /Library/LaunchDaemons
Disabled
Label
...
Hi All,
I'm writing a plugin for an application. I cannot derive from NSApplication
as it is a third party application. I can get the callback in my plugin when any key is pressed. But I will not know what key is pressed. So is there any call in Cocoa to find the last key pressed when I get the callback? I only have NSView object.
Any...
On Tiger, I used a custom python installation to evaluate newer versions and I did not have any problems with that*. Now Snow Leopard is a little more up-to-date and by default ships with
$ ls /System/Library/Frameworks/Python.framework/Versions/
2.3 2.5 2.6 @Current
What could be considered best practice? Using the pytho...
This javascript code always returns zero for " Shift + / " key combination on Firefox 3.6.3 on OSX 10.5.8
But it returns the expected value 191 on Chrome on OSX/mac
GetKeyCode = function(e) {
var code = 0;
if (!e) {
e = window.event
}
if (e.keyCode) {
code = e.keyCode;
...
Need to store some valuable data securely on Mac and access it with my application. How to?
...
In the OS X System Preferences, when I click on 'Network' I see a green dot by 'Ethernet', and red dots by 'AirPort' and 'FireWire'. This is because I turned off AirPort and FireWire, as I access networks and the Internet via Ethernet.
I need to programmatically determine which of these network services displayed in System Preferences h...