IRC log of dig on 2008-11-15
Timestamps are in UTC.
- 00:48:29 [tkang]
 - tkang (n=n3sstxi@c-66-30-117-136.hsd1.ma.comcast.net) has joined #dig
 
- 00:50:25 [tkang]
 - tkang has quit (Client Quit)
 
- 00:55:11 [timbl]
 - timbl (n=timbl@pool-96-233-120-166.bstnma.fios.verizon.net) has joined #dig
 
- 00:55:15 [timbl]
 - timbl has quit (Remote closed the connection)
 
- 00:55:57 [timbl]
 - timbl (n=timbl@pool-96-233-120-166.bstnma.fios.verizon.net) has joined #dig
 
- 01:08:40 [timbl]
 - hmmm
 
- 01:08:43 [timbl]
 - Get Error: uncaught exception: [Exception... "Cannot modify properties of a WrappedNative"  nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)"  location: "JS frame :: chrome://global/content/bindings/autocomplete.xml :: onxblpopuphiding :: line 836"  data: no]
 
- 01:09:00 [timbl]
 - After that tabulator is no longer defined, everything falls apart
 
- 01:22:03 [harveyj]
 - harveyj has quit ()
 
- 01:43:33 [harveyj]
 - harveyj (n=harveyj@adsl-76-199-198-202.dsl.pltn13.sbcglobal.net) has joined #dig
 
- 03:00:06 [jsowell]
 - jsowell has quit ()
 
- 03:01:23 [jsowell]
 - jsowell (n=jsowell@c-66-30-8-98.hsd1.ma.comcast.net) has joined #dig
 
- 03:09:39 [jsowell]
 - jsowell has quit ()
 
- 03:16:11 [jsowell]
 - jsowell (n=jsowell@c-66-30-8-98.hsd1.ma.comcast.net) has joined #dig
 
- 03:20:06 [kennyluck]
 - kennyluck has left #dig
 
- 03:23:05 [jsowell]
 - jsowell has quit ()
 
- 04:35:50 [oshani]
 - oshani (n=oshani@30-7-14.wireless.csail.mit.edu) has joined #dig
 
- 04:56:59 [kennyluck]
 - kennyluck (n=kennyluc@30-6-187.wireless.csail.mit.edu) has joined #dig
 
- 05:45:51 [kennyluck]
 - kennyluck has quit ()
 
- 08:25:55 [oshani]
 - oshani has quit ()
 
- 13:33:43 [jsowell]
 - jsowell (n=jsowell@c-66-30-8-98.hsd1.ma.comcast.net) has joined #dig
 
- 13:39:59 [oshani]
 - oshani (n=oshani@30-7-14.wireless.csail.mit.edu) has joined #dig
 
- 14:53:45 [jsowell]
 - jsowell has quit ()
 
- 14:58:25 [timbl]
 - Error: type is null
 
- 14:58:25 [timbl]
 - Source File: chrome://tabulator/content/js/tableViewPane.js
 
- 14:58:26 [timbl]
 - Line: 270
 
- 16:35:26 [lkagal]
 - lkagal (n=lkagal@219.68.171.66.subscriber.vzavenue.net) has joined #dig
 
- 16:53:46 [timbl]
 - Funny how something will work unjtil you check it in ...
 
- 17:41:31 [lkagal]
 - lkagal has quit ()
 
- 17:46:07 [lkagal]
 - lkagal (n=lkagal@219.68.171.66.subscriber.vzavenue.net) has joined #dig
 
- 17:47:29 [lkagal]
 - lkagal has quit (Client Quit)
 
- 17:48:22 [lkagal]
 - lkagal (n=lkagal@219.68.171.66.subscriber.vzavenue.net) has joined #dig
 
- 17:49:02 [lkagal]
 - lkagal has quit (Client Quit)
 
- 17:51:48 [lkagal]
 - lkagal (n=lkagal@219.68.171.66.subscriber.vzavenue.net) has joined #dig
 
- 17:53:17 [lkagal]
 - lkagal has quit (Client Quit)
 
- 18:00:37 [danbri]
 - danbri (n=danbri@ip565f6edb.direct-adsl.nl) has joined #dig
 
- 18:19:25 [danbri]
 - hello dig people
 
- 18:19:39 [danbri]
 - i'm trying to find a way to make tabulator be seen from Mozilla Ubiquity - http://groups.google.com/group/ubiquity-firefox/browse_thread/thread/c0e70b7cc1da04a7?hl=en 
 
- 18:19:51 [danbri]
 - have you looked at exposing xp-com apis? or maybe you do already and i'm missing something
 
- 19:39:28 [kennyluck]
 - kennyluck (n=kennyluc@30-6-187.wireless.csail.mit.edu) has joined #dig
 
- 19:42:02 [danbri]
 - ok i think i'm set up to make xpcom apis now:
 
- 19:42:05 [danbri]
 - Airbag:components danbri$ xpidl -m typelib -w -v -I   ~/working/moz/xulrunner-sdk/idl -e HelloWorld.xpt HelloWorld.idl
 
- 19:42:26 [danbri]
 - so problem for next week: what might Tabulator's API be, such that Ubiquity could ask it sensible questions?
 
- 19:45:59 [kennyluck]
 - danbri, we mean we should link those RDF interfaces defined in Firefox to the tabulator knoledge base?
 
- 19:46:03 [kennyluck]
 - you mean.
 
- 19:46:46 [kennyluck]
 - I noticed they made some RDF interfaces, not that clean as tabulator I think.
 
- 19:47:38 [danbri]
 - hi there. you missed my earlier comment, i'll repaste:
 
- 19:47:45 [kennyluck]
 - But it would be interesting to let them use the tabulator knowledge base to build the user interface.
 
- 19:47:48 [danbri]
 - danbri: hello dig people
 
- 19:47:48 [danbri]
 - [19:19] danbri: i'm trying to find a way to make tabulator be seen from Mozilla Ubiquity - http://groups.google.com/group/ubiquity-firefox/browse_thread/thread/c0e70b7cc1da04a7?hl=en
 
- 19:47:48 [danbri]
 - [19:19] danbri: have you looked at exposing xp-com apis? or maybe you do already and i'm missing something
 
- 19:47:49 [danbri]
 - [20:39] kennyluck joined the chat room.
 
- 19:48:08 [danbri]
 - i don't think Ubiquity has any rdf stuff, beyond what's needed to be a moz extension
 
- 19:48:14 [danbri]
 - i have to run now
 
- 19:48:24 [danbri]
 - but yes, exactly: Ubiquity UI over tabulator data
 
- 19:49:28 [kennyluck]
 - If my memory is correct the history is built from some RDF data. I am not so sure.
 
- 19:50:30 [kennyluck]
 - They don't use RDF that such, though. They even invented rdf: scheme.
 
- 19:51:36 [kennyluck]
 - I meant they don't use URI that much.
 
- 19:51:36 [danbri]
 - moz used to be very rdf, but it wasn't a success. see old stuff at http://www.mozilla.org/rdf/doc/
 
- 19:51:46 [danbri]
 - rdf has a bad name in mozilla circles now, i fear
 
- 19:51:52 [danbri]
 - ok gotta run! bye for now
 
- 19:51:55 [kennyluck]
 - bye
 
- 20:07:40 [kennyluck]
 - danbri, hope you can get this message.
 
- 20:07:57 [kennyluck]
 - We don't understand what you mean by Ubiquity.
 
- 20:08:27 [kennyluck]
 - Do you just want a command line interface to look into what the tabulator knowledge base contains?
 
- 20:08:52 [kennyluck]
 - If that is the case, I would recommend Extension Developer's Extension.
 
- 20:11:35 [kennyluck]
 - It's a JavaScript Shell with privilege an extension is supposed to have.  
 
- 20:14:04 [kennyluck]
 - (I guess this is what you call "chrome privilege")
 
- 20:16:30 [kennyluck]
 - So...the tabulator is registered as a component in order for memory sharing across tabs. Is this what you want to know? I wonder.
 
- 20:45:11 [osmo]
 - osmo (i=osmo@213.219.162.207.adsl.dyn.edpnet.net) has joined #dig
 
- 20:45:16 [osmo]
 - osmo has left #dig
 
- 23:31:30 [danbri]
 - kennyluck, Ubiquity is a cli built into moz via extension, see http://labs.mozilla.com/2008/08/introducing-ubiquity/
 
- 23:36:05 [timbl]
 - I never  figured out what is supposed to be so good about Ubiquity.
 
- 23:36:17 [timbl]
 - If you want to access tabulator, there is a Componet.
 
- 23:36:30 [timbl]
 - Componetnt, danbri
 
- 23:37:19 [danbri]
 - timbl, it's a kind of hybrid commandline / web brower addon
 
- 23:37:50 [danbri]
 - the charm is that community-provided extensions can supply verbs and nouns that autocomplete and mix in the same environment
 
- 23:38:09 [danbri]
 - i got a reply in the moz mail thread
 
- 23:38:14 [danbri]
 - seems we don't even need xpcom
 
- 23:38:37 [danbri]
 - [[
 
- 23:38:38 [danbri]
 - Using a custom XPCOM component is one way of achieving this, although
 
- 23:38:38 [danbri]
 - its not the only way. Assuming the other extension overlays onto
 
- 23:38:38 [danbri]
 - browser.xul, once you access the window object, you can access any
 
- 23:38:38 [danbri]
 - functions/objects that the other extension defines.
 
- 23:38:39 [danbri]
 - The following snippet will give you the main browser window object:
 
- 23:38:40 [danbri]
 -    var chromeWindow =
 
- 23:38:42 [danbri]
 -    Components.classes["@mozilla.org/appshell/window-mediator;1"]
 
- 23:38:44 [danbri]
 -      .getService(Components.interfaces.nsIWindowMediator)
 
- 23:38:46 [danbri]
 -      .getMostRecentWindow("navigator:browser");
 
- 23:38:48 [danbri]
 - Then, assuming the other extension has an object named TabularData, and
 
- 23:38:50 [danbri]
 - assuming its overlayed onto browser.xul, you can access it via:
 
- 23:38:52 [danbri]
 -    chromeWindow.TabularData 
 
- 23:38:54 [danbri]
 - ]]
 
- 23:39:09 [danbri]
 - does tabulator overlay on browser.xul?
 
- 23:39:24 [danbri]
 - what js path will get me its dataset(s)?
 
- 23:40:31 [timbl]
 - well, try chromeWindow.tabulator then
 
- 23:42:29 [danbri]
 - ok i'll give that a whirl... (possibly tommorrow)
 
- 23:42:30 [danbri]
 - thanks!
 
- 23:42:58 [timbl]
 - tabulator.kb for example is the main knowlege base, (formula)
 
- 23:43:55 [timbl]
 - so   tabulator.kb.each(undefined,  tabulator.ns.rdf('type'), tabulator.ns.foaf('Person')) should get you a list of people
 
- 23:44:39 [danbri]
 - nice
 
- 23:56:44 [danbri]
 - I got an NS_ERROR_UNEXPECTED
 
- 23:56:48 [danbri]
 - which I expected ;)