Merry Christmas from ATC! :: Since February 2001

Saturday, December 11, 2004

PowerBlog BlogObjects - [5:01 PM]

I've been meaning to play around with BlogObjects for a while now, and I just haven't made the time to sit down and do it. This afternoon it was quiet so I took the opportunity to play. I'm not sure if I'm on the right track but Jon has what appears to be a great object model for creating blogs using BlogObjects. I'm not sure how to properly test what I've done so far so I'm going to zip Jon an email and maybe he can help me develop this a bit further.

For now here's what I've done, with 'success' as far as I can tell. I'm using C# as my development language.

NOTE: Please forgive the format of the code snippets, they're a bit messy.

To get started I created a 'Blog', like this...

public System.Boolean CreateBlogInstance()
{
try
{
_blog = new PBO.Blog();
}
catch (System.Exception x)
{
System.Diagnostics.Debug.Write(System.String.Format("::CreateBlogInstance: [{0}]", x.Message));
}

return (null != _blog ? true : false);
} // CreateBlogInstance

Please note that '_blog' is a private member variable of the class that owns CreateBlogInstance. So far, so good, no exceptions.

Next I went ahead and added an article to the blog, like this...

public System.Boolean AddTestArticle()
{
System.Boolean fSuccess = false;
_blog.Name = @"Boogidie-boogidie-boo";
_blog.Author = @"Rob Fahrni";
_blog.AuthorEmail = @"robfahrni@hotmail.com";
_blog.AuthorNickname = @"Rob";
_blog.AuthorUrl = @"http://rob.crabapples.net/";

try
{
PBO.Article art =_blog.CreateArticle();
if (null != art)
{
art.Body = @"This is a test article using PowerBlog BlogObjects, let's see if it works!";
art.Title = @"Testing PowerBlog BlogObjects";
fSuccess = true;
}
}
catch (System.Exception x)
{
System.Diagnostics.Debug.Write(System.String.Format("::AddTestArticle: [{0}]", x.Message));
}

return fSuccess;
} // AddTestArticle

This all seems to work as expected, and it was pretty darned simple! I do have a number of questions to pose to Jon but overall I'm very pleased with the way he's designed object hierarchy, it seems like a very natural way to do things.
Click here for a permalink to this entry.

MarsEdit 1.0 Ships - [4:17 PM]

Congratulations to Brent Simmons for kicking MarsEdit 1.0 out the door.

The Mac is such a great place to be creating software today. Keep up the good work Brent!
Click here for a permalink to this entry.

Friday, December 10, 2004

Using old stuff - [9:33 AM]

Stan Lippman: "Compilers are works in progress. you don't want to keep using an old compiler. it's not safe. it's not good for the programmers or the business." - It's funny how different companies think and work. When I was working on Visio we were always using the newest compilers and IDE's, unless we were close to shipping. Then you have companies that live on OLD compilers for a VERY long time, I'm not sure why. A great for instance of the latter, a company I interviewed with a week ago is still using Delphi 4 to build their product, Borland just shipped version 9. I'm not saying that's a bad thing it's just interesting.

I think the thing people are confused about with the new ".NET" version of C++ is the thought that it only produces managed code, that's not the case.
Click here for a permalink to this entry.

Movie line of the week answer - [9:06 AM]

I know I posted yesterday's movie line late in the day, but I'm not going to wait to post the answer.

We had zero guesses, here's the correct answer...


Click here for a permalink to this entry.

Thursday, December 09, 2004

Movie line of the week - [3:55 PM]

Roll film!I seem to have lost track of time and haven't posted a movie line, sorry about that.

Remember the time of the year, hint, hint! Let's see if someone comes through, here's the line...

If it bothers you so much you could dye it, and you should diet!

Ok, quick, what movie! Send your guesses here.
Click here for a permalink to this entry.

Wednesday, December 08, 2004

Something I've always wanted to do - [1:32 PM]

A wreathed gas lamp in the snow.For years I've wanted to roast chestnuts over an open fire. Ever since I saw a man doing out in front of a Seattle hotel I've wanted to do it, I wish I could remember which hotel it was!

If you're in Seattle look around for men dressed in top hats and tails serving roasted chestnuts, and buy a bag! You won't regret it!

Anywho, I've found a nice little page that describes the process. Maybe, just maybe, I'll give it a go!
Click here for a permalink to this entry.

Scoble observation - [1:09 PM]

Did anyone else notice that Mr. Scoble is only posting late night and early morning?

They keeping you busy Robert? Smile, life is good!
Click here for a permalink to this entry.

C++ Guru Blog - [9:47 AM]

I stumbled across Stan Lippman's blog over the weekend. It's nice to know he's writing about the upcoming changes to the Microsoft C++ compiler.

Go check it out!
Click here for a permalink to this entry.

Player power - [8:58 AM]

MSNBC: "MLB players OK tougher steroid testing" - Something I'll NEVER understand is the power players hold over ownership and the league. Why do the players have to be ok with it? When I was hired by Paramount I had to take a drug test on the spot. For continued employment I had to agree to take a drug test any time I was asked. If the players know when the tests are coming they'll find a way to get around them, you know it happens. The league needs to do random testing when and where they feel like it, it's just the 'price' of playing. Hey if you don't like that idea go try and get a job doing something else, most players are probably qualified to flip burgers. Quit holding these guys up as something special, they're not heroes.

Oh, one other thing. I believe if you're caught taking steroids you should be BANISHED from the sport, period. No second chances. Pete Rose gambled and the league banned him from the game, how is it that gambling is worse than substance abuse?
Click here for a permalink to this entry.

Tuesday, December 07, 2004

Visio Ho-Ho-Ho! - [10:02 AM]

A Very Merry Christmas from Visio!


Click here for a permalink to this entry.

Gee.... - [9:29 AM]

MSNBC: "CIA offers bleak Iraq assessment" - So am I the only person in the U.S. of A that DOESN'T find that news surprising? Duped folks, we've been duped. Now we have a lame duck President for another four years.

Oh, and how about this brilliant news? Geeze... what's the man thinking?

I dunno, I'm in a bit of a funk right now, that doesn't help my mood. Sigh...
Click here for a permalink to this entry.

Christmas Lunch - [8:27 AM]

Cass McNutt: "Aren't we due for another Christmas "geek lunch" or somethin'...?" - Mr. Fahrni will attend. Brewbakers is the perfect place for a group of 'computer guys' to gather for lunch.

Good food, great beer, and lively conversation.
Click here for a permalink to this entry.

Monday, December 06, 2004

BCS is broken, right? - [9:10 AM]

Ok, there's been a whole lotta talk about the BCS with regards to Auburn. That's not what I'm going to complain about, no sir. What I'd like to know is how does Cal fall in the BCS rankings after winning on Saturday night? All year we kept hearing that running the score up on a team didn't account for anything in the computer rankings, right? Why did Cal fall then? If Southern Miss was a weak competitor why didn't the computer rank them lower last week, it was a given they'd play Southern Miss win or lose, right?

In the end look at it this way. Cal lost one game, to #1 USC, by a VERY small margin. Texas lost one game, to #2 Oklahoma. Does that NOT count for anything? What makes the ranking what it is? I simply do not get it guys?

Cal got screwed, and yes I'd rather see Texas get screwed, I'm a Californian.

IMHO the BCS has fallen on its' face once again. We DO NEED a playoff system of some kind. I know folks say that's unfair as well, but without teams going head-to-head we'll never really know who's the true #1.

My vote, and I don't care what you have to say about it, is for a Top-10 playoff. Either that or scrap the BSC and go back to the coaches poll with traditional bowl games.

...And no, I'm not opinionated. Smile, life is good!
Click here for a permalink to this entry.

Sunday, December 05, 2004

Adult Football - [1:03 AM]

Boy-oh-boy do I want to get involved with the West Coast Football Association. For the first year since our return to the Great Valley we're not having the Exeter vs. Woodlake Alumni Football game. I'd love nothing more than to play an eight game season in a league. Wow! Talk about fun.

Unfortunately I have some physical issues to overcome. Hopefully next week I'll get the final verdict on my left knee. The early news isn't very encouraging, I won't go into details here. If all things pan out I may make a run at a WCFA team.

Here's hoping!
Click here for a permalink to this entry.