Thursday, June 01, 2006

RobC v2

I've gotten a bit carried away on the demo program. I wasn't satisfied with the function implementation which consisted of a separate command-pattern class per function. For instance, the functions supported were width(), height(), min(), max(), and plot() which amounted to five separate classes as well as the factory-type method to construct the appropriate class.

Thus, RobC now has the concept of invoking a methods in the Java JVM. Function declarations are, of course, now available as well as the return statement.

When putting together these screenshots, I did realize that I'm missing some simple datatype conversions from a number to a string. (Or string and number concatenation.) I have a hunch those will come along at some point.

Anyway, I have attached a v2 IDE screenshot showing a couple of method declarations and the final display showing that a does, indeed, contain 3 squared.

Back from trip, finally got internet back too...

Wow, spent a few days at a conference in Las Vegas only to be greeted by a flooded basement when I came home! Nothing like running around to get a new sump pump and then hacking together newly sized pipes after a day of travel!

Fortunately, the basement is not finished. We had a few boxes with books in them and we haven't looked through it.

We also "lost" internet access in the same timeframe. I'm not certain any of our internal wiring or equipment was the culprit, either. I've been checking all week and putzing but haven't gotten it working. Last night I finally just grabbed the cable modem and connected it to the line that comes into the house (before any splitters) and it worked. I figured that the splitter was non-functional as a bidirectional splitter (TV worked, internet didn't). I hooked everything back up the way it was before - and things were still broken.

Today I came home... and everything is back to normal. Hmm. Then to make it more fishy, the cable company called me to see if everything was back to normal. Interesting. I wonder if the storms that came through last week caused some issues and they took a while in resolving them.

Anyway, it sucked not having the internet available for research!