I'd like to try to make a user-space device driver using libusb on Mac, but I'm confused where to start. In the SDK installer (which I got from http://www.ellert.se/twain-sane) it said something about examples which I couldn't find anywhere on my computer.
Could anyone please describe how do I set up libusb for development on OS X? May ...
I'm wondering if it's possible to access the Camera Roll on the iPhone programatically. Some background: I want to basically run a cron job every night that will download all the (preferably new since last time) photos from my iPhone to a folder on my computer. I'm using a Mac, and I'm not terrifically concerned with interoperability — I...
I've been playing with QTKit for a couple of days and I'm successfully able to record video data to a file from the camera using a QTCaptureSession and QTCaptureDeviceInput etc.
However what I want to do is send the data to another location, either over the network or to a different object within the same app (it doesn't matter) and the...
We got a 12-core MacPro to do some Monte Carlo calculations. Its Intel Xeon processors have Hyper-Threading (HT) enabled, so in fact there should be 24 processes running in parallel to make them fully utilized. However, our calcs are more efficient to run on 12x100% than 24x50%, so we tried to turn Hyper-Threading off via Processor pane ...
How do I find processes that listens to/uses my tcp ports? I'm on mac os x. (update: 10.5 leopard)
I'm having trouble with RubyMine losing control of my rails app and getting detached from the process, locking port 3000. I can't find it using ps -ef... How do I find the stupid thing, kill it, brutally... ?
Address already in use - bin...
Good Morning,
I've created a Status Bar Application for Mac: when I click on the icon in menu bar, a NSCustomView appears with some elements.
My NSCustomView is too simple, so I want to create something like this: (Snippet.app)
http://i.imgur.com/aweP7.png
I've searched in Apple Documentation, but I didn't find nothing usefull.
Maybe...
I have following code, which executes on button press. At first it works as expected but second time onwards application hangs and I get EXE_BAD_ACCESS signal.
- (IBAction) comicDetailsPressed:(id)sender {
static IssueProperties *props = nil;
if (props == nil) {
props = [ComicDataParser
parseComicForUrl:@"http:/...
Hi
I know this must be asked a millions times and can't be easy to answer as there is o definitive method, but any help would be appreciated, thanks.
I have been playing around with all sorts of things in Xcode and with Objective-C, however I can't seem to find a good way of learning things in an efficient way.
I have bought the book ...
I need to set an environment variable for my application when it is started from the Finder. It is the location of a directory. The path is relative to $HOME. I am using the Info.plist file to set this environment variable. However, I cannot get it to take $HOME or ~. Can this be done?
i.e. I want something like this:
MYAPPDIR=~/myappn...
Hi,
I have a curious problem with WebKit and WebView. All my other URLs seem to work fine, but when I try to load a site with a lot of flash content, the whole app crashes. The app again functions fine if I customize webview to prevent plugins from running.
What's more curious is my dev machine seems to be the exception with all the co...
Hi,
I need to display the system keyboard if any text entry fields are selected with in my app. I can't seem to find any resources on how to do this. Any tips?
Edit: I'm asking this question because I'm making a full screen application and need to show/hide based on user selection.
Thanks,
Teja
...
I'm doing multiple levels of parsing of web pages where I use information from one page to drill down and grab a "lower" page to parse. When I get to the lowest level of my hierarchy, I no longer hit a new page, I basically hit the same one (with different parameters) and make SQL database entries.
If I don't slow things down (by puttin...
Hello,
I have a mount point path like "/Volumes/Something" which i already known is a root directory for a mounted local volume. I need to figure out the BSD block device node name for volume mounted at that directory for example "disk1s1". Any advice on how can i dig this up? I also wouldn't mind some additional information like device...
Is it possible to use bookmarks in calculations on Mac?
I have the following working on word 2007 on PC:
"=SUM(ABOVE)" <- and this cell have bookmark called "thesum"
then in the cell under I have "=thesum * 0,25" <- this cell have a bookmark called "mva"
then in the cell under again, I have "=mva+thesum"
This works on PC but when I ...
I just found Bathisar Tidy to tidy up HTML on a Mac. Wonderful app but I cannot figure one thing out about it. In my pages, where I have ® instead of the registered trademark symbol (). I want to preserve the ® in the documents. Bathisar Tidy replaces it with the symbol.
How do I prevent this? What setting do I change?
TI...
I'm installing Mono 2.6.7 on a Mac 10.4.7, and running across few issues. I've solved some of them by updating few libraries via MacPort, but this one is the latest.
When I start Mono, it crashes. Any help is appreciated.
dyld: lazy symbol binding failed: Symbol not found: _strerror$UNIX2003
Referenced from: /Library/Frameworks/Mono...
I've seen a lot of questions about this on the interwebs but no answers. Is there a way to refer to an Automator 'variable' within AppleScript? I'd like to do some string manipulation as part of a workflow. I've worked around this by using Get Variable and passing them into temporary files, but it's kind of ugly.
...
Ok, here it goes:
I managed to compile the .xcodeproj provided with the last zip achive into a .a library file (a static library then).
I failed to build a working application that uses irrlicht as a 3D engine with Xcode, I don't really know to do it since I'm sort of unable to use an IDE.
I tried to link a simple program with this li...
The following little program is very awkward using GCC version 4.2.1 (Apple Inc. build 5664) on a Mac.
#include <stdio.h>
int main(){
int x = 1 << 32;
int y = 32;
int z = 1 << y;
printf("x:%d, z: %d\n", x, z);
}
The result is x:0, z: 1.
Any idea why the values of x and z are different?
Thanks a lot.
...
I have a client inquiring about developing a Cocoa application that would open Illustrator files. How viable is this in your opinion? How closed is the format? I can't seem to find any useful information on Adobe's site.
Thanks in advance!
...