I am trying to use the C++ armadillo library (armadillo-0.9.10) on a Mac Pro. I follow the manual installation instruction in the README.txt file. I have modified the config.hpp file to indicate that I have LAPACK and BLAS installed. I then try to compile the examples. I successfully compile and run example1.cpp, but when I try to run...
I ran into this trying to throw together a simple Automator script to combine several one-page PDF files. I had 88 files to combine, each just about exactly 300KB, so I expected the final product to be about 30MB; the resulting PDF file, using the Combine PDFs Automator action, was 300+MB.
Poking around, the Automator action uses a Pyth...
I am trying to find a clean and elegant way to trap all display driver drawing commands on Mac OS X so I have visibility to anything that gets drawn on the screen, before it goes to the physical display driver. Simple bitmaps won't do it -- I need the actual drawing commands and not just notifications on which areas have changed.
This ...
I got this error when macport automatically attempted to compile it
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dsniff/work/dsniff-2.3" && /usr/bin/make -j2 all " returned error 2
Command output: /usr/bin/gcc-4.2 -O2 -D...
I'm trying to parallelize a number-crunching part of an application to make use of a quad-core architecture using OpenMP and GCC 4.2 on Mac OS 10.5. But what I think the problem is that this application uses Qt for the GUI and I'm trying to fork the worker threads on a secondary thread created by Qt which causes the program to crash - bu...
If I have an NSString with something like this in it: Note Title Here:@:Note Description Here:@:123839:@:High Priority
How can I separate out the strings between the ":@:" characters? I would know how many segments to expect if using something other than an array/for-loop would be easier.
Thanks!
...
Hi,
I have a network management software which profiles network devices based on their MAC addresses. I want to write a tool to stress test this software by using virtual MAC addresses (simulate thousands of devices each having a different MAC address). I played around with WinPCap and found that I can send a packet with spoofed up MAC...
Hi,
Anybody know how to generate chapter metadata in Mac OS X? (preferably Cocoa). I've tried to create an M4A file by concatenating two AIFF files. The M4A was generated fine but the chapter marks are all gone.
Here is my prototype code. Is there anything wrong with it?
-(void) generatePodcast {
NSLog(@"Generating...");
NS...
Hi,
I am trying to install ruby gems on my MAC (OSX 10.5.1) behind corporate firewall proxy
but i am getting error for connection refuse.
kindly help me out to resolve this problem.
Thanks & regards
Ravi
...
Hi, I'm trying to install valgrind on os x (snow leopard/10.6.3). When I run the provided ./configure script I get an error saying:
checking for the kernel version... unsupported (10.3.0)
configure: error: Valgrind works on Darwin 9.x (Mac OS X 10.5)
Has anyone else had experience with this? Can I just delete that line in the config...
I'm trying to install Python-Gammu on a mac running Snow Leopard. I successfully configured gammu with cmake and GCC 4, but am getting this error on install. It seems to indicate an improperly configured gcc, but i'm not sure what can be done about this.
Has anyone else run into similar problems with GCC on the mac?
[ 90%] Built targ...
Given:
Mac with either Parallels or VMWare
A virtual machine with Windows installed.
A Windows GUI application Foo.exe installed in that Windows virtual machine.
A Mac application Bar.app
I'd like to start Foo.exe from Bar.app.
What are reasonable approaches to do this for Parallels?
How about VMWare?
Note: I've tried using Para...
Here is the line I'm having trouble with...
"Drag the synergys program from the synergy folder onto the Terminal window."
I'm assuming this means a specific file within the synergy-1.3.1 folder, but I don't know which one... (unless I'm suppose to compile this first and then have a build file that I'm suppose to drag to the terminal an...
Looking for a solution to quickly navigate to long paths in a shell (particularly Max OS X Terminal.app).
Say my path is ~/This/Is/A/Really/Long/Path/That/I/Would/Rather/Not/Type/Frequently
Instead of cd ~/This/Is/A/....
I would like to be able to store favorites/bookmark directories so I could do "cd myPath"
Are there any binaries o...
Hi,
I have not used MAC OSX before, but I wanted to buy one for a very long time. Recently, i managed to buy one!!! Quite an investment I guess :).
I am very excited about iPhone development and I want to get my hands dirty as quick as possible. My doubt here is, do I need to buy a iPhone really to start the learning activities or any...
how to change the modifier key from cmd to ctrl in IntelliJ at a Mac?
I have changed it system wide but it hasn't changed in intellij.
...
Dear developers,
I'm hoping someone happens to have stumbled upon the following issue before.
My Java application has graphics performance issues on Mac, so I made a simple test application (code below). When I run this on Windows, the console tells me:
GraphicsConfiguration flipping? true
BufferStrategy flipping? true
When I r...
Can any one tell me what Intruments are in Xcode? Are there any tutorials or videos for learning about Instruments, such as the Lynda iPhone SDK Essential Training tutorial?
...
I would like to provide spreadsheet capability in my Cocoa application. From what I've heard, OpenOffice does allow some level of embedding, but I'll be darned if I can find that information in their official SDK documentation. Can anyone here point me in the right direction?
...
To, for example, access variables in a NSDictionary Cocoa frameworks often define keys, such as UIKeyboardBoundsUserInfoKey. How can I check if a key is defined at runtime? I found examples on how to check for classes and functions, but not for constants.
...