Mathematica Support II
Woo-hoo! (Slaps self on back, high-fives internet in
general!) Well, I think I've officially got it working. I
finally ran MathDrag'n on a Mac and got it to automatically connect
with Mathematica! There were exactly two typos in the entire
program that were causing the connecting code to fail catastrophically,
both of them a single wrong character in just the wrong spot.
Amazing, really, how stupid computers are after all the work we've put
into them. All the behavior seemed to be exactly what I had come
to know and love from my PC testing, so it seems likely to have worked
well. (Ironically, I think I discovered a bug in the more general
Java code that I may need to track down, all while having debugged it
on a Mac. I'm going to do that at home until I have CVS or
something similar set up.)
It also reminded me just how much difference a good debugger
makes. It took an estimated five minutes to track them down with
the debugger. The basic logic was rock-solid; I had really done
my research before-hand, and it was time well-spent, but I still
couldn't follow the code with my eye well enough to see the tiny little
mistakes. Ah well, it's done now. YES!
I've had a friend of mine check the new jar file on his machine.
It worked fine, but he said the config files were put in the wrong
place. Anyway, with only very minor changes, MathDrag'n's full
potential has moved to the Mac, albeit only with Mathematica.

Reader Comments