Maybe I'm missing something, but when I type do a verbose ditto command (ditto [-v] [-V] 2>>some.log), it will send regular output to stderr. Therefore, my some.log file will be filled with entries like copying file ....
This doesn't make logical sense to me, but it's what the manual says as well:
-V Print a line of output ...
I have a particular file I want to monitor for file read attempts by all applications on OSX. I'd like to be able to interrupt the requests so I could decide which applications have permission to read the file and which don't (by querying the user, or checking a cache of user responses). Is this possible with the OSX API? If not, is i...
Hi,
I have an USB device that will send out some proprietary data and I have some algorithm that converts it to mouse coordinates, the question I have is how do I write a driver that reports to Mac OS X?
I have seen some references to IOHIDPostEvent but I cannot find detailed documentation on Apple's Developer Website. Is this the corr...
I'm trying to convert libcsv to use libtool so I can use it on mac os x without mangling the makefile. When I try to run the makefile generated from the tools I get the following error:
~/software/libcsv (gnu_tools) $ make
tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"...
The default limit for the max open files on Mac OS X is 256 (ulimit -n) and my application needs about 400 file handlers.
I tried to change the limit with setrlimit() but even if the function executes correctly, i'm still limited to 256.
Here is the test program I use:
#include <stdio.h>
#include <sys/resource.h>
main()
{
struct rl...
Ok, so I am creating an iTunes overlay for a client. My question is, with a given index, how am I able to move the displayed cells/cells in a row to a specific entry in the table view, programatically.
In other words, replicating iTunes when you are on a playlist it jumps in its table view to the next song if the table view (strictly th...
I would like to build a graphical application that must work on at least Windows, Linux and MacOS. I would like to know what do you suggest I should use.
I have some experience with Java and C++ but I thought about using Java Swing first. What do you think or further suggest (like maybe tools or frameworks)? I also may be needing to con...
Hello, I'm a new mac user and recently installed mercurial on it. Id like to enable a few extensions and am looking for the global hgrc file.
I could'nt find it, so i tried creating "hgrc" files in /etc/mercurial, and ~/.hg .
It still does not work, so I was wondering if someone here had the solved the problem.
Many thanks.
...
Hi,
I have a sample piece of code that writes the value of the xmm6 register into a memory location. The code is in NASM:
value:
dd 0
movq [value], xmm6
However I am getting the error when I tried to compile it to macho64 format:
64-bit format does not support 32-bit absolute addresses.
Is there a way to resolve this? I am...
I have an OS X Python application that uses wxPython for it's GUI controls. I'm looking to prompt the user for administrative rights (akin to using the Authorization Service API in Objective-C) before starting a network service.
The closest library I have found is Bob Ippolito's Authorization library but it is fairly outdated and has co...
Hello,
I've developpes a scriping addition (osax) and was wondering how to install and test i.
've goggled but didn't find good examples.
Thanks in advance for your help,
Regards,
...
I am trying to use the scipy stats package in Python and am getting the following error (on Mac OS X):
$ python
Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy
>>> from scipy import stats
I then get t...
Are there any alternative to SQLite to use as embedded database engine?
...
I am looking for some high quality online video training for developing with Apple Technologies that can be subscribed to at a reasonable cost. The technologies I am looking for them to provide training on is developing applications for Mac OS X, iPhone and iPad using Xcode, IB, and Objective-C. They must be top notch technologist and p...
I am having lots of trouble installing numpy on Mac OS X 10.6. When I try to install it from source, I get the following error:
customize NAGFCompiler
Could not locate executable f95
customize AbsoftFCompiler
Could not locate executable f90
Could not locate executable f77
customize IBMFCompiler
Could not locate executable xlf90
Could no...
Hello,
I am trying to create a scripting addition but it does not work: When I send teh apple event to an application, I have the message: no handler for this event.
I've tried to install my osax in /library/scriptingadditions but it still does not work.
Any idea on where can be the issue?
Thanks in advance :)
...
Hey guys,
Long story short, every 60th of a second I have a relatively small buffer (256x240) of RGBA data (8 bits per component, 4 bytes per pixel) that is refreshed with new data, and I want to display it (I guess inside an NSView, but anything is welcome). What's the most straightforward way to do it? Building a CGImageRef from a CGB...
Simply, is it possible to change a "static text" field in an Apple system dialog box? Specifically I am looking into changing some label text of a password popup. I have tried using AppleScript via GUI scripting:
tell application "System Events"
try
tell window 1 of process "loginwindow"
repeat until not (value o...
I am trying to change the matplotlib font to helvetica, which I'd like to use in a PDF plot. I try the following:
import matplotlib
matplotlib.use('PDF')
import matplotlib.pylab as plt
from matplotlib import rc
plt.rcParams['ps.useafm'] = True
rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']})
plt.rcParams['pdf.fonttype'] ...
I want my OS X app to share files via the loopback device. I want to do this so that my app can make a directory of frequently changing, read only files available to the user without messing with the users home directory. The files will be severed from the Application Support directory but the user will not have to concern themselves wit...