20070430 Monday April 30, 2007

Re: Blind pilot flies from London to Sydney But he was trying to get to Quebec! Okay, not really, but that was my first response to the headline. Posted by Lance Lavandowska in General at 20070430

20070411 Wednesday April 11, 2007

back in the saddle? From time-to-time I remind myself that I really should get brainopolis.com and Vanity Foul back on the air. In our "new" home there are some infrastructure issues that I've just been loathe to tackle. Not that anybody is paying attention to my second blog here (thanks Dave), but let me know if you'd like to hear from me more often. Posted by Lance Lavandowska in General at 20070411 Comments[1]

Re: 5 years of blogging I'm going to make this a chain; from RE: 5th anniversary of Blogging Roller

From the Blogging Roller himself:

Today is the fifth anniversary of this blog, which I started on April 11, 2002 to promote the Roller blog software that I had just finished writing.
...
Now, five years later, Roller has graduated from the Apache Incubator to become Apache Roller, blog-tech is my full-time job at Sun and I'm still Blogging Roller. Thanks to Roller users and contributors everywhere for helping to make this possible.

Congrats Dave - 5 years is 20 years in Internet Time isn't it?!

Add my congrats. I've taken a nearly two year mostly-hiatus from blogging, but I'm still around. My 5 year anniversary comes up in Aug. Posted by Lance Lavandowska in General at 20070411 Comments[1]

20060612 Monday June 12, 2006

Beautiful Girl Since I'm too lazy to hunt up his email address I just had to post a note saying Tim Bray has got a beautiful girl! Posted by Lance Lavandowska in General at 20060612

20060420 Thursday April 20, 2006

Oil Companies Exploiting Gas Crisis? Who could believe it? Of course, our President says he'll be on the lookout for price gouging, so I feel much better about it. Posted by Lance Lavandowska in General at 20060420

20060419 Wednesday April 19, 2006

I'm learning to hate constructors

Of course, that's partially to do with the way "things are done" here. We've got a base class (we'll call A) that takes the form of Constructor(int id) where the constructor then loads values from the database after doing a lookup on id, among other things.

I've been working on a set of classes that need to work on a second database (something the original set of data objects didn't need to do), so I created an abstract class (we'll call B) which subclasses A and does some common work (common to this second set). And I've got subclass C of B.

Now, B is abstract, so it doesn't need constructors, but C has to be compatible with A (for use in a Factory) so it does have to have C(int id). But to avoid compilation errors in C(int id) { super(id); } I do have to specify B(id) { super(id) }.

So, my abstract class does have to have a Constructor. Or I can copy-paste the work A(id) does into C(id).

Have I mentioned that there is no way to enforce this Constructor(int id) contract, except by discovering that the Factory cannot instantiate your C? I could fix the Factory such that it doesn't build an object by calling a constructor, add a FactoryInterface with an initialize(id) method, and have the Factory use that instead. Now c.initialize() can override a.initialize() with no need for b.intialize(); and I only have to get this approved by the rest of the development staff. And roll this change into the 20+ classes that inherit from A.

Posted by Lance Lavandowska in General at 20060419

Click me to subscribe
"The essential or central part" according to dictionary.com
« November 2008
SunMonTueWedThuFriSat
      
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
      
Today

Recent Entries