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-11-09 2002-11-16 2002-11-23 2002-11-30 2002-12-07 2002-12-14 2002-12-21 2002-12-28 2003-01-04 2003-01-11 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 ![]() ![]() |
RedirectionsWhen looking for Mac OS X upgrades, I stumbled upon an URL that made GetRight barf. It could not download it because it redirected twice. So, I decided to write a quick Python script to find the "final" URL, following redirections. Nothing fancy, but maybe it will be useful to someone.
(Colorized Python source would be nice. Hmm. Maybe something for in my CMS...)
Short CoT reviewCrossroads of Twilight, book 10 in the Wheel of Time series, by Robert Jordan(Warning: spoilers ahead) Before this book came out, I read some previews that said that CoT actually moved the plot along. Nothing could have been farther from the truth. In the newsgroups, many people complain that nothing happens at all. While that judgement is not entirely fair, their disappointment is understandable. The book can roughly be divided into two parts: what people where doing shortly before Rand cleansed saidin, and shortly after that. That's it. No long timespans are covereed here. People hardly move, and basically still do the same as what they were doing in WH. Elaine struggles with the succession. Mat & co leave Ebou Dar, but don't get too far (not out of Seanchan reach anyway). Perrin still walks around trying to free Faile. Rand recovers from his saidin-cleansing. Egwene and the Salidar Aes Sedai seem to make the most progress, they reach Tar Valon. So many things don't happen. Mat doesn't marry the Daughter of the Nine Moons. Perrin doesn't free Faile. Rand doesn't do anything interesting, neither do people around him, like Min, Nynaeve, Lan or Cadsuane. Elaine is still in pretty much the same position as at the end of the last book; no war, but nothing is settled either. Egwene and the SAS don't besiege Tar Valon, they just talk. No Forsaken in this book except for Mesaana. (Well, and Halima.) No Fain. No Taim. No fights with Trollocs or Myrddraal. Tarmon Gaidon doesn't seem any closer. The things that do happen are not earth-shattering, although some of them are important, and others may turn out to be important in the future. Here are some of the events and plot lines:
All in all, I didn't find the book really disappointing, but it wasn't a very exciting read either. At least WH moved the story along. Sigh. And now we have to wait two years or so for the next book... ZODB inspectionZODB looks nice. I want something like this to use in my CMS. Well, maybe not exactly the same, but a similar principle. Simple persistence. I am also inclined to use an object database rather than a traditional (relational) one. Relational databases are rigid; with an OO database, I can add objects and fields at will, and new versions of a program will work without problems.(I didn't get the example to work, by the way, the newuser object didn't register that it was changed... but then again I didn't use a BTree (because it wasn't found, I'm assuming it's in the Zope distro). I used a dict, which may make all the difference.) Question is, will I use ZODB? Probably not. Points against it: this makes for another download, and I don't really need all the magic and power that it offers. Something simple and home-grown might be better. I don't want to reinvent the wheel, but I don't want to rely on third party packages too much, either. If it was an app for personal use, no problem... but not in this case. Design decisionsPicture a new content management system, waiting to be written. It will be client-based, much like Kaa.» Should it be feature-rich, or minimalistic? » What GUI should it use? (Tkinter and wxPython are the main contenders.) Or should it use something radically different, like Jython? Maybe even web-based? » Should it have a friendly user interface, or something more terse and powerful? » Should it be portable? Of course, the more platforms it supports, the merrier, but this has consequences for the choice of GUI, among other things. » What database should it use? Plain text files? Gadfly? ZODB? MySQL? » Should it be a small, self-contained download, or something that requires several third-party packages? (Kaa is an example of the former. All you need is Python; download Kaa and it's ready to run.) Lots of decisions to be made, and some of them will affect decisions in other areas. Thoughts? Drop me a mail or leave a comment. FlakyMy CVS repository at zephyrfalcon.org has been created, but I can't use it yet. Maybe I'm doing something wrong. Maybe it's a matter of incorrect permissions.Mac OS X has its little problems, too. The icons in the harddisk root are always jumbled when I start up, no matter how many times I correct it with Show View Options. (It does work for other folders.) Also, I specified TigerLaunch to start when the Mac starts, but nothing happens. (Other programs, like DragThing, do start up.) Of course, I don't even have to *start* about Windows. Sometimes you can view PDF files by doubleclicking them, something you can't. Regularly it decides that my folders need a different sort order, even though I told it no such thing. Sometimes it just crashes. How could it be otherwise? I also had some trouble with threads the other day. A method that does some database updates acquires a lock, so nothing should interfere with the database communication. Do the other threads care? No. They happily continue even when the aforementioned update thread is running. Sometimes things are just flaky. Sigh. Another weblogging toolVellum. Looks interesting; I'll try it out on my server later.
There are some obvious differences between Vellum and Kaa. Most importantly, Kaa is client-based, while Vellum is server-based (like most other weblogging tools, like Movable Type). Also, Vellum's embedded Python is more like ASP, meaning you can write code like this:
This, and some comments on Kaa that I read yesterday, got me thinking some more about the next step. I have my domain name now. Maybe it's time for a complete CMS in Python so I can build and manage a whole site. Update (9:21 PM). Vellum works... sort of. I managed to install it without much trouble. I can also post. The question is, however, how can I view my weblog? That is something the installation instructions don't tell you. 5 months later......I am still not very proficient in using the Mac, mostly because I lack time, and a decent workplace. In spite of that, I took most of this weekend to play with it, and work through the Missing Manual. Once that is done, I can install Jaguar (which has been gathering dust since September or so) and use Jaguar-based programs, like Safari.I am appreciating the Mac more and more. It has style *and* substance, as opposed to Unix (substance but no style) and Windows (neither). You can work on a very high-level, using very user-friendly tools. For example, I plugged in my digital camera, and iPhoto did the rest (easy downloading). No special drivers or software needed. On the other hand, you can work on a very low level as well. For example, today I was staring at old C code that wouldn't compile. ;-) DragThing is great. So is TigerLaunch. Chimera is nice (although I wish it was more like Phoenix on Windows). I can still babble on ICQ or YM, using Proteus. Have to find a decent news reader, though. Mozilla's? More later, if I actually have something interesting to say about my Mac adventures... -- Generated by Firedrop2. |