Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
Wed, 14 Jan 2004
Forgot my own blogaversary
I was thinking that I should do a blogaversary post. Today I looked to find out when the (in)auspicious date was, and discovered that it was January 9th. Forgot to set a reminder. This year, January 9th was the 770th post. So thats just under 2 posts a day, every day of the year. Wow. I didn't know I had it in me to write that much (500+ page books notwithstanding).

One thing that I've felt guilty about for most of the first year is that I haven't generated all that much original content. Julie has been much better about that than I have. Many of my posts are commentaries on other things going on the the computing world, which is certainly a part of what blogging is about. But I'd like to do some more original content this year. We'll wait and see.

Something that I've been the most happy about is the chance to "meet" new people and do some projects together. So I hope that I get the chance to do even more of that this year.

[23:31] | [computers/internet/weblogs] | # | TB | F | G | 1 Comments | Other blogs commenting on this post
pydoc
When you are new to Python, and I consider myself new after a year of working on pyblosxom and a few months on Chandler, you still end up flipping through documentation.

Today I discovered the command line pydoc tool, which give you man like functionality for Python. This is pretty useful, but not as useful as it could be. The best man tool that I ever used was tkman, which was a Tk based man page browser, which also used glimpse to index the pages. That made it a lot more useful. It's to bad that glimpse has gone away, I constantly find situations where I could use it. Of course, I could use Lucene.... The snappiness of Mail.app's indexed search is one factor that convinced me to bag Thunderbird. The handling of threads (while not perfect) was another.

My other discovery was two functions related to info files in Emacs: info-complete-symbol and info-lookup-symbol, which work off of Info files. So I grabbed the info versions of the Python documentation, appended the directory to Info-additional-directory-list, and now I can complete symbols from the Python standard libraries, and look up their documentation from inside Emacs.

[23:14] | [computers/programming/python] | # | TB | F | G | 2 Comments | Other blogs commenting on this post
Visualizing Python profiling data with kcachegrind
Today I started to do some work on the big RSS feed test that I've been working on for Chandler. While Googling around, I discovered this announcement of a method for using kcachegrind to give you a nice visualization of the profiler data produced by Python's hotshot profiler. It requires KDE libraries, so I decided to try to get this working on Linux first, being afraid to try and fink the necessary libraries for KDE. Turns out that there is a kcachegrind package for debian (in unstable). Unfortunately, that version doesn't include the scripts needed to make this work. So I grabbed the unstable version of kcachegrind, unwrapped it and used the script in there. Every thing seems to work just fine, and its a nice way to manipulate the profile data. Thanks to X11.app, I can at least view the visualization on the Mac. I'm not sure if I'm up for KDE libs on the Mac just yet.

On tip if you decide to do this. The input file to kcachegrind must be of the form cachegrind.out.NN where NN is a number. That was really a nasty pain to figure out.

[23:03] | [computers/programming/python] | # | TB | F | G | 0 Comments | Other blogs commenting on this post
Planet Apache is on the air..
Thanks to the hard work and generosity of Thom May, and the Gnome/Debian Planet Hackers, Planet Apache is now up and running. RSS feeds are available.
[22:41] | [computers/open_source/asf] | # | TB | F | G | 2 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

< January 2004 >
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