Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
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
[14:46] |
[computers/internet/weblogs] |
# |
TB |
F |
G |
0 Comments |
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.
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 |
.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...
[14:10] |
[computers/programming/dotnet] |
# |
TB |
F |
G |
0 Comments |
-
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:
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.
myDataSet.ReadXml(New IO.StreamReader(System.Net.WebRequest.Create("http://msdn.microsoft.com/rss.xml").GetResponse.GetResponseStream)
- 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.