Last Train Home

June 26, 2004

Google Adsense

Adsense is really working out for the CGN. In it's first three days it's already paid for the monthly cost of the site. I should have done this earlier.

Posted by jherr at 08:49 AM | Comments (0)

June 23, 2004

CGN on Lambda the Ultimate

The CGN got a nice mention on Lambda-the-Ultimate. Though they don't like my cluttering of the 'code generation' namespace.

Posted by jherr at 12:19 PM | Comments (3)

Editor for XML

It seems to me like there should be a standard for defining an editor for a schema. We have multiple validation mechanisms, but nothing for defining an interface that would create, edit, and update blocks of XML. Given that many systems are coming out with XML interfaces for configuration or data input, that we could unify the editing of the XML and provide a lot of value for these small applications.

It probably exists, I just don't know about it.

Posted by jherr at 12:18 PM | Comments (0)

June 09, 2004

Strange Blog Spam

This was the content of today's blog spam:

***People posting to these types of boards are ruining SEO (Search Engine Optimization) as we know it. If the owner of this site is interested in curbing this problem, please obtain another script that does not allow HTML or that requires verification and you will stop the endless advertizing on this board. Otherwise people will continue to do this indefinitely. Or perhaps you don't mind?***

This was in the SPAM! Is the spam telling me to stop the spam? It wasn't spam about a spam blocking service. It was about a weight loss drug. I don't understand this at all.

Posted by jherr at 04:55 PM | Comments (9)

June 08, 2004

.NET books

According to my publisher .NET books are a hard sell. Little wonder since MSDN is such an amazing utility.

Posted by jherr at 06:45 PM | Comments (0)

Airport Express

This new gizmo from Apple is really cool. These guys think of everything.

Posted by jherr at 06:42 PM | Comments (2)

June 02, 2004

Huh?

The Sun Java pricing model just seems nuts to me (quote from a CNET article):

Sun is also launching per-citizen pricing for its Java Enterprise System server software. While the company had committed to the idea earlier, it now has begun selling it according to population and how the United Nations ranks countries as more, less or least developed. Countries with larger populations and lower development pay less per citizen.

"Governments--when delivering driver's licenses, health care or fishing permits--tend to serve massive marketplaces," Schwartz said.

Under Sun's pricing, Mexico, a less-developed country with a population of 100 million, would get to use as much Java Enterprise System software as it wants for a charge of 81 cents per citizen per year. Nations classified as "least developed" pay between 33 cents and 75 cents per citizen, while "less developed" nations pay between 33 cents and $1.95 per citizen, spokesman Russ Castronovo said.

And how, by the way, does this make Java Open Source? Perl is Open Source, lemme see, the pricing model is, oh yeah, $0 no matter where you are. Same thing for Python, Ruby, TCL, GCC, Linux, etc. So what is this Open Source Java business about?

Posted by jherr at 08:49 AM | Comments (1)

June 01, 2004

RNA

I've been working on my own Ruby Code Generation Framework called RNA. It's a modular support framework for generation that wraps multiple text templating languages and manages models as XML. It's kinda like Ant, but for code generation. The idea is to allow the user to concentrate on the logic of generation while managing all of the infra-structural stuff.

Now the Ruby choice was a great one to get my ideas off the ground. But I have to say that if I really want this thing to take off it's going to have to be ported to either .NET or Java. So I have been weighing some pros and cons.

Java.NET
Pros
  • Portable
  • Popular
  • Good at XML and XSLT
  • Saxon is native
  • Supports dynamic class loading
  • I can use an IDE like Eclipse on the Mac
  • Velocity
Cons
  • Not a pure object oriented language
  • Not well supported on Windows
Pros
  • With Mono it's portable
  • Popular
  • Pure object oriented language
  • Good at XML and XSLT
  • Supports dynamic class loading
  • Great on Windows
  • Would work with any CLI language
  • NVelocity (but I'm not sure of the status of that project)
Cons
  • I would be writing C# with Vim
  • The XSLT is not Saxon
  • Not well liked because of the Microsoft connection
  • Requires Mono on Macintosh and Linux

One more plus for Java is that technology seems to flow better from Java to .NET and not the reverse. Arguably if the project was successful in Java there is a good chance that the .NET community will embrace it and do the port.

Any thoughts?

Posted by jherr at 10:59 PM | Comments (0)

OGDL

Yep, I see something new every day. Today it's OGDL. I found this when I looked for a Java implementation of YAML. I don't know the status of OGDL, but it looks pretty good. No Java support at the moment, it seems.

Posted by jherr at 10:43 PM | Comments (3)

Code Coloring

Mike Gundelroy gave me a pointer to highlight for code coloring. Very nice.

Posted by jherr at 10:45 AM | Comments (1)