IRC log of dig on 2012-02-21

Timestamps are in UTC.

12:24:09 [DIGlogger]
DIGlogger (~dig-logge@groups.csail.mit.edu) has joined #dig
12:24:09 [card.freenode.net]
topic is: Decentralized Information Group @ MIT http://dig.csail.mit.edu/
12:24:09 [card.freenode.net]
Users on #dig: DIGlogger RalphS bblfish danbri melvster cheater__ kennyluck manu1 presbrey manu-db betehess sandro Yudai__ ericP_
12:35:20 [tlr]
tlr (~tlr@31-35-5.wireless.csail.mit.edu) has joined #dig
12:59:00 [scor]
scor (~scor@drupal.org/user/52142/view) has joined #dig
13:21:39 [scor]
scor has quit (Quit: scor)
13:35:20 [tlr]
tlr has quit (Quit: tlr)
13:38:42 [tlr]
tlr (~tlr@31-35-5.wireless.csail.mit.edu) has joined #dig
13:55:22 [tlr]
tlr has quit (Quit: tlr)
14:02:35 [tlr]
tlr (~tlr@31-35-5.wireless.csail.mit.edu) has joined #dig
14:29:33 [amy]
amy (~amy@30-6-207.wireless.csail.mit.edu) has joined #dig
15:04:38 [scor]
scor (~scor@drupal.org/user/52142/view) has joined #dig
15:40:08 [cheater__]
cheater__ has quit (Read error: Operation timed out)
15:41:32 [cheater__]
cheater__ (~cheater@dslb-084-057-010-106.pools.arcor-ip.net) has joined #dig
16:23:53 [rszeno]
rszeno (~rszeno@79.114.98.149) has joined #dig
16:38:21 [melvster]
anyone yet tried tabulator with firefox 10?
16:52:35 [melvster]
melvster has quit (Ping timeout: 240 seconds)
17:02:58 [presbrey]
presbrey has quit (Ping timeout: 245 seconds)
17:06:15 [presbrey]
presbrey (~presbrey@2001:4830:2446:b5:aede:48ff:fe00:2001) has joined #dig
17:07:56 [melvster]
melvster (~melvin@p5797EEB8.dip.t-dialin.net) has joined #dig
17:15:16 [Pipian_]
Pipian_ (~pipian@30-9-113.wireless.csail.mit.edu) has joined #dig
17:24:54 [rszeno]
rszeno has quit (Quit: Leaving.)
17:26:57 [ericP_]
ericP_ is now known as ericP
17:31:53 [rszeno]
rszeno (~rszeno@79.114.100.105) has joined #dig
18:35:48 [danbri]
danbri has quit (Ping timeout: 244 seconds)
18:39:22 [danbri]
danbri (~danbri@cable-146-255-156-245.dynamic.telemach.ba) has joined #dig
18:43:01 [danbri_]
danbri_ (~danbri@cable-146-255-156-245.dynamic.telemach.ba) has joined #dig
18:43:22 [danbri]
danbri has quit (Read error: Connection reset by peer)
18:53:34 [bblfish]
rszeno: I ended up implementing that rule like this https://github.com/betehess/pimp-my-rdf/blob/66dff72dc79d014f5a1fd6ef2856acaea5c6c1a9/n3/src/main/scala/Parser.scala#L168
18:53:50 [bblfish]
but I am having some issues with a null pointer exception, so it may be wrong
19:00:01 [rszeno]
what is happend if you convert a '' string to something else? a char or code point?
19:00:47 [rszeno]
bblfish ^^
19:01:15 [bblfish]
hmm? Which line?
19:01:53 [rszeno]
not in your code, i ask in general in scala
19:02:15 [rszeno]
but your code trigger the question
19:02:35 [bblfish]
well scala is well typed
19:02:40 [rszeno]
val PN_PREFIX result can be "" isn't it?
19:02:43 [bblfish]
so you can't do that without noticing it
19:03:11 [bblfish]
PN_PREFIX is a parser
19:03:34 [bblfish]
that one can run with PN_PREFIX("something")
19:03:48 [bblfish]
which will then return an answer
19:03:57 [bblfish]
and one can get the content answer.get
19:04:09 [rszeno]
PN_PREFIX("") or PN_PREFIX(":")
19:04:29 [rszeno]
try one of this
19:04:48 [danbri_]
danbri_ is now known as danbri
19:04:55 [bblfish]
you can see it being used in these tests https://github.com/betehess/pimp-my-rdf/blob/66dff72dc79d014f5a1fd6ef2856acaea5c6c1a9/n3-test-suite/src/main/scala/TurtleSpec.scala#L38
19:05:09 [bblfish]
I test it with PN_PREFIX(":")
19:05:17 [bblfish]
It's the first test that is run
19:07:15 [bblfish]
those prefixes are set here https://github.com/betehess/pimp-my-rdf/blob/66dff72dc79d014f5a1fd6ef2856acaea5c6c1a9/n3-test-suite/src/main/scala/NTriplesSpec.scala#L244
19:08:39 [rszeno]
offtopic, i don't think '.' must be escaped
19:10:02 [rszeno]
and i think '\t' and space, white spaces are not allowed in prefix + no space around ':' in qname
19:11:19 [rszeno]
re ',', that means you need to check and pass for both escaped and not escaped
19:11:34 [rszeno]
s/','/'.'/
19:13:36 [rszeno]
re well typed, imo implicit conversion could be wrong since you inherit the a type and modify it, is no guaranty this will be ok in any case
19:17:00 [bblfish]
ah but that's not defined in the spec
19:17:17 [bblfish]
that of course simplifies things somewhat
19:17:57 [bblfish]
But I can imagine that allowing people to use \\u00d? instead of . may be what they want
19:18:08 [bblfish]
no idea where this would be useful, but...
19:18:45 [rszeno]
0x0d is \r
19:18:57 [bblfish]
well I meant the .
19:19:03 [rszeno]
ok
19:19:17 [bblfish]
\\u002e
19:19:29 [bblfish]
(that was the question I had yesterday)
19:19:46 [rszeno]
doen't matter the code :)
19:19:48 [bblfish]
I suppose I should ask the group
19:20:37 [rszeno]
AndyS said that '.' is allowed in xml
19:21:02 [bblfish]
ah in prefixes?
19:21:08 [rszeno]
yes
19:21:17 [bblfish]
so that makes sense then
19:21:24 [rszeno]
the problem imo is not '.' but ':'
19:21:31 [bblfish]
here's a bit of an overview of the situation https://bitbucket.org/pchiusano/nomo/issue/5/null-pointer-exception
19:21:42 [rszeno]
og:video:graph:this ?
19:21:44 [bblfish]
well I do seem to have a problem with :
19:22:00 [Pipian_]
Pipian_ has quit (Quit: Pipian_)
19:22:03 [bblfish]
I don't think you can put : in the name, right?
19:22:10 [bblfish]
unless it is escaped with \\u
19:22:21 [rszeno]
or with \\
19:22:34 [rszeno]
probably but still a issule
19:22:39 [bblfish]
mhh
19:22:48 [bblfish]
not sure my parser does that yet
19:23:40 [bblfish]
I'll add it as a test case when I get over that null pointer exception
19:23:46 [rszeno]
people will be confused, avoiding multiple escaping, wrong implementations will ends with a mess
19:24:50 [rszeno]
my opinion is to work with old spec and when things will become clear to extend it, if you still want, :)
19:24:51 [bblfish]
yes. I suppose it will be rare that people want to take xml and move it that carefully to n3
19:25:52 [Pipian_]
Pipian_ (~pipian@31-35-47.wireless.csail.mit.edu) has joined #dig
19:26:58 [rszeno]
most of what i know is based on chats on swig and few fast views of the spec, :)
19:29:03 [bblfish]
yes, I might take your advice. Perhaps that will help get rid of that null pointer exception...
19:30:10 [rszeno]
try to add a test for "", doesn't hurt anyway
19:30:20 [bblfish]
it's there
19:30:48 [bblfish]
https://github.com/betehess/pimp-my-rdf/blob/66dff72dc79d014f5a1fd6ef2856acaea5c6c1a9/n3-test-suite/src/main/scala/NTriplesSpec.scala#L246
19:30:51 [bblfish]
in the bad prefixes
19:30:51 [rszeno]
not ":" because can act pretty different
19:31:22 [rszeno]
ah, ok i saw it now
19:35:22 [tlr]
tlr has quit (Quit: tlr)
19:39:47 [tlr]
tlr (~tlr@31-35-5.wireless.csail.mit.edu) has joined #dig
19:42:59 [rszeno]
people are different, what is good for me could be or not good for you, :) using old spec and motivation to do this is what i thing is good from my point of view, that's all, :)
20:06:48 [bblfish]
well, I am stuck. So I have to backtrack. It's just a prolog
20:11:58 [bblfish]
line 4 of the old spec is wrong I presume
20:11:58 [bblfish]
'@prefix' ws+ prefixName? ':' uriref
20:12:09 [bblfish]
it's missing ws after the :
20:23:39 [rszeno]
yes, is missing, but is obvious
20:24:23 [rszeno]
white spaces are the most ignored and messed thing in grammar descriptions, :)
20:25:52 [rszeno]
rule 6, between subject and predicateObjectList, ws+ missing too
20:26:45 [rszeno]
rule 8, around ',' probably must be something like ws* ',' ws*
20:28:53 [rszeno]
somebody had the idea of a 'whitespace policy in grammar description' few time ago, a good idea, :)
20:31:25 [github]
github (~github@sh1-ext.rs.github.com) has joined #dig
20:31:25 [github]
[rdflib.js] presbrey pushed 2 new commits to master: http://git.io/pLWARw
20:31:25 [github]
[rdflib.js/master] Makefile: add clean target - Joe Presbrey
20:31:25 [github]
[rdflib.js/master] sparqlUpdate: bugfix DAV detection - Joe Presbrey
20:31:25 [github]
github has left #dig
20:31:28 [rszeno]
anyway, this grammar is simple and re whitespaces, was few chats on swig, searching in logs could help in case nobody answer
20:31:35 [github]
github (~github@sh2.rs.github.com) has joined #dig
20:31:35 [github]
[rdflib.js] presbrey force-pushed gh-pages from 475407b to ced6562: http://git.io/rfmeFA
20:31:35 [github]
[rdflib.js/gh-pages] gh-pages: add dist - Joe Presbrey
20:31:35 [github]
github has left #dig
20:34:23 [melvster]
presbrey: oooh! sparql update changes ... exciting!
20:34:40 [presbrey]
silly bug in there
20:34:46 [presbrey]
>/>=
20:35:06 [melvster]
ubuntu just upgraded to firefox 10
20:35:16 [melvster]
was going to try and play around with tabulator
20:35:30 [melvster]
does your firefox tab work?
20:35:34 [melvster]
or are you mainly using chrome?
20:36:20 [presbrey]
tested mashup working in both
20:37:02 [melvster]
ah cool ... but are we keen on maintaining the extensions?
20:38:14 [melvster]
maybe i can ask the 5apps.com guys if they have any opinions about maintaining apps alongside extensions
20:55:46 [github]
github (~github@sh1-ext.rs.github.com) has joined #dig
20:55:46 [github]
[tabulator] presbrey pushed 3 new commits to master: http://git.io/HUpU3g
20:55:46 [github]
[tabulator/master] Makefile: add clean target - Joe Presbrey
20:55:46 [github]
[tabulator/master] js/rdf: latest - Joe Presbrey
20:55:46 [github]
[tabulator/master] internalPane: add Editable indicator - Joe Presbrey
20:55:46 [github]
github has left #dig
20:57:48 [github]
github (~github@sh2.rs.github.com) has joined #dig
20:57:49 [github]
[tabulator] presbrey pushed 1 new commit to master: http://git.io/9xQXdw
20:57:49 [github]
[tabulator/master] merge: sync timbl - Joe Presbrey
20:57:49 [github]
github has left #dig
20:58:46 [github]
github (~github@sh1-ext.rs.github.com) has joined #dig
20:58:46 [github]
[tabulator] presbrey force-pushed gh-pages from 3e45136 to 2871181: http://git.io/ho2knA
20:58:46 [github]
[tabulator/gh-pages] gh-pages: latest build - Joe Presbrey
20:58:46 [github]
github has left #dig
21:06:43 [presbrey]
melvster, you can click the gears now (internal pane) to see if tabulator thinks a document is editable
21:08:58 [tlr]
tlr has quit (Quit: tlr)
21:14:12 [melvster]
presbrey: trying in chrome it highlights a literal as green
21:14:21 [melvster]
but i cant seem to edit it, say, with <enter>
21:14:32 [presbrey]
editable?
21:18:03 [melvster]
presbrey: i cant see to edit it
21:18:34 [melvster]
oh wait
21:18:36 [melvster]
the gears
21:18:47 [melvster]
ahhhh
21:18:48 [melvster]
EditableDAV
21:18:51 [melvster]
yay!
21:19:13 [melvster]
that's cool!
21:19:36 [RalphS]
RalphS has quit ()
21:21:17 [presbrey]
tab saw the header then, how do we make it PUT?
21:26:39 [presbrey]
that should also be the output of
21:26:46 [presbrey]
tabulator.sparql.editable(window.location)
21:27:01 [presbrey]
if you are using console to debug
21:27:46 [melvster]
hmm good question
21:28:02 [melvster]
i guess you need all the triples as one of the mime types
21:28:14 [melvster]
all the triples in that doc
21:28:21 [melvster]
not necessarily the whole KB
21:28:22 [melvster]
OR
21:28:26 [melvster]
a PATCH
21:28:29 [melvster]
or
21:28:31 [melvster]
sparql update
23:07:59 [tlr]
tlr (~tlr@31-35-5.wireless.csail.mit.edu) has joined #dig
23:11:11 [scor]
scor has quit (Quit: scor)
23:36:11 [bblfish]
betehess: I think I have managed to duplicate it now. https://bitbucket.org/pchiusano/nomo/issue/5/null-pointer-exception#comment-1105065
23:45:25 [melvster]
melvster has quit (Ping timeout: 248 seconds)
23:57:43 [bblfish]
duh found the problem!
23:57:58 [bblfish]
the order of the val's was important!!!!
23:58:03 [bblfish]
ARghhhh!