Tuesday, 2015-01-20

*** cap10morgan__ <cap10morgan__!~cap10morg@c-50-134-198-253.hsd1.co.comcast.net> has quit IRC (Quit: Computer has gone to sleep.)00:19
*** bbrowning_away is now known as bbrowning00:35
*** je <je!~je@x1-6-c0-3f-0e-f8-01-dc.cpe.webspeed.dk> has quit IRC (Ping timeout: 245 seconds)00:58
*** jcrossley3 <jcrossley3!~user@redhat/jboss/jc3> has quit IRC (Ping timeout: 276 seconds)01:16
*** tcrawley-away is now known as tcrawley02:02
*** cemerick <cemerick!~cemerick@c-24-34-140-98.hsd1.ma.comcast.net> has joined #immutant02:17
*** tcrawley is now known as tcrawley-away02:23
*** cemerick <cemerick!~cemerick@c-24-34-140-98.hsd1.ma.comcast.net> has quit IRC (Remote host closed the connection)02:28
*** cemerick <cemerick!~cemerick@c-24-34-140-98.hsd1.ma.comcast.net> has joined #immutant02:32
*** jcrossley3 <jcrossley3!~user@redhat/jboss/jc3> has joined #immutant02:39
*** cap10morgan__ <cap10morgan__!~cap10morg@c-50-134-198-253.hsd1.co.comcast.net> has joined #immutant03:19
*** cap10morgan__ <cap10morgan__!~cap10morg@c-50-134-198-253.hsd1.co.comcast.net> has quit IRC (Ping timeout: 255 seconds)03:23
*** marianoguerra <marianoguerra!~marianogu@211.25.203.133> has joined #immutant03:27
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has joined #immutant03:27
*** bbrowning is now known as bbrowning_away03:45
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has quit IRC (Ping timeout: 245 seconds)03:57
*** cap10morgan__ <cap10morgan__!~cap10morg@2601:1:b200:1c6:3da9:5695:b980:430a> has joined #immutant04:22
*** cap10morgan__ <cap10morgan__!~cap10morg@2601:1:b200:1c6:3da9:5695:b980:430a> has quit IRC (Ping timeout: 245 seconds)04:27
*** jcrossley3 is now known as jcrossley3-away04:50
*** jbossbot <jbossbot!~JBossBot@redhat/jbossbot> has quit IRC (Ping timeout: 256 seconds)05:11
*** marianoguerra <marianoguerra!~marianogu@211.25.203.133> has joined #immutant05:16
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has joined #immutant05:16
*** jbossbot <jbossbot!~JBossBot@redhat/jbossbot> has joined #immutant06:03
*** DomKM <DomKM!uid23709@gateway/web/irccloud.com/x-xjeokvsviynqeslb> has quit IRC (Quit: Connection closed for inactivity)06:11
*** cap10morgan__ <cap10morgan__!~cap10morg@c-50-134-198-253.hsd1.co.comcast.net> has joined #immutant06:11
*** cap10morgan__ <cap10morgan__!~cap10morg@c-50-134-198-253.hsd1.co.comcast.net> has quit IRC (Ping timeout: 256 seconds)06:16
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has quit IRC (Ping timeout: 240 seconds)06:25
*** kschrader <kschrader!uid41175@gateway/web/irccloud.com/x-tnbmnhrbmvouqclt> has joined #immutant06:52
*** cemerick <cemerick!~cemerick@c-24-34-140-98.hsd1.ma.comcast.net> has quit IRC (Ping timeout: 264 seconds)06:54
*** dm3 <dm3!~dm3@pub158181119172.dh-hfc.datazug.ch> has joined #immutant07:32
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has quit IRC (Ping timeout: 252 seconds)07:59
*** cap10morgan__ <cap10morgan__!~cap10morg@2601:1:b200:1c6:3da9:5695:b980:430a> has joined #immutant08:00
*** je <je!~je@x1-6-c0-3f-0e-f8-01-dc.cpe.webspeed.dk> has joined #immutant08:01
*** marianoguerra <marianoguerra!~marianogu@211.25.203.133> has joined #immutant08:04
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has joined #immutant08:04
*** cap10morgan__ <cap10morgan__!~cap10morg@2601:1:b200:1c6:3da9:5695:b980:430a> has quit IRC (Ping timeout: 245 seconds)08:04
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has quit IRC (Ping timeout: 264 seconds)08:14
*** irsol <irsol!~irsol@unaffiliated/contempt> has quit IRC (Remote host closed the connection)08:49
*** dm3_ <dm3_!~dm3@pub158181119172.dh-hfc.datazug.ch> has joined #immutant08:55
*** dm3 <dm3!~dm3@pub158181119172.dh-hfc.datazug.ch> has quit IRC (Ping timeout: 246 seconds)08:58
*** irsol <irsol!~irsol@unaffiliated/contempt> has joined #immutant09:07
*** irsol <irsol!~irsol@unaffiliated/contempt> has quit IRC (Ping timeout: 272 seconds)09:12
*** irsol <irsol!~irsol@unaffiliated/contempt> has joined #immutant09:13
*** dm3_ <dm3_!~dm3@pub158181119172.dh-hfc.datazug.ch> has quit IRC (Remote host closed the connection)09:29
*** dm3 <dm3!~dm3@pub158181119172.dh-hfc.datazug.ch> has joined #immutant09:29
*** galderz <galderz!~galder@2a02:120b:c3f3:ba80:bcdd:4cfe:c686:8f95> has joined #immutant09:33
*** galderz <galderz!~galder@2a02:120b:c3f3:ba80:bcdd:4cfe:c686:8f95> has quit IRC (Changing host)09:33
*** galderz <galderz!~galder@redhat/jboss/galderz> has joined #immutant09:33
*** marianoguerra <marianoguerra!~marianogu@211.25.203.133> has joined #immutant09:37
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has joined #immutant09:37
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has quit IRC (Ping timeout: 264 seconds)09:43
*** cap10morgan__ <cap10morgan__!~cap10morg@2601:1:b200:1c6:3da9:5695:b980:430a> has joined #immutant09:49
*** cap10morgan__ <cap10morgan__!~cap10morg@2601:1:b200:1c6:3da9:5695:b980:430a> has quit IRC (Ping timeout: 245 seconds)09:53
*** statonjr_ <statonjr_!~statonjr@cpe-098-024-171-126.carolina.res.rr.com> has joined #immutant10:01
*** statonjr <statonjr!~statonjr@cpe-098-024-171-126.carolina.res.rr.com> has quit IRC (Ping timeout: 264 seconds)10:03
*** marianoguerra <marianoguerra!~marianogu@211.25.203.133> has joined #immutant10:16
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has joined #immutant10:16
*** jcrossley3-away <jcrossley3-away!~user@redhat/jboss/jc3> has quit IRC (Read error: Connection reset by peer)10:21
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has quit IRC (Ping timeout: 245 seconds)10:21
*** jcrossley3-away <jcrossley3-away!~user@71-90-202-246.dhcp.stls.mo.charter.com> has joined #immutant10:21
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has joined #immutant10:26
*** marianoguerra <marianoguerra!~marianogu@211.25.203.133> has joined #immutant11:03
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has joined #immutant11:03
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has quit IRC (Ping timeout: 255 seconds)11:28
*** cap10morgan__ <cap10morgan__!~cap10morg@2601:1:b200:1c6:3da9:5695:b980:430a> has joined #immutant11:37
*** cap10morgan__ <cap10morgan__!~cap10morg@2601:1:b200:1c6:3da9:5695:b980:430a> has quit IRC (Ping timeout: 245 seconds)11:42
*** qwerty_nor <qwerty_nor!~Thunderbi@5.248.107.224> has joined #immutant11:47
*** marianoguerra <marianoguerra!~marianogu@emesene/grandpa/marianoguerra> has joined #immutant12:29
*** cap10morgan__ <cap10morgan__!~cap10morg@2601:1:b200:1c6:3da9:5695:b980:430a> has joined #immutant12:38
*** cap10morgan__ <cap10morgan__!~cap10morg@2601:1:b200:1c6:3da9:5695:b980:430a> has quit IRC (Ping timeout: 245 seconds)12:42
*** lance|afk is now known as lanceball13:01
*** bbrowning_away is now known as bbrowning13:24
*** dm3 <dm3!~dm3@pub158181119172.dh-hfc.datazug.ch> has quit IRC (Remote host closed the connection)14:09
*** dm3 <dm3!~dm3@pub158181119172.dh-hfc.datazug.ch> has joined #immutant14:10
*** dm3 <dm3!~dm3@pub158181119172.dh-hfc.datazug.ch> has quit IRC (Ping timeout: 246 seconds)14:14
*** jcrossley3-away is now known as jcrossley314:17
*** dm3 <dm3!~dm3@pub158181119172.dh-hfc.datazug.ch> has joined #immutant14:20
*** cap10morgan__ <cap10morgan__!~cap10morg@2601:1:b200:1c6:3da9:5695:b980:430a> has joined #immutant14:27
*** cap10morgan__ <cap10morgan__!~cap10morg@2601:1:b200:1c6:3da9:5695:b980:430a> has quit IRC (Ping timeout: 245 seconds)14:31
*** tcrawley-away is now known as tcrawley14:31
*** cemerick <cemerick!~cemerick@c-24-34-140-98.hsd1.ma.comcast.net> has joined #immutant14:36
*** mgaare <mgaare!~quassel@75.127.15.55> has joined #immutant15:08
*** dm3 <dm3!~dm3@pub158181119172.dh-hfc.datazug.ch> has quit IRC (Remote host closed the connection)15:27
*** cap10morgan__ <cap10morgan__!~cap10morg@75-148-43-81-Colorado.hfc.comcastbusiness.net> has joined #immutant15:34
*** bbrowning is now known as bbrowning_away15:52
*** dm3 <dm3!~dm3@pub158181119172.dh-hfc.datazug.ch> has joined #immutant15:54
*** dm3 <dm3!~dm3@pub158181119172.dh-hfc.datazug.ch> has quit IRC ()16:05
*** bbrowning_away is now known as bbrowning16:17
*** mgoldmann|away is now known as mgoldmann16:27
*** galderz <galderz!~galder@redhat/jboss/galderz> has quit IRC (Quit: Leaving)17:02
tcrawleyjcrossley3: how does this look? https://gist.github.com/d1270180f4857826af1e17:03
jcrossley3tcrawley: the only thing that sticks out to me is the multiple on-error cb's17:07
tcrawleyyeah, that's a little gross, I agree. the only thing we can do there I think is to eliminate the one to send!, and send all errors to the as-channel cb17:08
tcrawleybut that means you don't know which send! call actually errored17:09
tcrawleythe top-level on-error gets errors from receives on the ws17:09
jcrossley3what if on-complete is passed some indication of success?17:11
tcrawleythat's what jsr-356 callbacks do. you get a result object, with .isOK() and .getException() (or similar)17:12
tcrawley(fn [error-or-nil] ...)?17:12
tcrawleyit seems weird to pass an error to something called on-complete17:13
tcrawleysince it didn't complete17:13
tcrawleymaybe there's a better name there17:13
jcrossley3both success and failure are valid outcomes of an attempt17:14
tcrawleyagreed, but I don't see the send as "complete"17:14
jcrossley3i see the invocation of send! as an attempt17:15
*** irsol <irsol!~irsol@unaffiliated/contempt> has quit IRC (Ping timeout: 276 seconds)17:16
tcrawleyon-result?17:16
jcrossley3semantics, i guess. i see "complete" as a state and result as a... um... result. :)17:18
*** mgoldmann is now known as mgoldmann|away17:18
jcrossley3so if send was synchronous, you'd know it was successful if it returned without tossing17:19
tcrawleyI see "complete" as a state as well, the state where "the task you gave me is complete".17:19
jcrossley3right, but the task is the invocation of a function17:20
tcrawleyno, the task is send some data17:20
tcrawleyif I say "tell Laurie I said 'hi'", and you say it to an empty room, I wouldn't consider the task complete17:21
*** irsol <irsol!~irsol@unaffiliated/contempt> has joined #immutant17:21
jcrossley3i'm just trying to come up with a way to convey either success or failure asynchronously, in a way that's as simple as it would be synchronously17:24
jcrossley3but maybe that's not helpful?17:24
tcrawley:on-complete - `(fn [throwable-or-nil] ...)` - called when the send attempt17:25
tcrawley       has completed. The success of the attempt will be signaled by the passed17:25
tcrawley       value [nil]17:25
tcrawleyhow's that?17:25
jcrossley3i might just call the arg throwable. i think the or-nil is implied, and emphasized by the apidoc17:26
tcrawleypb17:26
jcrossley3tcrawley: do you invoke both on-complete and on-error if throwable non-nil. i think i would only expect on-error to be called if on-complete tossed17:30
jcrossley3or if on-complete was nil, of course17:31
jcrossley3i wonder if it also makes sense to default on-complete to a function with only a precondition of throwable being nil. would that yield a crude sort of backpressure automatically?17:35
jcrossley3:on-complete - ... [#(assert %1)]17:42
*** je <je!~je@x1-6-c0-3f-0e-f8-01-dc.cpe.webspeed.dk> has quit IRC (Ping timeout: 240 seconds)17:55
jcrossley3or maybe this would be more helpful? [#(if % (throw %))]18:08
tcrawleymy first thought was the top-level on-error never gets called on send!, you have to provide a callback for those18:17
tcrawleywe could have the default throw, and have the top-level get that, but that seems complicated18:17
jcrossley3what's your second thought?18:17
tcrawleycalling on-error when on-complete isn't set was the second18:18
tcrawleybut I think I still prefer the first18:18
jcrossley3you'd want to provide a top-level on-error and not send an error to it that might've occurred on the websocket?18:20
tcrawleywell, when you put it that way...18:21
jcrossley3just seems convenient to install a single handler that might get anything, including async sends that fail18:23
tcrawleyand I guess if you want to id those sends, you need a :on-complete18:24
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has quit IRC ()18:24
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has joined #immutant18:25
*** jcrossley3 is now known as jcrossley3-away18:30
*** irsol <irsol!~irsol@unaffiliated/contempt> has quit IRC (Quit: leaving)18:49
*** irsol <irsol!~irsol@unaffiliated/contempt> has joined #immutant18:51
*** je <je!~je@x1-6-c0-3f-0e-f8-01-dc.cpe.webspeed.dk> has joined #immutant19:38
*** jcrossley3-away is now known as jcrossley319:41
*** tcrawley is now known as tcrawley-away21:12
*** tcrawley-away is now known as tcrawley21:15
*** jcrossle_ <jcrossle_!~user@71-90-202-246.dhcp.stls.mo.charter.com> has joined #immutant21:16
*** jcrossle_ is now known as jcrossley3_21:18
*** jcrossley3 <jcrossley3!~user@71-90-202-246.dhcp.stls.mo.charter.com> has quit IRC (Ping timeout: 264 seconds)21:21
*** jcrossley3_ is now known as jcrossley321:24
*** lanceball is now known as lance|afk21:28
*** qwerty_nor <qwerty_nor!~Thunderbi@5.248.107.224> has quit IRC (Ping timeout: 272 seconds)21:49
*** jcrossle_ <jcrossle_!~user@71-90-202-246.dhcp.stls.mo.charter.com> has joined #immutant21:55
*** jcrossley3 <jcrossley3!~user@71-90-202-246.dhcp.stls.mo.charter.com> has quit IRC (Ping timeout: 256 seconds)21:57
*** jcrossle_ is now known as jcrossley321:58
*** cap10morgan__ <cap10morgan__!~cap10morg@75-148-43-81-Colorado.hfc.comcastbusiness.net> has quit IRC (Quit: Computer has gone to sleep.)22:06
*** cap10morgan__ <cap10morgan__!~cap10morg@71-33-187-7.hlrn.qwest.net> has joined #immutant22:10
*** je <je!~je@x1-6-c0-3f-0e-f8-01-dc.cpe.webspeed.dk> has quit IRC (Ping timeout: 264 seconds)22:12
*** bbrowning is now known as bbrowning_away22:14
*** cap10morgan__ <cap10morgan__!~cap10morg@71-33-187-7.hlrn.qwest.net> has quit IRC (Read error: Connection reset by peer)22:15
*** cap10morgan__ <cap10morgan__!~cap10morg@71-33-187-7.hlrn.qwest.net> has joined #immutant22:15
*** cemerick <cemerick!~cemerick@c-24-34-140-98.hsd1.ma.comcast.net> has quit IRC (Ping timeout: 252 seconds)22:29
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has quit IRC (Remote host closed the connection)22:33
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has joined #immutant22:36
*** tcrawley is now known as tcrawley-away22:38
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has quit IRC (Ping timeout: 240 seconds)22:40
*** bobmcw <bobmcw!~bobmcw@71.48.146.62> has joined #immutant23:04
*** bobmcw <bobmcw!~bobmcw@71.48.146.62> has quit IRC (Changing host)23:04
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has joined #immutant23:04
*** cemerick <cemerick!~cemerick@c-24-34-140-98.hsd1.ma.comcast.net> has joined #immutant23:08
*** bobmcw <bobmcw!~bobmcw@redhat/jboss/bobmcw> has quit IRC (Ping timeout: 264 seconds)23:09
*** cap10morgan__ <cap10morgan__!~cap10morg@71-33-187-7.hlrn.qwest.net> has quit IRC (Quit: Computer has gone to sleep.)23:16
*** cap10morgan__ <cap10morgan__!~cap10morg@71-33-187-7.hlrn.qwest.net> has joined #immutant23:20
*** cap10morgan__ <cap10morgan__!~cap10morg@71-33-187-7.hlrn.qwest.net> has quit IRC (Client Quit)23:20
*** cap10morgan__ <cap10morgan__!~cap10morg@71-33-187-7.hlrn.qwest.net> has joined #immutant23:20
*** cap10morgan__ <cap10morgan__!~cap10morg@71-33-187-7.hlrn.qwest.net> has quit IRC (Read error: Connection reset by peer)23:22
*** cap10morgan__ <cap10morgan__!~cap10morg@71-33-187-7.hlrn.qwest.net> has joined #immutant23:22
*** cap10morgan__ <cap10morgan__!~cap10morg@71-33-187-7.hlrn.qwest.net> has quit IRC (Quit: Computer has gone to sleep.)23:31

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!