[03:58:24] ** Maniac_ has left IRC (Read error: 104 (Connection reset by peer)) [03:59:11] ** Maniac_ has joined us [04:02:23] [connected at Thu Oct 21 04:02:23 2004] [04:02:24] <> *** Looking up your hostname... [04:02:24] <> *** Checking ident [04:02:24] <> *** Found your hostname [04:02:56] <> *** No identd (auth) response [04:02:56] <> *** Your host is niven.freenode.net[niven.freenode.osuosl.org/6667], running version dancer-ircd-1.0.35 [04:02:57] [I have joined #peak] [04:02:57] ** niven.freenode.net set the topic to http://peak.telecommunity.com is back on line [07:10:48] ** gbay has left IRC ("It's not like I'm leaving or anything...") [08:58:23] ** vlado has joined us [11:15:32] ** apoirier has joined us [12:58:53] ** vlado has left IRC ("Leaving") [13:01:22] Anyone know how to get a DateTime field (from the Bulletins example) to have a default vaule of None instead of now()? [13:06:37] ** apoirier has left IRC (Read error: 104 (Connection reset by peer)) [13:08:06] * Maniac shrugs [13:08:16] mailing list baby [13:08:26] did you know pje started a weblog ? [13:08:55] I just found out yesterday. I couldn't find a syndication url, though, so I keep forgetting to check it. [13:09:04] dirtsimple.org [13:09:31] I like his slogan :) [13:09:54] Definately an injoke, though. [13:10:23] >>> feedfinder.getFeeds('dirtsimple.org') [13:10:24] ['http://dirtsimple.org/atom.xml'] [13:10:52] * Maniac hugs interactive interpreter [13:11:01] What's feedfinder a part of? [13:11:12] it's part of feedfinder [13:11:16] :) [13:11:23] Mark Pilgrim [13:11:29] * rdmurray googles [13:11:58] http://diveintomark.org/projects/feed_finder/ [13:12:05] Found it :) [13:12:15] Mark Pilgrim is python god [13:12:25] well nto really, but wrote a good online book [13:12:49] python is so yesterday. IronPython man [13:12:55] heh [13:13:17] * rdmurray doesn't want to go even that close to microsoft, but may have to eventually. [13:14:37] well, i was trying some c-sharp yesterday which i dont know at all so i fired up IronPython so i could poke the assemblies without compiling. It was sureal [13:14:56] from System.IO import File [13:14:59] dir(File) [13:15:08] how do you do that in a compiled language? [13:15:10] it so rocks [13:15:12] :) [13:15:25] which is kinda why jython is cool too [13:16:46] I told somebody the other day who asked me if I knew Java that I didn't, but I could probably learn to do things with it pretty quick by using jython. [13:17:00] I doubt he's going to make me prove it, fortunately. [13:17:51] Know of any good console based feed agregator written in python? [13:18:04] I'm using snownews now, but I'd rather be using a python app. [13:18:42] console based ? no. [13:18:54] i use bloglines [13:18:59] How about something that generates a web page? [13:20:24] Although the problem with that is "mark read". [13:22:53] (reading an article on bloglines) I have never understood why agregators poll. [13:23:31] I prefer snownews' attitude, where *I* initiate the refresh when I want new news. [13:23:51] * rdmurray tries to get back to wor. [13:23:53] work even [13:27:34] if your a news junkie you want to know NOW [13:27:46] it shouldn't be polling anyways it should be pub sub [13:27:58] If I was a any more of a news junkie I wouldn't get *any* work done. [13:27:59] ** apoirier has joined us [13:28:17] True [14:12:19] A ghost must know it's oid, right? Is there any way to retreive that without activating the object? [14:55:58] ** apoirier has left IRC (Read error: 113 (No route to host)) [14:58:24] ** Maniac has left IRC (Remote closed the connection) [15:32:08] ** Maniac has joined us [15:40:58] ** asrenzo has joined us [15:41:41] ** asrenzo has left us [18:05:22] ** gbay has joined us [20:17:25] ** hazmat has joined us [20:22:06] ** gbay has left IRC (niven.freenode.net irc.freenode.net) [20:22:06] ** arg has left IRC (niven.freenode.net irc.freenode.net) [20:22:06] ** jack-e|away has left IRC (niven.freenode.net irc.freenode.net) [20:22:06] ** hazmat has left IRC (niven.freenode.net irc.freenode.net) [20:22:06] ** Maniac_ has left IRC (niven.freenode.net irc.freenode.net) [20:22:06] ** etrepum has left IRC (niven.freenode.net irc.freenode.net) [20:22:06] ** jkocherhans has left IRC (niven.freenode.net irc.freenode.net) [20:22:06] ** rdmurray has left IRC (niven.freenode.net irc.freenode.net) [20:23:17] ** hazmat has joined us [20:23:17] ** gbay has joined us [20:23:17] ** Maniac_ has joined us [20:23:17] ** etrepum has joined us [20:23:17] ** jkocherhans has joined us [20:23:17] ** rdmurray has joined us [20:23:17] ** jack-e|away has joined us [20:23:17] ** arg has joined us [20:34:49] ** hazmat has left IRC (Read error: 60 (Operation timed out)) [21:09:22] ** pje has joined us [21:09:25] * pje waves [21:09:40] * rdmurray waves back. [21:10:25] You wanted to know something about DateTime? [21:10:48] I figured it out. It was an sqlite thing. [21:10:53] Ah. [21:11:11] I was wondering, on account of the bulletins DateTime is a dummy type that doesn't do anything. :) [21:11:27] I tried that QueryLink thing and got a database lock problem. So I've backed off that for the moment. [21:11:42] I'm trying it again with another DM that isn't self referencing. [21:12:02] Database lock problem? Are you using SQLite? [21:12:06] Yes. [21:12:23] Sounds like you've got more than one Obtain() of the database, which would give you multiple connections. [21:12:37] Ah. I see. Yes, that is what I did. [21:12:45] How should I be doing it? [21:13:04] Only one of the Obtain() operations should use the DB url. [21:13:19] The others should acquire it from the first one via a property name or interface or other configuration key. [21:13:40] When you obtain a URL, you may get a new copy of whatever's at the URL, depending on what kind of URL it is. [21:13:49] I have the URL in my ini file. [21:13:54] For database connections, obtaining a URL means "give me a connection to that DB". [21:14:05] Okay, and how is the URL listed in your .ini file? [21:14:16] Is it a [Named Service], or just a property? [21:14:30] Normal properties are computed every time you look them up. [21:14:32] db = naming.LinkRef('sqlite:/home/rdmurray/proj/fcgbilling/db') [21:15:05] Put it in a [Named Services] section instead. [21:15:11] Using the full property name. [21:15:15] e.g. [21:15:20] [Named Services] [21:15:23] foo.bar.db = ... [21:15:34] Whatever 'foo.bar' is currently. [21:16:04] Anyway, Named Services are created at most once for a given "service area", which normally will be your entire application. [21:16:21] Still as a LinkRef? [21:16:25] Yeah. [21:16:42] The only thing you want to change is the fact that it should be a Named Service, rather than a computed property. [21:17:00] OK. It'll be a while before I'm ready to test it. [21:17:31] No prob. You can also do this by obtaining the property in the root of your app, and giving it an 'offerAs' of the same property. [21:17:32] I still obtain it using PropertyName, right? [21:17:46] Right. *nothing* changes but the [Named Services] part. [21:17:50] k [21:18:06] You'll just end up with one "named service" for the app, instead of a fresh connection for every DM! [21:18:18] OK. Thanks. [21:32:52] hey ! [21:33:36] * Maniac_ keeps forgetting to re-sub to peak mailing list [21:33:54] So do it now, while you're remembering. [21:34:24] pje: you have a job ? [21:34:42] I read on gmane, and am only subbed so I can post. [21:35:09] I was writing a python newsreader until I got sucked intot his billing system project :) [21:35:18] Maniac: not one that pays. :) [21:35:36] pje: is that by choice? [21:35:45] go work for osaf you fool [21:35:58] and i mean that in the nicest way :P [21:36:59] That's a coast-to-coast move, to an economy where housing cost 2-3 times as much. [21:39:42] And my wife owns a store here, so it's not exactly a quick or simple process to move. [21:40:09] Yeah, that would tend to tie you down. [21:40:34] it's an inhouse position ? [21:40:43] anyways there's that whole applying thing... [21:40:55] The posting says San Francisco. [21:40:57] ah [21:40:59] didn't realize htat [21:41:20] * Maniac_ is reading learning c# [21:41:28] Otherwise I'd be somewhat more tempted, project management issues aside. [21:42:14] to which your referring that the project doesnt go anywhere? [21:42:21] Heh. Yeah. [21:42:45] I wouldn't really want to do it unless I was going to be in a position to do something about that. [21:43:09] As a rank-and-file programmer, I'd guess there's little chance of that. [21:44:59] are there not any opportunities where you are now ? [21:45:16] Not so much. [21:45:24] * rdmurray thinks pje will never *really* be a rank and file programmer. [21:45:38] rdmurray thinks correctly. :) [21:46:22] I've been a technical manager for like a decade now, technically speaking. :) [21:46:30] More than a decade, actually. [21:46:49] So, I haven't been rank-and-file in at least that long. [21:51:36] Great, the QueryList thing seems to be working now. [21:52:03] You'll probably have fewer other things break, too. [21:52:24] I've never been very good at managing anyone, which I suppose is one reason I'm now self employed. [21:52:46] or self unemployed, depending on how my luck is going. [21:53:10] How are you at managing yourself? ;) [21:53:20] I've been getting better. [21:53:46] Lots of free time to fill tends help one focus, if one doesn't completely dissapate :) [21:54:34] For the moment I'm choosing this route; getting a job like I used to have probably wouldn't be all that tough for me. [21:57:47] * pje sighs. I think I'm going to have to add a new naming.IBaseURL interface. [21:58:26] The stdlib relative URL support just won't work for all PEAK file-like URLs, unless it's hacked. [21:59:50] (I'm trying to add support for relative paths from a peak.web sitemap, when including other sitemaps or config files.) [22:55:23] Voila. 'naming.parseURL()' now accepts a 'base' URL in case you want to parse a relative URL, and the base scheme supports it. [22:55:36] * pje goes off to get some dinner... [23:01:33] Okay, dinner' [23:01:39] s made, so I'm gonna eat. [23:01:41] Laters, all.. [23:01:44] ** pje has left IRC ("Client exiting")