IRC log of dig on 2012-08-09

Timestamps are in UTC.

02:30:27 [kennyluck]
kennyluck (~kennyluck@119.161.158.96) has joined #dig
03:05:39 [kennyluck]
kennyluck has quit (Read error: Connection reset by peer)
03:05:54 [kennyluck]
kennyluck (~kennyluck@119.161.158.96) has joined #dig
03:08:57 [kennyluck]
kennyluck has quit (Read error: Connection reset by peer)
03:09:02 [kennyluck_]
kennyluck_ (~kennyluck@119.161.158.96) has joined #dig
03:17:21 [bblfish]
bblfish (~bblfish@AAubervilliers-651-1-267-174.w86-212.abo.wanadoo.fr) has joined #dig
03:20:38 [bblfish]
bblfish has quit (Read error: No route to host)
03:20:56 [bblfish]
bblfish (~bblfish@AAubervilliers-651-1-267-174.w86-212.abo.wanadoo.fr) has joined #dig
03:36:03 [kennyluck_]
kennyluck_ has quit (Read error: Connection reset by peer)
03:36:14 [kennyluck]
kennyluck (~kennyluck@119.161.158.96) has joined #dig
03:45:52 [kennyluck]
kennyluck has quit (Read error: Connection reset by peer)
03:46:03 [kennyluck]
kennyluck (~kennyluck@119.161.158.96) has joined #dig
04:28:07 [kennyluck]
kennyluck has quit (Ping timeout: 240 seconds)
04:36:27 [rszeno]
rszeno has quit (Quit: Leaving.)
04:56:12 [kennyluck]
kennyluck (~kennyluck@119.161.158.96) has joined #dig
05:06:00 [kennyluck]
kennyluck has quit (Read error: Connection reset by peer)
05:06:08 [kennyluck]
kennyluck (~kennyluck@119.161.158.96) has joined #dig
05:10:18 [kennyluck]
kennyluck has quit (Read error: Connection reset by peer)
05:10:50 [kennyluck]
kennyluck (~kennyluck@119.161.158.96) has joined #dig
06:18:16 [kennyluck]
kennyluck has quit (Read error: Connection reset by peer)
06:18:29 [kennyluck]
kennyluck (~kennyluck@119.161.158.96) has joined #dig
06:20:14 [kennyluck_]
kennyluck_ (~kennyluck@119.161.158.96) has joined #dig
06:21:46 [kennyluck]
kennyluck has quit (Read error: Connection reset by peer)
06:21:47 [kennyluck_]
kennyluck_ is now known as kennyluck
07:02:15 [danbri]
danbri (~danbri@bob75-7-88-160-5-65.fbx.proxad.net) has joined #dig
07:06:05 [danbri]
danbri has quit (Remote host closed the connection)
07:06:13 [danbri]
danbri (~danbri@bob75-7-88-160-5-65.fbx.proxad.net) has joined #dig
07:24:38 [trueg_away]
trueg_away is now known as trueg
07:40:28 [danbri]
danbri has quit (Remote host closed the connection)
07:40:54 [danbri]
danbri (~danbri@bob75-7-88-160-5-65.fbx.proxad.net) has joined #dig
07:41:48 [danbri_]
danbri_ (~danbri@bob75-7-88-160-5-65.fbx.proxad.net) has joined #dig
07:45:11 [danbri]
danbri has quit (Ping timeout: 244 seconds)
07:50:19 [kennyluck]
kennyluck has quit (Ping timeout: 244 seconds)
07:51:08 [kennyluck]
kennyluck (~kennyluck@219.236.246.147) has joined #dig
08:06:07 [deiu]
deiu (~andrei@157.159.103.65) has joined #dig
08:06:07 [deiu]
deiu has quit (Changing host)
08:06:07 [deiu]
deiu (~andrei@unaffiliated/deiu) has joined #dig
08:38:12 [danbri_]
danbri_ has quit (Remote host closed the connection)
08:38:46 [danbri]
danbri (~danbri@bob75-7-88-160-5-65.fbx.proxad.net) has joined #dig
08:40:28 [danbri]
danbri has quit (Remote host closed the connection)
08:40:35 [danbri]
danbri (~danbri@bob75-7-88-160-5-65.fbx.proxad.net) has joined #dig
08:41:07 [kennyluck]
kennyluck has quit (Ping timeout: 240 seconds)
08:41:17 [kennyluck]
kennyluck (~kennyluck@119.161.158.96) has joined #dig
08:50:52 [danbri]
danbri has quit (Ping timeout: 245 seconds)
09:03:33 [melvster]
melvster (~melvin@p5797F857.dip.t-dialin.net) has joined #dig
10:12:12 [bblfish]
bblfish has quit (Remote host closed the connection)
10:28:06 [kennyluck]
kennyluck has quit (Quit: kennyluck)
11:34:43 [RalphS]
RalphS (Ralph@30-7-118.wireless.csail.mit.edu) has joined #dig
12:07:35 [trueg]
trueg is now known as trueg_away
12:20:21 [bblfish]
bblfish (~bblfish@AAubervilliers-651-1-267-174.w86-212.abo.wanadoo.fr) has joined #dig
12:57:54 [bblfish]
bblfish has quit (Remote host closed the connection)
13:10:20 [bblfish]
bblfish (~bblfish@AAubervilliers-651-1-267-174.w86-212.abo.wanadoo.fr) has joined #dig
13:20:47 [cheater_]
cheater_ has quit (Ping timeout: 268 seconds)
13:43:09 [bblfish]
betehess: have you thought of making BananaExceptions Monoids, so that ( validation1 |@| validation2 | validation3){ SomeObject(_,_,_) } can work?
13:43:34 [scor]
scor (~scor@132.183.243.91) has joined #dig
13:43:35 [scor]
scor has quit (Changing host)
13:43:35 [scor]
scor (~scor@drupal.org/user/52142/view) has joined #dig
13:44:33 [betehess]
bblfish, no need to be a monoid for that, just a semi--group
13:44:36 [betehess]
like in https://github.com/w3c/banana-rdf/blob/master/rdf/src/main/scala/BananaException.scala#L11
13:44:41 [bblfish]
yes
13:45:48 [betehess]
more interesting, it works with BananaFuture as well
13:46:14 [betehess]
https://github.com/w3c/banana-rdf/blob/master/rdf/src/main/scala/Diesel.scala#L136
13:46:28 [bblfish]
ah what does that do? Does it just drop the next Validation?
13:46:38 [bblfish]
would it not be nice to be able to chain them?
13:47:02 [betehess]
reading from left to right, it does consider the next ones as soon as you have a Failure
13:47:09 [betehess]
s/does/does not/
13:47:31 [betehess]
"chaining" is fine
13:47:37 [betehess]
I woudl say "composing" instead
13:47:50 [betehess]
"chaining" is more for monads
13:48:02 [bblfish]
indeed. had an aricle on that using ValidationNEL
13:48:15 [betehess]
yeah, but Validation is not a monad :-)
13:48:39 [betehess]
not if you want to compose the Failure as a monoid
13:48:55 [betehess]
but in our case, we just want to stop with the first one
13:49:05 [betehess]
at least for now
13:49:14 [betehess]
if it's an easy, we'll have to remove the implicit
13:49:20 [betehess]
just like the scalaz guys did
13:49:39 [betehess]
but I'm perfectly happy with stopping with the first failure we meet
13:51:01 [bblfish]
ah ok... I was thinking of gathering up more information, but perhaps that's not needed....
13:51:35 [bblfish]
I should perhaps use BananaExcpetions then, since they have the SemiGroup.
13:52:17 [betehess]
yeah
13:52:21 [betehess]
probably fine
13:52:35 [betehess]
inside banana-rdf, there are only BananaExceptions
13:52:43 [betehess]
it is the common super-type
13:52:56 [betehess]
very handy for writing clean code
13:53:07 [betehess]
then you can use BananaValidation and BananaFuture
13:53:33 [betehess]
btw, BananaFuture encapsulates a Validation <- good to know
13:53:41 [bblfish]
ok, will go that way... passing ValidationNEL is a bit clumsy
13:53:47 [betehess]
agreed
13:54:15 [bblfish]
still just learning my way around this. For them moment using SPARQL to do WebID auth.... I'll try the other method later
13:57:36 [bblfish]
ah can't really extend BananaExcpetion it's a sealed trait
13:57:52 [bblfish]
But I can duplicate the idea
13:59:36 [betehess]
hrmmm, we may not need to seal it actually
13:59:47 [betehess]
let me think
14:00:04 [betehess]
let's not do that
14:01:27 [betehess]
hrmm, but I'm not sure it's a good idea to bring your own exceptions into the banana world
14:02:20 [bblfish]
I can do my own, then you can look at the code on rww_play later, and we can decide
14:02:28 [bblfish]
if it makes things better
14:02:40 [betehess]
oh, that's for rww
14:02:54 [bblfish]
Just writing a WebID authentication module
14:02:56 [betehess]
in that particular case, yes, we should have the same exceptions
14:03:05 [betehess]
that would simplify many things
14:03:47 [betehess]
ok, let's do that first. I need to do a pass on the existing exceptions anyway
14:04:10 [bblfish]
ok, so I write my own, commit, then we decide to merge?
14:04:34 [betehess]
just pushed the modification
14:04:44 [betehess]
no, just extends BananaException
14:05:07 [bblfish]
ok.... In fact I am using it for doing very banana like things
14:05:17 [betehess]
I guessed :-)
14:05:30 [betehess]
that's why it makes sense
14:05:47 [bblfish]
ok, I'll pull then
14:05:48 [betehess]
and you'll gain the other goodies eg. BananaFuture
14:06:09 [betehess]
ok, back to finishing something important
14:06:11 [bblfish]
timeflieslikeabanana
14:07:42 [betehess]
heh
14:28:07 [bblfish]
Ah yes, I see with BananaFuture the reason. I am using Promises right now...
14:36:06 [trueg_away]
trueg_away is now known as trueg
15:10:06 [deiu]
deiu has quit (Quit: Leaving)
15:29:39 [trueg]
trueg is now known as trueg_away
16:11:07 [mattl]
mattl has quit (Ping timeout: 246 seconds)
16:18:37 [mattl]
mattl (mattl@gateway/shell/gnu/x-siapmoilftyqmluf) has joined #dig
16:19:01 [mattl]
mattl is now known as Guest70723
16:54:31 [melvster1]
melvster1 (~melvin@p5797F536.dip.t-dialin.net) has joined #dig
16:57:14 [melvster]
melvster has quit (Ping timeout: 268 seconds)
17:11:01 [trueg_away]
trueg_away is now known as trueg
17:26:50 [trueg]
trueg is now known as trueg_away
18:08:46 [bblfish]
bblfish has quit (Remote host closed the connection)
18:54:40 [rszeno]
rszeno (~rszeno@79.114.107.49) has joined #dig
19:18:29 [bblfish]
bblfish (~bblfish@AAubervilliers-651-1-267-174.w86-212.abo.wanadoo.fr) has joined #dig
20:08:55 [trueg_away]
trueg_away has quit (Ping timeout: 252 seconds)
20:18:33 [scor]
scor has quit (Quit: scor)
20:19:13 [RalphS]
RalphS has quit ()
21:00:21 [cheater]
cheater (~cheater@g230223095.adsl.alicedsl.de) has joined #dig
22:30:48 [bblfish]
bblfish has quit (Remote host closed the connection)
22:39:15 [melvster1]
melvster1 has quit (Ping timeout: 252 seconds)