osx

SqlPlus on mac osx 10.6 doesn't work

When i try to run this #sqlplus system@orcl it gives me this error SQL*Plus: Release 10.1.0.3.0 - Production on Tue Apr 20 02:24:41 2010 Copyright (c) 1982, 2004, Oracle. All rights reserved. Enter password: ERROR: ORA-12154: TNS:could not resolve the connect identifier specified the oracle server is working , I can connect th...

Ruby Gems Not Installing, Hangs While Getting Gems

I recently cleared out all of my ruby install and installed form sources using the instructions at hivelogic I have have been able to install a few gems, but most of the time, "sudo gem install rails" hangs. I've added the -V flag, and it just seems to hang, I don't get any error. And the process can not be killed. I can only reboot...

Where to get Native SQLite driver for use in ruby on rails?

Ran my units tests this morning and I get this message. How do I get and install the native driver on osx? The DL driver for sqlite3-ruby is deprecated and will be removed in a future release. Please update your installation to use the Native driver. ...

gcc 4.4 in Xcode

Hi how can I use the latest version of gcc installed from MacPorts in Xcode? ...

CUDA 3.0 and cmake and emulation mode

I'm trying to use CUDA with cmake (v 2.8) on my Mac (OSX 10.6). So far it works fine, I created a small sample just to try it out (see below). However when I switch on emulation mode, it cannot invoke the CUDA kernel anymore and I get the following error message: Cuda error: kernel invocation: invalid device function . I also tried to ...

Which encoding (code page) is used for file names in ZIP archive under Mac OS x 10.6

I have a zip library SharpZipLib which intended to work with ZIP archives using C#. It has parameter ICSharpCode.SharpZipLib.Zip.ZipConstants.DefaultCodePage which specifies encoding of file names in zip archive. I know that in Windows and in OSX different encodings are used to store file names. 1) Which encodings (code pages) are used ...

Android SDK on Mac OSX - where to install?

This question was asked by Prembo back in February, but nobody answered. Maybe now someone has a recommendation? Thanks. ...

What are Private FrameWorks and how will we use them?

My Question is about private framworks in IphoneOS3.1SDK dirctory /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/PrivateFrameworks/ What are they ? and when i added one of them to my project, they didn't have any headers? How can i use them in my project? ...

How does Dropbox use Python on Windows and OS X?

In Windows the Dropbox client uses python25.dll and the MS C runtime libraries (msvcp71.dll, etc). On OS X the Python code is compiled bytecode (pyc). My guess is they are using a common library they have written then just have to use different hooks for the different platforms. What method of development is this? It clearly isn't Iron...

First item in an NsMenu does not appear to show up (cocoa osx)

I am making my own NSMenu programatically and popping it up when a button is pressed. I create NsMenuItems and add them with the NSMenu method insertItem:atIndex:. For some reason whatever item is at position zero in the menu does not show up. Is this how the menu is supposed to work? ...

Can I access the Cocoa Accessibility API from with Java on OSX?

I need to write an app which can observe and manipulate the positions of windows on screen, and I've been told that this requires using Cocoa's Accessibility API. Unfortunately I'm a Java programmer, and Objective C scares me ;) Is it possible to access this Cocoa API from within Java? I know that back when Apple cared about Java it m...

How to turn off anti-aliasing for the text editor in Flash Builder?

Is it possible to turn off anti-aliasing for the text editor in Flash Builder on the Mac? For Flex Builder I was able to do this via the terminal using the following defaults write com.adobe.flexbuilder AppleAntiAliasingThreshold 20 defaults write com.adobe.flexbuilder AppleSmoothFixedFontsSizeThreshold 20 ...

Mac OS X & MAMP - How to run mysql without having to type in the full path?

Right now, if I want to run mysql, I have to do /Applications/MAMP/Library/bin/mysql -u user -ppass... I'd be a happy camper if I could just do mysql -u user -ppass.... Been googling around, but haven't been able to find anything... Have a feeling I'm using dumb search terms, so if anyone here knows how to do this, that'd be awesome......

How do I do rounded greyscale window corners like iPhoto and Interface Builder do?

I want to make windows with rounded greyscale corners like iPhoto and Interface Builder do on OS X. How do I do this? ...

Where is gcc on OSX? I have installed Xcode already

I have installed Xcode from the Tool cd, I thought that would let me use gcc from the command line but I can't find it. What am I missing EDIT When I wrote I can't find it I meant "I look for it using which gcc" If gcc would have been in the PATH in first place, which would have find it. Since gcc is not in the PATH ( that's what...

Unable to build mercurial on OSX - Python.h not found

For what I've read I need Python-Dev, how do I install it on OSX? I think the problem I have, is, my Xcode was not properly installed, and I don't have the paths where I should. This previous question: http://stackoverflow.com/questions/2685887/where-is-gcc-on-osx-i-have-installed-xcode-already Was about I couldn't find gcc, now I ...

Cleaning up when exiting an OpenGL app

This might be a dumb question but I've spent some time asking Google and haven't been able to find anything. I have an an OSX OpenGL app I'm trying to modify. When I create the app a whole bunch of initialisation functions are called -- including methods where I can specify my own mouse and keyboard handlers etc. For example: glutInit(...

Is it possible to hook API calls on Mac OS?

On Windows there a few libraries that allow you to intercept calls to DLLs: http://www.codeproject.com/kb/system/hooksys.aspx Is it possible to do this on Mac OS? If so, how is it done? ...

Monodevelop 2.2 on OSX - Debugging disabled

According to the feature matrix of Monodevelop 2.2, debugging should be available on OSX if one installs Mono 2.6.3. I've done this on two of my Macs, but can't seem to get the Debug menuitem enabled - it stays disabled. The project type I'm trying to debug is a Moonlight project, and according to the preferences in Monodevelop, the Moon...

How do I get rid of these warnings?

This is really several questions, but anyway... I'm working with a big project in XCode, relatively recently ported from MetroWorks (Yes, really) and there's a bunch of warnings that I want to get rid of. Every so often an IMPORTANT warning comes up, but I never look at them because there's too many garbage ones. So, if I can either fig...