00:00:00  * ircretaryquit (Remote host closed the connection)
00:00:04  <joepie91>node3js613: list almost done, having a proofread
00:00:09  * ircretaryjoined
00:00:09  <joepie91>before handing it to you :P
00:00:19  <node3js613>@joepie91: Awesome - thanks.
00:00:29  <joepie91>node3js613: little nitpick - JSON is uppercase but ip is not
00:00:38  <joepie91>I'd suggest lowercasing json
00:00:38  * nnyk_quit (Ping timeout: 246 seconds)
00:00:44  * stefjoined
00:00:54  <node3js613>@joepie91: Do you think it'd be good for both to be uppercase or lowercase?
00:00:57  <joepie91>snce it's clearly recognizable as an abbreviation and fits in better with the naming convention of the rest of the lib
00:01:06  <joepie91>see above :)
00:01:58  <node3js613>@joepie91: yeah - makes sense; Even more so when i lowercase types.
00:02:14  * SoulBladequit (Ping timeout: 272 seconds)
00:02:23  * zzzbraquit (Ping timeout: 246 seconds)
00:02:40  * basedquit (Read error: Connection reset by peer)
00:02:48  <ulius>I'm trying to write a really simple load test tool in node. Whats a good way to implement 'N requests per second'? Not sure the best way to approach this
00:03:01  <joepie91>node3js613: sidenote for my grouping - I've lumped phone and CC number in with a few other things for now, but you may want to consider giving that a dedicated group when you start adding stuff like email address or hostname etc
00:03:03  * basedjoined
00:03:06  <joepie91>for "user input formats"
00:03:16  <ulius>Point being - instead of just running a loop, whats a good way to throttle the requests per second?
00:03:36  * robertfalkenjoined
00:03:43  <joepie91>ulius: increasing setInterval? if you're triggering the requests yourself
00:03:53  <joepie91>sorry, decreasing setInterval as your request load increases
00:04:06  <node3js613>@joepie91: Sounds good - email and url are on my @todolist they are a pain to validate well though.
00:04:08  * gnrlbzikquit (Ping timeout: 272 seconds)
00:04:10  * tomnewmannquit (Ping timeout: 255 seconds)
00:04:26  <joepie91>node3js613: well... http://www.ex-parrot.com/pdw/Mail-RFC822-Address.html
00:04:28  <joepie91>:P
00:04:38  * goodenoughjoined
00:04:55  <joepie91>node3js613: make sure to differentiate between hostname and URL, they're two very different things
00:04:59  <node3js613>@joepie91: Exactly... Do you think it's worth adding a few k to my lib?
00:05:05  <joepie91>heh, no, don't use that regex
00:05:22  * DadoCejoined
00:05:27  <joepie91>you can generally get away with much simpler regexes
00:05:37  <joepie91>email validation is only for preventing accidental mistakes
00:05:43  <ulius>joepie91: yea this is perfect, thanks
00:05:44  <joepie91>you always need to send a verification email anyway
00:05:58  <joepie91>so really all you need to do is "does this look roughly like what an e-mail address would look like"
00:06:00  <node3js613>@joepie91: I've been gradually working on this lib for a couple months and still haven't found a satisfactory email/url validator. And i've been looking at tons of existing libraries.
00:06:15  <node3js613>@joepie91: If you could recommend some that would be great as well.
00:06:17  * TheEddyFerreira_joined
00:06:27  <joepie91>node3js613: will do in a bit, let me finish this first :P
00:07:10  <node3js613>@joepie91: Alrighty. You have no idea how hard i've been trying to get this kind of feedback - let alone help. Thanks again.
00:07:16  * jailbotquit (Read error: Connection reset by peer)
00:07:22  * TheEddyFerreiraquit (Ping timeout: 240 seconds)
00:07:23  * TheEddyFerreira_changed nick to TheEddyFerreira
00:07:32  * dseitzjoined
00:07:40  * brhuequit (Remote host closed the connection)
00:07:42  <joepie91>node3js613: https://gist.github.com/joepie91/6e80b50b4394d941c2c8
00:07:46  * cpupquit (Ping timeout: 255 seconds)
00:07:49  * it0aquit (Ping timeout: 256 seconds)
00:07:50  <joepie91>this is the order/grouping I'd suggest
00:08:00  <joepie91>I've tried to keep groups related, in increasing specificity
00:08:16  <joepie91>and within groups. I've tried to order things based on both related-ness and how likely somebody is to need it
00:08:23  <joepie91>(eg. that's why 'sorted' is at the very end of its group)
00:08:50  <node3js613>@joepie91: At a glance - this looks much much better than what i've had.
00:08:56  <node3js613>@joepie91: Makes a lot of sense.
00:09:20  <joepie91>node3js613: also, one sec
00:09:30  * DiegoMaxquit (Quit: My Mac has gone to sleep. ZZZzzz…)
00:09:54  * rouncequit (Quit: Leaving.)
00:10:12  * DadoCequit (Ping timeout: 276 seconds)
00:10:54  * zazajoined
00:10:58  <joepie91>node3js613: I'd do a per-validator layout like this:
00:11:00  <joepie91>https://gist.github.com/joepie91/096afcb369666ad691de
00:11:07  <joepie91>or something along those lines anyway
00:11:14  <joepie91>where you explicitly list the supported types for each validator
00:11:25  * rhysyngsunjoined
00:11:28  <joepie91>for example you said that startsWith also works for an Array, but that's not at all obvious from the example, and not what I'd expect
00:11:32  * zazaquit (Max SendQ exceeded)
00:11:47  <joepie91>my question at that point would be "but have they also implemented it for an Array?" and I'd safe-default to no, if it weren't explicitly mentioned or shown
00:11:52  * jergasonjoined
00:11:53  * cpupjoined
00:12:08  <node3js613>@joepie91: I very much like that idea; I actually have no idea how I expected people to figure that out.
00:12:26  * joshonthewebjoined
00:12:31  <joepie91>you may need to move around the "supported types" bit, perhaps the position where I put it isn't great - people might mistake it as belonging to the validator *below* it... not sure how to solve that
00:12:48  <node3js613>hense the little foot-note at the bottom of the validation page.
00:12:52  * rouncejoined
00:13:08  * wavdedquit (Quit: Keep on rockin...)
00:13:11  <node3js613>@joepie91: i'll mess around with it.
00:13:12  * maqrquit (Ping timeout: 245 seconds)
00:13:26  <joepie91>node3js613: nobody reads the footnotes ;)
00:13:34  <joepie91>(especially if it's not clear that they're there)
00:13:42  <node3js613>@joepie91: Good point.
00:13:49  <joepie91>basically, once people have found what they were looking for, they stop reading
00:13:57  <joepie91>any caveats and notes should always be at the very top of the page, 'above the fold'
00:14:03  * _X_C_V_B_quit (Ping timeout: 256 seconds)
00:14:03  * AciD```quit (Ping timeout: 256 seconds)
00:14:14  <joepie91>and footnotes should always be referred to where relevant, if you use them (but it's better not to use them at all)
00:14:50  * dreadedquit
00:15:40  * ibashjoined
00:16:21  <node3js613>@joepie91: Good to know; I am a junior developer but I am very passionate. These things - although they make a lot of sense - are not things that come to my mind whilst making my documentation.
00:16:31  * detjquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:16:34  * timwisjoined
00:16:39  * Trowquit (Quit: Leaving)
00:16:42  * artemmquit (Ping timeout: 276 seconds)
00:16:46  <Aria>Aye. Good advice for documentation goes deep.
00:16:50  <joepie91>node3js613: as for email validation, https://github.com/chriso/validator.js/blob/master/validator.js#L38
00:16:57  <joepie91>try that one, looks like it's seen some battle testing
00:17:01  <joepie91>and it's reasonably brief
00:17:03  <timwis>Hey guys, I'm running into an issue referencing my loop index inside my function -- what's the proper way to do this? (simple test case: https://gist.github.com/timwis/7f9265c11c73f307d831 )
00:17:07  * delightquit (Quit: delight)
00:17:08  <Aria>It's not well understood, and it's a very human problem. It's about getting people to understand. So much documentation we write appeases computers more than humans.
00:17:14  * platonicjoined
00:17:29  <joepie91>node3js613: that's okay, you'll learn :D I recommend keeping note of what annoys you about documentation for other modules you didn't write
00:17:39  <joepie91>over time, you'll start seeing patterns in what makes good docs
00:17:50  <joepie91>node3js613: give me a sec, and I have a reference for you, even
00:17:51  <Aria>Yes! That!
00:17:58  * Nuckjoined
00:18:23  <joepie91>node3js613: this is about the Python documentation, but the author of this message lists a few very good lessons on how to write good documentation: https://mail.python.org/pipermail/python-list/2013-February/654540.html
00:18:25  <node3js613>@joepie91: Good idea. And thanks for the link - i've been through that validator before but wasn't sure I could trust the regex. But it is true that its probably the most tested on node.
00:18:44  <Aria>timwis: Aha! You're being bitten by asynchrony.
00:18:57  <Aria>timwis: Er, no you're not.
00:18:58  <joepie91>(it also shows in what ways the Python documentation fails at heeding these lessons)
00:18:58  <timwis>lol
00:19:01  <sehrope>timwis: The "i" isn't resolved until the loop is completed.
00:19:10  <node3js613>@joepie91: Thanks - bookmarked
00:19:13  <sehrope>So all the functions get executed with the final value
00:19:20  * denysoniquequit (Ping timeout: 272 seconds)
00:19:46  <joepie91>timwis: oh, that's a classic one
00:19:49  <joepie91>hold on
00:19:59  <Aria>Oh, yeah, you are. Okay, that is slightly tricky. What's happening: your loop runs through all the iterations, storing a copy of that function for reach. THEN, after i is already at the max, the async starts.
00:20:00  * NodeNedjoined
00:20:05  * vohof52quit (Read error: Connection reset by peer)
00:20:08  * weilujoined
00:20:16  * vohof52joined
00:20:16  <node3js613>@joepie91 now i am going to make all of these changes :p.
00:20:26  * asheinfeldjoined
00:20:38  <joepie91>timwis: bah, I can't find my usual reference, but I can whip up a quick example solution for you
00:20:57  * Stalkr_quit (Quit: Leaving...)
00:21:05  <timwis>thanks joepie91!
00:21:24  <timwis>_.each() works, but I'd hate to use that for such a simple loop if i don't have to
00:21:24  <sehrope>The usual trick is to pass it as the parameter to a function so that the current value gets passed, not the reference itself
00:21:29  * platonicquit (Ping timeout: 245 seconds)
00:21:32  * Nathantejoined
00:21:35  <Aria>timwis: So what you can do is capture i -- for (var i in filenames) { tasks.push(makeCallback(i, filenames)) } and function makeCallback(i, filenames) { return function (callback) { console.log(filenames[i]); callback(); } })
00:21:37  * Nathantequit (Max SendQ exceeded)
00:21:47  <timwis>yeah, tried playing aroudn with that, but the fact that async.parallel() requires an array of specific functions makes it tough
00:21:52  * giowongquit (Read error: Connection reset by peer)
00:21:52  <Aria>timwis: but an iterator like forEach (or _.each) already gives you a local copy.
00:21:53  <joepie91>sehrope: yeah, that's what I'm doing now
00:21:54  * giowong_joined
00:21:55  * cj3kimquit (Remote host closed the connection)
00:21:57  <joepie91>in the example fix
00:22:04  * Nathantejoined
00:22:05  * Nathantequit (Max SendQ exceeded)
00:22:22  * sehropecheated as just went to the coffee-script web site and put: do(i) -> i
00:22:23  <Aria>timwis: I'd use filenames.forEach (node is ES5: it has forEach, so there's no need for _.each)
00:22:31  <timwis>:O
00:22:38  <timwis>didn't know that! used to browser js
00:22:46  <Aria>Yup! Even most browsers have it now.
00:22:50  * systemovichquit (Ping timeout: 244 seconds)
00:22:52  * giowong_part
00:22:58  * rxmthjoined
00:22:59  <Aria>(and it's easy to polyfill. Time to move to the future!)
00:23:05  * systemovichjoined
00:23:08  <joepie91>timwis: https://gist.github.com/joepie91/d97a9339445719ea2f41
00:23:10  <joepie91>this should work
00:23:25  <joepie91>wait no
00:23:30  <joepie91>wait yes
00:23:31  <joepie91>it does
00:23:38  * maximskijoined
00:23:41  * Nuckquit (Quit: Computer has gone to sleep.)
00:23:46  <joepie91>the trick is that it creates a function, then immediately calls that function with `i`
00:23:55  * maximskiquit (Max SendQ exceeded)
00:24:05  <joepie91>so that it keeps a reference to the right thing within that 'wrapper' function
00:24:05  <timwis>ah, got it. thanks joepie91
00:24:07  * Nathantejoined
00:24:16  <joepie91>sehrope: coffeescript has a do?
00:24:17  <timwis>although I guess I'll just use forEach since it's native now
00:24:22  <joepie91>forEach also works :)
00:24:37  <sehrope>joepie91: Yes ... For example: do (i) -> () -> i * i
00:24:42  * maximskijoined
00:24:47  * Nathantepart
00:24:47  * Jirachierquit (Ping timeout: 246 seconds)
00:24:48  * mjpearsonquit (Remote host closed the connection)
00:24:49  <deltab>do f is the same as f()
00:24:57  <joepie91>sehrope: my life is a lie
00:24:58  <sehrope>That returns back a function that returns the square of the parameter but with it's current value.
00:24:59  <joepie91>:P
00:25:03  <sehrope>lol
00:25:16  * weiluquit (Ping timeout: 264 seconds)
00:25:19  <joepie91>thanks, I needed that, heh
00:25:23  * cpupquit (Ping timeout: 256 seconds)
00:25:25  <joepie91>I didn't remember CS having that
00:25:35  <sehrope>I'm a big fan of coffeescript ... use it for pretty much all JS. Takes a bit of getting used to and the syntax is a love-it-or-hate-it thing
00:25:40  * Jirachierjoined
00:25:43  <joepie91>I'm a reasonable fan of CS
00:25:59  <joepie91>I like it a lot from a practical POV, but I'm not very charmed by the attitude of the devs, and it certainly isn't perfect
00:26:21  * evotunedjoined
00:26:26  * therealkoopaquit (Remote host closed the connection)
00:26:33  <joepie91>last I looked at the coffeescript bugtracker, it contained a lot of "no, that's not a usability problem, it's perfect like it is, we're the devs so we know best"
00:26:43  <joepie91>:(
00:26:53  * harrisonmjoined
00:27:00  <sehrope>Yah there's a couple there I don't agree with as well but I still prefer it over raw JS
00:27:12  <sehrope>The last update had a somewhat nasty breaking change hidden in it
00:27:26  <joepie91>I also still prefer it over raw JS :P it just speeds up my dev a *lot*
00:27:42  <joepie91>can write code almost real-time (compared to train of thought) now and that's kind of what I was looking for
00:27:45  * rxmthquit (Ping timeout: 276 seconds)
00:27:51  <monastic-panic>if you are gonna transpile why not just use something like 6to5?
00:28:18  <joepie91>monastic-panic: the point isn't to transpile
00:28:32  <monastic-panic>i mean that es6 has most of the nice cs lang features
00:28:33  * harethjoined
00:28:37  <joepie91>the point is to have a more pleasant syntx
00:28:38  <joepie91>syntax *
00:28:41  <sehrope>Yup
00:28:45  <joepie91>yes, and from a practical point of view, it's still not as pleasant as CS
00:28:55  <joepie91>sure, it's a lot better than ES5
00:29:04  <joepie91>but I see no reason to replace CS with ES6 at this point
00:29:13  * Zentdaynquit (Quit: Zentdayn)
00:29:23  <joepie91>especially since CS (afaik) just lets you use ES6 constructs
00:29:41  * EzeQLjoined
00:29:53  <sehrope>As of 1.9 for the most part
00:30:10  <sehrope>I don't use generators for production code and the rest is just fluff so quite happy with existing CS
00:30:14  * jesusprubioquit (Remote host closed the connection)
00:30:20  * jcdesimp_joined
00:30:24  * tyfighterquit (Quit: tyfighter)
00:30:32  <netameta>Is there a way to allow user input after i did sudo node script.js
00:30:35  <monastic-panic>fair enough, always intersting what ppl prefer.
00:30:36  * Keanu73quit (Quit: Leaving)
00:30:43  <monastic-panic>cs rubs me the wrong way personally :P
00:30:55  <joepie91>monastic-panic: tbh, I'd probably prefer livescript, but the tooling isn't quite as widespread for that as for CS...
00:30:55  * karlmikkoquit (Remote host closed the connection)
00:30:59  <node3js613>Also - In my opinion - The 'everything is an expression' aspect of coffee-script makes functional programming much easier.
00:31:00  <sehrope>netameta: What would be different vs not running it as sudo?
00:31:06  <joepie91>so CS is more of a practical choice for me at this point
00:31:11  * bazineta_quit (Ping timeout: 265 seconds)
00:31:11  * nnyk_joined
00:31:21  <joepie91>node3js613: it does, in a way, but there's a bunch of really weird edge cases in that part of CS in particular
00:31:30  * karlmikkojoined
00:31:35  <joepie91>operator precedence isn't always what you'd expect it to be, for example
00:31:37  * cj3kimjoined
00:31:44  <netameta>sehrope, there wont be i added the sudo just to indicate i run the script from a command line
00:31:49  * bazineta_joined
00:31:55  * dcct_joined
00:32:04  * EzeQL____quit (Ping timeout: 255 seconds)
00:32:08  <monastic-panic>i just don't mind js so much to need a new language but not everyone working in JS is doing it out of preference which i get
00:32:10  <node3js613>@joepie91: I haven't personally ran into them - but I find I can much more quickly refactor code and it does not get nested as quickly.
00:32:12  * cpupjoined
00:32:15  <sehrope>netameta: There's plenty of ways to get input ... the most direct is probably to read from process.stdin
00:32:18  <joepie91>netameta: you don't need sudo to run something from a command line...?
00:32:36  <joepie91>netameta: also, if you want to read commandline input, look at the readline module, it's in core
00:32:40  * rigor789changed nick to rigor789|away
00:32:42  <joepie91>assuming human input
00:32:45  <netameta>Ignore the sudo
00:33:08  <netameta>realine, thanks sehrope, and joepie91
00:33:39  * bollullerajoined
00:33:59  * r20quit (Ping timeout: 245 seconds)
00:34:05  * jcdesimpquit (Ping timeout: 265 seconds)
00:34:05  * satazor_quit (Remote host closed the connection)
00:34:14  <dcct_>Hi everyone. How can I access an object variable (this.x = ..) inside a callback in that object? this.x results in "Object #<Object> has..." error
00:34:14  * harethquit (Quit: hareth)
00:34:15  * ren_hoekquit (Remote host closed the connection)
00:34:15  * Guest97515quit (Quit: This computer has gone to sleep)
00:34:41  * r20joined
00:34:44  <joepie91>dcct_: code example?
00:35:24  <monastic-panic>dcct_ assuming im guessing correclty wht you are talking about, you probably want to do somethin like var self = this; outside the callback then use self.x
00:35:39  <dcct_>http://pastebin.com/taMApku6
00:35:55  * rhysyngsunquit (Quit: rhysyngsun)
00:35:56  <monastic-panic>ya definately
00:36:07  <monastic-panic>you need to take advantage of the closure
00:36:23  * shreddingjoined
00:36:26  <joepie91>yep
00:36:32  * evotunedquit (Ping timeout: 245 seconds)
00:36:33  <dcct_>is this good coding style anyway?
00:36:50  <monastic-panic>saving a reference to this?
00:36:54  <dcct_>yes
00:37:02  <monastic-panic>its fairly idomatic javascript yes
00:37:05  * test38997quit (Remote host closed the connection)
00:37:10  <monastic-panic>not fairly, extremely
00:37:23  <joepie91>dcct_: there's also Function.bind(), but make sure you understand very well what it does before using it
00:37:35  <monastic-panic>^^^
00:37:53  <dcct_>is self a keyword or could i use something else?
00:37:57  <joepie91>saving a reference is pretty much the always-works approach
00:38:04  <joepie91>dcct_: can use anything, but self is semi-convention
00:38:07  * satazorjoined
00:38:07  * satazorquit (Remote host closed the connection)
00:38:13  * shreddingquit (Client Quit)
00:38:14  * sent1nelquit (Remote host closed the connection)
00:38:14  <joepie91>so I'd recommend using self unless you have a specific reason not to
00:38:18  <monastic-panic>"that" is also common
00:38:23  <monastic-panic>https://github.com/getify/You-Dont-Know-JS/tree/master/scope%20%26%20closures
00:38:25  <joepie91>monastic-panic: only seen that once :P
00:38:27  <monastic-panic>further reading
00:38:29  * timwisquit (Quit: Page closed)
00:38:29  <dcct_>thanks guys
00:38:33  <joepie91>seems like a god one, though
00:38:46  <joepie91>good, even
00:38:48  <dcct_>whats the best way to do this, self or bind?
00:38:51  <monastic-panic>self is very common in the node world it seems
00:38:58  <olfox>i usually call it what it is
00:38:59  <joepie91>dcct_: self, probably
00:39:01  <olfox>ie self -> view, model
00:39:03  * thatslifesonjoined
00:39:07  <monastic-panic>dcct_ there isn't a "best" way
00:39:13  <monastic-panic>they are both correct
00:39:14  * rouncequit (Quit: Leaving.)
00:39:21  <joepie91>bind does come with some extra overhead iirc, and it could cause havoc if you refactor things and suddenly need the 'this' reference for something else
00:39:26  * uliusquit (Quit: Page closed)
00:39:27  <node3js613>@joepie91: Would you also happen to have a good example of a hostname and domain validator?
00:39:28  * shreddingjoined
00:39:47  <olfox>if you only choose one, choose reference, but why would you?
00:40:06  <joepie91>node3js613: I suspect that for URL parsing, you could just cheap out and use Node's core module, and see if that succeeds
00:40:09  <Aria>bind is not just slow but stupendously slow.
00:40:12  * maqrjoined
00:40:24  <Aria>It's the only thing I knee-jerk performance tweak.
00:40:31  <dcct_>cause I'm still in early learning phase and like to get good coding style
00:40:35  <Aria>(it's about 10x slower than I figured it could be.)
00:40:38  <node3js613>@joepie91: But I need browser support :\
00:40:45  <olfox>function () { function () { }.bind(this); }.bind(this); code is shit
00:40:45  <joepie91>aha
00:40:52  <monastic-panic>i dunno i don't often see an issue with bind
00:40:59  <node3js613>but I could look into there docs.
00:41:04  <Aria>node's core module is also available for the browser. It's pure javascript.
00:41:11  <olfox>generally, are you binding a anonymous function you are doing it wrong
00:41:13  <joepie91>node3js613: https://github.com/chriso/validator.js/blob/master/validator.js#L160-L236
00:41:28  <joepie91>not really sure about hostname
00:41:33  <joepie91>but that's an RFC thing
00:41:43  <joepie91>I suspect it pretty much just comes down to "must have a dot" in real world scenarios
00:41:48  <monastic-panic>i like bind :P
00:41:56  <monastic-panic>it is objectively much slower tho
00:41:59  <joepie91>(though even that isn't required)
00:42:02  * poikonjoined
00:42:07  <node3js613>@joepie91: I have seen this as well; But in terms of it's api it has a lot of crazy config options. Perhaps it is the best bet though.
00:42:08  <monastic-panic>not the best choice for tons of function calls
00:42:44  <joepie91>node3js613: options are useful ;)
00:42:59  * denysoniquejoined
00:42:59  * denysoniquequit (Changing host)
00:42:59  * denysoniquejoined
00:43:05  <joepie91>but yeah, maybe just say "this uses the validator from node-validator, option docs are [here]"
00:43:35  <joepie91>node3js613: also, if I may make a suggestion - include an Express middleware that validates against req.body or somesuch
00:43:36  <node3js613>@joepie91: true enough. After I finish all of these changes (mostly just documentation left) I will also look into that. If your still around after that it would be awesome if you could look at my changes.
00:43:59  <joepie91>node3js613: I'm around on a daily basis :P
00:44:00  * nodweberjoined
00:44:12  <node3js613>@joepie91: Currently I only have one for koa- but i can do express as well.
00:44:29  * Sebmasterjoined
00:44:38  * TyrfingMjolnirquit (Quit: Searching for Waimea)
00:44:40  * it0ajoined
00:45:02  <joepie91>node3js613: haven't used Koa personally, no idea how they differ
00:45:07  * TyrfingMjolnirjoined
00:45:40  * maqrquit (Ping timeout: 264 seconds)
00:45:56  * test91181joined
00:46:05  * nuizzyjoined
00:46:21  * shreddingquit (Quit: shredding)
00:46:22  <node3js613>@joepie91: koa uses generators for flow control and it's really nice. Much less api surface. Also you never manually send out a request - you simply attach things to the response - which allows for middleware to first go down the stack, then back up before it sends. Really cool.
00:46:30  * cotkoquit (Ping timeout: 246 seconds)
00:46:52  * poikonquit (Ping timeout: 264 seconds)
00:46:53  <joepie91>node3js613: I understood some of those words :D
00:47:03  * gfmsjoined
00:47:29  <node3js613>@joepie91: Yeah it was confusing for me as well - but i'd certainly recommend checking it out. It makes working with middleware a dream.
00:47:53  * gfmsquit (Client Quit)
00:47:55  <node3js613>@joepie91: It's maintained by the same people who made express.
00:48:11  <joepie91>aha
00:48:12  * nux443quit (Ping timeout: 245 seconds)
00:48:15  <joepie91>will certainly look into it later :)
00:48:35  * nodweberquit (Ping timeout: 246 seconds)
00:48:52  * BillCriswelljoined
00:49:11  * tmk1108joined
00:49:15  * mtndogjoined
00:49:20  * TyrfingMjolnirquit (Client Quit)
00:49:26  * jcdesimp_quit (Remote host closed the connection)
00:49:35  <Aria>(Actually, though, regarding bind: I don't generally find it's needed. If I do, I should be using fewer objects and more closures.)
00:50:05  * jcdesimpjoined
00:50:30  * ProLoserquit (Remote host closed the connection)
00:50:58  * binauralmanjoined
00:51:14  * paperManu_changed nick to paperManu
00:51:16  <node3js613>@joepie91: regExp or regexp
00:51:37  <joepie91>node3js613: idk, I personally always call them regexes...
00:51:38  * cpupquit (Ping timeout: 272 seconds)
00:51:38  <joepie91>:p
00:51:40  * pkafeijoined
00:51:47  <joepie91>so it depends on whether you want to go with the common name, or the type definition
00:51:57  <joepie91>regExp would be JS-y I suppose
00:52:03  * evotunedjoined
00:52:08  <joepie91>regex would make more sense to me personally, as a not-just-JS-developer
00:52:13  * evotunedquit (Read error: Connection reset by peer)
00:52:25  <node3js613>yeah its a tough call.
00:52:35  <node3js613>Think i'll stick with regExp for now.
00:52:46  * evotunedjoined
00:53:08  * NodeNedquit (Quit: My Mac has gone to sleep. ZZZzzz…)
00:53:29  * mxbttyjoined
00:53:35  * maximskiquit
00:53:54  * BillCriswellquit (Ping timeout: 265 seconds)
00:54:07  * Ariasays regex, the p is silent ;-)
00:54:27  * daktakquit (Read error: Connection reset by peer)
00:55:10  * JamesMGreenejoined
00:55:29  * karlmikkoquit (Remote host closed the connection)
00:56:04  * binauralmanquit (Ping timeout: 272 seconds)
00:56:24  * ccejoined
00:56:57  * cpupjoined
00:57:20  * quattro_quit (Quit: quattro_)
00:57:21  * karlmikkojoined
00:57:39  * binauralmanjoined
00:57:41  * evotunedquit (Ping timeout: 256 seconds)
00:57:48  * towski_joined
00:57:56  * cj3kimquit (Remote host closed the connection)
00:58:18  * tyfighterjoined
00:58:19  * Teknixquit (Read error: Connection reset by peer)
00:58:36  * mxbttyquit (Ping timeout: 272 seconds)
00:58:36  * xinkeTjoined
00:59:04  * shreddingjoined
00:59:22  * towski_quit (Remote host closed the connection)
01:00:08  <joepie91>wow, what
01:00:09  <joepie91>http://jsperf.com/arguments-to-array-native-lodash-underscore
01:00:17  <joepie91>... I did not see that coming
01:00:24  * kurtkrautchanged nick to KurtKraut
01:01:55  * jhirleyf_joined
01:02:14  * robertfalkenquit
01:02:30  <node3js613>@joepie91: Pretty shocking actuallt.
01:02:35  * jhirleyquit (Ping timeout: 246 seconds)
01:02:39  <node3js613>actually*
01:03:06  <node3js613>@joepie91: Also - where do you think 'not' should be in the documentation?
01:03:21  * binauralmanquit (Ping timeout: 256 seconds)
01:03:27  * shreddingquit (Client Quit)
01:03:28  <joepie91>node3js613: hm, in its own section I think
01:03:38  <joepie91>it doesn't really belong to any of the other things
01:03:41  <joepie91>should probably be at the very top
01:03:49  <joepie91>also, consider whether it should be .not or .not()
01:03:53  <joepie91>consistency-wise :P
01:04:16  * harrisonmquit (Ping timeout: 264 seconds)
01:04:29  <node3js613>@joepie91: only concern with that is that it is not a validator - more a way to negate the next validator.
01:04:31  * Zolmeister_joined
01:04:39  <node3js613>prove().not does nothing
01:04:46  * test91181quit (Remote host closed the connection)
01:04:52  <joepie91>right, I guess
01:05:14  * iAmerika1joined
01:05:22  <node3js613>@joepie91: technically whenever a validator is added it's negated counterpart is created under the 'not' namespace.
01:05:47  * jhirleyf_quit (Client Quit)
01:06:01  <joepie91>node3js613: implementation shouldn't be relevant, though :)
01:06:04  <joepie91>leaky abstractions and all that
01:06:46  * cj3kimjoined
01:07:08  <joepie91>... whoa
01:07:21  <joepie91>I just realized I've sort-of implemented promises in PHP in the past, kind of
01:07:26  <joepie91>(not async though)
01:07:47  * shreddingjoined
01:07:53  <node3js613>@joepie91: I think i'm going to leave that one for now - although I may consider a change. Mostly because its similar to the no-op's (as, it, a, of... etc).
01:07:53  <joepie91>I've even called it a promise..
01:08:20  <joepie91>node3js613: it's not a no-op though, from the POV of the dev
01:08:44  <node3js613>@joepie91: Thats why I am also considering the change like you said.
01:08:53  * cpupquit (Ping timeout: 246 seconds)
01:08:54  <node3js613>infact I think i will.
01:08:59  <joepie91>node3js613: only very loosely related, this is the form validation logic I've implemented in PHP in the past: https://github.com/joepie91/cphp/blob/feature/formhandler/include.forms.php
01:09:12  * shreddingquit (Client Quit)
01:09:44  <node3js613>@joepie91: Can't stand php. Lol
01:09:53  <joepie91>node3js613: neither can I :)
01:09:55  <node3js613>although I am going to have to learn it better.
01:10:09  <joepie91>node3js613: I've been looking for a way to move away from PHP for the past year or three
01:10:13  <joepie91>Node.js turns out to be the way :P
01:10:30  <joepie91>(Python wasn't)
01:10:31  * promethloves node.js
01:10:41  * x1337807xjoined
01:10:42  * joepie91also
01:10:46  * systemovichquit (Ping timeout: 255 seconds)
01:10:50  * geoffrey_joined
01:10:59  <node3js613>@joepie91: For me it's iojs at this point. They reached stable before node and we rely on generators at work.
01:11:10  <joepie91>I still can't get over the fact that I've sort-of-implemented promises in PHP and didn't even remember it..
01:11:25  * _jketquit (Remote host closed the connection)
01:11:32  <joepie91>node3js613: I'm sticking with Node.js for now, see where things go
01:11:35  <joepie91>can always switch later
01:11:36  <Aria>node3js613: Stable?
01:11:47  <emilyrose>like, for horses?
01:11:48  <emilyrose>or...
01:11:48  <Aria>node3js613: node's had stable releases for years.
01:11:52  * somenickjoined
01:11:56  <joepie91>also, 1.0 != stable
01:11:58  <Aria>(0.4, 0.6, 0.8, 0.10 are all stable releases)
01:12:01  * promethbelieves that io.js will merge back into node.js once the politics are over
01:12:03  <Aria>(and iojs 1.0 is not yet stable)
01:12:15  <node3js613>@Aria I mean stable with generators. Not 0.11.x and --harmony.
01:12:17  * rhysyngsunjoined
01:12:25  <Aria>Aaah!
01:12:42  <node3js613>:p
01:12:44  <Aria>It's still behind a flag in iojs for a reason ;-)
01:12:51  <node3js613>@prometh I also hope for a merge.
01:13:04  <node3js613>@Aria its flagless in IO.
01:13:14  * TheAceOfHeartsjoined
01:13:26  <Aria>Oh so it is!
01:13:31  <Aria>I thought that stayed flagged out.
01:14:03  <node3js613>Nope, it's going to be a beautiful year - no more control flow worries for me.
01:14:32  <node3js613>Bluebird coroutines are the bomb.
01:15:38  * cpupjoined
01:18:30  * dreadedjoined
01:19:07  * xk_idjoined
01:19:08  * mtndogquit (Ping timeout: 245 seconds)
01:20:01  * ed209quit (Remote host closed the connection)
01:20:07  * ed209joined
01:20:15  * dguttmanjoined
01:20:43  * maximskijoined
01:20:51  * maximskiquit (Max SendQ exceeded)
01:20:53  * weilujoined
01:21:37  * maximskijoined
01:21:50  * manuelbieh_quit (Read error: Connection reset by peer)
01:21:57  * maximskiquit (Max SendQ exceeded)
01:22:06  * manuelbieh_joined
01:22:34  * maximskijoined
01:22:41  * maximskiquit (Max SendQ exceeded)
01:23:10  * maqrjoined
01:23:21  * maximskijoined
01:23:32  * maximskiquit (Max SendQ exceeded)
01:23:32  * tmk1108quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:24:16  * maximskijoined
01:24:30  * maximskiquit (Max SendQ exceeded)
01:25:17  * xk_idquit (Ping timeout: 245 seconds)
01:25:21  * weiluquit (Ping timeout: 244 seconds)
01:25:28  * maximskijoined
01:25:44  * maximskiquit (Max SendQ exceeded)
01:25:52  * Volisquit (Ping timeout: 264 seconds)
01:26:02  * mjpearsonjoined
01:26:20  * ibashquit (Quit: ibash)
01:26:42  * ganglerijoined
01:26:52  * maximskijoined
01:27:26  * tyfighterquit (Quit: tyfighter)
01:28:12  * herrbischoffquit (Ping timeout: 276 seconds)
01:28:22  * dguttmanquit (Quit: dguttman)
01:28:39  * gangleriquit (Client Quit)
01:28:58  * manuelbieh_quit (Quit: Leaving)
01:29:22  * herrbischoffjoined
01:30:31  * mjpearsonquit (Ping timeout: 244 seconds)
01:32:00  * Volisjoined
01:32:15  * cpupquit (Ping timeout: 256 seconds)
01:33:34  * harrisonmjoined
01:34:40  * x1337807xquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:35:02  * leafybas_joined
01:36:14  * jalcine-joined
01:36:15  * neilff_joined
01:36:54  * DrPizza_joined
01:36:55  * ypksjoined
01:37:30  * cpupjoined
01:37:31  * Str1ngSjoined
01:37:50  * kraftquit (Remote host closed the connection)
01:37:52  * harrison1joined
01:38:18  * dcctjoined
01:38:18  * codelahoma_joined
01:38:20  * vlad_sta-joined
01:38:32  * keksikejoined
01:38:33  * gf3_joined
01:38:35  * tembies_joined
01:38:38  * boomographyjoined
01:38:42  * pswizzle_joined
01:38:45  * sent1neljoined
01:38:46  * jory_joined
01:38:46  * joshfinnie_joined
01:38:47  * drager_joined
01:38:48  * faugusztin_joined
01:38:51  * chjj_joined
01:38:54  * gr33n-ion2joined
01:38:55  * crodasjoined
01:38:57  * chjj_quit (Changing host)
01:38:57  * chjj_joined
01:38:59  * nathan7_joined
01:39:00  * mage__joined
01:39:04  * paul__kjoined
01:39:06  * Astro-_joined
01:39:06  * clauswitt_joined
01:39:10  * The_Kingdutchjoined
01:39:10  * ExtraSte1ejoined
01:39:19  * gyaresu_joined
01:39:23  * ufear_joined
01:39:30  * thealphanerdjoined
01:39:31  * mjpearsonjoined
01:39:39  * McSc_joined
01:39:40  * vinnix_joined
01:39:46  * NinjaBanjo_joined
01:39:46  * emma_joined
01:39:49  * iarna_joined
01:39:51  * sfa_joined
01:39:57  * chiper-joined
01:40:02  * brunops_joined
01:40:06  * joshthecoder_joined
01:40:10  * tinster_joined
01:40:22  * miloj_joined
01:40:22  * obtoquit (Disconnected by services)
01:40:22  * AkumaHomurajoined
01:40:30  * AkumaHomuraquit (Client Quit)
01:40:36  * DadoCejoined
01:40:37  * ghostbar_joined
01:40:39  * savid_joined
01:41:17  * mezodquit (Remote host closed the connection)
01:41:25  * kerspoonjoined
01:41:37  * dseitz_joined
01:41:58  * Rush__joined
01:42:00  * joshskidmore_joined
01:42:17  * dseitzquit (Disconnected by services)
01:42:17  * neilff_quit (Remote host closed the connection)
01:42:18  * Gatherjoined
01:42:19  * dseitz_changed nick to dseitz
01:42:21  * Gwl-joined
01:42:27  * Lunchy_joined
01:42:57  * dainis_joined
01:43:10  * FrozenFire[alt]joined
01:43:12  * JamesMGreenequit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:43:12  * bodisjwjoined
01:43:12  * rodascquit (Quit: Disconnecting from stoned server.)
01:43:12  * joshskidmorequit (Ping timeout: 256 seconds)
01:43:12  * opus_quit (Ping timeout: 256 seconds)
01:43:12  * elichai2quit (Ping timeout: 256 seconds)
01:43:12  * D4RK-PH0ENiXquit (Ping timeout: 256 seconds)
01:43:12  * medusaquit (Ping timeout: 256 seconds)
01:43:12  * hguux_quit (Ping timeout: 256 seconds)
01:43:12  * zonettiquit (Ping timeout: 256 seconds)
01:43:12  * nitrixquit (Ping timeout: 256 seconds)
01:43:12  * neilffquit (Read error: Connection reset by peer)
01:43:12  * maximskiquit (Ping timeout: 256 seconds)
01:43:12  * gf3quit (Ping timeout: 256 seconds)
01:43:12  * ValicekBquit (Ping timeout: 256 seconds)
01:43:12  * webguynowquit (Ping timeout: 256 seconds)
01:43:12  * zalebquit (Ping timeout: 256 seconds)
01:43:12  * codelahomaquit (Ping timeout: 256 seconds)
01:43:13  * gr33n-ionquit (Ping timeout: 256 seconds)
01:43:13  * joryquit (Ping timeout: 256 seconds)
01:43:13  * joshfinniequit (Ping timeout: 256 seconds)
01:43:13  * trevnorrisquit (Ping timeout: 256 seconds)
01:43:13  * somenickquit (Ping timeout: 256 seconds)
01:43:13  * ralphholzmannquit (Ping timeout: 256 seconds)
01:43:13  * bodislwquit (Ping timeout: 256 seconds)
01:43:13  * McScquit (Ping timeout: 256 seconds)
01:43:13  * dragerquit (Ping timeout: 256 seconds)
01:43:13  * ypcsquit (Ping timeout: 256 seconds)
01:43:13  * chjjquit (Ping timeout: 256 seconds)
01:43:13  * matt_cquit (Ping timeout: 256 seconds)
01:43:13  * rickibalboaquit (Ping timeout: 256 seconds)
01:43:13  * DrPizzaquit (Ping timeout: 256 seconds)
01:43:13  * jannequit (Ping timeout: 256 seconds)
01:43:13  * jplockquit (Ping timeout: 256 seconds)
01:43:13  * tembiesquit (Ping timeout: 256 seconds)
01:43:13  * orospakrquit (Ping timeout: 256 seconds)
01:43:13  * harrisonmquit (Ping timeout: 256 seconds)
01:43:13  * tlhunterquit (Ping timeout: 256 seconds)
01:43:13  * gingermusketeer2quit (Ping timeout: 256 seconds)
01:43:13  * leafybasilquit (Ping timeout: 256 seconds)
01:43:13  * macoboquit (Ping timeout: 256 seconds)
01:43:14  * s_equit (Ping timeout: 256 seconds)
01:43:14  * SjBquit (Ping timeout: 256 seconds)
01:43:14  * brunopsquit (Ping timeout: 256 seconds)
01:43:14  * keksike-quit (Ping timeout: 256 seconds)
01:43:14  * npmbotquit (Ping timeout: 256 seconds)
01:43:14  * realityquit (Ping timeout: 256 seconds)
01:43:14  * tgquit (Ping timeout: 256 seconds)
01:43:14  * k1ngquit (Ping timeout: 256 seconds)
01:43:14  * joepie91quit (Ping timeout: 256 seconds)
01:43:14  * clauswittquit (Ping timeout: 256 seconds)
01:43:14  * vlad_starkovquit (Ping timeout: 256 seconds)
01:43:14  * Astro-quit (Ping timeout: 256 seconds)
01:43:14  * cursivequit (Ping timeout: 256 seconds)
01:43:14  * ExtraStevequit (Ping timeout: 256 seconds)
01:43:14  * pswizzlequit (Ping timeout: 256 seconds)
01:43:14  * hartsockquit (Ping timeout: 256 seconds)
01:43:14  * FrozenFirequit (Ping timeout: 256 seconds)
01:43:14  * vinnixquit (Ping timeout: 256 seconds)
01:43:14  * acidjazzquit (Ping timeout: 256 seconds)
01:43:14  * dcct_quit (Ping timeout: 256 seconds)
01:43:14  * paul_kquit (Ping timeout: 256 seconds)
01:43:14  * red_horned_rihnoquit (Ping timeout: 256 seconds)
01:43:14  * fruitsNveggiesquit (Ping timeout: 256 seconds)
01:43:14  * ufearquit (Ping timeout: 256 seconds)
01:43:14  * momoterrquit (Ping timeout: 256 seconds)
01:43:15  * emmaquit (Ping timeout: 256 seconds)
01:43:15  * SebastianFlytequit (Ping timeout: 256 seconds)
01:43:15  * partiquit (Ping timeout: 256 seconds)
01:43:15  * jakesyquit (Ping timeout: 256 seconds)
01:43:15  * NinjaBanjoquit (Ping timeout: 256 seconds)
01:43:15  * pr0tonquit (Ping timeout: 256 seconds)
01:43:15  * tinsterquit (Ping timeout: 256 seconds)
01:43:15  * swenquit (Ping timeout: 256 seconds)
01:43:15  * jmonayquit (Ping timeout: 256 seconds)
01:43:15  * savidquit (Ping timeout: 256 seconds)
01:43:15  * boomography_quit (Ping timeout: 256 seconds)
01:43:15  * reequit (Ping timeout: 256 seconds)
01:43:15  * seanmcgaryquit (Ping timeout: 256 seconds)
01:43:16  * zivcquit (Ping timeout: 256 seconds)
01:43:16  * Zerotquit (Ping timeout: 256 seconds)
01:43:16  * renetool_quit (Ping timeout: 256 seconds)
01:43:16  * gnarfquit (Ping timeout: 256 seconds)
01:43:16  * dainisquit (Ping timeout: 256 seconds)
01:43:16  * Hypferquit (Ping timeout: 256 seconds)
01:43:16  * Kingdutchquit (Ping timeout: 256 seconds)
01:43:16  * lykkinquit (Ping timeout: 256 seconds)
01:43:16  * faugusztinquit (Ping timeout: 256 seconds)
01:43:16  * rhino-sicquit (Ping timeout: 256 seconds)
01:43:16  * Guest57534quit (Ping timeout: 256 seconds)
01:43:16  * gyaresuquit (Ping timeout: 256 seconds)
01:43:16  * hydrajumpquit (Ping timeout: 256 seconds)
01:43:16  * Takumoquit (Ping timeout: 256 seconds)
01:43:16  * mage_quit (Ping timeout: 256 seconds)
01:43:16  * Garrickquit (Ping timeout: 256 seconds)
01:43:16  * sfaquit (Ping timeout: 256 seconds)
01:43:16  * nathan7quit (Ping timeout: 256 seconds)
01:43:16  * chiperquit (Ping timeout: 256 seconds)
01:43:16  * ghostbarquit (Ping timeout: 256 seconds)
01:43:16  * joshthecoderquit (Ping timeout: 256 seconds)
01:43:16  * milojquit (Ping timeout: 256 seconds)
01:43:16  * clarkkquit (Ping timeout: 256 seconds)
01:43:16  * reidquit (Ping timeout: 256 seconds)
01:43:16  * othiym23quit (Ping timeout: 256 seconds)
01:43:16  * Platiniquit (Ping timeout: 256 seconds)
01:43:16  * ryan2quit (Ping timeout: 256 seconds)
01:43:16  * iAmerika1quit (Ping timeout: 256 seconds)
01:43:16  * regnartimquit (Ping timeout: 256 seconds)
01:43:16  * storkquit (Ping timeout: 256 seconds)
01:43:16  * kandinskiquit (Ping timeout: 256 seconds)
01:43:16  * RushPLquit (Ping timeout: 256 seconds)
01:43:17  * iarnaquit (Ping timeout: 256 seconds)
01:43:17  * Gather_quit (Ping timeout: 256 seconds)
01:43:17  * DarkGhostquit (Ping timeout: 256 seconds)
01:43:17  * brettlangdonquit (Ping timeout: 256 seconds)
01:43:17  * Johnny-quit (Ping timeout: 256 seconds)
01:43:17  * danemacmillanquit (Ping timeout: 256 seconds)
01:43:17  * Gwlquit (Ping timeout: 256 seconds)
01:43:17  * Esyaquit (Ping timeout: 256 seconds)
01:43:17  * Draggorquit (Ping timeout: 256 seconds)
01:43:17  * empeequit (Ping timeout: 256 seconds)
01:43:17  * Lunchyquit (Remote host closed the connection)
01:43:17  * Steve_Jobsquit (Ping timeout: 256 seconds)
01:43:17  * cursivejoined
01:43:17  * cursivequit (Client Quit)
01:43:17  * bjarneoquit (Ping timeout: 256 seconds)
01:43:18  * node3js613quit (*.net *.split)
01:43:18  * Lcfvsquit (*.net *.split)
01:43:18  * pasklquit (*.net *.split)
01:43:18  * ^escquit (*.net *.split)
01:43:18  * saschpequit (*.net *.split)
01:43:18  * TheNumbquit (*.net *.split)
01:43:18  * cedriczielquit (*.net *.split)
01:43:18  * argoquit (*.net *.split)
01:43:18  * JJJanquit (*.net *.split)
01:43:18  * Christian2quit (*.net *.split)
01:43:18  * z0mt3cquit (*.net *.split)
01:43:18  * guybrushquit (*.net *.split)
01:43:18  * Corkquit (*.net *.split)
01:43:18  * Kesterquit (*.net *.split)
01:43:18  * Igelquit (*.net *.split)
01:43:18  * stridequit (*.net *.split)
01:43:18  * _ds82quit (*.net *.split)
01:43:18  * doge_wowquit (*.net *.split)
01:43:18  * lampe2quit (*.net *.split)
01:43:18  * ajf-quit (*.net *.split)
01:43:18  * elichai2_joined
01:43:18  * joepie91__joined
01:43:18  * tinster_changed nick to tinster
01:43:19  * tinsterquit (Changing host)
01:43:19  * tinsterjoined
01:43:19  * TakumoKatekarijoined
01:43:19  * gf3_changed nick to gf3
01:43:19  * chiper-changed nick to chiper
01:43:19  * orospakrjoined
01:43:19  * paul__kchanged nick to paul_k
01:43:21  * bjarneojoined
01:43:22  * seanmcgaryjoined
01:43:25  * hguux__joined
01:43:25  * zivc_joined
01:43:25  * reality_joined
01:43:25  * jakesy_joined
01:43:25  * renetooljoined
01:43:25  * Hypfer_joined
01:43:26  * hguux__quit (Changing host)
01:43:26  * hguux__joined
01:43:26  * _jannejoined
01:43:26  * k1ng440joined
01:43:26  * elichai2_changed nick to elichai2
01:43:26  * FIGO_joined
01:43:26  * FIGO_quit (Changing host)
01:43:26  * FIGO_joined
01:43:29  * noobeequit (Remote host closed the connection)
01:43:29  * opus__joined
01:43:29  * asidjazzjoined
01:43:30  * datswenjoined
01:43:30  * tlhunter_joined
01:43:30  * ree_joined
01:43:30  * nitrix-joined
01:43:30  * kandinsk1joined
01:43:30  * ralphholzmann_joined
01:43:30  * trevnorr1sjoined
01:43:30  * ralphholzmann_changed nick to ralphholzmann
01:43:30  * datswenchanged nick to swen
01:43:33  * brettlangdonjoined
01:43:35  * momoxjoined
01:43:35  * medusa-joined
01:43:36  * parti_joined
01:43:36  * s_e_joined
01:43:36  * neilffjoined
01:43:36  * s_e_changed nick to s_e
01:43:36  * D4RK-PH0ENiXjoined
01:43:37  * sent1nelquit (Ping timeout: 245 seconds)
01:43:37  * Rudziutki_joined
01:43:43  * hartsockjoined
01:43:46  * Steve_Jobsjoined
01:43:48  * ninjazachjoined
01:43:51  * DarkGhostjoined
01:43:54  * Zerotjoined
01:43:55  * tgjoined
01:43:56  * rickibalboajoined
01:43:57  * mjpearsonquit (Ping timeout: 244 seconds)
01:43:57  * webguynowjoined
01:43:58  * tgquit (Changing host)
01:43:58  * tgjoined
01:43:58  * Nuckjoined
01:43:58  * rickibalboachanged nick to Guest56002
01:44:03  * ninjazachchanged nick to Guest75921
01:44:05  * jmoneyjoined
01:44:05  * Draggorjoined
01:44:12  * neilffquit (Client Quit)
01:44:18  * tvwquit
01:44:21  * red_horned_rihnojoined
01:44:40  * EyePulpjoined
01:44:40  * CIDICquit (Quit: CIDIC)
01:44:42  * ProLoserjoined
01:44:44  * hydrajumpjoined
01:44:49  * bdunavantjoined
01:44:50  * jalcinequit (Quit: Goodbye)
01:44:51  * jalcine-changed nick to jalcine
01:44:51  * dseitz_joined
01:44:52  * iAmerikanjoined
01:44:52  * Garrick_joined
01:44:52  * dseitz_quit (Client Quit)
01:44:52  * pr0ton_joined
01:44:52  * zap0quit (Quit: zap0)
01:44:52  * empee_joined
01:44:52  * mcroydonjoined
01:44:52  * jplock_joined
01:44:52  * zonetti_joined
01:44:52  * mcroydonchanged nick to matt_c
01:44:52  * olly_cquit (Remote host closed the connection)
01:44:52  * dseitzquit (Disconnected by services)
01:44:52  * tmk1108joined
01:44:58  * olly_cjoined
01:45:01  * FrozenFire[alt]changed nick to FrozenFire
01:45:02  * Johnny-joined
01:45:07  * reidjoined
01:45:08  * SjBjoined
01:45:16  * dseitzjoined
01:45:29  * kraftjoined
01:45:30  * danemacmillanjoined
01:45:37  * DadoCequit (Ping timeout: 265 seconds)
01:45:39  * clarkkjoined
01:45:45  * BillCriswelljoined
01:45:48  * maqrquit (Quit: leaving)
01:45:52  * kerspoonquit (Ping timeout: 240 seconds)
01:46:00  * SoulBladejoined
01:46:13  * SebastianFlytejoined
01:46:27  * gnarf_joined
01:46:32  * Rudziutkiquit (Ping timeout: 244 seconds)
01:46:36  * dguttmanjoined
01:46:51  * node3js613joined
01:46:51  * Lcfvsjoined
01:46:51  * caitp-quit (Ping timeout: 264 seconds)
01:48:04  * asheinfeldquit (Remote host closed the connection)
01:48:08  * paskljoined
01:48:09  * ^escjoined
01:48:09  * saschpejoined
01:48:09  * TheNumbjoined
01:48:09  * cedriczieljoined
01:48:09  * argojoined
01:48:09  * JJJanjoined
01:48:09  * Christian2joined
01:48:09  * z0mt3cjoined
01:48:09  * guybrushjoined
01:48:09  * Corkjoined
01:48:09  * Kesterjoined
01:48:09  * Igeljoined
01:48:09  * _ds82joined
01:48:09  * stridejoined
01:48:09  * ajf-joined
01:48:09  * doge_wowjoined
01:48:09  * lampe2joined
01:48:33  * ajf-quit (Max SendQ exceeded)
01:48:33  * Corkquit (Max SendQ exceeded)
01:50:09  * kraftquit (Ping timeout: 244 seconds)
01:50:22  * Nuckquit (Quit: Computer has gone to sleep.)
01:50:22  * bjarneoquit (Ping timeout: 256 seconds)
01:50:23  * oohnoitzquit (Ping timeout: 256 seconds)
01:50:23  * ajf-joined
01:50:27  * bjarneojoined
01:51:12  * TheAceOfHeartsquit (Quit: Leaving.)
01:51:12  * Corkjoined
01:51:12  * Corkchanged nick to 32NAA62KE
01:51:12  * SoulBladequit (Ping timeout: 264 seconds)
01:51:12  * ValicekBjoined
01:51:12  * oohnoitzjoined
01:51:31  * hartsockquit (Ping timeout: 256 seconds)
01:51:31  * FooMunki_quit (Quit: FooMunki_)
01:51:56  * k1ngjoined
01:52:10  * FIGO_changed nick to Platini
01:52:10  * k1ng440quit (Ping timeout: 276 seconds)
01:52:11  * jailbotjoined
01:52:16  * storkjoined
01:52:16  * storkquit (Changing host)
01:52:16  * storkjoined
01:52:16  * lykkinjoined
01:52:43  * hartsockjoined
01:52:47  * cpupquit (Ping timeout: 245 seconds)
01:53:32  * evotunedjoined
01:53:33  * regnartimjoined
01:54:26  * mndynclquit (Quit: Leaving.)
01:54:26  * brhuejoined
01:55:14  * TheAceOfHeartsjoined
01:55:24  * mndyncljoined
01:56:20  * cpupjoined
01:57:04  * yoshokatanaquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:57:14  * jalcinequit (Quit: Goodbye)
01:57:17  * FooMunkijoined
01:58:11  * jalcinejoined
01:58:19  * maximskijoined
01:58:29  * kraftjoined
01:58:45  * evotunedquit (Ping timeout: 276 seconds)
01:59:10  * binauralmanjoined
01:59:54  * pablopicassojoined
02:00:03  * hglquit (Ping timeout: 276 seconds)
02:00:03  * harrison1quit (Ping timeout: 264 seconds)
02:00:14  * nuizzyquit (Quit: nuizzy)
02:00:59  * ProLoserquit (Remote host closed the connection)
02:02:38  * hgljoined
02:02:55  * bdunavantquit (Remote host closed the connection)
02:03:49  * harrisonmjoined
02:03:53  * maximskiquit
02:04:17  * ProLoserjoined
02:04:28  * binauralmanquit (Ping timeout: 272 seconds)
02:04:32  * yosuke_furukawaquit (Ping timeout: 246 seconds)
02:04:56  * rhino-sicjoined
02:05:21  * spikedbananajoined
02:06:01  * platonicjoined
02:07:05  * btiberiquit (Quit: This computer has gone to sleep)
02:07:15  * nux443joined
02:08:11  * maximskijoined
02:08:31  * maximskiquit (Max SendQ exceeded)
02:09:03  * blakmatrixjoined
02:09:04  * CIDICjoined
02:09:05  * harrisonmquit (Ping timeout: 256 seconds)
02:09:08  * CIDICquit (Client Quit)
02:09:12  * maximskijoined
02:09:24  * maximskiquit (Max SendQ exceeded)
02:09:48  * mlovelessquit (Remote host closed the connection)
02:09:59  * harrisonmjoined
02:11:26  * platonicquit (Ping timeout: 272 seconds)
02:11:52  * pablopicassoquit (Quit: pablopicasso)
02:13:46  * pkafeiquit (Quit: Leaving.)
02:14:22  * cbonobojoined
02:14:36  * iAmerikanquit (Ping timeout: 272 seconds)
02:14:43  * Damoniquejoined
02:14:49  * timmywilquit (Ping timeout: 245 seconds)
02:14:51  * tmh1999joined
02:15:19  * nathan7_changed nick to nathan7
02:15:39  * mcqueenoramajoined
02:15:40  * harrisonmquit (Ping timeout: 264 seconds)
02:15:53  * cpupquit (Ping timeout: 256 seconds)
02:15:58  * gnrlbzikjoined
02:16:07  * hdonquit (Ping timeout: 245 seconds)
02:17:32  * Zolmeister_quit (Ping timeout: 244 seconds)
02:18:17  * cpupjoined
02:18:44  * ProLoserquit (Remote host closed the connection)
02:18:52  * cbonoboquit (Ping timeout: 240 seconds)
02:19:58  * giowongjoined
02:20:01  * bigxquit (Remote host closed the connection)
02:20:14  * boneskulljoined
02:20:16  * timmywiljoined
02:20:19  * pickelsquit (Read error: Connection reset by peer)
02:20:26  * goodenoughquit (Remote host closed the connection)
02:20:54  * gnrlbzikquit (Ping timeout: 265 seconds)
02:21:03  * JBreitquit (Ping timeout: 264 seconds)
02:21:22  * TripTasticjoined
02:21:35  * xk_idjoined
02:21:36  * weilujoined
02:22:09  * promethquit (Ping timeout: 276 seconds)
02:22:10  * GreenJelloquit (Read error: Connection reset by peer)
02:22:51  * GreenJellojoined
02:24:01  * kiranjoined
02:24:15  * timmywilquit (Ping timeout: 244 seconds)
02:24:45  * Nirgali43quit (Ping timeout: 276 seconds)
02:25:27  * netameta_joined
02:26:09  * timmywiljoined
02:26:22  * xk_idquit (Ping timeout: 240 seconds)
02:26:27  * weiluquit (Ping timeout: 264 seconds)
02:26:36  * KurtKrautchanged nick to kurtkraut
02:27:41  * goodenoughjoined
02:28:10  * mcqueenoramaquit (Read error: Connection reset by peer)
02:28:22  * meandi_2joined
02:28:37  * netametaquit (Ping timeout: 255 seconds)
02:29:10  * mcqueenoramajoined
02:29:45  * harrisonmjoined
02:30:00  * bbankesjoined
02:30:46  * blakmatrixquit (Quit: Boarding the Enterprise)
02:30:51  * poikonjoined
02:31:19  * mcqueenoramaquit (Read error: Connection reset by peer)
02:31:39  * Damoniquequit (Remote host closed the connection)
02:32:00  * meandi_1quit (Ping timeout: 244 seconds)
02:32:43  * mcqueenoramajoined
02:32:44  * nodweberjoined
02:32:57  <rgk>how could i add items to a <ul> item? i'm trying something like this with no luck userlist.li += data.username;
02:34:02  * nnyk_quit (Ping timeout: 245 seconds)
02:34:51  <Aria>What sort of representation of a DOM element?
02:34:56  <Aria>Is this in node, or in the browser?
02:35:12  * asdf12z_joined
02:35:49  * maximskijoined
02:36:08  * poikonquit (Ping timeout: 272 seconds)
02:36:36  * gfmsjoined
02:37:05  * nodweberquit (Ping timeout: 246 seconds)
02:37:10  * iAmerikanjoined
02:37:25  * gfmsquit (Client Quit)
02:37:55  * ryanxcharlesjoined
02:38:02  * cpupquit (Ping timeout: 272 seconds)
02:39:50  * sent1neljoined
02:39:55  * yosuke_furukawajoined
02:41:26  * mlovelessjoined
02:41:39  * cpupjoined
02:41:46  * sent1nel_joined
02:42:19  * mxbttyjoined
02:42:21  * TheEddyFerreiraquit (Quit: TheEddyFerreira)
02:42:39  * Volisquit (Ping timeout: 264 seconds)
02:42:49  * caitp-joined
02:43:37  * bosyakjoined
02:44:09  * pkafeijoined
02:44:13  * TripTasticquit (Read error: Connection reset by peer)
02:44:35  * sent1nelquit (Ping timeout: 265 seconds)
02:45:30  * sgenjoined
02:46:17  * rhysyngsunquit (Quit: rhysyngsun)
02:46:37  * harrisonmquit (Ping timeout: 255 seconds)
02:46:54  * mxbttyquit (Ping timeout: 245 seconds)
02:47:04  * denysoniquequit (Ping timeout: 255 seconds)
02:47:30  * caitp-quit (Ping timeout: 276 seconds)
02:47:30  * mcqueenoramaquit (Read error: Connection reset by peer)
02:47:58  * hglquit (Ping timeout: 255 seconds)
02:48:10  * mcqueenoramajoined
02:48:13  * Volisjoined
02:49:06  * xinobraxjoined
02:49:08  <xinobrax>How can I update an existing console output? I know that tehre's also "process.stdout.write", but that will just append the new String. I'd like to replace the existing one...
02:49:27  * bosyakquit (Quit: Leaving)
02:49:39  * bollullerapart
02:50:30  * mdeljoined
02:50:40  * Fishrock123quit (Quit: Leaving...)
02:50:42  * hgljoined
02:50:57  * tyfighterjoined
02:51:21  * pkafeiquit (Ping timeout: 265 seconds)
02:52:05  * c0fequit (Quit: Leaving)
02:52:06  * JBreitjoined
02:52:41  <xinobrax>never mind...I just found a solution :)
02:53:22  * it0aquit (Ping timeout: 255 seconds)
02:54:26  * mcqueenoramaquit (Remote host closed the connection)
02:55:00  * mcqueenoramajoined
02:56:53  * somenickjoined
02:57:56  * simiographics__quit (Remote host closed the connection)
02:58:34  * CodeBot3000quit (Quit: Leaving)
02:58:56  * _X_C_V_B_joined
02:58:57  * cpupquit (Ping timeout: 256 seconds)
02:59:02  * it0ajoined
02:59:29  * jalcinequit (Quit: Goodbye)
02:59:33  * mrdmijoined
02:59:53  <rgk>Aria: in the browser but from a primus emit
03:00:00  * jalcinejoined
03:00:03  * iAmerikanquit (Ping timeout: 264 seconds)
03:00:11  * zzzbrajoined
03:00:38  * denysoniquejoined
03:01:08  <Aria>So you're dealing with the DOM proper. So you'll need to create child elements, and add them to the ul element.
03:01:16  * jonr22joined
03:01:29  <Aria>var li = document.createElement('li'); li.innerText = data.username; ul.appendChild(li);
03:01:39  <Aria>There's a dozen tiny variations on that.
03:02:04  <Aria>And for speed, you may want to add all the elements to a documentFragment, then that to the ul. Adding a bunch of elements separately tends to thrash the renderer.
03:02:17  * mtndogjoined
03:02:29  <Aria>(not a problem for n < 10, but somewhere between 10 and 100, you may well want to start optimizing. Certainly before 1000)
03:02:48  * Guest9000joined
03:03:14  * rigor789|awaychanged nick to rigor789
03:03:42  * sgenquit (Quit: Leaving)
03:04:02  * de_hennequit (Ping timeout: 245 seconds)
03:04:27  * zzzbraquit (Ping timeout: 245 seconds)
03:04:53  * de_hennejoined
03:05:15  * cpupjoined
03:06:38  * mtndogquit (Ping timeout: 245 seconds)
03:07:03  * oncenulljoined
03:07:13  * harrisonmjoined
03:07:41  * rhysyngsunjoined
03:08:21  * nitrix-quit (Changing host)
03:08:21  * nitrix-joined
03:08:29  * nitrix-changed nick to nitrix
03:09:22  * jadnequit (Ping timeout: 240 seconds)
03:10:11  * irc_smirkjoined
03:10:15  <irc_smirk>hello
03:10:24  <irc_smirk>anyone interested in the announced hololens?
03:10:28  <irc_smirk>join me at #hololens
03:10:52  * oncenullquit (Client Quit)
03:11:08  * jrahmyjoined
03:11:52  * harrisonmquit (Ping timeout: 240 seconds)
03:12:02  * mlovelessquit
03:12:32  * giowongquit (Remote host closed the connection)
03:12:55  * jalcinequit (Quit: Goodbye)
03:13:10  * CLaxwarequit (Read error: Connection reset by peer)
03:13:31  * jadnejoined
03:15:10  * captain_morganquit (Read error: No route to host)
03:16:41  * asheinfeldjoined
03:17:55  <joepie91__>ugh.
03:18:03  * bbankesquit (Ping timeout: 276 seconds)
03:18:05  * it0aquit (Ping timeout: 264 seconds)
03:18:12  * rockbot___joined
03:18:37  * weilujoined
03:18:47  * jadnequit (Ping timeout: 256 seconds)
03:19:47  * Zolmeister_joined
03:20:27  * boneskullquit
03:21:18  * cpupquit (Ping timeout: 276 seconds)
03:21:43  * netametajoined
03:22:33  * NodeNedjoined
03:22:38  * caitp-joined
03:23:15  * rhonabwyquit (Ping timeout: 265 seconds)
03:23:27  * weiluquit (Ping timeout: 264 seconds)
03:25:15  * netameta_quit (Ping timeout: 264 seconds)
03:25:26  * rhysyngsunquit (Quit: rhysyngsun)
03:25:54  * ProLoserjoined
03:26:29  * Arguejoined
03:28:19  * cpupjoined
03:28:57  * Guest9000quit (Quit: My Mac has gone to sleep. ZZZzzz…)
03:29:24  * NodeNedquit (Quit: My Mac has gone to sleep. ZZZzzz…)
03:29:50  * binauralmanjoined
03:31:32  * PointBlankquit
03:32:11  * dshaw_joined
03:32:13  * braincrashjoined
03:32:19  * rockbot___quit (Remote host closed the connection)
03:32:29  * kiranquit (Ping timeout: 264 seconds)
03:32:41  * EyePulpquit (Remote host closed the connection)
03:32:59  * hydrajumpquit (Changing host)
03:32:59  * hydrajumpjoined
03:33:32  * nodweberjoined
03:33:38  * EyePulpjoined
03:33:47  * rhonabwyjoined
03:34:39  * binauralmanquit (Ping timeout: 256 seconds)
03:34:51  * braincrasquit (Ping timeout: 265 seconds)
03:34:51  * SoulBladejoined
03:35:36  * kiranjoined
03:36:23  * uber_hulkjoined
03:36:57  * kurtkrautchanged nick to KurtKraut
03:37:29  * jrahmyquit (Ping timeout: 256 seconds)
03:37:44  * nodekid_joined
03:38:12  * EyePulpquit (Ping timeout: 272 seconds)
03:38:14  * nodweberquit (Ping timeout: 265 seconds)
03:39:10  * SoulBladequit (Ping timeout: 244 seconds)
03:39:12  * othiym23joined
03:39:58  * ryan2joined
03:40:11  * dshaw_1joined
03:40:37  * asheinfeldquit (Remote host closed the connection)
03:40:54  * bbankesjoined
03:41:00  * mjpearsonjoined
03:41:08  * nodekidquit (Ping timeout: 246 seconds)
03:41:43  * jailbotquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
03:43:39  * kandinsk1changed nick to kandinski
03:43:50  * rmgjoined
03:43:50  * WebSpiritjoined
03:44:14  * NodeNedjoined
03:44:17  * kiranquit (Ping timeout: 256 seconds)
03:44:17  * cpupquit (Ping timeout: 256 seconds)
03:44:32  * dshaw_quit (Ping timeout: 272 seconds)
03:45:25  * mjpearsonquit (Ping timeout: 256 seconds)
03:45:52  * rmgquit (Remote host closed the connection)
03:46:23  * switzjoined
03:46:52  * gnrlbzikjoined
03:46:54  * GreenJelloquit (Read error: Connection reset by peer)
03:47:02  * Bwildjoined
03:47:29  * Sebmasterquit (Quit: Leaving)
03:47:32  * GreenJellojoined
03:48:25  * mcqueenoramaquit (Remote host closed the connection)
03:49:24  * asheinfeldjoined
03:49:34  * csurapjoined
03:49:42  * harrisonmjoined
03:50:29  * hglquit (Max SendQ exceeded)
03:50:54  * cj3kimquit (Remote host closed the connection)
03:50:55  * cpupjoined
03:51:10  * FooMunkiquit (Quit: FooMunki)
03:51:17  * hgljoined
03:51:38  * maximskiquit
03:52:08  * gnrlbzikquit (Ping timeout: 272 seconds)
03:53:49  * rigor789changed nick to rigor789|away
03:54:09  * tyfighterquit (Quit: tyfighter)
03:55:04  * platonicjoined
03:55:53  * cpupquit (Ping timeout: 264 seconds)
03:57:38  * hoverquit (Quit: Connection closed for inactivity)
03:59:06  * cpupjoined
03:59:12  * jonr22quit (Remote host closed the connection)
03:59:22  * platonicquit (Ping timeout: 240 seconds)
03:59:56  * towski_joined
04:00:34  * netameta_joined
04:01:44  * BobGneujoined
04:02:24  * climbupquit (Ping timeout: 265 seconds)
04:02:24  * binauralmanjoined
04:02:52  * Bob_Gneuquit (Ping timeout: 240 seconds)
04:02:56  * netametaquit (Ping timeout: 244 seconds)
04:03:05  * mtndogjoined
04:04:10  * shansequit (Ping timeout: 272 seconds)
04:04:49  * towski_quit (Ping timeout: 265 seconds)
04:05:09  * tristanseifertquit (Quit: WeeChat 1.0-dev)
04:06:04  * braincrashquit (Quit: bye bye)
04:06:25  * rhysyngsunjoined
04:07:10  * shansejoined
04:07:22  * xk_idjoined
04:07:28  * mtndogquit (Ping timeout: 245 seconds)
04:07:44  * binauralmanquit (Ping timeout: 245 seconds)
04:08:11  * evotunedjoined
04:09:25  * irc_smirkquit (Quit: Page closed)
04:09:30  * binauralmanjoined
04:09:53  * braincrashjoined
04:11:05  * tristanseifertjoined
04:11:34  * csurapquit (Quit: csurap)
04:12:22  * xk_idquit (Ping timeout: 240 seconds)
04:12:42  * cj3kimjoined
04:13:03  * mxbttyjoined
04:14:15  * jadnejoined
04:15:44  * felix_mcpart
04:17:09  * cpupquit (Ping timeout: 256 seconds)
04:17:13  * saschpequit (Ping timeout: 264 seconds)
04:17:33  * asheinfeldquit (Remote host closed the connection)
04:18:21  * mxbttyquit (Ping timeout: 265 seconds)
04:19:18  * weilujoined
04:19:28  * jadnequit (Ping timeout: 244 seconds)
04:19:41  * poikonjoined
04:19:54  * saschpejoined
04:20:43  * antonsjoined
04:23:02  * cpupjoined
04:23:12  * giowongjoined
04:23:47  * antonsquit (Client Quit)
04:23:57  * weiluquit (Ping timeout: 256 seconds)
04:23:59  * poikonquit (Ping timeout: 245 seconds)
04:24:17  * antonsjoined
04:25:30  * Guest9000joined
04:26:06  * gfmsjoined
04:26:31  * KurtKrautchanged nick to kurtkraut
04:26:56  * gfmsquit (Client Quit)
04:27:35  * red_horned_rihnoquit (Read error: Connection reset by peer)
04:28:15  * giowongquit (Ping timeout: 276 seconds)
04:28:20  * red_horned_rihnojoined
04:28:40  * evotunedquit (Remote host closed the connection)
04:29:03  * binauralmanquit (Ping timeout: 256 seconds)
04:30:07  * alvinhochunquit (Quit: ZNC closing :()
04:30:37  * Pengoojoined
04:30:56  * GChiappequit
04:31:56  * mtndogjoined
04:32:07  * irc_smirkjoined
04:32:10  <irc_smirk>hello
04:32:31  * alvinhochunjoined
04:32:33  * Pengooquit (Excess Flood)
04:33:59  * mtndogquit (Client Quit)
04:34:17  * nodweberjoined
04:35:18  * pkafeijoined
04:35:20  * RainmanNoodles_changed nick to RainmanNoodles
04:35:45  * sent1nel_quit (Remote host closed the connection)
04:38:34  * cpupquit (Ping timeout: 245 seconds)
04:38:42  * sent1nel_joined
04:39:00  * nodweberquit (Ping timeout: 272 seconds)
04:39:03  * shreddingjoined
04:40:07  * labcoatnomadjoined
04:40:46  <labcoatnomad>hey guys
04:41:03  * SoulBladejoined
04:41:39  <Aria>irc_smirk: That kind of promotion is pretty spammy.
04:42:04  * iAmerikanjoined
04:42:44  * goodenoughquit (Remote host closed the connection)
04:43:20  <r20>less spammy than the webcam bot though
04:43:43  * asheinfeldjoined
04:44:19  * kurtkrautchanged nick to KurtKraut
04:45:02  * cpupjoined
04:45:30  * cavityquit (Quit: ZNC - http://znc.in)
04:45:46  * FreezingColdquit (Read error: Connection reset by peer)
04:46:00  * Guest9000quit (Quit: My Mac has gone to sleep. ZZZzzz…)
04:46:17  * FreezingColdjoined
04:46:31  <Aria>True that.
04:46:37  <Aria>Low bar.
04:46:40  * chjj_quit (Read error: Connection reset by peer)
04:46:44  * asheinfeldquit (Remote host closed the connection)
04:47:04  <irc_smirk>what did i do now?
04:47:43  * gnrlbzikjoined
04:48:58  * yosuke_furukawaquit (Remote host closed the connection)
04:49:49  * jamietechquit (Max SendQ exceeded)
04:50:06  * jamietechjoined
04:51:07  <labcoatnomad>anyone play with node.js on the intel edison?
04:52:40  * gnrlbzikquit (Ping timeout: 265 seconds)
04:52:49  * chjjjoined
04:53:15  <Aria>irc_smirk: the hololens advert, then bouncing out?
04:53:17  * bdunavantjoined
04:53:21  <Aria>That's just a typically spambot move.
04:53:33  <irc_smirk>no sorry i closed the wrong tab
04:53:38  <irc_smirk>but got it. dont talk about it here
04:53:51  * jasonmitjoined
04:54:01  * Torkablejoined
04:54:18  * Lee1092joined
04:54:26  * Torkablechanged nick to Guest29007
04:54:27  * thatslifesonquit (Ping timeout: 245 seconds)
04:55:20  <Aria>Yeah, just came across as spammy. Not exactly on topic here, not that everyhing must be exactly on-topic.
04:56:22  * xinobraxquit (Ping timeout: 240 seconds)
04:56:28  <irc_smirk>ok sorry
04:57:06  * binauralmanjoined
04:57:42  * rhysyngsunquit (Quit: rhysyngsun)
04:58:35  * jalcinejoined
04:58:48  * climbupjoined
04:59:03  * rhysyngsunjoined
04:59:05  * shreddingquit (Quit: shredding)
04:59:16  * leichtgewichtjoined
04:59:52  * bdunavantquit (Remote host closed the connection)
05:00:04  * rhysyngsunquit (Client Quit)
05:00:16  <netameta_>anyone could recommand a good project design book ?
05:00:23  <netameta_>or something like that
05:01:37  * NodeNedquit (Quit: My Mac has gone to sleep. ZZZzzz…)
05:01:55  * cpupquit (Ping timeout: 256 seconds)
05:02:01  * gnrlbzikjoined
05:03:24  * goodenoughjoined
05:03:37  * denysoniquequit (Ping timeout: 256 seconds)
05:03:53  * asheinfeldjoined
05:04:32  * timmywilquit (Quit: O.o)
05:05:09  * cpupjoined
05:05:24  * aj701quit (Quit: Be back later ...)
05:05:50  * nodweberjoined
05:07:19  * Guest9000joined
05:07:49  * NodeNedjoined
05:08:09  * asheinfeldquit (Remote host closed the connection)
05:08:23  * jalcine_joined
05:08:46  * jalcine_quit (Client Quit)
05:09:23  * SoulBladequit (Remote host closed the connection)
05:10:31  * Miajoined
05:10:31  * Miaquit (Changing host)
05:10:31  * Miajoined
05:10:40  * nodweberquit (Ping timeout: 272 seconds)
05:11:15  * captain_morganjoined
05:12:38  * xinobraxjoined
05:14:40  <jalcine>netameta_: for what kind of project?
05:14:46  <jalcine>there's literally n^5 + 1 kind of projects
05:16:20  * nodweber_joined
05:16:26  * baudelairejoined
05:18:17  * dshaw_1quit (Quit: Leaving.)
05:18:19  * levi501djoined
05:18:37  * therealkoopajoined
05:18:41  * zzzbrajoined
05:19:10  * kerspoonjoined
05:20:04  * weilujoined
05:20:29  * Guest9000quit (Quit: My Mac has gone to sleep. ZZZzzz…)
05:21:03  * binauralmanquit (Ping timeout: 264 seconds)
05:21:13  * AvianFluquit (Remote host closed the connection)
05:21:33  * nodweber_quit (Ping timeout: 276 seconds)
05:21:41  <GreenJello>n^5 + 1 = n?
05:23:09  * therealkoopaquit (Ping timeout: 245 seconds)
05:24:04  * RLajoined
05:24:05  * cpupquit (Ping timeout: 265 seconds)
05:24:05  * kerspoonquit (Ping timeout: 264 seconds)
05:24:51  * master5o1quit (Quit: master5o1)
05:25:00  * nicolagrecoquit (Quit: nicolagreco)
05:25:14  * weiluquit (Ping timeout: 272 seconds)
05:25:18  * tmh1999quit (Quit: Leaving)
05:25:19  * baudelairepart ("Leaving")
05:25:42  * nuizzyjoined
05:26:45  * SooperGeniusjoined
05:26:47  * dshaw_1joined
05:28:00  * RLaquit (Client Quit)
05:28:03  * pimlujoined
05:29:32  * evotunedjoined
05:29:56  * JamesMGreenejoined
05:31:01  * nnyk_joined
05:31:24  * cpupjoined
05:31:31  * therealkoopajoined
05:31:45  * mcqueenoramajoined
05:32:00  * fatalhaltjoined
05:32:03  * corpixjoined
05:32:11  * nodweberjoined
05:33:04  * maqrjoined
05:33:36  * yosuke_furukawajoined
05:35:17  * nnyk_quit (Ping timeout: 245 seconds)
05:36:00  * therealkoopaquit (Ping timeout: 272 seconds)
05:36:38  * nodweberquit (Ping timeout: 246 seconds)
05:36:41  <cagedwisdom>can anyone tell me what im doing wrong? it looks simple but i dont know what the problem is.
05:36:48  <cagedwisdom>http://pastie.org/9877475 <- thats running in a docker container
05:37:18  * Volis_joined
05:37:25  * nodweberjoined
05:37:35  <cagedwisdom>it wants a lib dir, but cant find one
05:37:40  * BillCriswellquit
05:38:31  * Volisquit (Ping timeout: 255 seconds)
05:38:41  * KurtKrautchanged nick to kurtkraut
05:38:59  * evotunedquit (Ping timeout: 245 seconds)
05:40:42  * platonicjoined
05:41:54  * NodeNedquit (Quit: My Mac has gone to sleep. ZZZzzz…)
05:42:26  * mjpearsonjoined
05:42:39  * nodweberquit (Ping timeout: 264 seconds)
05:43:06  * javascripterjoined
05:43:54  * uber_hulkquit (Quit: Connection closed for inactivity)
05:43:57  * mxbttyjoined
05:44:06  * Lingojoined
05:44:08  * Lingochanged nick to ravi
05:45:16  * platonicquit (Ping timeout: 255 seconds)
05:45:36  * koldirgquit (Ping timeout: 276 seconds)
05:46:08  * FreezingColdquit (Read error: Connection reset by peer)
05:46:43  * FreezingColdjoined
05:47:33  * mjpearsonquit (Ping timeout: 276 seconds)
05:47:50  * nwmcsweenjoined
05:47:52  * nodweberjoined
05:48:05  * cpupquit (Ping timeout: 264 seconds)
05:48:44  * mxbttyquit (Ping timeout: 265 seconds)
05:48:48  * koldirgjoined
05:50:11  * SooperGeniusquit (Ping timeout: 265 seconds)
05:50:19  * hdonjoined
05:50:24  * zzzbraquit (Ping timeout: 244 seconds)
05:51:01  * NormySanjoined
05:51:52  * cj3kimquit (Remote host closed the connection)
05:52:22  * nodweberquit (Ping timeout: 245 seconds)
05:52:49  * xaka_quit (Quit: This computer has gone to sleep)
05:54:11  * xaka_joined
05:55:02  * cpupjoined
05:55:22  * irc_smirkquit (Ping timeout: 246 seconds)
05:56:57  * xk_idjoined
05:57:03  * hubert_joined
05:57:29  * gnrlbzikquit (Remote host closed the connection)
05:58:53  * pimluquit (Quit: Leaving)
05:59:22  * javascripterquit (Ping timeout: 265 seconds)
05:59:39  * gnrlbzik_joined
06:01:46  * cj3kimjoined
06:02:30  * xk_idquit (Ping timeout: 276 seconds)
06:02:38  * rxmthjoined
06:03:24  * jadnejoined
06:03:34  * spikedbananaquit (Ping timeout: 245 seconds)
06:04:06  * akivajoined
06:04:07  * cj3kimquit (Remote host closed the connection)
06:05:34  * cj3kimjoined
06:05:36  * kam270joined
06:05:51  * aj701joined
06:07:17  * hdonquit (Quit: Leaving)
06:07:33  * hdonjoined
06:07:48  * fayimoraquit (Quit: Connection closed for inactivity)
06:07:59  * Guest29007quit (Quit: This computer has gone to sleep)
06:08:13  * jadnequit (Ping timeout: 256 seconds)
06:08:55  * nodweberjoined
06:09:57  * AndrewCooper_joined
06:09:58  * denysoniquejoined
06:10:30  * jalcinequit (Quit: I'm out, y'all)
06:11:27  * aj701quit (Ping timeout: 265 seconds)
06:11:45  * switzquit (Quit: Linkinus - http://linkinus.com)
06:12:11  * cpupquit (Ping timeout: 256 seconds)
06:12:49  * jalcinejoined
06:12:59  * rohanrhujoined
06:13:25  * Amaanjoined
06:13:37  * nodweberquit (Ping timeout: 255 seconds)
06:14:07  * nodweberjoined
06:14:48  * NBhostin_quit
06:15:17  <node3js613>@joepie91: If your still there, I just got back and finished. https://github.com/DylanPiercey/Prove-It/blob/master/Validators.md
06:15:26  * corpixquit (Quit: Leaving)
06:15:37  * gfmsjoined
06:16:27  * gfmsquit (Client Quit)
06:16:32  * brendanashworthjoined
06:16:38  * ramprjoined
06:16:46  * binauralmanjoined
06:17:42  * cpupjoined
06:18:12  * ludquit (Excess Flood)
06:19:24  * nodweberquit (Ping timeout: 276 seconds)
06:20:04  <owen1>is this a good architecture for robust single page app with node.js backend? (no single point of failure, expect for the first load balancer) http://i.imgur.com/uM8HYIX.png
06:20:19  * mr_loujoined
06:20:32  * dseitzquit (Quit: Textual IRC Client: www.textualapp.com)
06:20:50  * weilujoined
06:21:13  * ludkillerjoined
06:21:15  * binauralmanquit (Ping timeout: 256 seconds)
06:21:26  <brendanashworth>owen1: i'd remove the middle two nginx servers that proxy back to the node.js app, but thats just me
06:22:25  <nuizzy>owen1: agree .I would remove the middle tier as well
06:22:27  * jypiejoined
06:22:51  <owen1>so my angular app would make ajax calls to any of the 4 node servers?
06:22:53  * Nikeshjoined
06:23:09  <owen1>how can i tell my angular app what server to hit?
06:23:19  <brendanashworth>you wouldn't? i thought this was redundant
06:23:33  <brendanashworth>each node server does the same functionality
06:23:46  <nuizzy>yea it should be only using one side unless a failure
06:24:02  <nuizzy>or it could be a round robin balancer on the front
06:24:03  <owen1>brendanashworth: u mean i should remove 1 nginx and 4 servers will be under 1 nginx, right?
06:24:15  <brendanashworth>no owen1
06:24:31  <brendanashworth>the servers that have nginx & angular, don't proxy to another nginx, proxy right back to node
06:24:39  <brendanashworth>the extra layer won't help
06:24:52  * akivaquit (Ping timeout: 240 seconds)
06:24:58  * giowongjoined
06:25:14  <owen1>but i have 4 node servers. which of those 4 should my angular make the http calls to?
06:25:32  * _X_C_V_B_quit (Ping timeout: 244 seconds)
06:25:35  <brendanashworth>round robin balancer
06:25:47  <brendanashworth>your angular application shouldn't even know there are four servers
06:25:59  <brendanashworth>it just makes requests to the front nginx server and it'll deal with the rest
06:26:02  * weiluquit (Ping timeout: 272 seconds)
06:26:03  * memeht_joined
06:26:07  * chesterquit (Ping timeout: 245 seconds)
06:26:12  <owen1>exactly! that's why i thought i have to put nginx in front of my 4 node servers
06:26:28  <brendanashworth>you do already have it in front though... twice.
06:26:51  <owen1>the first nginx is to load balance between the 2 angular apps.
06:26:53  * olivierrr_joined
06:27:00  <owen1>the second nginx is to serve static angular app.
06:27:06  <memeht_>I keep getting this error: https://gist.github.com/anonymous/3c086b74fadcf6e9bdf1 , what am I doing wrong?
06:27:20  <owen1>the 3rd is to load balance between 4 node server
06:27:22  <owen1>servers
06:27:41  <brendanashworth>okay so the first nginx also does routing?
06:27:51  <brendanashworth>just do the load balancing for nodejs at the front node also
06:27:55  * node3js613quit (Ping timeout: 246 seconds)
06:28:07  <brendanashworth>you're already load balancing two static serving servers, so load balance the dynamic ones also
06:28:27  * aj701joined
06:28:40  * root3djoined
06:28:51  * gagijoined
06:28:51  * kam270quit (Read error: Connection reset by peer)
06:28:56  * root3dquit (Changing host)
06:28:57  * root3djoined
06:29:07  <owen1>brendanashworth: so the first nginx will load balance between 2 angular servers and 4 node servers?
06:29:09  * prbcjoined
06:29:15  <owen1>(6 arrows)
06:29:24  <brendanashworth>owen1: yes, that'd be the best way imo
06:29:32  <owen1>i didn't realize it's possible
06:29:43  <brendanashworth>i believe it is but i'm not an expert
06:29:49  * olivierrrquit (Ping timeout: 265 seconds)
06:29:54  * nodweberjoined
06:30:05  <brendanashworth>and if you want it really redundant, you can do a DNS round robin with two front proxies
06:30:18  * akivajoined
06:30:24  <owen1>brendanashworth: can u explain what does it mean?
06:30:30  <owen1>front proxies
06:30:38  <brendanashworth>its the top nginx server you already have
06:30:55  <owen1>ok. have another one, right?
06:30:58  <owen1>with 6 arrows?
06:31:10  * basicdaysjoined
06:31:16  * kamijoined
06:31:37  <brendanashworth>yes? i think
06:32:11  <owen1>gotcha. and if one of the nginx is down, the traffic will go to the healthy one?
06:32:14  * tyfighterjoined
06:32:43  * raviquit (Quit: (null))
06:32:46  <brendanashworth>well half of your traffic would kinda die i'm pretty sure but maybe
06:33:27  <owen1>do i set the DNS round robin at my DNS provider?
06:33:32  <brendanashworth>yes
06:33:42  * rxmthquit (Ping timeout: 276 seconds)
06:34:13  <owen1>https://support.cloudflare.com/hc/en-us/articles/200168916-Can-I-use-round-robin-DNS-entries-
06:34:15  <owen1>cool
06:34:36  <owen1>"Note: the system currently does not have the functionality to automatically select the next available server if one of the servers in the group goes down -- the user may see an offline/cached page in this case.You would manually want to configure this at this time."
06:34:46  <owen1>damn
06:35:00  * nodweberquit (Ping timeout: 276 seconds)
06:35:03  <owen1>what's the point if it's not automatic?
06:35:07  * nodweberjoined
06:35:35  <brendanashworth>eh you kinda lose some if the gains then
06:35:42  * AndrewCooper_quit (Ping timeout: 245 seconds)
06:35:49  * cakirkejoined
06:35:59  * cpupquit (Ping timeout: 256 seconds)
06:36:44  * Argue_joined
06:37:02  <owen1>brendanashworth: maybe it's only cloudflare that suck?
06:37:10  <brendanashworth>no they don't
06:37:21  <owen1>oh. so it's a limitation with this approach?
06:37:22  <brendanashworth>maybe i just don't have enough experience to really recommend something to you
06:37:25  <brendanashworth>but i'm not sure
06:37:28  <owen1>(: np
06:37:40  <brendanashworth>i'd say take a look at some other infrastructure maps and take pointers on how they manage the public nodes
06:38:01  <brendanashworth>you could try anycast
06:38:29  * NBhostingjoined
06:38:49  * gagiquit (Ping timeout: 255 seconds)
06:38:59  <owen1>now let's say i have 2 different node.js api servers. 1 is auth.myserver.com and the other is profile.myserver.com. is my diagram accurate for that scenario?
06:39:03  * cpupjoined
06:39:16  <owen1>or can i flatten it as well
06:39:16  * prbcquit (Remote host closed the connection)
06:39:27  <brendanashworth>do they each serve different applications and pages?
06:39:29  * Arguequit (Ping timeout: 244 seconds)
06:39:43  * nodweberquit (Ping timeout: 255 seconds)
06:39:43  * hdonquit (Quit: Leaving)
06:39:51  <brendanashworth>i was under the impression that they're all identical
06:40:08  <owen1>it's a single page app (angular) and they return json. the angular apps are the same. they both need auth and profile services.
06:40:17  <kami>Good morning #node.js
06:40:17  <owen1>i am just curious.
06:40:24  <owen1>in real life i'll have multiple web service.
06:40:46  <owen1>i don't want to have one giant service. i prefer to split my api into smaller apps.
06:41:05  <brendanashworth>kami: good morning
06:41:15  <brendanashworth>owen1: that just got a lot more complicated :)
06:41:27  <brendanashworth>you're pretty much losing me now
06:41:29  <owen1>brendanashworth: the angular apps are identical. but they use 2 services.
06:41:37  <brendanashworth>the connection is fading
06:41:40  <owen1>think of a normal angular app.
06:41:42  <brendanashworth>the phone is going to crackles
06:41:52  <owen1>it makes ajax calls to some api.
06:41:56  <brendanashworth>i scream to no avail... agony is in the air
06:42:05  <brendanashworth>okay owen1
06:42:07  <owen1>some calls goes to auth.server.com and some goes to profile.server.com
06:42:09  <brendanashworth>so the angular part will be fine
06:42:25  <brendanashworth>i think that setup will be fine as long as you do some good config'ing
06:42:29  <owen1>is http://i.imgur.com/uM8HYIX.png correct for that scenario?
06:42:30  * hemanthjoined
06:42:43  * cj3kimquit (Remote host closed the connection)
06:42:57  <owen1>the nginx in the middle will have the hosts: auth.server.com and profile.server.com
06:43:05  * memeht_part ("Leaving...")
06:43:46  * bbankesquit (Ping timeout: 255 seconds)
06:43:55  * tyfighterquit (Ping timeout: 256 seconds)
06:44:12  <brendanashworth>still remove the middle
06:44:17  <owen1>ah
06:44:42  * mxbttyjoined
06:44:54  <owen1>so single nginx to load balance all 6 (2 angular 2 auth.server.com and 2 profile.server.com) ?
06:45:29  * cj3kimjoined
06:45:34  * nodweberjoined
06:45:59  <brendanashworth>yes
06:46:18  <owen1>wow. i'll learn more about nginx.
06:46:45  <owen1>i guess i'll have 3 server entries in conf.nginx
06:46:55  * Milk_weedquit (Ping timeout: 255 seconds)
06:48:11  <owen1>brendanashworth: and if your approach works, it's even more robust than mine since with mine the middle tier nginxs are a single point of failure - if nginx of auth.server.com is down, i lost my auth.
06:48:36  <brendanashworth>not exactly more robust, it just cuts out mostly unnecessary things
06:49:13  <owen1>brendanashworth: assuming i'll do the DNS round robin, it's less single points of failure. i think.
06:49:28  * mxbttyquit (Ping timeout: 272 seconds)
06:49:32  <brendanashworth>well yeah less points of failure statistically
06:50:01  <owen1>fantastic. thanks a lot
06:50:04  * nodweberquit (Ping timeout: 255 seconds)
06:50:09  <brendanashworth>pleasure
06:50:28  <owen1>it will be cool to set this all up with docker. nginx can be it's own container
06:50:52  * brhuequit (Ping timeout: 240 seconds)
06:50:56  <owen1>i guess the nginx + angular can sit inside 1 container
06:51:00  * nodweberjoined
06:51:24  * tyfighterjoined
06:53:03  * diogopontualjoined
06:54:22  * llakeyquit (Excess Flood)
06:54:55  * llakeyjoined
06:55:01  * jgjeongquit (Ping timeout: 255 seconds)
06:55:17  * nodweberquit (Ping timeout: 245 seconds)
06:55:30  * jgjeongjoined
06:55:55  * zaanquit (Ping timeout: 255 seconds)
06:56:08  * nodweberjoined
06:56:23  * RLajoined
06:56:37  * jypiequit (Quit: My iMac has gone to sleep. ZZZzzz…)
06:56:41  * sul_joined
06:57:15  * zaanjoined
06:57:23  * tkuchikijoined
06:58:09  * captain_morganquit (Ping timeout: 245 seconds)
06:58:39  * cpupquit (Ping timeout: 256 seconds)
06:59:23  * sent1nel_quit (Remote host closed the connection)
06:59:28  * 32NAA62KEquit (Changing host)
06:59:28  * 32NAA62KEjoined
06:59:34  * 32NAA62KEchanged nick to Cork
07:00:14  * nodweberquit (Ping timeout: 245 seconds)
07:00:46  * master5o1joined
07:00:47  * master5o1quit (Changing host)
07:00:47  * master5o1joined
07:00:48  * sankha_joined
07:01:25  * nodweberjoined
07:01:52  * akivaquit (Ping timeout: 240 seconds)
07:01:57  * cpupjoined
07:02:12  * cakirkequit (Quit: cakirke)
07:04:33  * akivajoined
07:04:53  * jasonkuhrt__quit (Quit: Be back later ...)
07:05:26  * pkafeiquit (Quit: Leaving.)
07:05:33  * jasonkuhrt__joined
07:05:33  * mdelquit (Quit: Connection closed for inactivity)
07:06:12  * nodweberquit (Ping timeout: 276 seconds)
07:06:19  * jongleberryjoined
07:06:37  * nodweberjoined
07:08:42  * kerspoonjoined
07:08:43  * Sawbones_joined
07:10:02  * _X_C_V_B_joined
07:10:22  * jasonkuhrt__quit (Ping timeout: 272 seconds)
07:10:52  * nodweberquit (Ping timeout: 240 seconds)
07:10:58  * GreenDogjoined
07:11:25  * jasonkuhrt___joined
07:11:58  * nodweberjoined
07:12:52  * kerspoonquit (Ping timeout: 240 seconds)
07:14:03  * hdonjoined
07:14:08  * cj3kimquit (Remote host closed the connection)
07:15:40  <owen1>brendanashworth: http://i.imgur.com/qhvCBYd.png
07:16:00  * lolcookiejoined
07:16:17  <brendanashworth>owen1: looks right to me - but make sure all requests proxy through the public node
07:16:41  * jasonkuhrt___quit (Ping timeout: 244 seconds)
07:16:42  * nodweberquit (Ping timeout: 265 seconds)
07:17:06  * nodweberjoined
07:17:46  * boneskulljoined
07:18:11  * labcoatnomadquit (Quit: Leaving)
07:18:55  * pkafeijoined
07:20:13  * dshaw_1quit (Quit: Leaving.)
07:20:40  * cpupquit (Ping timeout: 255 seconds)
07:20:46  * pkafeiquit (Client Quit)
07:20:58  <owen1>brendanashworth: what do u mean by 'public node'? the app.myserver.com nginx box?
07:21:03  <brendanashworth>yes
07:21:17  * nodweberquit (Ping timeout: 246 seconds)
07:21:35  <owen1>brendanashworth: i believe that i just need to tell angular to hit auth.server.com or profile.server.com, no?
07:21:35  * weilujoined
07:22:10  <brendanashworth>owen1: doing that would eliminate the point of having a front load balancer
07:22:23  <brendanashworth>well, as long as you have your DNS set to the public node and the public node routes from there
07:22:24  * nodweberjoined
07:22:30  <brendanashworth>don't have your DNS hit the backend node web apps
07:23:15  <_X_C_V_B_>in express how do I forward a request to another server? like if it's localhost:101/test1 it would localhost/test1
07:23:25  <iksik>it doesn't make sense to me ;D
07:23:30  * goodenoughquit (Remote host closed the connection)
07:23:30  * evotunedjoined
07:24:06  <brendanashworth>_X_C_V_B_: the same way as you would for the same server
07:24:13  <brendanashworth>just specify the host, i.e. http://localhost/...
07:24:23  <iksik>_X_C_V_B_: http://stackoverflow.com/questions/6626604/how-to-add-proxy-to-node-express-site
07:24:34  <owen1>brendanashworth: do u mean that in my DNS i should point auth.myserver.com and profile.myserver.com to app.myserver.com ?
07:25:16  <_X_C_V_B_>I'm so tired
07:25:28  <iksik>_X_C_V_B_: get some sleep ;)
07:25:36  <brendanashworth>owen1: pm me
07:25:59  <_X_C_V_B_>iksik: It works for images, post and other stuff, right?
07:26:15  <iksik>_X_C_V_B_: You just need to try it ;)
07:26:20  * ramprquit (Remote host closed the connection)
07:26:44  * tyfighterquit (Quit: tyfighter)
07:26:50  * weiluquit (Ping timeout: 272 seconds)
07:26:58  * nodweberquit (Ping timeout: 255 seconds)
07:27:37  * nodweberjoined
07:27:47  * cpupjoined
07:28:15  * evotunedquit (Ping timeout: 264 seconds)
07:28:17  * detjjoined
07:28:57  <iksik>brendanashworth: talk here, i'm also curious :D
07:29:18  * platonicjoined
07:29:23  <brendanashworth>iksik: i didn't want to spam, but if owen1 is okay with it we can chat here
07:29:35  <iksik>owen1: :)
07:30:14  * hemanthquit (Ping timeout: 245 seconds)
07:32:18  * pkafeijoined
07:32:18  * hemanthjoined
07:32:50  * nodweber_joined
07:32:51  * nodweberquit (Ping timeout: 276 seconds)
07:33:19  <owen1>iksik: oh sorry.
07:33:28  * bikestrajoined
07:33:34  <owen1>let me summerize the conversation for you
07:33:42  * Sawbones_quit (Remote host closed the connection)
07:33:43  <iksik>ok, cool ;)
07:33:53  * platonicquit (Ping timeout: 246 seconds)
07:34:42  * olsojoined
07:35:36  <olso>hey, i need to skip items in loop until i reach one item, and then start doing something with items from that point
07:35:50  <olso>one=specific
07:36:06  * akivaquit (Ping timeout: 276 seconds)
07:36:15  * tmk1108quit (Quit: Textual IRC Client: www.textualapp.com)
07:36:34  <brendanashworth>olso: you could have a boolean variable above a for loop set to false, and the first check in the for loop is to see if that item is what you're looking for
07:36:50  <brendanashworth>if it is, you can flip the bool var and continue in execution, if it isn't what you're looking for you can continue;
07:36:57  * nodweber_quit (Ping timeout: 245 seconds)
07:36:59  * kotkjoined
07:37:03  <lolcookie>while loop seems the correct reponse>
07:37:17  * root3dquit (Ping timeout: 264 seconds)
07:37:37  * tyfighterjoined
07:37:41  <olso>lolcookie, brendanashworth I am using Async.eachSeries tho
07:38:04  * jhuckabyquit (Quit: Textual IRC Client: www.textualapp.com)
07:38:08  * nodweberjoined
07:38:14  * _X_C_V_B_quit (Ping timeout: 272 seconds)
07:38:28  <olso>which doesnt matter i guess
07:40:32  <brendanashworth>olso: that does matter and i don't have an answer for that one. :/ sorry
07:41:44  * xiinotulpjoined
07:41:54  <lolcookie>can you not write breaks or someshit
07:42:00  <iksik>var foundMyFirstItem = false; async.eachSeries([], function(item, next){ if (somethingToCheckIfThisItemIsTheOne || foundMyFirstItem === true) { foundMyFirstItem = true; ... process Your Item here ... next() } else next() }, function(){});
07:42:11  <iksik>olso^
07:42:22  * qardquit (Quit: leaving)
07:42:31  * nodweberquit (Ping timeout: 244 seconds)
07:43:21  * nodweberjoined
07:43:24  * rileyjsh_joined
07:43:45  * noobeejoined
07:44:01  * mjpearsonjoined
07:44:15  <lolcookie>yeah iksik knows whats up
07:44:42  * cj3kimjoined
07:44:58  * plutoniixquit (Ping timeout: 255 seconds)
07:45:05  * cpupquit (Ping timeout: 264 seconds)
07:45:37  * harrisonmquit (Ping timeout: 244 seconds)
07:45:42  * topriddyjoined
07:45:52  * xk_idjoined
07:46:02  <olso>iksik, https://gist.github.com/anonymous/0fc1d441034d421baf4e ?
07:47:09  * mr_louquit (Quit: Ex-Chat)
07:47:27  * NormySanquit (Quit: Leaving)
07:47:52  * nodweberquit (Ping timeout: 240 seconds)
07:48:16  <iksik>olso almost, You need to 'return' from first if ;)
07:48:22  * mjpearsonquit (Ping timeout: 240 seconds)
07:48:29  <olso>callback is return
07:48:33  <iksik>nope
07:48:48  <iksik>it won't prevent second if execution
07:48:53  * nodweberjoined
07:49:18  <iksik>so it can call multiple callbacks in one go - and it shouldn't do that
07:49:35  * hemanthquit (Quit: This computer has gone to sleep)
07:49:37  <olso>yes it will? it is eachSeries, it waits for callbacks
07:50:12  <iksik>line 4 should be: return callback(null, true);
07:50:20  * xk_idquit (Ping timeout: 246 seconds)
07:50:32  <iksik>yeah i know, i'm using async lib ;)
07:50:44  * Derpydooooojoined
07:51:01  <owen1>iksik: ok. ready for nginx 101?
07:51:13  * cpupjoined
07:51:16  <owen1>ops. let me know when u got a minute
07:51:36  * enaqxjoined
07:52:07  * jadnejoined
07:52:14  <olso>but why would i return function?
07:52:26  <iksik>olso You are using this code in 'tick' function, which is called on each item in array so You can process it there, right? after item is processed it calls callback function to let async know that it should process another item, right? but if You leave this code like it is right now there is a good chance it will trigger callback from line 4 and then it will trigger callback in
07:52:26  <iksik>line 8 - so 2x callback fired for one item
07:52:47  * cj3kimquit (Ping timeout: 245 seconds)
07:52:59  <Derpydooooo>Getting a "ReferenceError: socket is not defined" even though I have <script src="/socket.io/socket.io.js"></script> and var socket = io.connect(); == any clue what it might be?
07:53:00  <iksik>owen1: sure :)
07:53:06  <iksik>ready
07:53:08  * nodweberquit (Ping timeout: 246 seconds)
07:53:42  <owen1>all nginx is doing is taking your requests and sending them to your servers. are we good so far?
07:53:52  * leichtgewichtquit (Remote host closed the connection)
07:53:54  <iksik>yup
07:53:56  * nodweberjoined
07:54:42  * hglquit (Ping timeout: 272 seconds)
07:54:50  <owen1>so if you have an angular.js app (or whatever app) and you also have some node.js servers that return json.
07:55:01  <owen1>and that angular app making calls to those servers.
07:55:09  * hgljoined
07:55:23  <owen1>let's say we have auth-api.server.com and profile-api.server.com
07:55:29  <owen1>(2 types of services)
07:56:05  * root3djoined
07:56:05  * root3dquit (Changing host)
07:56:05  * root3djoined
07:56:06  * xaka_quit (Quit: This computer has gone to sleep)
07:56:20  <owen1>are we good so far?
07:56:30  <iksik>olso oh You need to return to stop execution and prevent multiple callbacks for one item ;)
07:56:33  <iksik>owen1: yea
07:56:37  <owen1>ok.
07:56:39  <owen1>so
07:57:08  * tyfighterquit (Quit: tyfighter)
07:57:13  <owen1>if you want to build a robust app. by robust i mean - not having a single point of failure.
07:57:22  * poikonjoined
07:57:25  <owen1>you need to have redundency
07:57:26  <iksik>olso: You can also redesign your if structure to avoid that, but i like return because it's cleaner imo ;)
07:57:33  * jadnequit (Ping timeout: 276 seconds)
07:57:53  <owen1>so you'll need to have 2 angular apps and 2 auth-api servers and 2 profile-api servers.
07:58:00  <iksik>right
07:58:11  <owen1>so nginx allows you to do that:
07:58:22  <owen1>you can put the 2 angular apps behing nginx
07:58:30  * nodweberquit (Ping timeout: 272 seconds)
07:58:45  <owen1>and you can also put the 4 api servers behind a single nginx
07:58:52  <iksik>sure
07:58:56  <owen1>that's it (;
07:59:07  * dguttmanquit (Quit: dguttman)
07:59:12  * nodweberjoined
07:59:13  <iksik>and You have single point of failure on your frontend node, which defeats some ideas here
07:59:14  <owen1>if you want, you can put all 6 servers behind a single nginx
07:59:22  <owen1>iksik: right
07:59:31  <olso>iksik, thanks :)
07:59:33  * tkuchikiquit (Remote host closed the connection)
07:59:41  <owen1>so you can have another nginx with identical setup
07:59:58  <owen1>to avoid single point of failure at the top level.
08:00:09  * tkuchikijoined
08:00:11  * lolcookie__joined
08:00:27  * gagijoined
08:00:27  <owen1>you can do that in the DNS level but it sucks since it's not automatic failover -
08:00:56  <owen1>the crashed nginx will still get traffic until you will manualy remove the entry in the DNS.
08:01:06  * lpinjoined
08:01:07  <owen1>i know there is a better option but not sure what it is.
08:01:30  <iksik>You can use haproxy instead of nginx - much more powerfull 'toy' ;)
08:01:53  <chovy>what's a good way to apply filtering to an api ?
08:02:12  <chovy>like search
08:02:14  * pretentiousgitquit (Quit: Connection closed for inactivity)
08:02:29  * poikonquit (Ping timeout: 264 seconds)
08:02:47  * sankha_quit (Quit: Gone to save the world!)
08:02:50  * fl0wjoined
08:03:11  * lolcookiequit (Ping timeout: 244 seconds)
08:03:24  * goodenoughjoined
08:03:49  * towski_joined
08:03:52  * nodweberquit (Ping timeout: 255 seconds)
08:04:33  * tkuchikiquit (Ping timeout: 265 seconds)
08:04:33  * JamesMGreenechanged nick to JamesMGreeneAway
08:04:39  * Volisjoined
08:04:58  * objectarrayjoined
08:05:03  * towski_quit (Remote host closed the connection)
08:05:03  * JamesMGreeneAwayquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
08:05:09  * gfmsjoined
08:05:17  * cpupquit (Ping timeout: 245 seconds)
08:05:52  * YoYquit (Ping timeout: 240 seconds)
08:05:55  * binauralmanjoined
08:05:58  * gfmsquit (Client Quit)
08:06:06  * Volis_quit (Ping timeout: 272 seconds)
08:06:11  * x1337807xjoined
08:06:44  * olivierrr_quit (Ping timeout: 272 seconds)
08:08:54  * YoYjoined
08:09:01  * asheinfeldjoined
08:10:06  * thealphanerdquit (Quit: thealphanerd)
08:10:17  * root3dquit (Ping timeout: 245 seconds)
08:10:51  * binauralmanquit (Ping timeout: 264 seconds)
08:12:26  * jasonkuhrt___joined
08:13:44  * asheinfeldquit (Ping timeout: 265 seconds)
08:13:48  * sul_quit (Ping timeout: 276 seconds)
08:14:13  * denysoniquequit (Ping timeout: 265 seconds)
08:15:53  * nuizzyquit (Quit: nuizzy)
08:16:38  * detjquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:16:50  * pkafeipart
08:17:30  * jasonkuhrt___quit (Ping timeout: 272 seconds)
08:20:04  * nodweberjoined
08:20:16  * aj701quit (Quit: Be back later ...)
08:22:21  * weilujoined
08:22:33  * gnrlbzik_quit (Remote host closed the connection)
08:24:27  * nodweberquit (Ping timeout: 245 seconds)
08:25:17  * ciwolseyquit (Quit: Leaving)
08:26:57  * weiluquit (Ping timeout: 244 seconds)
08:27:12  * AndrewCooper_joined
08:27:28  * root3djoined
08:27:28  * root3dquit (Changing host)
08:27:28  * root3djoined
08:27:47  * topriddyquit (Quit: topriddy)
08:27:53  * Sawbones_joined
08:28:47  * tkuchikijoined
08:28:57  * vozcelikjoined
08:29:04  * topriddyjoined
08:29:10  * vozcelikquit (Remote host closed the connection)
08:29:14  * rhyselsmorejoined
08:29:16  * TyrfingMjolnirjoined
08:30:25  * ^escquit (Ping timeout: 264 seconds)
08:30:35  * nodweberjoined
08:31:03  * TyrfingMjolnirquit (Read error: Connection reset by peer)
08:31:48  * brendanashworthquit (Remote host closed the connection)
08:32:42  * octetcloudquit (Ping timeout: 272 seconds)
08:32:45  * maheshjoined
08:33:02  * Mch1quit (Ping timeout: 246 seconds)
08:33:30  * mxbttyjoined
08:33:42  * staar2joined
08:34:16  * Nathandimjoined
08:36:32  * itruslovequit (Ping timeout: 245 seconds)
08:36:42  * {slurp-nodejs}1joined
08:36:42  * ljharbtopic: Current Stable v0.10.36, Unstable v0.11.15 | Channel Mission Statement: http://bit.ly/node-irc-mission-statement | Channel Info: http://nodeirc.info | Channel Logs: http://logs.nodejs.org/node.js/index | On codes of conduct: https://medium.com/node-js-javascript/codes-of-conduct-82ab2d88112d
08:36:47  * PaulCape_joined
08:36:56  * vozcelikjoined
08:37:00  * Sawbone__joined
08:37:10  * itruslove_joined
08:37:15  * mahesh_joined
08:37:17  * hartsock_joined
08:37:31  * s3shs_joined
08:37:37  * mertimor-joined
08:37:42  * paul__kjoined
08:37:43  * mven_joined
08:37:44  * mven_quit (Excess Flood)
08:37:46  * stephank_joined
08:37:48  * _jasonmitjoined
08:37:52  * vozcelikquit (Client Quit)
08:37:55  * Kingdutchjoined
08:37:55  * christo_1joined
08:37:58  * tristans1joined
08:38:00  * hswolff_joined
08:38:01  * apcshields_joined
08:38:18  * Peder_joined
08:38:19  * jgjeong_joined
08:38:20  * DerisiveLogic_joined
08:38:24  * mxbttyquit (Ping timeout: 272 seconds)
08:38:28  * chiper-joined
08:38:30  * unojoined
08:38:38  * delightjoined
08:38:39  * Zren_joined
08:38:50  * jaredrhine_joined
08:39:01  * codelahomajoined
08:39:16  * backinnamjoined
08:39:22  * bhldevjoined
08:39:28  * kami`joined
08:39:29  * Gather_joined
08:39:39  * jcdesimp_joined
08:39:40  * _br_-joined
08:39:48  * heroux_joined
08:40:02  * billy___joined
08:40:02  * morenoh150joined
08:40:03  * gvsuphil_joined
08:40:04  * baudehlo1joined
08:40:06  * przemoc86joined
08:40:07  * izolate_joined
08:40:09  * oipat0joined
08:40:11  * julian_duquejoined
08:40:19  * sfajoined
08:40:27  * drudge_joined
08:40:28  * nfroidurejoined
08:40:34  * gkatsev_joined
08:40:45  * Proditor_joined
08:40:53  * nodweberquit (Ping timeout: 264 seconds)
08:41:08  * Pattejoined
08:41:08  * nodweberjoined
08:41:11  * zalebjoined
08:41:13  * rigor789zjoined
08:41:24  * mitzip_joined
08:41:28  * rigor789zchanged nick to rigor789
08:41:59  * dcct_joined
08:42:08  * jufoxjoined
08:42:15  * gyaresujoined
08:42:43  * rymate12-joined
08:42:56  * tenseitenjoined
08:42:56  * tenseitenquit (Changing host)
08:42:56  * tenseitenjoined
08:43:04  * de_henne_joined
08:43:29  * emilsedgh_joined
08:43:32  * netj_joined
08:43:34  * red_horned_rihnoquit (Quit: Leaving)
08:43:38  * gf3_joined
08:43:45  * Ephemeral_joined
08:43:49  * boneskullquit
08:44:00  * ivan\_joined
08:44:31  * ninjazachjoined
08:44:31  * ^escjoined
08:44:55  * ninjazachchanged nick to Guest27010
08:45:03  * jufoxquit (Remote host closed the connection)
08:45:15  * orionstein_joined
08:45:19  * staar2quit (*.net *.split)
08:45:19  * Derpydoooooquit (*.net *.split)
08:45:19  * jgjeongquit (*.net *.split)
08:45:19  * basicdaysquit (*.net *.split)
08:45:19  * Nikeshquit (*.net *.split)
08:45:19  * de_hennequit (*.net *.split)
08:45:19  * hartsockquit (*.net *.split)
08:45:19  * Guest75921quit (*.net *.split)
08:45:20  * sfa_quit (*.net *.split)
08:45:20  * chiperquit (*.net *.split)
08:45:20  * gyaresu_quit (*.net *.split)
08:45:20  * The_Kingdutchquit (*.net *.split)
08:45:20  * mage__quit (*.net *.split)
08:45:20  * crodasquit (*.net *.split)
08:45:20  * gf3quit (*.net *.split)
08:45:20  * dcctquit (*.net *.split)
08:45:20  * codelahoma_quit (*.net *.split)
08:45:20  * Jirachierquit (*.net *.split)
08:45:20  * izolatequit (*.net *.split)
08:45:20  * n4lquit (*.net *.split)
08:45:20  * jamesdquit (*.net *.split)
08:45:20  * Ephemeralquit (*.net *.split)
08:45:20  * mertimorquit (*.net *.split)
08:45:20  * stephankquit (*.net *.split)
08:45:20  * netjquit (*.net *.split)
08:45:20  * DerisiveLogicquit (*.net *.split)
08:45:21  * PaulCapestanyquit (*.net *.split)
08:45:21  * gkatsevquit (*.net *.split)
08:45:21  * rigor789|awayquit (*.net *.split)
08:45:21  * baudehloquit (*.net *.split)
08:45:21  * dsirijusquit (*.net *.split)
08:45:21  * ivan\quit (*.net *.split)
08:45:21  * sxaquit (*.net *.split)
08:45:21  * ekmartinquit (*.net *.split)
08:45:21  * rymate1234quit (*.net *.split)
08:45:21  * Proditorquit (*.net *.split)
08:45:21  * billyquit (*.net *.split)
08:45:21  * mitzipquit (*.net *.split)
08:45:22  * jaredrhinequit (*.net *.split)
08:45:22  * Sharaalquit (*.net *.split)
08:45:22  * EZTEQquit (*.net *.split)
08:45:22  * oroce_quit (*.net *.split)
08:45:22  * king313quit (*.net *.split)
08:45:22  * thomasquit (*.net *.split)
08:45:22  * itruslovequit (*.net *.split)
08:45:22  * UnoPolakquit (*.net *.split)
08:45:22  * XemsDoomquit (*.net *.split)
08:45:22  * mrbitsandbytesquit (*.net *.split)
08:45:23  * kbaquit (*.net *.split)
08:45:23  * {slurp-nodejs}quit (*.net *.split)
08:45:23  * jarcosmonautquit (*.net *.split)
08:45:23  * bhldev__quit (*.net *.split)
08:45:23  * SpiceManquit (*.net *.split)
08:45:23  * christo_mquit (*.net *.split)
08:45:23  * Zrenquit (*.net *.split)
08:45:23  * CptCleve1quit (*.net *.split)
08:45:23  * Sammy8806quit (*.net *.split)
08:45:23  * maheshquit (*.net *.split)
08:45:24  * kamiquit (*.net *.split)
08:45:24  * tristanseifertquit (*.net *.split)
08:45:24  * nux443quit (*.net *.split)
08:45:24  * hydrajumpquit (*.net *.split)
08:45:24  * webguynowquit (*.net *.split)
08:45:24  * Gatherquit (*.net *.split)
08:45:24  * miloj_quit (*.net *.split)
08:45:24  * paul_kquit (*.net *.split)
08:45:24  * joshfinnie_quit (*.net *.split)
08:45:24  * Str1ngSquit (*.net *.split)
08:45:24  * leafybas_quit (*.net *.split)
08:45:25  * jcdesimpquit (*.net *.split)
08:45:25  * vohof52quit (*.net *.split)
08:45:25  * joshonthewebquit (*.net *.split)
08:45:25  * herouxquit (*.net *.split)
08:45:25  * JuanDaughertyquit (*.net *.split)
08:45:25  * przemocquit (*.net *.split)
08:45:25  * s3shsquit (*.net *.split)
08:45:25  * jasonmitquit (*.net *.split)
08:45:25  * glebihanquit (*.net *.split)
08:45:25  * jarrod_quit (*.net *.split)
08:45:25  * orionsteinquit (*.net *.split)
08:45:25  * PyHedgehogquit (*.net *.split)
08:45:26  * hswolffquit (*.net *.split)
08:45:26  * aboudreaultquit (*.net *.split)
08:45:26  * julianduquequit (*.net *.split)
08:45:26  * drudgequit (*.net *.split)
08:45:26  * buotoquit (*.net *.split)
08:45:26  * morenoh149quit (*.net *.split)
08:45:26  * Sawbonesquit (*.net *.split)
08:45:26  * iniminoquit (*.net *.split)
08:45:26  * emilsedghquit (*.net *.split)
08:45:26  * gvsuphilquit (*.net *.split)
08:45:26  * luigy_quit (*.net *.split)
08:45:26  * Someguy123quit (*.net *.split)
08:45:27  * _br_quit (*.net *.split)
08:45:27  * sverrejquit (*.net *.split)
08:45:27  * atatsuquit (*.net *.split)
08:45:27  * oipatquit (*.net *.split)
08:45:27  * L_starquit (*.net *.split)
08:45:27  * FIQquit (*.net *.split)
08:45:27  * seitenseiquit (*.net *.split)
08:45:28  * grantbowquit (*.net *.split)
08:45:28  * paul__kchanged nick to paul_k
08:45:28  * gf3_changed nick to gf3
08:45:28  * chiper-changed nick to chiper
08:45:28  * hswolff_changed nick to hswolff
08:45:28  * hartsock_changed nick to hartsock
08:45:28  * heroux_changed nick to heroux
08:45:29  * drudge_changed nick to drudge
08:45:31  * jamesdjoined
08:45:33  * Nikeshjoined
08:45:38  * orionstein_changed nick to orionstein
08:45:41  * sverrejjjoined
08:45:53  * Ephemeral_changed nick to Ephemeral
08:45:54  * stephank_changed nick to stephank
08:45:54  * nodweberquit (Ping timeout: 245 seconds)
08:45:54  * Zren_changed nick to Zren
08:46:05  * webguynowjoined
08:46:07  * Someguy123joined
08:46:08  * joshfinniejoined
08:46:18  * n4ljoined
08:46:23  * nodweberjoined
08:46:27  * ivan\_changed nick to ivan\
08:46:37  * leafybasiljoined
08:46:41  * Jirachierjoined
08:47:05  * SpiceManjoined
08:47:13  * L_starjoined
08:47:16  * JuanDaughertyjoined
08:47:26  * mage_joined
08:47:26  * nux443joined
08:47:27  * luigyjoined
08:47:36  * buotojoined
08:47:37  * uber_hulkjoined
08:47:48  * glebihanjoined
08:47:58  * objectarraypart ("Leaving")
08:48:46  * kbajoined
08:48:55  * iniminojoined
08:48:57  * kbaquit (Changing host)
08:48:57  * kbajoined
08:48:57  * iniminoquit (Changing host)
08:48:57  * iniminojoined
08:48:58  * hydrajumpjoined
08:49:13  * edoardojoined
08:49:18  * staar2joined
08:49:28  * Guest69345joined
08:49:35  * hdonquit (Remote host closed the connection)
08:49:36  * edoardochanged nick to Guest94152
08:49:46  * Pattequit (Quit: Textual IRC Client: www.textualapp.com)
08:49:54  * DiegoMaxjoined
08:50:03  * nick___joined
08:50:09  * basicdaysjoined
08:50:10  * orocejoined
08:50:11  * Pattejoined
08:50:15  * jufoxjoined
08:50:20  * CptCleverjoined
08:50:20  * atatsujoined
08:50:20  * milojjoined
08:50:20  * Sammy8806joined
08:50:20  * thomasjoined
08:50:20  * XemsDoomjoined
08:50:20  * mrbitsandbytesjoined
08:50:20  * ekmartinjoined
08:50:26  * Sammy8806quit (Max SendQ exceeded)
08:50:32  * PyHedgehogjoined
08:50:32  * grantbowjoined
08:50:36  * Sammy8806joined
08:50:51  * sxajoined
08:51:04  * dsirijusjoined
08:51:15  * therealkoopajoined
08:51:22  * king313joined
08:51:26  * nodweberquit (Ping timeout: 265 seconds)
08:51:39  * nodweberjoined
08:52:33  * aboudreaultjoined
08:53:25  * Sawbones_quit (Remote host closed the connection)
08:53:47  * GreenDogquit (Remote host closed the connection)
08:53:53  * mityazjoined
08:54:08  * nick___quit (Client Quit)
08:54:30  * nick___joined
08:54:52  * jergasonquit (Quit: Connection closed for inactivity)
08:55:01  * leafybasilquit (Remote host closed the connection)
08:55:53  * nodweberquit (Ping timeout: 244 seconds)
08:56:02  * nick___changed nick to nickleefly
08:56:04  * therealkoopaquit (Ping timeout: 255 seconds)
08:56:21  * nickleeflyquit (Client Quit)
08:56:41  * nick___joined
08:56:51  * nodweberjoined
08:56:56  * jufoxquit
08:57:01  * nick___changed nick to nickleefly
08:57:26  * harethjoined
08:57:32  * nickleeflyquit (Client Quit)
08:57:44  * delightquit (Quit: delight)
08:57:52  * nick___joined
08:57:59  * nick___quit (Client Quit)
08:58:20  * topriddyquit (Quit: topriddy)
08:58:55  * sidthekidjoined
08:59:13  * pimlujoined
09:00:07  * cersquit (Ping timeout: 255 seconds)
09:00:54  * hoverjoined
09:00:57  * EvilJStokerquit (Ping timeout: 276 seconds)
09:00:57  * klobucarquit (Ping timeout: 276 seconds)
09:01:06  * EvilJStoker_joined
09:01:16  * dragsquit (Ping timeout: 276 seconds)
09:01:16  * t_kjaergaardquit (Ping timeout: 276 seconds)
09:01:21  * one_zeroquit
09:01:28  * nodweberquit (Ping timeout: 255 seconds)
09:01:33  <hover>How can I convert RAW Post data into urlencoded data that express can understand?
09:01:50  * dragsjoined
09:01:56  * D-Boyquit (Ping timeout: 276 seconds)
09:02:08  * nodweberjoined
09:02:24  * tkjaergaardjoined
09:02:36  * ramitosquit (Ping timeout: 277 seconds)
09:02:37  * fatsharkquit (Ping timeout: 277 seconds)
09:02:37  * Ownixquit (Ping timeout: 277 seconds)
09:02:37  * eugeneware_quit (Ping timeout: 277 seconds)
09:02:37  * RainmanNoodlesquit (Ping timeout: 277 seconds)
09:02:37  * sidthekid_joined
09:02:44  * klobucarjoined
09:02:46  * fatsharkjoined
09:02:58  * eugeneware_joined
09:03:05  * ramitosjoined
09:03:17  * b4xquit (Ping timeout: 276 seconds)
09:03:17  * wblankenshipquit (Ping timeout: 276 seconds)
09:03:20  * EvilJStoker_changed nick to EvilJStoker
09:03:55  * noobeequit (Remote host closed the connection)
09:03:58  * b4xjoined
09:04:19  * RainmanNoodlesjoined
09:04:31  * wblankenshipjoined
09:04:34  * marcello4djoined
09:04:36  * marcello3dquit (Ping timeout: 276 seconds)
09:04:37  * brucemquit (Ping timeout: 276 seconds)
09:04:37  * asherkinquit (Ping timeout: 276 seconds)
09:04:37  * SM0TVIquit (Ping timeout: 276 seconds)
09:04:37  * mizequit (Ping timeout: 276 seconds)
09:04:37  * real_atequit (Ping timeout: 276 seconds)
09:04:37  * ZucchiniZequit (Ping timeout: 276 seconds)
09:04:37  * kitallisquit (Ping timeout: 276 seconds)
09:04:37  * slajaxquit (Max SendQ exceeded)
09:04:48  * slajax_joined
09:04:57  * brucem_joined
09:04:58  * Ownixjoined
09:05:05  * slajax_changed nick to slajax
09:05:09  * real_atejoined
09:05:09  * MLMquit (Ping timeout: 275 seconds)
09:05:09  * olfoxquit (Ping timeout: 275 seconds)
09:05:09  * alexwhitmanquit (Ping timeout: 275 seconds)
09:05:09  * saapasquit (Ping timeout: 275 seconds)
09:05:11  * jnquit (Ping timeout: 275 seconds)
09:05:16  * saapasjoined
09:05:27  * iAmerikanquit (Ping timeout: 264 seconds)
09:05:43  * alexwhitmanjoined
09:05:48  * ivan\quit (Ping timeout: 276 seconds)
09:05:48  * brettlangdonquit (Ping timeout: 276 seconds)
09:05:55  * mizejoined
09:06:01  * jnjoined
09:06:04  * olfoxjoined
09:06:11  * fixljoined
09:06:19  * root3dquit (Remote host closed the connection)
09:06:23  * MLMjoined
09:06:32  * ivan\joined
09:06:33  * brettlangdonjoined
09:06:42  * kitallisjoined
09:06:43  * nodweberquit (Ping timeout: 256 seconds)
09:06:44  * asherkinjoined
09:07:11  * SM0TVIjoined
09:07:12  * ZucchiniZejoined
09:07:20  * nodweberjoined
09:07:41  * jypiejoined
09:07:44  * diegoaguilarjoined
09:07:53  * Bwildquit (Ping timeout: 264 seconds)
09:08:17  * coinerquit (Ping timeout: 244 seconds)
09:08:40  * Bwildjoined
09:10:07  * hglquit (Ping timeout: 256 seconds)
09:10:39  * basicdaysquit (Ping timeout: 245 seconds)
09:10:41  * AndrewCooper_quit (Ping timeout: 256 seconds)
09:11:01  <deltab>hover: do you mean this? "Contains key-value pairs of data submitted in the request body. By default, it is undefined, and is populated when you use body-parsing middleware such as body-parser and multer."
09:11:15  * tvwjoined
09:11:19  <hover>deltab: I believe so
09:11:22  <deltab>example at http://expressjs.com/4x/api.html#req.body
09:11:36  <hover>When posting urlencoded data to my endpoint it parses fine
09:11:42  <hover>but when it's raw, it takes a dump
09:11:54  * nodweberquit (Ping timeout: 244 seconds)
09:11:59  <deltab>what does "raw" mean here?
09:12:05  * ev____joined
09:12:14  * evotunedjoined
09:12:24  <deltab>which content-type?
09:12:35  * nodweberjoined
09:12:49  * adrianlangjoined
09:13:10  * jasonkuhrt___joined
09:13:17  * hgljoined
09:13:19  <hover>deltab: http://www.hastebin.com/gimiwalaca.pl
09:13:25  <hover>that is the raw output
09:13:44  * Bwildquit (Remote host closed the connection)
09:14:11  <hover>deltab: and this is urlencoded
09:14:12  <hover>[{ "event": "inbound", "ts": 1422743344, "msg": { "raw_msg": "Received: from us21.systemmonitor.us (unknown [50.56.154.210])\n\tby ip-10-220-3-120 (Postfix) with SMTP id 8AEFD203CA\n\tfor <gfi@alerts.cornerstoneist.com>; Sat, 31 Jan 2015 22:29:02 +0000 (UTC)\nReceived: (qmail 6295 invoked by uid 5008); 31 Jan 2015 22:29:02 -0000\nDate:
09:14:12  <hover>Sat, 31 Jan 2015 16:29:02 -0600\nTo: gfi@alerts.cornerstoneist.com, jpogosyan@cornerstoneist.com,\n mlixz@mailparser.io\nFrom: alert@gfi.com\nSubject: Workstation Error Alert Mail\nMessage-ID: <326be73f5b43664b5464bef44c800cae@server1.local>\nX-Priority: 3\nX-Mailer: PHPMailer [version 1.73]\nX-SYSTEMMONITOR-CHECKIDS: 21310261\nX-SYSTEMMONITOR-DEVICEID:
09:14:12  <hover>870302\nX-SYSTEMMONITOR-SITEID: 138427\nMIME-Version: 1.0\nContent-Type: multipart\/alternative;\n\tboundary=\"b1_326be73f5b43664b5464bef44c800cae\"\n\n\n--b1_326be73f5b43664b5464bef44c800cae\nContent-Type: text\/plain; charset = \"iso-8859-1\"\nContent-Transfer-Encoding: quoted-printable\n\nstatus: new\nsite: alfred@glendaleagi.com\nclient: Glendale
09:14:12  <hover>Accounting Group\nsite: alfred@glendaleagi.com\ndevice: GLENDALEAGIBACK\ndescription: Backup Check - StorageCraft ShadowProtect\n-----------------------------------------\nOne or more jobs failed\n\n\n--b1_326be73f5b43664b5464bef44c800cae\nContent-Type: text\/html; charset = \"iso-8859-1\"\nContent-Transfer-Encoding: quoted-printable\n\n<!DOCTYPE html PUBLIC
09:14:12  <hover>\"-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN\" =\n\"http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd\">\n<html>\n<head>\n<\/head>\n<body>\n\n<\/body>\n<\/html>\n\n\n\n--b1_326be73f5b43664b5464bef44c800cae--", "headers": { "Received": ["from us21.systemmonitor.us (unknown [50.56.154.210]) by ip-10-220-3-120 (Postfix) with
09:14:13  <hover>SMTP id 8AEFD203CA for <gfi@alerts.cornerstoneist.com>; Sat, 31 Jan 2015 22:29:02 +0000 (UTC)", "(qmail 6295 invoked by uid 5008); 31 Jan 2015 22:29:02 -0000"], "Date": "Sat, 31 Jan 2015 16:29:02 -0600", "To": "gfi@alerts.cornerstoneist.com, jpogosyan@cornerstoneist.com, mlixz@mailparser.io", "From": "alert@gfi.com",
09:14:13  <hover>"Subject": "Workstation Error Alert Mail", "Message-Id": "<326be73f5b43664b5464bef44c800cae@server1.local>", "X-Priority": "3", "X-Mailer": "PHPMailer [version 1.73]", "X-Systemmonitor-Checkids": "21310261", "X-Systemmonitor-Deviceid": "870302", "X-Systemmonitor-Siteid": "259507",
09:14:14  <hover>"Mime-Version": "1.0", "Content-Type": "multipart\/alternative; boundary=\"b1_326be73f5b43664b5464bef44c800cae\"" }, "text": "status: new\nsite: alfred@glendaleagi.com\nclient: Glendale Accounting Group\nsite: alfred@glendaleagi.com\ndevice: GLENDALEAGIBACK\ndescription: Backup Check - StorageCraft
09:14:14  <hover>ShadowProtect\n-----------------------------------------\nOne or more jobs failed\n\n\n", "text_flowed": false, "html": "<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd\">\n<html>\n<head>\n<\/head>\n<body>\n\n<\/body>\n<\/html>\n\n\n\n",
09:14:15  <hover>"from_email": "alert@gfi.com", "to": [ ["gfi@alerts.cornerstoneist.com", null], ["jpogosyan@cornerstoneist.com", null], ["mlixz@mailparser.io", null] ], "subject": "Workstation Error Alert Mail", "spf": { "result": "pass", "detail": "sender SPF authorized" },
09:14:15  <hover>"spam_report": { "score": 1.4, "matched_rules": [{ "name": "RCVD_IN_DNSWL_LOW", "score": -0.7, "description": "RBL: Sender listed at http:\/\/www.dnswl.org\/, low" }, { "name": null, "score": 0, "description": null
09:14:16  <hover>}, { "name": "listed", "score": 0, "description": "in list.dnswl.org]" }, { "name": "URIBL_BLOCKED", "score": 0, "description": "ADMINISTRATOR NOTICE: The query to URIBL was blocked." }, { "name": "more",
09:14:16  <hover>"score": 0, "description": "information." }, { "name": "glendaleagi.com]", "score": 0, "description": null }, { "name": "HTML_MESSAGE", "score": 0, "description": "BODY: HTML included in message" }, {
09:14:31  <hover>my stupid irc client just dumped this all in here
09:15:13  * platonicjoined
09:16:38  <hover>this is the link to the mess up there: http://hastebin.com/rurabilaqu.tex
09:16:52  * nodweberquit (Ping timeout: 240 seconds)
09:16:53  * evotunedquit (Ping timeout: 264 seconds)
09:17:23  <deltab>so your 'raw' data is url-encoded form data?
09:17:29  * p15joined
09:17:29  * jasonkuhrt___quit (Ping timeout: 256 seconds)
09:17:40  * TeddyMurrayquit (Ping timeout: 255 seconds)
09:17:50  * nodweberjoined
09:18:02  <morenoh150>A+
09:19:11  <deltab>are you sending it with the proper Content-Type header?
09:19:27  * pimluquit (Ping timeout: 245 seconds)
09:19:35  * platonicquit (Ping timeout: 246 seconds)
09:21:24  * Guest94152quit (Ping timeout: 265 seconds)
09:21:40  * nwmcsween_joined
09:22:03  <hover>deltab: mandrill is sending it out
09:22:14  * nodweberquit (Ping timeout: 244 seconds)
09:22:14  * nwmcsweenquit (Ping timeout: 244 seconds)
09:22:22  * antonsquit (Quit: This computer has gone to sleep)
09:22:42  <hover>https://www.irccloud.com/pastebin/bTKmFzZm
09:23:00  * x1337807xquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
09:23:04  * weilujoined
09:23:28  * gnrlbzikjoined
09:23:37  * renlojoined
09:23:44  * mityazquit (Quit: See ya!)
09:23:46  * thomasquit (Quit: leaving)
09:24:02  * thomasjoined
09:24:06  <renlo>any recommendations for an ORM for postgres?
09:24:18  * LucaTMjoined
09:24:18  <renlo>Sequelize any good?
09:24:22  * thomasquit (Client Quit)
09:24:28  * D-Boyjoined
09:24:44  * Sven_vB's impressed by hovers paste
09:25:16  * tomnewmannjoined
09:25:29  * giowongquit
09:26:03  * brucem_quit (Changing host)
09:26:03  * brucem_joined
09:26:11  * brucem_changed nick to brucem
09:26:22  * hglquit (Ping timeout: 244 seconds)
09:26:33  * basicdaysjoined
09:26:40  * deciderquit (Ping timeout: 255 seconds)
09:27:41  * weiluquit (Ping timeout: 256 seconds)
09:27:53  <hover>Sven_vB :$
09:28:10  * gnrlbzikquit (Ping timeout: 265 seconds)
09:28:53  * TeddyMurrayjoined
09:29:16  * Guest69345quit (Ping timeout: 245 seconds)
09:30:01  * rxmthjoined
09:30:30  * durnikquit (Ping timeout: 244 seconds)
09:30:36  * tomnewmannquit (Remote host closed the connection)
09:30:40  <hover>https://www.irccloud.com/pastebin/TJLdoYKu
09:30:49  <hover>deltab: ^
09:30:53  * ludkillerchanged nick to lud
09:31:28  * ramprjoined
09:33:02  * shakerjoined
09:33:06  * edoardo_joined
09:33:39  * araujoquit (Quit: Leaving)
09:34:29  * rxmthquit (Ping timeout: 256 seconds)
09:34:32  * xk_idjoined
09:35:03  * marienzquit (Ping timeout: 606 seconds)
09:35:58  * benjamingrquit (Quit: Connection closed for inactivity)
09:36:26  <renlo>what are you posting?
09:37:15  * mahesh_quit (Ping timeout: 264 seconds)
09:37:16  <deltab>mandrill is posting to a webhook
09:37:28  <deltab>https://www.irccloud.com/pastebin/bTKmFzZm
09:37:46  <deltab>hover: what is Object.parse?
09:38:29  * kevireilly_joined
09:38:45  <hover>deltab: I am going to assume that is the bodyParser
09:38:51  * nodweberjoined
09:39:03  * edoardo_quit (Ping timeout: 264 seconds)
09:39:21  <deltab>what's routes/alert.js:55:24 ?
09:39:35  * xk_idquit (Ping timeout: 256 seconds)
09:39:46  * nodweberquit (Read error: Connection reset by peer)
09:40:36  * nodweberjoined
09:40:52  * jadnejoined
09:41:36  * DrMabusejoined
09:41:38  * coinerjoined
09:42:45  * tomnewmannjoined
09:43:13  <hover>deltab: var headers = JSON.parse(mandrillEvent)[0].msg.headers;
09:43:16  * thealphanerdjoined
09:43:37  <hover>deltab: here is the whole file if that helps http://hastebin.com/juqenaxiju.js
09:43:44  * Nathandimpart ("Leaving")
09:43:54  <hover>http://hastebin.com/vegagireme.js
09:43:58  <hover>^
09:45:14  * adrianlangquit (Ping timeout: 245 seconds)
09:45:34  * mjpearsonjoined
09:45:46  <deltab>"That error is normally seen when the value given to JSON.parse is actually undefined. So, I would check the code that is trying to parse this - most likely you are not parsing the actual string shown here." — http://stackoverflow.com/a/13022566/1125535
09:46:03  * jadnequit (Ping timeout: 265 seconds)
09:46:18  * poikonjoined
09:46:21  * maqrquit (Quit: o_O)
09:46:35  * edoardo_joined
09:46:42  * maqrjoined
09:46:45  * Stalkr_joined
09:48:39  * ev____quit (Ping timeout: 264 seconds)
09:48:40  * rohanrhuquit (Ping timeout: 264 seconds)
09:49:07  <hover>deltab: If I post to http://requestb.in/ I can parse through whatever results I have there
09:49:26  * Nikeshquit (Ping timeout: 265 seconds)
09:49:35  <deltab>yes, I don't think the actual json is the problem
09:49:51  <deltab>the problem is that it isn't getting to the parser
09:49:54  * nodweberquit
09:50:27  * mjpearsonquit (Ping timeout: 264 seconds)
09:50:36  <deltab>>> JSON.parse(asdf)
09:50:37  <purr>deltab: ReferenceError: asdf is not defined
09:50:44  * poikonquit (Ping timeout: 246 seconds)
09:50:45  <deltab>>> var asdf; JSON.parse(asdf)
09:50:45  <purr>deltab: SyntaxError: Unexpected token u
09:51:46  <deltab>>> JSON.parse({}.headers)
09:51:46  <purr>deltab: SyntaxError: Unexpected token u
09:53:20  <deltab>sorry, I keep misreading that
09:53:45  <deltab>it's req.body.mandrill_event that's undefined
09:54:29  * doctormjoined
09:54:35  * gfmsjoined
09:54:43  * binauralmanjoined
09:55:28  * gfmsquit (Client Quit)
09:56:37  * nodweberjoined
09:56:56  <hover>deltab: it works locally though, which is why it's confusing me
09:57:03  * thomasjoined
09:57:38  <deltab>something's different then
09:57:45  <hover>same exact request
09:57:53  * TeddyMurrayquit (Ping timeout: 244 seconds)
09:58:17  <deltab>something is different
09:58:25  <deltab>maybe it's the code you're running
09:58:33  <hover>It's up to date with heroku/master
09:58:45  * artemmjoined
09:59:07  <hover>deltab: https://www.runscope.com/public/3c1cc2a0-471e-477f-9393-debb4b882dba/d6f77021-8f9a-4e8a-add3-1cabe1e4c7fc
09:59:22  * binauralmanquit (Ping timeout: 240 seconds)
09:59:53  * c00ljsjoined
10:00:16  <deltab>hover: output the value that you're trying to parse
10:00:36  * sent1neljoined
10:04:58  * sent1nelquit (Ping timeout: 245 seconds)
10:05:23  * shimejoined
10:05:56  * RLaquit (Quit: Leaving)
10:06:05  * shakerquit (Remote host closed the connection)
10:06:40  * davekquit (Ping timeout: 244 seconds)
10:06:44  * jcdesimp_quit (Quit: Leaving...)
10:06:53  * nodweberquit (Remote host closed the connection)
10:09:06  * VictorCLjoined
10:09:10  * Rudziutki_quit (Read error: Connection reset by peer)
10:09:35  * Rudziutki_joined
10:09:41  * lolcookiejoined
10:10:17  * lolcookie__quit (Ping timeout: 244 seconds)
10:11:03  * nodweberjoined
10:11:16  * denysoniquejoined
10:12:11  * edoardo_quit (Ping timeout: 245 seconds)
10:15:09  * Janaka-Stephjoined
10:15:57  * platonicjoined
10:16:11  * pimlujoined
10:16:34  * TinkerTyperquit (Ping timeout: 272 seconds)
10:17:03  * lolcookiequit (Ping timeout: 245 seconds)
10:17:19  * diegoaguilarquit (Quit: Leaving)
10:18:55  * therealkoopajoined
10:20:00  * ed209quit (Remote host closed the connection)
10:20:06  * ed209joined
10:20:40  * platonicquit (Ping timeout: 255 seconds)
10:20:42  * pimluquit (Ping timeout: 245 seconds)
10:20:54  * TinkerTyperjoined
10:22:26  * mxbttyjoined
10:22:52  * therealkoopaquit (Ping timeout: 240 seconds)
10:23:53  * weilujoined
10:24:11  * gnrlbzikjoined
10:24:40  * diogopontualquit (Quit: Saindo)
10:24:45  * rrrjoined
10:25:37  * bigxjoined
10:27:28  * mxbttyquit (Ping timeout: 245 seconds)
10:28:26  * weiluquit (Ping timeout: 245 seconds)
10:28:43  * gnrlbzikquit (Ping timeout: 245 seconds)
10:28:49  * nodweberquit (Remote host closed the connection)
10:30:05  * therealkoopajoined
10:30:32  * MLMquit (Quit: Connection closed for inactivity)
10:31:42  * AndrewCooper_joined
10:34:49  * TeddyMurrayjoined
10:35:30  * mmaleckijoined
10:35:31  * Marsupquit (Remote host closed the connection)
10:36:09  * YoYquit (Ping timeout: 276 seconds)
10:37:15  * therealkoopaquit (Ping timeout: 264 seconds)
10:37:26  * Sadalejoined
10:37:30  <Sadale>testing: http://google.com
10:37:43  * noobeejoined
10:37:57  * Sadalepart
10:37:58  * Marsupjoined
10:39:13  * xiinotulpquit (Ping timeout: 244 seconds)
10:39:33  * therealkoopajoined
10:40:34  * reposiegejoined
10:40:52  * jonaiasjoined
10:41:01  * geoffrey__joined
10:41:27  * geoffrey_quit (Ping timeout: 264 seconds)
10:41:45  * worm`joined
10:43:52  * therealkoopaquit (Ping timeout: 244 seconds)
10:43:55  * nodweberjoined
10:44:11  * PyHedgehogquit (Read error: Connection reset by peer)
10:44:16  * fruitsNveggiesjoined
10:45:25  * p15quit (Ping timeout: 244 seconds)
10:46:12  * kerspoonjoined
10:46:23  * mozinatorjoined
10:46:45  * densnowjoined
10:47:11  * TeddyMurrayquit (Ping timeout: 250 seconds)
10:47:26  * fl0wquit (Quit: fl0w)
10:48:13  * deciderjoined
10:48:29  * adrianlangjoined
10:50:01  <hover>whats a good practice for keeping your static JS files in a cdn somewhere?
10:50:45  * cj3kimjoined
10:50:59  * kerspoonquit (Ping timeout: 256 seconds)
10:51:49  * diegoaguilarjoined
10:52:16  * caitp-quit (Ping timeout: 265 seconds)
10:52:36  * deciderquit (Ping timeout: 245 seconds)
10:53:46  * ramprquit (Read error: Connection reset by peer)
10:53:57  * uber_hulkquit (Quit: Connection closed for inactivity)
10:54:13  * Hypfer_changed nick to Hypfer
10:54:15  * poikonjoined
10:54:27  * Hypferquit (Changing host)
10:54:27  * Hypferjoined
10:54:57  * tcurdtjoined
10:55:24  * binauralmanjoined
10:56:00  * ramprjoined
10:56:24  * everjejejoined
10:57:02  * gabrielstuffjoined
10:58:50  * diegoaguilarquit (Remote host closed the connection)
10:59:02  * cj3kimquit (Ping timeout: 245 seconds)
10:59:41  * binauralmanquit (Ping timeout: 245 seconds)
10:59:58  * tomnewmannquit (Remote host closed the connection)
11:01:04  * evotunedjoined
11:01:20  <tcurdt>I am a little baffled. I am just trying to write values to disk (with streams) https://gist.github.com/tcurdt/0a2c9107c2cc28ce6664 ...yet node is slowing down to almost halt
11:01:39  * therealkoopajoined
11:01:49  <tcurdt>nothing is flushed to the disk ... and it feels like there is memory pressure
11:01:55  * jasonkuhrt___joined
11:02:10  <tcurdt>but from that simple code? at least I don't see the problem
11:03:35  * limpepjoined
11:04:43  * FernandoBassojoined
11:05:00  * poikonquit (Remote host closed the connection)
11:05:49  * evotunedquit (Ping timeout: 264 seconds)
11:06:15  * jasonkuhrt___quit (Ping timeout: 250 seconds)
11:09:39  * towski_joined
11:10:17  * XemsDoomquit (Ping timeout: 245 seconds)
11:10:17  * mrbitsandbytesquit (Ping timeout: 245 seconds)
11:11:12  * mrbitsandbytesjoined
11:11:27  * densnowquit (Ping timeout: 250 seconds)
11:11:35  * therealkoopaquit (Ping timeout: 250 seconds)
11:12:35  * XemsDoom|Awayjoined
11:12:56  * nodekid_quit (Ping timeout: 272 seconds)
11:12:59  * XemsDoom|Awaychanged nick to XemsDoom
11:14:18  * towski_quit (Ping timeout: 252 seconds)
11:14:53  * TheAceOfHeartsquit (Quit: Leaving.)
11:15:17  * edoardojoined
11:15:40  * edoardochanged nick to Guest90997
11:16:17  * felixgejoined
11:16:17  * felixgequit (Changing host)
11:16:17  * felixgejoined
11:17:13  * pimlujoined
11:17:24  * renloquit (Ping timeout: 265 seconds)
11:17:28  * YoYjoined
11:18:40  * therealkoopajoined
11:19:02  * chesterjoined
11:19:15  * sidthekid_quit (Ping timeout: 264 seconds)
11:19:51  * sidthekidquit (Ping timeout: 264 seconds)
11:20:33  * thealphanerdquit (Quit: thealphanerd)
11:20:35  * sidthekidjoined
11:20:49  * aj701joined
11:20:58  * thealphanerdjoined
11:21:11  * sidthekid_joined
11:21:24  * thealphanerdquit (Client Quit)
11:21:24  * gabrielstuffquit (Quit: Be back later ...)
11:21:26  * tambaquijoined
11:21:35  * pimluquit (Ping timeout: 256 seconds)
11:21:52  * chrisdotcodequit (Ping timeout: 255 seconds)
11:21:56  * thealphanerdjoined
11:22:15  * tambaquiquit (Client Quit)
11:22:20  * thealphanerdquit (Client Quit)
11:23:06  * therealkoopaquit (Ping timeout: 252 seconds)
11:23:24  * xk_idjoined
11:23:46  <joepie91__>hover: warning: requestb.in (and anything operated by runscope, really) is amazingly buggy
11:24:04  <hover>joepie91__ thanks for the heads up
11:24:37  * weilujoined
11:24:50  <joepie91__>hover: the main runscope is the least buggy (it doesn't randomly 'lose' requests at high concurrency like requestb.in does), but to check whether multipart + chunked worked for example I had to use telnet
11:24:53  * Guest90997quit (Ping timeout: 250 seconds)
11:24:56  * gnrlbzikjoined
11:25:04  <joepie91__>was a massive pain writing bhttp... :(
11:25:14  * aj701quit (Ping timeout: 245 seconds)
11:25:19  * gabrielstuffjoined
11:25:21  <joepie91__>er, sorry, not telnet
11:25:23  <joepie91__>nc
11:25:49  * rileyjsh_quit (Quit: Textual IRC Client: www.textualapp.com)
11:26:02  <hover>my brain is fried
11:26:18  * therealkoopajoined
11:26:18  <hover>how do I print out whatever is in this:
11:26:18  <hover>var client = zendesk.createClient({
11:26:18  <hover> username: zd.username,
11:26:18  <hover> token: zd.token,
11:26:18  <hover> remoteUri: 'https://'+zd.subdomain+'.zendesk.com/api/v2',
11:26:19  <hover> oauth: false
11:26:19  <hover>});
11:26:19  * plutoniixjoined
11:26:31  * danjenkinsjoined
11:26:32  <hover>I am starting to hate IRCCloud
11:26:35  * jadnejoined
11:27:12  * rouncejoined
11:28:17  * xk_idquit (Ping timeout: 264 seconds)
11:29:03  * TheEddyFerreirajoined
11:29:03  * cersjoined
11:29:13  * weiluquit (Ping timeout: 250 seconds)
11:29:58  * gnrlbzikquit (Ping timeout: 245 seconds)
11:29:59  * karlmikk_joined
11:30:48  * wwwsevolodjoined
11:30:53  * therealkoopaquit (Ping timeout: 244 seconds)
11:31:37  * danjenkinsquit (Ping timeout: 264 seconds)
11:31:53  * jadnequit (Ping timeout: 264 seconds)
11:32:23  * hgljoined
11:32:44  * karlmikkoquit (Ping timeout: 245 seconds)
11:33:02  * tcurdtquit (Quit: Textual IRC Client: www.textualapp.com)
11:33:15  * Zentdaynjoined
11:34:05  * sebllll_joined
11:35:16  * leichtgewichtjoined
11:35:27  * reality_changed nick to reality
11:36:07  * vagueBrotherquit (Quit: vagueBrother)
11:36:48  * sebllllquit (Ping timeout: 246 seconds)
11:39:13  <hover>joepie91__ can you please help me figure this out? https://www.runscope.com/public/3c1cc2a0-471e-477f-9393-debb4b882dba/86d0049d-31dd-4f3e-a6d7-09e0264fd53f
11:39:45  * EvRide1joined
11:40:02  <hover>deltab: I still cant figure it out
11:40:39  * manuelbieh_joined
11:40:48  * Sendoushijoined
11:41:13  * olsoquit (Quit: Leaving)
11:41:13  * bodislwjoined
11:41:27  <joepie91__>hover: you're probably sending it syntactically invalid JSON
11:41:31  * darius93quit (Ping timeout: 264 seconds)
11:41:31  * EvRidequit (Ping timeout: 264 seconds)
11:42:01  <hover>The same JSON that is in Runscope
11:42:09  * dirgeable723joined
11:42:12  <hover>I copy it, paste it into POSTMAN. Push into local and it works
11:42:15  * doctormpart
11:42:25  <hover>POST the same thing to the remote endpoint and it works.
11:42:29  * encod3joined
11:42:39  * dirgeable_quit (Read error: Connection reset by peer)
11:42:41  * adrianlangquit (Ping timeout: 264 seconds)
11:43:09  * przemoc86changed nick to przemoc
11:43:11  <joepie91__>hover: let me finish my food and have a look
11:43:12  <hover>wow I think I found my error
11:43:14  <Sendoushi>hey guys. i'm trying to make a server to use with backbone it works when i do localhost:8000, it works when i do localhost:8000/whatever but when i do localhost:8000/whatever/something all the routes for all the files change to http://localhost:8000/whatever/name_of_file when they should be http://localhost:8000/name_of_file. Here is the code: http://pastebin.com/YUM3Kuhp
11:43:17  * Corkquit (Ping timeout: 264 seconds)
11:43:18  * njbairquit (Ping timeout: 264 seconds)
11:43:23  <hover>I was posting as mandrill_event
11:43:28  * nfroidurequit (Ping timeout: 255 seconds)
11:43:29  <hover>mandril posts it as mandrill_events
11:43:53  * bodisjwquit (Ping timeout: 264 seconds)
11:44:10  * gfmsjoined
11:44:13  * darius93joined
11:44:25  * Shadda_quit (Quit: ZNC - http://znc.in)
11:44:34  * hemanthjoined
11:44:43  * mrdmi_joined
11:44:53  * jarcosmonautjoined
11:45:00  * gfmsquit (Client Quit)
11:45:02  <deltab>hover: see, a difference
11:45:11  <joepie91__>hover: if that's the case, there's a problem with your error reporting ;)
11:45:19  <hover>deltab: I can't believe I missed this
11:45:48  * koldirgquit (Ping timeout: 264 seconds)
11:45:58  <deltab>did you try outputting the value you were giving to the parser?
11:46:10  * Spr0cket-joined
11:46:17  * dragsquit (Ping timeout: 264 seconds)
11:46:20  * momoterrjoined
11:46:23  <deltab>that should've indicated that you didn't have the value you thought you had
11:46:37  * njbairjoined
11:46:53  * s_equit (Ping timeout: 264 seconds)
11:46:57  * RandyTquit (Ping timeout: 264 seconds)
11:46:57  * mjpearsonjoined
11:46:59  * Lcfvsquit (Quit: Page closed)
11:47:22  * RandyTjoined
11:47:29  * rigor789quit (Ping timeout: 264 seconds)
11:47:29  * medusa-quit (Ping timeout: 264 seconds)
11:47:31  * fatalhaltquit (Read error: Connection reset by peer)
11:47:33  * Maxels_joined
11:48:05  * rigor789joined
11:48:15  * codelahomaquit (Ping timeout: 264 seconds)
11:48:15  * ValicekBquit (Ping timeout: 264 seconds)
11:48:21  * Spr0cketquit (Ping timeout: 264 seconds)
11:48:22  * Spr0cket-changed nick to Spr0cket
11:48:27  * crewshinquit (Excess Flood)
11:48:37  * XemsDoomquit (Ping timeout: 245 seconds)
11:48:40  * caitp-joined
11:48:41  * mrdmiquit (Ping timeout: 264 seconds)
11:48:47  * hglquit (Ping timeout: 256 seconds)
11:48:51  * koldirgjoined
11:49:02  * mrbitsandbytesquit (Ping timeout: 245 seconds)
11:49:07  * codelahomajoined
11:49:08  * therealkoopajoined
11:49:17  * momoxquit (Ping timeout: 264 seconds)
11:49:17  * Maxelsquit (Ping timeout: 264 seconds)
11:49:18  * saint-ronquit (Read error: Connection reset by peer)
11:49:22  * rons_joined
11:49:28  * s_ejoined
11:49:37  * medusajoined
11:49:52  * tvwquit (Ping timeout: 245 seconds)
11:49:53  * chielquit (Ping timeout: 264 seconds)
11:49:54  * hgljoined
11:50:29  * chieljoined
11:50:31  * hubert_quit (Quit: hubert_)
11:51:09  * rymate12-changed nick to rymate1234
11:51:16  * marienzjoined
11:51:24  * XemsDoom|Awayjoined
11:51:39  * mjpearsonquit (Ping timeout: 264 seconds)
11:51:42  * porrijoined
11:51:42  * mrbitsandbytesjoined
11:51:47  * XemsDoom|Awaychanged nick to XemsDoom
11:52:15  * basicdaysquit (Ping timeout: 264 seconds)
11:52:45  <hover>yea I was able to output it
11:53:07  * DerisiveLogic_quit (Remote host closed the connection)
11:53:10  * caitp-quit (Ping timeout: 252 seconds)
11:53:12  <hover>the problem was that I was using mandrill_event on Postman, but mandrill was using mandrill_events
11:53:20  * DerisiveLogicjoined
11:53:24  * Corkjoined
11:53:30  * adrianlangjoined
11:53:37  * therealkoopaquit (Ping timeout: 244 seconds)
11:53:47  <hover>POST from local would work, POST from mandrill wouldn't
11:54:00  <hover>I was hellbent on thinking they were sending the POST as raw, or something.
11:54:12  * FooMunkijoined
11:54:20  * hemanthquit (Quit: This computer has gone to sleep)
11:55:27  * Miaquit (Read error: Connection reset by peer)
11:55:33  * sgl-joined
11:55:38  * Miajoined
11:55:38  * Miaquit (Changing host)
11:55:38  * Miajoined
11:55:44  * felixgequit (Remote host closed the connection)
11:56:01  * ValicekBjoined
11:56:12  * sidthekid_quit (Ping timeout: 244 seconds)
11:56:12  * sidthekidquit (Ping timeout: 244 seconds)
11:58:41  * VictorCLquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
11:58:52  * Nikeshjoined
11:58:58  * Alina-malinaquit (Ping timeout: 265 seconds)
11:59:27  * felixge_joined
11:59:27  * sglquit (Ping timeout: 264 seconds)
11:59:37  * PaulCape_changed nick to PaulCapestany
11:59:39  * VictorCLjoined
11:59:51  * Alina-malinajoined
12:00:03  <joepie91__>hover: tunnel vision :)
12:00:29  * Zentdaynquit (Quit: Zentdayn)
12:00:37  * Corkquit (Quit: .)
12:00:46  * Gwl-changed nick to Gwl
12:00:48  * hemanthjoined
12:01:28  * Stalkr_quit (Quit: Leaving...)
12:02:04  * rhyselsmorequit (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:02:45  * jasonkuhrt___joined
12:03:54  * Peder_quit (Remote host closed the connection)
12:04:19  * gabrielstuffquit (Quit: Be back later ...)
12:04:38  * VictorCLquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
12:04:42  * platonicjoined
12:05:23  * Nikeshquit (Ping timeout: 240 seconds)
12:05:52  * tkuchikiquit (Remote host closed the connection)
12:06:22  * Musokjoined
12:06:38  * craftbynickjoined
12:07:03  * jasonkuhrt___quit (Ping timeout: 245 seconds)
12:07:04  * therealkoopajoined
12:08:13  * xk_idjoined
12:08:38  * Sendoushiquit (Ping timeout: 265 seconds)
12:09:18  * platonicquit (Ping timeout: 252 seconds)
12:09:21  * bigxquit (Quit: Quitte)
12:09:44  * ramprquit (Remote host closed the connection)
12:09:52  * hemanthquit (Ping timeout: 240 seconds)
12:09:56  * Musokquit (Client Quit)
12:09:59  * bigxjoined
12:11:04  * vampi-the-frogjoined
12:11:12  * mxbttyjoined
12:11:17  * binauralmanjoined
12:11:18  * DadoCejoined
12:12:25  * BigBangUDRjoined
12:12:53  * timasche_joined
12:13:40  * m4rkh3r4m15joined
12:13:51  * therealkoopaquit (Ping timeout: 250 seconds)
12:14:10  * maximskijoined
12:14:21  * Argue__joined
12:14:57  * therealkoopajoined
12:15:22  * maximskiquit (Max SendQ exceeded)
12:15:25  * denysoniquequit (Ping timeout: 256 seconds)
12:15:48  * mxbttyquit (Ping timeout: 245 seconds)
12:15:54  * DadoCequit (Ping timeout: 252 seconds)
12:16:04  * maximskijoined
12:16:22  * binauralmanquit (Ping timeout: 265 seconds)
12:17:13  * Argue_quit (Ping timeout: 255 seconds)
12:17:55  * uber_hulkjoined
12:18:20  * DrMabusequit (Remote host closed the connection)
12:19:02  * Corkjoined
12:19:47  * elichai2quit (Changing host)
12:19:47  * elichai2joined
12:19:53  * rouncequit (Quit: Leaving.)
12:20:29  * nodweberquit (Remote host closed the connection)
12:20:46  * collypopsjoined
12:20:52  * m4rkh3r4m15quit (Quit: Leaving)
12:20:56  * m4rkh3r4m15_joined
12:22:23  * jarrod__quit (Remote host closed the connection)
12:22:57  * therealkoopaquit (Ping timeout: 250 seconds)
12:23:32  * BigBangUDRquit (Remote host closed the connection)
12:24:18  * denysoniquejoined
12:24:18  * denysoniquequit (Changing host)
12:24:18  * denysoniquejoined
12:25:16  * RLajoined
12:25:21  * weilujoined
12:25:37  * tomnewmannjoined
12:25:50  * jadnejoined
12:26:09  * p15joined
12:26:49  * fixlquit (Remote host closed the connection)
12:27:57  * Zentdaynjoined
12:28:32  * cagedwisdomquit (Remote host closed the connection)
12:29:01  * edoardojoined
12:29:01  * rouncejoined
12:29:26  * edoardochanged nick to Guest11467
12:30:03  * weiluquit (Ping timeout: 264 seconds)
12:30:27  * tomnewmannquit (Ping timeout: 250 seconds)
12:30:39  * jadnequit (Ping timeout: 245 seconds)
12:31:51  * qdkquit (Ping timeout: 276 seconds)
12:32:46  * corpixjoined
12:32:52  * nodweberjoined
12:33:09  * puppetmonkeyjoined
12:35:39  * kerspoonjoined
12:35:50  * nicolagrecojoined
12:35:53  * gabrielstuffjoined
12:37:01  * Zolmeister_quit (Ping timeout: 244 seconds)
12:37:18  * manuelbieh_quit (Read error: Connection reset by peer)
12:37:41  * shime_joined
12:38:19  * goodenoughquit (Remote host closed the connection)
12:38:34  * Jirachierquit (Ping timeout: 244 seconds)
12:38:56  * Jirachierjoined
12:39:10  <raibutera>anyone got any tips for planning their app's data model?
12:39:24  * Corkquit (Quit: .)
12:39:29  * Bwildjoined
12:39:33  * Janaka-Stephquit (Read error: No route to host)
12:39:41  * corpixquit (Ping timeout: 245 seconds)
12:39:47  * kerspoonquit (Ping timeout: 246 seconds)
12:39:59  * zaaljoined
12:40:08  * KicStartjoined
12:40:28  * mozinatorquit (Ping timeout: 252 seconds)
12:40:31  * turtlehatjoined
12:41:30  * felixge_quit (Remote host closed the connection)
12:41:31  * hswolffquit (Ping timeout: 255 seconds)
12:42:47  * tripujoined
12:43:12  * hswolffjoined
12:43:57  * felixgejoined
12:43:57  * felixgequit (Changing host)
12:43:57  * felixgejoined
12:44:00  * zaalquit (Client Quit)
12:44:14  * Maxelsjoined
12:44:45  * Bwildquit (Quit: leaving)
12:45:22  * Maxels_quit (Read error: Connection reset by peer)
12:45:23  * uber_hulkquit (Ping timeout: 252 seconds)
12:45:31  * jesusprubiojoined
12:46:50  * jadnejoined
12:46:54  * Janaka-Stephjoined
12:46:55  * shime_quit (Read error: Connection reset by peer)
12:46:55  * yosuke_furukawaquit (Remote host closed the connection)
12:46:55  * uber_hulkjoined
12:46:57  * shimequit (Read error: Connection reset by peer)
12:47:49  * Guest11467quit (Ping timeout: 255 seconds)
12:47:57  * pimlujoined
12:48:26  * hemanthjoined
12:49:45  * evotunedjoined
12:50:19  * shimejoined
12:52:10  * spatialbrewjoined
12:52:19  * pimluquit (Ping timeout: 255 seconds)
12:52:22  * corpixjoined
12:52:24  * spatialbrewquit (Remote host closed the connection)
12:53:23  * IvailoStoianovjoined
12:53:42  * zaaljoined
12:54:39  * evotunedquit (Ping timeout: 264 seconds)
12:55:18  * Janaka-Stephquit (Quit: My Mac Pro has gone to sleep. ZZZzzz…)
12:56:30  * caitp-joined
12:56:51  * Avihay_workjoined
12:59:12  * playjaxjoined
12:59:22  * leichtgewichtquit (Remote host closed the connection)
13:01:15  * leichtgewichtjoined
13:01:19  * caitp-quit (Ping timeout: 255 seconds)
13:02:13  * artemmquit (Ping timeout: 264 seconds)
13:02:33  * john___joined
13:03:11  <john___>http://pastebin.com/ZFp88yBH getting error in this Error: You are trying to attach socket.io to an express request handler function . Please pass a http.Server instance.
13:03:25  * jasonkuhrt___joined
13:03:39  * mezodjoined
13:03:45  * mozinatorjoined
13:03:51  * rouncequit (Quit: Leaving.)
13:04:32  * c00ljs_joined
13:04:33  * Geertje123joined
13:05:06  <Rase->john___: http://socket.io/docs/#using-with-express-3/4
13:05:39  <john___>Rase: i am following that only but still having error
13:05:42  * nodekidjoined
13:05:47  <john___>check the pastebin
13:07:10  <Rase->john___: line 7 should be after line 10
13:07:53  * jasonkuhrt___quit (Ping timeout: 245 seconds)
13:08:09  * c00ljsquit (Ping timeout: 245 seconds)
13:08:09  <john___>Rase : thanks,can you explain a bit
13:08:12  <stride>and the io.listen is unnecessary i believe
13:08:17  <john___>scratching my head so long on this
13:08:27  <Rase->stride: aye
13:08:46  <Rase->john___: the server variable isn't defined yet where you used it before
13:08:53  <Rase->the error message is slightly misleading though
13:09:32  <john___>Rase: got it,
13:09:50  <Rase->john___: are you on the socket.io Slack organization?
13:10:12  <Rase->that's usually the best place to ask if something is unclear :)
13:10:16  <john___>Rase : no, means didnt get u properly
13:10:43  <Rase->john___: http://socket.io/slack/
13:11:31  <john___>No Rase
13:11:33  * yvemathjoined
13:11:39  <Rase->there's more people active there than here, whichis why I was suggesting that
13:11:48  * wwwsevolodquit (Quit: Textual IRC Client: www.textualapp.com)
13:11:53  <Rase->john___: no what?
13:12:55  <john___>Rase: very few persons are available there, and mostly the concern i am having with node.js,express.js? So i asked here. And well thanks for sharing the wonderful community to me
13:12:56  * julienrbtjoined
13:14:01  * gnrlbzikjoined
13:14:10  * Sendoushijoined
13:14:22  * TinkerTyperquit (Ping timeout: 255 seconds)
13:14:41  * qdkjoined
13:14:47  <Rase->john___: it's pretty active usually. you should give it another try if you have something concerning socket.io :)
13:15:11  <john___>Rase: Surely will Rase
13:16:36  <Rase->john___: by active I meant regarding socket.io specifically
13:16:36  * nicolagrecoquit (Quit: nicolagreco)
13:16:54  * Janaka-Stephjoined
13:16:55  <Rase->btw
13:17:20  * tkuchikijoined
13:17:34  <john___>Rase: I got you ,and there is also for express.js
13:17:58  * juicestajoined
13:18:04  <Rase->(y)
13:18:18  * gnrlbzikquit (Ping timeout: 245 seconds)
13:19:42  * jonasliljestrandjoined
13:19:51  * ProLoserquit (Remote host closed the connection)
13:20:17  * Zentdaynquit (Quit: Zentdayn)
13:20:27  * platonicjoined
13:21:34  <juicesta>are there any plans to port node to mobile techs? if there are any, could someone post a link pointing to it? thanks
13:21:47  * lamasnikquit (Quit: WeeChat 0.4.3)
13:22:20  * cotkojoined
13:22:23  <john___>Rase : app.set('view engine', 'jade'); this cant be used like in the code which i did
13:22:25  <GreenJello>juicesta, port node to smartphones?
13:22:34  * edoardojoined
13:22:58  * edoardochanged nick to Guest54377
13:23:05  <juicesta>yes greenjello
13:23:12  <juicesta>like on android or iOs
13:23:29  * mozinatorquit (Remote host closed the connection)
13:23:44  <GreenJello>android and iOS already have JavaScript available, it's just not through node
13:23:45  * c00ljs_quit (Remote host closed the connection)
13:23:55  * rrrquit (Max SendQ exceeded)
13:24:04  * TinkerTyperjoined
13:24:15  * arjunmehtajoined
13:24:16  <juicesta>yes thats what i was thinking, if node could be ported to them, it could be really powerful, owing to the fact that both run on single threads
13:24:20  * Swizecquit (Quit: Leaving...)
13:24:28  * ideeajoined
13:24:44  <GreenJello>there's not really a point of porting node, other than commonjs modules which you can get via browserify
13:24:56  * platonicquit (Ping timeout: 246 seconds)
13:25:06  <SpiceMan>juicesta: you want to put servers on things that have only a couple hours of battery?
13:25:11  <juicesta>ill have to check browserify, thanks
13:25:15  <Rase->john___: do you get some error from using that? do you have jade in dependencies?
13:25:30  <GreenJello>it also doesn't interop with the existing systems or have bindings in java or objc, and mobile applications use multiple threads, as does node.js
13:25:46  <juicesta>lol spieceman, not just on cell phones running on batteries, but maybe tablets, that could be used as central servers in outdoor tasks
13:25:48  <john___>Rase : i am using jade as templating engine ,and it throws me error
13:25:49  <brucem>apparently 6to5 isn't happy about 4M JS files.
13:25:57  <Rase->john___: can you paste the error?
13:26:06  <brucem>(that is, JS files that are 4M in size, not having 4 million JS files)
13:26:08  <GreenJello>haha brucem it does have perf problems
13:26:08  * weilujoined
13:26:15  <john___> app.set('view engine', jade); // uses JADE templating engine ^ yntaxError: Unexpected token .
13:26:18  <GreenJello>but that's a teeny bit insane
13:26:47  <brucem>GreenJello: nah ... I'm writing a compiler backend for something else that outputs JS (instead of C or LLVM IR) ... I have it generating ES6 stuff for now.
13:26:56  <SpiceMan>juicesta: a minipc would be cheaper and more powerful
13:27:04  * binauralmanjoined
13:27:06  <raibutera>anyone got any tips for planning their app's data model?
13:27:08  <brucem>GreenJello: I haven't put any effort into minimizing what's generated yet.
13:27:38  <GreenJello>ah okay
13:27:39  <juicesta>but mini pcs dont run on batteries, isnt it?
13:27:50  <Rase->john___: is the pastebin link outdated by now?
13:28:06  <Rase->if it is, could you post a new one?
13:28:51  <john___>Rase: http://pastebin.com/2N8SAFBV
13:28:59  * collypopsquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
13:28:59  * OliPicardjoined
13:29:13  * DrMabusejoined
13:29:50  <OliPicard>Hello everyone, I have some problems setting up a Nginx proxy for Node.js. My server refuses to bind to port 443. did a kill all command and started the instance up fresh. Still persisting issues. Also noticed an upstream proxy issue.
13:30:12  <OliPicard>Everything works fine on port 80 just if i switch over to port 443 things start to break.
13:30:20  * playjaxquit (Ping timeout: 252 seconds)
13:30:47  <SpiceMan>juicesta: there are models with batteries, yes
13:31:06  <juicesta>ill have to look into that, thanks spiceman
13:31:17  * weiluquit (Ping timeout: 264 seconds)
13:31:21  * turtlehatquit (Ping timeout: 256 seconds)
13:31:22  * corpixquit (Quit: Leaving)
13:31:28  <Rase->john___: line 11, replace the , with ;
13:31:33  * Swizecjoined
13:31:43  * omequit (Quit: Connection closed for inactivity)
13:31:53  * binauralmanquit (Ping timeout: 264 seconds)
13:31:58  <Rase->john___: it's expecting more variable declaratinos after a ,
13:32:05  <Rase->which is why you get a syntax error
13:32:07  <john___>Rase: Cool
13:32:09  * BigBangUDRjoined
13:32:24  * juicestaquit (Quit: Page closed)
13:32:42  * BigBangUDRquit (Client Quit)
13:32:51  * sshcontroljoined
13:32:56  <sshcontrol>hi
13:33:17  <sshcontrol>very useful for the sysadmins: http://sshcontrol.me/
13:33:25  <john___>Rase : check line 45 ,it is correct ? i am getting error for that also ^ Error: You are trying to attach socket.io to an express request handler function . Please pass a http.Server instance.
13:33:37  * gabrielstuffquit (Quit: Be back later ...)
13:33:39  * gfmsjoined
13:33:42  * DrMabusequit (Ping timeout: 265 seconds)
13:33:44  <joepie91__>sshcontrol: you've been banned for that before
13:33:50  <joepie91__>stop spamming here
13:33:51  * VictorCLjoined
13:34:06  * gurke_joined
13:34:12  * joepie91__pages emilyrose
13:34:15  <sshcontrol>ups
13:34:22  <joepie91__>(I think)
13:34:22  <sshcontrol>not spam, really useful :)
13:34:27  * gfmsquit (Client Quit)
13:34:33  <joepie91__>sshcontrol: it's spam.
13:34:44  <john___>Rase: i tried with server as well as app.listen but getting the same error
13:35:15  <sshcontrol>joepie91__: ok ..
13:35:53  * adrianlangquit (Ping timeout: 256 seconds)
13:36:37  * scljoined
13:37:05  * collypopsjoined
13:37:36  <Rase->john___: remove the io.listen thing
13:37:37  * jesusprubioquit (Ping timeout: 250 seconds)
13:37:45  <Rase->line 48
13:37:47  * _mrb_joined
13:37:51  * dcct_part
13:37:55  * turtlehatjoined
13:37:55  * roddy_joined
13:38:04  <Rase->you can just use io directly, now that you attached an http server and already called listen on it
13:38:21  <Rase->there are some other syntax errors in the pastebin, but I assume you fixed them already
13:39:02  * formaggiojoined
13:39:11  * Corkjoined
13:39:11  * Corkquit (Changing host)
13:39:11  * Corkjoined
13:39:13  <formaggio>Hi everyone
13:39:18  * roddy_quit (Remote host closed the connection)
13:39:33  * sshcontrolquit (Quit: http://sshcontrol.me)
13:40:03  * Acidnerdjoined
13:40:20  <Rase->john___: so basically replacing the `socket` variable's use with the io variable should do it after you remove the line
13:40:23  <formaggio>I've got a bit of a problem in waiting for a function to complete before continuing execution (async -> sync), anybody willing to help a beginner out? :)
13:40:51  * Lunchy_quit (Ping timeout: 264 seconds)
13:41:09  <GreenJello>formaggio, you can't wait, but your function can take a callback, and call that in the other callback
13:41:09  <Rase->formaggio: hmm, do you have a pastebin of the code?
13:41:14  <john___>Rase: yeah i got it ,i already have http server and i am listening on that
13:41:35  <Rase->john___: cool, so it's launching great now?
13:41:46  <GreenJello>function foo(cb){ asyncThing(function(err, data){ cb(err, data) }) }
13:42:04  <john___>Rase: yes,but alot of errors now to configure
13:42:10  <GreenJello>instead of function foo(){ return asyncThing(); } (which won't work)
13:42:22  * balr0gjoined
13:42:39  <Rase->john___: :)
13:42:58  * TeddyMurrayjoined
13:43:16  * Lunchyjoined
13:43:20  * densnowjoined
13:43:55  <formaggio>GreenJello, Rase-, http://pastebin.com/HM3me7PH
13:44:06  * BigBangUDRjoined
13:44:26  * ahtikjoined
13:44:35  * jypiequit (Quit: Textual IRC Client: www.textualapp.com)
13:44:45  <formaggio>I get "undefined" logged, i suppose it's because the file parsing isn't complete
13:46:07  <Rase->formaggio: you'll need to provide the callback to the end of the pipe
13:46:17  * hemanthquit (Ping timeout: 264 seconds)
13:46:22  <Rase->formaggio: see http://stackoverflow.com/questions/11447872/callback-to-handle-completion-of-pipe
13:47:02  <formaggio>Rase-, thanks, I'm trying that now!
13:47:27  * TeddyMurrayquit (Ping timeout: 264 seconds)
13:48:04  * jasonkuhrt___joined
13:48:17  * mjpearsonjoined
13:48:26  * jasonkuhrt___quit (Client Quit)
13:48:32  * rouncejoined
13:48:55  <_mrb_>Hi. I just migrated to Express v4 and am using the "usual" middleware. However, calls to my API end up timing out and produce the error message seen at http://pastebin.com/j78D64N3 . The Node server is proxied by Nginx with HTTPS-enabled, "trust proxy" is enabled for Express, and logging req.secure results in "true".
13:49:02  * jasonkuhrt___joined
13:49:15  <_mrb_>So... I'm unclear why Express is essentially saying it can't find the connection/detect the protocol. Thoughts? (I asked in #express but no one seems to be around.)
13:50:11  * Stalkr_joined
13:50:26  * rj1joined
13:50:47  * cakirkejoined
13:52:13  * p15quit (Ping timeout: 250 seconds)
13:52:29  <GreenJello>_mrb_, try removing newrelic
13:52:41  * redtankjoined
13:52:41  * SchmoDroidjoined
13:53:12  * reposiegequit (Remote host closed the connection)
13:53:13  * mjpearsonquit (Ping timeout: 264 seconds)
13:53:27  * jasonkuhrt___quit (Ping timeout: 256 seconds)
13:53:41  <formaggio>Rase-, thanks for the help, now everything works as expected - side note: the 'end' event has to be 'finish' instead, right?
13:54:09  * chriskonings_joined
13:54:32  * kakashiALjoined
13:54:40  * m00nthugjoined
13:54:49  * FooMunkiquit (Quit: FooMunki)
13:54:51  <Rase->formaggio: aye, good catch
13:57:13  <_mrb_>GreenJello: Did that previously, but will try again. Brb...
13:57:22  * SchmoDroidquit (Ping timeout: 240 seconds)
13:57:52  * ev____joined
13:59:54  * mxbttyjoined
13:59:59  * SoulBladejoined
14:00:39  * Guest54377quit (Ping timeout: 264 seconds)
14:01:17  * Sebmasterjoined
14:01:51  * therealkoopajoined
14:01:58  * zeRezjoined
14:02:22  * m00nthugquit (Quit: My Mac has gone to sleep. ZZZzzz…)
14:02:53  * ekmartinquit (Quit: WeeChat 1.1-dev)
14:03:19  <_mrb_>GreenJello: Good call. I removed it and it led me to a problem in my migration of Express Validator. Why do you think the NR module "obscured" the real issue, etc?
14:03:21  * ekmartinjoined
14:03:39  * Stalkr_quit (Quit: Leaving...)
14:04:19  <GreenJello>"This package **instruments** your application"
14:04:24  * mxbttyquit (Ping timeout: 245 seconds)
14:04:31  <GreenJello>this usually means it's rewriting code, so all bets are off
14:04:59  <_mrb_>GreenJello: I never thought of it that way. Point noted... Thanks again!
14:05:28  * ekmartinquit (Changing host)
14:05:28  * ekmartinjoined
14:05:58  <GreenJello>that's what instrumentation means in programming in general (e.g. for test code coverage analysis), but they could be using it differently, I haven't heard of newrelic before now
14:07:03  * therealkoopaquit (Ping timeout: 265 seconds)
14:07:14  <joepie91__>newrelic is pretty cool, but wayyyyyy too expensive for me
14:07:40  * dustinm`changed nick to dustinm
14:08:50  * hglquit (Ping timeout: 252 seconds)
14:09:06  * Ezkujoined
14:09:38  * plnkrjoined
14:10:23  * TakumoKatekarichanged nick to Takumo
14:10:35  * hgljoined
14:10:38  * SchmoDroidjoined
14:10:58  * jarrod_joined
14:11:06  * yosuke_furukawajoined
14:11:47  * plnkrquit (Client Quit)
14:11:58  * satazor_joined
14:12:14  * chriskonings__joined
14:12:19  * javascripterjoined
14:12:26  * FernandoBassoquit (Quit: leaving)
14:13:06  * p15joined
14:13:21  * zeRezquit (Quit: Leaving)
14:13:54  * redtankquit (Quit: Leaving...)
14:15:37  <_mrb_>GreenJello, joepie91__: NR is great. They give a full-featured trial for two weeks and then you have a limited version that retains like 24h of data. But, yes, its expensive.
14:15:41  * chriskonings_quit (Ping timeout: 264 seconds)
14:15:42  * jarrod_quit (Ping timeout: 245 seconds)
14:15:43  * binauralmanjoined
14:15:45  * zzzbrajoined
14:16:11  * dsdeizjoined
14:16:31  * BigBangUDRquit (Quit: BigBangUDR)
14:16:43  * littlebearzjoined
14:16:59  * therealkoopajoined
14:17:32  * Zentdaynjoined
14:18:33  * brhuejoined
14:19:47  * wizonesolutionschanged nick to crickets
14:19:52  * cricketschanged nick to wizonesolutions
14:20:04  * littlebe1rzquit (Ping timeout: 255 seconds)
14:20:18  * TyrfingMjolnirjoined
14:20:36  * turtlehatquit
14:20:55  * tkuchikiquit (Remote host closed the connection)
14:21:04  * de_henne_quit (Read error: Connection reset by peer)
14:21:17  * SoulBladequit (Remote host closed the connection)
14:21:28  * lsiv568joined
14:21:35  * de_hennejoined
14:22:30  * Venemoquit (Quit: Communi 3.4.0 - http://communi.github.com)
14:22:52  * therealkoopaquit (Ping timeout: 240 seconds)
14:25:17  * p15quit (Ping timeout: 245 seconds)
14:26:54  * weilujoined
14:27:28  * denysoniquequit (Ping timeout: 245 seconds)
14:29:58  * binauralmanquit (Ping timeout: 245 seconds)
14:31:11  * awkwardusernamejoined
14:31:13  * awkwardusernamequit (Max SendQ exceeded)
14:31:40  * TKHjoined
14:31:42  * weiluquit (Ping timeout: 265 seconds)
14:32:07  * _mrb_quit (Quit: Page closed)
14:32:13  * Markjoined
14:32:22  * ev____quit (Ping timeout: 240 seconds)
14:32:37  * Markchanged nick to Guest60756
14:34:36  * AciD```joined
14:34:54  * lsiv568quit (Remote host closed the connection)
14:35:16  * OliPicardquit (Quit: Page closed)
14:35:24  * denysoniquejoined
14:35:24  * denysoniquequit (Changing host)
14:35:24  * denysoniquejoined
14:36:17  * delightjoined
14:36:34  <john___>Rase: are you there? one question
14:37:02  <Rase->john___: yup
14:37:39  * hoverquit (Quit: Connection closed for inactivity)
14:37:50  * rrrjoined
14:37:52  * __main__joined
14:37:57  * Artpicrequit (Ping timeout: 276 seconds)
14:37:59  <john___>Rase: now all are working fine.but the problem i am getting is i am unable to load the index.html file from public folder as index.jade is also there from view folder
14:38:16  <john___>can i share the path which i am working now on dir
14:38:29  * dsdeizquit (Changing host)
14:38:29  * dsdeizjoined
14:38:33  * evotunedjoined
14:38:49  * Sendoushiquit
14:39:17  <Rase->john___: can you post the latest pastebin?
14:39:33  * therealkoopajoined
14:39:36  <john___>Rase: i am working on this https://github.com/amigame/rumpetnode