Thursday, January 29, 2009

Connecting to ORI Macs from home

Using TightVNC and Putty, I've been able to work on the Macs at Seneca from home. It's a 2-part process; the target Mac must be configured to accept connections, and your local machine needs a VNC viewer.

So far, Spain (a Mac Mini - 142.204.133.122) and Russia (an iMac running on an Intel chip - .101) are configured for VNC. Adding more to the list won't be hard; but be sure you have a local account on the machine before you try to VNC into it!

An excellent post on the Zenit wiki details how to use Putty to make the connection faster; thanks to JBoston for pointing it out! Tell TightVNC to use default settings. Plugin the password for the Mac (if necessary), and the desktop should load in 20-30 seconds!

Keep in mind that this is remote control; it's not shared desktop. Only one user can access a pc at a time.

An advance warning: when you first VNC into the machine, you'll be greeted by the login window of the Mac. Once you log in, your session will crash!! (At least, mine did.) Just open up the viewer again, and you'll have your session working.

Monday, December 15, 2008

One more step!

Progress is being made on Portable Canvas!!

I'm starting to mark my progress heavily, in comparison to before. It may be too little and too late, but the habit will likely help in future projects.

On the Windows side of things, 0.3 is almost done! I've restricted browsing to c3dl.org as before, but I've also enabled local files to be opened. At the moment, you can type in a local file path to an html file with the proper JavaScript, and it'll load the 3d Canvas element properly! The last step is to shift this from text box to GUI; otherwise, this wouldn't be a quality release worthy of the title "final project of the term".

On the Mac side, I have the application running. The trouble is, I don't have the Mac equivalent of Canvas 3d's dll file, so the program can't load the Canvas elements properly. This should just take 10 minutes of coordination with a Mac user on the c3dl project.

Combining the two sides should be simple. The project-specific code is all in jar files, and should be cross platform by nature; the interface work on the Windows side should carry over nicely to the Mac side. I'll be posting two separate downloads to simplify my work; one for each platform. In theory, I may be able to combine the two for a later release...

Wednesday, December 10, 2008

Found and lost

As I scramble away in the middle of exam week, I feel the need for good documentation the first time through a project, even if you fully (and truly) understand the methods used. Memory will fail, and this fact will likely come back to bite you. T.T

In phase 3 of the Portable Canvas project, I had resolved to get the program working on Macs as well as Windows. Now, I'm stuck trying to figure out how to build on said Mac, because I mentioned that I "compiled" MyBrowser for Windows back in phase 1. Does it mean I really compiled it, like I'd compile Firefox with Mozbuild? Does it mean it isn't really compiled, just a bunch of JS files that call XUL functions? I can't even remember the search terms I used to find the XUL documentation anymore.

Alas, agony is the seed of wisdom. If I survive this, good things will come. ^^;;

On the bright side, I've got Canvas 3D examples running on my local machine now... =D