00:02:53  * ITprojoined
00:19:37  * ITproquit
00:34:55  <substack>st_luke_: and a map! http://www.clearlycultural.com/geert-hofstede-cultural-dimensions/power-distance-index/
01:14:34  * st_lukejoined
01:39:30  * AvianFluquit (Quit: AvianFlu)
01:41:43  * jibay__quit (Quit: Leaving)
01:46:58  * AvianFlujoined
01:55:50  <Raynos>substack: turning req, res into a single duplex is a reasonable idea
01:57:40  <Raynos>substack: why do you care about duplex-pipe
01:57:54  <Raynos>oh wait I see
01:58:09  <Raynos>Its for half duplex
02:00:48  <substack>yeah it's because of /^[0-9a-fA-F]+ ([0-9a-fA-F]+) refs\/heads\/([^\s\0]+)/
02:00:51  <substack>haha wup
02:00:55  <substack>it's because of https://github.com/joyent/node/pull/2524
02:01:30  <substack>so much crazy shit about to land in pushover
02:01:45  <substack>and I need all of it
02:01:47  <substack>for things >_>
02:07:24  <AvianFlu>AND STUFF TOO I BET
02:07:25  <LOUDBOT>FINISH THAT SEPTA THING
02:08:29  <substack>AvianFlu: correct
02:08:31  <substack>stuff and things
02:15:10  <substack>pow all the tests pass
02:17:30  * ryan_stevensjoined
02:49:51  * ryan_stevensquit (Quit: Leaving.)
02:51:11  <jesusabdullah>substack: https://gist.github.com/3768649 do you know of any good way to do this?
02:52:17  <jesusabdullah>quite glad I reminded you of pushover >:D
02:53:08  <Raynos>jesusabdullah: what do you mean with ptth?
02:53:18  <jesusabdullah>Raynos: that's a hypothetical library
02:53:23  <jesusabdullah>Raynos: it's "http" spelled backwards
02:53:26  <Raynos>why would you want that?
02:53:29  <Raynos>Oh I see
02:53:41  <jesusabdullah>I want clients to be able to handle server requests transparently
02:53:51  <jesusabdullah>right now I'm looking at implementing a dnode-based protocol >_<
02:54:05  <jesusabdullah>which is less insane than it sounds I think ;)
02:54:28  <Raynos>i have no idea whats going on
02:54:44  <substack>whats
02:54:46  <substack>same
02:55:05  <substack>jesusabdullah: well I need pushover improvements for testling-ci
02:55:45  <jesusabdullah>okay, so the idea is this
02:55:56  <jesusabdullah>I have a server, a web client, and a node client
02:56:09  <jesusabdullah>the node client connects to the server via http and registers itself as a "worker"
02:56:16  <jesusabdullah>so the web client then makes a request
02:56:32  <jesusabdullah>and the server passes the request and response to a worker, through the established connection going "the other way"
02:56:58  <jesusabdullah>meaning, it sends the new request down the worker's response pipe, and the worker sends the response back up in its request body
03:03:53  <substack>new pushover api: http://github.com/substack/pushover
03:04:30  <Raynos>jesusabdullah: just use dnode or streams >_<
03:08:47  <AvianFlu>PTTH WOULDN'T DO THAT MAN
03:08:48  <LOUDBOT>SAY A VOICE COMMAND TO CONTINIE >>
03:10:26  <jesusabdullah>Raynos: that's what I'm doing
03:10:32  <jesusabdullah>Raynos: is using dnode to shim out the streams
03:10:40  <Raynos>dont do that >_<
03:10:44  <Raynos>emulating streams on top of dnode
03:10:47  <Raynos>is crazy
03:10:48  <Raynos>use streams
03:11:21  <substack>just write a thing that tells mux-demux what to do in dnode
03:11:29  <substack>if you need dnode at all
03:15:21  <jesusabdullah>but you don't *just* need streams, you also need to send the headers
03:16:02  <Raynos>oh
03:16:05  <jesusabdullah>I've thought about this a while
03:16:24  <Raynos>then be a HTTP proxy
03:16:29  <jesusabdullah>no, that's backwards
03:16:37  <jesusabdullah>the workers have to be exposed on public IPs in that case
03:16:41  <jesusabdullah>that's what I'm trying to avoid here
03:17:09  <Raynos>an in process HTTP proxy
03:17:35  <jesusabdullah>actually, mux/demux is a good idea
03:17:51  <jesusabdullah>I can use 3 muxed streams, one for dnode and two for the request/response streams
03:18:00  <jesusabdullah>where's the github for that, do you know off-hand?
03:18:34  <Raynos>dominictarr/mux-demux
03:19:24  <Raynos>also npm docs mux-demux
03:20:45  <jesusabdullah>a'ight
03:33:47  * ryan_stevensjoined
05:21:07  * AvianFluquit (Quit: AvianFlu)
05:25:38  * st_lukequit (Remote host closed the connection)
06:03:32  * ryan_stevensquit (Quit: Leaving.)
06:38:24  * AvianFlujoined
06:40:44  <substack>hooray subdirs
06:41:00  <AvianFlu>HEY LOUDBOT THE DAY IS WONDERFUL AND MYSTERIOUS
06:41:01  <LOUDBOT>SO COLD HE DOES NOT EMIT LIGHT
06:41:10  <AvianFlu>WHAT WILL YOU DO WITH ALL OF THIS
06:41:10  <LOUDBOT>ACHIEVEMENT UNLOCKED: STOLEN KILL
06:42:16  <substack>pow pushover can now do subdirs https://github.com/substack/pushover
06:53:28  * zuquit (*.net *.split)
06:53:28  * pkruminsquit (*.net *.split)
06:54:05  <jesusabdullah>substack: https://github.com/jesusabdullah/dohttp got dnode working over raw http
06:55:35  * LOUDBOTquit (Read error: Operation timed out)
06:57:04  * LOUDBOTjoined
07:04:39  <substack>yep
07:11:10  * zujoined
07:11:10  * pkruminsjoined
08:34:18  <guybrush>component is to npm like coffeescript is to javascript https://github.com/component/component/issues/40#issuecomment-8796447
09:10:39  <jesusabdullah>substack: does dnode smartly package buffers or is that something I need to do?
09:47:48  * AvianFluquit (Quit: AvianFlu)
10:14:02  * jibayjoined
10:21:18  * dominictarrjoined
12:02:43  * blakmatrix_part
13:06:32  <Raynos>isaacs: pong. console.error in error-page is rageface
15:25:23  * AvianFlujoined
19:08:33  * st_lukejoined
19:57:24  * ryan_stevensjoined
21:11:19  * ITprojoined
21:54:08  * mike-djoined
22:24:25  * owen1joined
22:25:26  <owen1>oh this is sabstackian channel!
22:25:30  <owen1>what's going on here
22:44:51  <Raynos>This reminds me
22:44:57  <Raynos>I havnt seen substack in a while
22:45:00  <Raynos>I should visit him
22:45:06  <Raynos>even though I saw him 3 weeks ago
22:46:51  <substack>I'll be in Lisbon soon
22:46:53  <substack>then Berlin
22:47:05  <Raynos>Oh I see
22:47:07  <Raynos>Man
22:47:09  <Raynos>world touring
22:47:15  <Raynos>that's the live
23:05:08  <substack>https://en.wikipedia.org/wiki/Stream_Control_Transmission_Protocol
23:05:13  <substack>dominictarr: ^^^
23:06:45  <dominictarr>tunnels inside tunnels inside tunnels.
23:07:07  <dominictarr>what we really need is to tunnel udp over http.
23:07:16  <dominictarr>maybe we can use SCTP for that?
23:08:17  <substack>perhaps!
23:19:50  <dominictarr>substack, do you know of a module for randomly generating names?
23:20:11  <substack>what kind of names?
23:20:48  <dominictarr>people's names. like with markov chains
23:21:24  <substack>nope
23:21:28  <substack>but I did write that markov thing
23:21:30  <dominictarr>hmm, I wrote this thing once...
23:22:32  <substack>there we go, forgot to put the example on the readme https://github.com/substack/http-duplex
23:23:13  <substack>merges (req,res) into a single duplex stream
23:23:23  <substack>with all of the functions and properties from both req and res
23:24:01  <dominictarr>substack did you use http://npm.im/duplexer
23:24:33  <substack>I tried to at first but then I ran into https://github.com/joyent/node/issues/2524
23:25:02  <dominictarr>oh, yeah, I hate that issue.
23:25:59  <dominictarr>your suggestion is good
23:27:20  <dominictarr>substack, until that issue is resolved, streams that may be half duplex need to say "goodbye" before either end hangs up, like you do on a telephone.
23:28:30  <substack>anyhow we can just use https://github.com/substack/duplex-pipe in the meantime
23:29:41  <dominictarr>there is another trick you _could_ use too.
23:30:13  <dominictarr>add an newListener listener and grab the cleanup function and then remove that listener.
23:33:07  <substack>it does that
23:33:11  <substack>not with newListener though
23:33:52  <substack>https://github.com/substack/duplex-pipe/blob/master/index.js#L29-L36
23:34:36  <substack>that way when somebody pipes to a duplex-pipe stream from a core listener it compensates
23:42:12  <substack>NOW THEN
23:42:13  <LOUDBOT>SPIDER ESCH, SPIDER ESCH, DOES WHATEVER A SPIDER ESCH
23:42:28  <substack>I'm going to get all my examples in order for Lisbon
23:42:41  <substack>scrambling ahead of a talk super sucks