00:00:01  * ircretaryquit (Remote host closed the connection)
00:00:10  * ircretaryjoined
00:20:48  * jxson_joined
00:23:54  * jxsonquit (Ping timeout: 256 seconds)
00:25:44  * jxson_quit (Ping timeout: 265 seconds)
00:35:33  * phatedquit (Remote host closed the connection)
00:46:49  * shamaquit (Remote host closed the connection)
00:48:07  * shamajoined
00:50:02  <feross>anyone know a module like https://github.com/isaacs/block-stream but that uses streams2?
00:54:18  * thlorenzjoined
00:57:03  * domanicjoined
00:58:37  * thlorenzquit (Ping timeout: 256 seconds)
01:06:25  * domanicquit (Ping timeout: 264 seconds)
01:16:00  <ogd>feross: check out byte-stream
01:16:32  <ogd>feross: you can slice by time and/or space threshholds :)
01:17:01  <feross>ogd: wow, the function name is MargaretBatcher
01:17:05  <ogd>:)
01:17:20  * contrahaxquit (Quit: Sleeping)
01:18:45  <feross>ogd: looks like byte-stream isn't very strict about the size of buffer it outputs
01:19:10  <feross>might be bigger than the byte limit if the writer writes a bigger chunk
01:19:24  <ogd>feross: hmm that shouldnt be the case
01:19:59  <feross>ogd: i don't see any calls to slice in there
01:20:07  <feross>i want to use this for torrent piece hashing, so they need to be exactly the right size
01:21:25  <ogd>feross: oh right
01:21:37  <ogd>feross: api is kinda weird actually
01:21:37  <feross>i just found https://github.com/substack/block-stream2
01:21:49  <ogd>feross: you get an array of buffers whose cumulative size is under your target size
01:22:01  <feross>oh weird
01:23:50  <ogd>feross: yea it might not fit your use case exactly
01:33:45  * yoshuawuyts2joined
01:33:52  * domanicjoined
01:34:46  <guybrush>mafintosh, what do you think about adding a feature to signalhub (client) to connect to signalhubs at runtime?
01:35:02  <guybrush>like hub.connect([url])
01:36:03  <guybrush>or would it be better to just run multiple hubs?
01:36:16  <guybrush>yeah i guess that would be better
01:37:20  <guybrush>but maybe expose the urls of a hub? `that.urls = urls.map()` https://github.com/mafintosh/signalhub/blob/master/index.js#L15
01:37:57  * anvakajoined
01:38:33  * domanicquit (Ping timeout: 240 seconds)
01:38:51  * yoshuawuyts2quit (Ping timeout: 256 seconds)
01:40:23  <guybrush>well i guess not even that is necessary
01:40:25  <guybrush>so nvm :p
01:42:40  * anvakaquit (Ping timeout: 272 seconds)
01:54:03  * shamaquit (Remote host closed the connection)
01:58:12  * shamajoined
02:07:34  * shamaquit (Remote host closed the connection)
02:13:47  * shamajoined
02:13:50  * dguttmanquit (Ping timeout: 272 seconds)
02:14:19  * shamaquit (Remote host closed the connection)
02:20:53  * pfrazequit (Remote host closed the connection)
02:22:18  * shamajoined
02:31:02  * pfrazejoined
02:37:30  * pfrazequit (Remote host closed the connection)
02:38:47  * pfrazejoined
02:43:00  * thlorenzjoined
02:47:08  * thlorenzquit (Ping timeout: 244 seconds)
02:48:25  * shamaquit (Remote host closed the connection)
02:50:28  * jxsonjoined
02:50:49  * sz0quit (Ping timeout: 256 seconds)
02:51:44  * jxsonquit (Read error: Connection reset by peer)
02:51:51  * jxsonjoined
02:52:49  * sz0joined
02:56:46  * jxsonquit (Ping timeout: 272 seconds)
03:01:11  * shamajoined
03:13:14  * tilgoviquit (Ping timeout: 272 seconds)
03:13:46  * tilgovijoined
03:20:50  * tilgoviquit (Ping timeout: 272 seconds)
03:26:13  * anvakajoined
03:27:40  * jxsonjoined
03:30:58  * anvakaquit (Ping timeout: 272 seconds)
03:32:11  * jxsonquit (Ping timeout: 256 seconds)
03:33:01  * tilgovijoined
03:48:25  * shamaquit (Quit: (╯°□°)╯︵ɐɯɐɥs)
03:54:25  * tilgoviquit (Ping timeout: 264 seconds)
03:55:13  * anvakajoined
04:00:49  * sethvincentquit (Ping timeout: 265 seconds)
04:00:51  * fotoveritejoined
04:14:29  * anvakaquit (Remote host closed the connection)
04:25:45  * anvakajoined
05:11:40  * yoshuawuyts2joined
05:16:29  * yoshuawuyts2quit (Ping timeout: 245 seconds)
05:43:42  * pfrazequit (Remote host closed the connection)
05:52:09  * tilgovijoined
05:57:34  <guybrush>substack (and everyone else) i would love to get feedback for this https://gist.github.com/guybrush/11fcb03b8b61b23ae822
05:59:44  <guybrush>im close to get everything up, but im very concerned about security-stuff - basically i want to use casboot (like keyboot but for content-addressable-store) to store and load apps, but i think i have to use subdomains (or different domains) to be secure
06:00:31  <guybrush>im currently trying to get a video-chat-example running where i store last 5minutes in casboot
06:00:56  <guybrush>(need to publish and host casboot yet, but it doesnt quite work yet)
06:08:50  <guybrush>that is, maybe i should just go with htmlb.in :p
06:24:00  * tilgoviquit (Ping timeout: 272 seconds)
06:38:04  * tilgovijoined
06:56:35  <guybrush>also this https://github.com/guybrush/keyboot-app/blob/master/index.js
06:57:07  <guybrush>should i change author to substack? if you like this, keyboot should depend on it
06:57:28  <guybrush>(did not put it on npm yet)
06:59:07  <guybrush>maybe it would be better to make a keyboot-server? so people can use require('keyboot') for apps?
07:11:40  * tilgoviquit (Ping timeout: 255 seconds)
07:17:42  * tilgovijoined
07:24:59  * contrahaxjoined
07:39:12  * reqsharkquit (Quit: Be back later ...)
07:47:57  * contrahaxquit (Quit: Sleeping)
07:53:25  * tilgoviquit (Ping timeout: 256 seconds)
07:59:11  * contrahaxjoined
08:03:16  * contrahaxquit (Client Quit)
08:14:10  * yoshuawuyts2joined
08:18:47  * yoshuawuyts2quit (Ping timeout: 246 seconds)
08:55:14  <guybrush>ok i did know there were sandboxed iframes, but never played with them before
08:55:25  <guybrush>this is awesome :D
09:01:08  * sz0quit (Ping timeout: 246 seconds)
09:07:25  * sz0joined
09:10:05  * anvakaquit (Remote host closed the connection)
09:15:18  * eugeneware_joined
09:16:41  * ralphthe1injajoined
09:16:45  * eugenewarequit (Ping timeout: 256 seconds)
09:16:47  * ralphtheninjaquit (Ping timeout: 256 seconds)
09:16:58  * eugeneware_changed nick to eugeneware
09:19:37  * ralphthe1injachanged nick to ralphtheninja
09:30:03  * yoshuawuyts2joined
09:35:03  * yoshuawuyts2quit (Ping timeout: 258 seconds)
09:35:10  * kanzure_joined
09:36:33  * darvon_joined
09:36:45  * null_rad-joined
09:37:45  * null_radixquit (*.net *.split)
09:37:45  * kanzurequit (*.net *.split)
09:37:45  * machtyquit (*.net *.split)
09:37:45  * darvonquit (*.net *.split)
09:37:46  * darvon_changed nick to darvon
09:39:40  * machty_joined
09:42:42  * machty_changed nick to machty
09:55:57  <guybrush>well chrome and firefox are different again :/
10:04:23  <guybrush>https://fd21a0b27ce2d056fa9587a9b096a84b90312839.htmlb.in
10:04:30  <guybrush>works in ff but not in chrome
10:05:25  <guybrush>but im not sure if this is a bug, and when in which browser haha
10:10:40  <guybrush>oh i see
10:10:52  <guybrush>allow-same-origin makes it work in chrome
10:18:42  * anvakajoined
10:23:22  * anvakaquit (Ping timeout: 258 seconds)
10:55:42  * fotoveritequit (Quit: fotoverite)
10:57:02  * fotoveritejoined
11:03:41  * passyjoined
11:34:20  * yoshuawuyts2joined
11:44:17  * fotoveritequit (Quit: fotoverite)
12:07:00  * anvakajoined
12:11:20  * anvakaquit (Ping timeout: 244 seconds)
12:21:35  * contrahaxjoined
12:41:20  * contrahaxquit (Quit: Sleeping)
12:55:38  * yoshuawuyts2quit (Ping timeout: 246 seconds)
13:18:54  * peutetrejoined
13:25:03  * peutetrequit (Quit: ...)
13:46:33  * pfrazejoined
13:55:21  * anvakajoined
13:59:50  * anvakaquit (Ping timeout: 244 seconds)
14:59:48  * pfrazequit (Read error: Connection reset by peer)
15:00:24  * pfrazejoined
15:00:36  * gozalaquit (Ping timeout: 265 seconds)
15:00:56  * sindresorhusquit (Read error: Connection reset by peer)
15:01:03  * mrb_bkquit (Ping timeout: 265 seconds)
15:01:05  * montesluquit (Read error: Connection reset by peer)
15:01:07  * passyquit (Read error: Connection reset by peer)
15:01:07  * eugenewarequit (Read error: Connection reset by peer)
15:01:07  * johnkpaulquit (Read error: Connection reset by peer)
15:01:32  * creationixquit (Ping timeout: 265 seconds)
15:02:14  * gozalajoined
15:03:28  * creationixjoined
15:06:09  * mrb_bkjoined
15:06:28  * eugenewarejoined
15:07:25  * sindresorhusjoined
15:07:30  * passyjoined
15:07:34  * johnkpauljoined
15:08:40  * monteslujoined
15:36:37  * thlorenzjoined
15:36:51  * thlorenzquit (Remote host closed the connection)
15:43:47  * anvakajoined
15:48:43  * anvakaquit (Ping timeout: 255 seconds)
15:52:16  * simalexanjoined
16:24:23  * thlorenzjoined
16:31:53  <mikolalysenko>guybrush: that is pretty sweet!
16:35:52  <substack>any suggestions on process restarters?
16:36:03  <substack>pm2 and forever don't actually restart my scripts when they crash
16:48:07  <substack>looking into whipping up a command-line tool for mafintosh's respawn
16:50:36  <mafintosh>substack: we could add that to the respawn module. I can add you if want to do that?
16:53:10  <substack>sure, sounds good
16:53:10  <substack>I'm just going to submit a PR though
16:53:43  <substack>also I think maxRestarts !== 0 as a default is breally bad
16:53:56  <substack>or !== -1 rather
16:54:15  <substack>all the other tools do that, and I think it's just so that the logs don't fill up
16:55:23  <substack>but it would be much better if the logging was just throttled instead
16:55:48  <substack>in my case the sudoroom door system will fail if the usb cable gets unplugged
16:55:58  <substack>I want it to just keep retrying until somebody plugs the cable back in
16:57:14  <mafintosh>substack: just put that in the pr as well
16:57:37  <substack>ok
16:58:17  <substack>it's also bad if you're running a web service with a bug that will cause the server to crash, since you can just send 10 requests in 60 seconds and bring the server down until somebody brings it back up manually
17:01:13  <mafintosh>substack: yea i agree. In general i just always set unopionated defaults now buy respawn is from before that time :)
17:02:28  <substack>I'll also make an example of how to set up respawn with init scripts
17:07:35  * tilgovijoined
17:19:36  * pfrazequit (Remote host closed the connection)
17:27:04  * simalexanquit (Remote host closed the connection)
17:39:14  * passyquit (Quit: Connection closed for inactivity)
17:46:18  <mmalecki>substack: would you be able to use OS' init daemon?
17:46:35  <mmalecki>substack: (I would strongly advise against forever)
17:52:23  * dguttmanjoined
18:01:16  * null_rad-changed nick to null_radix
18:02:11  <ogd>substack: check out https://github.com/maxogden/taco-mon
18:02:28  <ogd>substack: or just https://github.com/maxogden/mon-prebuilt
18:04:45  * thlorenzquit (Remote host closed the connection)
18:19:35  * anvakajoined
18:29:43  * thlorenzjoined
18:36:32  * thlorenzquit (Remote host closed the connection)
18:37:13  * phatedjoined
18:38:09  <mafintosh>does anyone know if you can do mknod from node? or if there is a module for this?
18:47:47  <substack>ogd: this system won't change very much so I don't need the deployment aspects as much I think
18:47:53  <substack>might be useful for some other systems I run though
18:49:37  * thlorenzjoined
18:51:06  * thlorenzquit (Remote host closed the connection)
18:53:28  * thlorenzjoined
18:58:22  * thlorenzquit (Ping timeout: 265 seconds)
19:00:51  <mafintosh>node bindings for mknod incase someone ends up looking for the same thing, https://github.com/mafintosh/mknod
19:15:17  * simalexanjoined
19:27:01  * thlorenzjoined
19:28:36  * thlorenzquit (Remote host closed the connection)
19:33:37  * thlorenzjoined
19:34:50  * thlorenzquit (Remote host closed the connection)
19:35:04  * thlorenzjoined
19:35:32  * pfrazejoined
19:41:38  * fotoveritejoined
19:49:48  * thlorenzquit (Remote host closed the connection)
19:52:26  * simalexanquit (Remote host closed the connection)
19:53:33  * thlorenzjoined
19:59:06  * thlorenzquit (Remote host closed the connection)
20:10:30  <substack>mafintosh: I think this command might be more fitting in the respawn-group package actually
20:10:45  <substack>but it would be also nice if the respawn package came with a command
20:11:11  <substack>what about a respawn-command package? respawn could also depend on it, but then everything would get a little cyclic
20:25:08  * simalexanjoined
20:33:33  * simalexanquit (Remote host closed the connection)
20:42:10  <mafintosh>substack: yea hmm ...
21:11:19  * pfrazequit (Remote host closed the connection)
21:12:05  * pfraze_joined
21:30:05  * thlorenzjoined
21:34:58  * thlorenzquit (Ping timeout: 265 seconds)
21:46:58  <owen1>substack: if you use docker you don't need any process restarter: docker run --restart always --detach my-image
21:48:03  <owen1>or --restart on-failure[:max-retry]
22:30:42  * thlorenzjoined
22:35:52  * thlorenzquit (Ping timeout: 265 seconds)
22:36:28  <wao>substack: i'm using supervisor for restarting :)
22:37:03  <wao>substack: btw, I was kinda shy to ask you at jsconfb, but have you heard about cjdns? :)
22:37:18  <wao>because friends of mine were asking you about that distributed services and so on
22:40:52  * phatedquit (Remote host closed the connection)
22:48:48  * contrahaxjoined
23:08:32  * contrahaxquit (Quit: Sleeping)
23:26:33  * thlorenzjoined
23:44:10  * dguttmanquit (Quit: dguttman)
23:50:58  * thlorenzquit (Remote host closed the connection)
23:53:02  * domanicjoined