00:00:02  * ircretaryquit (Remote host closed the connection)
00:00:11  * ircretaryjoined
00:01:40  * therealkoopaquit (Remote host closed the connection)
00:19:33  * therealkoopajoined
00:28:38  * therealkoopaquit (Remote host closed the connection)
00:52:27  <jjjohnny>why my quadratics backwards
00:52:43  <jjjohnny>anybody got quadratic bezier modules?
01:10:48  * therealkoopajoined
01:19:14  * jxson_joined
01:22:33  * jxsonquit (Ping timeout: 244 seconds)
01:23:38  * shamaquit (Quit: (╯°□°)╯︵ɐɯɐɥs)
01:23:48  * jxson_quit (Ping timeout: 252 seconds)
01:41:16  * coderzachjoined
01:45:59  * coderzachquit (Ping timeout: 256 seconds)
01:58:05  * contrahaxquit
01:59:48  * contrahaxjoined
02:22:26  * therealkoopaquit (Remote host closed the connection)
03:38:15  * therealkoopajoined
04:42:43  * coderzachjoined
04:46:48  * coderzachquit (Ping timeout: 240 seconds)
05:06:26  * phatedjoined
05:43:34  * fotoveritequit (Quit: fotoverite)
06:13:57  * phatedquit (Remote host closed the connection)
06:14:56  * phatedjoined
06:18:16  * djcoinjoined
06:19:27  * phatedquit (Ping timeout: 248 seconds)
06:23:09  * jxsonjoined
06:38:19  * phatedjoined
06:55:26  * phatedquit (Remote host closed the connection)
06:55:53  * pfrazequit (Remote host closed the connection)
07:16:39  * freealljoined
07:22:26  * contrahaxquit (Quit: Sleeping)
07:22:35  * jxsonquit (Remote host closed the connection)
07:28:40  * contrahaxjoined
07:31:21  <tixz>ogd: Thanks, but I guess I'm looking for something more like SQL inner join, than set union. Do you know of any?
07:47:33  <mafintosh>hughsk: don't you have a module that allows you to embed data in a png?
07:48:28  <mafintosh>tixz: can you gist what you mean?
07:51:47  <tixz>https://www.irccloud.com/pastebin/zekUXoVo/
07:51:52  <tixz>Maybe something like that?
07:52:01  <tixz>Join two incoming objects
07:52:39  <tixz>I just stated writing a module as I couldn't find anything on npm
07:52:46  <tixz>their new search sucks btw
07:57:40  <ogd> mafintosh: npm i lsb
07:59:24  <mafintosh>tixz: what can't you use sorted-union-stream for this?
08:00:06  <mafintosh>ogd: nice thx
08:00:32  <tixz>mafintosh: Doesn't it assume the objects are equal and "discards" one side?
08:01:16  <tixz>I want to do an inner join, ie. discard objects can not be joined with an object from either side, and merge the two joined objects
08:01:20  <mafintosh>tixz: ah i see what you're sayign
08:01:38  <mafintosh>tixz: i would go for the pipe api for this. just do sortedJoin(streamA, streamB)
08:02:18  <tixz>okay, how come?
08:02:57  <tixz>I see dealing with potentially n streams probably would be a mess
08:03:14  <tixz>but I guess that's a valid use-case as well
08:10:46  <mafintosh>tixz: i don't how you'd differentiante each stream piping piped to you otherwise
08:10:55  <mafintosh>tixz: supporting multiple streams is just a reduce
08:11:22  <mafintosh>tixz: sortedJoin(sortedJoin(a, b), c) or streams.reduce(sortedJoin)
08:12:47  <tixz>mafintosh: arr yeah, never thought of it like that before! Thanks
08:15:31  <mafintosh>tixz: this is pretty useful if you want to build this sort of thing, https://github.com/mafintosh/stream-iterate
08:15:53  <mafintosh>tixz: also you don't need from2-array anymore - from2 has that build in now :)
08:16:19  <tixz>Yep, was gonna use sorted-union-stream as a template :P Still considering how to handle "merge conflicts" between the two sides
08:16:31  <tixz>Arr cool!
08:17:15  <mafintosh>tixz: i would just use both values
08:17:24  <mafintosh>tixz: after each other
08:17:45  <tixz>Alright, so not merge, just throw them in an array and let the user merge them?
08:17:55  <tixz>* or do whatever
08:18:02  <mafintosh>tixz: so your example you'd get, {id: 1, right: true}, {id: 1, left: true}, {id: 2, right: true}, {id: 3, left: true}
08:18:28  <mafintosh>tixz: and then optionally support a merge function
08:19:01  <mafintosh>tixz: if you want to use arrays of pairs you can just use https://github.com/maxogden/sorted-diff-stream
08:19:10  <tixz>hmm, maybe that's a better way, but then you drift away from the inner-join idea
08:20:39  <tixz>mafintosh: haha, I want the exact opposite of sorted-diff-stream
08:20:56  <tixz>guess I can just use that and negate the isEqual function
08:21:55  <mafintosh>tixz: curious to see what you end up with. ping me when something is on github
08:22:22  <tixz>Hmm, probably will just do the easiest thing and use sorted-diff-stream
08:28:42  <mafintosh>tixz: i'd put that onliner on npm that uses sorted-diff-stream and inverts the isEqual function if i was you - seems super useful
08:30:23  <tixz>mafintosh: Okay :) After some thought I think I'd actually pursue the original idea of SQL inner join, with your feedback
08:30:38  <mafintosh>tixz: sweet
08:31:12  <tixz>I find myself thinking in sets and relations all the time when working with data, so being able to do cartesian product, union, intersect, diff and all those just eases the mind :p
08:32:01  <mafintosh>tixz: having all these things as streams makes it super easy to use with leveldb as well
08:32:08  <mafintosh>or in the browser
08:50:34  * peutetrejoined
08:53:52  * bin_005joined
09:00:59  * bin_005_djoined
09:02:19  * bin_005quit (Ping timeout: 244 seconds)
09:35:31  * freeallquit (Remote host closed the connection)
09:36:13  * freealljoined
09:38:13  * freeallquit (Remote host closed the connection)
09:39:08  * freealljoined
09:39:27  * freeallquit (Remote host closed the connection)
09:40:03  * freealljoined
09:40:03  * freeallquit (Remote host closed the connection)
09:40:53  * djcoinquit (Quit: WeeChat 1.0.1)
10:00:20  * contrahaxquit (Quit: Sleeping)
10:06:57  * therealkoopaquit (Remote host closed the connection)
10:07:13  * therealkoopajoined
10:19:02  * freealljoined
10:23:36  * peutetrequit (Quit: ...)
10:24:01  * freeallquit (Ping timeout: 265 seconds)
10:46:38  * peutetrejoined
10:48:22  * freealljoined
10:48:46  * freeallquit (Read error: Connection reset by peer)
10:49:28  * freealljoined
10:51:33  * therealkoopaquit (Remote host closed the connection)
10:56:14  * phatedjoined
11:00:52  * phatedquit (Ping timeout: 256 seconds)
11:10:07  * freeallquit (Read error: Connection reset by peer)
11:10:39  * freealljoined
11:15:49  * freeallquit (Read error: No route to host)
11:16:01  * freealljoined
11:24:31  * bin_005_dquit (Ping timeout: 248 seconds)
11:49:33  * freeallquit (Read error: No route to host)
11:49:55  * freealljoined
11:50:50  * peutetrequit (Quit: ...)
11:58:04  * coderzachjoined
12:02:29  * coderzachquit (Ping timeout: 246 seconds)
12:15:27  * peutetrejoined
12:20:03  * fotoveritejoined
12:31:05  * freeall_joined
12:31:37  * freeallquit (Ping timeout: 264 seconds)
12:37:32  * therealkoopajoined
12:43:02  <tixz>Favourite arg parser?
12:49:17  * freeall_quit (Read error: Connection reset by peer)
12:49:42  * freealljoined
13:10:46  <ralphtheninja>tixz: I use rc which uses minimist
13:12:26  * knownasilyajoined
13:14:09  <tixz>ralphtheninja: Thanks, that seems a bit more than I need, but minimist is great
13:14:26  * peutetrequit (Quit: ...)
13:19:00  * tilgovijoined
13:32:30  * pfrazejoined
13:34:28  * peutetrejoined
13:47:25  * coderzachjoined
13:59:58  * pfrazequit (Remote host closed the connection)
14:05:46  * pfrazejoined
14:15:05  * tilgoviquit (Ping timeout: 250 seconds)
14:24:35  * freeallquit (Read error: Connection reset by peer)
14:24:49  * freealljoined
14:37:42  * tilgovijoined
14:41:52  * freeallquit (Remote host closed the connection)
14:42:24  * freealljoined
14:42:53  * peutetrequit (Quit: ...)
14:46:38  * freeallquit (Ping timeout: 246 seconds)
14:56:12  * peutetrejoined
15:56:19  * peutetrequit (Quit: ...)
16:35:42  * peutetrejoined
16:38:10  * shamajoined
16:39:40  * phatedjoined
16:45:35  * peutetrequit (Quit: ...)
17:28:08  * domanicjoined
17:28:15  * mmaleckiquit (Remote host closed the connection)
17:29:15  * mmaleckijoined
17:35:49  * jxsonjoined
17:36:23  * jxsonquit (Remote host closed the connection)
17:37:21  * jxsonjoined
17:42:40  * freealljoined
17:47:24  * freeallquit (Ping timeout: 264 seconds)
17:51:48  * coderzachquit (Remote host closed the connection)
17:54:00  * tilgoviquit (Ping timeout: 265 seconds)
18:13:07  * tilgovijoined
18:30:50  * domanicquit (*.net *.split)
18:30:52  * groundwaterquit (*.net *.split)
18:30:52  * thisandagainquit (*.net *.split)
18:30:53  * terinjokes_quit (*.net *.split)
18:30:55  * hackygoluckyquit (*.net *.split)
18:30:55  * owenb_____quit (*.net *.split)
18:30:55  * parshapquit (*.net *.split)
18:30:57  * calvinmetcalfquit (*.net *.split)
18:30:57  * dubroy__________quit (*.net *.split)
18:30:57  * hughskquit (*.net *.split)
18:30:57  * tanepiperquit (*.net *.split)
18:30:57  * ELLIOTTCABLEquit (*.net *.split)
18:30:57  * mmckeggquit (*.net *.split)
18:30:59  * ladekjaerquit (*.net *.split)
18:48:25  * coderzachjoined
19:02:54  * contrahaxjoined
19:02:56  * bin_005joined
19:49:09  * domanicjoined
19:53:35  * hackygoluckyjoined
19:53:44  * owenb_____joined
19:53:58  * tanepiperjoined
19:57:20  * groundwaterjoined
19:57:36  * calvinmetcalfjoined
19:58:02  * mmckeggjoined
19:58:17  * parshapjoined
20:00:21  * thisandagainjoined
20:02:08  * terinjokes_joined
20:02:24  * ladekjaerjoined
20:02:28  * hughskjoined
20:03:17  * dubroy__________joined
20:05:23  * ELLIOTTCABLEjoined
21:07:47  * domanicquit (Ping timeout: 244 seconds)
21:30:00  * coderzachquit (Remote host closed the connection)
21:30:37  * coderzachjoined
21:31:25  * freealljoined
21:35:51  * coderzachquit (Ping timeout: 265 seconds)
21:39:04  * freeall_joined
21:41:40  * freeallquit (Ping timeout: 246 seconds)
21:50:57  * reqsharkjoined
21:58:28  * freeall_quit (Remote host closed the connection)
21:58:41  * freealljoined
22:24:16  * bin_005quit (Ping timeout: 255 seconds)
22:26:24  * freeallquit (Remote host closed the connection)
22:30:28  * coderzachjoined
22:43:19  * dguttmanjoined
23:00:49  * domanicjoined
23:01:48  * knownasilyaquit (Quit: Connection closed for inactivity)
23:13:59  <domanic>substack, hey i was messing around with a thing and then thought I might have invented trumpet
23:25:01  * tilgoviquit (Ping timeout: 264 seconds)
23:26:03  * jxson_joined
23:29:51  * jxsonquit (Ping timeout: 248 seconds)
23:30:23  * jxson_quit (Ping timeout: 248 seconds)
23:32:42  <substack>domanic: the insight I had later is that by splitting up tokenizing from selecting everything is much easier
23:33:06  <substack>and a tokenizer is a natural fit for streaming
23:33:19  <domanic>substack, yeah
23:33:37  <domanic>question. with trumpet, can you update an element over and over?
23:33:49  <domanic>can I stream a clock that ticks?
23:34:57  <substack>no it's start to end
23:53:27  <domanic>substack, ah, okay so my thing is a little different
23:53:45  <domanic>you send lines of json that are like
23:54:07  <domanic>{append: [tag, attrs, content...], id: element_id}
23:54:30  <domanic>where append can also be update, prepend, content...
23:54:47  <domanic>then you can stream a new message that changes an old element
23:54:55  <domanic>inspired by the terminal, actually
23:55:30  <domanic>or teletypes, rather