(home)

Software Notes

pwyky

javascript:(function(s){try{ s=document.selection.createRange().text}catch(_){s=document.getSelection()}prompt('','{'+location + ' '+s + '}')})()

pyblosxom

django

Image Processing

AppleScript

osascript -e "launch application ((POSIX file \"${APP_PATH}\") as string)"
 syntax error: Can't get application ... (-1728)

KiCad

Cinepaint

gtk_init
GTKMacSetup()
dyld: <path>/CinePaint.app/Contents/Resources/usr/local/bin/cinepaint
Undefined symbols: "_CFLocaleCopyCurrent"

Mozilla Firefox

Ubuntu

SVN

svn --username <username> ....
# Create respository
svnadmin create /Users/<username>/_svn

# Import empty directory
mkdir <modulename>
cd <modulename>
# Imports current directory
svn import -m "<message>" . file:///Users/<username>/_svn/

# Move to new location (and/or remove the initial imported directory)
# and then checkout the module...
svn checkout file:///Users/<username>/_svn/ <modulename>

Blender

Thunderbird

VirtualBox

AVR MacPack

 $ avrdude -p atmega3290 -c avrisp -P /dev/ttyS0 -t -v -F

  dyld: Library not loaded: /usr/local/lib/libusb-0.1.4.dylib
    Referenced from: /usr/local/AVRMacPack/bin/avrdude
    Reason: image not found
  Trace/BPT trap

iTunes

S5

pilot-link

# If you don't '--enable-conduits' you won't get the "userland" tools like 'pilot-xfer'
./configure --enable-conduits

# Note: If you don't build the conduits (and even if you do?)
# the contactdb test will throw an error due to
# a lack of popt--if you don't have it.
# (So you'll need to remove it from 'noinst_PROGRAMS' in the tests Makefile.)
make
sudo make install
# Run this first, then press the HotSync button
/usr/local/bin/pilot-xfer --port usb: -b <backup directory path>
$ /usr/local/bin/pilot-xfer --port /dev/tty.Bluetooth-PDA-Sync -b <backup directory path>

# If you get the following error, try disabling HotSync in the desktop HotSync Manager:
#   Unable to bind to port: /dev/tty.Bluetooth-PDA-Sync

Palm Desktop 4.0 for Macintosh

# Run the "Palm Desktop Installer" as a normal user and do a normal install

# Then...
sudo Palm\ Desktop\ Installer/Contents/Resources/Install\ Utility/Contents/MacOS/InstallerWrapper
sudo open Palm\ Desktop\ Installer/Contents/MacOSClassic/Installer
sudo open Palm\ Desktop\ Installer/Contents/Resources/Install\ Utility/Contents/Resources/IM_Installer # Maybe not?

avarice and Mac OS X

Mac OS X and DNS: hangs or slow SSH, curl etc

I had noticed that on certain networks connecting via SSH to an external server seemed extremely slow (for me under OS 10.5.2) i.e. the connection seemed to hang / freeze for a period before finally connecting. It turns out it's not related to IPv6 in this situation but DNS. It seems the problem is likely to be a dodgy DNS-handling router between you and the net and/or the destination DNS server.

The solution for me was to add an OpenDNS server to the list of DNS servers in the TCP/IP configuration for that network interface.

You might notice sampling of the hung application in the Activity Monitor includes these functions in the stack: libinfoDSmig_Query, LI_DSLookupQuery

Key details found here: SSH Slow on 10.5 / Leopard

Buildbot

Google SketchUp

code@rancidbacon.com