Saturday, December 08, 2007
The Eclipse Portland DemoCamp is scheduled for 12/10/07 at the Kennedy School. Details (list of presenters and attendees, schedule of demos, directions) are on http://wiki.eclipse.org/Portland_DemoCamp .

I'm giving a demo on setting up an automated build system (continuous integration) for the Eclipse ECF project.

Here are my slides.

AutoBuild.ppt (1.16 MB)

Here is a writeup.

AutoBuild001.pdf (2.65 MB)
12/8/2007 11:52:27 AM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Thursday, November 22, 2007

Here is another demo for a prototype website

ieeeDemoB.wmv (1.15 MB)
11/22/2007 10:02:08 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [0]  |  Trackback

Here is a demo for a prototype web site

ieeeDemoA.wmv (433.57 KB)
11/22/2007 8:31:10 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Thursday, August 30, 2007
I went to the Wallowas again this year. Lory went with me. Just a short trip ... two nights. We couldn't do a car shuttle, so we just went up the Wallowa Lake trail to Six Mile Meadow. We camped there and we're all alone. The next day we went to Horseshoe Lake and again we were the only ones there. We camped for the second night and then the next day retraced out steps. Here are some photos.

Wallowas2007.zip

8/30/2007 12:50:53 AM (Pacific Daylight Time, UTC-07:00)  #    Disclaimer  |  Comments [1]  |  Trackback
 Thursday, August 16, 2007
The default 64-bit Java that came with my Suse 10.2 installation does not work for me. I can get a Java that works by downloading the 64-bit Java from Sun. Here are the details.

SuseJava001.pdf (219.68 KB)
8/16/2007 11:41:04 AM (Pacific Daylight Time, UTC-07:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Wednesday, August 15, 2007
Lory, Archie, and I did this hike on Saturday. We hiked as far as Eclola Park. It's another mile or so to our house, but we had left a car at Ecola Park and then drove home.

Here are some photos (about 7MB).

SeasideToCB.zip

8/15/2007 2:12:02 PM (Pacific Daylight Time, UTC-07:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Tuesday, July 31, 2007
Here are yet some more notes on setting up CruiseControl to run with ECF.

StartingUpCC005.pdf (2.04 MB)

This file describes how to access CruiseControl remotely. I use ssh to start vncserver on the Linux build machine, then run realvnc on Windows. The file then shows running the Java WebStart CruiseControl GUI, the CruiseControl Web Reporting Project, and the JMX console through the resulting connection. The file ends with instructions on how to create a login window with PHP.

I'm not posting Part 6 of my notes. This part deals mainly with setting up MySQL and Apache2 on Ubuntu. Apache2 on Ubuntu (at least the Apache2 brought down with Ubuntu's Synaptic Package Manager) is configured differently than the Apache installed on OpenSuse 10.2 through YaST. A key point is using --bind-address when invoking MySQL so that I can invoke it with -h <hostname> and not just -h localhost. The Apache2 instructions are described well at the following URL: http://linuxhelp.blogspot.com/2006/02/host-websites-on-your-local-machine.html

I got three more files of notes.

StartingUpCC007.pdf (288.39 KB)

StartingUpCC008.pdf (186.34 KB)

StartingUpCC009.pdf (424.13 KB)

The first file (Part 7) shows how to rotate the cruisecontrol.log file and set up a crontab entry to delete old build log files. The second file (Part 8) describes how to make ssh key pairs. The third file (Part 9) discusses how to treat scheduled builds and user-initiated builds.


7/31/2007 9:47:12 PM (Pacific Daylight Time, UTC-07:00)  #    Disclaimer  |  Comments [0]  |  Trackback
Here are some more notes on setting up CruiseControl to run with Eclipse ECF.

StartingUpCC003.pdf (676.02 KB)

StartingUpCC004.pdf (885.84 KB)

The first file describes the two kinds of builds we are interested in: an Auto Build and a Daily Build. We're building from the HEAD and offering the HEAD for download. The file also describes the CruiseControl GUI that runs under Java Web Start; the file shows how to force a build with this CruiseControl GUI.

The second file describes the installation necessary before you do anything specific about ECF. The file describes how to install CruiseControl and Ant. Then, the file descrbes how to test the installation, using an example from Mike Clark's Pragmatic Project Automation. Next, the file describes how to install TomCat and create the cruisecontrol.war file. Finally, the file contains a copy of a vsftpd.conf that works for me. When I wrote this, I thought we were going to use ftp (rather than scp) to transfer files.
7/31/2007 6:29:17 PM (Pacific Daylight Time, UTC-07:00)  #    Disclaimer  |  Comments [0]  |  Trackback
I've been setting up an automated build system for Eclipse's ECF project. Here are some notes ...

StartingUpCC001.pdf (1.05 MB)

StartingUpCC002.pdf (715.33 KB)

The first file describes how to invoke CruiseControl and TomCat. Then, it describes CruiseCntrol's Web Reporting Project (CCWR), which is a cruisecontrol.war file that gets placed in TomCat's webapps directory and is accessible via port 8080. You can use this CCWR to force builds. The file also describes CruiseControl's JMX console. Then, the files shows where the built zip files and built update site reside.

The second file describes how to set up the build environment for ECF. A sample build is performed with ant outside of CC. Then, the file describes some details about CC's config.xml file. The file contains an explanation of quiet time ... with a figure. Then, the file describes how the built files are uploaded and gives more details about config.xml.
7/31/2007 5:38:12 PM (Pacific Daylight Time, UTC-07:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Monday, March 19, 2007

I downloaded an XNA project from codeplex http://www.codeplex.com. The demo does not run. I get the following error message:

Microsoft Visual C# 2005 Express Edition
The project file FarseerDemo1 cannot be opened.
The project was saved with an incompatible version of XNA Game Studio Express or the project has become corrupted.

Anyone know what's going on here and how to fix?

3/19/2007 11:15:43 AM (Pacific Daylight Time, UTC-07:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Sunday, March 18, 2007

We’re going to write a game using Microsoft’s XNA.  I joined a group (9 or 10 people) who want to do this. We had one meeting which was largely brainstorming.

After the meeting I downloaded Microsoft’s Visual C# Express Edition, its SP1, and the XNA Game Studio. I’m not even sure if I got all the official names of this sw correct, but anyway it loads and runs just fine and does not conflict with the Pro versions.

However, the SpaceWar example does not work on my IBM laptop. I get the following error message.

No SuitableGraphicsDevice

“Could not find a Direct3D device that has a Direct3D9-level driver and supports pixel shader 1.1 or greater.”

 

But it works OK on my Dell D800 Latitude laptop. Here’s a file that contains more detail about what I did along with some screenshots.

Spacewar.pdf

3/18/2007 11:59:24 PM (Pacific Daylight Time, UTC-07:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Tuesday, December 19, 2006

Here's that console app, and if you don't know what it is, it isn't for you.

ConsoleApp.ZIP (23.08 KB)
12/19/2006 8:52:25 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [1]  |  Trackback

What I want to do is access MySQL from PHP5 using the PEAR DB library. Pretty basic stuff, but new to me.

I'm reading Programming PHP by Rasmus Lerdof, Kevin Tatroe, and Peter MacIntyre. This is one of those classic books; Lerdof is the creator of PHP.

So what I've done is basically just run one of the examples in this book. This is not as trivial as it sounds. First of all, I want to understand what the example does. Second, what's described in the book isn't exactly correct, or rather it was at one time, but not now. I have the second edition, April 2006. My PHP is 5.1.4, which is now already old; 5.2 is out.

The tasks discussed here are creating a database using mysql, ensuring that PHP has access to the PEAR DB library, and running a simple application that accesses this data through the Internet using the PEAR DB library. My OS is Ubuntu Dapper.

The file below (written in OpenOffice 2.0) describes what I did.

CreateDB.ZIP (181.45 KB)
12/19/2006 8:12:44 PM (Pacific Standard Time, UTC-08:00)  #    Disclaimer  |  Comments [2]  |  Trackback