Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
Tue, 22 Apr 2003
Call it "weblog infrastructure day"
Dan Sugalski vented his disgust with the current distribution mechanism for weblogs. I can sympathize with this. I'm getting a ton of hits that result in 304's. Between that and aggregators that don't do ETag checking or at least accept gzip encoding, I'm watching my bandwidth usage. I've actually banned a few IP's that we just egregiously hitting the server (Thanks to Mark Pilgrim, who finally got me using mod_rewrite). Sam picked up the thread too.

Then Aggie brought me some information on Newswire, which sounds cool. The problem is that it may be too high tech to get adopted (sad isn't it), and it's not clear how they intend to distribute Newswire itself.

If RSS really takes off, then it seems like RSS notification of some kind is necessary. Then again, I'd be happy if someone just dumped rss items into an inbox that was hooked to my aggregator (spam excepted, of course -- which I guess is why this can't work, sigh). The other problem with e-mail and push-like solutions is the centralization aspect of it. If I rely on the blogs I read to remember that I read them, then if they crash and loose the subscription list, I might never find out (unless they are one of the top-tier daily bloggers). Newswire does sound cool.

[14:46] | [computers/internet/weblogs] | # | TB | F | G | 0 Comments | Other blogs commenting on this post
RSS 2.0
Sam has a whole pile of entries on RSS 2.0, which I fully support. Dave Winer is worried about breaking existing clients, but I think that we still have only seen a fraction of the RSS use that we are going to see. Breaking RSS on last time now is going go be much better than breaking it in a year or two when we have an order of magnitude more clients out there. JMHO. Maybe now I can get insulted a Winer number too.

Did anybody notice that the Chandler 0.1 build has an RSS aggregator built in? And that this parcel was written by a non-programmer using Mark Pilgrim's ultraliberal RSS parser? Chandler has a long way to go, but this is encouraging.

[14:26] | [computers/internet/weblogs] | # | TB | F | G | 1 Comments | Other blogs commenting on this post
.NET Yummies
I've posted a review of Heng Ngee Mok's From Java to C#: A Developer's Guide on the SeaJUG Wiki. My conclusion after finishing this is that as languages C# and Java are basically the same, and that the differences are enough to be annoying, but not overwhelming on either side. The tooling and class library stories are a different matter entirely.

On the tooling side, I've only played with Visual Studio a little bit (I'll be doing more) but right now it seems to me that Eclipse is a more powerful environment for people doing straight coding. I haven't gotten to the ASP.NET tools or the database tools in VS.NET yet, so I'll have to report back on that later. And since the IntelliJ people are always crowing about how IntelliJ's UI is far beyond Eclipse, that makes 2 IDE's for Java that are a parity or beyond VS.NET. As far as command line tools go, all I can say about that is that Ant was on Java before NAnt came along. As I read the .NET weblogs, I see references to some other interesting sounding stuff -- XSD Inference, etc. There must be some place that someone like me can go to learn about all this stuff. Maybe some of those folks that have recently swallowed the Red Pill will be able to do something to help out. I'm really interested in the whole Mono situation, and it appears that the tools story there is pretty much Emacs/vi, etc. Tools like SharpDevelop only seem to run on Windows. Maybe that will change once Gtk# or SWT# mature, or when someone decided to do a C# version of JDT in Eclipse.

I haven't had time to dig into the class libraries yet, but I've seen some interesting articles recently...

  • Jan Tielens tells How to get a RSS feed in a DataSet in 1 line...
    With only one line of code, you can get the contents of a RSS feed into a DataSet:
    myDataSet.ReadXml(New IO.StreamReader(System.Net.WebRequest.Create("http://msdn.microsoft.com/rss.xml").GetResponse.GetResponseStream)
    I know that this is VB code, but I think that you can call all of this from C# in an ASP.NET page. I'm not aware of anything like this in Java.

  • Julie Lerman describes how the CLR handles date/time formatting, something which has bitten me in pyblosxom because the default time data type isn't ISO8601 compliant which means that it's hard for us to generate RSS 2.0 valid feeds using the builtin libraries. My own code calls out to pyXML to get the job done, but this is causing a problem for people whose ISP's havent' installed pyXML on their webservers.

    Brad Abrams follows up Julie's post with a code sample.

  • Simon Fell gets into the act by describing a pair of functions that make it easy to do ETag handling for an RSS feed.

From here, the library story looks kind of interesting...
[14:10] | [computers/programming/dotnet] | # | TB | F | G | 0 Comments | Other blogs commenting on this post

twl JPG


Ted Leung FOAF Explorer

I work at the Open Source Applications Foundation (OSAF).
The opinions expressed here are entirely my own, not those of my employer.

Creative Commons License
This work is licensed under a Creative Commons License.

Now available!
Professional XML Development with Apache Tools : Xerces, Xalan, FOP, Cocoon, Axis, Xindice
Technorati Profile
PGP Key Fingerprint
My del.icio.us Bookmarks
My Flickr Photos

RSS 2.0 xml GIF
Comments (RSS 2.0) xml GIF
Atom 0.3 feed
Feedburner'ed RSS feed

< April 2003 >
   1 2 3 4 5
6 7 8 9101112


Macintosh Tips and Tricks

Blogs nearby
geourl PNG

/ (1567)
  books/ (33)
  computers/ (62)
    hardware/ (15)
    internet/ (58)
      mail/ (11)
      microcontent/ (58)
      weblogs/ (174)
        pyblosxom/ (36)
      www/ (25)
    open_source/ (145)
      asf/ (53)
      osaf/ (32)
        chandler/ (35)
        cosmo/ (1)
    operating_systems/ (16)
      linux/ (9)
        debian/ (15)
        ubuntu/ (2)
      macosx/ (101)
        tips/ (25)
      windows_xp/ (4)
    programming/ (156)
      clr/ (1)
      dotnet/ (13)
      java/ (71)
        eclipse/ (22)
      lisp/ (34)
      python/ (86)
      smalltalk/ (4)
      xml/ (18)
    research/ (1)
    security/ (4)
    wireless/ (1)
  culture/ (10)
    film/ (8)
    music/ (6)
  education/ (13)
  family/ (17)
  gadgets/ (24)
  misc/ (47)
  people/ (18)
  photography/ (25)
    pictures/ (12)
  places/ (3)
    us/ (0)
      wa/ (2)
        bainbridge_island/ (17)
        seattle/ (13)
  skating/ (6)
  society/ (20)

[Valid RSS]

del.icio.us linkblog



Listed on BlogShares

Locations of visitors to this page
Where are visitors to this page?

pyblosxom GIF