Given that foo is a valid datetime object in python,
One can change the hour represented in a datestamp (foo) by doing something something like:
foo2 = foo.replace( hour=5 )
Rather then replacing the hour with a particular value ( as is done above )..is it possible to increment the time in foo by say, 5 hours ? Something along the...
We are a Microsoft shop with C++ experience looking to get into some iPhone/iPad development.
Before we make a large investment in individual development machines, we would like to test our abilities with a modest investment.
Can we use one Mac Mini Snow Leopard Server as a development machine for 2-3 concurrent users? We would want th...
If so, how would one get started? Basically, I'd like to port a Windows app to Mac without having to purchase a costly Apple computer.
...
Hi,
I have some experience of Objective-C/Cocoa programming on Mac and
I'd like to start developing for iPhone/iPad with UIKit. (I just paid $99 to the mother ship.)
What would be a nice way to start? I'd like to have your suggestions/recommendations. More specifically,
Which book I should buy? Is there a nice book contrasting AppKit/...
I'm encountering a strange problem with the session using GXT 2.1 and a Grails 1.2 backend. I'm creating two FormPanels, panelA and panelB, which submit to action1 and action2 in Grails respectively. In action1 I set a hardcoded session variable and retrieve it in action2, but it is always returning null! If I manually go to action1 then...
Hi,
What is a good place to learn reverse engineering, specifically as it applies to Mac OS X? Two apps that I admire in terms of this subject:
Hyperspaces – http://thecocoabots.com/hyperspaces/
and
Orbit – http://www.steventroughtonsmith.com/orbit/
Thanks guys.
...
I have installed NetBeans 6.8 on my Mac OS X (Leopard) system and use the Kenai plugin for this platform to create an Android application. The trouble is that I cannot run the Android emulator from NetBeans logged in to the Mac as a normal user. I can run the emulator from the command line and the Eclipse environment when logged in as ...
Hi, using OS X 10.5.6
I installed fxruby using
$sudo port install rb-fxruby
As suggested in the book.
It works, my hello world program worked correctly.
Now, though, other code that I have written is broken, whenever I try to use any code that relies on a gem, it does not work. When I do
$ruby -e "require 'rubygems'"
in my code, i...
Can anyone shed some light on how to get CPU temperature and fan speeds in osx? I understand that information is obtained from IOHWSensor in IOKit, but I'm unable to find any reliable information on how to exactly do that.
I've found an article with a sample program - http://www.booktou.com/node/148/0321278542/ch10lev1sec7.html but all ...
Hello,
Sorry I have several question relative to the same problem.
I am using Netbeans 6.8 on OSX 10.5.8 with java 1.6.0_17 and after about 5 minutes of work, the cpu usage of netbeans process (and java) are around 100%.
It is often due to:
- "go to declaration" command
- completion command
- more or less doing 2 or 3 basic actions suc...
I was wondering if there was a basic tutorial to get me started on coding a FrontRow plug-in / add-on using Xcode.
I searched Google a couple of times, but I haven't found a tutorial on this subject so far.
...
the issue is that my source is hosted on the host machine (in this case a mac book pro) and visual studio wants to be able to monitor the web.config for changes so it is throwing the error:
An error occurred loading a configuration file: Failed to start monitoring changes to: \path\to\web.config
I have tried to add the HKLM\Software\As...
Hi,
I am writing an application which enables the user to share the pasteboard of his local machine with that of a remote Mac to which the user connects to. The application I am writing runs on the remote Mac. It all works fine, but sometimes the pasteboard data can get large and take quite some time to travel over the network.
This ...
Hi,
I need to make a pasteboard owner run on a thread which is not the main thread. This is because the main thread needs to do other stuff, and rendering the pasteboard data might be time-consuming.
I thought of removing the pasteboard owner from the main CFRunLoop, and adding it to the CFRunLoop of another thread, but exactly how sh...
Midi networking OS X 10.6 / Bonjour sample code?
...
I'm working with an OS X 10.6 Server running Apache2 / PHP5 and having a problem with PHP not resolving hostnames when 'fopen()' tries to retrieve a file from a remote server. When run in interactive mode on the command line 'fopen()' works perfectly. However, when run through the web it will always fail with the error:
failed to open s...
I'd like to be able to output audio from Haskell. I'm currently using GHC 6.10 on OS X (Snow Leopard). I've tried building the jack library (using JackOSX) and the PortAudio library, but neither of them seemed effective. Is there a relatively simple way to do live audio output from a Haskell program on a Mac?
Edit: Clarity
...
Is there a way to send a multi-touch event (something like NSEventTypeMagnify) from one cocoa app to another, so that I could for instance tell iPhoto to zoom into a picture?
...
I recently ditched MacPorts for Homebrew, as a result im now experiencing some issues with make. Namely this error:
/Developer/usr/bin/llvm-gcc -rdynamic -o zsh main.o `cat stamp-modobjs` -liconv -ldl -ltermcap -lm -lc
Undefined symbols:
"_libiconv_open", referenced from:
llvm bitcode in utils.o
"_libiconv_close", refer...
I ran a Java program using TextMate on OS X once and I can't use Java anywhere else anymore.
On the simplest program, I get:
Exception in thread "main"
java.lang.NoClassDefFoundError:
Gateway (wrong name:
org/mcgill/telecom/Gateway)
Whether I use javac -classpath . Gateway.java, java -classpath . Gateway or Eclipse or Netbean...