11Jun/100
Coding, Programming, and Software Development
This is entirely my personal opinion, but I don't think it's not much different from the formal definition, if there is any.
- Coding = an action of writing code
- Programming = coding + problem solving
- Software development = programming + re-usable and maintainable software design + final product quality assurance + schedule and budget management (+ a bunch of meetings)
So if you call me a coder, that's an insult. Under-evaluation of my abilities and skills.
30Apr/100
Running wxPython on Mac OS X
If you try to run a wxPython application on a 64-bit Mac, you will get a similar message as following.
ImportError: /usr/local/lib/wxPython-unicode-2.8.10.1/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx/_core_.so: no appropriate 64-bit architecture (see "man python" for running in 32-bit mode)
The reason is that wxPython currently relies on Carbon, and thus 64-bit APIs are not available. As far as I know, there are two workarounds.
If you want a temporary solution, you can run the following command in Terminal. Then you will be able to run a Python script in a 32-bit mode.
export VERSIONER_PYTHON_PREFER_32_BIT=yes
If you want to make Python to run in a 32-bit mode all time, you can run the following command.
defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
