[03:03:48] ** whit has joined us [03:57:05] ** whit has left IRC () [04:02:30] [connected at Fri May 20 04:02:30 2005] [04:02:30] <> *** Looking up your hostname... [04:02:30] <> *** Checking ident [04:02:34] <> *** Found your hostname [04:03:01] <> *** No identd (auth) response [04:03:01] <> *** Your host is brown.freenode.net[h216-165-191-52.216-165.unk.tds.net/6667], running version dancer-ircd-1.0.35 [04:03:01] [I have joined #peak] [04:03:01] ** brown.freenode.net set the topic to http://dirtsimple.org/2005/04/generic-functions-reloaded.html [07:24:21] ** debugger has joined us [09:14:53] ** vlado has joined us [10:32:03] ** debugger has left IRC () [10:53:57] ** vlado has left IRC ("Leaving") [13:09:17] ** sprout has joined us [13:28:45] [Global Notice] Good evening, all. News up on the freenode website: (1) Major downtime on Sunday. (2) Status of fundraiser. Please take a look at http://freenode.net/news.shtml ! Thank you for your support for freenode, and have a great evening! [13:52:28] ** whit has joined us [15:11:50] ** hazmat has joined us [15:30:42] Anybody alive? [16:18:59] ** hazmat has left IRC ("This computer has gone to sleep") [16:38:36] ** hazmat has joined us [17:00:27] ** hazmat has left IRC ("This computer has gone to sleep") [17:00:45] ** hazmat has joined us [17:02:09] ** hazmat has left IRC (Client Quit) [17:02:29] ** hazmat has joined us [18:44:34] ** bryn has left IRC (Read error: 145 (Connection timed out)) [18:55:34] ** pje has joined us [18:55:45] Hola. [18:56:06] erikrose, I think I'm going to implement some of your DM suggestions [18:57:15] Specifically, I'm thinking add, remove, __iter__, __contains__, and get() [18:59:17] And deprecate newItem() and the use of __getitem__ for anything but linking between DM's. [19:00:05] In order to do that, _load() will have to be able to return NOT_FOUND, instead of raising an error. [19:00:21] When the object isn't found, I mean. [19:00:41] This should all simplify the IntroToPeak tutorial a fair amount. [19:03:23] At the same time it's going to be interesting to do it in a backward-compatible way. [19:04:08] Deletion in particular is interesting, because it really needs to wait until the flush phase. [19:39:42] It's even more interesting because of referential integrity. :( [19:40:03] Can't delete the item until the items referencing it no longer point to it. [19:40:35] I may have to punt on implementing 'remove()' until I can think through the ramifications. [19:53:39] Okay, I've decided to just track the deletion order for now. [19:54:14] The abstract method will just get the list of deletes in their original order, and deletes are done after all inserts and updates. [19:54:44] It won't cover every conceivable circumstance, but you can force changes with flush() if you need to. [19:56:59] The irony of these improvements is that by making the tutorial simpler, it will actually mean people won't learn about stuff like preloadState() - they won't need to any more. [21:00:33] ** whit has left IRC (Read error: 110 (Connection timed out)) [21:02:27] ** whit has joined us [21:13:50] ** whit has left IRC () [21:16:20] ** hazmat has left IRC ("This computer has gone to sleep") [21:18:59] ** whit has joined us [21:20:16] ** whit has left IRC (Client Quit) [21:40:52] ** sprout has left IRC ("Snak 5.0 IRC For Mac - http://www.snak.com") [22:00:16] ** hazmat has joined us [22:05:39] ** hazmat has left IRC ("This computer has gone to sleep") [22:22:32] * pje posts an announcement and checks in the code [22:23:02] ** pje set the topic to DMs made easy(er) -- http://www.eby-sarna.com/pipermail/peak/2005-May/002296.html [22:40:26] ** hazmat has joined us [22:57:28] ** hazmat has left IRC ("This computer has gone to sleep") [22:59:11] ** hazmat has joined us [23:06:13] ** _erikrose has joined us [23:11:22] Hey. [23:11:25] <_erikrose> 09Howdy! [23:11:32] <_erikrose> 09Bravo on all the checkins tonight; thanks! [23:11:53] I take it 'erikrose' is a zombie of some sort? [23:12:03] <_erikrose> 01Eh, he's signed on from another box. :-) [23:12:15] Eh? [23:12:16] <_erikrose> 09You won't hear him say anything while I'm here. [23:12:39] Well, I said lots to him and he didn't answer even while you weren't here. :) [23:12:52] <_erikrose> 01So my statement stands. :-) [23:12:57] <_erikrose> 09Even if it is useless [23:13:13] Hm, you keep outputting apparently-blank lines. [23:13:23] <_erikrose> 09Let me upgrade my client... [23:13:48] Interesting: if I try to select the lines, I see there's text... it's just black-on-black, apparently. [23:14:08] <_erikrose> 09I'm having color problems on my end, too: everything's bright green on white. [23:14:17] <_erikrose> 09brb [23:14:20] ** _erikrose has left IRC (Remote closed the connection) [23:14:53] ** _erikrose has joined us [23:14:57] <_erikrose> Ooookay. [23:15:03] <_erikrose> Better? [23:15:10] Yep, your text is white now. [23:15:13] <_erikrose> Charming. [23:15:18] No more green or black [23:15:55] <_erikrose> One more try, then... [23:15:57] ** _erikrose has left IRC (Client Quit) [23:18:37] ** _erikrose has joined us [23:18:45] <_erikrose> Okay, if that doesn't work, I'm out of ideas. [23:24:34] <_erikrose> Hey, and you gave me an excuse to use generic functions. ;-) I've been trying to be disciplined and not just use them for the fun of it. [23:25:57] <_erikrose> (I knew this would happen when Apple started providing developers with a toolbar widget. Now devs are making function available solely through the toolbar, with no menu equivalents. Evil, evil, evil!) [23:26:06] <_erikrose> functions, that is