IRC log of dig on 2012-06-01

Timestamps are in UTC.

00:41:36 [danbri]
danbri has quit (Remote host closed the connection)
01:00:11 [danbri]
danbri (~danbri@12.217.166.2) has joined #dig
01:01:07 [danbri]
danbri has quit (Remote host closed the connection)
02:42:34 [timbl]
timbl (~timbl@206.217.87.45) has joined #dig
03:03:18 [scor]
scor has quit (Quit: scor)
03:35:47 [scor]
scor (~scor@c-98-216-66-30.hsd1.ma.comcast.net) has joined #dig
03:35:48 [scor]
scor has quit (Changing host)
03:35:48 [scor]
scor (~scor@drupal.org/user/52142/view) has joined #dig
04:25:25 [scor]
scor has quit (Quit: scor)
04:50:52 [presbrey]
presbrey has quit (Quit: I shouldn't really be here - dircproxy 1.2.0)
04:50:58 [presbrey]
presbrey (~presbrey@2001:4830:2446:b5:aede:48ff:fe00:2001) has joined #dig
05:16:08 [danbri]
danbri (~danbri@12.217.166.2) has joined #dig
05:17:30 [danbri]
danbri has quit (Read error: Connection reset by peer)
05:17:45 [danbri]
danbri (~danbri@12.217.166.2) has joined #dig
05:22:54 [danbri_]
danbri_ (~danbri@12.217.166.2) has joined #dig
05:22:59 [danbri]
danbri has quit (Read error: Connection reset by peer)
05:25:09 [danbri]
danbri (~danbri@12.217.166.2) has joined #dig
05:25:33 [danbri_]
danbri_ has quit (Read error: Connection reset by peer)
05:29:21 [danbri]
danbri has quit (Remote host closed the connection)
05:35:52 [danbri]
danbri (~danbri@12.217.166.2) has joined #dig
05:51:37 [danbri]
danbri has quit (Read error: Connection reset by peer)
05:51:59 [danbri]
danbri (~danbri@12.217.166.2) has joined #dig
05:54:29 [danbri]
danbri has quit (Read error: Connection reset by peer)
05:54:35 [danbri]
danbri (~danbri@12.217.166.2) has joined #dig
05:54:51 [danbri]
danbri has quit (Remote host closed the connection)
07:32:40 [rszeno]
rszeno (~rszeno@79.114.104.127) has joined #dig
07:33:40 [melvster]
melvster (~melvin@p4FF960BC.dip.t-dialin.net) has joined #dig
08:39:40 [deiu]
deiu (~andrei@unaffiliated/deiu) has joined #dig
09:06:33 [deiu]
bergi,
09:06:36 [deiu]
ping*
09:22:10 [rszeno]
deiu, afaik bergi is online only between 18-22 UTC. is usualy on irc.w3.org #rww too
09:26:31 [melvster]
i tested some pingback with him yesterday
09:26:40 [melvster]
resource me / bergnet is pretty cool
09:26:55 [melvster]
he even has 'likes' implemented on your profile
10:12:06 [cheater]
cheater has quit (Ping timeout: 246 seconds)
10:19:30 [deiu]
I've just talked to him on skype
10:25:44 [cheater]
cheater (~cheater@g229022238.adsl.alicedsl.de) has joined #dig
11:27:54 [scor]
scor (~scor@c-98-216-66-30.hsd1.ma.comcast.net) has joined #dig
11:27:54 [scor]
scor has quit (Changing host)
11:27:54 [scor]
scor (~scor@drupal.org/user/52142/view) has joined #dig
11:28:55 [scor]
scor has quit (Client Quit)
11:32:24 [scor]
scor (~scor@c-98-216-66-30.hsd1.ma.comcast.net) has joined #dig
11:32:24 [scor]
scor has quit (Changing host)
11:32:24 [scor]
scor (~scor@drupal.org/user/52142/view) has joined #dig
11:59:13 [bblfish_]
bblfish_ (~bblfish@AAubervilliers-651-1-307-91.w83-114.abo.wanadoo.fr) has joined #dig
11:59:29 [bblfish]
bblfish has quit (Ping timeout: 252 seconds)
12:07:55 [timbl]
timbl has quit (Ping timeout: 252 seconds)
12:21:14 [scor]
scor has quit (Quit: scor)
12:43:53 [danbri]
danbri (~danbri@12.217.166.2) has joined #dig
12:47:46 [betehess]
betehess has quit (Quit: Leaving)
12:51:31 [betehess]
betehess (~betehess@tightlips.w3.org) has joined #dig
13:24:54 [timbl]
timbl (~timbl@206.217.87.45) has joined #dig
13:43:43 [scor]
scor (~scor@132.183.243.113) has joined #dig
13:43:45 [scor]
scor has quit (Changing host)
13:43:45 [scor]
scor (~scor@drupal.org/user/52142/view) has joined #dig
13:52:13 [amy]
amy (~amy@30-6-207.wireless.csail.mit.edu) has joined #dig
13:55:20 [danbri]
danbri has quit (Remote host closed the connection)
15:52:22 [deiu]
deiu has quit (Ping timeout: 248 seconds)
16:05:34 [timbl]
re read-write-web ... If I do assembly then it should make target/*.jar like before nd I can run it with the same command line... ok, runs with slight tweak
16:05:49 [timbl]
then when i edit a triple i get Sorry, failed to save your change:
16:05:49 [timbl]
Content-Type MUST be one of: text/turtle, image/gif, application/sparql-query, image/png, application/rdf+xml, image/jpeg, text/n3
16:07:07 [timbl]
proud that the http message is sent back and is nice -- and that it shows up copyable in a little box in the UI in the tabulator, not having sto scan logs on client or server.
16:07:53 [timbl]
Hmmm. bettre message would have said what content type was found of course.
16:45:35 [timbl]
On the client side, log is: status=400, Bad Request, body length=130 for query: INSERT DATA { <http://localhost/TimBL/2012/Financial/Data/chase-4087.rdf#ed5b12c411f91733d512ece396514d01473e90e0> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://localhost/TimBL/Financial/Data/categories.n3#Reimbursables> . }
16:45:49 [timbl]
bblfish any idea what has changed
16:45:56 [timbl]
or bertails
16:46:50 [timbl]
or betehess
16:48:30 [timbl]
Looks like it could be a misleading error message
16:49:08 [timbl]
12:47:35 [info] sparql: sending update to <http://localhost/TimBL/2012/Financial/Data/annotations.n3> query=INSERT DATA {
16:49:11 [timbl]
..}
17:02:34 [timbl]
xhr.setRequestHeader('Content-type', 'application/sparql-query');
17:02:34 [timbl]
xhr.send(query);
17:06:05 [bblfish]
bblfish (~bblfish@AAubervilliers-651-1-69-239.w86-218.abo.wanadoo.fr) has joined #dig
17:06:29 [bblfish_]
bblfish_ has quit (Ping timeout: 248 seconds)
17:09:58 [bblfish_]
bblfish_ (~bblfish@AAubervilliers-651-1-235-26.w83-200.abo.wanadoo.fr) has joined #dig
17:10:25 [Pipian_]
Pipian_ (~pipian@31-34-66.wireless.csail.mit.edu) has joined #dig
17:11:13 [bblfish]
bblfish has quit (Ping timeout: 265 seconds)
17:22:56 [bblfish]
bblfish (~bblfish@AAubervilliers-651-1-222-242.w86-198.abo.wanadoo.fr) has joined #dig
17:24:32 [bblfish_]
bblfish_ has quit (Ping timeout: 260 seconds)
17:26:50 [bblfish_]
bblfish_ (~bblfish@AAubervilliers-651-1-56-188.w81-249.abo.wanadoo.fr) has joined #dig
17:27:32 [bblfish]
bblfish has quit (Ping timeout: 252 seconds)
17:31:03 [bblfish]
bblfish (~bblfish@AAubervilliers-651-1-338-153.w83-114.abo.wanadoo.fr) has joined #dig
17:31:24 [bblfish_]
bblfish_ has quit (Ping timeout: 245 seconds)
17:47:44 [danbri]
danbri (danbri@nat/google/x-fqqlkiysosvyxqcy) has joined #dig
18:04:31 [timbl]
timbl has quit (Quit: timbl)
18:09:31 [timbl]
timbl (~timbl@206.217.87.45) has joined #dig
18:12:47 [timbl]
I wonder whether the SPARQL format has changed in someway
18:25:52 [bblfish_]
bblfish_ (~bblfish@AAubervilliers-651-1-85-102.w83-112.abo.wanadoo.fr) has joined #dig
18:26:13 [bblfish]
bblfish has quit (Ping timeout: 244 seconds)
18:26:24 [melvster1]
melvster1 (~melvin@p5797FE4A.dip.t-dialin.net) has joined #dig
18:26:34 [melvster]
melvster has quit (Ping timeout: 252 seconds)
18:27:08 [danbri]
danbri has quit (Remote host closed the connection)
18:41:00 [bblfish]
bblfish (~bblfish@AAubervilliers-651-1-207-130.w83-114.abo.wanadoo.fr) has joined #dig
18:41:32 [bblfish_]
bblfish_ has quit (Ping timeout: 260 seconds)
18:49:28 [Pipian_]
Pipian_ has quit (Quit: Pipian_)
18:57:52 [timbl]
AH ...elaborating the error message: Content-Type 'application/sparql-query; charset=UTF-8' for POST must be one of: text/turtle, image/gif, application/sparql-query, image/png, application/rdf+xml, image/jpeg, text/n3
18:58:41 [timbl]
The bug is it doesn't strip off the ; parameters
18:58:58 [timbl]
betehess?
18:59:17 [betehess]
hey timbl
18:59:39 [danbri]
danbri (danbri@nat/google/x-sflezqxiiupkxykm) has joined #dig
18:59:50 [betehess]
if it's about what henry wrote: I'm innocent!
19:00:24 [timbl]
I getthe above message as the rww stuff is looking at th ewhole header for content type instead of striping of the paramers after the ;
19:01:12 [betehess]
hrmmm
19:01:15 [timbl]
you say it is bblfish's fault? well, suppose he says it is your ;-)
19:01:20 [betehess]
heh
19:01:39 [betehess]
this part may actually be something coming from my old code
19:01:50 [betehess]
care to write a simple example that fails?
19:02:00 [betehess]
and send an email to both of us?
19:02:27 [bblfish]
should be able to just duplicate with a curl I suppose
19:02:38 [timbl]
The use case is all described in the IRC log above
19:03:11 [bblfish]
DIGlogger, pointer?
19:03:11 [bblfish]
See http://dig.csail.mit.edu/irc/dig/2012-06-01#T19-03-11
19:04:36 [timbl]
s/T19-03-11/T16:05:49
19:05:13 [bblfish]
ah ok, something with ';'
19:05:21 [timbl]
yes.
19:05:32 [timbl]
BTW I fixed the error message to have more ionfio:
19:05:33 [timbl]
case POST(_) & RequestContentType(ct) => // @@@ not exhaustive
19:05:33 [timbl]
BadRequest ~> ResponseString("Content-Type '" + ct + "' for POST must be one of: " + Post.supportedAsString)
19:05:59 [bblfish]
oh good
19:06:30 [timbl]
you need requestHeader['content-type'].split(';')[0] OWTTE
19:06:50 [timbl]
I didn't check it in
19:07:02 [bblfish]
does it work with that change?
19:07:13 [timbl]
I don't know wheere to put that change
19:07:22 [timbl]
and that was js not scala
19:07:32 [bblfish]
ah ok
19:08:38 [bblfish]
I am called for dinner. Do you need that immediately? Let me see how fast I can do it.
19:09:47 [timbl]
I can wait .... I have the next two hours to hack
19:17:36 [bblfish]
timbl can you check in the code that you did fix?
19:17:55 [timbl]
the error message?
19:17:59 [timbl]
I guess
19:18:23 [bblfish]
yes. Just that can help me find out where the code is
19:19:10 [timbl]
read-write-web/src/main/scala
19:20:29 [bblfish_]
bblfish_ (~bblfish@ALagny-551-1-140-24.w92-141.abo.wanadoo.fr) has joined #dig
19:20:49 [timbl]
done
19:20:52 [timbl]
19:20:52 [timbl]
19:21:19 [timbl]
222:3e192786210d
19:21:36 [betehess]
you guys should make sure you're talking about the same repository :-)
19:22:07 [timbl]
pushing to https://dvcs.w3.org/hg/read-write-web
19:23:02 [timbl]
Which other reops are there?
19:23:24 [bblfish]
bblfish has quit (Ping timeout: 252 seconds)
19:24:05 [betehess]
bblfish mentioned something on github
19:24:18 [betehess]
not sure which one he is referring to
19:24:26 [Pipian_]
Pipian_ (~pipian@31-35-167.wireless.csail.mit.edu) has joined #dig
19:25:27 [timbl]
behehess, to add the bad content type to the error message I had to copy code above as in " case POST(_) & RequestContentType(ct)" but now I get a warning that the case i snot exhaustive.
19:26:02 [timbl]
I don't know enough scala for this
19:26:52 [betehess]
if you think it is, well, you'll see at runtime :-)
19:27:20 [betehess]
just means that the pattern matching have identified a case that can happen, but has no pattern for it
19:33:55 [timbl]
a case where RequestContentType(ct) does not matc
19:33:57 [timbl]
h
19:34:30 [timbl]
yes, so thge call to get the content type should not be inside the case expresssion
19:34:35 [timbl]
it should be later
19:36:34 [timbl]
If I use RequestContentTpe as a function what will it do -- can I just refer to RequestContentType() in place of ct?
19:36:46 [timbl]
in the error message?
19:37:21 [timbl]
Takes 20 mins to do a new assembly ... is it faster then to just do a run from sbt?
19:42:24 [betehess]
don't know about the exaustivity thing (I would need to spend time looking at the code)
19:42:44 [betehess]
re: assembly: do it only to generate the big standalone jar
19:42:54 [betehess]
use run instead
19:42:57 [betehess]
from sbt
19:43:11 [betehess]
you can pass the arguments from there as you can exepct
19:47:39 [timbl]
ok
20:02:06 [melvster]
melvster (~melvin@p4FF96530.dip.t-dialin.net) has joined #dig
20:02:19 [melvster1]
melvster1 has quit (Ping timeout: 244 seconds)
20:44:41 [bblfish_]
bblfish_ has quit (Ping timeout: 244 seconds)
20:49:23 [bblfish]
bblfish (~bblfish@AAubervilliers-651-1-331-233.w83-114.abo.wanadoo.fr) has joined #dig
20:49:24 [Pipian_]
Pipian_ has quit (Quit: Pipian_)
20:54:55 [manu-db]
manu-db has quit (Read error: Connection reset by peer)
20:55:00 [bblfish]
timbl should the following work?
20:55:28 [bblfish]
curl -X POST -H "Content-Type: application/sparql-query; charset=UTF-8" --data-binary "INSERT DATA { <http://bblfish.net/#hjs> <http://xmlns.com/foaf/0.1/knows> <http://fcns.eu/people/andrei/card#me> . } " -k -i -E src/test/resources/JohnDoe.pem https://localhost:8443/2012/foaf.n3
20:55:39 [bblfish]
( I added that as an example to the README
20:59:13 [bblfish]
yes, it does work
20:59:15 [bblfish]
checking it in
21:00:35 [bblfish]
ok checked in
21:01:03 [bblfish]
Not massively happy with that patch, but it should do for now. Still need to add a test case, which would be more important
21:14:28 [manu-db]
manu-db (~msporny@digitalbazaar.com) has joined #dig
21:44:10 [sandro]
timbl? Sorry, I keep losing my connection. I sent you a privmsg about Monday....
21:45:57 [sandro]
need to run. if you feel like joining me and Mike on Monday, please just reply to his email and suggest meeting at your office....
21:53:59 [bblfish]
added a test case for the utf-8 problem to read-write-web and pushed it
22:28:21 [danbri]
danbri has quit (Read error: Connection reset by peer)
22:28:30 [danbri]
danbri (danbri@nat/google/x-iwtjlovtowyaqovu) has joined #dig
22:31:31 [danbri]
danbri has quit (Remote host closed the connection)
22:34:32 [amy]
amy has quit (Quit: bye)
22:44:39 [scor]
scor has quit (Quit: scor)
22:53:14 [rszeno]
rszeno has quit (Quit: Leaving.)
23:11:33 [danbri]
danbri (danbri@nat/google/x-fygmnkojugifuhbs) has joined #dig
23:13:21 [danbri]
danbri has quit (Remote host closed the connection)
23:15:14 [betehess]
betehess has quit (Quit: Leaving)
23:59:24 [scor]
scor (~scor@c-98-216-66-30.hsd1.ma.comcast.net) has joined #dig
23:59:24 [scor]
scor has quit (Changing host)
23:59:24 [scor]
scor (~scor@drupal.org/user/52142/view) has joined #dig