Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
Tue, 13 May 2003
Cedric on beautiful code
Cedric's post on beautiful code had a really interesting snippet of Ruby code in it.

File.new("foo.txt") { | f |
  # do something with f
} # f gets automatically closed

This is an interesting use of blocks. I don't recall seeing this before, but it's very nice. Maybe one day I'll have some time to go play with Ruby. I know a few people who are into it, but Python seems to be the bomb at the moment. And I'm still trying to pry my cold dead fingers off of my parentheses, I mean, Lisp/Scheme code.

One other comment in the whole beautiful code/source code as literature thread. My conception of the source code as literature idea was to look more at big programs that were worthy of study, not snippets. I guess if we wanted to take the analogy further, we should be looking at novel, short story, and poem equivalent sized programs.

[01:30] | [computers/programming] | # | TB | F | G | 8 Comments | Other blogs commenting on this post
Magpie joins the gzip club
Kellan e-mailed to let me know that Magpie is supporting gzip encoding.

On my blog, the non-gzipping aggregators with the most hits are:

  1. SharpReader
  2. NetNewsWire
  3. Radio Userland
  4. AmphetaDesk
  5. RSSBandit
Here's the complete scorecard for gzip:
[01:22] | [computers/internet/weblogs] | # | TB | F | G | 0 Comments | Other blogs commenting on this post


twl JPG

About

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


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

< May 2003 >
SuMoTuWeThFrSa
     1 2 3
4 5 6 7 8 910
11121314151617
18192021222324
25262728293031

Archives
2006
2005
2004
2003

Articles
Macintosh Tips and Tricks

Search
Lucene
Blogs nearby
geourl PNG

Categories
/ (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

www.flickr.com

Blogroll

java.blogs
Listed on BlogShares

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


pyblosxom GIF