Disclaimer:
This question doesn't aim to start another controversy between Apple fans and Linux fans, it just explicitly asks for actual information and facts.
By saying "tired of system freezes in Ubuntu" I do not intend to say that Linux is bad. I understand that cheap hardware with open source OS can result buggy performance.
Please...
I'm using Versions for SVN.
I attempt to commit and get this message:
Commit failed (details follow):
'/Users/mike/Sites/mysite.com/astss-cvsdude/Trunk/cart/flashfile.swf'
is scheduled for addition, but is
missing
I suppose this is because I had added files to the repo, and then deleted them via the filesystem.
I'd like to ...
I have an existing application using Core Data on the iPhone. Occasionally there would be updates to the application's data delivered as updates to the App Store. In my perfect world, building an application to edit the data in the updates with an OS X application and copying the sqlite database to my iPhone app bundle would be a relativ...
Similar to this question, except in JRuby (it works in MRI Ruby). Alt-left prints a "b" in my console. Very annoying!
To clarify, I've setup my terminal as described in this article, mapping option-left to escape-b.
...
When using TextMate on a Mac for HTML (and indeed any other language) I can't enter the hash (#) symbol using the keyboard. British keyboards have a £ symbol on the 3 key which displaces the hash symbol.
In several other Mac application, you can press alt+3 to get the hash symbol, but in TextMate, that doesn't work.
Is there an altern...
Hi
I'm new to C++ programming and I try to make my first exercise on a mac using gcc in the terminal.
Unfortunately, I can't compile because of issues related to iostream. With a simple program as :
#include "<"iostream">"
int main()
{
std::cout << "hello world";
std::cout << endl;
return 0;
}
it gives me the error:
error: ‘en...
I have an iPod touch.
I have a Mac.
I want to put an iPod touch app I write with my Mac on my iPod touch.
I don't plan to sell it on the Apple store.
I don't plan to distribute it to other people.
Is there anyway to do this without paying apple $99?
Thanks!
...
Hi,
I need to run a script on my Mac when network connection changes, i.e. when network cable/wifi gets connected or disconnected. I do not want to use a cronjob and I'd prefer a soulution that avoids modifying system files. Is there some "network changed" hook in the mac os x I could connect on?
thanks,
Bob
...
Hey! I think this is a simple question for you. Most of the system apps and also some third-party apps have integrated a CodeSignature in their bundle. I heard with such a CodeSignature the system would not ask anymore for accepting incoming network connections (if the firewall is enabled). Now the question is where to get such a CodeSig...
I'm writing an MacOSX bundled app in GLFW.
When the window pops up, I want it to be on top of all the other windows. I also want it to grab focus (I'm coding in vim, and I type ":make run" -- and I after that, I want to interact with the app).
Question:
1) Is there some API call I can use to make this happen?
2) Is there some configur...
In a bash shell on linux, if I type:
echo $DISP
and hit tab, it completes to:
echo $DISPLAY
It doesn't work in bash on OSX 10.5, and I'm using the same .bashrc
Is there a shell option or setting I can use to set this.
...
Apologies if this a newbish question, but I'm new to Mac programming, and thought I'd try porting my app to Mac OS.
Basically my question boils down to what are my options and the trade-offs to programming in OpenGL on the Mac?
In doing my own research, I seemingly have come to the conclusion that I have the choice of:
a) Programming ...
Hi
I've setup an NSTextField with text color as white, and the background color as (black despite not rendering the background color, so its transparent). All in Interface Builder.
The problem I am having is the cursor is black, and hardly visible. Does the cursor not represent the text color? Any ideas how I can fix this?
Otherwise t...
I'm trying to replace \" (backslash doouble quote) by ' (quote) using sed.
sed "s/\\\"/\'/g" file.txt
The command doesn't work as expected. It replaces all the " in the text file, not only the \".
It does the same thing as sed "s/\"/\'/g" file.txt
I'm working on Mac OS X Leopard.
Does any one have a clue?
...
Hi,
This site is great I'm getting alot of replies , so I have tried to code what I had problems with before here it is
NSMutableArray *sort = [NSMutableArray arraywithArray:[dic allValues]];
for(NSString *s in sort){
[Purchases appendString:[NSString stringWithFormat:@"%@",s]];
}
textview.text = Purchases;
The output's ord...
Hi,
I am following through the book Assembly Language Step by Step and it says the book is for computers running Linux. What are the necessary tools to use the book with Snow Leopard? Thanks.
EDIT: The book uses the Kate editor. So, preferable something that does the same thing as Kate.
...
I have a plist. It has several dozen keys, each with NSMutableArray items:
...
<key>KeyName1</key>
<array>
<string>String1</string>
<string>String2</string>
<string>String3</string>
</array>
<key>KeyName2</key>
<array>
<string>String1</string>
<string>String2</string>
<string>String3</string>
</array>
...
I ha...
When I use IPython along with the -wthread option, it spawns a python subprocess, which appears as a Mac OS X application.
My problem is that when I send commands to that application (for example plotting with matplotlib), the window is updated behind all my other windows. I would like to be able to call a python command to switch this ...
I'm using a Mac, OSX 10.6 and I have a function in a desktop application that I want to automate. Manually I press Command+R wait for the application to read some data form a physical device for 1 minute, then press command+R again to take another reading (at this point it asks me if I want to save the data, so I press tab, tab and th...
I want to make a script that automatically backs up my kindle files when I connect it to my macbook pro. Writing the script is well within my ability, but I don't know what's the best way to run a script on mount automatically.
...