I can't seem to finish or maintain anything lately. I never can, but recently it's been more acute. Maybe it has to do with the pending release of CherryPy, which means we're in "feature freeze" mode; I miss writing the sweeping redesigns that I was able to shove into 2.1 before the beta.
But it's apparent in other areas, as well. I have about 80 hours of video transfer to DVD to do for various friends (and some personal projects). I haven't touched any of them in months. I also have a company to officially close, which is moving at a glacial pace. I've got a bunch of papers in triplicate that I need to mail off to the State, but can't seem to work up the drive to buy a large envelope for the purpose.
But then, having everything "done" is a much worse state. Maybe I should count my busy blessings.
This is just a fun panoramic shot I took from Eunice's driveway, showing the view of the whole El Cajon valley from her house (keep in mind that it's a distorted panorama; the extreme edges of the pic are actually in a line with each other, not at right angles as it might appear).
You might not have noticed, if you don't check every day, but this blog has moved recently. It was hosted at amorhq.net (owned by Amor Ministries), but now it's at aminus.org (owned by yours truly). Please update your aggregators, feedlists, links, and bookmarks.
Dejavu, my pure-Python ORM, has a new Trac home at http://projects.amor.org/dejavu. As always, it's open to the public to download, use, or develop. It could use another contributor or two, and the snazzy new Trac front-end should help that immensely.
Just to remind you about the parts of Dejavu I think are cool:
red_filter = logic.Expression(lambda x: x.color == 'red') RedAnimals = sandbox.recall(zoo.Animal, red_filter)
from dejavu import Unit, UnitProperty class MissionTrip(dejavu.Unit): """A Mission Trip experience.""" DirectoryID = TripGroupProperty(int, index=True) FirstDate = NotifyProperty(datetime.date) GroupName = UnitProperty() LastDate = NotifyProperty(datetime.date) AmountDue = UnitProperty(fixedpoint.FixedPoint)
Dave Warnock muses:
I am not about to argue that [TurboGears and Subway] should merge, instead I feel they can improve most by making sure that they each stay thin putting all the improvements they can back into the components eg CherryPy (which they both have been doing) and into the deployment elements (setuptools and paste).
That's a good point, and I think it's at the heart of what CherryPy is trying to be: non-fattening. So there's definitely going to be some pushback from CherryPy itself trying to "stay thin".
I often say that CherryPy is not a "web framework"; it is an "HTTP framework". That is, it doesn't try to provide tools for every facet of web development. Instead, it concentrates on wrapping HTTP up in a Pythonic way.
IMO, working to stay thin is an important factor in getting CherryPy "more exercise": it gets used in more meta/mega-frameworks like Subway and TurboGears precisely because it hasn't gobbled up every good idea, just because it's web-related, or even just because it's Python. For example, CherryPy 2.1 is deprecating the Aspect module that was in 2.0, because it isn't related to the HTTP-focus of CherryPy.
David goes on:
Another project that is the next level down from these frameworks but that is also moving fast is Quixote, I feel the differences between Quixote and CherryPy are also becoming smaller (shown by the recent blog posts on Python Web Controllers). Whether they could ever merge is a different matter. Probably not possible (or even desireable) for the moment.
I would have to agree. There's a decisive difference in architectural style between CherryPy and Quixote. That doesn't mean there aren't components that are common to each, and there are certainly some which are unique to each which deserve to be ported! If the Quixote coders are willing to give up all the method names starting with
get_ we're ready to have a conversation about merging.
This is what I spent my weekend working on (among other things). It's the "autoreload" functionality in CherryPy. It was so complicated that it took me 15 minutes to understand it again, anytime I got distracted; having the diagram makes it quicker, at least. They say the human brain can handle about 7 things simultaneously, and this snake-pit takes about 4 at a minimum:
Okay, coworkers, now you know: when I put my hands over my eyes and sigh heavily, it's because I'm on step 8. Actually, the more I learn about IT, the better I get at seeing step 8 coming when you're still on step 2. So please bear with me whenever I seem unduly frustrated at small requests.
The official mailing-list announcement is here.
The big change from 2.1 beta is the session filter—it's been completely rewritten.
Way to go, team. I'm pleased as punch to be a part of this powerful, Pythonic product.
I wrote a WSGI wrapper for modpython a while back, but nobody's gotten it to work yet with Apache2 on Linux (at least, nobody in the CherryPy community). The current theory is that it's due to the differences in MPM's between Windows (mpm_winnt, which is one process with multiple threads) and Linux (worker, threadpool).
If you're stuck wanting CherryPy + modpython on Linux, have a look at Jamie Turner's new mpcp.py, which skips the WSGI layer and directly connects CherryPy to modpython. Then let everyone on #cherrypy know how it went.
[Disclaimer: if you're a techie, and you find this discussion a bit patronizing, bear with me. I raise my own salary through donations, and I'm trying to communicate to my non-technical financial supporters where their money is going. If you're one of those supporters, please bear with me when I descend into meaningless jargon. ]
Our mail server, which runs Microsoft Exchange, died two weeks ago—critical operating system files got corrupted, and Windows wouldn't boot. This is a bad thing. Bad technically, because it meant reinstalling Windows, which was sure to confuse the Exchange service. Bad corporately, because it took us two days to get mail services back up and running, which meant lots of business not getting done. In point of fact, although we spent several hours with a consultant and a Microsoft engineer, we didn't actually fix the problem; however, we got the mail server back into enough of a working state that business could proceed. So we backed up all our mail and said to ourselves, "don't touch this machine again".
Then I started shopping. Being an intuitive fellow, I listened to that little voice in the back of my head saying, "now would be a good time to outsource our mail". That is, I went looking for someone who could run an Exchange server somewhere else on the Internet for us, and host our mail. If it worked, this would be a big benefit to us because:
Would I have made the same decision if we had 20 users? 100 users? Perhaps. What was more important in my calculations was the ratio of IT workers to other staff. We are right at the point where we need more IT staff, but haven't hired them yet. That is, the demand for IT is outpacing what Ryan and I can supply.
Assume an ideal ratio of 1 IT worker for each 20 staff members. Given our staff of 40 (and growing), if we had 3 IT workers, we might have chosen to keep hosting our own mail. Similarly, if we had 20 staff to our two workers, we would have chosen (and did choose for the past few years) to host our own mail. But because our demand is exceeding our supply, we chose to outsource it for now:
We're still in the process of moving our mail to the new provider, but don't worry about sending us mail! Nothing about that will change. I just wanted to give some of you a peek into the day-to-day (-to-week-to-month?) fires I end up putting out.
|<< <||> >>|