I am developing a site and I noticed a strange gray thing appearing on my screen. It only comes up in Firefox 3.6 for Mac, and not in any other browser I tested (IE on Windows, Firefox on Windows, Safari on Mac, Chrome on both Mac and Windows). After some investigation, I discovered that it comes up if I have an element with the "overflo...
I have a file in my ~/Sites directory that works fine when I browse to it through coderama.local/~coderama/index2.php
Now I want to get tricky and move my index2.php file to somewhere else on my system, so I do this by creating a symbolic link. However, when I try to access coderama.local/~coderama/index2.php I now get the following err...
Hello, Ive got weird problem
My system is Snow Leopard (10.6.4) - I can't make pull from my RubyMine but I can make commit and push. The best thing is that when I run terminal and type "git pull" it works fine.
In ruby mine console there are some errors:
/usr/local/git/libexec/git-core/git-sh-setup: line 71: basename: command not foun...
I have an application installed on OS X 10.6 which offers some services when a file or directory is selected in the Finder. After moving the application to trash, the service entries are still shown in the Finder.
How to force OS X to "reindex" the known services?
...
Is this legal? I'm getting an error "Can't find <lib>.framework/Versions/4/<lib>" from the linker. In this case, <lib> is 'QtGui' that has been built as an i386 framework (not universal), but another (third party) lib I'm linking to (that uses QtGui) is universal.
I'm thinking everything has to be built universal or not...
...
hi,
i'v got an dynamic-Lib which i build with
OBJECTS=keys.o etc2.o foo.o
$(CC) -DSYS_MACOSX -g -fPIC -flat_namespace -L. -lpthread -Wl,-flat_namespace -dynamiclib -shared -o libmylib.dylib $(OBJECTS)
My test progam links with this library
$(CC) -DSYS_MACOSX -g -fPIC testmain.c -o testmain -I. -flat_namespace -L. -lpthread -lm...
I want to detect what application generated a core dump on OS X.
How can I find this information? Runing file core.1234 does not give the application name, online something like Mach-O 64-bit core x86_64.
...
This is one of the weirder things I've seen. I'm teaching an intro C++ course at a university, and one of my students contacted me saying that his code was running forever without stopping. I briefly glanced over his code during class, and didn't see anything immediately obvious, so I had him email me his code.
Without making any chang...
Hi all,
Am using Mac OS X 10.6. I have a sound file, say "a.aiff" which i want to be redirected to Soundflower(not my default). afplay doesn't seem to provide --device flag which it used to support in earlier Mac versions I think. So any idea of what to do?
...
For a background app (LSUIElement=1), what's the most elegant way to make its 'preferences' or 'configuration' window pop up if a user double-clicks the app icon while it's already running?
This is assuming the user cannot access the app's prefs from anywhere else (such as menu bar status item menus).
I would suppose the ideal method w...
Hi,
does anyone know how to get the free(!) vram on os x?
I know that you can query for a registry entry:
typeCode = IORegistryEntrySearchCFProperty(dspPort,kIOServicePlane,CFSTR(kIOFBMemorySizeKey),
kCFAllocatorDefault,
kIORegistryIterateRecursively...
I am used to programming for the iPhone. There, I would connect a button to an action, and then a method by creating the method like so: -(IBAction) DoStuff{…}. Then I would make an outlet for the button, and then the actual button in Interface Builder. I would then connect the button to the outlet, and then connect the button to the act...
Title says it all.
I have a very very simple webview, that loads a URL that never changes, however when clicking on links, they do not load.
...
Hi.
I have a static lib project with targets for iPhone and for os x.
With Xcode 3.2.2 and earlier versions all worked just fine, but in 3.2.3 apple seems to have introduced changes in how to handle target settings.
In 3.2.2 I just could choose "base-sdk" from drop-down menu and set up a target for each, iPhone simulator, iPhone device a...
I am trying to get MonoDevelop 2.4 to run on a PowerPC Mac running Tiger.
I have downloaded Mono 2.4.3 from the "older releases" page off the download page and installed it. I have downloaded the OS X MonoDevelop 2.4 package and installed it. When I run it is doesn't start - it bounces up and down in the dock for a bit and then disappea...
Hi there,
I have a problem that was described in multiple threads concerning memory mapping and a growing memory consumption under Linux.
When I open a 1GB file under Linux or MacOS X and map it into memory using
me.data_begin = mmap(NULL, capacity(me), prot, MAP_SHARED, me.file.handle, 0);
and sequentially read the mapped memory, m...
I have a thread watching for file system events on Mac OS X. If I copy 100 files into a folder that is being watched, I obviously get multiple file system events, and therefore multiple callback calls. I'm wondering if these callback calls are processed one after another? Or does each event invoke an OS thread, which in turn calls the ca...
I'm trying to script the creation of a hyrbid (iso/joliet/hfs) iso with hdiutil. I can, for example, build an iso that hides things on the mac side like so:
hdiutil makehybrid -o foo.iso -hfs -joliet -iso -hide-hfs "{foo/bar.txt,foo/other.rtf}" foo
That's just an example of course, but the point is I can get it to hide say seven or e...
On my home network, I am able to ping between my XP machines just fine. I can also ping my Mac from the XP machines. However when I attempt to ping my XP machines from the OSX terminal I get 'unknown host' even when I add .local to the machine name. Pinging works if I use the IP address of the XP machine.
Some background...I am attem...
I'm trying to use dtrace through libdtrace (on Snow Leopard; 10.6.4). I want to catch the printed output of my dtrace script within my own program. One way to do so would be to have the output go to a temporary file and read it from there. However, libdtrace supports a callback function to catch the output directly which I'd prefer.
I a...