I have a relatively simple application which I need to make native Mac OSX version of. I find it's easiest to learn from examples and I have never setup/developed/packaged a product on Mac yet. So, I was hoping to start from a project which has basic packaging scripts and includes as many components listed below as possible:
Installe...
I have a process that spawns a helper process. Sometimes I need to debug start-up failures in the second process.
On Windows, I would use Image File Execution Options, or ntsd -o. However, I have no idea how to do this with gdb on OS X.
...
I've been recovering a hard disk using dd_rescue, which provides me a list of all of the device sectors it could not copy due to hardware errors.
I'd like to take that list, and write a tool to give me all of the files that contain these bad sectors so I can delete them. I'm not sure what APIs I can use to do this--essentially i want to...
I'm working on a project that requires that I can reliably detect the presence of a wireless capability on both a PC and a Mac.
Ideally I would want to achieve this through an existing command line tool I could package with my application or that perhaps already exists on the OS.
By wireless capability I mean the presence of a wireles...
For example, I like KDiff, Console and of course TextMate for Mac.
...
I love cocoa style keyboard shortcuts and am constantly frustrated that Terminal doesn't behave in the same way. Does anyone know how to set common cocoa-style keyboard shortcuts in Terminal.app?
I found a blog post that describes how to do this in iTerm: http://blog.jcoffin.com/2008/12/06/mac-keyboard-shortcuts-iterm/. However, I like...
I'm trying to learn pygame, And I found the best way to have the finished game (assuming python 2.6 and pygame installed) is to have an applescript that runs it, and saved as an app bundle (with python files etc. inside the bundle). Here is what I have:
do shell script "cd " & the quoted form of the POSIX path of (path to me) & "Content...
I've upgraded to Snow Leopard and Xcode 3.2 but now I don't get the usual Developer Documentation any more. When I click on 'Developer Documentation' all I get is the Xcode QuickStart guide. No search field, no browsing the library, nothing. Only if I cmd+opt+shift (?) double click on e.g. NSString the API documentation of NSString comes...
i am new to python, on my Mac, when i issue command
User:ihasfriendz user$ python main.py
Traceback (most recent call last):
File "main.py", line 2, in <module>
import json
ImportError: No module named json
I get error on json. how to add this library? i'm using 2.5 (the default came with leopard)
...
Hi,
I am running a jar file on mac os.It generates following error
9/2/09 1:17:54 PM [0x0-0x30c30c].com.apple.JarLauncher[11128] at
content.Main.(Main.java:18)
9/2/09 1:18:06 PM [0x0-0x30d30d].com.apple.JarLauncher[11130]
SystemFlippers: didn't consume all data for long ID 0 (pBase =
0x10012ecc0, p = 0x10012ecc4, pEnd = 0x10012ecc8)
9...
As a follow up to my previous question http://stackoverflow.com/questions/1366661/testing-on-different-version-of-mac-without-buying-osx-server-or-multiple-machine
What application do you recommend to virtualize Max OS X Leopard/Snow Leopard client machines on an OS X Server installation? I want to run these in parallel like PC VMs and ...
Hey all,
Do any of you know how to make a screen recorder from Cocoa?
It would be best if someone gave me a source code.
Thanks...
...
Hi,
What installer software for macintosh would you recommend? It has to support leopard & snow leopard. Be easily scriptable and not expensive.
Thank you,
Nava
...
My problem is one like a simulated problem from
http://my.safaribooksonline.com/0596007973/pythoncook2-CHP-10-SECT-17
which eventually made its way into Python Cookbook, 2nd Edition using an outdated xpath method from 2005 that I haven't been able to get to work with 10.6's build-in python(nor installing older packages)
I want to ......
Because you (lovely) people are always so curious about posters' original intents, here's mine:
If I'm on a Mac and have a GUI (as opposed to, say, being on an ssh session), I want to set my $EDITOR to mate_wait. (And go with vim otherwise.)
And, you have an answer for that. I do too. It even works. Here. Sometimes.
So I want you...
I want to make a player which will play video files from local server and takes command to play stop and ff etc from a socket.
I am able to make a player which uses QTKit framework, but when it comes to socket it did not load movie. I run the socket on another thread, and I also initialize QTMovie on the main thread but still it's not w...
I'm really wondering what is stored in the mentioned path?
A side question: May a developer use this path (at least the folder) to store his own temp data?
...
Hi All,
I'm trying to add static libraries found under /usr to an xcode project. (I'm new to mac dev).
The problem is that this is a hidden directory and so the normal Add to project doesn't work, and although I can Edit Project Settings to add the include directories, there doesn't seem to be any obvious way of adding the actual libs....
Greetings,
I'm the only person in my Numerical Analysis class attempting to do all of the MatLab based homework assignments in Octave - the opensource representation of MatLab.
However, I'm having problems getting graphs to plot and I think it's a simple linking problem. I am running:
-Mac OS X Snow Leopard (10.6)
-Octave 3.2.2
-Aqua...
I've got a bit of code that handles exporting data from my application. It takes in an NSString full of XML and runs it through a PHP script to generate HTMl, RTF, etc. It works well unless a user has a large list. This is apparently due to it overrunning the 8k or so buffer of NSPipe.
I worked around it (I think) in the readPip...