00:06:01  * kenperkinsquit (Quit: Computer has gone to sleep.)
00:12:06  * funkytekquit (Ping timeout: 252 seconds)
00:13:04  * funkytekjoined
00:13:26  * brianloveswordsquit (Excess Flood)
00:14:03  * brianloveswordsjoined
00:14:19  * ferossquit (Quit: feross)
00:14:30  * ilterisjoined
00:15:43  * mikolalysenkojoined
00:16:07  * ferossjoined
00:16:40  * ednapiranhaquit (Quit: Leaving...)
00:34:01  * AvianPhonejoined
00:37:34  * stagasjoined
00:43:11  * dominictarrquit (Ping timeout: 272 seconds)
00:43:55  * Aviaphonejoined
00:45:27  * ceejbotquit (Remote host closed the connection)
00:47:36  * chromakode_joined
00:48:07  * AvianPhonequit (Ping timeout: 265 seconds)
00:49:13  * Aviaphonequit (Quit: Bye)
00:49:51  * chromakode_quit (Client Quit)
00:50:08  * AvianFlujoined
00:54:16  * coderzachjoined
00:54:56  * phatedjoined
00:56:06  * funkytekquit (Ping timeout: 252 seconds)
00:56:10  * i_m_cajoined
00:58:09  * coderzachquit (Remote host closed the connection)
00:59:57  * phatedquit (Ping timeout: 252 seconds)
01:01:13  * coderzachjoined
01:04:21  * funkytekjoined
01:05:41  * coderzachquit (Ping timeout: 248 seconds)
01:08:36  * phatedjoined
01:08:42  <juliangruber>with readable streams, how can I do clean up work when no more data will be read?
01:09:23  <juliangruber>substack ogd rvagg ^
01:09:30  * ednapiranhajoined
01:09:40  <rvagg>_flush ?
01:09:49  <juliangruber>that's only for transform streams
01:09:53  <rvagg>juliangruber: depends on what you mean by cleanup?
01:10:06  <juliangruber>for example a tcp connection
01:10:21  <rvagg>oh right
01:10:32  <rvagg>one of the events! 'end' maybe
01:11:10  <juliangruber>i tried readable.pipe(writable); writable.end(); and couldn't find an event that was emitted
01:11:28  <juliangruber>tried end close finish
01:11:46  <rvagg>will look in a mo, just fixing up some nodei.co stuff
01:11:55  <juliangruber>wow thanks!
01:12:11  <ogd>rvagg: what is the name of the cert provider that didnt work and what is the name of the one that works?
01:12:29  <rvagg>starfield (godaddy???) I was using before and comodo now
01:12:39  <rvagg>would have thought starfield was a safe bet
01:12:58  <rvagg>not in a politically-correct nerds-come-bash-down-your-door kind of 'safe' way
01:13:47  <rvagg>I'll just go with comodo since testling hasn't had any problems
01:14:01  <rvagg>except for the no-cache header, but I already had that on nodei.co
01:14:17  * coderzachjoined
01:15:08  <rvagg>the thing that annoys me the most here is that github feel it their responsibility to set a new kind of standard for "privacy" unilaterally, with no community discussion and obviously not much testing
01:15:29  <rvagg>for the group of people on the internet most likely to be aware and protective of their own privacy needs in the first place, they're not looking after a bunch of children here
01:15:51  <rvagg>READMEs have so much potential to be a rich source of information but they're slowly but surely strangling that
01:16:18  <ogd>yea i would have appreciated more than a 30 word blog post
01:16:26  <ogd>but you get what you pay for right
01:16:38  <rvagg>hah! I pay my fair share to github
01:17:16  <ogd>not for the public repos :P
01:17:26  <rvagg>the $-per-private repos really bites node devs
01:18:06  * stagasquit (Remote host closed the connection)
01:18:08  <substack>it does encourage development in a not-ideal way of bigger apps
01:18:19  <substack>but it ALSO encourages releasing modules as open source because it's free
01:18:23  <substack>so it's mixed
01:18:45  <rvagg>ruby-style dev promoted by ruby-devs, fair enough
01:21:08  * funkytekquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:21:51  * ceejbotjoined
01:24:05  <juliangruber>rvagg: here's a gist if that helps: https://gist.github.com/juliangruber/8795832
01:24:54  <groundwater>othiym23 ogd slow-clap for #node.js
01:25:08  <ogd>:)
01:25:40  <othiym23>O:D
01:28:07  * thlorenzjoined
01:29:40  <mikolalysenko>at least badges still work on npmjs.org
01:34:41  * kevino80joined
01:34:45  * kevino80quit (Remote host closed the connection)
01:36:54  * yorickquit (Read error: Connection reset by peer)
01:37:12  * dominictarrjoined
01:38:53  <rvagg>juliangruber: what's the use-case here btw?
01:41:47  * thlorenzquit (Ping timeout: 265 seconds)
01:41:56  * tilgovijoined
01:47:02  <rvagg>juliangruber: https://gist.github.com/rvagg/8796067
01:47:14  <rvagg>juliangruber: normally the signal doesn't go back up from writable to the piped readable
01:47:36  <rvagg>writable.on('finish') -> readable.push(null) and clear the in-process timer so it doesn't bork
01:49:02  * kenperkinsjoined
01:49:39  <rvagg>juliangruber: readable should be listening to 'finish' itself and cleaning up, I think the fact that read() keeps on returning available stuff on read(n) means sends the signal that it's not finished, hence the need to finish it manually
01:50:10  <rvagg>juliangruber: but you can imagine a use-case here, a readable that keeps on reading, pipe it to an endpoint until that endpoint has had enough, unpipe and pipe it to another endpoint and the buffer stays intact
02:04:05  * kenperkinsquit (Quit: Computer has gone to sleep.)
02:05:26  * marcello3dchanged nick to marcello3d_zzZ
02:08:28  * Kesslerjoined
02:10:18  * dominictarrquit (Ping timeout: 265 seconds)
02:14:11  * crankquit (Remote host closed the connection)
02:14:46  * crankjoined
02:16:37  * i_m_caquit (Ping timeout: 248 seconds)
02:18:46  * thlorenzjoined
02:19:25  * kenperkinsjoined
02:24:45  * kenperkins_joined
02:24:54  * dguttmanquit (Quit: dguttman)
02:28:19  * kenperkinsquit (Ping timeout: 272 seconds)
02:28:48  * phatedquit (Remote host closed the connection)
02:30:14  * kenperkinsjoined
02:32:50  * defunctzombie_zzchanged nick to defunctzombie
02:33:01  * kenperkins_quit (Ping timeout: 265 seconds)
02:34:51  * tilgoviquit (Remote host closed the connection)
02:36:02  * kenperkins_joined
02:36:07  * kenperkins_quit (Client Quit)
02:36:57  * defunctzombiechanged nick to defunctzombie_zz
02:38:57  * kenperkinsquit (Ping timeout: 252 seconds)
02:43:38  * dominictarrjoined
02:56:15  * mrmrsjoined
02:59:13  * funkytekjoined
03:01:48  * jxson_joined
03:05:24  * jxsonquit (Ping timeout: 265 seconds)
03:06:57  * jxson_quit (Ping timeout: 272 seconds)
03:07:29  * maksimlinjoined
03:20:51  <jjjohnny>substack https://github.com/NHQ/anarcho-source
03:36:05  * funkytekquit (Ping timeout: 248 seconds)
03:44:21  * funkytekjoined
03:48:00  * eugenewarequit (Remote host closed the connection)
03:48:31  * eugenewarejoined
03:49:21  * Kesslerquit (Ping timeout: 252 seconds)
03:53:11  * eugenewarequit (Ping timeout: 272 seconds)
03:53:36  * marcello3d_zzZchanged nick to marcello3d
03:59:28  * ceejbotquit (Remote host closed the connection)
04:02:52  <owen1>jjjohnny: are u familiar with richard wolf's work? http://www.democracyatwork.info/
04:02:56  <owen1>i love this guy
04:19:25  * dguttmanjoined
04:28:27  <mikolalysenko>check out this experiment with game networking: http://mikolalysenko.github.io/local-perception-filter-demo/
04:28:42  <mikolalysenko>pretty early though
04:30:33  * ceejbotjoined
04:30:57  * funkytekquit (Ping timeout: 265 seconds)
04:32:34  * joryquit (Read error: Operation timed out)
04:33:24  * Guest38995joined
04:39:33  * thealphanerdjoined
04:41:03  <mikolalysenko>also is there some module out there that automatically sticks a github ribbon on your gh-pages projects?
04:41:08  <mikolalysenko>(seems like there should be)
04:41:29  * hoobdeeblajoined
04:47:48  * thlorenzquit (Remote host closed the connection)
04:48:03  * coderzachquit (Remote host closed the connection)
04:48:17  * coderzachjoined
04:51:14  * calvinfoquit (Quit: Leaving.)
04:54:21  * marcello3dchanged nick to marcello3d_zzZ
04:55:22  * thlorenzjoined
04:56:41  * dguttmanquit (Quit: dguttman)
05:01:45  * ceejbot_joined
05:01:54  * ceejbotquit (Read error: Connection reset by peer)
05:06:33  * feross_joined
05:08:53  * thlorenzquit (Ping timeout: 248 seconds)
05:11:13  * jxsonjoined
05:13:37  * thealphanerdquit (Quit: thealphanerd)
05:18:25  * indexzerojoined
05:21:00  * ceejbot_quit (Remote host closed the connection)
05:22:22  * ceejbotjoined
05:27:01  * ceejbotquit (Ping timeout: 265 seconds)
05:30:03  <feross_>what should i do when npm decides to save disk space by not installing a dep that is already installed in a parent, but I need the dep to be installed in a predictable location?
05:30:24  <feross_>For example, module A depends on B and C, and module B also depends on module C
05:30:43  <feross_>so npm will only install C in A's node_modules folder
05:31:09  <feross_>this breaks the "browser" field in package.json
05:32:00  <feross_>i'm currently doing { "browser": { "portfinder": "./node_modules/chrome-portfinder/index.js" } }
05:32:11  * wolfeidauquit
05:32:17  <feross_>but because chrome-portfinder is already installed in a parent, it can't find it
05:32:58  <feross_>why does npm do this? to save disk space? couldn't it at least add a symlink to the node_modules folder?
05:33:25  <feross_>anyone run into this problem before? dominictarr defunctzombie_zz
05:49:18  * coderzachquit (Remote host closed the connection)
05:50:12  * phatedjoined
05:51:57  * thealphanerdjoined
05:51:59  * ceejbotjoined
05:52:03  * thealphanerdquit (Client Quit)
05:55:24  * jxsonquit (Remote host closed the connection)
05:55:35  * coderzachjoined
05:55:50  * jxsonjoined
05:56:24  * ceejbotquit (Ping timeout: 252 seconds)
05:57:09  * ceejbotjoined
06:00:05  * coderzachquit (Ping timeout: 248 seconds)
06:00:51  * jxsonquit (Ping timeout: 265 seconds)
06:09:15  <dominictarr>feross_, why do you need the dep to be in predictable location?
06:09:31  <feross_>for the "browser" field in package.json
06:09:55  <feross_>browserify (and other bundlers) use it to figure out if you want to sub out a particular module and use something else in the browser
06:10:00  <dominictarr>can't you do "chrome-portfinder/index.js" ?
06:10:06  <dominictarr>and have that resolve correctly?
06:10:34  <dominictarr>I think it doesn't have to be a relative path.
06:10:41  <grncdr>oh that's interesting
06:10:44  <feross_>i thought it had to be releative
06:10:49  <feross_>let me try
06:10:49  <grncdr>I would not have thought of that
06:12:08  <grncdr>feross_: you seem likely to know, is there an easy way to stream large files into an XHR request in http-browserify?
06:12:34  <feross_>grncdr: like for an upload?
06:12:38  <grncdr>yeah
06:12:52  <feross_>grncdr: i'm sure there is, haven't done anything like that recently though
06:12:56  <feross_>i bet ogd would know
06:13:05  <grncdr>I can get a File object easily enough, and there's a nice module to turn it into a stream
06:13:19  <grncdr>but I don't think xhr objects can actually do anything with a stream
06:13:49  <feross_>https://npmjs.org/package/xhr-write-stream
06:13:58  * Maciek416joined
06:14:08  * maksimlinquit (Quit: ChatZilla 0.9.90.1 [Firefox 26.0/20131206152142])
06:14:29  <feross_>http://maxogden.com/a-proposal-for-streaming-xhr.html
06:14:45  <grncdr>oh that's neat (xhr-write-stream)
06:14:49  <grncdr>thanks
06:15:43  <feross_>dominictarr: one thing that DOES work is to make the package into a bundledDependency
06:16:14  <feross_>that means it will get published to npm, node_modules folder and everything
06:16:49  * stagasjoined
06:18:38  <feross_>dominictarr: neat, "chrome-portfinder/index.js" worked!
06:18:55  <feross_>elegant and simple, should have thought of that before
06:19:02  <feross_>i seem to remember trying it a long time ago and it not working
06:19:27  <feross_>dominictarr: thanks :)
06:19:37  <dominictarr>haha, no problem!
06:21:57  * thealphanerdjoined
06:23:27  * shamaquit
06:29:17  * thealphanerdquit (Quit: thealphanerd)
06:30:11  * phated_joined
06:30:15  * pfraze_quit (Ping timeout: 272 seconds)
06:30:39  * mikolaly1enkojoined
06:31:36  * ednapiranhaquit (Quit: Leaving...)
06:32:35  * ceejbot_joined
06:32:41  * mrmrs_joined
06:33:45  * philipnjoined
06:33:54  * fotoveritequit (Quit: fotoverite)
06:35:34  * paul_irish_joined
06:38:44  * ceejbotquit (*.net *.split)
06:38:44  * phatedquit (*.net *.split)
06:38:45  * mrmrsquit (*.net *.split)
06:38:45  * mikolalysenkoquit (*.net *.split)
06:38:46  * thisandagainquit (*.net *.split)
06:38:46  * justinabrahmsquit (*.net *.split)
06:38:46  * Altreus_quit (*.net *.split)
06:38:46  * philipn_quit (*.net *.split)
06:38:47  * paul_irishquit (*.net *.split)
06:39:13  * thealphanerdjoined
06:39:27  * thealphanerdquit (Client Quit)
06:39:52  * justinabrahmsjoined
06:40:22  * hoobdeeblaquit
06:40:39  * thisandagainjoined
06:49:51  * phated_changed nick to phated
07:08:26  * Maciek416quit (Remote host closed the connection)
07:10:09  * ceejbot_quit (Ping timeout: 272 seconds)
07:13:57  * jcrugzzquit (Ping timeout: 272 seconds)
07:26:36  * tilgovijoined
07:32:20  * Altreus_joined
07:32:37  * funkytekjoined
07:39:57  * jcrugzzjoined
07:43:49  * calvinfojoined
07:48:11  * jcrugzzquit (Ping timeout: 246 seconds)
07:48:18  * stagasquit (Remote host closed the connection)
07:49:15  * feross_quit (Quit: feross_)
07:52:10  * ceejbotjoined
07:53:08  * andreypoppjoined
07:56:45  * ceejbotquit (Ping timeout: 250 seconds)
08:08:19  * djcoinjoined
08:08:45  * paul_irish_changed nick to paul_irish
08:14:01  * AvianFluquit (Remote host closed the connection)
08:31:16  * calvinfoquit (Quit: Leaving.)
08:31:52  * funkytekquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
08:36:26  * Altreus_changed nick to Altreus
08:36:31  * Altreusquit (Changing host)
08:36:31  * Altreusjoined
08:38:52  * phatedquit (Remote host closed the connection)
08:42:36  * calvinfojoined
08:51:45  * frankblizzardjoined
08:52:50  * ceejbotjoined
08:57:16  * ceejbotquit (Ping timeout: 245 seconds)
08:58:20  * funkytekjoined
09:01:29  * calvinfoquit (Quit: Leaving.)
09:02:10  * tilgoviquit (Remote host closed the connection)
09:27:35  * mikolaly1enkoquit (Ping timeout: 272 seconds)
09:30:21  * dominictarrquit (Ping timeout: 252 seconds)
09:45:44  * Kesslerjoined
09:49:51  * Kesslerquit (Ping timeout: 250 seconds)
09:53:38  * ceejbotjoined
09:58:31  * ceejbotquit (Ping timeout: 272 seconds)
10:06:00  <juliangruber>rvagg: i opened https://github.com/isaacs/readable-stream/issues/78 for my problemz
10:06:21  <rvagg>juliangruber: do it on joyent/node, readable-stream is read-only now, pulls in from core
10:06:31  <rvagg>all streams discussions go on in core now
10:06:34  <juliangruber>rvagg: gotcha
10:07:05  * chiltsquit (Read error: Operation timed out)
10:08:05  <juliangruber>https://github.com/joyent/node/issues/7043
10:11:10  * funkytekquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
10:15:44  * chiltsjoined
10:22:40  * mikolalysenkojoined
10:27:33  * mikolalysenkoquit (Ping timeout: 250 seconds)
10:41:15  * wolfeidaujoined
10:54:58  * ceejbotjoined
10:59:57  * ceejbotquit (Ping timeout: 272 seconds)
11:02:32  * indexzeroquit (Quit: indexzero)
11:40:31  * yorickjoined
11:48:41  * guybrushquit (Excess Flood)
11:48:51  * guybrushjoined
11:55:41  * ceejbotjoined
12:00:45  * ceejbotquit (Ping timeout: 272 seconds)
12:21:01  * mirkokjoined
12:21:38  * nexxyjoined
12:21:46  * josephgjoined
12:39:25  * phatedjoined
12:44:17  * phatedquit (Ping timeout: 246 seconds)
12:56:20  * ceejbotjoined
13:01:01  * ceejbotquit (Ping timeout: 245 seconds)
13:04:23  * contrahaxquit (Quit: Sleeping)
13:16:42  * thlorenzjoined
13:19:25  * ceejbotjoined
13:22:11  * ceejbotquit (Read error: Connection reset by peer)
13:22:46  * ceejbotjoined
13:22:47  * dominictarrjoined
13:25:05  * mrmrs_quit (Remote host closed the connection)
13:27:25  * jgpelletierjoined
13:27:26  * prettyrobotsjoined
13:27:33  * prettyrobots_joined
13:28:32  * prettyrobotschanged nick to Guest25149
13:28:32  * prettyrobots_changed nick to Guest27490
13:29:47  * thlorenzquit (Ping timeout: 246 seconds)
13:47:49  * AvianFlujoined
13:51:36  * thlorenzjoined
13:52:05  * thlorenzquit (Remote host closed the connection)
13:52:20  * thlorenzjoined
14:00:22  * ceejbotquit (Remote host closed the connection)
14:08:22  <dominictarr>substack, ping
14:09:54  <dominictarr>substack, could Mad Science benefit from Mad Grad. Students?
14:11:22  * ceejbotjoined
14:11:46  <dominictarr>https://github.com/dominictarr/npmd/issues/15#issuecomment-34062155
14:12:28  * ceejbotquit (Read error: Connection reset by peer)
14:25:55  * kevino80joined
14:26:55  * McJesusjoined
14:34:34  * defunctzombie_zzchanged nick to defunctzombie
14:35:26  <defunctzombie>feross: because npm is silly
14:36:19  <defunctzombie>feross: also, you don't have to use a relative path, I believe doing <module>/index.js will work. Also just doing <module> will work if they specify index.js in main
14:37:00  <defunctzombie>feross: generally, with npm, you can't be 100% sure you will have in node_modules what you think you will have cause npm is being stupid
14:37:12  <defunctzombie>dedupe is one of the anti-features of npm
14:39:06  * dguttmanjoined
14:43:37  * defunctzombiechanged nick to defunctzombie_zz
14:47:44  * Guest38995changed nick to jory
15:00:44  * fotoveritejoined
15:01:56  * pfrazejoined
15:31:29  * kevino80quit (Remote host closed the connection)
15:36:14  * kenperkinsjoined
15:38:32  * Maciek416joined
15:46:50  * kevino80joined
16:03:57  * jcrugzzjoined
16:05:32  * taterbasequit (Quit: Connection closed for inactivity)
16:06:45  * kenperkinsquit (Remote host closed the connection)
16:07:33  * kenperkinsjoined
16:18:43  * defunctzombie_zzchanged nick to defunctzombie
16:42:30  * dguttmanquit (Quit: dguttman)
16:43:55  * coderzachjoined
16:44:54  * frankblizzardquit
16:48:41  * mikolalysenkojoined
16:53:37  * marcello3d_zzZchanged nick to marcello3d
16:55:22  * ceejbotjoined
16:58:40  * ednapiranhajoined
17:05:23  * marcello3dchanged nick to marcello3d_zzZ
17:12:21  * dominictarrquit (Ping timeout: 272 seconds)
17:13:36  * thlorenzquit (Remote host closed the connection)
17:14:09  * thlorenzjoined
17:19:19  * thlorenzquit (Ping timeout: 272 seconds)
17:20:17  * dguttmanjoined
17:30:15  * ceejbotquit (Remote host closed the connection)
17:30:36  * phatedjoined
17:34:37  * indexzerojoined
17:35:41  * phatedquit (Ping timeout: 250 seconds)
17:40:02  * taterbasejoined
17:46:17  * simcop2387quit (Read error: Operation timed out)
17:46:17  * spionquit (Read error: Operation timed out)
17:46:17  * perlbotquit (Read error: Operation timed out)
17:46:52  * spionjoined
17:47:22  * perlbotjoined
17:47:25  * mk30quit (Read error: Operation timed out)
17:47:39  * mk30joined
17:49:22  * simcop2387joined
17:50:23  * 31NAAEF0Gchanged nick to parshap
17:51:05  * coderzachquit (Remote host closed the connection)
17:54:46  * AvianFluquit (Remote host closed the connection)
17:55:12  * mikolalysenkoquit (Ping timeout: 250 seconds)
17:56:40  * calvinfojoined
17:56:44  * fotoveritequit (Read error: No route to host)
17:57:11  * fotoveritejoined
18:00:44  * mikolalysenkojoined
18:01:08  * ceejbotjoined
18:05:08  * coderzachjoined
18:15:41  * dguttmanquit (Quit: dguttman)
18:20:11  * kenperkins_joined
18:21:00  * marcello3d_zzZchanged nick to marcello3d
18:23:31  * kenperkinsquit (Ping timeout: 245 seconds)
18:27:15  * ceejbotquit (Ping timeout: 250 seconds)
18:39:28  * ceejbotjoined
18:41:59  * dguttmanjoined
18:44:17  * indexzeroquit (Quit: indexzero)
18:49:18  * phatedjoined
18:53:28  * contrahaxjoined
18:57:41  * mikolalysenkoquit (Ping timeout: 245 seconds)
19:11:18  * AvianFlujoined
19:12:50  * jxsonjoined
19:20:35  * phatedquit (Remote host closed the connection)
19:27:05  * phatedjoined
19:30:59  * kenperkinsjoined
19:31:13  * ralphtheninjajoined
19:31:22  * indexzerojoined
19:31:27  * coderzachquit (Remote host closed the connection)
19:31:34  * kenperkins_quit (Remote host closed the connection)
19:32:41  <Raynos>defunctzombie: whats wrong with dedupe ?
19:33:39  * thlorenzjoined
19:39:01  <defunctzombie>Raynos: it serves no purpose and makes people rely on it in weird ways or have it break expected install location for files in weird ways (which I am not a fan of relying on anyway)
19:40:18  <Raynos>deduping has value for browserify
19:40:25  <Raynos>but maybe deduping should live IN browserify
19:41:01  <defunctzombie>Raynos: it already does to some extent
19:41:19  <defunctzombie>Raynos: and the "value" is not all that much
19:41:48  <defunctzombie>Raynos: browserify (unless this has changed) is better than dedupe cause it detects same file content (doesn't matter where) and will re-use
19:43:01  * feross_joined
19:52:03  <Raynos>so dedupe is about deduping wrt semver
19:52:30  <Raynos>find the minimal set that can be shared given semver restraints
19:52:34  <Raynos>its not about same file content
19:52:51  <Raynos>same file content is a read flag
19:53:01  <Raynos>same file content only works if same file content & same package.json
19:53:51  * indexzeroquit (Ping timeout: 272 seconds)
20:05:04  * funkytekjoined
20:08:45  * indexzerojoined
20:10:51  * kevinohara80joined
20:12:47  * jxsonquit (Remote host closed the connection)
20:13:06  * kevino80quit (Ping timeout: 245 seconds)
20:17:59  * jxsonjoined
20:18:01  * jxsonquit (Remote host closed the connection)
20:18:05  * jxson_joined
20:35:28  * mrmrsjoined
20:36:15  * mikolalysenkojoined
20:37:49  * indexzeroquit (Quit: indexzero)
20:41:40  * kevinohara80quit (Remote host closed the connection)
20:48:54  * ceejbotquit (Remote host closed the connection)
20:57:24  * djcoinquit (Quit: WeeChat 0.4.2)
21:09:09  * kevino80joined
21:16:09  <feross>defunctzombie: got around depduping with your suggestion, thanks
21:19:57  * ceejbotjoined
21:24:08  * h0kejoined
21:24:25  * tilgovijoined
21:30:19  * ceejbotquit (Remote host closed the connection)
21:30:38  * ceejbotjoined
21:31:10  <grncdr>substack: are you open to exposing more XHR features in http-browserify?
21:31:10  <grncdr>I'm specifically thinking about 'progress' events
21:31:20  <grncdr>which need to have a handler attached before xhr.open() is called
21:33:14  <grncdr>I'm not sure if that's a no-go with browserify mimicing the node http API though
21:36:52  * DTrejojoined
21:37:12  <DTrejo>substack: I saw you signed up — friggin awesome :)
21:40:29  * phatedquit (Remote host closed the connection)
21:41:44  <Raynos>grncdr: ignore progress but implement stream properly
21:42:06  <grncdr>Raynos: no that's stupid
21:42:10  <grncdr>progress exists
21:42:13  <grncdr>streams don't
21:42:16  <Raynos>,,,
21:42:18  <Raynos>...
21:42:27  <Raynos>then dont use http-browserify
21:42:47  * kenperkins_joined
21:42:59  <grncdr>is a possibility, but a sucky one ;)
21:43:08  <Raynos>oh wait it already does streams
21:43:14  <Raynos>just listen to `data`
21:43:20  <grncdr>upload progress
21:43:23  <grncdr>not download
21:43:41  <grncdr>and it doesn't properly stream uploads because XHR sucks
21:43:54  <Raynos>Call `res.handle` in onprogress
21:44:07  <Raynos>oh you want progress on upload not on download
21:44:11  <grncdr>yes
21:44:19  <Raynos>Writable streams have no notion of progress
21:44:20  <Raynos>but
21:44:36  <grncdr>onprogress will never be called because browserify opens the xhr object before returning it to the user
21:44:47  <Raynos>http://nodejs.org/api/net.html#net_socket_byteswritten
21:44:51  <Raynos>tcp sockets have bytesWritten
21:44:52  <Raynos>implement that
21:45:14  <Raynos>also bufferSize
21:45:14  <Raynos>http://nodejs.org/api/net.html#net_socket_buffersize
21:45:17  <Raynos>implement that too
21:45:19  <grncdr>doesn't work though, because XHR objects don't actually consume a stream for uploads
21:45:21  <Raynos>all on Request
21:45:46  <grncdr>in my case, I'm doing request.xhr.send(fileObject)
21:46:01  * kenperkinsquit (Ping timeout: 245 seconds)
21:46:03  <grncdr>if you just write to a request, everything buffers in memory
21:46:13  <Raynos>so listen to onprogress
21:46:16  <Raynos>and update `bufferSize`
21:46:27  <Raynos>`bufferSize` starts at body.length and decrements to zero
21:46:46  <grncdr>I absolutely cannot buffer everything in memory
21:46:55  <Raynos>...
21:46:56  <grncdr>I'm uploading multi-gigabyte vm images ;)
21:46:58  <Raynos>thats xhr
21:47:01  <grncdr>no
21:47:07  <grncdr>xhr does not buffer file objects
21:47:09  <Raynos>you cant do multiple send() calls in xhr
21:47:16  <Raynos>it doesn't ?
21:47:20  <grncdr>xhr.send(fileObject) streams the file "under-the-hood"
21:47:28  <Raynos>Fucking magic :p
21:47:32  <grncdr>yup
21:47:36  <grncdr>I don't like it
21:47:50  <grncdr>but they don't read a fucking stream so there's not much else I can do
21:47:59  <Raynos>use xhr directly
21:48:01  <grncdr>without breaking the file up into hundreds of individual requests
21:48:07  <Raynos>PRs to https://github.com/Raynos/xhr welcome
21:48:08  <Raynos>:D
21:48:50  <grncdr>hm, that's interesting
21:49:23  <grncdr>brb lunch
21:55:01  <jesusabdullah>thlorenz: Do you have a cli thinger that does npm symlinks in a not-fucking-retarded way?
21:55:43  <thlorenz>jesusabdullah: ln -s
21:56:01  * jcrugzzquit (Ping timeout: 245 seconds)
21:56:01  <jesusabdullah>no I want like 2 lines of syrup here
21:56:20  <jesusabdullah>so I can be like, "link this dep to this module" and have it shove node_modules into the path for me
21:56:21  <thlorenz>jesusabdullah: but I was also working on a npm dedupe + link in one: https://github.com/thlorenz/deli
21:56:36  <jesusabdullah>okay, TOO crazy
21:56:41  <jesusabdullah>Yeah okay I'll just write this thing
21:56:45  <thlorenz>that makes sure that your module lookup is maintained, so deduped modules are still deduped
21:56:48  <thlorenz>jesusabdullah: :)
21:57:17  <jesusabdullah>npmlinxxx ~/dependency ~/dependent
21:57:23  <jesusabdullah>yeeeeah \m/
21:57:39  <jesusabdullah>Oh, is there an "optimist for bash" ?
21:58:04  <thlorenz>how is that so much better than: `cd node_modules; ln -s ../../dependent` ?
21:58:25  <thlorenz>*dependency
21:58:28  * dguttmanquit (Quit: dguttman)
21:59:13  <thlorenz>jesusabdullah: yep getopts, but it doesn't work with functions, see: https://github.com/thlorenz/dotfiles/blob/master/bash/functions/ngen.sh#L12
22:00:26  <Raynos>you mean minimist :p
22:03:02  * kenperkins_quit (Remote host closed the connection)
22:03:52  * kenperkinsjoined
22:04:07  * jxson_quit (Remote host closed the connection)
22:04:52  <thlorenz>jesusabdullah: if you are doing sudo, you should rather do npm --prefix ~/npmglobal or something
22:05:02  <thlorenz>that makes all globals install there
22:05:36  <defunctzombie>Raynos: and what happens when npm dedupes and some patch levels mispatch and now some dep lower in the tree doesn't work with the version that exists higher up but you want to use the higher up version for your stuff?
22:05:37  <thlorenz>I tweeted about that once, can't remember exactly but basically you have to config npm prefix
22:06:12  <defunctzombie>Raynos: imo too many edge cases when software tries to automagically handle semver things much less dedupe them
22:06:24  <defunctzombie>Raynos: who cares about disk space for js modules anyway
22:07:30  <Raynos>defunctzombie: ? dedupe is either correct or not
22:07:48  <Raynos>it either complies to package.json or does not
22:07:55  <Raynos>the latter is a statically verifiable bug
22:08:10  <Raynos>defunctzombie: dedupe is very worthwhile for binary dependencies
22:08:25  <Raynos>to avoid re-compilation if both modules can use a patch version
22:08:48  <defunctzombie>meh
22:08:54  <defunctzombie>most binary npm modules compile fast
22:08:58  <Raynos>lol
22:09:03  <Raynos>try compiling zookeeper
22:09:08  <jesusabdullah>thlorenz: Yeah I don't wanna fuck with that
22:09:13  <defunctzombie>your problem is that you are using zookeeper
22:09:25  <defunctzombie>not that compilation is slow haha
22:09:28  <jesusabdullah>thlorenz: Anyways I have a half-working implementation of npmlinxxx
22:09:42  <jesusabdullah>thlorenz: just gonna polish the ux tonight and call it a day
22:09:48  <thlorenz>jesusabdullah: which one 'npmli' or 'nxxx'?
22:10:39  <jesusabdullah>hahaha
22:10:47  <jesusabdullah>Srsly tho, it works but it's brittle
22:10:58  * phatedjoined
22:30:46  * coderzac_joined
22:32:45  * sveisvei__changed nick to sveisvei
22:33:19  * maksimlinjoined
22:37:53  * h0kequit (Ping timeout: 272 seconds)
22:42:01  <jesusabdullah>thlorenz:
22:42:01  <jesusabdullah>info npmlinxxx LINKING tsugu-error
22:42:02  <jesusabdullah>info npmlinxxx k cool
22:42:06  <jesusabdullah>XD
22:42:10  <jesusabdullah>(missing colors)
22:42:15  <jesusabdullah>(yes it is using npmlog)
22:42:25  <thlorenz>i like npmlog
22:43:01  <thlorenz>npm ERR! 404 'npmlinxxx' is not in the npm registry.
22:43:06  * ralphtheninjaquit (Ping timeout: 245 seconds)
22:43:18  <thlorenz>jesusabdullah: how am I supposed to remember how many xs to type?
22:46:49  <thlorenz>jesusabdullah: where is it -- can't find on github either
22:48:07  <jesusabdullah>thlorenz: going to finish it before I publish, it's not done
22:48:21  <jesusabdullah>thlorenz: "done"---I just wanna spend another half hour on it before sharing
22:49:05  <thlorenz>jesusabdullah: sounds like a plan
22:49:14  <jesusabdullah>Speaking of: Is there a library for auto-resolving ~ ?
22:49:23  <jesusabdullah>as $HOME I mean
22:49:47  * tilgoviquit (Remote host closed the connection)
22:50:31  <thlorenz>jesusabdullah: hold on I must be doing that somewhere
22:51:04  <thlorenz>jesusabdullah: it's called process.env.HOME :) https://github.com/thlorenz/testlingify/blob/master/lib/get-config.js#L26
22:52:02  <jesusabdullah>thlorenz: No libary?
22:52:09  <thlorenz>don't need one
22:52:16  <thlorenz>node takes care of it for you
22:52:27  * ednapiranhaquit (Ping timeout: 250 seconds)
22:52:34  <jesusabdullah>thlorenz: oh not like that, I mean, something that will resolve '~/whatever' as a string to properly handle that
22:53:03  <thlorenz>jesusabdullah: if it comes from command line it'll expand before you get a hold of it in your bin file
22:53:16  <jesusabdullah>WHAT IF IT DOESNT
22:53:16  <LOUDBOT>MAYBE BY THEN IT WILL BE REAL LIFE
22:53:48  <thlorenz>otherwise: if (/^~/.test(p)) p = process.env.HOME + p.slice(1);
22:57:28  * kevino80quit
23:02:01  * dguttmanjoined
23:02:41  * mikolalysenkoquit (Ping timeout: 245 seconds)
23:04:13  * AvianFluquit (Remote host closed the connection)
23:04:16  * dguttmanquit (Client Quit)
23:04:37  * jxsonjoined
23:09:26  * jxsonquit (Ping timeout: 249 seconds)
23:13:40  * thlorenzquit (Remote host closed the connection)
23:14:16  * thlorenzjoined
23:14:41  * coderzac_quit (Remote host closed the connection)
23:15:12  * tilgovijoined
23:15:22  * jxsonjoined
23:18:31  * thlorenzquit (Ping timeout: 245 seconds)
23:18:47  * dominictarrjoined
23:19:54  * jxsonquit (Read error: Connection reset by peer)
23:20:22  * jxsonjoined
23:21:54  <dimadima>HEY GUYS!!
23:21:54  <LOUDBOT>IS IT LOUD IN HERE OR IS IT JUST ME?
23:29:17  * i_m_cajoined
23:33:31  <jjjohnny>owen1: checkin it out!
23:35:09  * phatedquit (Remote host closed the connection)
23:35:47  <owen1>jjjohnny: the guy got ton of videos/lectures. TLDR: capitalism, like other economic systems, was born, evolves and eventually will die. co-ops might be a good alternative.
23:36:50  <owen1>and there are some interesting co-ops around the world. one of them has thousands of members. it's in spain - 80,000 employees - http://www.mondragon-corporation.com/eng/
23:45:36  * i_m_caquit (Ping timeout: 245 seconds)
23:46:57  * thlorenzjoined
23:47:17  * hoobdeeblajoined
23:47:17  <substack>dominictarr: http://www.youtube.com/watch?v=ShEez0JkOFw
23:54:03  * h0kejoined
23:54:37  <owen1>substack: looks interesting! download this for my commute
23:54:46  * i_m_cajoined
23:55:36  * thlorenzquit (Ping timeout: 245 seconds)
23:57:11  * kenperkins_joined
23:59:22  * mikolalysenkojoined