IRC log of dig on 2012-07-02
Timestamps are in UTC.
- 00:11:52 [melvster1]
- melvster1 has quit (Ping timeout: 246 seconds)
- 02:14:34 [Yudai_]
- Yudai_ has quit (Quit: Tiarra 0.1+svn-36726: SIGTERM received; exit)
- 03:03:08 [presbrey]
- presbrey has quit (Quit: Terminated with extreme prejudice - dircproxy 1.2.0)
- 03:05:31 [presbrey]
- presbrey (~presbrey@2001:4830:2446:b5:aede:48ff:fe00:6001) has joined #dig
- 03:09:09 [bblfish]
- bblfish has quit (Read error: Connection reset by peer)
- 03:09:42 [bblfish]
- bblfish (~bblfish@AAubervilliers-651-1-127-44.w86-198.abo.wanadoo.fr) has joined #dig
- 04:00:01 [bblfish]
- bblfish has quit (Read error: Connection reset by peer)
- 04:00:34 [bblfish]
- bblfish (~bblfish@AAubervilliers-651-1-127-44.w86-198.abo.wanadoo.fr) has joined #dig
- 04:25:18 [manu-db]
- manu-db has quit (Read error: Connection reset by peer)
- 04:27:43 [manu1]
- manu1 has quit (Ping timeout: 246 seconds)
- 05:42:16 [manu-db]
- manu-db (~msporny@digitalbazaar.com) has joined #dig
- 06:47:20 [manu1]
- manu1 (~chatzilla@pool-71-171-28-243.nwrknj.east.verizon.net) has joined #dig
- 08:05:05 [trueg]
- trueg (~trueg@dslb-094-217-041-120.pools.arcor-ip.net) has joined #dig
- 08:32:55 [melvster]
- melvster (~melvin@p4FF972B9.dip.t-dialin.net) has joined #dig
- 10:11:56 [cheater__]
- cheater__ (~cheater@e181156103.adsl.alicedsl.de) has joined #dig
- 10:14:43 [melvster]
- melvster has quit (Ping timeout: 245 seconds)
- 10:15:06 [cheater]
- cheater has quit (Ping timeout: 264 seconds)
- 10:15:43 [melvster]
- melvster (~melvin@p4FF972B9.dip.t-dialin.net) has joined #dig
- 10:52:36 [trueg]
- trueg is now known as trueg_away
- 11:07:28 [rszeno]
- rszeno (~rszeno@79.114.41.7) has joined #dig
- 11:21:01 [trueg_away]
- trueg_away is now known as trueg
- 11:45:10 [melvster1]
- melvster1 (~melvin@p5797F363.dip.t-dialin.net) has joined #dig
- 11:47:38 [melvster]
- melvster has quit (Ping timeout: 245 seconds)
- 11:55:47 [RalphS]
- RalphS (Ralph@30-7-118.wireless.csail.mit.edu) has joined #dig
- 11:57:31 [DIGlogger]
- DIGlogger (~dig-logge@groups.csail.mit.edu) has joined #dig
- 11:57:31 [niven.freenode.net]
- topic is: Decentralized Information Group @ MIT http://dig.csail.mit.edu/
- 11:57:31 [niven.freenode.net]
- Users on #dig: DIGlogger RalphS melvster1 rszeno cheater__ bergi ericP sandro mattl kennyluck presbrey bblfish manu-db manu1 trueg
- 11:58:49 [danbri]
- danbri (~danbri@cable-146-255-150-74.dynamic.telemach.ba) has joined #dig
- 12:05:29 [Yudai]
- Yudai (~Yudai@nttkyo320200.tkyo.nt.ngn2.ppp.infoweb.ne.jp) has joined #dig
- 12:30:44 [deiu]
- deiu (~andrei@157.159.103.85) has joined #dig
- 12:30:45 [deiu]
- deiu has quit (Changing host)
- 12:30:45 [deiu]
- deiu (~andrei@unaffiliated/deiu) has joined #dig
- 12:34:49 [bblfish]
- hi
- 12:36:22 [deiu]
- Hey!
- 12:36:26 [rblin]
- rblin (a103012a@gateway/web/freenode/ip.161.3.1.42) has joined #dig
- 12:36:29 [deiu]
- I'm back in France.
- 12:36:52 [bblfish]
- hi
- 12:37:02 [rblin]
- hi
- 12:37:10 [bblfish]
- great
- 12:37:24 [bblfish]
- rblin here just found a bug in data.fm cors proxy
- 12:37:50 [bblfish]
- curl -i "http://data.fm/proxy?uri=http://axel.deri.ie/~axepol/foaf.rdf" does not seem to have any CORS headers
- 12:38:04 [bblfish]
- is it presbrey who is working on that?
- 12:38:46 [bblfish]
- deiu, do you have a working cors proxy? I am going to build one in Play2.0 perhaps now
- 12:43:02 [bblfish]
- ?
- 12:49:36 [betehess]
- betehess (~betehess@2001:470:8b2d:804:d0f6:45d8:4d97:7c96) has joined #dig
- 12:50:59 [bblfish]
- hi betehess
- 12:52:02 [bblfish]
- un-jon reminded me too late that we may have organised a teleconf this weekend. I did not add that to my calendar
- 12:53:01 [bblfish]
- I am going to write a CORS proxy with banana-rdf and Play, as it seems to not be functioning in data.fm and rblin needs one to turn his social network into a purely javascript based one
- 12:53:22 [deiu]
- bblfish, nope, no CORS support yet
- 12:54:29 [bblfish]
- ok, np deiu. Just means I have to write one :-) We have some really nice building blocks now with play and banana
- 12:55:50 [rblin]
- rblin has quit (Ping timeout: 245 seconds)
- 12:56:13 [deiu]
- when is the teleconf?
- 12:56:14 [bblfish]
- my-profile is looking better and better . It's really nice to have a good demo like that. I suppose you were presenting it at the conf?
- 12:56:32 [bblfish]
- ah tomorrow
- 12:56:37 [bblfish]
- I'll send out a reminder
- 12:56:48 [deiu]
- actually, I wasn't presenting my-profile
- 12:56:50 [deiu]
- ok
- 13:05:28 [bblfish]
- sent out a reminder
- 13:05:37 [deiu]
- great
- 13:35:39 [melvster1]
- lol ... latest email in my inbox opens with 'Relative URIs have existed from the start. That is one of the reasons they had to be renamed 'uniform' rather than universal.'
- 13:35:48 [melvster1]
- deiu: welcome back!
- 13:42:40 [amy]
- amy (~amy@30-6-207.wireless.csail.mit.edu) has joined #dig
- 13:42:52 [amy]
- amy has left #dig
- 14:34:51 [bblfish]
- bblfish has quit (Read error: Connection reset by peer)
- 14:35:27 [bblfish]
- bblfish (~bblfish@AAubervilliers-651-1-127-44.w86-198.abo.wanadoo.fr) has joined #dig
- 15:10:03 [trueg]
- trueg is now known as trueg_away
- 15:39:31 [bblfish]
- betehess: hi.
- 15:50:43 [bblfish]
- mhh there are 2 ways one could build a CORS proxy
- 15:50:59 [bblfish]
- 1. have the proxy parse the remote graph in order to fix all relative URLS
- 15:51:38 [bblfish]
- 2. just pipe all the bytes to the server, and have the rdflib.js do the relative URL normalisation
- 16:00:50 [bblfish]
- ( I suppose 2 is bad web architecture, as it makes the server say something false)
- 16:01:11 [bblfish]
- (or rather, it could easily do so)
- 16:02:36 [bblfish]
- it forces the client to have an understanding of the particular type of resource the proxy would be
- 16:13:41 [deiu]
- deiu has quit (Ping timeout: 246 seconds)
- 17:43:56 [scor]
- scor (~scor@drupal.org/user/52142/view) has joined #dig
- 17:59:45 [bblfish]
- bblfish has quit (Read error: Connection reset by peer)
- 18:00:21 [bblfish]
- bblfish (~bblfish@AAubervilliers-651-1-127-44.w86-198.abo.wanadoo.fr) has joined #dig
- 18:16:07 [trueg_away]
- trueg_away is now known as trueg
- 18:18:07 [Pipian]
- Pipian (~pipian@static-mum-59.181.115.17.mtnl.net.in) has joined #dig
- 18:19:30 [Pipian]
- Pipian has quit (Client Quit)
- 18:44:37 [bblfish]
- bblfish has quit (Read error: Connection reset by peer)
- 18:45:09 [bblfish]
- bblfish (~bblfish@AAubervilliers-651-1-127-44.w86-198.abo.wanadoo.fr) has joined #dig
- 19:12:45 [trueg]
- trueg has quit ()
- 19:30:01 [presbrey]
- data.fm cors proxy works as spec'd
- 19:30:07 [presbrey]
- send
- 19:30:17 [presbrey]
- Origin: not-data-fm.com
- 19:30:23 [presbrey]
- header to activate CORS responses
- 19:31:10 [presbrey]
- https://github.com/linkeddata/data.fm/blob/master/www/wildcard/runtime.php#L43
- 19:32:48 [presbrey]
- https://developer.mozilla.org/en/http_access_control#Origin
- 19:33:00 [presbrey]
- 'Note that in any access control request, the ORIGIN header is always sent.
- 19:33:00 [presbrey]
- '
- 19:33:22 [presbrey]
- if you send to data.fm proxy, CORS headers are included in response
- 19:35:11 [presbrey]
- re. bblfish, rblin, etc.
- 19:35:23 [bblfish]
- hi
- 19:35:33 [bblfish]
- ah
- 19:36:46 [bblfish]
- where is that specced?
- 19:37:07 [presbrey]
- not spec, the mozilla reference I pasted above
- 19:37:13 [presbrey]
- for curl that is, eg. curl -i -H 'Origin: another-domain.com' http://data.fm/proxy?uri=http://example.com/foaf.rdf
- 19:37:27 [bblfish]
- ah ok. Does rdflib.js know about this?
- 19:37:35 [presbrey]
- yes it works correctly
- 19:37:40 [bblfish]
- rblin seemed to have a problem with it...
- 19:37:44 [bblfish]
- mhh
- 19:37:46 [bblfish]
- ok
- 19:37:51 [bblfish]
- I'll pass that on to him
- 19:38:30 [presbrey]
- cool thx
- 19:38:50 [bblfish]
- why do you do it like that? Why not automatically add the headers?
- 19:38:51 [presbrey]
- let me know if you see a reference that says differently about Origin header
- 19:40:35 [bblfish]
- what does the JAvascript add for Origin?
- 19:40:53 [bblfish]
- I did not realise about the Origin header
- 19:40:57 [presbrey]
- the browser adds the origin header automatically to the XHR
- 19:41:16 [presbrey]
- so it is already automatic when required
- 19:41:45 [bblfish]
- ah the origin is the origin of the javascript that is making the request?
- 19:42:58 [presbrey]
- yes of the access request transparently or possibly a preflight OPTIONS request
- 19:43:16 [bblfish]
- ok. it works curl -i -H "Origin: bblfish.net" "http://data.fm/proxy?uri=http://axel.deri.ie/~axepol/foaf.rdf"
- 19:43:16 [presbrey]
- rdflib.js works with this in firefox, chrome, and mashlib
- 19:44:08 [presbrey]
- yes if you have JS/html on bblfish.net, all XHR will come with an Origin header if you use rdflib.js proxy mode with data.fm
- 19:44:52 [bblfish]
- btw, have you thought of CORS and PUT, POST ?
- 19:46:17 [bblfish]
- thnx. That's helpful :-)
- 20:17:44 [RalphS]
- RalphS has quit ()
- 20:36:45 [rszeno]
- rszeno has quit (Quit: Leaving.)
- 23:15:13 [melvster1]
- melvster1 has quit (Ping timeout: 255 seconds)