IRC log of dig on 2012-06-27

Timestamps are in UTC.

02:46:51 [scor]
scor has quit (Quit: scor)
03:20:08 [dsheets]
dsheets has quit (Ping timeout: 240 seconds)
04:00:14 [timbl]
timbl (~timbl@214.218.static-adsl.customer.ch.easynet.net) has joined #dig
06:00:27 [trueg_away]
trueg_away is now known as trueg
06:19:37 [trueg]
trueg is now known as trueg_away
07:10:37 [trueg_away]
trueg_away is now known as trueg
07:10:57 [un_jon]
un_jon (~textual@AAubervilliers-651-1-266-151.w86-212.abo.wanadoo.fr) has joined #dig
08:41:33 [danbri]
danbri has quit (Ping timeout: 244 seconds)
08:47:56 [cheater__]
cheater__ has quit (Ping timeout: 246 seconds)
09:01:35 [cheater__]
cheater__ (~cheater@g230224184.adsl.alicedsl.de) has joined #dig
09:08:35 [danbri]
danbri (~danbri@cable-146-255-150-74.dynamic.telemach.ba) has joined #dig
09:28:17 [rszeno]
rszeno (~rszeno@79.114.83.26) has joined #dig
10:06:25 [melvster]
melvster (~melvin@p5797FD6F.dip.t-dialin.net) has joined #dig
10:09:37 [trueg]
trueg is now known as trueg_away
10:11:06 [cheater__]
cheater__ has quit (Read error: Connection reset by peer)
10:27:15 [cheater__]
cheater__ (~cheater@g230226229.adsl.alicedsl.de) has joined #dig
10:54:18 [un_jon]
un_jon has quit (Read error: Connection reset by peer)
11:12:25 [scor_]
scor_ (~scor@c-98-216-97-72.hsd1.ma.comcast.net) has joined #dig
11:12:26 [scor_]
scor_ has quit (Changing host)
11:12:26 [scor_]
scor_ (~scor@drupal.org/user/52142/view) has joined #dig
11:13:07 [Pipian]
Pipian (~pipian@static-mum-59.181.115.17.mtnl.net.in) has joined #dig
11:22:36 [scor_]
scor_ has quit (Quit: scor_)
11:30:03 [Ralph]
Ralph (Ralph@30-7-118.wireless.csail.mit.edu) has joined #dig
11:36:42 [trueg_away]
trueg_away is now known as trueg
11:38:44 [cheater__]
cheater__ has quit (Ping timeout: 246 seconds)
11:57:03 [un_jon]
un_jon (~textual@AAubervilliers-651-1-266-151.w86-212.abo.wanadoo.fr) has joined #dig
12:07:13 [un_jon]
betehess ping !
12:33:43 [Pipian]
Pipian has quit (Ping timeout: 264 seconds)
12:35:39 [Pipian]
Pipian (~pipian@static-mum-59.181.115.17.mtnl.net.in) has joined #dig
12:39:22 [scor_]
scor_ (~scor@c-98-216-97-72.hsd1.ma.comcast.net) has joined #dig
12:39:23 [scor_]
scor_ has quit (Changing host)
12:39:23 [scor_]
scor_ (~scor@drupal.org/user/52142/view) has joined #dig
12:49:08 [scor_]
scor_ has quit (Quit: scor_)
13:03:04 [betehess]
hey un_jon
13:03:12 [un_jon]
betehess Hi !
13:03:22 [un_jon]
betehess Do you have 5s ?
13:03:35 [un_jon]
betehess :)
13:03:43 [betehess]
can I help?
13:04:37 [un_jon]
betehess sure, I am surprised that addToNamedGraph and appendToNamedGraph perform exactly the same side effect on the JenaStore
13:05:04 [betehess]
yes
13:05:12 [betehess]
shouldn't
13:05:24 [betehess]
one should add, the other should append :-)
13:05:36 [betehess]
is that right, it's the same implementation right now?
13:05:40 [betehess]
that is a mistake
13:05:52 [un_jon]
Not really
13:07:21 [bblfish]
can one do an append on a set?
13:07:57 [betehess]
not on a Set, but on a store
13:08:04 [betehess]
there is no append for graphs here
13:08:06 [betehess]
https://github.com/w3c/banana-rdf/blob/master/jena/src/main/scala/jena/JenaStore.scala#L60
13:08:18 [betehess]
the implementation is ok at least for JenaStore
13:08:30 [bblfish_]
bblfish_ (~bblfish@AAubervilliers-651-1-251-12.w86-212.abo.wanadoo.fr) has joined #dig
13:08:43 [betehess]
if there is no test (can't remember) then I made a mistake
13:08:46 [un_jon_]
un_jon_ (~textual@AAubervilliers-651-1-251-12.w86-212.abo.wanadoo.fr) has joined #dig
13:08:53 [bblfish_]
DIGlogger: pointer?
13:08:53 [bblfish_]
See http://dig.csail.mit.edu/irc/dig/2012-06-27#T13-08-53
13:09:41 [un_jon_]
=> My exact question is : if the graph already exist, addNamedGraph should drop the existing graph or not ?
13:09:52 [betehess]
it should, yes
13:10:04 [betehess]
wiping out all the existing triples
13:10:08 [un_jon]
un_jon has quit (Ping timeout: 240 seconds)
13:10:08 [un_jon_]
un_jon_ is now known as un_jon
13:10:11 [un_jon]
So, there is a problem at least with Jena TDB
13:10:27 [betehess]
that's not what their implementation does?
13:10:47 [betehess]
I remember that there used to be an explicit removeGraph there
13:10:56 [un_jon]
(and we could use the current implementation of addNamedGraph can be used for append … it's more efficient)
13:10:58 [betehess]
but I thinkg the doc says it does it already
13:11:11 [un_jon]
I don't know
13:11:32 [betehess]
it shouldn't be that much faster: it's still in the same transaction
13:11:46 [un_jon]
I can write tests explicitly for that and see if there is something wrong.
13:11:49 [betehess]
but maybe...
13:11:59 [betehess]
would be a good idea :-)
13:12:05 [un_jon]
ok !
13:12:15 [bblfish]
bblfish has quit (Ping timeout: 260 seconds)
13:12:35 [betehess]
https://github.com/w3c/banana-rdf/blob/master/rdf-test-suite/src/main/scala/AsyncGraphStoreTest.scala
13:13:19 [betehess]
and https://github.com/w3c/banana-rdf/blob/master/rdf-test-suite/src/main/scala/GraphStoreTest.scala
13:13:57 [betehess]
there is no test that checks that the previous triples were removed
13:15:12 [betehess]
also, one motivated person would write a Scalatest Matcher for isIsomorphicWith ;-)
13:15:26 [betehess]
I always meant to
13:30:14 [un_jon]
ok, I will take a look at it !
13:35:04 [betehess]
we should plan a call to see what are the next steps
13:35:14 [betehess]
this week-end?
13:37:04 [bblfish_]
bblfish_ has quit (Remote host closed the connection)
13:38:03 [scor_]
scor_ (~scor@132.183.242.105) has joined #dig
13:38:04 [scor_]
scor_ has quit (Changing host)
13:38:04 [scor_]
scor_ (~scor@drupal.org/user/52142/view) has joined #dig
13:43:17 [un_jon]
betehess on Sunday ?
13:44:47 [betehess]
should be fine if early enough for me, like 8am (2pm for you)
13:44:58 [betehess]
while the wife is still sleeping :-)
13:47:54 [un_jon]
ok !
13:48:48 [un_jon]
For the bug with addNamedGraph, it's only with Jena TDB.
13:48:52 [bblfish]
bblfish (~bblfish@AAubervilliers-651-1-251-12.w86-212.abo.wanadoo.fr) has joined #dig
13:48:55 [betehess]
weird
13:49:44 [un_jon]
https://github.com/un-jon/banana-rdf/commit/7c2cb01f3149bd658f199c186b3150f3ed36a33d
13:50:32 [un_jon]
and https://gist.github.com/3004182
13:56:27 [betehess]
ok
13:56:31 [betehess]
that should be easy to fix
13:57:05 [betehess]
I wonder if the doc says something about that
13:57:25 [un_jon]
It says it should remove existing data
13:57:53 [un_jon]
:/
13:58:30 [betehess]
yeah, not very precise
13:58:51 [betehess]
"Replaces any existing data for the named graph"
13:59:08 [betehess]
does not say "remove all existing data"
14:00:21 [betehess]
probably worth asking on #jena
14:00:39 [betehess]
in the meantime, we can just remove the namedgraph
14:09:26 [betehess]
un_jon, would you cry if I tell you that I may need HList from https://github.com/milessabin/shapeless ?
14:11:26 [betehess]
it's only in one place, so I could do the stuff manually though...
14:14:06 [un_jon]
betehess I won't cry too much ;) (Btw : I personally asked for a flatMap implementation in HList to Miles Sabin, which he did the next day !! #scaladays)
14:14:23 [betehess]
heh
14:17:04 [betehess]
one would declare the fields he is interested in, a field being a predicate uri and a binder for the object
14:17:12 [betehess]
not sure if field is the best term here
14:18:48 [un_jon]
Yeah, I don't really get it like that ! (I am asking Henry a hand)
14:19:12 [un_jon]
So, my point of view is : You should use shapeless if you want to
14:19:40 [un_jon]
Few people use it
14:19:52 [betehess]
yeah
14:19:55 [betehess]
still thinking
14:19:56 [bblfish]
I have not followed the work on binders yet
14:19:59 [bblfish]
so I can't comment yet
14:19:59 [betehess]
k
14:57:26 [bblfish]
phew, sent a pull request to banana https://github.com/w3c/banana-rdf/pull/11
14:58:11 [bblfish]
betehess: I just need to work on the SPARQL answers in play rww to see if that holds up
14:58:31 [bblfish]
just thought you could get an idea what I am doing...
15:02:18 [un_jon]
un_jon has quit (Ping timeout: 255 seconds)
15:15:48 [un_jon]
un_jon (~textual@AAubervilliers-651-1-251-12.w86-212.abo.wanadoo.fr) has joined #dig
15:22:02 [trueg]
trueg is now known as trueg_away
15:25:50 [un_jon]
betehess can we refactor test between AsyncGraphStoreTest and GraphStoreTest ? :)
15:28:38 [un_jon]
bblfish => https://github.com/w3c/banana-rdf/pull/12/files
15:31:53 [betehess]
un_jon: sure
15:32:10 [un_jon]
betehess with contexts ?
15:32:34 [un_jon]
(not sure !)
15:34:41 [betehess]
are you sure you want to provide and maintain typeclass instances for Monad[Future] ?
15:35:03 [betehess]
it's not worth it yet
15:35:22 [betehess]
right now, we have only two flavours, that is enough IMO
15:36:04 [betehess]
it's true that we could do Future[Validation[BananaException, T]] as well
15:36:11 [betehess]
but again, too soon
15:41:36 [un_jon]
Maybe I should try it in a branch to see if it's worth it.
15:42:34 [un_jon]
I can't come to a judgement right now !
16:18:33 [Pipian_]
Pipian_ (~pipian@static-mum-59.181.115.17.mtnl.net.in) has joined #dig
16:18:54 [Pipian]
Pipian has quit (Read error: Connection reset by peer)
16:19:01 [Pipian_]
Pipian_ is now known as Pipian
16:48:42 [Pipian]
Pipian has quit (Read error: Connection reset by peer)
17:02:26 [Pipian]
Pipian (~pipian@static-mum-59.181.115.17.mtnl.net.in) has joined #dig
17:18:58 [un_jon]
un_jon has quit (Read error: Connection reset by peer)
17:41:35 [trueg_away]
trueg_away is now known as trueg
17:48:03 [un_jon]
un_jon (~textual@AAubervilliers-651-1-251-12.w86-212.abo.wanadoo.fr) has joined #dig
18:03:54 [trueg]
trueg is now known as trueg_away
18:08:50 [trueg_away]
trueg_away is now known as trueg
18:18:15 [Pipian]
Pipian has quit (Quit: Pipian)
18:21:58 [trueg]
trueg has quit ()
19:18:28 [un_jon]
un_jon has quit (Quit: Computer has gone to sleep.)
19:28:42 [melvster1]
melvster1 (~melvin@p4FF971CF.dip.t-dialin.net) has joined #dig
19:31:12 [melvster]
melvster has quit (Ping timeout: 246 seconds)
19:43:08 [melvster]
melvster (~melvin@p4FF97543.dip.t-dialin.net) has joined #dig
19:43:29 [melvster1]
melvster1 has quit (Ping timeout: 245 seconds)
20:09:07 [kennyluck]
kennyluck has quit (Ping timeout: 264 seconds)
20:13:49 [kennyluck]
kennyluck (~kennyluck@114-43-120-65.dynamic.hinet.net) has joined #dig
20:19:27 [Ralph]
Ralph has quit ()
20:26:40 [un_jon]
un_jon (~textual@AAubervilliers-651-1-251-12.w86-212.abo.wanadoo.fr) has joined #dig
20:48:14 [un_jon]
un_jon has quit (Quit: Computer has gone to sleep.)
20:49:52 [cheater_]
cheater_ (~cheater@p50897809.dip.t-dialin.net) has joined #dig
21:34:36 [scor_]
scor_ has quit (Quit: scor_)
21:57:38 [un_jon]
un_jon (~textual@AAubervilliers-651-1-251-12.w86-212.abo.wanadoo.fr) has joined #dig
21:58:31 [un_jon]
un_jon has quit (Client Quit)
22:12:28 [bblfish]
bblfish has quit (Remote host closed the connection)
22:15:35 [un_jon]
un_jon (~textual@ALagny-551-1-150-43.w92-141.abo.wanadoo.fr) has joined #dig
22:19:53 [un_jon]
un_jon has quit (Ping timeout: 246 seconds)
22:22:35 [un_jon]
un_jon (~textual@ALagny-551-1-150-43.w92-141.abo.wanadoo.fr) has joined #dig
22:45:16 [dsheets]
dsheets (~Adium@c-71-198-141-58.hsd1.ca.comcast.net) has joined #dig
22:51:02 [timbl]
timbl has quit (Quit: timbl)
23:32:48 [melvster]
melvster has quit (Ping timeout: 244 seconds)