When debugging my django apps I use pdb for interactive debugging with pdb.set_trace().
However, when I amend a file the local django webserver restarts and then I cant see what I type in the terminal, until I type reset.
Is there anyway for this to happen automatically? It can be real annoying, having to cancel the runserver and reset...
Removing
-Dorg.eclipse.swt.internal.carbon.smallFonts
from eclipse.ini and changing the font to menlo seems to improve the situation a bit. However the font is still a bit unsharp, compared to Xcode.
I don't see why they ship it like that or do they just don't care about the mac version?
...
I need a simple tool for visually modeling a database schema for an SQLite database. I do not need it to generate code, I just want some visualization. I really liked WWW SQL Designer but when I use it locally I am not able to save or load anything. It is also very poorly documented as it is still relatively young. Can anyone suggest ano...
Hi,
I'm fighting with installation SIP for Python on Mac OS X. Finally after compilation and installation when I run console form folder of SIP (locally) I can import sipconfig, but when I`m in other folder I cant - there is no module called sipconfig.
My question is - Where is folder to which I have to copy modules if I want to have th...
We're distributing a Cocoa framework with regular updates. We'll be updating the version numbers with each release. The Apple documentation appears to suggest that version numbers should be consecutive incrementing integers. We are distributing output in several formats, and the framework is only one of them. We would rather not have to ...
I'm trying to understand an old classic Mac application's entry point. I've disassembled the first CODE resource (not CODE#0, which is the jump table). The code refers to some variables off the stack: a word at 0004(A7), an array of long words of starting at 000C(A7) whose length is the value at 0004(A7), and a final long word beyond tha...
I am shortly going to buy a Wacom Bamboo Pen&Touch, and I'd like to be able to access it from Python, preferably using PyQt. I've found a Python module for accessing it under windows (cgkit/wintab) and I've seen Python code for accessing it using GTK (GnomeTabletApps).
Is there an equivalent for Mac? The Cocoa documentation provided by ...
Howdy all,
I've been learning to program for a Mac over the past few months (I have experience in other languages). Obviously that has meant learning the Objective C language and thus the plainer C it is predicated on. So I have stumbles on this quote, which refers to the C/C++ language in general, not just the Mac platform.
With C ...
I'm looking to write a screen recording application for both Mac and Windows. It doesn't necessarily need to be the same app written for both, it can be two different applications written for each.
What is the best language to write one in? I want to achieve at least 12 FPS. Thanks!
...
I would like to create a preferences window like in the standard Mac OS X apps (Safari etc.). I have found resources like DBPrefsWindowController from back in 2008 that matches the Apple HIG.
Just wondering if there is a new way to accomplish this? I can't locate any standard windows in Interface Builder so I assume Apple doesn't pr...
There's an library called XNetwork. I downloaded the package, and there is an XNetwork.osax file inside. When I open that file, I see an "AppleScript-Editor" window.
What would be the next steps to get an simple and fast launchable script which deactivates AirPort card (callinc the command stop airport)?
And where must I put that XNetw...
I am trying to compile with javac on Snow Leopard through the command line. I have Xcode installed. I am just using a simple Hello World file, it works in Eclipse but I can't get it to work using javac.
javac -version returns javac 1.6.0_17
HelloWorld.java
public class HelloWorld
{
public static void main(String[] args)
{
Strin...
hey guys:
it's simple i had this linux pc which i connect remote and i have this application that i run there and i want to debug it, but i just don't know how.
It's the simpler c++ app on the world, load some libraries, do some calculus, print some output and return,
It's just that, i just haven't any clue.
So any help would be appre...
I developed small cross-platform (Windows and Mac) SWT desktop application. It is distributed with WebStart. So far so good, everything works.
I've got a new requirement to make my app start on system startup (with no user interaction). What is the best way to accomplish that?
In JNLP file I've got this:
<shortcut online="false">
...
Hi Thanks for reading my question. I currently use Mac Terminal to use MySQL. I connect to either localhost or a remote server. Should I be using SSH?
...
How can I programmatically force a mac window to be the front window? I have the window handle, and want to ensure that my window is displayed above all other windows. I can use both Carbon & Cocoa for this.
...
When building following simple C# class library,
using System;
namespace MyProject
{
public class MyClass
{
public MyClass ()
{
}
}
}
I encountered following error message:
/Library/Frameworks/Mono.framework/Versions/2.6.4/lib/mono/2.0/Microsoft.Common.targets:
Error: You must specify DestinationF...
I am completely new to this game, so please be gentle ;-)
I made an example program in Fortran 90, let's call it 'program.f90'.
I compile it:
g95 program.f90
It creates an executable called a.out.
How do I run this? It is supposed to print something to the screen, and get input from me, but I cannot figure out how to!
...
I already do a lot with shell scripts on the Mac, but I loathe AppleScript, and I would love to be able to access Mac apps' APIs in some other way. Does anyone know any other way to get the power of AppleScript without the pain of its horrible syntax and meager documentation (and its slowness, if possible)?
...
Hi All,
I'm trying to compile libjingle on Mac OSX Snow Leopard. The INSTALL file said to './configure', 'make' and 'make install', as usual. But make fails for me. Initially it gave some messages indicating that I didn't have pkg-config installed (I guess OSX doesn't come with it installed?), so I downloaded pkg-config from http://pkgco...