Tao of the MachineProgramming, Python, my projects, card games, books, music, Zoids, bettas, manga, cool stuff, and whatever comes to mind. |
Front page Last 10 archives 2002-10-26 2002-11-02 2002-11-09 2002-11-16 2002-11-23 2002-11-30 2002-12-07 2002-12-14 2002-12-21 2002-12-28 Category archives bettas books CCGs Charm esoterica Firedrop games general ideas internet Kaa linkstuffs Lisp manga music Mygale Nederland nostalgia programming Python SGI switch Wax Zoids :: Search All posts ...by category ...by date :: About me :: Oasis Digital :: Resume :: GeoURL :: RSS :: Atom |
zephyrfalcon.org is mineTo many, this will not be a surprising choice. I had more interesting ones on my list, but could not make a decision. This will do.(You can't go there yet, it will take a few days before all administrivia are done with.) Thursday roundup
Domain names are so 1999Just an observation, but are domain names starting to become irrelevant? To get to certain often-used pages, I just type some words in the "URL bar" of my browser (Phoenix), and courtesy of Google's "I'm feeling lucky" I get there.So I don't have to learn the URL of the Vaults of Parnassus, but just type "vaults of parnassus". Ditto for "effbot online", "python", "wapsi square", "python start page", etc. This may be an important development -- it means you can get to a site by typing some intuitive words, rather than memorizing or bookmarking (possibly long) URLs. There are drawbacks too, of course. What if Google doesn't take you to the desired page? Or what if it once did, but someone manipulates it and suddenly you end up somewhere else? I guess you have be more specific then. For example, "tao of the machine" used to lead to this weblog, but doesn't anymore. So now I have to type "tao of the machine nowak". No biggie. All this might make sense if I wasn't looking for a domain name myself... :-) ExceptionsUntil now, Kaa always wrote error messages and exception traceback to the console window. Not everybody can read those, though, so it was time for a change. Kaa 0.8.4 will have two new dialogs, one that displays error messages (could be used for anything really, warnings, even an "About..." message), and one that displays an exception.
sys.excepthook doesn't work with Tkinter. It doesn't catch the exceptions that occur in widget methods (not sure about exceptions that occur anywhere else). After some poking around, I found a way to set Tkinter's "except hook". Not sure how reliable it is, but here goes:
Get the development version 0.8.4 here. No guarantees, make a backup of your database before you install it, etc. A lot of wholesome Python goodnessOK, I probably shouldn't do this, since it's not ready for prime time yet. Not quite. But what the heck. Here's a development release of Charm.I added a category for Charm, since it's getting quite significant (for my own coding, that is). A project at least as important as Kaa. What is Charm? It's an editor; some would say an IDE. It's written in Python of course, and like many of my projects, it heavily uses Python's dynamism and introspection. It may not be interesting to you at all, but for me, it's rapidly becoming the #1 Python development environment. That is because it does what *I* want. *You* may have very different ideas about what an editor/IDE should do. So be it then. Charm is not for everyone. Some of its features are:
One more warning/tip: You may not like my hideous color scheme, or my settings. Look at options.py to change them. Lines, lines, linesJust for kicks and giggles, here are some line counts of some of my projects. Project I am currently working on (a.k.a. "work"): 27,000 1) Skewed, because card data are stored as Python files. This just goes to show that line count doesn't mean anything. Seeker would be my largest project by far, except that the core is a mere 1500 lines. The rest is card data. (Hmm, maybe Seeker 5 will not do this, but use a certain format... maybe XML, maybe pickled data, maybe something else. Refactoring, anyone?) The 27,000 lines for "work" are not skewed. My largest Delphi program at my previous employer was around 25,000 lines also, except that 100 lines of Python are worth a *lot* more than 100 lines of Delphi. It's not the largest program on earth, but it's nothing to snort at, either. effbot/effnewsThe effnews (or is it effbot.exe?) program is dope, man. It's at 0.7 and not done yet, but it works quite well so far. Just drag an URL to the main frame.I wonder if Fredrik is going to add an option where you can open the post's link in your favorite browser. AmphetaDesk has something like that, and it's very useful if the RSS doesn't include the whole post (like mine, or Mark Pilgrim's). Got root?Kaa 0.8.2 (the current version, not available to the public yet) also includes a new setting: "root", which is basically the URL where your weblog can be found once uploaded. For example, in my case it's http://home.earthlink.net/~wurmy/weblog/. This link wasn't necessary before, but is now used for RSS. After all, people will need to know where to find your weblog, and permalinks with an absolute URL rather than a relative one are more useful too. ;-)Should Kaa write an alternate RSS file for *all* posts? I wonder. Feel free to leave comments. ^_^ (Not that I expect anybody to, not unless I link to one of Mark Pilgrim's posts... <0.5 wink>) -- Generated by Firedrop2. |