00:05:09 kmacleod has quit ("Leaving") 00:06:57 kmacleod (~ken@kmacleod.static.iaxs.net) has joined #swhack 00:18:28 xena has quit ("nobody loves me") 00:20:42 Galahad (xena@mewtwo.espnow.com) has joined #swhack 00:27:08 Galahad? 00:27:26 Hmm... xena 00:27:32 Morbus has quit (Read error: 113 (No route to host)) 00:31:37 Morbus (~Morbus@s92.terminal3.totalnetnh.net) has joined #swhack 00:32:12 tansaku1a has quit () 00:34:02 Morbus has quit (Client Quit) 00:38:27 tav` (tav@host217-34-66-11.in-addr.btopenworld.com) has joined #swhack 00:49:12 tansaku1a (~sam@h133-034.tokyu-net.catv.ne.jp) has joined #swhack 00:51:23 Galahad is now known as xena 01:04:36 I love how they cut out the background from Morb's photo 01:04:43 hm, it says "kevin hemenway" 01:06:51 yeah. There was some talk about using "Morbus" 01:27:39 redmonk (~steve@ip68-2-192-160.ph.ph.cox.net) has joined #swhack 01:28:04 redmonk is now known as rm 01:28:09 ugh, even the thing we bought doesn't work with debain 01:28:37 Morbus (~Morbus@s84.terminal3.totalnetnh.net) has joined #swhack 01:29:32 wb Morbus 01:29:46 * Morbus grunts 01:29:49 just upgraded to mt 2.0 on dnn 01:31:14 how did it go? 01:31:58 welp, the upg went fine. i know of a couple of things that are broken, but its functional. its private beta, of course. 01:34:04 tansaku1a has quit (Read error: 110 (Connection timed out)) 01:40:37 woo hoo! 01:41:05 AaronSw: 10.1.3 is out. 01:41:09 whoo! 01:41:14 [[[ 01:41:15 hmmm... I kernel panicked on install and had to hard reboot (complete 01:41:15 system freeze). Everything *seems* okay, but, that's a little sketchy to 01:41:15 say the least. 01:41:15 ]]] 01:41:32 * Morbus beings to dl. 01:41:33 ;) 01:41:37 heh 01:42:03 [[[ 01:42:03 Update 10.1.3 delivers enhancements that improve the reliability of Mac OS X applications, important security features and includes new and updated support for a variety of Digital Hub peripheral devices. Specific updates include: 01:42:04 CD Disc Recording Peripherals: 01:42:05 - Expanded support for QPS, EZQuest, LaCie, Yamaha, MCE Technologies and Sony devices 01:42:06 Image Capture and iPhoto: 01:42:06 - Improved support for several digital camera models from Canon, Kodak and Sony 01:42:06 Graphics and OpenGL Improvements: 01:42:08 - DVD Playback on external VGA displays on PowerBook G4 01:42:12 - PowerBook video mirroring will be on by default when connecting to a new display 01:42:12 - Improvements for iTunes when the full screen visualizer is used 01:42:14 Networking and Security Improvements: 01:42:15 woo: WebDAV support for Digest authentication 01:42:17 - Login authentication support for LDAP and Active Directory services 01:42:18 - OpenSSH version 3.0.2p1 01:42:20 - WebDAV support for Digest authentication 01:42:23 - Mail includes support for SSL encryption 01:42:24 ]]] 01:42:33 TMI ;) 01:42:34 woo: WebDAV support for Digest authentication 01:42:36 :) 01:42:42 cool: Mail includes support for SSL encryption 01:43:11 * AaronSw tries to compile this crazy tulip driver 01:43:32 you had to mod it? 01:43:40 tulip's always worked outta the box for my card.s 01:43:41 huh? 01:43:52 yeah, apparently this is a bleeding edge card. ugh 01:44:00 um, the tulip ethernet driver? 01:44:04 yeah 01:44:06 ah 01:44:20 pff: 01:44:20 tulip.c:3249: `NETIF_MSG_RXFILTER' undeclared (first use in this function) 01:51:58 this sucks 01:58:47 Morbus has quit (Read error: 104 (Connection reset by peer)) 02:11:54 kmacleod has quit ("Leaving") 02:21:15 rm has quit ("cya") 02:29:50 tav` has quit (Read error: 104 (Connection reset by peer)) 02:29:55 tav` (tav@host217-34-66-11.in-addr.btopenworld.com) has joined #swhack 02:33:55 hm, didn't notice tav join 02:34:05 .seen tav` 4 02:34:05 tav` seen in Galahad saying: [ login 'fdRv)7튴j' ] ~ 1 hr(s) 43 min(s) 26 sec(s) ago 02:34:09 .seen tav` 5 02:34:09 tav` seen leaving #openspace [ ] ~ 1 hr(s) 44 min(s) 8 sec(s) ago 02:34:13 .seen tav` 6 02:34:13 tav` seen joining #openspace ~ 1 hr(s) 44 min(s) 15 sec(s) ago 02:34:17 hey 02:34:17 .seen tav` 7 02:34:17 tav` seen in Galahad saying: [ login 'fdRv)7튴j' ] ~ 1 hr(s) 55 min(s) 13 sec(s) ago 02:34:21 hey jeremiah 02:34:25 I'm only gonna be online for a little while 02:34:37 but I figured, as long as the window is open 02:34:41 might as well say hello 02:34:41 heh. 02:34:45 'fdRv)7튴j'? nice 02:34:49 cool password 02:34:57 indeed 02:35:12 what're you doing for the paper, jer? 02:35:25 Is it crunch time? 02:35:39 no, crunch time is in a few days 02:35:44 I'm actually writing a column again 02:35:48 this time, one girl is doing pro-cheating 02:35:51 I am doing anti-cheating 02:35:57 Hm. 02:36:00 Pro-cheating sounds more fun. 02:36:12 yeah, it probably will be 02:36:17 but they can be moderately funny 02:36:23 I know the gist of mine, but not yet how to express it in english 02:36:45 something like "cheating is only good for dumbshit exercises which don't make any sense" 02:36:53 "cheating is bad for things that build brain functions" 02:37:03 Hm. 02:37:13 I'd do something mocking, but you know me. 02:37:29 yeah 02:37:30 I think the "pro-cheating" people have it easy/hard... 02:37:31 "I mean, if students cheated, how else would teachers exert their control over every part of our lives?" 02:37:36 hmm 02:37:51 well, it was going to be about this bird called the American Woodcock 02:37:53 "As you can see no cheating is esential to keep the school dictatorship running smoothly." 02:37:57 and our trip to catch them, and about how we didn't catch them 02:38:05 but then really about relationships, and howmuch they suck 02:38:18 * sbp goes and does something useful 02:38:20 Hm. 02:38:22 ending, in of course, how hard it is for girls to get their own American Woodcock 02:39:19 Sorry, I have to laugh. 02:39:29 heh 02:39:33 yeah 02:40:04 sbp has left #swhack 02:46:42 tav` has quit (Read error: 104 (Connection reset by peer)) 03:00:20 tav` (tav@host217-34-66-11.in-addr.btopenworld.com) has joined #swhack 03:07:32 wmf (wesf@cs242733-11.austin.rr.com) has joined #swhack 03:07:36 @ http://homepage.ntlworld.com/lwernham/MacMonkey/appleoptions.png 03:07:48 A: http://homepage.ntlworld.com/lwernham/MacMonkey/appleoptions.png from wmf 03:07:58 A:|Hidden Mac OS X Options 03:07:59 titled item A 03:19:52 lol 03:20:01 Is this in 10.1.3? 03:20:22 oh, looks like 10.1.3 is done installing... 03:36:05 hmm 03:36:08 what are the new features? 03:38:27 morbus pasted them earlier 03:38:35 "Update 10.1.3 delivers enhancements that improve the reliability of Mac OS X applications, important security features and includes new and updated support for a variety of Digital Hub peripheral devices." 03:38:41 Specifics are in software update 03:38:57 hmm, yeah 03:38:59 downloading 03:41:15 http://overstated.net/archives/2002_02.asp#000028 03:45:11 http://www.foxnews.com/story/0,2933,45965,00.html 03:45:16 this weblog is REALLY entertaining 03:49:16 * jeremiah is away: not here 03:49:30 -- 03:49:30 Why is Spain a wealthy democratic nation while Arab countries rot under dictators? Spain had a dictator not so long ago. Spain got over it. 03:49:31 -- 03:49:32 ROFL 03:50:32 yeah, that was my favorite part 03:50:34 time for bed 03:56:59 Morbus (~Morbus@s94.terminal3.totalnetnh.net) has joined #swhack 04:10:03 Morbus has quit ("http://www.disobey.com/") 04:35:41 wmf has quit ("wmf has no reason") 04:45:42 ugh, feeling so depressed lately. 05:26:33 redmonk (~steve@ip68-2-192-160.ph.ph.cox.net) has joined #swhack 05:26:58 redmonk has quit (Read error: 104 (Connection reset by peer)) 05:49:28 redmonk (~steve@ip68-2-192-160.ph.ph.cox.net) has joined #swhack 05:55:10 redmonk is now known as rm 05:57:11 tansaku1a (~sam@mtl10gw.mtl.t.u-tokyo.ac.jp) has joined #swhack 06:02:37 GabeW (~gwachob@12-236-237-100.client.attbi.com) has joined #swhack 06:21:11 GabeW has quit ("Client Exiting") 06:21:55 GabeW (~Gabe@12-236-237-100.client.attbi.com) has joined #swhack 06:27:53 GabeW has quit (Read error: 104 (Connection reset by peer)) 06:31:48 GabeW (~Gabe@12-236-237-100.client.attbi.com) has joined #swhack 06:56:53 rm has quit ("cya") 07:31:56 tansaku1a has quit (carter.openprojects.net irc.openprojects.net) 07:31:56 tav` has quit (carter.openprojects.net irc.openprojects.net) 07:31:56 AaronSw has quit (carter.openprojects.net irc.openprojects.net) 07:31:56 GabeW has quit (carter.openprojects.net irc.openprojects.net) 07:31:56 jeremiah has quit (carter.openprojects.net irc.openprojects.net) 07:31:56 chumpster has quit (carter.openprojects.net irc.openprojects.net) 07:31:56 deltab has quit (carter.openprojects.net irc.openprojects.net) 07:32:01 deltab (deltab@mewtwo.espnow.com) has joined #swhack 07:32:40 GabeW (~Gabe@12-236-237-100.client.attbi.com) has joined #swhack 07:32:40 tansaku1a (~sam@mtl10gw.mtl.t.u-tokyo.ac.jp) has joined #swhack 07:32:40 tav` (tav@host217-34-66-11.in-addr.btopenworld.com) has joined #swhack 07:32:40 AaronSw (~Snak@63.149.73.20) has joined #swhack 07:32:40 jeremiah (~jeremiah@ip68-10-5-132.hr.hr.cox.net) has joined #swhack 07:44:13 chumpster (~chumpster@xcdfddb76.ip.ggn.net) has joined #swhack 07:55:25 GabeW has quit ("Client Exiting") 11:22:12 tansaku1a has quit (Read error: 110 (Connection timed out)) 12:09:00 wendy (chisholm@slip-12-64-140-234.mis.prserv.net) has joined #swhack 12:19:41 wendy has quit (Read error: 104 (Connection reset by peer)) 12:20:36 wendy (chisholm@slip-12-64-102-129.mis.prserv.net) has joined #swhack 12:22:49 ScottEvil (~freeman@194.151.168.33) has joined #swhack 12:24:54 ScottEvil has quit (Client Quit) 13:49:55 wendy has quit ("...sunny days, sweeping the clouds away...") 13:50:39 Morbus (~morbus@morbus.totalnetnh.net) has joined #swhack 14:23:29 tansaku1a (~sam@n144-001.tokyu-net.catv.ne.jp) has joined #swhack 14:27:36 Morbus has quit (Read error: 104 (Connection reset by peer)) 14:30:17 Morbus (~morbus@morbus.totalnetnh.net) has joined #swhack 14:37:09 tansaku (~sam@h131-215.tokyu-net.catv.ne.jp) has joined #swhack 14:38:29 Morbus has quit (Read error: 104 (Connection reset by peer)) 14:40:47 Morbus (~morbus@morbus.totalnetnh.net) has joined #swhack 14:40:47 Morbus has quit (Remote closed the connection) 14:51:33 tansaku1a has quit (Read error: 110 (Connection timed out)) 15:00:30 Morbus (~morbus@morbus.totalnetnh.net) has joined #swhack 15:40:20 Morbus has quit (Read error: 104 (Connection reset by peer)) 15:42:37 Morbus (~morbus@morbus.totalnetnh.net) has joined #swhack 16:35:36 BLURB:Great Quotes 16:35:41 B: Great Quotes from AaronSw 16:38:12 B::Tim Berners-Lee (via [Kragen|http://lists.canonical.org/pipermail/kragen-journal/2002-February/000496.html]): ["We are forming cells within a global brain and we are excited that we might start to think collectively. What becomes of us still hangs crucially on how we think individually."|http://www.w3.org/1998/02/Potential.html] 16:38:14 commented item B 16:42:05 tansaku has quit (Read error: 110 (Connection timed out)) 16:42:11 Ugh. SF Greens are pushing IRV. 16:42:49 morning AaronSw. 16:42:56 hi Morbus 16:49:45 hey, did you see my ora blog? 16:50:21 yeah. i like how they dropped the background on your photo ;) 16:50:43 heh heh 17:00:36 @ http://electionmethods.org/CondorcetSSD.py 17:00:44 C: http://electionmethods.org/CondorcetSSD.py from AaronSw 17:01:09 C:|Condorcet w/ Schwartz Sequential Dropping in Python 17:01:10 titled item C 17:03:19 heh, cool. 17:03:33 today it'll be: 2002 20/02 20:02 17:14:10 wow, got spam From: eisen 17:14:26 (i.e. Jonathan Eisenzopf) 17:16:05 oh, it's a worm 17:33:16 Spam: Osama Bin Laden need not apply! 17:37:21 Wow, SpamAssassin did good. only 3 false positives out of 1019 emails 17:39:26 That's 99.997055937193323% accuracy 17:39:38 two 9s and a 7 accuracy ;) 17:47:22 kmacleod (~ken@kmacleod.static.iaxs.net) has joined #swhack 17:48:36 wendy (chisholm@24-6-192.wireless.lcs.mit.edu) has joined #swhack 17:53:42 kmacleod has quit ("Leaving") 18:02:42 tansaku (~sam@h131-215.tokyu-net.catv.ne.jp) has joined #swhack 18:33:52 anyone interested in a worldwide lexicon project 18:36:26 .google coms 18:36:27 .google cosm 18:36:27 coms: http://news.cnet.com/news/0-1005-200-8360613.html 18:36:28 cosm: http://www.mithral.com/projects/cosm 18:44:22 AaronSw, you there? 18:44:25 got a question. 18:44:27 yep 18:44:33 i'm thinking of this amphetadesk channels thing. 18:44:41 initially, i was gonna make everything into a DBM file. 18:44:52 that would allow me to keep track of which items have seen, new items, and tons of other fun stuff. 18:44:55 sounds good 18:44:58 but, here's a thought, broached by someone else: 18:45:14 - keep everything in an rss 1.0 xml file, with a ampheta: namespace for the data. 18:45:24 than i wouldn't have to write any new DBM code, and it'd be easier to use in other apps as well. 18:45:52 Hm, it'd be sort of expensive to parse, but that sounds really cool. 18:45:55 so each channel would be sucked down, and then rewritten/appended to an existing rss 1.0 file, that has the same functions as the DBM file i wsa intending. 18:46:09 yeah, that'd be awesome if it worked 18:46:20 yeah, that's my one main thing too, but parsing the 1 meg channelsList file from Ampheta only takes about a second and a half using XML::Parser. 18:46:20 i guess you're already parse rdf now, so it can't be any more expensive 18:46:26 nice 18:46:45 I'm convincing this guy to do P2PQ-over-IM 18:47:35 yeah? kickass. 18:47:37 how is that going? 18:47:50 i dunno, just got an email from him. rael pointed him at me. 18:48:10 He wants to do dictionary lookups using people, but i think it should be easy to expand to any sorta question. 18:48:21 instead of saying you speak french, just say you speak networkese ;) 18:48:43 heh :) ... 18:48:58 well, hey, if it gets good, cc me or something ;) ... i'm really interested in the idea. 18:49:18 k, i'll cc you. 18:49:22 my main worry with the XML file thingy is filesizing. if each one becomes a meg, then that'd be a 200 meg installation on my box. i'd probably gzip in the interim. 18:49:24 err, i'll give him your email 18:49:34 he should have my email already. we've talked previously. 18:49:49 oh? brian mcconnell? 18:49:51 but, over time, yeah, there would be a huge slowdown. 18:50:06 i wonder if I should store "seen" items in a channelname-seen.xml file. 18:50:10 Hm. 18:50:18 so they'd only be examined on searching, etc. 18:51:25 my aggregatorData.root is 13MB 18:51:39 how many channels do you read? 18:51:48 like 10-15 or so 18:51:49 i don't think that's a plain text file though, is it? 18:52:02 ah, yeah, i have about 90 channels in mine, and tara has about 200. 18:52:11 so, that'd be a huge matching .root file. 18:52:27 no, it's binary 18:52:47 storing it gzipped is good 18:52:48 * Morbus nods. 18:52:59 I bet if I did a DBM file, it'd be a lot smaller, and probably faster access to. 18:53:19 but just more code to access, and shuts down easy modification from other people. 18:54:05 my main annoyance is i'm not exactly sure how to store stuff smartly in a DBM file. DB_File only stores one level of a hash without additional moduels. 18:54:13 yeah 18:54:19 DBMs just do key->value 18:54:22 right. 18:54:29 there's a MLDBM for Perl that supposedly does more. 18:54:40 but the code for it is kludgely - no direct access, etc. 18:54:43 it must just convert it down 18:55:02 i'd have to do crap like item-#timestampID#-title 18:55:06 * AaronSw gets an email: 18:55:11 item-#timestamp#-description 18:55:13 and so forth. 18:55:31 OooH 18:55:51 maybe this guy should send a nasty email to rael to get his arse moving ;) 18:55:52 ick 18:55:56 heh 19:02:40 AaronSw: you think i should pursue the large XML file option? 19:02:49 yeah 19:02:51 and if so, when the time comes, wanna help me design the ampheta: namespace? 19:03:02 of course 19:03:09 cool. 19:45:03 ooh. tara just mentioned ampheta again in her lastest researchbuzz-extra. 19:45:38 [[[ 19:45:38 Now I know you remember me raving about this one. 19:45:39 AmphetaDesk is a program that allows you to gather and 19:45:39 read RSS files on one large HTML page. I use this 19:45:39 program almost every day; it helps me tremendously in 19:45:39 keeping up with all the great Web sites out there. It's 19:45:40 still in pre-release but I've been using it for over 19:45:42 six months and find it very stable. It's free. 19:45:44 ]]] 19:48:35 Savek (~savek@217-126-117-105.uc.nombres.ttd.es) has joined #swhack 19:50:29 rillian (~giles@mist.thaumas.net) has joined #swhack 19:59:56 Morbus has quit ("http://www.disobey.com/") 20:00:22 Morbus (~morbus@morbus.totalnetnh.net) has joined #swhack 20:25:08 yessss! 20:25:10 sbp, you around?!! 20:25:17 my bio is changed: http://www.oreillynet.com/pub/a/mac/2002/01/29/apache_macosx_four.html?page=2 20:25:25 the little mini one. cool :) 20:37:04 Savek has quit () 21:27:27 jeremiah has quit (Remote closed the connection) 21:32:51 hmm. fink selfupdate always hangs at the tar step 21:34:05 Hm, I use the CVS update version 21:34:39 how do you switch to that? 21:34:48 bijan (bparsia@login8.isis.unc.edu) has joined #swhack 21:35:00 hey bijan! 21:35:03 hey aaron. 21:35:05 Seen sbp? 21:35:08 yeah 21:35:11 he's right there 21:35:19 Or interested in answering my n3/cwm questions? 21:35:24 rillian, i think it asks when you run fink selfupdate 21:35:27 I can try. 21:35:41 AaronSw: it did once. I said 'no' and it never asked again 21:35:53 * bijan has CWMClone working, sorta. 21:36:31 fink configure, perhaps? 21:36:35 CWMClone: cooL! 21:36:42 sbp has been doing some cwm-like stuff with eep 21:36:45 Yep. 21:36:45 ah it's in the config file, but configure doesn't prompt for it. wierd 21:36:50 We were chatting about 'em. 21:36:53 Cool 21:37:02 Alas, my N3 parser is still a touch weak. 21:37:25 Non explicit uri namespaces, prefixless qnames, etc. 21:37:30 I don't handle 'em well. 21:37:35 Hm. 21:38:12 So, that'll have to be fixed before anyone uses it :) 21:38:29 heh. what's it written in, prolog? 21:38:42 Yes. 21:38:47 Rather, before anyone wants to use it. 21:39:02 Having an n3 repl is sorta fun. 21:39:04 wow. didn't know anyone was still using prolog 21:39:11 if there a free interpreter? 21:39:19 Most prologs are compilers. 21:39:22 And many are free. 21:39:26 I'm using SWI-Prolog. 21:39:32 See my articles on XML.com 21:43:06 Scoping universal vars is troublesome too. 21:45:29 Ok, passed the ancestor test. 21:45:36 For some lose value of "passed" 21:45:46 heh. 21:45:56 Well, not everythign is automated. 21:46:01 Very cool. We could have a CWM-clone bakeoff. 21:46:03 Rule compilation, for example. 21:46:12 Hm. 21:46:13 So, it generates some new rules. 21:46:23 And I have to hit compile_rules manually :) 21:46:39 Hmm. There's a simple fix. 21:47:19 I'm also a bit hardcoded to the toplevel context for rules. 21:47:36 AaronSw: I'm a bit confused why they don't make binaries from the cvs tree available 21:47:46 I guess we pray they don't update X very often? 21:47:54 Hm? 21:48:05 Oh, why you have to compile everything 21:48:09 aye 21:48:23 Yeah, 'tis sort of annoying. 21:48:48 GabeW (~gwachob@adsl-216-101-18-99.dsl.snfc21.pacbell.net) has joined #swhack 21:48:49 I'd forgotten all about the binaries. 21:48:59 There's http://fink.sourceforge.net/bindist/ 21:49:07 Oh, why you have to compile everything"? 21:49:16 bijan: talking to me 21:49:22 Ah! 21:49:23 :) 21:49:27 Heh. 21:54:05 Ah, this worked. 21:54:19 need to be smarter about recompiling rules or it'll slow stuff way down. 21:54:23 Hmm. Maybe not that much. 22:00:59 So aaron, any interesting n3 logic tests? 22:01:09 Not that I can think of... 22:01:26 I guess it's all about slogging now :( 22:02:12 I know Sean used the ancestor stuff. 22:02:19 Then he had a field day with the built-ins. 22:02:39 Built-ins, ugh. 22:02:49 And I'm not using python as the underlying langauge :( 22:03:06 Yeah. 22:03:18 Yes, he mentioned lists. 22:13:28 AaronSw: is rael on any IMs right now? 22:13:38 he's usually on aim 22:14:47 is he on now? i don't know his aim. 22:14:51 i wanna ask him a quick q. 22:15:12 don't have AIM open... 22:15:35 hrm. ok. 22:26:19 hmm. looking at the source, it does load into memory, it looks like. 22:49:08 Morbus has quit ("http://www.disobey.com/") 22:50:28 * deus_x tries to wrap his head around Tinderbox 23:11:32 sbp (~sean@63.149.73.20) has joined #swhack 23:11:53 * sbp decides that staying away from #swhack is not all that viable 23:12:11 Hey sean. 23:12:20 bijan! 23:12:48 wow... welcome :-) 23:13:11 * sbp reviews the logs 23:13:29 How's the CWMClone coming 23:13:48 I was looking for you :) 23:14:04 BTW "#(.+?)" is a comment in this channel - it doesn't get logged 23:14:28 everything else is archived instantly to the Web at http://blogspace.com/swhack/chatlogs/ 23:15:14 * sbp just returned from watching Frasier - they showed the beach house party one 23:15:36 ah, with the bedrooms 23:15:50 no, that's the ski-resort one 23:15:57 oh 23:16:00 this is the one where Niles is trying to get the Golden Apron 23:16:08 and they find the seal on the beach... 23:16:22 the ski-resort one was on recently too; that's an excellent episode 23:17:18 I got a modifed daml:TransitiveProperty thing working. 23:17:54 sbp has changed the topic to: "If it moves, check it. If it's stationary, paint it" - Dagenham Motto 23:18:05 what was the rule? 23:19:58 [OLM] 23:20:25 from the logs it seems that you are having some N3 parsing problems? 23:21:14 I am? 23:21:22 Well, old ones :) 23:22:38 prefixless QNames? I guess you just mean empty prefixes: :x right? 23:22:56 the old non-colonized version was removed ages ago 23:23:03 [last August, from notation3.py] 23:23:23 Yes. 23:23:48 rdf_db.pl uses a binary operator : to do qnames. 23:24:00 Quite naturally it expects somethign up front :) 23:25:39 I just RegExp the tokens out. It's easier:- 23:25:39 Name = r'[A-Za-z0-9_]+' 23:25:40 QName = r'(?:[A-Za-z][A-Za-z0-9_]*)?:' + Name 23:26:08 Sure. 23:26:21 I'm currently passing qnames to rdf_db.pl to handle. 23:26:34 As it expect RDFy names, it fails on these cases :) 23:26:51 how does it get the QNames from the stream? iterate through the characters matching tokens as you go? 23:26:53 So, I'll have to write my own expander. 23:27:11 qnames get tokenized as a symbol. 23:27:19 q:name == 'q:name' 23:27:50 Then they get passed to rdf_assert 23:27:54 Which does the expansions. 23:28:05 * sbp can't make head nor tail of the prolog yet... needs to make more use of the various prolog tutorials 23:28:32 rillian has quit ("linux") 23:28:52 Hmm. I may be wrong... 23:29:36 Hehe. 23:29:41 ah, you seem to put it into modes depending upon the first character of the token 23:29:49 basically. 23:30:05 but I, in fact, seem to break the qname apart in the tokenization. 23:30:11 Then stitch it back together ;) 23:30:24 erk 23:30:26 expand_qname(Qname, Name) :- 23:30:26 atom_concat(Pre, Possible_name, Qname), 23:30:26 atom_concat(Prefix,':', Pre), 23:30:26 expand_qname(Prefix, Possible_name, Name). 23:30:43 That's the preliminary support. 23:30:55 expand_qname('',Name, default_:Name). 23:30:56 expand_qname(Prefix, Name, Prefix:Name). 23:31:04 can you print out an example toke stream at all? 23:31:15 Sure. 23:31:21 n3_repl prints them out. 23:31:27 oh, good point 23:31:32 n32_repl will tokenize without entering. 23:31:35 * sbp loads it 23:32:49 erk:- 23:32:49 n3:- x: y: z: . 23:32:49 done read: [x:, y:, z:, .] 23:33:02 Right. 23:33:06 So I keep them together. 23:33:10 Then tear them apart. 23:33:14 Then put them back together :) 23:33:48 * sbp tries running his mega feckoid N3 test case through it 23:33:53 can it handle triple quotes yet? 23:33:58 Hmm. 23:34:01 Dunno. 23:34:03 Good question. 23:34:10 I'll soon find out 23:34:10 Prolly nt. 23:34:13 test case:- 23:34:13 @prefix : . :x :y :z . 23:34:13 "a" _:b _:c . """blargh""" 23:34:14 _:x """ 23:34:14 @prefix "c\\"""" . 23:34:31 ooh, it didn't like that 23:34:48 Yes, I don't have triple quote support yet. 23:35:11 oooh, i can't remember if I have literals in subject places. 23:35:17 I think I added that. 23:35:35 Y'know, n3 *really screws over* a RDF system :) 23:35:37 nope:- 23:35:37 n3:- "x" "y" "z" . 23:35:38 done read: [literal(x), literal(y), literal(z), .] 23:35:38 ERROR: atom_concat/3: Type error: `atomic' expected, found `literal(x)' 23:35:46 heh, indeed 23:36:22 I thought, 'N3! A superset of RDF. An *extension* of RDF! I'll just use the rdf engine!" 23:36:25 I think Eep allows literals for predicates, which isn't all that good... but then, it doesn't have a Store class. I should write one, but I don't need it 23:36:43 it's hard to avoid the extensions, isn't it? :-) 23:39:05 Well, most test code use them :) 23:39:08 uses them. 23:40:32 Hmm. I wish there was some nice, very simple, inference intesive tests. 23:40:46 Be nice to see if this is actually worth pursuing for performance reasons. 23:42:42 yeah 23:42:54 the regression test for CWM might be worth checking out 23:43:00 ugh. 23:43:08 But that'll have all sorts of nasties in it, yes? 23:43:17 unfortunately, yes 23:43:28 you'll have to just use the "ordinary" test cases 23:43:42 So, it becomes a toss up between implementing features, or rewriting test cases :) 23:44:18 well, it's a fun toss-up, at least 23:44:21 brb 23:44:25 wendy has quit ("...sunny days, sweeping the clouds away...") 23:46:37 * sbp returns 23:49:19 warning, big paste coming up 23:49:27 >>> import eep, query, infer, n3, bi 23:49:27 >>> kb = n3.parse(""" 23:49:27 @prefix : <#> . 23:49:27 @prefix u: . 23:49:27 u:John :sonOf u:Bob . 23:49:33 u:Bob :sonOf u:Fred . 23:49:34 u:Fred :sonOf u:Frank . 23:49:34 u:Frank :sonOf :Jim . 23:49:34 """) 23:49:38 >>> rule = [n3.parse("""@prefix : <#> . 23:49:39 @prefix log: . 23:49:46 @prefix string: . 23:49:46 ?p :sonOf ?q . ?q :sonOf ?r . ?r log:uri ?s . 23:49:46 ?s string:startsWith "http://example.org/#" ."""), # log:implies 23:49:52 n3.parse("?p <#grandsonOf> ?r .")] 23:49:52 >>> bi.bfilter(rule, kb) 23:49:56 [[[, <#grandsonOf>, ]], [[, <#grandsonOf>, ]]] 23:49:57 >>> 23:50:08 now *that's* what I call a test case 23:50:25 Why? 23:50:30 why the hybrid output format? 23:50:42 the builtins were quite annoying to implement... 23:50:50 hybrid output format? 23:51:00 Hm.m I can't read that at all. 23:51:07 And now it's scrolled away. 23:51:18 it's in http://blogspace.com/swhack/chatlogs/2002-02-20.txt 23:51:44 No no, that's alright. 23:51:45 not usual python, not n3 23:52:22 ah, well it's actually a list of Articles. The __repr__ is set to print terms like that for easy debugging 23:52:25 I could have done:- 23:52:25 >>> for result in bi.bfilter(rule, kb): print eep.serialize(result) 23:52:25 <#grandsonOf> . 23:52:25 <#grandsonOf> . 23:52:26 >>> 23:53:31 trouble is, all of the best built-ins use lists... 23:53:41 e.g. string:scrape. I'd love to get string:scrape working 23:54:12 Hmm... I think I implemented log:content already 23:54:19 Hmm. I'd love to get a series of graduated tests cases :) 23:57:19 kick-ass:- 23:57:21 >>> kb = eep.parse(' <#a> <#Target> .') 23:57:21 >>> rule = [n3.parse("""@prefix : <#> . 23:57:21 @prefix log: . 23:57:25 ?p <#a> <#Target> . ?p log:content ?q ."""), n3.parse("?p <#derefsAs> ?q .")] 23:57:26 >>> bi.bfilter(rule, kb) 23:57:26 [[[, <#derefsAs>, " "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 23:57:27 [...] 23:57:39 Ok, I'm off. 23:57:43 bijan has quit ("Leaving") 23:58:29 well, it is midnight...