00:00:01  * ircretaryquit (Remote host closed the connection)
00:00:08  * ircretaryjoined
00:21:19  * jcrugzzquit (Ping timeout: 260 seconds)
00:23:42  <defunctzombie>advice time!
00:24:01  <defunctzombie>if I have some client side js
00:24:08  <defunctzombie>which needs to make api calls, etc
00:24:19  <defunctzombie>during testing I make those calls to http://localhost:port
00:24:25  * AvianPhonequit (Quit: Bye)
00:24:28  <defunctzombie>but in production I want that to point to another server
00:24:34  <defunctzombie>best way to make that happen?
00:24:42  <defunctzombie>or any good way for that matter
00:27:25  <substack>pass http://localhost:port as a parameter?
00:29:43  * yorickquit (Ping timeout: 260 seconds)
00:33:49  <chapel>have a config object that is initialized in your client side js when the server writes the page
00:34:00  <chapel>and depending on env, set the host that way
00:37:33  * tmcwjoined
00:47:49  <defunctzombie>substack: yea, ended up doing something similar since I already had config like params
01:01:40  * ins0mniaquit (Ping timeout: 264 seconds)
01:10:44  * Kesslerjoined
01:17:15  * Kessler_joined
01:18:28  * Kesslerquit (Ping timeout: 256 seconds)
01:30:44  * Kessler_quit (Ping timeout: 268 seconds)
01:35:59  * tmcwquit (Remote host closed the connection)
01:37:23  * Kesslerjoined
01:59:57  * Kesslerquit (Ping timeout: 240 seconds)
02:06:50  * Madarsjoined
03:08:47  * i_m_cajoined
04:08:22  <Domenic_>defunctzombie: write docs for bundle.external >:P
04:08:36  <defunctzombie>Domenic_: yes… I'll do that now :)
04:08:46  <defunctzombie>Domenic_: wanna co write some docs with me?
04:08:54  <Domenic_>defunctzombie: not... really? haha
04:08:58  <defunctzombie>:'(
04:09:04  <defunctzombie>why do you break my heart?
04:09:55  <Domenic_>i am just a heartbreaker ... i guess?
04:34:19  * calvinfoquit (Quit: Leaving.)
04:42:54  <defunctzombie>Domenic_: https://github.com/shtylman/node-browserify/tree/external-docs#bexternalfile--bundle
04:46:19  <Domenic_>defunctzombie: LGTM! hope substack likes it :)
04:48:48  * mk30quit (Quit: leaving)
05:19:12  * i_m_caquit (Ping timeout: 260 seconds)
05:27:59  * mikolalysenkojoined
05:34:23  * itprojoined
05:34:23  * itprochanged nick to ITpro
05:41:15  * mikolalysenkoquit (Ping timeout: 245 seconds)
05:46:47  * jcrugzzjoined
05:51:41  * timoxleyquit (Remote host closed the connection)
05:51:56  * timoxleyjoined
05:57:51  * dominictarrjoined
05:59:01  * dominictarr_joined
06:02:27  * dominictarrquit (Ping timeout: 260 seconds)
06:02:27  * dominictarr_changed nick to dominictarr
06:04:39  * jcrugzzquit (Ping timeout: 256 seconds)
06:07:29  * mk30joined
06:09:52  * shamaquit (Remote host closed the connection)
06:26:22  * dominictarrquit (Quit: dominictarr)
06:27:39  * jiangplusjoined
06:27:56  * jiangpluspart
06:28:00  * jiangplusjoined
06:28:22  * jiangpluspart
06:29:07  * jiangplusjoined
06:29:55  * jiangpluspart
06:36:40  * calvinfojoined
06:38:37  * Kesslerjoined
06:47:02  * Kessler_joined
06:49:43  * Kesslerquit (Ping timeout: 264 seconds)
06:54:27  <Raynos>defunctzombie: I have a config for browser apps
06:54:40  <Raynos>and have a client.js that does request({ base_uri + "/foo" ... })
06:58:03  * thlorenzjoined
06:59:51  * calvinfoquit (Quit: Leaving.)
07:06:15  * thlorenzquit (Ping timeout: 245 seconds)
07:09:15  * Kessler_quit (Ping timeout: 256 seconds)
07:36:56  <defunctzombie>Raynos: yea, that makes sense too
08:00:15  <Raynos>defunctzombie: the easiest thing tbh is to just do same domain shit
08:00:18  <Raynos>and have /foo uris
08:00:34  <Raynos>and on your web server redirect /api to the api server
08:00:38  <Raynos>using a proxy
08:00:57  <Raynos>that way its just /api/bla and /web/bla or /auth/bla
08:06:32  <substack>Raynos: I think binding handlebars on top of hyper{glue,space,key} could mostly work
08:07:01  <Raynos>substack: but then your using a html templating DSL
08:07:13  <Raynos>which defeats the point of "template engine is evil"
08:07:54  <substack>for doing live updating the problem is that every time you put a {{}} it needs a shim container
08:08:05  <substack>which can mess with styles and selectors
08:10:41  <Raynos>I don't understand
08:10:59  <Raynos>your saying {{}} needs a wrapper div ?
08:11:20  <Raynos>or that handlebars inserts {{foo}} as <span>fooContent</span> instead of a text node
08:11:22  <substack>for live updates
08:11:32  <Raynos>Oh i see what you mean with live updates
08:11:41  <substack>otherwise you need to delete the old dom node and regenerate it
08:12:03  <Raynos>its not quite true
08:12:05  <substack>which makes the page flash and content scoots up and then pops back down again
08:12:09  <Raynos>if your doing purely client side stuff
08:12:13  <Raynos>you can use multiple text nodes
08:12:23  <Raynos>if your combining server side & client side stuff then its harder
08:12:37  <substack>that's what I'm doing
08:12:45  <substack>that's what my talk is about
08:13:06  <Raynos>so the best solution is to have the server side rendered html & the template
08:13:20  <Raynos>find any <div>{{foo}} hello {{bar}}</div>
08:13:26  <Raynos>and replace that single text node with 3 text nodes
08:13:46  <Raynos>so you'll need a pass through the dom on DOM ready to fix the templates
08:13:54  <Raynos>but then you can real time update individual text nodes
08:14:05  <Raynos>but 100% agreed that its a shit ton of complexity
08:14:11  <Raynos>better just disallow that shit
08:14:29  <Raynos>force user to do <div><span>{{foo}}</span> hello <span>{{bar}}</span></div>
08:16:23  <substack><div><span class="foo"></span> hello <span class="bar"></span></div> is basically that
08:19:27  * calvinfojoined
08:21:43  * calvinfoquit (Client Quit)
08:26:41  <juliangruber>substack: using dom attrs for templating ships around that problem elegantly
08:27:07  <jez0990_>hey, is anyone in Dublin this morning?
08:30:10  <defunctzombie>using { } mixed with other stuff is still possible for live updates
08:30:20  <defunctzombie>cause you can just store the text that was there
08:30:30  <defunctzombie>in either case, adding spans or such is fine
08:30:41  <defunctzombie>dom nodes like that are cheap
08:30:42  * AvianFlujoined
08:30:54  <defunctzombie>and the gains from writing less boilerplate js nonsense is worth it
08:32:50  * jjjohnnyquit (Ping timeout: 246 seconds)
08:33:47  * LOUDBOTquit (Remote host closed the connection)
08:34:40  * LOUDBOTjoined
08:34:42  * jjjohnnyjoined
08:35:17  * py1honquit (Ping timeout: 248 seconds)
08:35:52  * py1honjoined
08:48:22  <substack>presentation examples 4/8 complete
08:52:15  <jaz303>when is your talk?
08:52:50  <substack>tomorrow morning
09:00:59  * ins0mniajoined
09:01:48  * AvianFluquit (Remote host closed the connection)
09:18:03  * chiltsquit (Ping timeout: 245 seconds)
09:18:25  * chiltsjoined
09:20:41  <Raynos>jez0990_: ping
09:20:47  * dominictarrjoined
09:20:56  <Raynos>I'm heading to dublin center around midday
09:21:02  <Raynos>is there like a gathering of people?
09:25:22  <jez0990_>Raynos: pong, only handful so far
09:27:06  <Raynos>thats good enough
09:27:09  <Raynos>ill just head there soon
09:30:31  * calvinfojoined
09:34:35  <dominictarr>Raynos: I'm not in dublin, but we'll meet up later
09:48:50  * calvinfoquit (Quit: Leaving.)
09:50:58  <rvagg>can we render animated gifs to the console yet guys?
09:51:00  <rvagg>if not, why not?
09:51:39  <dominictarr>rvagg: you can with substack's exterminate
09:51:58  <dominictarr>and with fancy terminal emulators like terminology
09:52:24  <dominictarr>… is this the one thing emacs can't do?
09:52:52  <rvagg>ooo... there's a challenge for the emacsers
09:53:13  <rvagg>http://www.gnu.org/software/emacs/manual/html_node/elisp/Animated-Images.html
09:55:40  <rvagg>http://www.lcdf.org/gifsicle/
09:55:47  <rvagg>(not for rendering, but neat)
09:55:52  <rvagg>Q: How do you pronounce �gifsicle�?
09:55:53  <rvagg>A: �Yo� mama.�
09:59:40  * kenperkinsjoined
10:07:26  <dominictarr>rvagg: juliangruber we are going to get coffee at moe's (rvagg knows the place)
10:07:36  * dominictarrquit (Quit: dominictarr)
10:08:19  * kenperkinsquit (Ping timeout: 264 seconds)
10:34:35  * dominictarrjoined
10:38:58  <jez0990_>RYn
10:39:27  <jez0990_>Raynos: it's all dissipated here now :/
10:39:39  <Raynos>jez0990_: ?
10:39:41  <Raynos>everyone left ?
10:40:15  <Raynos>jez0990_: or everyone is crazy ?
10:40:19  <rvagg>dominictarr: checking out of hotel, will wander up soon
10:40:36  <dominictarr>okay, cool
10:41:12  <jez0990_>Raynos: the handful of folk that were here, yeah. I'm not leaving for the time being but I've no idea where anybody is
10:41:38  <Raynos>ill be there in <40 mins
11:09:56  * Kesslerjoined
11:23:16  * Kesslerquit (Ping timeout: 264 seconds)
11:23:59  * Kesslerjoined
11:25:37  * defunctzombiechanged nick to defunctzombie_zz
11:29:02  * Kesslerquit (Ping timeout: 264 seconds)
11:36:21  * yorickjoined
11:38:08  * defunctzombie_zzchanged nick to defunctzombie
11:45:42  * defunctzombiechanged nick to defunctzombie_zz
11:46:54  * dominictarr_joined
11:47:29  * dominictarrquit (Ping timeout: 256 seconds)
11:47:30  * dominictarr_changed nick to dominictarr
11:50:47  * AvianPhonejoined
11:55:32  * timoxleyquit (Remote host closed the connection)
12:02:31  * dominictarrquit (Quit: dominictarr)
12:25:38  * AvianPhonequit (Ping timeout: 268 seconds)
12:51:21  * AvianPhonejoined
12:56:05  * timoxleyjoined
13:09:08  * timoxleyquit (Remote host closed the connection)
13:14:21  * timoxleyjoined
13:14:56  * timoxleyquit (Read error: Connection reset by peer)
13:15:37  * timoxleyjoined
13:16:30  * timoxleyquit (Read error: Connection reset by peer)
13:17:10  * timoxleyjoined
13:30:03  * spionjoined
13:32:30  * AvianPhonequit (Ping timeout: 245 seconds)
13:36:16  * timoxleyquit (Remote host closed the connection)
13:38:06  * AvianPhonejoined
13:38:08  * AvianPhonequit (Remote host closed the connection)
13:38:32  * AvianPhonejoined
13:38:32  * AvianPhonequit (Remote host closed the connection)
13:38:56  * AvianPhonejoined
13:38:57  * AvianPhonequit (Read error: Connection reset by peer)
13:39:16  * AvianPhonejoined
13:39:17  * AvianPhonequit (Remote host closed the connection)
14:18:59  * ITproquit (Ping timeout: 240 seconds)
14:33:07  * i_m_cajoined
14:34:53  * dominictarrjoined
14:38:52  * i_m_caquit (Ping timeout: 264 seconds)
14:41:52  * dominictarr_joined
14:44:16  * dominictarrquit (Ping timeout: 264 seconds)
14:44:16  * dominictarr_changed nick to dominictarr
14:45:53  * dominictarrquit (Client Quit)
15:10:09  * itprojoined
15:10:09  * itprochanged nick to ITpro
15:11:22  * timoxleyjoined
15:31:02  * mikolalysenkojoined
15:48:02  * dominictarrjoined
15:53:02  * dominictarrquit (Ping timeout: 264 seconds)
15:55:34  * Kesslerjoined
16:01:55  * dominictarrjoined
16:25:40  * mikolalysenkoquit (Ping timeout: 264 seconds)
16:28:07  * Kesslerquit (Ping timeout: 264 seconds)
16:28:46  * mikolalysenkojoined
16:58:35  * mikolalysenkoquit (Ping timeout: 260 seconds)
17:00:31  * timoxleyquit (Remote host closed the connection)
17:25:42  * mikolalysenkojoined
17:31:46  * kumavisjoined
18:16:30  <substack>isaacs: how do I turn off all the magic high watermark machinery in streams2?
18:16:45  <substack>highWaterMark: 0 doesn't work nor does highWaterMark: Infinity
18:17:12  * timoxleyjoined
18:20:08  * tmcwjoined
18:23:37  * fotoveritejoined
18:31:37  * dominictarrquit (Quit: dominictarr)
18:40:59  * calvinfojoined
18:48:01  * thlorenzjoined
18:48:30  * shamajoined
18:50:47  * thlorenzquit (Remote host closed the connection)
18:56:52  * AvianFlujoined
19:00:26  * AvianFluquit (Remote host closed the connection)
19:08:39  * i_m_cajoined
19:20:23  * thlorenzjoined
19:21:15  * thlorenzquit (Remote host closed the connection)
19:23:19  * fotoveritequit (Ping timeout: 264 seconds)
19:24:47  * fotoveritejoined
19:27:26  * ins0mniaquit (Ping timeout: 268 seconds)
19:30:00  * tmcwquit (Remote host closed the connection)
19:30:28  * tmcwjoined
19:31:03  * ins0mniajoined
19:35:19  * tmcwquit (Ping timeout: 264 seconds)
19:40:20  * i_m_caquit (Read error: Connection reset by peer)
19:50:56  * kumavisquit (Quit: kumavis)
19:56:13  * calvinfoquit (Quit: Leaving.)
19:59:49  * timoxleyquit (Remote host closed the connection)
20:00:59  * tmcwjoined
20:01:18  * defunctzombie_zzchanged nick to defunctzombie
20:02:41  * kumavisjoined
20:03:50  <defunctzombie>substack: want a pull request for the .external docs or you just gonna pull it from my commit?
20:06:51  * defunctzombiechanged nick to defunctzombie_zz