00:00:00
| * ircretary | quit (Remote host closed the connection) |
00:00:11
| * ircretary | joined |
00:03:32
| * thlorenz | joined |
00:14:18
| * ednapiranha | quit (Quit: Leaving...) |
00:27:13
| * ryan_stevens | quit (Quit: ryan_stevens) |
00:32:48
| * warbrett | quit (Remote host closed the connection) |
00:43:29
| * contrahax | quit (Quit: Sleeping) |
00:50:34
| * contrahax | joined |
00:54:50
| * contrahax | quit (Client Quit) |
00:55:52
| * pili | quit (Ping timeout: 256 seconds) |
01:01:44
| * thlorenz | quit (Remote host closed the connection) |
01:02:17
| * thlorenz | joined |
01:06:38
| * thlorenz | quit (Ping timeout: 256 seconds) |
01:11:53
| * phated | quit (Remote host closed the connection) |
01:22:18
| * toddself_zz | changed nick to toddself |
01:23:10
| * reqshark | quit (Quit: Be back later ...) |
01:25:03
| * ryan_stevens | joined |
01:26:06
| * thlorenz | joined |
01:31:05
| * thlorenz | quit (Ping timeout: 264 seconds) |
02:01:12
| * thlorenz | joined |
02:05:34
| * thlorenz | quit (Ping timeout: 256 seconds) |
02:06:44
| * reqshark | joined |
02:13:21
| * thlorenz | joined |
02:22:29
| * phated | joined |
02:27:33
| * phated | quit (Ping timeout: 264 seconds) |
02:28:04
| * phated | joined |
02:44:45
| * thlorenz | quit (Remote host closed the connection) |
02:45:19
| * thlorenz | joined |
02:47:19
| * ryan_stevens | quit (Quit: ryan_stevens) |
02:49:23
| * thlorenz | quit (Ping timeout: 240 seconds) |
02:51:17
| * stagas | quit (Ping timeout: 240 seconds) |
02:51:21
| * fotoverite | quit (Quit: fotoverite) |
03:00:03
| * thealphanerd | quit (Quit: thealphanerd) |
03:00:48
| * thealphanerd | joined |
03:00:48
| * thealphanerd | quit (Client Quit) |
03:11:26
| * tilgovi | quit (Ping timeout: 250 seconds) |
03:21:36
| * tilgovi | joined |
03:26:42
| * toddself | changed nick to toddself_zz |
03:31:02
| * dguttman | quit (Quit: dguttman) |
03:33:57
| * toddself_zz | changed nick to toddself |
03:41:09
| * knownasilya | joined |
03:42:12
| * thealphanerd | joined |
03:43:41
| * thealphanerd | quit (Client Quit) |
03:49:11
| * dguttman | joined |
03:53:37
| * tilgovi | quit (Ping timeout: 272 seconds) |
03:56:30
| * phated | quit (Remote host closed the connection) |
04:10:36
| * toddself | quit |
04:26:00
| * anvaka | joined |
04:28:54
| * jxson_ | joined |
04:30:41
| * ryan_stevens | joined |
04:32:53
| * jxson | quit (Ping timeout: 264 seconds) |
04:33:13
| * jxson_ | quit (Ping timeout: 258 seconds) |
04:39:28
| * dguttman | quit (Quit: dguttman) |
04:46:47
| * dguttman | joined |
04:46:54
| * gozala | joined |
04:48:59
| * cpup | quit (Quit: No Ping reply in 180 seconds.) |
04:50:17
| * cpup | joined |
04:56:03
| <hughsk> | substack: https://github.com/substack/labeled-stream-splicer/issues/4 unable to run browserify, might just need a republish? |
05:04:09
| <substack> | on it! |
05:07:58
| <hughsk> | awesome, thanks man :D |
05:08:21
| * pfraze | quit (Quit: Leaving) |
05:11:15
| * fotoverite | joined |
05:19:04
| * ednapiranha | joined |
05:32:22
| * dguttman | quit (Quit: dguttman) |
05:37:54
| * phated | joined |
05:41:01
| * phated | quit (Remote host closed the connection) |
05:56:36
| * ednapiranha | quit |
05:59:13
| * _amark_ | quit (Ping timeout: 255 seconds) |
05:59:57
| * ryan_stevens | quit (Ping timeout: 264 seconds) |
06:00:05
| * ryan_stevens_ | joined |
06:05:01
| * thlorenz | joined |
06:06:49
| * thealphanerd | joined |
06:13:50
| <owen1> | #drama in the angular world - http://eisenbergeffect.bluespire.com/leaving-angular/ |
06:14:57
| <substack> | thinking how to distribute hyperboot updates in hyperboot itself |
06:20:01
| <thealphanerd> | could it be a git remote? |
06:23:11
| <substack> | no |
06:27:29
| <substack> | I've got an idea though |
06:27:44
| <substack> | I'll just check for the presence of a localStorage bootsrc entry |
06:27:59
| <substack> | and then I can just have 2 kinds of versions in the versions.json file |
06:28:15
| <substack> | plus this way I can allow users to load their own bootloaders |
06:39:18
| * knownasilya | quit (Quit: Connection closed for inactivity) |
06:40:58
| * kessler | quit (Remote host closed the connection) |
06:46:53
| * brianloveswords | joined |
06:51:38
| * phated | joined |
06:55:10
| * phated | quit (Remote host closed the connection) |
06:56:20
| <substack> | I've got the preboot script working, now I just need to push those bootloader updates through the version loader |
06:56:36
| <ogd> | im leaving angular for go |
07:11:37
| <thealphanerd> | ogd: DON’T DO IT… think about the traceur compiler |
07:11:44
| <thealphanerd> | :P |
07:39:47
| <substack> | I'm leaving coffeescript for perl |
07:41:49
| * kessler | joined |
07:46:10
| * kessler | quit (Ping timeout: 250 seconds) |
08:05:50
| * oldskirt_ | quit (Read error: Connection reset by peer) |
08:14:27
| * djcoin | joined |
08:19:44
| * contrahax | joined |
08:26:14
| * thisandagain | quit (Read error: Connection reset by peer) |
08:26:21
| * ladekjaer | quit (Ping timeout: 244 seconds) |
08:26:36
| * thisandagain_ | joined |
08:26:45
| * tmpvar | quit (Read error: Connection reset by peer) |
08:26:52
| * groundwater_ | quit (Ping timeout: 244 seconds) |
08:26:52
| * machty | quit (Ping timeout: 244 seconds) |
08:26:52
| * monteslu | quit (Ping timeout: 244 seconds) |
08:26:55
| * sorribas | quit (Read error: Connection reset by peer) |
08:26:56
| * calvinmetcalf | quit (Read error: Connection reset by peer) |
08:27:07
| * tmpvar__ | joined |
08:27:14
| * hackygolucky | quit (Read error: Connection reset by peer) |
08:27:16
| * karissa | quit (Read error: Connection reset by peer) |
08:27:21
| * sorribas | joined |
08:27:23
| * ladekjaer | joined |
08:27:25
| * Domenic | quit (Read error: Connection reset by peer) |
08:27:42
| * groundwater_ | joined |
08:27:45
| * karissa_ | joined |
08:27:54
| * hackygolucky_ | joined |
08:28:01
| * Domenic_ | joined |
08:28:03
| * calvinmetcalf | joined |
08:28:04
| * monteslu | joined |
08:30:10
| * machty | joined |
08:42:33
| * kessler | joined |
08:43:02
| * ryan_stevens_ | quit (Quit: ryan_stevens_) |
08:46:50
| * kessler | quit (Ping timeout: 250 seconds) |
08:50:45
| <thealphanerd> | substack: http://www.livecodenetwork.org/iclc2015/ |
08:55:45
| <bengl> | thealphanerd: yay for crypto! |
08:55:49
| <thealphanerd> | :D |
08:55:59
| <thealphanerd> | bengl: I just semi stalked you and realized you are in sf too! |
08:56:11
| <thealphanerd> | and from ontario as well |
08:56:13
| <thealphanerd> | woot! |
08:56:38
| <bengl> | i think we've been over this before. i informed you of poutine at benders :) |
08:57:14
| <thealphanerd> | OH shit |
08:57:16
| <thealphanerd> | yes you did |
08:57:19
| <bengl> | haha |
08:57:24
| <thealphanerd> | and poutine js |
08:57:28
| <thealphanerd> | and I need poutine now |
08:57:34
| <thealphanerd> | I have some clamato in my fridge :P |
08:57:46
| <bengl> | clamato here isn't the same :( |
08:57:56
| * brianloveswords | quit (Remote host closed the connection) |
08:58:03
| <thealphanerd> | true |
08:58:12
| <thealphanerd> | but I can still make a killer caesar with it :D |
08:58:34
| <bengl> | are you aware of a bar that used to be around 24th & mission called The Attic? |
08:58:46
| * brianloveswords | joined |
08:59:12
| <thealphanerd> | nope |
08:59:17
| <thealphanerd> | I’m pretty new to the city |
09:00:22
| <bengl> | went there about a year ago with a visiting quebecois friend, and absolut was pushing some cilantro vodka, so bartender made us cilantro caesars |
09:00:28
| <bengl> | disturbingly good |
09:01:35
| <thealphanerd> | hmmm |
09:01:40
| <thealphanerd> | seems like I missed the boat |
09:01:49
| <thealphanerd> | I recently started my journey to join the rhumbustion society |
09:01:57
| <thealphanerd> | at smugglers cove |
09:02:52
| <bengl> | ahh that place seems to always be the start of a good hangover for me, haha |
09:03:38
| <bengl> | rum kills me |
09:03:53
| <thealphanerd> | fair enoguh |
09:04:20
| <bengl> | are you into whiskey? |
09:06:00
| * contrahax | quit (Quit: Sleeping) |
09:08:23
| <thealphanerd> | most definitely |
09:09:55
| <bengl> | try nihon lounge. the usual suspects from scotland, plus a sizeable collection of japanese and others. |
09:11:45
| <thealphanerd> | will put it on the list! |
09:11:48
| * contrahax | joined |
09:11:50
| <thealphanerd> | time to crash for me |
09:11:53
| <thealphanerd> | be well |
09:12:08
| <bengl> | ditto |
09:12:58
| * contrahax | changed nick to _contrahax |
09:14:35
| * _contrahax | changed nick to contrahax |
09:30:48
| * contrahax | changed nick to _contrahax |
09:48:36
| * _contrahax | changed nick to contrahax |
09:49:36
| * fotoverite | quit (Quit: fotoverite) |
09:53:43
| * fotoverite | joined |
09:57:33
| * contrahax | quit |
10:05:22
| * contrahax | joined |
10:17:13
| * fotoverite | quit (Quit: fotoverite) |
10:27:00
| * gorhgorh | joined |
10:27:43
| * peutetre | joined |
10:34:13
| * contrahax | changed nick to _contrahax |
10:34:51
| * _contrahax | changed nick to contrahax |
10:35:16
| * brianloveswords | quit (Quit: Computer has gone to sleep.) |
10:38:47
| * contrahax | quit (Quit: Sleeping) |
10:55:28
| * phated | joined |
11:01:53
| * phated | quit (Ping timeout: 240 seconds) |
11:19:08
| * Mso150 | joined |
11:42:52
| * domanic | joined |
11:47:37
| * DamonOehlman | quit (Ping timeout: 240 seconds) |
11:58:40
| * pili | joined |
12:02:03
| * kessler | joined |
12:03:33
| * gozala | quit (Quit: Connection closed for inactivity) |
12:06:46
| * kessler | quit (Ping timeout: 265 seconds) |
12:07:28
| * Mso150 | quit (Ping timeout: 250 seconds) |
12:29:57
| * gorhgorh | quit (Quit: gorhgorh) |
12:30:23
| * peutetre | quit (Quit: peutetre) |
12:44:13
| * kessler | joined |
12:48:20
| * peutetre | joined |
13:22:47
| * kessler | quit (Remote host closed the connection) |
13:32:03
| <domanic> | oh man... look who just gave me a style pull request: https://github.com/dominictarr/explain-error/pull/2 |
13:45:01
| <mafintosh> | domanic: gotta embrace to one style to rule all styles |
13:45:55
| <domanic> | mafintosh, i support diversity in coding style |
13:54:03
| * domanic | quit (Ping timeout: 255 seconds) |
13:56:50
| * toddself | joined |
13:57:08
| * knownasilya | joined |
14:16:40
| * phated | joined |
14:20:51
| * pfraze | joined |
14:23:04
| * phated | quit (Ping timeout: 244 seconds) |
14:23:52
| * brianc | joined |
14:35:26
| * reqshark | quit (Quit: Be back later ...) |
14:48:31
| * dguttman | joined |
14:48:40
| * pili | quit (Ping timeout: 250 seconds) |
14:49:19
| * domanic_ | joined |
14:52:47
| * kessler | joined |
14:55:27
| <calvinmetcalf> | domanic_: sha384 is 64 bit like sha512 (And sha 512/t if we ever did those) |
14:58:06
| <domanic_> | calvinmetcalf: right, my understanding is that 384 and 224 are just truncated versions of 512 and 256 |
14:58:20
| <domanic_> | oh I see what you where refering too |
14:58:24
| <calvinmetcalf> | yup with different seads |
14:58:56
| <calvinmetcalf> | nist has also defined 2 others, but since openssl doesn't implement them node doesn't support them |
15:05:11
| <domanic_> | calvinmetcalf: fixed |
15:06:02
| <calvinmetcalf> | sweet |
15:07:37
| <calvinmetcalf> | you left in a console log |
15:18:22
| * reqshark | joined |
15:20:51
| * gildean | quit (Remote host closed the connection) |
15:23:48
| * brianloveswords | joined |
15:42:12
| * thlorenz | quit (Remote host closed the connection) |
15:42:45
| * thlorenz | joined |
15:43:30
| * kessler_ | joined |
15:44:23
| * ryan_stevens | joined |
15:46:07
| * kessler | quit (Ping timeout: 245 seconds) |
15:47:11
| * kessler | joined |
15:47:20
| * kessler_ | quit (Read error: No route to host) |
15:47:27
| * thlorenz | quit (Ping timeout: 255 seconds) |
15:53:27
| <calvinmetcalf> | domanic_: it looks good, though isn't it like 5am your time? shouldn't you go to bed? |
15:56:18
| <domanic_> | calvinmetcalf: no I'm in europe now, to it's only 5pm |
15:56:34
| * domanic_ | travels a lot |
15:57:35
| * brianc | quit (Read error: No route to host) |
15:59:22
| * pili | joined |
16:08:16
| * brianloveswords | quit (Quit: Computer has gone to sleep.) |
16:09:40
| * peutetre | quit (Quit: peutetre) |
16:10:16
| * brianloveswords | joined |
16:12:32
| * ryan_stevens | quit (Quit: ryan_stevens) |
16:18:37
| <calvinmetcalf> | domanic_: ah makes more sense |
16:20:07
| <domanic_> | calvinmetcalf: I'll be in the us for jsfest in december, and then home to nz finally after that. |
16:23:29
| * j0hn_ | joined |
16:24:16
| * gangleri | joined |
16:28:44
| <domanic_> | substack: what if the wizard game was a voxel game but used a elements of all these shapes: http://en.wikipedia.org/wiki/Johnson_solid |
16:29:03
| * j0hn_ | part ("Leaving...") |
16:31:28
| * kessler | quit (Remote host closed the connection) |
16:35:01
| * ednapiranha | joined |
16:36:09
| * brianloveswords | quit (Quit: Computer has gone to sleep.) |
16:36:10
| * kessler | joined |
16:36:23
| * Domenic_ | changed nick to Domenic |
16:40:23
| * brianloveswords | joined |
16:41:28
| <jjjohnny> | yes pls bring back wizard game! |
16:44:12
| * brianloveswords | quit (Read error: Connection reset by peer) |
16:44:24
| * brianloveswords | joined |
16:54:14
| * thlorenz | joined |
16:57:44
| * ryan_stevens | joined |
17:05:59
| * gozala | joined |
17:11:32
| * pili | quit (Ping timeout: 245 seconds) |
17:18:01
| * toddself | changed nick to toddself_zz |
17:21:11
| * brianc | joined |
17:27:19
| * thlorenz | quit (Remote host closed the connection) |
17:28:10
| * brianloveswords | quit (Quit: Computer has gone to sleep.) |
17:31:23
| * ryan_stevens | quit (Ping timeout: 258 seconds) |
17:32:27
| * kessler | quit (Remote host closed the connection) |
17:32:48
| * ryan_stevens | joined |
17:32:53
| * gangleri | quit (Ping timeout: 264 seconds) |
17:35:49
| * thlorenz | joined |
17:38:51
| * thlorenz | quit (Remote host closed the connection) |
17:38:54
| * stagas | joined |
17:41:12
| * pili | joined |
17:42:34
| * kessler | joined |
17:47:55
| * warbrett | joined |
17:59:45
| * contrahax | joined |
18:02:29
| * maxgfeller_ | joined |
18:02:32
| * djcoin | quit (Quit: WeeChat 1.0) |
18:03:17
| * toddself_zz | changed nick to toddself |
18:05:37
| * jxson | joined |
18:11:42
| * thlorenz | joined |
18:14:05
| * thlorenz | quit (Remote host closed the connection) |
18:14:10
| * dguttman | quit (Quit: dguttman) |
18:20:27
| * jxson | quit (Remote host closed the connection) |
18:21:25
| * contrahax | quit (Quit: Sleeping) |
18:25:01
| * anvaka | quit (Remote host closed the connection) |
18:28:49
| * oldskirt | joined |
18:31:56
| * AlfredHugecock | joined |
18:32:28
| * brianloveswords | joined |
18:32:57
| * brianloveswords | quit (Read error: Connection reset by peer) |
18:33:24
| * brianloveswords | joined |
18:36:16
| * gildean_ | quit (Quit: leaving) |
18:36:32
| * gildean | joined |
18:36:46
| * domanic_ | quit (Ping timeout: 246 seconds) |
18:39:51
| * stagas | quit (Read error: Connection reset by peer) |
18:41:19
| * stagas | joined |
18:41:22
| * thlorenz | joined |
18:43:00
| * kessler | quit (Remote host closed the connection) |
18:46:32
| * oldskirt | quit (Ping timeout: 245 seconds) |
18:51:16
| * kessler | joined |
18:56:16
| * fotoverite | joined |
19:02:34
| * brianloveswords | quit (Read error: Connection reset by peer) |
19:02:36
| * brianlov_ | joined |
19:03:58
| * thealphanerd | quit (Quit: thealphanerd) |
19:04:16
| * warbrett | quit |
19:09:59
| * dguttman | joined |
19:11:37
| * brianlov_ | quit (Read error: Connection reset by peer) |
19:11:57
| * AlfredHugecock | quit (Ping timeout: 240 seconds) |
19:12:12
| * brianloveswords | joined |
19:12:18
| * Mso150 | joined |
19:12:32
| * peutetre | joined |
19:13:54
| * thlorenz | quit (Remote host closed the connection) |
19:16:44
| * _amark_ | joined |
19:17:49
| * gorhgorh | joined |
19:17:53
| * peutetre | quit (Ping timeout: 264 seconds) |
19:21:52
| * stagas | quit (Remote host closed the connection) |
19:24:52
| * ryan_stevens | quit (Quit: ryan_stevens) |
19:27:40
| * ryan_stevens | joined |
19:29:20
| * thealphanerd | joined |
19:31:44
| * oldskirt | joined |
19:34:00
| * jxson | joined |
19:36:24
| * jxson_ | joined |
19:36:48
| * phated | joined |
19:38:17
| * oldskirt | quit (Ping timeout: 264 seconds) |
19:38:39
| * jxson | quit (Ping timeout: 258 seconds) |
19:40:21
| * toddself | changed nick to toddself_zz |
19:41:21
| * ryan_stevens | quit (Quit: ryan_stevens) |
19:42:40
| * phated_ | joined |
19:42:52
| * pili | quit (Ping timeout: 258 seconds) |
19:43:21
| * reqshark | quit (Remote host closed the connection) |
19:43:37
| * phated | quit (Ping timeout: 272 seconds) |
19:43:40
| * kessler | quit (Remote host closed the connection) |
19:43:47
| * reqshark | joined |
19:44:39
| * phated_ | changed nick to phated |
19:46:38
| * domanic | joined |
19:47:06
| * thlorenz | joined |
19:47:35
| * thlorenz | quit (Remote host closed the connection) |
19:49:51
| * thlorenz_ | joined |
19:50:12
| * jxson_ | quit (Remote host closed the connection) |
19:50:35
| * thlorenz_ | quit (Remote host closed the connection) |
19:51:09
| * thlorenz_ | joined |
19:55:28
| * thlorenz_ | quit (Ping timeout: 250 seconds) |
19:58:18
| * pili | joined |
20:06:43
| * toddself_zz | changed nick to toddself |
20:08:19
| * phated | quit (Ping timeout: 272 seconds) |
20:13:02
| * kriskowal | quit (Quit: kriskowal) |
20:25:49
| * anvaka | joined |
20:30:29
| * anvaka | quit (Ping timeout: 272 seconds) |
20:32:31
| * warbrett | joined |
20:34:28
| * oldskirt | joined |
20:39:21
| * oldskirt | quit (Ping timeout: 272 seconds) |
20:49:41
| * fotoverite | part |
20:55:31
| * kessler | joined |
20:55:35
| * kriskowal | joined |
20:59:07
| * fotoverite | joined |
20:59:42
| * brianloveswords | quit (Read error: Connection reset by peer) |
21:00:20
| * brianloveswords | joined |
21:02:16
| * brianc | quit (Read error: No route to host) |
21:04:17
| * Mso150 | quit (Ping timeout: 240 seconds) |
21:10:37
| * Mso150 | joined |
21:15:23
| * kessler | quit (Remote host closed the connection) |
21:16:23
| * domanic | quit (Ping timeout: 240 seconds) |
21:19:24
| * thlorenz | joined |
21:21:02
| * oldskirt | joined |
21:23:57
| * insertcoffee | joined |
21:34:05
| * DamonOehlman | joined |
21:34:27
| * phated | joined |
21:37:34
| * kessler | joined |
21:38:12
| * Mso150 | quit (Ping timeout: 245 seconds) |
21:40:47
| * kessler | quit (Remote host closed the connection) |
21:41:02
| * Mso150 | joined |
21:42:22
| * jxson | joined |
21:42:35
| * domanic | joined |
21:48:16
| * joepie91_ | joined |
21:49:44
| <joepie91_> | no idea where to ask this, but somebody probably knows here: when I pipe a response from the `request` library to a response in `express`, the headers are also piped (eg. Server and so on), but when I pipe a stdlib `http` client response to a `http` server response, they're not |
21:50:06
| <joepie91_> | I've been looking around but can't figure it out - what is causing the header forwarding when using request/express? |
21:50:35
| <joepie91_> | (node.js, obv) |
21:54:34
| <domanic> | joepie91_, that is not standard node streams. that is magic request streams |
21:55:15
| <domanic> | if you piped it through a passthrough stream it would probably stop that. |
21:55:51
| <joepie91_> | domanic: okay - do you know with certainty whether the logic for this is in the `request` library? because I'd like to see exactly what it's doing behind the scenes, and I'm not sure where to start looking... |
21:56:14
| <joepie91_> | related question: are there any alternatives to `request` with better documentation, less undocumented magic, and perhaps a bit of a nicer API? |
21:57:02
| * phated | quit (Remote host closed the connection) |
21:57:13
| * DamonOehlman | quit (Ping timeout: 244 seconds) |
21:57:34
| * DamonOehlman | joined |
22:00:58
| <domanic> | joepie91_, no but I remember mikeal talking about this back in the day. |
22:01:09
| <domanic> | joepie91_, [email protected]<2 or hyperquest |
22:02:02
| <joepie91_> | domanic: right, I'm looking for something maintained and more featureful than hyperquest :P |
22:02:17
| <joepie91_> | I'd like to avoid writing my own if an alternative exists that I am simply not aware of |
22:02:57
| <domanic> | joepie91_, no I don't know. I think hyperquest is okay, though. |
22:04:50
| <joepie91_> | bit too minimal for my tastes :) judging from the docs anyway |
22:05:20
| * kessler | joined |
22:05:25
| * oldskirt_ | joined |
22:08:35
| * oldskirt | quit (Ping timeout: 244 seconds) |
22:10:34
| <domanic> | joepie91_, it doesn't have the request(opts, cb) api |
22:10:49
| <domanic> | just streams... that would be easy to add though |
22:11:38
| <joepie91_> | domanic: well, that's the thing - I'm looking for stuff like (optional) body buffering, handling of multipart POST, and so on |
22:11:55
| <joepie91_> | I just find myself struggling way more with requests API/docs than I should have to |
22:12:20
| <substack> | if you want to buffer a body, just pipe to concat-stream |
22:12:21
| <joepie91_> | and I'd prefer not to have to plug in a billion modules myself over and over again for relatively common tasks |
22:12:59
| <substack> | the problem with this line of thinking of bundling relatively common tasks |
22:13:02
| <substack> | is that you end up with request |
22:13:17
| <substack> | or you spend all your time fighting turf wars about what belongs and what doesn't belong |
22:13:32
| <joepie91_> | substack: I find that the problem with request is not so much its size, as its usability - eg. python-requests does more or less the same thing(s), but is much much nicer to work with |
22:13:41
| <substack> | they are related |
22:13:59
| <joepie91_> | my point being that python-requests can apparently manage to do this and have a nice/usable API :P |
22:14:34
| <substack> | request wants to interface with existing apis but at the same time provide a lot of convenience |
22:14:40
| <substack> | but those aren't really compatible ideas |
22:14:57
| <substack> | you can either have a convenient but completely bespoke and non-interoperable interface |
22:15:18
| <substack> | or you can have a simple interface that interoperates but does not have many features |
22:15:48
| <substack> | because features come at the expense of interoperability |
22:17:39
| <substack> | convenience means that the tool will likely get in your way when you try to interoperate with an existing external libraries because convenience is always about creating shortcuts and workflows |
22:17:47
| * DamonOehlman | quit (Ping timeout: 245 seconds) |
22:17:49
| <substack> | and shortcuts and workflows are a kind of architecture |
22:18:49
| <substack> | interoperable code requires complete buy-in with plugins or simple interfaces and control over how they are glued together |
22:19:08
| <domanic> | joepie91_, request used to be good. it just boated - <2 it was much simpler, but basically the same. |
22:20:18
| * insertcoffee | quit (Ping timeout: 255 seconds) |
22:20:25
| <substack> | aside: gulp and grunt have exactly the same problem |
22:20:43
| <substack> | and that is why people struggle so much to integrate other tools into those workflows |
22:23:34
| * thlorenz | quit (Remote host closed the connection) |
22:24:54
| * jloi | joined |
22:26:01
| * kessler_ | joined |
22:26:30
| * anvaka | joined |
22:26:42
| * jloi | quit (Client Quit) |
22:28:10
| * kessler | quit (Ping timeout: 264 seconds) |
22:28:29
| * gorhgorh | quit (Quit: gorhgorh) |
22:28:55
| * gorhgorh | joined |
22:29:02
| * DamonOehlman | joined |
22:31:09
| * anvaka | quit (Ping timeout: 258 seconds) |
22:53:10
| * brianloveswords | quit (Quit: Computer has gone to sleep.) |
23:03:55
| * thlorenz | joined |
23:08:53
| * jesusabdullah | quit (Ping timeout: 240 seconds) |
23:09:51
| <joepie91_> | domanic: you mentioned a passthrough stream as a solution to keeping it from passing on headers... while this works to kill off all header streaming, any idea how I'd implement a custom passthrough-like stream that'd only pass on *certain* headers? eg. content-length and content-encoding |
23:09:57
| <joepie91_> | (usecase: custom reverse proxy) |
23:10:59
| <substack> | just handle that explicitly |
23:11:08
| <joepie91_> | okay... how? :P |
23:12:09
| <joepie91_> | I mean, I could probably manually set headers outside of the piping chain so to say |
23:12:10
| <domanic> | joepie91_, just set the headers you want manually |
23:12:13
| <joepie91_> | but surely there's a neater way? |
23:12:23
| <domanic> | or write a proxy stream module |
23:12:46
| <joepie91_> | where "proxy stream module" does...? |
23:13:04
| <domanic> | if it pretend to be a http streams (i.e. has writeHead and setHeader) then request would call those, i thin. |
23:13:15
| <substack> | just do this: http.createServer(function (req, res) { var r = request(url); r.on('response', function (rs) { Object.keys(rs.headers).forEach(function (key) { res.setHeader(key, rs.headers[key]) }); rs.pipe(r) }) }) |
23:13:39
| <substack> | or rather, rs.pipe(res) |
23:14:02
| <domanic> | request just does duck type checking of the features ... it also checks for file streams... |
23:14:19
| <joepie91_> | substack: I see, thanks |
23:14:20
| * kessler_ | quit (Remote host closed the connection) |
23:14:25
| <joepie91_> | domanic: can you point me at the part of the code that does that? |
23:14:30
| <joepie91_> | I've been looking for it for the past 30 minutes |
23:14:32
| <joepie91_> | but can't seem to find it |
23:14:45
| <joepie91_> | and I've run out of things to grep for :P |
23:15:20
| <joepie91_> | also, substack: may I suggest using a pastebin for code examples? it's a lot easier to understand indented example code :) |
23:15:21
| <domanic> | joepie91_, I don't know the code I just remember mikeal talking about it. |
23:15:26
| * jesusabdullah | joined |
23:15:28
| <joepie91_> | (sprunge works if you don't like using a browser for that) |
23:15:48
| <joepie91_> | domanic: aha, thanks anyway, perhaps looking for writeHead will help me find it |
23:15:51
| <domanic> | grep for writeHead? |
23:15:58
| <domanic> | yeah |
23:16:17
| <domanic> | or pass in a stream with writeHead, except it throws or logs a stacktrace |
23:16:55
| * phated | joined |
23:17:13
| <joepie91_> | domanic: nothing for writeHead outside of the tests/ dir (though it may just be github search sucking) |
23:17:35
| <joepie91_> | already looked for setHeader before, couldn't find anything on that either... |
23:18:27
| * brianc | joined |
23:18:48
| <brianc> | any suggestion as to what to do to have a Duplex stream in v0.8.x? anything like readable-stream exist for duplex stream? |
23:19:21
| * toddself | quit |
23:20:52
| * brianc | quit (Read error: No route to host) |
23:23:58
| * kessler | joined |
23:26:51
| * Mso150 | quit (Remote host closed the connection) |
23:27:17
| * Mso150 | joined |
23:28:37
| * kessler | quit (Ping timeout: 255 seconds) |
23:41:41
| * Mso150_g | joined |
23:41:53
| * Mso150 | quit (Ping timeout: 240 seconds) |
23:50:31
| <thealphanerd> | substack: have you ever seen a problem with watchify not watching files? Have two different team members running into this problem :S |
23:50:39
| <thealphanerd> | I’m chasing it down the stack to chokidar |
23:50:45
| <thealphanerd> | I’ll let you know when I dig more up |
23:57:03
| * kessler | joined |