00:00:01  * ircretaryquit (Remote host closed the connection)
00:00:09  * ircretaryjoined
00:00:30  * bic2kjoined
00:01:15  * CIDICquit (Quit: CIDIC)
00:01:22  * phishinquit (Ping timeout: 246 seconds)
00:01:37  * sweberquit (Remote host closed the connection)
00:01:45  * chenghizquit (Quit: Leaving.)
00:01:46  * carlosrodriguezquit (Ping timeout: 264 seconds)
00:01:52  * kevinswiberjoined
00:02:12  * andrehjrquit (Quit: Computer has gone to sleep.)
00:02:14  * dmitriiabramovquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:02:15  * sweberjoined
00:02:18  * sputnik13quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…)
00:02:36  * jeff__joined
00:02:44  * sputnik13joined
00:03:04  * afdasasjoined
00:03:45  * iszakquit (Quit: Page closed)
00:04:03  * assia_tquit (Ping timeout: 255 seconds)
00:04:16  * socketio\test\07joined
00:04:16  * andrehjrjoined
00:04:36  * assia_tjoined
00:04:41  * jamto11joined
00:05:12  * jhermsquit (Ping timeout: 245 seconds)
00:05:48  * Fishrock123quit (Quit: Leaving...)
00:05:59  * jessepollakquit (Ping timeout: 272 seconds)
00:06:00  * polyidusjoined
00:06:17  * afdasaschanged nick to hugo_moss
00:06:27  * hugo_mossquit (Changing host)
00:06:27  * hugo_mossjoined
00:06:33  * sweberquit (Ping timeout: 240 seconds)
00:06:46  * sievequit (Quit: Leaving.)
00:06:53  * pdivadjoined
00:07:03  * ovnicraftjoined
00:07:07  * brianhermanjoined
00:07:25  * Nyanko-senseijoined
00:07:41  * manuelbiehquit (Read error: Connection reset by peer)
00:08:14  * socketio\test\07quit (Remote host closed the connection)
00:09:16  * dshaw_joined
00:09:35  * dshaw_1joined
00:09:37  * codedungeonquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:09:41  * __TheEwok__joined
00:09:41  * __TheEwok__quit (Changing host)
00:09:41  * __TheEwok__joined
00:10:02  * aquinasjoined
00:10:17  * dkmax_joined
00:10:42  * mrcniquit (Ping timeout: 245 seconds)
00:10:43  * torlanco_quit (Remote host closed the connection)
00:10:54  * blakmatrixquit (Remote host closed the connection)
00:11:30  * mndynclquit (Quit: Leaving.)
00:11:31  * blakmatrixjoined
00:11:36  * phuhquit (Read error: Connection reset by peer)
00:12:03  * phuhjoined
00:12:04  * rgljoined
00:12:21  * kevinswiberquit (Remote host closed the connection)
00:12:32  * NodeNagantquit (Remote host closed the connection)
00:12:40  * socketio\test\21joined
00:12:53  * slainer68joined
00:12:53  * paper_quit (Read error: Connection reset by peer)
00:12:57  * kevinswiberjoined
00:12:57  * gig3mjoined
00:13:02  * bic2kquit (Quit: bic2k)
00:13:10  * socketio\test\21quit (Remote host closed the connection)
00:13:28  * Yorkflyjoined
00:13:30  * paper_joined
00:13:32  * dshaw_quit (Ping timeout: 245 seconds)
00:13:39  * socketio\test\92joined
00:13:40  * tkuchikiquit (Remote host closed the connection)
00:13:54  * Yorkflyquit (Remote host closed the connection)
00:13:56  * assia_tquit (Ping timeout: 255 seconds)
00:14:25  * connrsjoined
00:15:06  * jailbotjoined
00:15:08  <jailbot>hey
00:15:15  * DTrejoquit (Remote host closed the connection)
00:15:15  * andrehjrquit (Quit: Computer has gone to sleep.)
00:15:22  * D-Boyjoined
00:16:06  * blakmatrixquit (Ping timeout: 250 seconds)
00:16:13  <jailbot>what am I doing wrong?
00:16:13  <jailbot>https://gist.github.com/jailbot/8377f413a9829fac8d1e
00:16:16  * jamto11quit (Read error: No route to host)
00:16:27  * rglquit (Ping timeout: 245 seconds)
00:16:31  * jeff__quit (Remote host closed the connection)
00:16:45  * glassresistorquit (Ping timeout: 272 seconds)
00:17:00  <jailbot>help plz :(
00:17:01  * jamto11joined
00:17:05  <ThreeOClock>date.getTime() returns a unix timestamp (a number)
00:17:06  * jeff__joined
00:17:08  * kevinswiberquit (Ping timeout: 240 seconds)
00:17:09  * jakecraigejoined
00:17:10  <ThreeOClock>you put that number into a json object
00:17:14  <ThreeOClock>you serialize the json and return it.
00:17:21  <ThreeOClock>Thus, you get what you got. :P
00:17:22  * slainer68quit (Ping timeout: 245 seconds)
00:17:28  * sputnik13quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…)
00:17:30  <jailbot>no with the server response
00:17:37  * vf1joined
00:17:37  <jailbot>its all in one line and printed twice
00:17:38  * snathanpart
00:17:42  * cjmjoined
00:17:45  * mathieuhaysjoined
00:17:50  <jailbot>I want to send two diffrent responses
00:17:56  * thealphanerdquit (Quit: thealphanerd)
00:18:06  <jailbot>see the second file
00:18:15  * kevinswiberjoined
00:18:26  * yalamber_joined
00:18:34  * sputnik13joined
00:18:46  * recidivequit (Quit: recidive)
00:18:54  * yalamberquit (Ping timeout: 255 seconds)
00:18:55  * Madisonquit (Quit: *poofies*)
00:19:00  <jailbot>nothing?
00:19:04  <ThreeOClock>Like I said, first you send a string version of the json object containing just the unix timestamp (iso2), and then you send the hour-minute-second response (iso).
00:19:17  <jailbot>do you see the response?
00:19:17  * connrsquit (Ping timeout: 272 seconds)
00:19:23  * Madisonjoined
00:19:25  <ThreeOClock>Yes, but you can't send two different replies.
00:19:31  * hichaelmartjoined
00:19:32  * socketio\test\92quit (Remote host closed the connection)
00:19:45  <jailbot>w/e i’ll just cheat and use console.log
00:20:13  <jailbot>faaaak
00:20:15  <jailbot>doesnt work
00:20:30  <jailbot>I cant send two diffrent things?
00:20:40  <ThreeOClock>No, a response is one single thing.
00:20:46  * sputnik13quit (Client Quit)
00:20:58  <jailbot>can I send it to a diffrent api?
00:21:01  * timmywiljoined
00:21:03  <jailbot>endpoint
00:21:06  <ThreeOClock>What do you mean?
00:21:14  <ThreeOClock>Two separate responses?
00:21:16  <jailbot>Add second endpoint for the path '/api/unixtime' which accepts the same query string but returns UNIX epoch time under the property 'unixtime'.
00:21:31  <ThreeOClock>Sure. But then you're getting into routing.
00:21:38  <ThreeOClock>You should look into something like express for that.
00:21:38  <jailbot>fuck that sounds hard
00:21:45  * ostejoined
00:21:47  <jailbot>no plugins
00:21:48  * Madisonquit (Client Quit)
00:21:49  * jeff__quit (Ping timeout: 272 seconds)
00:21:53  <jailbot>no glory
00:22:00  <jailbot>i’ve got to go tho
00:22:04  <jailbot>thanks for the help
00:22:07  <ThreeOClock>y/w.
00:22:09  * bic2kjoined
00:22:14  <jailbot>what should I look into
00:22:15  * Madisonjoined
00:22:17  <jailbot>for routing
00:22:27  * mathieuhaysquit (Ping timeout: 272 seconds)
00:22:36  <ThreeOClock>http://expressjs.com/ is one of the most used modules.
00:22:47  <ThreeOClock>It's actually quite simple to set up.
00:23:02  * jailbotquit (Remote host closed the connection)
00:23:05  * yorickquit (Read error: Connection reset by peer)
00:23:05  * jonclarkquit (Ping timeout: 272 seconds)
00:23:13  * hartthoquit (Quit: harttho)
00:23:27  * Madisonquit (Client Quit)
00:23:44  * TorpedoSkylinequit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:23:48  * Madisonjoined
00:23:52  * leonjza_quit (Ping timeout: 240 seconds)
00:23:54  * hichaelmartquit (Ping timeout: 250 seconds)
00:24:15  * leonjzajoined
00:24:35  * cynapsbassjoined
00:24:52  * son0pquit (Quit: Lost terminal)
00:25:17  * iAmerikanquit (Ping timeout: 245 seconds)
00:25:32  * nicholesquit (Ping timeout: 250 seconds)
00:25:43  * sputnik13joined
00:26:02  * phpnodequit (Remote host closed the connection)
00:26:05  * timmywilquit (Quit: O.o)
00:26:08  * jamto11quit (Remote host closed the connection)
00:26:27  * maletorquit (Quit: Computer has gone to sleep.)
00:26:32  * tvwquit
00:26:34  * edwin_liuquit (Remote host closed the connection)
00:26:41  * danielpquinnquit (Remote host closed the connection)
00:27:07  * danielpquinnjoined
00:27:12  * polyidusquit (Quit: EOF)
00:27:20  * matt_cquit (Ping timeout: 252 seconds)
00:27:40  * iarnajoined
00:27:42  <beardtree>Writing a URL shortener. What 4xx response code should I use if a client tries to shorten an already-shortened URL?
00:27:44  * HenrikJoretegquit (Quit: Computer has gone to sleep.)
00:28:17  * notbryantquit (Read error: Connection reset by peer)
00:28:20  * scrooge_mcduckpart
00:28:22  * maz-devjoined
00:28:46  * occultus_changed nick to occultus
00:28:54  * notbryantjoined
00:29:17  * matt_cjoined
00:29:20  * jessepollakjoined
00:29:21  * Cauthanjoined
00:29:53  <Cauthan>Anyone know if there is an official irc channel for socket.io?
00:29:54  <chiper>I'd just send 200 and return the url they gave you
00:30:13  <chiper>Cauthan: if by official you mean attended by the people writing it, no
00:30:19  <chiper>but there is #socket.io
00:30:37  * Yahkobquit (Remote host closed the connection)
00:30:40  * zz_karupachanged nick to karupa
00:30:43  * xonevjoined
00:31:06  * jonclarkjoined
00:31:09  * dguttmanquit (Quit: dguttman)
00:31:29  * danielpquinnquit (Ping timeout: 255 seconds)
00:31:30  * Number2joined
00:32:12  <beardtree>chiper: yeah, that's probably the best bet, thanks
00:32:34  * shafoxquit (Ping timeout: 250 seconds)
00:33:19  * maz-devquit (Ping timeout: 256 seconds)
00:33:21  * redonkulusquit (Quit: Leaving.)
00:34:23  * shafoxjoined
00:35:20  * jarrodpaynejoined
00:35:38  * joshonthewebjoined
00:35:51  * Lee1092joined
00:36:00  <jarrodpayne>Any ideas how I can disallow certain pieces of data from being updated on PUT. (Express, MongoDB, Mongoose)
00:36:23  <jarrodpayne>In other words, I'm trying to lock a specific db value for good.
00:36:34  * tklunjoined
00:36:38  * HenrikJoretegjoined
00:36:40  * JamesMGreenejoined
00:36:48  * Neozonz|Discjoined
00:36:52  * tkuchikijoined
00:36:54  * andrehjrjoined
00:37:49  * rockbot__quit (Remote host closed the connection)
00:38:25  * rockbot__joined
00:38:42  * iarnaquit (Quit: iarna)
00:39:24  * jonclarkquit (Ping timeout: 250 seconds)
00:39:25  * Fishrock123joined
00:39:43  * Neozonzquit (Ping timeout: 255 seconds)
00:41:52  * x1337807xjoined
00:41:54  * cakirkequit (Quit: cakirke)
00:42:22  * rockbot__quit (Ping timeout: 240 seconds)
00:42:24  * ljharbquit (Read error: Connection reset by peer)
00:42:25  * jkridnerquit (Read error: Connection reset by peer)
00:42:54  * jkridnerjoined
00:42:54  * jkridnerquit (Changing host)
00:42:54  * jkridnerjoined
00:42:55  * slainer68joined
00:43:40  * pmuellrjoined
00:44:19  * mjijackson_quit (Quit: mjijackson_)
00:44:31  * bmcqueequit (Remote host closed the connection)
00:44:34  * bluesmquit (Quit: Connection closed for inactivity)
00:44:42  * connrsjoined
00:44:55  * boneskul_quit (Read error: Connection reset by peer)
00:44:56  * jamto11joined
00:45:10  * iarnajoined
00:45:35  * jonclarkjoined
00:45:42  * rmgjoined
00:45:52  * gorhgorhquit (Quit: gorhgorh)
00:46:10  <ThreeOClock>jarrodpayne: put a pre update method in mongoose?
00:46:22  <ThreeOClock>That ensure that the protected value isn't the one being updated.
00:46:26  <ThreeOClock>ensures*
00:46:38  <jarrodpayne>Cool.. I'll look into that one.
00:47:01  <jarrodpayne>ThreeOClock: Do you think this is where something like this belongs?
00:47:22  * slainer68quit (Ping timeout: 240 seconds)
00:47:30  <ThreeOClock>It depends... Is there a reason why you can't prevent the user from even making such a request?
00:47:52  * kachi8quit (Ping timeout: 240 seconds)
00:48:03  * timmywiljoined
00:48:11  <jarrodpayne>Sure, I suppose I could do this on the frontend, but it would be nice to keep users from doing so if they know what they are doing.
00:48:17  * rmgquit (Remote host closed the connection)
00:48:19  * Yahkobjoined
00:48:20  <ThreeOClock>As in: whenever a user attempts a PUT, and it contains one of the protected values, instantly return an error.
00:48:28  * michaelmcmillanquit (Quit: Connection closed for inactivity)
00:48:34  * ostequit (Quit: oste)
00:48:52  * connrsquit (Ping timeout: 240 seconds)
00:48:56  <jarrodpayne>Oh sure, that's what I was thinking. Your approach could handle that. What else were you thinking?
00:48:56  * mjijackson_joined
00:49:13  * notbryantquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:50:11  <ThreeOClock>Well, I thought mongoose had a pre-update method option, but apparently it doesn't. Just pre-save.
00:50:27  * x1337807xquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:50:32  <jarrodpayne>yeah. that's what I'm gathering.
00:50:37  <ThreeOClock>Is this value set at the beginning and thereafter unmodified?
00:50:42  <jarrodpayne>yes
00:50:48  <Cauthan>Anyone familiar with socket.io? I need to find an example of a websocket server setup where you can differentiate between sockets. I am trying to make a specialized chat server.
00:51:31  * JamesMGreenequit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:51:31  * noobeejoined
00:51:46  <Beg>is it possible to check if a http server is listening?
00:51:50  * mjijackson_quit (Client Quit)
00:51:54  <jarrodpayne>ThreeOClock: I suppose it's not too important for the moment. I figured it should be easy, and it may be. If your not sure, don't waste your time one it :)
00:51:59  <nathan7>Cauthan: You realise that that's like, one of the main examples it lists?
00:52:11  * dshaw_1quit (Quit: Leaving.)
00:52:13  * robertmaxreesquit
00:52:18  * dkmax_quit (Remote host closed the connection)
00:52:19  <nathan7>Cauthan: actually open the socket.io website for once, and check out the demos section
00:52:22  * L0j1kjoined
00:52:30  * polyidusjoined
00:52:35  <ThreeOClock>jarrodpayne: well, there's many ways to do it, but preventing the users from doing bad things in the first place seems like the easiest way to enforce it. :)
00:52:37  * rjcjoined
00:52:44  <nathan7>Beg: http://nodejs.org/api/net.html#net_event_listening / http://nodejs.org/api/net.html#net_socket_address
00:52:48  * kexjoined
00:52:56  * rafaelcaceresquit (Remote host closed the connection)
00:53:24  <jarrodpayne>That's what I'm attempting to do. Preventing them on the frontend is easy enough. But it's easy for a dev to make extraneous requests outside the UI
00:53:48  * EyePulpquit (Remote host closed the connection)
00:53:58  * mjijackson_joined
00:54:15  * walterheckquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:54:27  <Cauthan>I am a node (and javascript in general) noob. And yes, I have been to the socket.io site. I haven't seen anything specific to what I need.
00:54:46  * Sauvinjoined
00:54:47  * rjcquit (Write error: Broken pipe)
00:54:58  * mbrgm1joined
00:55:00  <Cauthan>The closest I have seen to what I need is here: http://rawkes.com/articles/creating-a-real-time-multiplayer-game-with-websockets-and-node.html
00:55:20  <Cauthan>But that codes errors out at socket.configure
00:55:51  <jarrodpayne>ThreeOClock: as a side note, have you seen any good JSON templating engines?
00:55:51  <chiper>Cauthan: the connection event receives each individual socket connection as its only argument
00:56:00  <chiper>Cauthan: that's how you tell them apart
00:56:02  * Vinnyceptrquit (Remote host closed the connection)
00:56:19  * iarnaquit (Quit: iarna)
00:56:27  <chiper>Cauthan: anything that is specific to that user can be attached to that socket
00:56:28  * L0j1kchanged nick to yet_another_komp
00:56:45  * jareddlcquit (Quit: Leaving...)
00:56:51  <ThreeOClock>jarrodpayne: Not really, there's at least a few dozens around and they're all pretty similar. :) Pick a few and try them out, I guess.
00:56:52  * badem4ojoined
00:57:04  * yet_another_kompchanged nick to keytar_kompot
00:57:05  <jarrodpayne>Any fav?
00:57:25  * cultherojoined
00:57:34  * carlosrodriguezjoined
00:57:35  * kexquit (Ping timeout: 255 seconds)
00:57:37  <Cauthan>Like, in the url i linked, the programmer client.id. But Everytime I try to, i get an undefined error.
00:57:39  * wallerdevquit (Quit: wallerdev)
00:57:40  <jarrodpayne>I'm talking about JSON as output. Not something that accepts JSON in HTML.
00:57:41  * shakerjoined
00:57:42  * mjijackson_quit (Client Quit)
00:57:50  * keytar_kompotchanged nick to L0j1k
00:57:55  * seydoggyjoined
00:58:27  * kazuponjoined
00:58:29  <ThreeOClock>What are you trying to output? Mongoose data?
00:58:34  <chiper>Cauthan: the article you linked is for socket.io 0.9. the api changed quite a bit in 1.0
00:58:46  * x1337807xjoined
00:59:01  <Cauthan>Yes, I assumed that was the case, given the socket.configure error. Figured it had been depreciated.
00:59:11  * rjcjoined
00:59:12  <jarrodpayne>yes, but would like to have complete control over the output data and structure, mostly mimcking the mongo store
00:59:22  <chiper>according to the docs, the id is now on the socket itself
00:59:22  * mbrgm1quit (Ping timeout: 240 seconds)
00:59:51  <chiper>Cauthan: http://socket.io/docs/server-api/#socket#id:string
00:59:56  <ThreeOClock>Well, whenever I return mongoose data to the user I just write filter methods for it... Never had to use templaters for it.
00:59:57  * x1337807_joined
01:00:07  * wallerdevjoined
01:00:17  <Cauthan>Awesome. I will try that out.
01:00:26  <jarrodpayne>Hmm.. any quick example?
01:00:41  <ThreeOClock>Hang on, let me put something on pastebin.
01:00:45  * ascarterquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:00:50  <jarrodpayne>ok
01:00:55  * vintikquit (Remote host closed the connection)
01:01:31  * vintikjoined
01:01:36  * danyimjoined
01:01:47  * meandi_joined
01:01:47  * danyimquit (Remote host closed the connection)
01:01:50  <jarrodpayne>Here's what I'm doing now. https://gist.github.com/jpdesigndev/12eeb5ad5f94fa4a99c7
01:01:57  <Beg>nathan7: thanks
01:02:13  * carlosrodriguezquit (Ping timeout: 255 seconds)
01:02:23  * danyimjoined
01:02:28  <jarrodpayne>I like it because it's nice and javascripty, but I'm used to Rails DSL's and this could get hairy.
01:02:29  * danyimquit (Remote host closed the connection)
01:02:37  * vintikquit (Read error: Connection reset by peer)
01:02:46  * danyimjoined
01:02:56  * vintikjoined
01:03:14  * x1337807xquit (Ping timeout: 250 seconds)
01:03:15  * vintikquit (Remote host closed the connection)
01:03:30  <ThreeOClock>jarrodpayne: Something like this. (Silly example, obviously): http://pastebin.com/ScnRQ8cx
01:03:42  <jarrodpayne>ThreeOClock: Here's what I'm doing now. https://gist.github.com/jpdesigndev/12eeb5ad5f94fa4a99c7
01:03:53  * vintikjoined
01:04:28  * modojoined
01:04:52  * walterheckjoined
01:05:01  <ThreeOClock>Yes, that also works. :)
01:05:14  <jarrodpayne>Which do you like better?
01:05:17  * yunongquit (Ping timeout: 245 seconds)
01:05:30  * c4miloquit (Remote host closed the connection)
01:05:59  * meandi__quit (Ping timeout: 264 seconds)
01:06:30  * jakehowjoined
01:06:39  * demands__quit (Remote host closed the connection)
01:06:49  <ThreeOClock>Irrelevant. You have to go with what works best for you. :P My approach has the 'keep what we return close to the schema/model definition', but that doesn't mean it's better.
01:06:57  * paulohpjoined
01:07:04  * HenrikJoretegquit (Quit: Computer has gone to sleep.)
01:07:06  * richiebkrquit (Remote host closed the connection)
01:07:07  <jarrodpayne>Sure thing.
01:07:25  <jarrodpayne>Thanks for your help. I truly appreciate it.
01:07:52  * vintikquit (Ping timeout: 240 seconds)
01:08:08  * wilmoorejoined
01:08:26  <ThreeOClock>Y/w. :)
01:08:45  * weems|macjoined
01:09:02  * modoquit (Ping timeout: 245 seconds)
01:09:08  * spencercarnagequit (Quit: spencercarnage)
01:09:11  * ivan\quit (Quit: ERC Version 5.3 (IRC client for Emacs))
01:09:41  * cultheroquit (Remote host closed the connection)
01:09:44  * mspierchanged nick to mspier_off
01:10:00  * demandsjoined
01:10:17  * shingshangjoined
01:11:07  <LurchMan>It seems like when some sort of bug happens in a native module, NodeJS just supresses it somehow rather than showing it. Any way to change this?
01:11:24  * iarnajoined
01:11:37  * phuhquit (Read error: Connection reset by peer)
01:11:47  * kevinswiberquit (Remote host closed the connection)
01:11:50  * uxfiquit (Quit: Here's to the crazy ones)
01:11:56  * ljharbjoined
01:11:58  * cultherojoined
01:12:01  * woahquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:12:02  * jeff__joined
01:12:04  * vf1quit (Remote host closed the connection)
01:12:05  * phuhjoined
01:12:14  <ThreeOClock>Do you use the node debugger?
01:12:22  * kevinswiberjoined
01:12:38  * vf1joined
01:12:48  * rgljoined
01:13:10  * dead_horsejoined
01:13:18  * Yorkflyjoined
01:13:40  * danyimquit (Remote host closed the connection)
01:14:10  * Latrosquit (Ping timeout: 246 seconds)
01:14:15  * danyimjoined
01:14:25  * connrsjoined
01:14:43  * thealphanerdjoined
01:15:28  * walterheckquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:15:37  * rjcquit (Quit: -a- IRC for Android 2.1.18)
01:15:54  * rhysyngsunquit (Quit: rhysyngsun)
01:15:55  * ngoyaljoined
01:16:00  <Cauthan>I am trying to use the last example on http://socket.io/docs/# (app.js). I have it listening on 8181. Any idea why its not accepting connections?
01:16:08  * socketio\test\69joined
01:16:27  * socketio\test\69quit (Remote host closed the connection)
01:16:40  <ThreeOClock>You mean the example below "#Using it just as a cross-browser WebSocket" ?
01:16:49  <Cauthan>Yes.
01:16:52  * mingwandroidquit (Ping timeout: 245 seconds)
01:17:04  * rglquit (Ping timeout: 255 seconds)
01:17:19  <ThreeOClock>And the only thing you changed is the port number? And how are you connecting to your server?
01:17:26  * sweberjoined
01:17:26  <Cauthan>I copied and pasted the source. The only changes made were changing it to port 8181, and adding console.log("New connection from: "+socket.id);
01:17:41  * LucasTTquit (Quit: Leaving)
01:18:22  * danyimquit (Ping timeout: 240 seconds)
01:18:32  <Cauthan>I tried wscat (a command line test utility that comes with the ws npm module), as well a java terminal emulator in an html file that uses websockets.
01:18:34  * NodeNagantjoined
01:18:36  * jarrodpaynequit
01:18:37  * MrBaboonquit (Remote host closed the connection)
01:18:44  * connrsquit (Ping timeout: 255 seconds)
01:18:46  * rafaelrinaldiquit (Quit: Textual IRC Client: www.textualapp.com)
01:18:52  <ThreeOClock>And do you connect to localhost:8181?
01:18:53  * spencercarnagejoined
01:18:59  <Cauthan>Yes.
01:19:03  * cultheroquit (Remote host closed the connection)
01:19:08  <ThreeOClock>Have you tried with your browser?
01:19:13  <Cauthan>I also tried 127.0.0.1. and 192.168.2.2
01:19:17  * hichaelmartjoined
01:19:35  <konobi>mkay... my brane might be a little fried from looking a C code... but i have a constructor... within it, I have a call to an async function that gives me an object. how can I "wait" for that object to be filled before returning
01:19:39  <konobi>?
01:19:56  <Cauthan>I have tried both with browser, and with the wscat utility
01:20:00  <ThreeOClock>Ah, I think I see it... The client index.html connects to localhost, did you modify that part?
01:20:00  * ed209quit (Remote host closed the connection)
01:20:06  * s3shsjoined
01:20:07  * ed209joined
01:20:13  <ThreeOClock>Because it should connect to localhost:8181, obviously.
01:20:26  * Arby01quit
01:20:35  <ThreeOClock>konobi: callback function?
01:20:39  <Cauthan>Yes, I started writing this in php, so it was already set up to connect via 8181
01:20:49  * charurujoined
01:20:50  * seydoggyquit (Remote host closed the connection)
01:21:04  * aahjoined
01:21:07  * jonclarkquit (Ping timeout: 255 seconds)
01:21:26  * seydoggyjoined
01:21:57  <ThreeOClock>Cauthan: then I'm kind of stumped... Try it exactly as it says in the example (Using port 80) and see if it still fails?
01:22:04  * woebtzjoined
01:22:16  <Cauthan>Itll fail, cause apache uses 80
01:22:16  <konobi>ThreeOClock: without callback?
01:22:46  * NodeNagantquit (Remote host closed the connection)
01:22:55  <merobertsjr>trying to install node and npm on CentOS5, tried adding epel and yum install, says no package avail, also tried building but getting errors there as well... any suggestions?
01:23:27  * NodeNagantjoined
01:23:45  <ThreeOClock>konobi: No idea if callbacks are out of the question... An interval loop could work, but it'd be a messy hack.
01:24:02  * TooTallNatejoined
01:24:02  * hichaelmartquit (Ping timeout: 260 seconds)
01:24:34  <konobi>ThreeOClock: yeah... it's hacking something into a pre-existing library... =0/
01:24:42  <ljharb>merobertsjr: don't install node with a package manager. install it from source, or use https://github.com/creationix/nvm
01:24:52  * cultherojoined
01:25:37  * seydoggyquit (Ping timeout: 255 seconds)
01:26:19  * woebtzquit (Client Quit)
01:26:29  <Cauthan>I tried another port (2323), still no success
01:26:48  <ThreeOClock>Cauthan: could you pastebin your code?
01:26:53  * walterheckjoined
01:27:37  * danielpquinnjoined
01:28:09  <Cauthan>http://pastebin.com/VsNMZjv2
01:28:10  * NodeNagantquit (Ping timeout: 264 seconds)
01:28:30  <GreenJello>merobertsjr, http://nodejs.org/download/ grab the linux binaries, and make install
01:28:39  * jonclarkjoined
01:28:42  * kraftquit (Ping timeout: 260 seconds)
01:28:43  <ThreeOClock>Cauthan: and the php code?
01:28:55  * connrsjoined
01:29:03  * carlosrodriguezjoined
01:29:09  <Cauthan>No php code. What I meant was, I have written a websocket server in php. Hence why I already had a working html file to connected to it.
01:29:17  <GreenJello>you don't need to make, just `make install` as root and it should be installed; then `npm install -g npm` also as root
01:29:31  * seydoggyjoined
01:29:57  * kraftjoined
01:29:59  * nhuerta4quit (Ping timeout: 256 seconds)
01:30:04  * chrisdotcodequit (Remote host closed the connection)
01:30:13  * carlosrodriguezquit (Client Quit)
01:30:30  * jjmalinaquit (Quit: Textual IRC Client: www.textualapp.com)
01:30:32  <konobi>ThreeOClock: mkay... got something worked out... maybe
01:31:14  * notbryantjoined
01:31:15  * hkon_joined
01:31:29  * mjijacksonquit (Quit: mjijackson)
01:31:34  * CIDICjoined
01:31:38  <ThreeOClock>Cauthan: out of ideas, sorry. :/
01:31:59  <Cauthan>Bleh.
01:32:16  * danielpquinnquit (Ping timeout: 250 seconds)
01:33:07  * lwjoined
01:33:24  <Cauthan>the ws module works. but as far as i can tell, it doesnt have a socket id
01:33:25  <merobertsjr>GreenJello, will try again, it failed... guessing maybe it was python, but wanted to try the packages, no yum packages are getting found...
01:33:30  * harold2joined
01:33:34  * connrsquit (Ping timeout: 264 seconds)
01:33:49  * rafaelcaceresjoined
01:33:50  * kazuponquit (Remote host closed the connection)
01:34:12  * girishrjoined
01:34:28  * cultheroquit (Remote host closed the connection)
01:34:47  * liuzhooujoined
01:34:56  * Sonicridajoined
01:35:03  * BigCat2Kjoined
01:35:30  * gsdjoined
01:35:31  * dogedogedogeajoined
01:35:53  <dogedogedogea>Howdy! Anybody able to give abdive about using RabbitMQ with Nodew?
01:35:59  <dogedogedogea>s/nodew/node
01:36:10  * hkon_quit (Ping timeout: 260 seconds)
01:36:23  * ngoyal_joined
01:36:45  * kazuponjoined
01:36:56  * MistahKurtzjoined
01:37:26  * HenrikJoretegjoined
01:38:13  * linclarkquit (Ping timeout: 255 seconds)
01:38:22  * TorpedoSkylinejoined
01:38:38  * sz0quit (Quit: My computer has gone to sleep. ZZZzzz…)
01:38:47  * dataidquit (Quit: away.)
01:38:52  * sz0joined
01:38:58  * ovnicraftquit (Ping timeout: 260 seconds)
01:39:27  * ngoyalquit (Ping timeout: 255 seconds)
01:39:49  * JokerYujoined
01:40:14  * TorpedoSkylinequit (Client Quit)
01:40:43  * nicelifequit (Read error: Connection reset by peer)
01:40:47  * ngoyal_quit (Ping timeout: 255 seconds)
01:41:03  * jonclarkquit (Ping timeout: 240 seconds)
01:41:15  * hartsockquit (Remote host closed the connection)
01:41:20  * tullyjoined
01:41:35  * thealphanerdquit (Quit: thealphanerd)
01:42:01  * ch4rl35joined
01:42:03  * connrsjoined
01:42:20  * nhuerta4joined
01:43:33  * mybitquit (Ping timeout: 240 seconds)
01:43:40  * mybitjoined
01:43:52  * notbryantquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:43:55  <GreenJello>merobertsjr, if you get any weird errors and no one has any idea why, just remember it's probably caused by the yum package :-)
01:44:14  <GreenJello>crazy stuff happens in package managers... I have no idea why
01:44:29  * danyimjoined
01:44:49  <ljharb>cause npm's the only good one
01:45:03  * weems|macquit (Quit: weems|mac)
01:45:07  * harthurquit (Remote host closed the connection)
01:45:13  * linclarkjoined
01:45:19  * EvRidequit (Quit: Leaving.)
01:45:34  * EvRidejoined
01:45:56  * demandsquit (Remote host closed the connection)
01:46:04  * cultherojoined
01:46:15  <merobertsjr>it is not even finding the package... its retarded
01:46:21  * brianhermanquit (Read error: Connection reset by peer)
01:46:27  * connrsquit (Ping timeout: 245 seconds)
01:46:56  * jonclarkjoined
01:46:56  <ljharb>let's not say offensive things. we all agree that most package managers suck.
01:47:00  <Cauthan>As far as I can tell, the ws module has no built in unique socket identifier....
01:47:24  * connrsjoined
01:47:33  * taternutsjoined
01:48:11  <Aria>What do you need a socket identifier for?
01:48:14  * yho_joined
01:48:16  <Aria>You have an object there...
01:49:03  * shakerquit (Remote host closed the connection)
01:49:04  * amusseyjoined
01:49:35  * shakerjoined
01:50:30  * DividedByZeroquit (Remote host closed the connection)
01:50:30  * xjuanjoined
01:50:42  * danyimquit (Ping timeout: 255 seconds)
01:51:05  * TheAceOfHeartsquit (Quit: Leaving.)
01:51:13  * bootsWitDaFurjoined
01:51:18  * xonevquit (Quit: Leaving.)
01:51:27  * yhoquit (Ping timeout: 245 seconds)
01:52:05  * wilmoorequit (Ping timeout: 256 seconds)
01:52:21  * liuzhoouquit (Quit: Leaving...)
01:53:12  * a_suenamijoined
01:53:26  * zfoggquit (Ping timeout: 260 seconds)
01:53:31  * MistahKurtzquit (Read error: Connection reset by peer)
01:53:35  * ColKurtzjoined
01:54:21  * shakerquit (Ping timeout: 256 seconds)
01:54:43  * collypopsjoined
01:54:44  * jonnybroquit (Quit: Leaving.)
01:54:53  * katshjoined
01:55:20  * ovnicraftjoined
01:55:23  * alphabetjoined
01:55:28  * mich-cookjoined
01:55:36  * danielstjulesjoined
01:55:43  * zfoggjoined
01:55:45  * noobee_joined
01:55:52  * Fishrockjoined
01:56:00  * tenseitenjoined
01:56:01  * cotkojoined
01:56:11  * Xiti`joined
01:56:14  * EvRide1joined
01:56:18  * BBerry__joined
01:56:19  * chevett1joined
01:56:24  * ramitos_joined
01:57:03  * tkuchiki_joined
01:57:12  * x1337807_quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:57:12  * kuzzz0joined
01:57:20  * yalamberjoined
01:57:30  * MistahKurtzjoined
01:57:54  * timmywil_joined
01:58:07  * aut0matajoined
01:58:21  * nkohari-joined
01:58:31  * joelpet_joined
01:58:43  * connrsquit (Ping timeout: 272 seconds)
01:58:48  * wallerdevquit (Quit: wallerdev)
01:58:49  * linclark_joined
01:59:18  * seitenseiquit (Read error: Connection reset by peer)
01:59:18  * pmooneyquit (Ping timeout: 245 seconds)
01:59:18  * bberry_quit (Read error: Connection reset by peer)
01:59:18  * mich-cook1quit (Ping timeout: 245 seconds)
01:59:18  * ToothlessGearquit (Ping timeout: 245 seconds)
01:59:18  * unreal-dudequit (Ping timeout: 245 seconds)
01:59:18  * jsjsquit (Ping timeout: 245 seconds)
01:59:18  * joelpetquit (Quit: No Ping reply in 180 seconds.)
01:59:18  * ColKurtzquit (Read error: Connection reset by peer)
01:59:18  * ramitosquit (Ping timeout: 245 seconds)
01:59:18  * XemsDoomquit (Ping timeout: 245 seconds)
01:59:19  * leonjzaquit (Ping timeout: 245 seconds)
01:59:19  * yalamber_quit (Ping timeout: 245 seconds)
01:59:19  * qard-appnetaquit (Ping timeout: 245 seconds)
01:59:19  * CptCleverquit (Ping timeout: 245 seconds)
01:59:19  * Haifengquit (Ping timeout: 245 seconds)
01:59:19  * XemsDoom|Awayjoined
01:59:19  * jsjsjoined
01:59:19  * D-Boyquit (Ping timeout: 245 seconds)
01:59:19  * DrShoggothquit (Ping timeout: 245 seconds)
01:59:19  * Xitiquit (Ping timeout: 245 seconds)
01:59:19  * julianduquequit (Ping timeout: 245 seconds)
01:59:19  * sadfdsaquit (Ping timeout: 245 seconds)
01:59:19  * XemsDoom|Awaychanged nick to XemsDoom
01:59:19  * tkuchikiquit (Ping timeout: 245 seconds)
01:59:24  * netj_joined
01:59:26  * ToothlessGear_joined
01:59:30  * comacatquit (Ping timeout: 260 seconds)
01:59:31  * connrsjoined
01:59:39  * mrmoneyc_joined
01:59:45  * leonjzajoined
01:59:49  * julianduquejoined
01:59:49  * unreal-dudejoined
01:59:50  * meandi__joined
01:59:51  * dataidjoined
01:59:59  * torlanc__joined
02:00:04  * herrkinquit (Quit: Page closed)
02:00:34  * neataroniquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
02:00:34  * zfoggquit (Ping timeout: 264 seconds)
02:00:54  * maletorjoined
02:01:05  * encrypt3d_fractaquit (Remote host closed the connection)
02:01:10  * __TheEwok__quit (Ping timeout: 255 seconds)
02:01:31  * notbryantjoined
02:01:32  * encrypt3d_fractajoined
02:01:38  * yoshokatanaquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
02:01:46  * olfoxquit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
02:01:55  * a_suenam_joined
02:01:56  * a_suenamiquit (Read error: Connection reset by peer)
02:01:56  * noobeequit (Read error: Connection reset by peer)
02:01:56  * EvRidequit (Read error: Connection reset by peer)
02:01:56  * a_suenamijoined
02:01:56  * netjquit (Ping timeout: 240 seconds)
02:01:56  * linclarkquit (Ping timeout: 240 seconds)
02:01:56  * devdazedquit (Ping timeout: 240 seconds)
02:01:56  * nkohariquit (Ping timeout: 240 seconds)
02:01:56  * jakehowquit (Ping timeout: 240 seconds)
02:01:56  * timmywilquit (Ping timeout: 240 seconds)
02:01:56  * Fishrock123quit (Ping timeout: 240 seconds)
02:01:56  * mrmoneycquit (Ping timeout: 240 seconds)
02:01:56  * kuzz0quit (Ping timeout: 240 seconds)
02:01:56  * matrixdevukquit (Ping timeout: 240 seconds)
02:01:56  * automataquit (Ping timeout: 240 seconds)
02:01:57  * a_suenamiquit (Read error: Connection reset by peer)
02:01:57  * pmuellrquit (Read error: Connection reset by peer)
02:01:57  * JokerYuquit (Ping timeout: 240 seconds)
02:01:57  * pmuellr_joined
02:02:22  * jsjsquit (Ping timeout: 245 seconds)
02:02:22  * XemsDoomquit (Ping timeout: 245 seconds)
02:02:27  * jakehowjoined
02:03:07  * XemsDoom|Awayjoined
02:03:25  * meandi_quit (Ping timeout: 255 seconds)
02:03:31  * XemsDoom|Awaychanged nick to XemsDoom
02:03:33  * connrsquit (Ping timeout: 240 seconds)
02:03:37  * de_henne_joined
02:03:43  * infynyxxjoined
02:03:45  * rafaelcaceresquit (Remote host closed the connection)
02:03:47  * JokerYujoined
02:03:57  * ivan\joined
02:04:20  * sadfdsajoined
02:04:26  * de_hennequit (Ping timeout: 250 seconds)
02:04:46  * Meggachanged nick to Mega
02:05:10  * HenrikJoretegquit (Quit: Computer has gone to sleep.)
02:05:14  * connrsjoined
02:05:25  * cultheroquit (Remote host closed the connection)
02:05:33  * bootsWitDaFurquit (Quit: Leaving.)
02:05:41  * munichlinuxjoined
02:05:43  * Haifengjoined
02:05:59  * boooquit (Ping timeout: 264 seconds)
02:06:15  * encrypt3d_fractaquit (Ping timeout: 256 seconds)
02:06:30  * MistahKurtzquit (Ping timeout: 250 seconds)
02:07:33  * ovnicraftquit (Ping timeout: 240 seconds)
02:08:14  * infynyxxquit (Ping timeout: 250 seconds)
02:08:14  * booojoined
02:08:27  * snapwichquit (Quit: Leaving.)
02:09:06  * CptCleverjoined
02:09:10  * shubhang_quit (Remote host closed the connection)
02:09:32  * platoquit (Ping timeout: 250 seconds)
02:09:39  * connrsquit (Ping timeout: 256 seconds)
02:09:43  * artecedquit (Ping timeout: 255 seconds)
02:10:02  * STRML_joined
02:10:03  * STRMLquit (Disconnected by services)
02:10:07  * notbryan_joined
02:11:05  * c4milojoined
02:11:05  * jsjsjoined
02:11:10  * torlanc__quit (Remote host closed the connection)
02:11:23  * tklunquit (Ping timeout: 264 seconds)
02:11:26  * DiegoMaxjoined
02:11:30  * sammie_joined
02:11:32  * the8thbitjoined
02:11:33  * raygarnerquit (Quit: Nettalk6 - www.ntalk.de)
02:11:38  * phuhquit (Read error: Connection reset by peer)
02:11:45  * raygarnerjoined
02:11:55  * Sonicridaquit (Read error: Connection reset by peer)
02:12:04  * phuhjoined
02:13:16  * APerson_joined
02:13:17  * dejanrquit (Ping timeout: 272 seconds)
02:13:34  * rgljoined
02:13:46  * notbryantquit (Ping timeout: 264 seconds)
02:13:47  * MountainManjoined
02:14:03  * Sonicridajoined
02:14:29  * connrsjoined
02:14:34  * chjjquit (Quit: leaving)
02:14:58  * joshonthewebquit (Quit: Computer has gone to sleep.)
02:15:22  * c4miloquit (Ping timeout: 240 seconds)
02:15:26  * tilleps_joined
02:15:42  * sweberquit (Remote host closed the connection)
02:15:55  * girishrquit (Quit: girishr)
02:15:55  * dejanrjoined
02:16:01  * tillepsquit (Ping timeout: 255 seconds)
02:16:01  * tilleps_changed nick to tilleps
02:16:16  * Meadowstreamjoined
02:16:17  * sweberjoined
02:16:30  * IvanoffCSIquit (Remote host closed the connection)
02:17:42  * __TheEwok__joined
02:17:47  * rglquit (Ping timeout: 245 seconds)
02:18:42  * mathieuhaysjoined
02:19:39  <merobertsjr>GreenJello, make is failing, looks like python is either wrong or missing bz2
02:19:52  * kevinswiberquit (Remote host closed the connection)
02:19:52  * MountainManchanged nick to One
02:19:58  * Onechanged nick to One-Sky
02:19:59  * Jaequit (Read error: Connection reset by peer)
02:20:22  * sweberquit (Ping timeout: 240 seconds)
02:20:33  * kevinswiberjoined
02:20:39  * robotblakequit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
02:20:44  * Jaejoined
02:21:01  * hichaelmartjoined
02:21:16  <merobertsjr>GreenJello, but when I run bzip2 it executes and complains that cant write to the terminal...
02:21:17  * chrisdotcodejoined
02:21:30  * boogiequit (Remote host closed the connection)
02:21:35  * connrsquit (Ping timeout: 264 seconds)
02:21:37  <APerson_>Question: When I build with "grunt build", Windoze can't find node_modules - any tips for troubleshooting this?
02:21:57  * boogiejoined
02:22:27  * occultusquit (Ping timeout: 264 seconds)
02:22:46  * connrsjoined
02:22:51  * noobee_quit (Remote host closed the connection)
02:23:18  * mathieuhaysquit (Ping timeout: 260 seconds)
02:23:23  * D-Boyjoined
02:23:25  * cultherojoined
02:23:25  * danyimjoined
02:24:27  * ovnicraftjoined
02:24:44  * therealkoopaquit (Remote host closed the connection)
02:24:45  * occultusjoined
02:25:08  * hichaelmartquit (Ping timeout: 240 seconds)
02:25:10  * kevinswiberquit (Ping timeout: 264 seconds)
02:25:11  * px1NbxQzECquit (Ping timeout: 264 seconds)
02:25:20  * therealkoopajoined
02:25:50  * px1NbxQzECjoined
02:26:07  <beardtree>APerson_: ensure you run `grunt build` from the project's directory
02:26:14  * jakehowquit (Ping timeout: 255 seconds)
02:26:16  <APerson_>beardtree: Yes, I am
02:26:21  * kazuponquit (Remote host closed the connection)
02:26:32  * boogiequit (Ping timeout: 250 seconds)
02:26:32  * chrisdotcodequit (Read error: Connection reset by peer)
02:26:47  * walterheckquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
02:26:48  * kazuponjoined
02:26:48  * chrisdotcodejoined
02:26:51  * bootsWitDaFurjoined
02:26:58  * MistahKurtzjoined
02:26:59  * blakmatrixjoined
02:27:03  * kievechuajoined
02:27:08  * JGarridojoined
02:27:21  * joshonthewebjoined
02:27:59  * s3shsquit (Quit: Computer has gone to sleep.)
02:28:25  * danielpquinnjoined
02:28:34  * cultheroquit (Read error: Connection reset by peer)
02:28:57  * weisjohnquit (Ping timeout: 245 seconds)
02:29:19  * LurchManquit (Quit: Nettalk6 - www.ntalk.de)
02:29:22  * therealkoopaquit (Ping timeout: 240 seconds)
02:29:27  * NodeNagantjoined
02:29:32  * kevinswiberjoined
02:29:44  * cultherojoined
02:29:44  * jhermsjoined
02:29:55  * CIDICquit (Read error: Connection reset by peer)
02:29:56  * maz-devjoined
02:30:01  * CIDIC_joined
02:30:09  * DiegoMaxquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
02:30:17  * cotkoquit (Quit: Konversation terminated!)
02:30:20  * kazupon_joined
02:30:43  * cultheroquit (Remote host closed the connection)
02:31:12  * kazuponquit (Ping timeout: 250 seconds)
02:31:12  * MistahKurtzquit (Read error: Connection reset by peer)
02:31:33  * MistahKurtzjoined
02:31:36  * aslantjoined
02:31:42  * IvanoffCSIjoined
02:31:57  * slainer68joined
02:32:04  * tklunjoined
02:32:10  * Dr3amc0d3r|awayquit (Ping timeout: 260 seconds)
02:32:34  * coryasaurusjoined
02:33:03  * danielpquinnquit (Ping timeout: 240 seconds)
02:33:26  * Yahkobquit (Remote host closed the connection)
02:33:43  * DiegoMaxjoined
02:34:25  * CIDIC_quit (Client Quit)
02:34:46  * maz-devquit (Ping timeout: 264 seconds)
02:35:01  * timmywil_quit (Quit: O.o)
02:35:22  * DividedByZerojoined
02:35:26  * polyidusquit (Quit: EOF)
02:35:32  * jmar777joined
02:35:38  * andrehjrquit (Quit: Computer has gone to sleep.)
02:35:38  * blakmatrixquit (Read error: Connection reset by peer)
02:35:56  * maletorquit (Quit: Computer has gone to sleep.)
02:36:06  * civic03joined
02:36:26  * blakmatrixjoined
02:36:43  * [blakehall]changed nick to blakehall
02:36:52  * slainer68quit (Ping timeout: 240 seconds)
02:37:32  <civic03>I'm having trouble finding a node module for ip throttling. I have some compute intensive pages and I'd like to limit requests to once every 250 to 500 milliseconds.
02:37:45  * munichlinuxquit (Remote host closed the connection)
02:38:10  * NodeNagantquit (Remote host closed the connection)
02:38:17  * nrajlichjoined
02:38:17  * ostejoined
02:38:23  * connrsquit (Ping timeout: 255 seconds)
02:38:30  <civic03>I'm justing using http.createserver for my server, not express
02:38:49  * NodeNagantjoined
02:38:52  * lwquit (Quit: s)
02:39:00  * vf1quit (Remote host closed the connection)
02:39:37  * vf1joined
02:39:41  * rockbot__joined
02:39:47  * platojoined
02:40:27  * TheAceOfHeartsjoined
02:40:46  * jonclarkquit (Ping timeout: 255 seconds)
02:40:50  * TooTallNatequit (Ping timeout: 250 seconds)
02:41:01  * s2013joined
02:41:30  * xonevjoined
02:41:39  * rafagomesquit (Remote host closed the connection)
02:41:58  * kexjoined
02:42:09  * rafagomesjoined
02:43:01  * NodeNagantquit (Ping timeout: 255 seconds)
02:43:04  * Dr3amc0d3r|awayjoined
02:43:09  * vf1quit (Remote host closed the connection)
02:43:12  * sethingtonquit (Quit: aghhh)
02:43:23  * vf1joined
02:44:04  * connrsjoined
02:44:37  * avreejoined
02:44:37  * tlyncjoined
02:44:53  * cultherojoined
02:45:12  * One-Skychanged nick to F_R_A_N_C_I_N_E
02:45:29  * APerson_quit (Remote host closed the connection)
02:45:30  * jonclarkjoined
02:45:34  * akim__quit (Read error: Connection reset by peer)
02:46:10  * rockbot__quit (Ping timeout: 264 seconds)
02:46:22  * lwjoined
02:46:22  * F_R_A_N_C_I_N_Echanged nick to One-Sky
02:46:33  * MrBaboonjoined
02:46:33  * rafagomesquit (Ping timeout: 240 seconds)
02:46:46  * kexquit (Ping timeout: 264 seconds)
02:46:55  * taternutsquit (Quit: zzzzzzz)
02:47:10  * ColKurtzjoined
02:47:12  * gli_joined
02:47:20  * MistahKurtzquit (Read error: Connection reset by peer)
02:47:43  <ThreeOClock>civic03: create an ip cache object. Every time you get a request from an ip, add its address to the cache (with an automated removal function timeout). Then, whenever you get a request, see if it's still in the cache, if so, do not serve.
02:47:51  * danecandojoined
02:48:08  * crunchnodejoined
02:48:31  * crunchnodequit (Client Quit)
02:48:32  * connrsquit (Ping timeout: 245 seconds)
02:48:33  <civic03>Hmm That sounds simple enough. Thanks
02:48:33  * danielstjulespart
02:48:44  * jmar777quit (Ping timeout: 240 seconds)
02:49:21  * TorpedoSkylinejoined
02:50:03  * morenoh152quit (Ping timeout: 240 seconds)
02:50:04  * cj3kimjoined
02:50:39  * coryasaurusquit (Ping timeout: 272 seconds)
02:50:42  <ThreeOClock>Here you go: http://pastebin.com/fBFpTTPd
02:50:44  * sweberjoined
02:50:50  * s2013_joined
02:51:07  * jonclarkquit (Ping timeout: 245 seconds)
02:51:25  * rafagomesjoined
02:51:38  * coryasaurusjoined
02:51:54  * connrsjoined
02:52:00  * nfroidurequit (Ping timeout: 260 seconds)
02:52:31  * stayarrrjoined
02:52:43  * lwquit (Read error: Connection reset by peer)
02:53:00  * lwjoined
02:53:26  * modojoined
02:53:32  * al1oquit (Ping timeout: 245 seconds)
02:54:05  * dataidquit (Quit: away.)
02:54:22  * s2013quit (Ping timeout: 240 seconds)
02:54:25  * jmar777joined
02:54:46  * node1js344joined
02:55:04  <civic03>Beautiful thankyou!
02:55:37  * al1ojoined
02:55:46  * mbrgm1joined
02:55:56  * voltagexjoined
02:56:32  <voltagex>hi, running on Windows either in cmd or powershell, how do I pass arguments to a script? They're getting passed to node instead
02:56:59  * connrsquit (Ping timeout: 272 seconds)
02:57:21  * a_suenamijoined
02:57:33  * jonclarkjoined
02:57:42  * delightquit (Quit: delight)
02:57:58  * avreequit (Quit: Computer has gone to sleep.)
02:58:00  * jeff___joined
02:58:10  * modoquit (Ping timeout: 264 seconds)
02:58:12  <voltagex>e.g. node bin\mkvcast "config.json" - node is trying to load config.json instead of passing it to mkvcast as an argument
02:58:15  * bootsWitDaFurquit (Read error: Connection reset by peer)
02:58:17  * cj3kim_joined
02:58:22  * boogiejoined
02:58:22  * RyanHirschquit (Ping timeout: 240 seconds)
02:58:23  * hagbard_celinequit (Ping timeout: 240 seconds)
02:58:28  * bootsWitDaFurjoined
02:58:37  * xnqquit (Ping timeout: 245 seconds)
02:58:38  * gsdquit (Ping timeout: 255 seconds)
02:58:52  * zaalquit (Ping timeout: 240 seconds)
02:58:59  * JokerYu1joined
02:59:02  * ivan\quit (Ping timeout: 245 seconds)
02:59:22  * claudiyohquit (Ping timeout: 240 seconds)
02:59:22  * Asandariquit (Ping timeout: 240 seconds)
02:59:22  * esatterwhitequit (Ping timeout: 240 seconds)
02:59:23  * sweberquit (Remote host closed the connection)
02:59:27  * px1NbxQzECquit (Ping timeout: 245 seconds)
02:59:35  * seydoggyquit (Remote host closed the connection)
02:59:52  * __TheEwok__quit (Ping timeout: 245 seconds)
02:59:52  * dikkeduifquit (Ping timeout: 245 seconds)
02:59:52  * lwquit (Ping timeout: 240 seconds)
02:59:52  * JokerYuquit (Ping timeout: 240 seconds)
02:59:52  * mybitquit (Ping timeout: 240 seconds)
02:59:52  * jeff__quit (Ping timeout: 240 seconds)
02:59:52  * tomkuquit (Ping timeout: 240 seconds)
02:59:57  * sweberjoined
03:00:03  * mbrgm1quit (Ping timeout: 240 seconds)
03:00:14  * seydoggyjoined
03:00:17  * ovnicraftquit (Ping timeout: 245 seconds)
03:00:17  * a_suenam_quit (Ping timeout: 245 seconds)
03:00:17  * raoulquit (Ping timeout: 245 seconds)
03:00:22  * nhuerta4quit (Ping timeout: 240 seconds)
03:00:22  * yangoquit (Ping timeout: 240 seconds)
03:00:27  * genericjoined
03:00:41  * platzjoined
03:00:41  * gsdjoined
03:00:42  * the8thbitquit (Ping timeout: 245 seconds)
03:00:50  * jmar777_joined
03:00:53  * px1NbxQzECjoined
03:01:02  * BigCat2Kquit (Remote host closed the connection)
03:01:06  * ivan\joined
03:01:07  * vicTROLLAjoined
03:01:11  * esatterwhitejoined
03:01:20  * EvRide1quit (Quit: Leaving.)
03:01:30  * nhuerta4joined
03:01:31  * EvRidejoined
03:01:34  * tomkujoined
03:01:36  * yangojoined
03:01:37  * BigCat2Kjoined
03:02:00  * dataidjoined
03:02:04  * RyanHirschjoined
03:02:11  * blakehallchanged nick to [blakehall]
03:02:19  * xnqjoined
03:02:23  * raoul_joined
03:02:25  * ovnicraftjoined
03:02:26  * claudiyohjoined
03:02:33  * hagbard_celinejoined
03:02:35  * dikkeduifjoined
03:02:39  * lwjoined
03:02:44  * dataidquit (Client Quit)
03:02:55  * cj3kimquit (Ping timeout: 256 seconds)
03:02:56  * psdnjoined
03:03:07  <psdn>Why aren't global variables visible to, or available outside of a functions callback?? Why is there that barrier in a callback?
03:03:12  * DiegoMaxquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
03:03:32  * jmar777quit (Ping timeout: 240 seconds)
03:03:37  <konobi>how can i have an object with a super constructor and not get the methods be available?!
03:03:40  * BigCat2K_joined
03:03:43  * shansequit (Ping timeout: 255 seconds)
03:03:43  * genericchanged nick to shanse
03:03:49  * __TheEwok__joined
03:03:49  * __TheEwok__quit (Changing host)
03:03:49  * __TheEwok__joined
03:03:54  * Asandarijoined
03:04:05  * the8thbitjoined
03:04:29  * TorpedoSkylinequit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
03:04:37  * seydoggyquit (Ping timeout: 255 seconds)
03:04:37  * infynyxxjoined
03:04:46  * sweberquit (Ping timeout: 264 seconds)
03:05:04  * gtcarlosquit (Quit: Leaving.)
03:05:15  * honijoined
03:05:25  * nfroidurejoined
03:05:28  <ThreeOClock>voltagex: strange, have you tried with '-e' ?
03:05:46  * braincrashquit (Quit: bye bye)
03:05:53  * vf1quit (Remote host closed the connection)
03:06:02  * hacksparrowjoined
03:06:02  * zaaljoined
03:06:15  <voltagex>ThreeOClock: gives a different error, hold on
03:06:18  <ThreeOClock>psdn: What do you mean? if a variable isn't visible outside a certain scope then it's not a global variable to begin with.
03:06:29  * vf1joined
03:06:44  <ThreeOClock>At least, not true to the meaning of 'global variable'.
03:07:07  * jakecraigequit (Remote host closed the connection)
03:07:07  * BigCat2Kquit (Ping timeout: 272 seconds)
03:07:08  * dataidjoined
03:07:25  <voltagex>ThreeOClock: http://sprunge.us/cUPi
03:07:42  * s2013_quit (Ping timeout: 245 seconds)
03:08:13  <ThreeOClock>voltagex: I think mkvcast is an executable file, or script, correct? If so, you don't need to invoke it with node, it'll do that on its own. So try: 'bin\mkvcast "config.json" '
03:08:32  * danyimquit (Remote host closed the connection)
03:08:41  * vf1quit (Remote host closed the connection)
03:08:42  <voltagex>ThreeOClock: can't do that on Windows. I can't seem to get the cmd shim generated from npm/bower either
03:08:54  * vf1joined
03:08:58  <ThreeOClock>Ah, and you'll probably have to escape the backslash, too.
03:09:08  <voltagex>ThreeOClock: I said I'd write Windows instructions for https://github.com/maherbeg/mkvcast and I'm failing ;)
03:09:09  * s3shsjoined
03:09:09  * infynyxxquit (Ping timeout: 256 seconds)
03:09:09  * STRMLjoined
03:09:09  * danyimjoined
03:09:31  <ThreeOClock>Hmm, let's see. :P
03:09:59  * JoeNiedquit (Remote host closed the connection)
03:10:03  * braincrashjoined
03:10:12  <voltagex>ThreeOClock: same if I run the script itself out of lib
03:10:46  <ThreeOClock>You mean when you try 'node lib/mkvcast.js' ?
03:10:52  <voltagex>ThreeOClock: yes
03:10:59  <ThreeOClock>What happens then?
03:11:21  * iarnaquit (Read error: Connection reset by peer)
03:11:23  * STRML_quit (Ping timeout: 264 seconds)
03:11:37  * iarnajoined
03:11:38  * phuhquit (Read error: Connection reset by peer)
03:11:49  * tenseitenquit (Read error: Connection reset by peer)
03:11:59  * coryasaurusquit (Ping timeout: 264 seconds)
03:12:00  * s3shsquit (Client Quit)
03:12:06  * phuhjoined
03:12:08  <voltagex>ThreeOClock: http://sprunge.us/CNdM
03:12:14  * seitenseijoined
03:13:12  <ThreeOClock>Interesting, it takes offense at like 11 of mkvcast, it seems: global.config = require(process.argv[2]);
03:13:51  * kazuponjoined
03:14:03  * msodrewjoined
03:14:05  <voltagex>ah, like some Windows path problem?
03:14:05  * danyimquit (Ping timeout: 272 seconds)
03:14:19  * rgljoined
03:14:24  * s2013_joined
03:14:37  <ThreeOClock>config.json exists in the same folder as you are at?
03:14:45  <voltagex>yes
03:14:50  * connrsjoined
03:14:51  * ValicekBquit (Ping timeout: 255 seconds)
03:14:52  * lwquit (Quit: s)
03:15:00  <ThreeOClock>Which is where, compared to lib/mkvcast.js ?
03:15:05  <ThreeOClock>*relative to
03:15:26  <voltagex>ThreeOClock: say I'm in . compared to .\lib\mkvcast.js
03:15:29  * coryasaurusjoined
03:15:34  * kevinswiberquit (Remote host closed the connection)
03:16:01  * s2013joined
03:16:08  * kevinswiberjoined
03:16:22  * jshultzquit (Quit: Connection closed for inactivity)
03:16:33  <ThreeOClock>Try node lib/mkvcast.js ../../config.json ? (Though honestly, I don't think that's it.)
03:16:37  * __TheEwok__quit (Ping timeout: 272 seconds)
03:16:54  * queequeg1joined
03:16:56  <voltagex>"Configuration file missing or not specified as an argument!"
03:17:17  * STRMLquit (Disconnected by services)
03:17:17  * STRML_joined
03:17:34  * kazupon_quit (Ping timeout: 250 seconds)
03:17:38  * aslantquit (Remote host closed the connection)
03:17:39  * jmar777_quit (Remote host closed the connection)
03:18:11  * jmar777joined
03:18:17  <voltagex>got it
03:18:21  <ThreeOClock>What was it?
03:18:26  <voltagex>full path to config.json
03:18:34  <voltagex>I'll have a chat to the project owner
03:18:40  <voltagex>it needs a few other windows-specific fixes
03:18:53  * rglquit (Ping timeout: 255 seconds)
03:19:14  <ThreeOClock>Of course, require has different path expectations!
03:19:20  <ThreeOClock>d'oh.
03:19:24  * s2013_quit (Ping timeout: 250 seconds)
03:19:28  * connrsquit (Ping timeout: 255 seconds)
03:19:33  * xjuanquit (Ping timeout: 240 seconds)
03:19:36  <voltagex>:s I'm not a Node programmer, is there a way to keep cross-platform compatability?
03:19:42  * hkon_joined
03:19:55  * listochkinjoined
03:19:59  * cultheroquit (Remote host closed the connection)
03:20:08  <ThreeOClock>Not that I know of, and it'd amaze me.
03:20:16  * sweberjoined
03:20:16  * kevinswiberquit (Ping timeout: 250 seconds)
03:21:15  * Fishrockquit (Quit: Leaving...)
03:22:06  * vf1quit (Remote host closed the connection)
03:22:11  * duch_kazateljoined
03:22:41  <voltagex>haha, of course none of the other path handling code works
03:22:42  * vf1joined
03:22:57  * jmar777quit (Ping timeout: 272 seconds)
03:23:12  * Arguejoined
03:23:33  * STRML_quit (Ping timeout: 240 seconds)
03:24:25  * hkon_quit (Ping timeout: 255 seconds)
03:24:30  * listochkinquit (Ping timeout: 250 seconds)
03:25:48  <GreenJello>voltagex, path.join('.', 'lib', 'mkvcast.js') ?
03:26:04  * JamesMGreenejoined
03:26:10  <GreenJello>assuming: var path = require('path')
03:26:54  * stayarrrquit (Quit: Leaving...)
03:26:56  <voltagex>maybe. The project creator may not want Windows support :P
03:27:03  * coryasaurusquit (Ping timeout: 240 seconds)
03:27:14  * vf1quit (Ping timeout: 260 seconds)
03:27:25  * ValicekBjoined
03:27:38  * acdangerjoined
03:27:57  * freceljoined
03:28:05  * coryasaurusjoined
03:28:15  * paulohpquit
03:28:31  <GreenJello>voltagex, many people just don't care about windows
03:28:42  * cultherojoined
03:28:47  <voltagex>GreenJello: I care about lots of platforms. Am I strange?
03:28:51  * tranzfusejoined
03:28:53  * duch_kazatelquit
03:28:53  <GreenJello>most of the popular modules do
03:29:19  * danielpquinnjoined
03:29:19  * jherms_joined
03:29:21  <GreenJello>voltagex, nope, you're not strange :-)
03:29:31  <GreenJello>I understand both sides of it
03:29:44  <voltagex>yeah, path handling is particularly painful
03:30:02  <GreenJello>if I'm writing some small utility I want to share with people, I'm not going to go out of my way to test on windows
03:30:14  * TheAceOfHeartsquit (Quit: Leaving.)
03:30:28  <GreenJello>if 10 people try my package out, it's unlikely any of them are on windows
03:30:36  <voltagex>But if I come along and start raising issues (with or without pull requests) for Windows, your response will be...?
03:30:49  * kazuponquit (Remote host closed the connection)
03:30:55  * LurchManjoined
03:31:07  * amusseyquit (Remote host closed the connection)
03:31:09  * dhfromkoreajoined
03:31:15  * kazuponjoined
03:31:21  * connrsjoined
03:31:26  * jhermsquit (Ping timeout: 260 seconds)
03:31:40  * amusseyjoined
03:32:12  * _antinoquit (Remote host closed the connection)
03:32:13  * JamesMGreenechanged nick to JamesMGreeneAway
03:32:16  * civic03quit (Remote host closed the connection)
03:32:42  * JamesMGreeneAwayquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
03:33:14  * dataidquit (Quit: away.)
03:33:36  * s2013quit (Ping timeout: 250 seconds)
03:33:51  * Argue_joined
03:33:52  * danielpquinnquit (Ping timeout: 255 seconds)
03:34:57  * maksimlinjoined
03:35:29  * barneybook_8joined
03:35:33  * dhfromkoreaquit (Remote host closed the connection)
03:35:48  * rhojoined
03:35:50  * JamesMGreenejoined
03:35:57  * acdangerquit (Read error: No route to host)
03:35:59  * connrsquit (Ping timeout: 255 seconds)
03:36:15  * kazuponquit (Ping timeout: 272 seconds)
03:36:19  * acdangerjoined
03:36:26  * Arguequit (Ping timeout: 255 seconds)
03:36:34  * amusseyquit (Ping timeout: 264 seconds)
03:36:38  * coryasaurusquit (Ping timeout: 250 seconds)
03:36:52  * ngoyaljoined
03:36:57  * stayarrrjoined
03:36:58  * stayarrrquit (Remote host closed the connection)
03:37:02  * noobeejoined
03:37:16  * Arguejoined
03:37:19  * bootsWitDaFurquit (Quit: Leaving.)
03:38:29  * spencercarnagequit (Quit: spencercarnage)
03:38:40  * sunsonjoined
03:38:41  * Sorellaquit (Quit: Ex-Chat)
03:38:51  * bmcqueejoined
03:38:58  * Argue_quit (Ping timeout: 264 seconds)
03:39:01  * Yahkob_joined
03:39:01  * bmcqueequit (Remote host closed the connection)
03:39:07  * morenoh152joined
03:39:17  * coryasaurusjoined
03:39:20  * tenseitenjoined
03:39:35  * bmcqueejoined
03:39:58  * jakecraigejoined
03:40:03  * Abhishek__quit (Quit: Connection closed for inactivity)
03:40:13  * dataidjoined
03:40:18  * bootsWitDaFurjoined
03:40:24  * yango_joined
03:40:27  * cjmquit (Remote host closed the connection)
03:40:49  * badem4o1joined
03:41:06  * mitzipquit (Quit: good bye)
03:41:14  * esatterw1itejoined
03:41:16  * sunsonquit (Client Quit)
03:41:19  * mitzipjoined
03:41:38  * BigCat2Kjoined
03:41:44  * absolutezeroffjoined
03:41:58  * jherms_quit (Quit: Leaving)
03:41:58  * ngoyalquit (Ping timeout: 264 seconds)
03:42:02  * connrsjoined
03:42:23  * hartsockjoined
03:42:39  * dikkeduif_joined
03:42:45  * EyePulpjoined
03:42:55  * node1js344quit (Ping timeout: 246 seconds)
03:43:00  * xonevquit (Quit: Leaving.)
03:43:30  * frecel_joined
03:43:51  * jonclarkquit (Ping timeout: 272 seconds)
03:44:21  * msodrewquit (Quit: msodrew)
03:45:10  * herrkinjoined
03:45:55  * danyimjoined
03:46:01  * coryasaurusquit (Ping timeout: 255 seconds)
03:46:20  * connrsquit (Ping timeout: 255 seconds)
03:46:53  * coryasaurusjoined
03:47:05  * yho_quit (Quit: Computer has gone to sleep.)
03:47:12  * Meadowstreamquit (Quit: Meadowstream)
03:47:25  * barneybookjoined
03:47:37  * yho_joined
03:47:37  * frecelquit (*.net *.split)
03:47:38  * BigCat2K_quit (*.net *.split)
03:47:38  * dikkeduifquit (*.net *.split)
03:47:38  * xnqquit (*.net *.split)
03:47:38  * yangoquit (*.net *.split)
03:47:38  * esatterwhitequit (*.net *.split)
03:47:38  * ivan\quit (*.net *.split)
03:47:38  * One-Skyquit (*.net *.split)
03:47:38  * jsjsquit (*.net *.split)
03:47:38  * CptCleverquit (*.net *.split)
03:47:38  * XemsDoomquit (*.net *.split)
03:47:38  * badem4oquit (*.net *.split)
03:47:38  * percival-quit (*.net *.split)
03:47:38  * seitenseiquit (*.net *.split)
03:47:39  * hartsockquit (Ping timeout: 272 seconds)
03:48:23  * connrsjoined
03:48:24  * percival_joined
03:48:29  * herrkinquit (Remote host closed the connection)
03:48:59  * JamesMGreenechanged nick to JamesMGreeneAway
03:49:29  * JamesMGreeneAwayquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
03:49:38  * modcurequit (Quit: Leaving)
03:49:52  * InconceivableBjoined
03:50:09  * Ciph3rjoined
03:50:09  * barneybook|2joined
03:50:20  * quantalrabbitjoined
03:50:30  * Elishajoined
03:50:49  * MrBaboonquit (Remote host closed the connection)
03:51:17  * jonclarkjoined
03:51:27  * barneybook_8quit (Ping timeout: 272 seconds)
03:51:43  * adritekquit (Quit: adritek)
03:51:53  * hichaelmartjoined
03:51:58  * yho_quit (Ping timeout: 260 seconds)
03:52:06  * munichlinuxjoined
03:52:28  * blakmatrixquit (Quit: Boarding the Enterprise)
03:52:38  * Cyph3rquit (Ping timeout: 255 seconds)
03:52:46  * alvaro_oquit (Quit: Ex-Chat)
03:52:47  * barneybookquit (Ping timeout: 264 seconds)
03:53:12  * rhoquit (Ping timeout: 250 seconds)
03:53:12  * One-Skyjoined
03:53:22  * tlync_joined
03:53:24  * vf1joined
03:53:46  * tlyncquit (Ping timeout: 252 seconds)
03:53:59  * coryasaurusquit (Ping timeout: 272 seconds)
03:54:03  * iarnaquit (Quit: iarna)
03:54:12  * acdangerquit (Remote host closed the connection)
03:54:35  * coryasaurusjoined
03:54:48  * acdangerjoined
03:55:17  * Piteljoined
03:55:48  * nuizzyjoined
03:56:10  * connrsquit (Ping timeout: 260 seconds)
03:56:43  * danielstjulesjoined
03:56:48  * JamesMGreenejoined
03:56:54  * Deranderquit (Excess Flood)
03:57:04  * aahquit (Quit: Look! Queso!)
03:57:12  * caisahjoined
03:57:18  * swajquit (Remote host closed the connection)
03:57:23  * McScquit (Remote host closed the connection)
03:57:44  * Fishrock123joined
03:57:45  * tranzfusequit (Remote host closed the connection)
03:58:03  * paper_quit (Ping timeout: 255 seconds)
03:58:03  * enmandquit (Ping timeout: 255 seconds)
03:58:04  * acdanger_joined
03:58:06  * systemfaultjoined
03:58:12  * tranzfusejoined
03:58:26  * gsdquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
03:58:43  * danyimquit (Remote host closed the connection)
03:58:44  * acdangerquit (Ping timeout: 240 seconds)
03:59:31  * jamto11quit (Remote host closed the connection)
03:59:34  <merobertsjr>GreenJello, still trying to build Node, now I have the correct python, but its giving me a "make: execvp: /etc/Python-2.6.6: Permission denied" message, any thoughts?
03:59:36  * vf1quit (Ping timeout: 250 seconds)
03:59:36  * c4milojoined
03:59:40  * danyimjoined
03:59:53  * tskaggsjoined
04:00:33  * maletorjoined
04:01:56  * kazuponjoined
04:02:42  * tranzfusequit (Ping timeout: 260 seconds)
04:02:43  * kumavisjoined
04:02:57  * McScjoined
04:04:06  * c4miloquit (Ping timeout: 260 seconds)
04:04:15  * jkridnerquit (Read error: Connection reset by peer)
04:04:25  * lwjoined
04:04:45  * jkridnerjoined
04:04:45  * jkridnerquit (Changing host)
04:04:45  * jkridnerjoined
04:04:54  * caitpquit (Ping timeout: 250 seconds)
04:05:02  * ValicekBquit (Ping timeout: 260 seconds)
04:05:03  * prototypealexquit (Remote host closed the connection)
04:05:28  * spencercarnagejoined
04:05:29  * encrypt3d_fractajoined
04:05:55  * MistahKurtzjoined
04:06:00  * prototypealexjoined
04:06:03  * InconceivableBquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
04:06:10  * chrisdotcodequit (Remote host closed the connection)
04:06:33  * kazuponquit (Ping timeout: 240 seconds)
04:06:35  * ColKurtzquit (Ping timeout: 264 seconds)
04:06:55  * Yahkob_quit
04:07:03  * dataidquit (Quit: away.)
04:07:05  * jeff___quit (Remote host closed the connection)
04:07:11  * neataronijoined
04:07:31  * danyimquit (Ping timeout: 256 seconds)
04:07:38  * jeff__joined
04:10:00  * Soothsayerjoined
04:10:21  * coryasaurusquit (Ping timeout: 256 seconds)
04:10:21  * Sonicridaquit (Ping timeout: 256 seconds)
04:10:26  * prototypealexquit (Ping timeout: 250 seconds)
04:10:40  * redonkulusjoined
04:10:46  * redonkulusquit (Client Quit)
04:11:20  * coryasaurusjoined
04:11:22  * linclark_quit (Quit: Textual IRC Client: www.textualapp.com)
04:11:31  * prototypealexjoined
04:11:57  * phuhquit (Read error: Connection reset by peer)
04:11:59  <GreenJello>merobertsjr, nope, no idea
04:12:06  * phuhjoined
04:12:14  <GreenJello>merobertsjr, don't build from source if you don't have to
04:12:18  <GreenJello>and you probably don't have to
04:12:27  <GreenJello>are you building from source?
04:12:28  <merobertsjr>lol
04:12:34  * jeff__quit (Ping timeout: 264 seconds)
04:12:44  <merobertsjr>yes, just got it to work, it was looking for execute permission on Python
04:12:59  * FIFOdquit (Ping timeout: 272 seconds)
04:13:01  * rafagomesquit (Remote host closed the connection)
04:13:03  <GreenJello>cool :-)
04:13:08  * piraxxxquit (Ping timeout: 250 seconds)
04:13:10  * dataidjoined
04:13:13  * prototypealexquit (Remote host closed the connection)
04:13:19  <merobertsjr>finally got Mongodb, Node installed on my chepo Godaddy server... only took all day...
04:13:31  * rafagomesjoined
04:14:17  * mary5030joined
04:14:21  * cjmjoined
04:14:23  <GreenJello>ha wow
04:14:31  <GreenJello>I'm impressed, and terrified
04:14:32  * prototypealexjoined
04:14:33  * DrJaejoined
04:14:57  <merobertsjr>well, more like most of the afternoon, just felt like all day.
04:14:58  <GreenJello>don't blog about it, and if you do make sure to disclaim "Do not try this at home!"
04:14:59  * platzquit (Quit: leaving)
04:15:08  * rgljoined
04:15:44  <merobertsjr>it should not be this hard to get MEAN stack setup on a VPS server, it is so fast to install on a local VM image
04:16:04  * Number2part
04:16:20  * night-owl2quit (Read error: Connection reset by peer)
04:16:40  * mjijacksonjoined
04:16:57  * Jaequit (Ping timeout: 255 seconds)
04:16:59  * JGarridoquit
04:17:06  * sputnik13quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…)
04:17:11  <merobertsjr>still have to figure out how to proxy with Apache, do you know of any good links or tutorials?
04:17:26  * ValicekBjoined
04:17:42  * rafagomesquit (Ping timeout: 245 seconds)
04:18:06  * yho_joined
04:18:14  * jamto11joined
04:18:43  <merobertsjr>I have heard if its not done correctly apache will block while waiting for node
04:19:02  * cjmquit (Ping timeout: 260 seconds)
04:19:09  * connrsjoined
04:19:18  * Deranderjoined
04:19:37  * mathieuhaysjoined
04:19:46  * rglquit (Ping timeout: 255 seconds)
04:19:55  * sneakertackjoined
04:20:34  * JoeNiedjoined
04:21:10  * JamesMGreenequit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
04:21:13  * jarcosmonautjoined
04:21:21  <Cauthan>I am a total node and js noob. What is wrong with this: http://pastebin.com/NxpbD0jS
04:21:45  <Cauthan>I would assume that is how you loop through an array of character objects, and search for the right one.
04:22:28  * yho_quit (Ping timeout: 255 seconds)
04:22:31  <Cauthan>But it throws an error at Character c (Unexpected identifier)
04:22:57  * playjaxjoined
04:23:18  <GreenJello>Cauthan, this is not JS
04:23:32  * connrsquit (Ping timeout: 250 seconds)
04:23:59  * mathieuhaysquit (Ping timeout: 264 seconds)
04:24:18  <sadfdsa>heh nice
04:24:30  * cultheroquit (Remote host closed the connection)
04:24:34  <GreenJello>Cauthan, there aren't any types in JS... but it looks like you're trying to mix JS and Java
04:24:40  <sadfdsa>Cauthan, you should try writing javascript, not Java or C#
04:24:58  * JamesMGreenejoined
04:25:07  * JamesMGreenechanged nick to JamesMGreeneAway
04:25:27  <Cauthan>Yeah, sorry. My brain seems to not be working atm.
04:25:30  * caisahquit (Quit: Bye bye now...)
04:25:36  * whyyjoined
04:25:37  * s2013joined
04:26:21  * JamesMGreeneAwaychanged nick to JamesMGreene
04:26:34  * danielstjulespart
04:26:49  * cjmjoined
04:27:45  * JoeNiedquit (Ping timeout: 255 seconds)
04:27:52  * kievechuaquit (Ping timeout: 250 seconds)
04:28:13  * Fishrock123quit (Quit: Leaving...)
04:28:30  * hichaelmartquit (Remote host closed the connection)
04:28:34  * sweberquit (Remote host closed the connection)
04:29:08  * hichaelmartjoined
04:29:08  * MistahKurtzquit (Read error: Connection reset by peer)
04:29:15  <Cauthan>Anyone use eclipse?
04:29:16  * sweberjoined
04:29:28  * MistahKurtzjoined
04:29:38  <systemfault>Only poor people and masochists.
04:29:41  <systemfault>:/
04:29:56  * danielpquinnjoined
04:30:48  <OMNOM>vim bro
04:30:48  <OMNOM>vim
04:30:54  * One-Skyquit (Ping timeout: 250 seconds)
04:31:03  * dhfromkoreajoined
04:31:07  * kexjoined
04:31:09  <Cauthan>I *AM* poor.
04:31:14  * hswolffquit (Ping timeout: 250 seconds)
04:31:14  <systemfault>There are a ton of good editors (Free and non-free)
04:31:21  <OMNOM>vim is free
04:31:21  <OMNOM>lol
04:31:24  <sinclair|work>fuck git submodules, seriously
04:31:25  <systemfault>I wouldn’t say the same for IDEs
04:31:28  * yogurt_truckquit
04:31:30  * sinclair|workgrumbles
04:31:37  <systemfault>The only good one is webstorm (For node)
04:31:40  * aut0mataquit (Quit: Saindo)
04:31:40  * maz-devjoined
04:31:44  * mjijacksonquit (Quit: mjijackson)
04:31:49  <sinclair|work>put me in another detached HEAD again, you bastard of a repository
04:31:55  * weilujoined
04:31:58  <systemfault>sinclair|work: Haha
04:31:59  * mary5030quit (Remote host closed the connection)
04:32:16  <sinclair|work>systemfault: seriously, WTF man
04:32:20  * quantalrabbitquit (Quit: Page closed)
04:32:30  <sinclair|work>im sick of fighting with these bloody submodules
04:32:35  * mary5030joined
04:33:02  * bootsWitDaFurquit (Quit: Leaving.)
04:33:11  <sinclair|work>the idiot developer set em up, now working across multiple projects breaks randomly, no matter how careful i am
04:33:14  * briandelajoined
04:33:20  * vf1joined
04:33:36  * sweberquit (Ping timeout: 255 seconds)
04:33:43  * hichaelmartquit (Ping timeout: 255 seconds)
04:33:45  * hswolffjoined
04:33:50  <sinclair|work>goes a bit like this...get in a detached head, spent 30 mins trying to resolve it, then i delete the whole set of changes and code it all again
04:33:54  <sinclair|work>fucking sick of this shit
04:34:00  * sinclair|workgrumbles
04:34:35  * sinclair|workgoes and has a smoke to calm down
04:34:47  * danielpquinnquit (Ping timeout: 264 seconds)
04:35:13  <s2013>amupme jere
04:35:15  <s2013>anyone here?
04:35:16  * NodeNagantjoined
04:35:20  * HenrikJoretegjoined
04:35:37  <s2013>so i pasted m y question earlier but i got d.c https://gist.github.com/ss2k/629bd2b2cf9d9af4b437
04:35:51  * GreenDogjoined
04:35:52  <s2013>im trying to get s3 to upload a file on the file system .. is this the right approach?
04:36:17  * grobot808joined
04:36:18  * maz-devquit (Ping timeout: 260 seconds)
04:36:20  * acdanger_quit (Ping timeout: 240 seconds)
04:36:25  * kexquit (Ping timeout: 256 seconds)
04:36:33  * psdnquit (Quit: Leaving)
04:37:10  * mary5030quit (Ping timeout: 264 seconds)
04:37:33  * rhonabwyquit (Ping timeout: 256 seconds)
04:37:42  <vicTROLLA>s2013, you should look at knox
04:37:53  * instence_joined
04:37:54  * dseitzjoined
04:37:56  <s2013>whats knox
04:37:56  * jakecraigequit (Remote host closed the connection)
04:37:58  * briandelaquit (Remote host closed the connection)
04:38:32  * bootsWitDaFurjoined
04:38:38  * jakecraigejoined
04:38:47  <vicTROLLA>https://www.npmjs.org/package/knox
04:39:35  * instencequit (Ping timeout: 272 seconds)
04:39:38  <systemfault>s2013: Why don’t you encode the buffer in base64 like you should?
04:39:45  * cultherojoined
04:40:35  <systemfault>Body: base64log.toString('base64'),
04:40:40  * cultheroquit (Remote host closed the connection)
04:41:17  * briandelajoined
04:41:33  * joshonthewebquit (Quit: Computer has gone to sleep.)
04:41:39  * NodeNagantquit (Remote host closed the connection)
04:41:53  * connrsjoined
04:42:07  * modojoined
04:42:12  * NodeNagantjoined
04:42:19  * amusseyjoined
04:42:26  * neataroniquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
04:42:38  * s2013_joined
04:42:38  * kazuponjoined
04:42:43  * jdstankoskyquit (Ping timeout: 255 seconds)
04:42:44  * masterotsjoined
04:42:59  * rockbot__joined
04:43:13  * jakecraigequit (Ping timeout: 256 seconds)
04:43:23  <s2013_>damn it keep getting d/c
04:43:27  <s2013_>TypeError: Cannot call method 'putObject' of undefined i keep getting that
04:43:28  * s2013quit (Ping timeout: 250 seconds)
04:43:46  * MistahKurtzquit (Ping timeout: 260 seconds)
04:44:25  * vf1quit (Remote host closed the connection)
04:44:29  * gsdjoined
04:45:40  * dhfromkoreaquit (Remote host closed the connection)
04:46:04  * connrsquit (Ping timeout: 250 seconds)
04:46:12  <systemfault>s2013_: Well, how did you find that s3 has a "client" function in it?
04:46:32  * dhfromkoreajoined
04:46:33  * InconceivableBjoined
04:46:34  * modoquit (Ping timeout: 260 seconds)
04:46:36  * gsdquit (Client Quit)
04:46:37  * NodeNagantquit (Ping timeout: 256 seconds)
04:47:05  * Cache_Moneyjoined
04:47:13  <s2013_>hmm let me try
04:47:17  * rockbot__quit (Ping timeout: 245 seconds)
04:47:20  <s2013_>not sure, it was super late when iw aws owrking on it
04:47:22  * amusseyquit (Ping timeout: 264 seconds)
04:47:45  * MickeyOquit (Ping timeout: 256 seconds)
04:48:28  * joshonthewebjoined
04:48:38  <s2013_>oh hm i changed it up a bit now it didnt give me an error but
04:48:48  <systemfault>So, without testing it... I can see 2 problems... the "client" part that comes from nowhere... and the fact you need to convert the buffer to base64
04:48:54  * neataronijoined
04:48:58  <s2013_>i saw that somewhere..
04:48:59  <rhalff>does mocha has something for informational messages, like 'testserver started', something besides just console.log()
04:49:01  <systemfault>Body: base64log.toString('base64'),
04:49:09  <s2013_>yeah i saw it somewhere else.. maybe that aprt is wrong?
04:49:19  <systemfault>s2013_: read my last line.
04:49:28  * barneybook|2quit (Ping timeout: 255 seconds)
04:49:31  * Guest99027changed nick to mu
04:49:32  * munichlinuxquit (Read error: Connection reset by peer)
04:49:49  * muquit (Changing host)
04:49:49  * mujoined
04:49:54  * d4nkquit (Read error: Connection reset by peer)
04:50:01  * rhonabwyjoined
04:50:02  <sinclair|work>can someone help me with GIT?
04:50:03  <s2013_>well its uploading now but
04:50:05  <s2013_>sinclair|work, whats the q
04:50:06  <sinclair|work>need help
04:50:16  <s2013_>shoul i remove the buffer stuff?
04:50:20  <sinclair|work>s2013_: i am battling with sub modules
04:50:22  * d4nkjoined
04:50:24  * maletorquit (Quit: Computer has gone to sleep.)
04:50:24  <sinclair|work>know about those?
04:50:34  * InconceivableBquit (Client Quit)
04:50:34  * nuizzy_joined
04:50:35  * mary5030joined
04:50:42  <s2013_>not really. try #git
04:50:52  <ljharb>submodules shouldn't be that difficult tho. they're just a pointer to a repo and a sha
04:51:09  * nuizzyquit (Read error: Connection reset by peer)
04:51:10  * maveneaglejoined
04:51:10  <ljharb>update the submodules repos first, and then update the pointer to the submodule in the parent repo
04:51:14  * nuizzy_changed nick to nuizzy
04:51:21  <s2013_>systemfault, in s3 is Key the same as file name?
04:51:21  <systemfault>s2013_: You need a buffer to convert to base64 I think
04:51:22  <sinclair|work>ljharb: yes, i have been doing that
04:51:28  <ljharb>ok, so what's the problem?
04:51:30  <systemfault>s2013_: A full path, yes
04:51:33  <sinclair|work>ljharb: i am in the submodule, trying to update
04:51:35  * msodrewjoined
04:51:40  <s2013_>so that needs to be dynamic?
04:51:54  <ljharb>sinclair|work: ok, so the child repo is already updated, and you're in the parent repo, inside the submodule dir that points to the child repo
04:51:55  <systemfault>s2013_: You know your needs better than I do, what do you mean?
04:52:12  <sinclair|work>ljharb: do much work with submodules?
04:52:12  * wilmoorejoined
04:52:18  <s2013_>well what i mean is so i uploaded the file successfully now after refactoring it a bit and removing the client part
04:52:23  <ljharb>i did a bunch awhile back - i haven't in awhile
04:52:26  <s2013_>but it doesnt upload with the file name but the name of the key
04:52:37  <s2013_>so if i am always u ploding files then it will just overwrite it right?
04:52:39  <morfin>hello
04:53:20  * DividedByZeroquit (Quit: Verlassend)
04:53:20  <s2013_>it will jus tover write it
04:53:52  <morfin>what's best design for chaining like one promise->map_of_promises->then(...)?
04:53:58  * EyePulpquit (Remote host closed the connection)
04:54:14  * mary5030quit (Remote host closed the connection)
04:54:25  * shafoxquit (Ping timeout: 255 seconds)
04:54:26  <GreenJello>morfin, huh?
04:54:26  <sinclair|work>...
04:54:44  * edefiezjoined
04:54:45  <morfin>i want to run one promise and then if it was resolved map of promises
04:54:48  * mary5030joined
04:55:04  * ninsei_dquit (Remote host closed the connection)
04:55:04  * TheAceOfHeartsjoined
04:55:31  <GreenJello>morfin, with pure es6 promises it looks like p.then(function(result){ return Promise.all(xs.map(fn)); }).then(function(results){})
04:55:58  <morfin>i am using Bluebird promises which should be close
04:56:12  * dutisjoined
04:56:42  <GreenJello>bluebird is compatible with es6 promises
04:56:44  <morfin>oh wait i forgot Promise.all returns promise for all stuff
04:56:54  * mbrgm1joined
04:56:54  * NodeNagantjoined
04:57:04  * ninseijoined
04:57:06  * ninseiquit (Excess Flood)
04:57:09  * JamesMGreenechanged nick to JamesMGreeneAway
04:57:10  <GreenJello>you can shorten it to p.then(function(result){ return Promise.map(xs, fn); }).then(function(results){})
04:57:18  * ninseijoined
04:57:19  <GreenJello>right
04:57:20  * ninseiquit (Excess Flood)
04:57:23  * wilmoorequit (Ping timeout: 256 seconds)
04:57:32  * ninseijoined
04:57:34  * ninseiquit (Excess Flood)
04:57:39  * JamesMGreeneAwayquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
04:57:46  * ninseijoined
04:57:48  * ninseiquit (Excess Flood)
04:57:52  * tlync_quit (Remote host closed the connection)
04:58:01  * ninseijoined
04:58:03  * DividedByZerojoined
04:58:03  * ninseiquit (Excess Flood)
04:58:10  * masterotsquit (Quit: Lingo - http://www.lingoirc.com)
04:58:15  * ninseijoined
04:58:21  * NodeNagantquit (Remote host closed the connection)
04:58:30  * tlyncjoined
04:58:30  * masterots_joined
04:58:49  * weiluquit (Remote host closed the connection)
04:58:53  * NodeNagantjoined
04:58:57  * masterots_quit (Client Quit)
04:59:23  * mary5030quit (Ping timeout: 264 seconds)
04:59:25  * weilujoined
04:59:45  <morfin>hm
05:00:41  * munichlinuxjoined
05:01:14  * jamto11quit (Remote host closed the connection)
05:01:20  * briandelaquit (Remote host closed the connection)
05:01:21  * mbrgm1quit (Ping timeout: 256 seconds)
05:01:23  * baluptonjoined
05:01:49  * tlync_joined
05:01:50  * prototypealexquit (Remote host closed the connection)
05:02:04  * grobot808quit (Quit: grobot808)
05:02:26  * prototypealexjoined
05:02:38  * tlyncquit (Read error: Connection reset by peer)
05:02:43  * CptCleverjoined
05:02:43  * XemsDoomjoined
05:02:43  * ivan\joined
05:02:43  * xnqjoined
05:02:51  * ivan\quit (Max SendQ exceeded)
05:03:04  * ins0mniajoined
05:03:07  * NodeNagantquit (Ping timeout: 245 seconds)
05:03:09  * wilmoorejoined
05:03:14  * ivan\joined
05:03:50  * weiluquit (Ping timeout: 260 seconds)
05:05:42  * cultherojoined
05:06:17  * mjijacksonjoined
05:06:20  * Bec0dequit (Ping timeout: 250 seconds)
05:06:20  * briandelajoined
05:06:33  * prototypealexquit (Ping timeout: 240 seconds)
05:07:03  * josephcsjoined
05:07:12  * jakecraigejoined
05:07:59  * hkon_joined
05:08:32  * maheshjoined
05:09:01  * briandelaquit (Remote host closed the connection)
05:09:03  * playjaxquit (Quit: ChatZilla 0.9.90.1 [Firefox 24.0/20130910160258])
05:09:05  * jakecrai_joined
05:09:13  * nuizzyquit (Read error: Connection reset by peer)
05:09:15  * nuizzy_joined
05:09:16  * nuizzy_changed nick to nuizzy
05:09:30  * playjaxjoined
05:09:53  * stayarrrjoined
05:09:55  * x1337807xjoined
05:10:14  * harthjoined
05:10:15  * mbrgm1joined
05:11:02  <s2013_>systemfault, i updated my gist https://gist.github.com/ss2k/629bd2b2cf9d9af4b437
05:11:16  * cultheroquit (Remote host closed the connection)
05:11:21  * jonclark_joined
05:11:23  <s2013_>i tried to refactor the code a bit now its screwing up.. im getting error on the callback(err) line on s3.js
05:11:30  <s2013_>TypeError: object is not a function
05:11:32  * jakecraigequit (Ping timeout: 245 seconds)
05:11:40  * phuhquit (Read error: Connection reset by peer)
05:12:07  * phuhjoined
05:12:11  * jakecraigejoined
05:12:11  * briandelajoined
05:12:32  * briandelaquit (Remote host closed the connection)
05:12:37  <systemfault>I don't know.
05:12:39  * caitpjoined
05:12:45  * hkon_quit (Ping timeout: 255 seconds)
05:13:36  * hacksparrowquit (Quit: Connection closed for inactivity)
05:13:45  * bootsWitDaFurquit (Quit: Leaving.)
05:14:08  * jonclarkquit (Ping timeout: 250 seconds)
05:14:27  * jakecrai_quit (Ping timeout: 245 seconds)
05:15:32  * sneakertackquit (Ping timeout: 250 seconds)
05:15:33  * mr_loujoined
05:15:53  * rgljoined
05:16:28  * jakecraigequit (Ping timeout: 255 seconds)
05:16:37  * briandelajoined
05:16:39  * encrypt3d_fractaquit (Remote host closed the connection)
05:17:24  * briandelaquit (Remote host closed the connection)
05:17:37  * nicolejoined
05:17:52  * dutisquit (Read error: Connection reset by peer)
05:18:01  * nicolechanged nick to Guest30991
05:18:06  * dutisjoined
05:18:50  * yho_joined
05:19:01  * Guest30991quit (Client Quit)
05:19:34  * hychenjoined
05:20:37  * definivjoined
05:20:38  * rglquit (Ping timeout: 260 seconds)
05:20:41  * DividedByZeroquit (Quit: Verlassend)
05:22:13  * McKayjoined
05:22:38  * dhfromkoreaquit (Remote host closed the connection)
05:22:46  <s2013_>its not really even about s3.. im doing something wrong nodewise
05:22:52  * yho_quit (Ping timeout: 240 seconds)
05:23:15  * dhfromkoreajoined
05:23:40  * huleoquit (Quit: Page closed)
05:23:43  * mjijacksonquit (Quit: mjijackson)
05:23:47  * abeantjoined
05:23:52  * MickeyOjoined
05:24:00  * topwobblejoined
05:24:04  * jonnybrojoined
05:24:27  * DiegoMaxjoined
05:25:46  * heyimwillquit (Quit: bye)
05:27:37  * nthgergojoined
05:27:46  * heyimwilljoined
05:28:33  * nrajlichquit (Quit: Computer has gone to sleep.)
05:28:36  * connrsjoined
05:28:45  * mikronazjoined
05:29:40  * nthgergo_joined
05:29:40  * nthgergoquit (Read error: Connection reset by peer)
05:30:06  * erolljoined
05:30:13  * danyimjoined
05:30:16  * maheshquit (Ping timeout: 250 seconds)
05:30:49  * pdivadquit (Ping timeout: 256 seconds)
05:30:51  * danielpq_joined
05:31:19  * definivquit (Quit: Out)
05:32:23  * occultusquit (Remote host closed the connection)
05:32:25  * McScquit (Remote host closed the connection)
05:33:00  * shafoxjoined
05:33:10  * occultusjoined
05:33:14  * connrsquit (Ping timeout: 260 seconds)
05:33:46  * maheshjoined
05:34:00  * acdangerjoined
05:34:04  * ostequit (Quit: oste)
05:34:47  * danyimquit (Ping timeout: 255 seconds)
05:35:12  * h0mebrewerjoined
05:35:17  * danielpq_quit (Ping timeout: 245 seconds)
05:36:03  * stayarrrquit (Quit: Leaving...)
05:36:05  * yoshokatanajoined
05:36:10  * yoshokatanaquit (Client Quit)
05:36:14  * tskaggsquit (Remote host closed the connection)
05:36:50  * tskaggsjoined
05:36:50  * nthgergo_quit (Read error: Connection reset by peer)
05:36:56  * nthgergojoined
05:37:34  * ngoyaljoined
05:37:34  * nthgergoquit (Read error: Connection reset by peer)
05:37:50  * h0mebrewerquit (Remote host closed the connection)
05:37:56  * nthgergojoined
05:38:23  * h0mebrewerjoined
05:39:44  * dogedogedogeaquit (Quit: Leaving)
05:39:47  * jonclark_quit
05:41:01  * briandelajoined
05:41:10  * TuRnaD0joined
05:41:13  * tskaggsquit (Ping timeout: 255 seconds)
05:41:28  * briandelaquit (Remote host closed the connection)
05:41:35  * McKayquit (Remote host closed the connection)
05:41:52  * ngoyalquit (Ping timeout: 240 seconds)
05:42:05  * briandelajoined
05:42:19  * McKayjoined
05:42:20  * occultusquit (Quit: Leaving)
05:42:27  * enmandjoined
05:42:52  * h0mebrewerquit (Ping timeout: 240 seconds)
05:43:05  * barneybook_8joined
05:43:42  * Soothsayerquit (Read error: Connection reset by peer)
05:43:44  * sneakertackjoined
05:43:51  * dhfromkoreaquit (Remote host closed the connection)
05:44:00  * DividedByZerojoined
05:44:14  * tlync_quit (Remote host closed the connection)
05:44:26  * dhfromkoreajoined
05:44:29  * stayarrrjoined
05:44:53  * munichlinuxquit (Remote host closed the connection)
05:44:59  * __TheEwok__joined
05:44:59  * __TheEwok__quit (Changing host)
05:44:59  * __TheEwok__joined
05:45:11  * abeantquit (Quit: Leaving.)
05:45:18  * Soothsayerjoined
05:45:22  * DividedByZeroquit (Client Quit)
05:45:54  * night-owl2joined
05:46:11  * shafoxquit (Ping timeout: 264 seconds)
05:46:20  * tlync_joined
05:47:22  * enmandquit (Ping timeout: 245 seconds)
05:47:23  * Soothsayerquit (Read error: Connection reset by peer)
05:47:30  * Soothsayer_joined
05:47:53  * abeantjoined
05:47:54  * HenrikJoretegquit (Quit: Computer has gone to sleep.)
05:48:14  * encrypt3d_fractajoined
05:49:24  * h0mebrewerjoined
05:49:36  * Willow___joined
05:49:51  * GreenDogquit (Remote host closed the connection)
05:49:55  * ThKojoined
05:50:04  * stayarrrquit (Quit: Leaving...)
05:50:05  * __TheEwok__quit (Ping timeout: 256 seconds)
05:50:21  * shakerjoined
05:50:22  * MickeyOquit (Ping timeout: 240 seconds)
05:50:27  * munichlinuxjoined
05:51:27  * barneybook_8quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
05:51:44  * barneybook_8joined
05:51:47  * _lexjmquit (Quit: ZZZzzz…)
05:51:47  * bic2kquit (Quit: bic2k)
05:52:17  * barneybook_8quit (Client Quit)
05:52:32  * barneybook_8joined
05:52:40  * iAmerikanjoined
05:53:03  * kevireillyjoined
05:53:32  * quellhorstjoined
05:54:10  * r0okquit (Quit: r0ok)
05:55:03  * shakerquit (Ping timeout: 240 seconds)
05:55:06  * dead_horsequit (Remote host closed the connection)
05:55:07  * mahesh_joined
05:55:54  * cakirkejoined
05:56:30  * Elishaquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
05:56:32  * caitpquit (Ping timeout: 245 seconds)
05:56:36  * darius93quit (Ping timeout: 250 seconds)
05:56:59  * nuizzyquit (Ping timeout: 264 seconds)
05:57:46  * stayarrrjoined
05:58:00  * maheshquit (Ping timeout: 250 seconds)
05:58:00  * alphabetquit (Quit: Lingo - http://www.lingoirc.com)
05:58:07  * nuizzyjoined
05:58:20  * matrixdevukjoined
05:59:04  * snathanjoined
06:00:08  * h0mebrewerquit (Remote host closed the connection)
06:00:08  * tlync_quit (Remote host closed the connection)
06:00:10  * TheAceOfHeartsquit (Quit: Leaving.)
06:00:16  * ghostbar_joined
06:00:44  * tlyncjoined
06:00:45  * h0mebrewerjoined
06:01:34  * connrsjoined
06:01:41  * jessepollakquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
06:01:43  * tassmjauquit (Quit: ("')(=^.^=))
06:02:05  * tlync_joined
06:02:05  * tlyncquit (Remote host closed the connection)
06:02:39  * gorhgorhjoined
06:02:42  * ghostbarquit (Ping timeout: 245 seconds)
06:02:43  * gorhgorhquit (Remote host closed the connection)
06:03:45  * gorhgorhjoined
06:04:13  * Willow___quit (Quit: Computer has gone to sleep.)
06:04:38  * danielstjulesjoined
06:04:39  * LouisTquit (Quit: Farewell.)
06:04:44  * stayarrrquit (Quit: Leaving...)
06:04:49  * Willow___joined
06:05:12  * lpinjoined
06:05:23  * h0mebrewerquit (Ping timeout: 255 seconds)
06:05:32  * mary5030joined
06:05:57  * connrsquit (Ping timeout: 256 seconds)
06:06:14  * jakecraigejoined
06:06:22  * \mSgquit (Ping timeout: 260 seconds)
06:07:48  <rvagg>s2013_: you're exporting `uploadLog` from s3.js but invoking `uploadFile` in upload.js
06:08:21  * tomtomasojoined
06:08:47  <s2013_>oh hm,m
06:09:02  * Willow___quit (Ping timeout: 245 seconds)
06:09:52  * mary5030quit (Ping timeout: 245 seconds)
06:10:33  * nthgergoquit (Read error: Connection reset by peer)
06:10:52  * jakecraigequit (Ping timeout: 240 seconds)
06:11:00  * connrsjoined
06:11:29  * dhfromkoreaquit (Remote host closed the connection)
06:11:42  * phuhquit (Read error: Connection reset by peer)
06:11:45  * stayarrrjoined
06:12:01  * tassmjaujoined
06:12:05  * dhfromkoreajoined
06:12:08  * phuhjoined
06:12:22  * kievechuajoined
06:12:38  * suy_changed nick to suy
06:14:30  * fabienfjoined
06:14:50  * munichlinuxquit (Remote host closed the connection)
06:15:09  * acdanger_joined
06:15:16  * kevireillyquit (Quit: kevireilly)
06:15:35  * connrsquit (Ping timeout: 256 seconds)
06:15:45  * Yahkobjoined
06:16:10  * whyyquit
06:16:22  * acdangerquit (Ping timeout: 240 seconds)
06:16:38  * rgljoined
06:16:57  * nthgergojoined
06:17:16  * stayarrrquit (Quit: Leaving...)
06:17:48  * chjjjoined
06:18:04  * nthgergoquit (Remote host closed the connection)
06:18:18  * nuizzy_joined
06:18:32  * nuizzyquit (Read error: Connection reset by peer)
06:18:32  * dhfromkoreaquit (Remote host closed the connection)
06:18:42  * nuizzy_changed nick to nuizzy
06:19:01  * cobquit (Ping timeout: 255 seconds)
06:19:07  * dhfromkoreajoined
06:19:15  * topwobblequit (Quit: topwobble)
06:19:33  * h0mebrewerjoined
06:19:37  * yho_joined
06:19:51  * whyyjoined
06:20:12  * acdanger_quit (Ping timeout: 245 seconds)
06:20:28  * mathieuhaysjoined
06:21:33  * rglquit (Ping timeout: 272 seconds)
06:21:41  * ghostbar_quit (Remote host closed the connection)
06:21:56  * connrsjoined
06:22:00  * tassmjau_joined
06:22:16  * Mobutilsjoined
06:23:31  * ch4rl35quit (Ping timeout: 255 seconds)
06:23:33  * phuhquit (Ping timeout: 240 seconds)
06:23:50  * yho_quit (Ping timeout: 255 seconds)
06:24:08  * tassmjauquit (Quit: ("')(=^.^=))
06:24:42  * HenrikJoretegjoined
06:24:52  * mathieuhaysquit (Ping timeout: 250 seconds)
06:25:11  * jakehowjoined
06:25:53  * eschnoujoined
06:26:05  * phuhjoined
06:26:13  * connrsquit (Ping timeout: 255 seconds)
06:26:33  * ovnicraftquit (Ping timeout: 240 seconds)
06:26:46  * txdvquit (Read error: Connection reset by peer)
06:27:04  * txdvjoined
06:27:44  * Megaquit (Quit: Ping: 9001)
06:27:45  * bmcqueequit (Remote host closed the connection)
06:27:47  * connrsjoined
06:28:26  * Neozonz|Discquit (Read error: Connection reset by peer)
06:28:58  * delightjoined
06:30:14  * anonymous_joined
06:30:58  * modojoined
06:31:00  * afmacedoquit (Read error: Connection reset by peer)
06:31:34  * danielpq_joined
06:31:35  * Willow___joined
06:31:35  * afmacedojoined
06:31:37  * OMNOMquit (Read error: Connection reset by peer)
06:31:38  * h0mebrewerquit (Remote host closed the connection)
06:31:45  * jergasonquit (Quit: Connection closed for inactivity)
06:31:59  * OMNOMjoined
06:32:03  * connrsquit (Ping timeout: 240 seconds)
06:32:11  * h0mebrewerjoined
06:32:26  * zfoggjoined
06:32:39  * dhfromkoreaquit (Remote host closed the connection)
06:33:14  * dhfromkoreajoined
06:33:20  * maz-devjoined
06:33:40  * Ilyasjoined
06:33:51  * kevireillyjoined
06:34:24  * Willow____joined
06:34:29  * mesojoined
06:34:36  * bootsWitDaFurjoined
06:34:38  * mesoquit (Remote host closed the connection)
06:34:54  * richiebkrjoined
06:35:04  * danielstjules1joined
06:35:06  * mesojoined
06:35:16  * modoquit (Ping timeout: 250 seconds)
06:35:19  * jonnybro1joined
06:35:38  * pvankouterenjoined
06:35:40  * dhfromkoreaquit (Remote host closed the connection)
06:35:43  * kexjoined
06:35:44  * shafoxjoined
06:36:17  * dhfromkoreajoined
06:36:26  * danielpq_quit (Ping timeout: 255 seconds)
06:36:42  * h0mebrewerquit (Ping timeout: 260 seconds)
06:37:02  * jessepollakjoined
06:37:02  * why_awayjoined
06:37:12  * kid_icarusjoined
06:37:12  * tassmjau_quit (Quit: ("')(=^.^=))
06:37:17  * chjj_joined
06:37:47  * maz-devquit (Ping timeout: 255 seconds)
06:38:01  * honiquit (Quit: honi)
06:38:25  * whyyquit (Ping timeout: 240 seconds)
06:38:25  * danielstjulesquit (Ping timeout: 240 seconds)
06:38:29  * Soothsayer_quit (Ping timeout: 245 seconds)
06:38:29  * ivan\quit (Ping timeout: 245 seconds)
06:38:29  * CptCleverquit (Ping timeout: 245 seconds)
06:38:29  * xnqquit (Ping timeout: 245 seconds)
06:38:29  * Willow___quit (Ping timeout: 245 seconds)
06:38:29  * jonnybroquit (Ping timeout: 245 seconds)
06:38:29  * xnqjoined
06:38:29  * chjjquit (Ping timeout: 245 seconds)
06:38:29  * XemsDoomquit (Ping timeout: 245 seconds)
06:38:29  * XemsDoom|Awayjoined
06:38:30  * ivan\joined
06:38:30  * tassmjaujoined
06:38:30  * XemsDoom|Awaychanged nick to XemsDoom
06:38:30  * ivan\quit (Changing host)
06:38:30  * ivan\joined
06:38:44  * ghostbarjoined
06:38:48  * nodekidquit (Ping timeout: 260 seconds)
06:38:48  * demandsjoined
06:40:23  * connrsjoined
06:40:28  * jakecraigejoined
06:40:34  * jeff__joined
06:41:14  * gorhgorhquit (Quit: gorhgorh)
06:41:38  * \mSgjoined
06:41:47  * aakashjoined
06:42:04  * mtsrjoined
06:42:16  * ghostbarquit (Client Quit)
06:42:17  * CptCleverjoined
06:43:04  * TaRaKajoined
06:43:30  * s2013_quit (Ping timeout: 250 seconds)
06:43:39  * snathanquit (Quit: Leaving.)
06:43:46  * rendarjoined
06:43:50  * TaRaKa_joined
06:44:09  * nexnodedjoined
06:44:23  * sneakertackquit (Remote host closed the connection)
06:44:27  * h0mebrewerjoined
06:44:38  * zfoggquit (Ping timeout: 260 seconds)
06:44:43  * kaffeebohnejoined
06:44:44  * cjmquit (Remote host closed the connection)
06:44:52  * jeff__quit (Ping timeout: 245 seconds)
06:44:52  * connrsquit (Ping timeout: 245 seconds)
06:45:17  * aakashquit (Client Quit)
06:45:29  * vf1joined
06:45:37  * jakecraigequit (Ping timeout: 245 seconds)
06:46:08  * aakashjoined
06:46:20  * platoquit (Remote host closed the connection)
06:46:23  * frecel_quit (Read error: Connection reset by peer)
06:46:27  * kid_icarusquit (Ping timeout: 245 seconds)
06:46:39  * msankhalajoined
06:47:29  * BigCat2Kquit (Remote host closed the connection)
06:47:36  * tassmjauquit (Quit: ("')(=^.^=))
06:47:41  * TaRaKaquit (Ping timeout: 255 seconds)
06:47:47  * jessepollakquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
06:47:54  * tomtomasoquit (Remote host closed the connection)
06:48:09  * tassmjaujoined
06:48:11  * freceljoined
06:48:12  * connrsjoined
06:48:20  * damir__joined
06:49:00  * platojoined
06:49:12  * demandsquit (Remote host closed the connection)
06:50:00  * vf1quit (Ping timeout: 250 seconds)
06:50:14  * iAmerikanquit (Ping timeout: 260 seconds)
06:50:43  * stayarrrjoined
06:51:46  * tilgovijoined
06:51:52  * TaRaKa_quit (Ping timeout: 240 seconds)
06:52:03  * zarkonejoined
06:52:05  * hkon_joined
06:52:27  * h0mebrewerquit (Remote host closed the connection)
06:52:43  * nuizzy_joined
06:52:52  * nuizzyquit (Read error: Connection reset by peer)
06:53:02  * h0mebrewerjoined
06:53:04  * neataroniquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
06:53:07  * nuizzy_changed nick to nuizzy
06:53:13  * connrsquit (Ping timeout: 255 seconds)
06:53:24  <zarkone>hello all. I use signedCookies and redis store for sessions. I decided to move static part to NGINX. So, when I remove form code app.use(express.static("static/app")); the `connect.cid` key disappear from req.signedCookies...
06:53:31  * xyNNNjoined
06:53:55  <zarkone>i guess i do not fully understand ho this thing works
06:54:20  * cronopioquit (Ping timeout: 250 seconds)
06:54:37  * connrsjoined
06:54:53  * eschnouquit (Ping timeout: 255 seconds)
06:55:09  * comacatjoined
06:55:25  * msodrewquit (Quit: msodrew)
06:55:54  * dhfromkoreaquit (Remote host closed the connection)
06:56:29  * danielstjules1quit (Quit: Leaving.)
06:56:38  * dhfromkoreajoined
06:56:52  * Preceaquit (Ping timeout: 245 seconds)
06:56:54  * frankblizzardjoined
06:57:22  * richiebkrquit (Remote host closed the connection)
06:57:35  * h0mebrewerquit (Ping timeout: 255 seconds)
06:58:14  * HenrikJoretegquit (Ping timeout: 250 seconds)
06:58:24  * AciD``joined
06:58:25  * kid_icarusjoined
06:58:26  * dutisquit (Remote host closed the connection)
06:58:35  * Preceajoined
06:58:39  * richiebkrjoined
06:58:57  * dutisjoined
06:59:33  * comacatquit (Read error: Connection reset by peer)
06:59:48  * OMNOMquit (Read error: Connection reset by peer)
07:00:04  * sievejoined
07:00:08  * tlync_quit (Remote host closed the connection)
07:00:19  * tlyncjoined
07:00:20  * OMNOMjoined
07:00:23  * hartthojoined
07:00:50  * Megajoined
07:01:32  * HenrikJoretegjoined
07:03:00  * encrypt3d_fractaquit (Remote host closed the connection)
07:03:37  * encrypt3d_fractajoined
07:03:45  * kid_icarusquit (Ping timeout: 256 seconds)
07:03:52  * groomjoined
07:04:40  * tlyncquit (Remote host closed the connection)
07:04:47  * Raudiijoined
07:04:51  * Christerjoined
07:04:51  * Christerquit (Changing host)
07:04:51  * Christerjoined
07:04:54  * tlyncjoined
07:04:57  * hartthoquit (Client Quit)
07:05:26  * comacatjoined
07:05:42  * Lunar_La1pchanged nick to Lunar_Lamp
07:05:58  * hannesvdvrekenjoined
07:05:59  * absolutezeroffquit (Ping timeout: 264 seconds)
07:06:00  * grodtquit (Read error: Connection reset by peer)
07:06:12  * Lunar_Lampchanged nick to Guest229
07:06:25  * grodtjoined
07:06:25  * Christer|joined
07:06:50  * OMNOMquit (Read error: Connection reset by peer)
07:07:05  * mtsrquit (Quit: This computer has gone to sleep)
07:07:23  * mtsrjoined
07:07:48  * quellhorstquit (Remote host closed the connection)
07:08:06  * encrypt3d_fractaquit (Ping timeout: 250 seconds)
07:08:09  * OMNOMjoined
07:08:16  * quellhorstjoined
07:08:17  * morenoh152quit (Ping timeout: 256 seconds)
07:08:56  * briandelaquit (Remote host closed the connection)
07:09:41  * Christerquit (Ping timeout: 272 seconds)
07:09:59  * nuizzyquit (Read error: Connection reset by peer)
07:10:14  * nuizzyjoined
07:10:49  * jakecraigejoined
07:12:53  * quellhorstquit (Ping timeout: 255 seconds)
07:13:10  * mesoquit (Read error: Connection reset by peer)
07:13:28  <Cauthan>Is it possible to dynamicly call a function?
07:13:34  * spencercarnagequit (Quit: spencercarnage)
07:13:50  * xyNNNquit (Ping timeout: 250 seconds)
07:13:53  * morenoh152joined
07:14:01  * kaekujoined
07:14:09  * xyNNNjoined
07:14:30  * zfoggjoined
07:14:32  <Cauthan>In php, i can store a functions name in a variable (lets calll it $neededFunction), and I can check if that function exists, and if it does, i can call it like $neededFunction($data)
07:15:09  * tiglionabbitjoined
07:15:47  * HelperWjoined
07:15:52  * mridgwayjoined
07:15:58  * richiebkrquit (Remote host closed the connection)
07:16:00  * jakecraigequit (Ping timeout: 250 seconds)
07:16:33  * DrJaechanged nick to Jae
07:16:39  * Jaequit (Changing host)
07:16:39  * Jaejoined
07:17:10  <sadfdsa>Cauthan, if you store it in an object
07:17:12  * h0mebrewerjoined
07:17:14  * hannesvd_joined
07:17:21  * mtsr_joined
07:17:29  <sadfdsa>or use eval i guess
07:17:35  * sadfdsapart ("Leaving")
07:17:40  * Raudii_joined
07:17:53  * omejoined
07:17:55  * sadfdsajoined
07:18:44  * sammie_quit (Quit: Textual IRC Client: www.textualapp.com)
07:19:19  * kid_icarusjoined
07:19:28  <Cauthan>When I was working on this program in php, the ability to dynamicly call a function from a variable made the whole process super smooth. I had an array of text commands with their respective functions that implimented those commands.
07:19:39  * phrearchjoined
07:19:48  <sadfdsa>You could use an object literal or something.
07:19:55  * richiebkrjoined
07:20:12  * xnqquit (Ping timeout: 245 seconds)
07:20:12  * XemsDoom|Awayjoined
07:20:15  * morenoh153joined
07:20:17  * mtsrquit (Ping timeout: 245 seconds)
07:20:17  * hannesvdvrekenquit (Ping timeout: 245 seconds)
07:20:17  * Raudiiquit (Ping timeout: 245 seconds)
07:20:17  * tilgoviquit (Ping timeout: 245 seconds)
07:20:17  * CptCleverquit (Ping timeout: 245 seconds)
07:20:17  * ivan\quit (Ping timeout: 245 seconds)
07:20:17  * XemsDoomquit (Ping timeout: 245 seconds)
07:20:17  * XemsDoom|Awaychanged nick to XemsDoom
07:20:18  * x1337807xquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
07:20:23  * yho_joined
07:20:24  <sadfdsa>I don't think people would call node less dynamic than php
07:20:28  <ThreeOClock>Cauthan: yes, in javascript functions are first-class objects.
07:20:35  <Cauthan>So basicly, i just cut the incoming message at the first space (which would be the text command). I would then check the array of commands, if it was there, i would grab the function name in a variable, then call that funciton with the incoming message
07:21:00  <sadfdsa>Cauthan, pretty much
07:21:28  * ivan\joined
07:21:47  * xnqjoined
07:21:50  * morenoh152quit (Ping timeout: 240 seconds)
07:21:50  * AciD``quit (Ping timeout: 240 seconds)
07:21:58  * CptCleverjoined
07:22:33  * stayarrrquit (Quit: Leaving...)
07:22:37  <nuizzy>var $neededFunction = thefunction(){}
07:22:49  * tilgovijoined
07:22:49  <nuizzy>just call $neededFunction
07:22:52  * cjmjoined
07:22:55  * AciD``joined
07:23:16  <sadfdsa>Cauthan, learn javascript
07:23:17  * Novitsh_joined
07:23:25  <Cauthan>I am trying.
07:24:04  <Cauthan>Lots of people seem to say that eval should be avoided like the plague
07:24:20  <sadfdsa>True dat
07:24:22  <ljharb>it should.
07:24:32  <ljharb>php's variable variables are insanity
07:24:32  <sadfdsa>I'd say the plague is worse.
07:24:34  * yho_quit (Ping timeout: 250 seconds)
07:24:41  * Yahkobquit (Remote host closed the connection)
07:24:42  * h0mebrewerquit (Remote host closed the connection)
07:24:54  <ThreeOClock>At least with the plague you know how you are going to die. :)
07:25:05  * ninseiquit (Remote host closed the connection)
07:25:16  * h0mebrewerjoined
07:25:16  <ThreeOClock>Eval on the other hand opens all sorts of interesting new ways to ruin everything.
07:25:21  * mtsr_quit (Quit: This computer has gone to sleep)
07:25:21  * xiinotulpjoined
07:25:21  * ninseijoined
07:25:44  * mtsr_joined
07:25:45  * phuhquit (Read error: Connection reset by peer)
07:26:04  * Yahkobjoined
07:26:06  <Cauthan>I would just rather have a way of dynamicly calling a function, as opposed to having a mile long if/elseif/else statement.
07:26:11  * phuhjoined
07:26:27  <ljharb>Cauthan: use a hash lookup
07:26:28  <sadfdsa>Cauthan, I think we've established that is possible.
07:26:33  * shreddingjoined
07:26:40  <ljharb>an explicit map of string value, to a function reference.
07:26:56  <ljharb>of course, it's better to just not need to dynamically call functions in the first place
07:26:57  * nuizzyquit (Read error: Connection reset by peer)
07:26:59  * jakquit (Ping timeout: 256 seconds)
07:27:08  * cjmquit (Ping timeout: 240 seconds)
07:27:15  * cakirkequit (Quit: cakirke)
07:27:16  * quellhorstjoined
07:27:22  * nuizzyjoined
07:27:33  <Cauthan>yes, but as i said, the alternative is a mile long if/elseif statement.
07:28:02  * mbrgm1quit (Ping timeout: 260 seconds)
07:28:10  * bohdanquit (Quit: Connection closed for inactivity)
07:28:28  * Cache_Moneyquit (Ping timeout: 250 seconds)
07:28:43  <MI6>joyent/libuv: Jameson Nash master * 8db4238 : windows: sort environment variables before calling CreateProcess (+1 more commits) - http://git.io/PTUsMg
07:28:45  * mewmjoined
07:28:54  * plutoniixquit (Ping timeout: 250 seconds)
07:29:27  * comacatquit (Read error: Connection reset by peer)
07:29:43  * thealphanerdjoined
07:29:47  * _kudjoined
07:29:47  * h0mebrewerquit (Ping timeout: 245 seconds)
07:29:50  * badem4o1quit (Quit: Leaving.)
07:30:02  * esakkirajjoined
07:30:03  * sh1mmerquit (Ping timeout: 240 seconds)
07:30:42  * ivan\quit (Ping timeout: 245 seconds)
07:30:43  * Scrunshesjoined
07:31:18  * Yahkobquit (Remote host closed the connection)
07:31:23  * h0mebrewerjoined
07:31:34  * GregZ_joined
07:31:56  * zfoggquit (Ping timeout: 250 seconds)
07:32:06  * texinwienjoined
07:32:20  * danielpquinnjoined
07:32:22  * xnqquit (Ping timeout: 245 seconds)
07:32:45  * sh1mmerjoined
07:32:51  <texinwien>is there a way, when using supervisor, to specify the version of node to run your app with?
07:33:02  * ivan\joined
07:33:46  * stayarrrjoined
07:34:18  * xnqjoined
07:34:37  <ljharb>texinwien: if you use nvm, you could use an .nvmrc file and `nvm use` to do that
07:34:43  * cryptonite_joined
07:35:15  * comacatjoined
07:35:18  <texinwien>I'm looking for something that'll watch my .js files and restart the app automatically
07:35:19  * lcavassajoined
07:35:19  <ljharb>or `nvm run 0.10 supervisor app.js`
07:35:24  <texinwien>does nvm handle that, as well?
07:35:29  <ljharb>there's not one tool that handles both
07:35:37  <ljharb>use one tool to monitor, and one tool to switch node versions
07:35:43  <texinwien>that's what I figured
07:35:53  <ljharb>you wouldn't want a tool that does too many things. each thing should do one thing well.
07:35:54  * c4milojoined
07:35:54  <texinwien>Do you know whether it's possible with n rather than nvm?
07:36:04  <ljharb>i'm sure it is, i don't use n
07:36:09  <texinwien>indeed - the unix philosophy
07:36:14  * zfoggjoined
07:36:15  * shreddingquit (Quit: shredding)
07:36:17  * babsvikjoined
07:36:30  <texinwien>ok - am having trouble getting nvm installed on my server, so I have been using n. Will have a look at n's docs
07:36:31  <texinwien>thanks
07:36:36  <ljharb>probably `n use 0.10 supervisor app.js` or something
07:36:44  <ljharb>texinwien: wait, you are? what trouble?
07:36:50  <ljharb>i maintain nvm, so that shouldn't be the case
07:36:52  * danielpquinnquit (Ping timeout: 255 seconds)
07:36:52  * sh1mmerquit (Ping timeout: 245 seconds)
07:36:52  <texinwien>let me check
07:37:01  <ljharb>https://github.com/creationix/nvm , not the one on npm tho
07:37:05  * ldgoodjoined
07:37:06  * dejanrquit (Remote host closed the connection)
07:37:10  * risto__joined
07:37:10  * staar2joined
07:37:16  <texinwien>I haven't looked at it in a few days - let me see my notes and I'll get back to you.
07:37:20  * h0mebrewerquit (Remote host closed the connection)
07:37:22  <ljharb>ok - `curl https://raw.githubusercontent.com/creationix/nvm/v0.12.2/install.sh | bash` should be all you need
07:37:46  * ninseiquit (Remote host closed the connection)
07:37:55  * h0mebrewerjoined
07:37:58  * ninseijoined
07:38:00  * ninseiquit (Excess Flood)
07:38:00  <ljharb>if you have ubuntu, there's also https://github.com/creationix/nvm/issues/394 that has a workaround
07:38:12  * ninseijoined
07:38:14  * ninseiquit (Excess Flood)
07:38:17  * shreddingjoined
07:38:26  * ninseijoined
07:38:32  * aakashquit (Ping timeout: 245 seconds)
07:38:58  * sh1mmerjoined
07:39:00  <texinwien>Sorry for the alarm - I'd contacted my host's tech support last week but hadn't seen their reply
07:39:59  <texinwien>it wasn't a problem with nvm - it was a problem with my shell not using the current environment
07:40:12  * TaRaKajoined
07:40:21  * dob_joined
07:40:46  * c4miloquit (Ping timeout: 264 seconds)
07:40:49  * danjenkinsjoined
07:40:49  <ljharb>ah ok
07:41:15  * kid_icarusquit (Ping timeout: 255 seconds)
07:41:16  * TheAceOfHeartsjoined
07:42:31  * thealphanerdquit (Quit: thealphanerd)
07:42:34  * h0mebrewerquit (Ping timeout: 264 seconds)
07:42:44  * mnngfltgjoined
07:42:51  * p0sixpscljoined
07:43:24  * divramodjoined
07:44:01  * promethquit (Read error: Connection reset by peer)
07:44:13  * hartsockjoined
07:44:36  * zfoggquit (Ping timeout: 250 seconds)
07:44:39  * harthquit (Remote host closed the connection)
07:45:08  * Peder_joined
07:45:19  * Patrick_Baitmanjoined
07:45:27  <texinwien>getting there, but it's telling me it can't find the supervisor module.
07:45:39  <texinwien>I installed it globally
07:45:46  * __TheEwok__joined
07:46:08  <ljharb>you have to install it for each version of node
07:46:08  * abeant1joined
07:46:12  <ljharb>ie, after you `nvm use`
07:46:13  <staar2>currently the best mongodb wrapper is still mongojs ?
07:46:15  * qawse_joined
07:46:33  <texinwien>a ha - will give that a shot.
07:47:06  * cj3kim_quit (Remote host closed the connection)
07:47:42  * richiebkrquit (Remote host closed the connection)
07:48:22  * hartsockquit (Ping timeout: 240 seconds)
07:49:21  * menneajoined
07:49:22  * tilgoviquit (Remote host closed the connection)
07:49:45  * nclsjoined
07:49:53  <texinwien>nvm is still unable to find supervisor
07:50:12  <texinwien>it's looking in the current directory from which I'm running the run command
07:50:12  * __TheEwok__quit (Ping timeout: 245 seconds)
07:50:25  <ljharb>you did `npm install -g supervisor`?
07:50:29  <texinwien>I did
07:50:37  <ljharb>and then `supervisor` by itself?
07:50:58  * zfoggjoined
07:51:38  * Joulsejoined
07:52:33  * erollquit (Remote host closed the connection)
07:52:34  * thomastutsjoined
07:52:51  * joshonthewebquit (Quit: Computer has gone to sleep.)
07:52:56  * torlancojoined
07:53:01  * mich-cookquit (Quit: Leaving.)
07:53:08  <staar2>I ask again, currently the best mongodb wrapper is still mongojs ?
07:53:15  <ljharb>staar2: i like mongoose
07:53:41  * boogiequit (Remote host closed the connection)
07:53:58  <staar2>mongoose is a bit heavy weight, dont you think so ?
07:54:17  <ljharb>i don't, no
07:54:25  * kid_icarusjoined
07:54:34  * why_awayquit (Remote host closed the connection)
07:54:34  <staar2>:D
07:55:23  <texinwien>supervisor runs OK on its own.
07:55:26  * walterheckjoined
07:55:30  * pickelsjoined
07:55:53  * jakehowquit (Ping timeout: 256 seconds)
07:56:09  <ljharb>texinwien: ok great - and what's `nvm current` say
07:56:11  * intellixjoined
07:56:43  <texinwien>v0.11.13
07:56:53  * GreenJelloquit (Quit: Computer has gone to sleep.)
07:57:00  <texinwien>which I just installed, then ran nvm use 0.11.13
07:57:11  <texinwien>then npm install -g supervisor
07:57:13  <ljharb>ah right sorry
07:57:17  <ljharb>`nvm run` is to run `node`
07:57:26  * GreenJellojoined
07:57:48  * josephcsquit (Quit: Computer has gone to sleep.)
07:57:49  * torlancoquit (Ping timeout: 272 seconds)
07:58:16  * HenrikJoretegquit (Quit: Computer has gone to sleep.)
07:58:18  * fbenoitjoined
07:58:22  * josephcsjoined
07:58:24  * mewmquit (Read error: Connection reset by peer)
07:58:32  * esakkirajquit (Quit: Page closed)
07:58:34  * danjenkinsquit (Quit: danjenkins)
07:58:50  * h0mebrewerjoined
07:58:50  * okdamnjoined
07:58:54  <okdamn>hello!
07:59:04  <ljharb>texinwien: try `NODE_VERSION=0.11 $NVM_DIR/nvm-exec supervisor`
07:59:18  * delightquit (Read error: Connection reset by peer)
07:59:22  <ljharb>texinwien: i still need to make that simpler :-) the other alternative is to make an `npm run` command for supervisor
07:59:29  * IvanoffCSIquit (Remote host closed the connection)
07:59:39  <okdamn>can someone help me with this
07:59:44  * delightjoined
07:59:49  <okdamn>im trying setting up a model for mongoose
08:00:05  <okdamn>model/index.js -> http://pastebin.com/fZD7B0ww
08:00:13  <okdamn>model/users.js -> http://pastebin.com/N72xsz6x
08:00:20  <okdamn>it return error: db is undefined
08:00:21  <okdamn>:(
08:00:41  <ljharb>okdamn: ask in #mongoosejs also
08:00:42  <texinwien>ok, ran that - now what's the command to run my app with supervisor? :)
08:00:42  <okdamn>i would like to be able to call model.users.doSomething() then in http files
08:00:51  * kaffeeleichejoined
08:01:06  * kurionjoined
08:01:10  <okdamn>ljharb: yeah thanks but i think its more a node problem for me, i mean my problem with node logic
08:01:25  <texinwien>or do I need to prefix my flags and script name with the command you provided above?
08:01:27  * kaffeebohnequit (Quit: Textual IRC Client: www.textualapp.com)
08:01:41  * nexnodedquit (Remote host closed the connection)
08:01:43  * kaffeeleichechanged nick to kaffeebohne
08:01:48  * hannesvd_quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
08:01:56  * GreenJelloquit (Ping timeout: 255 seconds)
08:02:11  * nexnodedjoined
08:02:27  <ljharb>texinwien: that command, but 'supervisor app.js' or something
08:02:31  * jayrobotquit (Ping timeout: 255 seconds)
08:02:38  <okdamn>ljharb: looks like db is undefined so im doing something wrong but i cant understand what
08:02:40  * Swizec_joined
08:02:53  * prototypealexjoined
08:02:55  <texinwien>gotcha - think I'm getting there
08:02:56  <ljharb>okdamn: where's "db" defined in http://pastebin.com/fZD7B0ww
08:03:02  * josephcsquit (Ping timeout: 260 seconds)
08:03:19  <okdamn>ljharb: db = mongoose.connection
08:03:20  <okdamn>u see?
08:03:26  * kazuponquit (Remote host closed the connection)
08:03:29  <okdamn>then require('./users')(db)
08:03:34  <okdamn>but in users.js it return undefined
08:03:35  <okdamn>:(
08:04:04  * torlancojoined
08:04:12  * Swizecquit (Ping timeout: 255 seconds)
08:04:55  * jakecraigejoined
08:05:00  * noobeequit
08:05:50  <ljharb>is mongoose already connected at that point?
08:05:57  <okdamn>ljharb: nope
08:06:02  <ljharb>so then it's not defined yet
08:06:09  <ljharb>you have to connect to the db before you can access mongoose.connection
08:06:15  * dypsilonjoined
08:06:18  <ljharb>ie, in the "open" handler, then you can pass "db" to the users module
08:06:26  <okdamn>uhmm i tryed moving var users down to connect but looks the same
08:06:32  * nexnodedquit (Ping timeout: 245 seconds)
08:06:34  * sequoias_quit (Read error: Connection reset by peer)
08:06:41  * GregZ_quit (Ping timeout: 272 seconds)
08:06:56  * danjenkinsjoined
08:06:56  * sequoiasjoined
08:07:08  <okdamn>so i need to wait to be connected before to export?
08:07:17  <okdamn>i mean how if its async ?
08:07:20  * joshonthewebjoined
08:07:45  * nd__joined
08:07:57  * prototypealexquit (Ping timeout: 272 seconds)
08:09:18  * jakecraigequit (Ping timeout: 250 seconds)
08:09:53  * nuizzyquit (Quit: ChatZilla 0.9.90.1 [Firefox 33.0a1/20140719030203])
08:10:36  * frankbli_joined
08:10:44  * frankblizzardquit (Read error: Connection reset by peer)
08:10:56  * divramodquit (Quit: leaving)
08:10:58  * jakecraigejoined
08:11:49  * aakashjoined
08:12:12  * chevett1quit (Read error: Connection reset by peer)
08:12:32  * chevettjoined
08:12:35  <ljharb>okdamn: right, you can't. i'm saying that you can't rely on the db being present until after you're connected
08:12:59  <okdamn>ljharb: uhmmm im reading here actually http://stackoverflow.com/questions/13668547/exporting-a-mongoose-database-module
08:13:01  <okdamn>but mmm
08:13:11  * sapiosexualquit (Ping timeout: 264 seconds)
08:13:41  * michaelmcmillanjoined
08:13:57  * michaelmcmillanquit (Changing host)
08:13:57  * michaelmcmillanjoined
08:13:57  * michaelmcmillanquit (Changing host)
08:13:57  * michaelmcmillanjoined
08:14:23  <ThreeOClock>okdamn: Your users.js export is a parameter-less function.
08:14:25  * hannesvdvrekenjoined
08:14:26  * xiinotulpchanged nick to plutoniix
08:14:37  * kievechuaquit (Read error: Connection reset by peer)
08:14:49  <okdamn>ThreeOClock: uh? :P
08:15:05  <ThreeOClock>http://pastebin.com/N72xsz6x
08:15:31  * arntempelgibbarnjoined
08:15:33  * frankbli_quit (Ping timeout: 272 seconds)
08:15:35  * frankblizzardjoined
08:15:35  * kfennjoined
08:15:39  * h0mebrewerquit (Remote host closed the connection)
08:15:46  <ThreeOClock>You export a function with parameters: }(require, module));
08:16:03  <ThreeOClock>and then in your main file, you call it as
08:16:04  * kievechuajoined
08:16:07  <ThreeOClock>users = require('./users')(db);
08:16:12  * h0mebrewerjoined
08:16:12  <ThreeOClock>passing only one parameter.
08:16:14  * jakecraigequit (Ping timeout: 250 seconds)
08:16:18  * abeantquit (Quit: Lingo - http://www.lingoirc.com)
08:16:24  * xjiujiujoined
08:16:32  * slainer68joined
08:16:35  <texinwien>ljharb: thanks for walking me through it. once I killed all of the orphan processes I'd started with my random command attempts, everything started working.
08:16:40  <ThreeOClock>Why?
08:16:51  * abeant1quit (Quit: Leaving.)
08:17:05  * cjmjoined
08:17:12  <texinwien>Now I just need to figure out how to get nvm and/or supervisor to recognize the --use-strict flag
08:17:13  * Willow____quit (Quit: Computer has gone to sleep.)
08:17:14  * edulixquit (Ping timeout: 255 seconds)
08:17:17  <ThreeOClock>Unless I'm reading the wrong files, of course. :<
08:17:23  * kvzjoined
08:17:24  * kurionquit (Read error: Connection reset by peer)
08:17:29  * GaborMjoined
08:17:30  * joshonthewebquit (Quit: Computer has gone to sleep.)
08:17:34  <okdamn>ThreeOClock: cause i just want db to be available in users.js
08:17:35  * aslantjoined
08:17:36  <okdamn>from index.js
08:17:41  * kurionjoined
08:17:48  * mathieuhaysjoined
08:18:09  <ljharb>oh duh
08:18:10  * rgljoined
08:18:27  <ljharb>that's not how require works okdamn
08:18:39  <ljharb>you can only do (db) if you have exported a function, and it takes an argument
08:18:43  <ljharb>you can't push things into the local scope that way
08:18:44  * yalamberquit (Ping timeout: 250 seconds)
08:18:54  * dhfromkoreaquit (Remote host closed the connection)
08:18:57  * whyyjoined
08:18:58  <ljharb>okdamn: ie, `module.exports = function (db) {…`
08:19:02  <okdamn>guys i dunno im not expert
08:19:19  <okdamn>ljharb: so i need db as parameter for export ?
08:19:35  * dhfromkoreajoined
08:19:47  * modojoined
08:19:56  <ljharb>if you want the exported function to be callable with a parameter, then yes, it has to have a parameter
08:20:00  * edulixjoined
08:20:19  * h0mebrewerquit (Read error: No route to host)
08:20:37  * h0mebrewerjoined
08:21:12  * yho_joined
08:21:24  <ThreeOClock>You're doing , UserModel = db.model('User', { in RSVP... But it has no access to db, only the function you export will have it.
08:21:32  * cjmquit (Ping timeout: 240 seconds)
08:21:55  * dob_quit (Remote host closed the connection)
08:21:57  <ThreeOClock>And even then it'll be bound to 'resolve'... It really is a mess. :)
08:22:17  <okdamn>mmm i cant get very well damn
08:22:30  <ThreeOClock>Rewrite it so that your users.js is the one that requires and uses mongoose, and exports a 'user' object.
08:22:41  * dob_joined
08:23:06  <okdamn>ThreeOClock: nope i would like to require('/model') so it uses /model/index.js
08:23:07  * platoquit (Ping timeout: 245 seconds)
08:23:08  <okdamn>for all models
08:23:09  * rglquit (Ping timeout: 272 seconds)
08:23:25  <okdamn>so model requires users.js where all the user model functions are
08:23:39  * sequoiasquit (Ping timeout: 256 seconds)
08:23:46  * dob_quit (Remote host closed the connection)
08:23:52  * dob_joined
08:24:11  <okdamn>:P
08:24:30  * modoquit (Ping timeout: 260 seconds)
08:25:33  * yho_quit (Ping timeout: 240 seconds)
08:25:40  * nexnodedjoined
08:25:45  * phuhquit (Read error: Connection reset by peer)
08:26:03  * aakashquit (Ping timeout: 240 seconds)
08:26:08  <ThreeOClock>You can require mongoose in several files, you don't need to pass the db object, as you are doing.
08:26:12  * phuhjoined
08:26:42  * kid_icarusquit (Quit: Leaving)
08:26:50  <ThreeOClock>You can define all the Schemas and Models you want in files, each having their own "require('mongoose')".
08:27:28  <efdee>passing the db object is better though
08:27:31  * sorribasjoined
08:27:59  * kexquit (Remote host closed the connection)
08:28:02  * donbittojoined
08:28:12  * donbittopart
08:28:17  <ThreeOClock>Hmm, probably, I'm not exactly sure anymore... \(o_O )/ Need caffeine first.
08:28:27  * bootsWitDaFurquit (Read error: Connection reset by peer)
08:28:39  <efdee>or at least i prefer it. more dependency injection-ish
08:28:40  * aakashjoined
08:28:47  * bootsWitDaFurjoined
08:28:51  * josephcsjoined
08:28:58  <efdee>also, if you just require("mongoose") and your code is split over different node modules, you're not gonna get the same instance back every time
08:29:32  <ljharb>yes, you will
08:29:39  <ljharb>the require cache guarantees you will
08:29:52  <ljharb>oh, unless you mean different mongoose versions?
08:30:01  * IvanoffCSIjoined
08:30:09  <ljharb>but that'd be really difficult to do not on purpose
08:30:34  * zfoggquit (Ping timeout: 260 seconds)
08:31:12  * yalamberjoined
08:31:18  <staar2>how to use promises(bluebird) and mongojs ?
08:31:22  * ph88joined
08:32:00  * systemfaultquit (Quit: systemfault)
08:32:08  * caitpjoined
08:32:10  * sequoiasjoined
08:32:34  * dignifiedquirejoined
08:33:02  * josephcsquit (Ping timeout: 250 seconds)
08:33:06  * danielpquinnjoined
08:33:21  * GregZ_joined
08:35:10  * maz-devjoined
08:35:49  * yho_joined
08:35:54  * yoshokatanajoined
08:35:59  * yoshokatanaquit (Client Quit)
08:36:07  * yho_quit (Client Quit)
08:36:37  * zfoggjoined
08:36:38  * IvanoffCSIquit (Ping timeout: 260 seconds)
08:36:41  * yho_joined
08:36:42  * edyjoined
08:37:03  * h0mebrewerquit (Remote host closed the connection)
08:37:10  * caitpquit (Ping timeout: 264 seconds)
08:37:16  * groomquit (Quit: Leaving.)
08:37:29  * danielpquinnquit (Ping timeout: 255 seconds)
08:37:36  * josephcsjoined
08:37:39  * h0mebrewerjoined
08:37:42  * qawse_quit
08:37:59  * danjenkinsquit (Quit: danjenkins)
08:39:46  * kachi8joined
08:39:54  <okdamn>ThreeOClock: ok but how can start a unique mongoose connection?
08:39:58  * rhonabwyquit (Ping timeout: 250 seconds)
08:40:03  * GregZ_quit (Ping timeout: 240 seconds)
08:40:04  * maz-devquit (Ping timeout: 250 seconds)
08:40:06  * mingwandroidjoined
08:40:08  <okdamn>i want to avoid adding database connection in http files
08:40:13  <okdamn>i created models for db
08:40:16  <okdamn>for all db stuffs
08:40:30  * h0mebrewerquit (Read error: No route to host)
08:40:52  * yho_quit (Ping timeout: 240 seconds)
08:41:03  * h0mebrewerjoined
08:41:15  * groomjoined
08:41:40  * Abhishek_joined
08:42:28  * h0mebrewerquit (Remote host closed the connection)
08:42:47  * nd__quit (Ping timeout: 245 seconds)
08:42:48  * yho_joined
08:42:50  * jeff__joined
08:43:03  * h0mebrewerjoined
08:44:07  * night-owl2quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
08:44:14  * akivaquit (Ping timeout: 255 seconds)
08:44:25  * Sebastien-Ljoined
08:44:59  * kuzzz0quit (Ping timeout: 264 seconds)
08:45:37  * night-owl2joined
08:46:11  * zfoggquit (Ping timeout: 264 seconds)
08:46:17  * dhfromkoreaquit (Remote host closed the connection)
08:46:28  * danjenkinsjoined
08:46:49  * dhfromkoreajoined
08:47:20  * jeff__quit (Ping timeout: 250 seconds)
08:47:22  * GaborMquit (Remote host closed the connection)
08:47:50  * h0mebrewerquit (Ping timeout: 260 seconds)
08:48:13  * BigCat2Kjoined
08:48:15  * weilujoined
08:48:16  <Sharaal>@okdamn: i have for that things a service container which has all services like the db connection and which given to all the modules
08:48:19  * maz-devjoined
08:48:45  <okdamn>Sharaal: can u share it pls? :P
08:49:21  * dseitzquit (Quit: Textual IRC Client: www.textualapp.com)
08:49:30  * anonymous_quit (Remote host closed the connection)
08:49:32  * walterheckquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
08:49:51  * joshonthewebjoined
08:49:57  * GaborMjoined
08:50:12  <Sharaal>@okdamn: https://github.com/dragonnodejs/skeleton
08:50:23  * night-owl2quit (Ping timeout: 264 seconds)
08:50:52  * zfoggjoined
08:52:11  * __quimjoined
08:52:33  * BigCat2Kquit (Ping timeout: 256 seconds)
08:52:42  * maz-devquit (Ping timeout: 245 seconds)
08:52:47  * tiglionabbitquit (Quit: tiglionabbit)
08:52:53  * dataidquit (Quit: out.)
08:53:01  * michaelchumquit (Quit: Connection closed for inactivity)
08:54:20  <staar2>What I am doing wrong with this promise ? http://pastebin.com/CVF8953P its not returning the promise
08:54:47  * MrBabarjoined
08:55:16  * harthjoined
08:55:17  * h0mebrewerjoined
08:55:17  * qawsejoined
08:55:57  * vf1joined
08:56:21  * dhfromkoreaquit (Remote host closed the connection)
08:56:24  * dainischanged nick to dainis_
08:56:27  * mathieuhaysquit (Quit: Lingo - http://www.lingoirc.com)
08:56:29  * aslantquit (Remote host closed the connection)
08:56:52  * Keanu73joined
08:57:05  * dainis_changed nick to dainis
08:57:08  * dainischanged nick to dainis_
08:57:42  * kazuponjoined
08:57:56  * TuRnaD0quit (Read error: Connection reset by peer)
08:58:10  * nd__joined
08:58:26  * zequixjoined
08:59:40  * harthquit (Ping timeout: 255 seconds)
09:00:06  * kfennquit (Remote host closed the connection)
09:00:26  * JamesMGreenejoined
09:00:49  * intellixquit (Quit: My iMac has gone to sleep. ZZZzzz…)
09:01:09  * vf1quit (Ping timeout: 272 seconds)
09:01:17  * walterheckjoined
09:01:49  * JamesMGreenequit (Client Quit)
09:02:04  * JokerYu1quit (Quit: JokerYu1)
09:02:28  * h0mebrewerquit (Remote host closed the connection)
09:02:55  * rhonabwyjoined
09:03:00  * h0mebrewerjoined
09:03:00  * phipesjoined
09:03:25  * Nikkowjoined
09:06:15  * CainVampyrjoined
09:06:37  * mahesh_quit (Read error: Connection reset by peer)
09:06:52  * Nyanko-senseiquit (Remote host closed the connection)
09:07:11  * clarkkquit (Remote host closed the connection)
09:07:16  * h0mebrewerquit (Ping timeout: 250 seconds)
09:08:34  * hactorjoined
09:10:07  * qawsequit (Quit: Try HydraIRC -> http://www.hydrairc.com <-)
09:10:10  * jktjoined
09:10:12  * kfennjoined
09:10:25  * OnAirjoined
09:10:50  * jakecraigejoined
09:10:59  * qawsejoined
09:11:13  <jkt>hi there, do you guys care about the EPEL packaging for RHEL/CentOS, or should I go elsewhere?
09:11:17  * cryptonite_quit (Quit: cryptonite_)
09:11:28  * cjmjoined
09:11:46  <jkt>I'm asking because the nodejs shipped with EPEL for EL6 chokes in the inherits module due to the "inherits@2" directory name and a symlink "inherits" that points to there
09:11:55  * shafoxquit (Ping timeout: 272 seconds)
09:12:12  * aberiglejoined
09:12:35  <jkt>and also because, apparently, NODE_PATH is not set at all, and thus I have to run my code with NODE_PATH=/usr/lib/node_modules env var if I want it to find modules installed by yum/rpm
09:12:37  * intellixjoined
09:13:10  * cakirkejoined
09:14:05  * gorhgorhjoined
09:15:57  * petka_joined
09:16:12  * jakecraigequit (Ping timeout: 255 seconds)
09:16:21  * cjmquit (Ping timeout: 272 seconds)
09:16:30  * mlourojoined
09:16:39  * aortmannmjoined
09:17:03  * shafoxjoined
09:17:27  * imjoshhollowayjoined
09:17:33  * Tugjoined
09:17:36  * dead_horsejoined
09:17:49  * imjoshhollowaypart
09:17:54  * c4milojoined
09:18:04  * clarkkjoined
09:18:34  * maheshjoined
09:18:36  * SamuraiJackjoined
09:18:59  * rgljoined
09:20:53  * Stardusterjoined
09:21:08  * fixljoined
09:21:51  * menneaquit (Read error: Connection reset by peer)
09:22:58  * dead_horsequit (Remote host closed the connection)
09:23:07  * rglquit (Ping timeout: 245 seconds)
09:23:18  * i336_quit (Ping timeout: 260 seconds)
09:23:49  * dainis_changed nick to dainis
09:24:36  * einaros_part
09:25:40  * delightquit (Quit: delight)
09:25:41  * ssarahjoined
09:25:44  * maveneaglequit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
09:25:46  * phuhquit (Read error: Connection reset by peer)
09:25:55  <jkt>ok, https://bugzilla.redhat.com/show_bug.cgi?id=1125868 it is for the inherits@2 bit
09:26:13  * phuhjoined
09:26:33  * OnAirquit (Ping timeout: 255 seconds)
09:27:29  * tillepsquit (Quit: tilleps)
09:27:41  * delightjoined
09:27:46  * kuzz0joined
09:29:19  * kvzquit (Quit: kvz)
09:30:43  * joshonthewebquit (Quit: Computer has gone to sleep.)
09:30:58  * Aswebbjoined
09:31:15  * CainVampyrquit (Remote host closed the connection)
09:31:43  * CainVampyrjoined
09:31:54  * stephen_joined
09:32:18  * weiluquit
09:32:25  * tkuchikijoined
09:32:31  * Hounddogjoined
09:32:56  * caitpjoined
09:33:02  * bencevansjoined
09:33:03  * maveneaglejoined
09:33:49  * delight_joined
09:33:53  * danielpquinnjoined
09:33:55  * torlancoquit (Remote host closed the connection)
09:34:02  * qawsequit (Quit: Try HydraIRC -> http://www.hydrairc.com <-)
09:35:13  * tkuchiki_quit (Ping timeout: 255 seconds)
09:35:17  * delightquit (Ping timeout: 245 seconds)
09:35:18  * delight_changed nick to delight
09:36:03  * MrBabarquit (Ping timeout: 240 seconds)
09:36:27  * TheAceOfHeartsquit (Quit: Leaving.)
09:36:49  * torlancojoined
09:37:03  * caitpquit (Ping timeout: 240 seconds)
09:38:01  * kievechuaquit (Quit: kievechua)
09:38:07  * danielpquinnquit (Ping timeout: 245 seconds)
09:38:38  * maksimlinquit (Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140715215003])
09:38:52  * gorhgorhquit (Quit: gorhgorh)
09:39:11  * gorhgorhjoined
09:39:40  * ReAnnaquit (Quit: gg no re)
09:40:25  * torlanco_joined
09:40:28  * torlancoquit (Read error: Connection reset by peer)
09:41:03  * sequoiasquit (Ping timeout: 272 seconds)
09:41:07  * stayarrrquit (Quit: Leaving...)
09:41:41  * bulkanquit (Remote host closed the connection)
09:41:47  * whyyquit (Read error: Connection reset by peer)
09:42:24  * whyyjoined
09:42:39  * Mobutilsquit (Quit: Mobutils)
09:43:11  * hkon_quit (Remote host closed the connection)
09:43:24  * sequoiasjoined
09:43:44  * hkon_joined
09:43:53  * manuelbiehjoined
09:43:53  * dataidjoined
09:44:22  * risto__quit (Ping timeout: 240 seconds)
09:44:22  * staar2quit (Ping timeout: 240 seconds)
09:44:27  * cagedwisdomquit (Remote host closed the connection)
09:45:02  * hartsockjoined
09:45:09  * petershawjoined
09:45:26  * Willow____joined
09:45:30  * frkoutquit (Ping timeout: 250 seconds)
09:46:12  * kievechuajoined
09:46:36  * __TheEwok__joined
09:47:40  * lbdremyjoined
09:48:06  * hkon_quit (Ping timeout: 250 seconds)
09:48:47  * Nyanko-senseijoined
09:49:25  * menneajoined
09:49:44  * hartsockquit (Ping timeout: 250 seconds)
09:50:39  * nodweberjoined
09:50:52  * comacatquit (Ping timeout: 240 seconds)
09:51:01  * h0mebrewerjoined
09:51:07  * __TheEwok__quit (Ping timeout: 245 seconds)
09:52:17  * TimmyTonesjoined
09:52:18  * aslantjoined
09:52:33  * katlogicquit (Read error: Connection reset by peer)
09:52:40  * hkon_joined
09:53:02  * robmorri_joined
09:55:54  * robmorrisseyquit (Ping timeout: 250 seconds)
09:56:40  * Peder_quit (Ping timeout: 250 seconds)
09:56:53  * dutisquit (Ping timeout: 272 seconds)
09:56:57  * Nikkowquit (Quit: Nikkow)
09:57:26  * Peder_joined
09:57:31  * katlogicjoined
09:58:08  * weilujoined
09:58:11  * TimboTonesjoined
09:58:58  * okdamnquit (Quit: Leaving.)
09:59:11  * maz-devjoined
09:59:26  * seydoggyjoined
10:00:01  * charuruquit (Remote host closed the connection)
10:00:47  * scrooge_mcduckjoined
10:00:51  <scrooge_mcduck>Good day everyone!
10:01:06  * intellixquit (Ping timeout: 250 seconds)
10:01:06  <scrooge_mcduck>I was curious if there is something like Capistrano (ruby-based) for node.js? Anyone have any clue?
10:01:08  * Darkingzjoined
10:01:10  * TimmyTonesquit (Ping timeout: 264 seconds)
10:01:31  * Patric___joined
10:01:37  * HenrikJoretegjoined
10:01:49  * nd___joined
10:02:04  * TaRaKa_joined
10:02:10  * mahesh_joined
10:02:15  * walterhe_joined
10:02:17  * danielpquinnjoined
10:02:40  * torlanco_quit (Remote host closed the connection)
10:02:43  * sh1mmer_joined
10:03:41  * pickels1joined
10:03:57  * seydoggyquit (Ping timeout: 256 seconds)
10:04:19  * charurujoined
10:04:40  * kievechuaquit (Quit: kievechua)
10:04:54  * Patrick_Baitmanquit (Ping timeout: 250 seconds)
10:05:05  * tisbajoined
10:05:33  * cjmjoined
10:05:40  * shafox_joined
10:05:42  * Tug_joined
10:05:49  * Nikkowjoined
10:06:35  * Patric___quit (Ping timeout: 264 seconds)
10:06:37  * yalamber_joined
10:06:47  * danielpquinnquit (Ping timeout: 256 seconds)
10:08:13  * h0mebrewerquit (Remote host closed the connection)
10:08:38  * modojoined
10:08:45  * h0mebrewerjoined
10:08:59  * maveneaglequit (Ping timeout: 264 seconds)
10:09:36  * jktpart
10:09:44  * nexnodedquit (Remote host closed the connection)
10:09:47  * cjmquit (Ping timeout: 245 seconds)
10:10:04  * maveneaglejoined
10:10:48  * jakecraigejoined
10:10:57  * tkuchikiquit (Remote host closed the connection)
10:11:06  * Sebastien-Lquit (Ping timeout: 255 seconds)
10:11:13  * h0mebrewerquit (Read error: No route to host)
10:11:24  * walterheckquit (*.net *.split)
10:11:24  * nd__quit (*.net *.split)
10:11:24  * kazuponquit (*.net *.split)
10:11:24  * yalamberquit (*.net *.split)
10:11:24  * pickelsquit (*.net *.split)
10:11:24  * TaRaKaquit (*.net *.split)
10:11:24  * sh1mmerquit (*.net *.split)
10:11:25  * tkuchikijoined
10:11:39  * robmorri_quit (Read error: Connection reset by peer)
10:11:40  * morenoh153quit (Ping timeout: 255 seconds)
10:11:43  * h0mebrewerjoined
10:11:53  * maheshquit (*.net *.split)
10:11:53  * Tugquit (*.net *.split)
10:11:53  * shafoxquit (*.net *.split)
10:11:53  * phipesquit (*.net *.split)
10:11:53  * xnqquit (*.net *.split)
10:11:53  * ivan\quit (*.net *.split)
10:11:53  * CptCleverquit (*.net *.split)
10:11:53  * XemsDoomquit (*.net *.split)
10:12:13  * slainer68quit (Remote host closed the connection)
10:12:29  * robmorrisseyjoined
10:13:11  * modoquit (Ping timeout: 264 seconds)
10:13:35  * ldgoodquit (Ping timeout: 256 seconds)
10:13:53  * bollullerajoined
10:14:18  * xnqjoined
10:14:19  * ivan\joined
10:14:21  * manuelbiehquit (Read error: Connection reset by peer)
10:14:25  * ivan\quit (Max SendQ exceeded)
10:14:45  * listochkinjoined
10:14:55  * xnqquit (*.net *.split)
10:15:21  * HenrikJoretegquit (Quit: Computer has gone to sleep.)
10:16:10  * jakecraigequit (Ping timeout: 255 seconds)
10:16:58  * GaborMquit
10:17:14  * nexnodedjoined
10:17:36  * msankhalaquit (Quit: This computer has gone to sleep)
10:17:40  * CptCleverjoined
10:17:40  * XemsDoomjoined
10:17:40  * ivan\joined
10:17:40  * xnqjoined
10:17:54  * ivan\quit (Max SendQ exceeded)
10:18:17  * ivan\joined
10:18:52  * torlancojoined
10:19:40  * rgljoined
10:19:56  * rmgjoined
10:20:00  * ed209quit (Remote host closed the connection)
10:20:06  * ed209joined
10:20:08  * sccjoined
10:20:16  * intellixjoined
10:20:19  * kexjoined
10:20:19  * notbryan_quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
10:20:26  <Sharaal>@scrooge_mcduck: http://gruntjs.com/ perhaps is what you search?
10:21:07  * zfoggquit (Ping timeout: 255 seconds)
10:21:07  * wilmoorequit (Ping timeout: 255 seconds)
10:21:30  * kevireillyquit (Quit: kevireilly)
10:21:41  * tillepsjoined
10:22:52  * chieljoined
10:22:56  * chielpart
10:23:28  * hoyongquit (Read error: Connection reset by peer)
10:23:44  * artecedjoined
10:23:50  * xocelquit (Remote host closed the connection)
10:23:58  * rglquit (Ping timeout: 250 seconds)
10:24:10  * seydoggyjoined
10:24:27  * rmgquit (Ping timeout: 245 seconds)
10:25:05  * vampi-the-frogjoined
10:25:26  * maddock_quit
10:25:29  * kexquit (Ping timeout: 256 seconds)
10:26:00  * phuhquit (Read error: Connection reset by peer)
10:26:33  * weiluquit (Ping timeout: 240 seconds)
10:26:38  * Joulsequit (Quit: Joulse)
10:26:42  * phuhjoined
10:26:58  * fbenoitquit (Ping timeout: 255 seconds)
10:27:04  * airtonixjoined
10:27:07  * jpaulojoined
10:27:52  * bliceroquit (Ping timeout: 255 seconds)
10:27:52  * jongleberryquit (Ping timeout: 250 seconds)
10:28:11  * blicerojoined
10:28:25  * jpaulopart
10:28:58  * jongleberryjoined
10:29:28  * h0mebrewerquit (Remote host closed the connection)
10:29:40  * maz-devquit (Remote host closed the connection)
10:29:42  * listochkinquit (Remote host closed the connection)
10:30:02  * h0mebrewerjoined
10:30:04  * cotkojoined
10:30:33  * stephen_quit (Ping timeout: 240 seconds)
10:30:39  * acalbazajoined
10:30:43  * brianhermanjoined
10:31:00  * Sebastien-Ljoined
10:32:11  * Vinnyceptrjoined
10:33:03  * TimmyTonesjoined
10:33:13  * torlancoquit (Remote host closed the connection)
10:33:40  * caitpjoined
10:33:42  * IvanoffCSIjoined
10:33:48  * de_henne_changed nick to de_henne
10:34:02  * jonnybro1quit (Quit: Leaving.)
10:34:11  * tillepsquit (Quit: tilleps)
10:34:12  * therealkoopajoined
10:34:14  * playjaxquit (Read error: Connection timed out)
10:34:22  * h0mebrewerquit (Ping timeout: 245 seconds)
10:35:16  * enaqxjoined
10:35:20  * jongleberryquit (Ping timeout: 250 seconds)
10:36:34  * TimboTonesquit (Ping timeout: 264 seconds)
10:37:01  * chavezguquit (Remote host closed the connection)
10:37:08  * de_hennequit (Remote host closed the connection)
10:37:09  * dob_quit (Remote host closed the connection)
10:37:22  * weilujoined
10:37:36  * dob_joined
10:37:37  * Soothsayerjoined
10:38:03  * IvanoffCSIquit (Ping timeout: 240 seconds)
10:38:22  * caitpquit (Ping timeout: 264 seconds)
10:38:41  * de_hennejoined
10:38:43  * herrkinjoined
10:38:48  * Industrialjoined
10:38:52  <Industrial>Hi.
10:39:26  <Industrial>when I cp.fork(path, args) when args contains an object the object will be toStringed.
10:39:43  <Industrial>I want to instantiate a class in a child process but I also need to configure it with an object of options
10:39:57  * maz-devjoined
10:39:59  * khushildepjoined
10:40:07  <Industrial>in my case, an array of objects containing a startTime and endTime key
10:40:11  <Industrial>How do i do this?
10:40:27  * jeff__joined
10:42:16  * intellixquit (Ping timeout: 250 seconds)
10:42:28  * maveneaglequit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
10:42:46  * Relaedquit (Remote host closed the connection)
10:44:03  * raygarnerquit (Ping timeout: 252 seconds)
10:44:09  * iszakjoined
10:44:32  * h0mebrewerjoined
10:44:54  * SP33Dquit (Quit: Connection closed for inactivity)
10:44:56  * matrixdevukquit (Quit: Computer has gone to sleep.)
10:45:03  * jongleberryjoined
10:45:26  * matrixdevukjoined
10:45:53  * mt0xjoined
10:46:11  <Industrial>I will use JSON stringify for now
10:46:19  * acalbazaquit (Ping timeout: 255 seconds)
10:47:07  * h0mebrewerquit (Remote host closed the connection)
10:47:40  * h0mebrewerjoined
10:47:44  * playjaxjoined
10:48:05  * BigCat2Kjoined
10:48:15  <mt0x>Working on a project which will consist of a bunch of front-end components. Each of these components will have its own repo and grunt tasks... Should I make these private npm modules or git submodules? I prefer to work with npm but I need to know if this is a wrong way of handling this, as it really isnt nodejs specific packages.
10:49:55  * matrixdevukquit (Ping timeout: 255 seconds)
10:49:56  * dob_quit (Remote host closed the connection)
10:50:03  * dob_joined
10:50:52  * matrixdevukjoined
10:50:57  * matrixdevukquit (Client Quit)
10:51:05  <txdv>npm modules or git submodules
10:51:24  * matrixdevukjoined
10:51:28  <txdv>yeap
10:51:46  <txdv>use npm as a source control management tool and git as a package distrubtion system
10:51:56  * bootsWitDaFurquit (Quit: Leaving.)
10:52:05  * donbittojoined
10:52:10  * h0mebrewerquit (Ping timeout: 255 seconds)
10:52:22  * matrixdevukquit (Read error: Connection reset by peer)
10:52:30  * matrixdevukjoined
10:52:34  * BigCat2Kquit (Ping timeout: 250 seconds)
10:52:43  <iszak>shouldn't that be the other way around?
10:53:09  <iszak>git is a SCM, npm is a package distribition system
10:53:41  <txdv>i dont understand his question
10:53:53  <txdv>so i made funny
10:54:08  <txdv>i dont understand how npm and git are related
10:54:17  <txdv>and why he would want to use one instead of the other
10:54:39  <iszak>txdv: well you can use npm to pull down packages through git.
10:54:40  * d10n-workjoined
10:54:46  * maveneaglejoined
10:55:24  * shreddingquit (Quit: shredding)
10:56:34  * vf1joined
10:57:33  * xyNNNquit (Ping timeout: 240 seconds)
10:58:06  * Aswebbquit (Remote host closed the connection)
10:58:32  * Aswebbjoined
10:59:52  * yoshokatanajoined
10:59:58  * yoshokatanaquit (Client Quit)
11:00:06  * cjmjoined
11:00:40  * gli_quit (Quit: Leaving)
11:00:42  * listochkinjoined
11:01:03  * vf1quit (Ping timeout: 255 seconds)
11:01:04  * joshonthewebjoined
11:01:05  * kaekuquit (Quit: kaeku)
11:01:08  <kachi8>_
11:01:50  * kvzjoined
11:02:54  * xyNNNjoined
11:02:55  * Aswebbquit (Ping timeout: 244 seconds)
11:03:06  * danielpquinnjoined
11:03:25  * jeff__quit (Remote host closed the connection)
11:03:42  * kfennquit (Remote host closed the connection)
11:03:52  * kfennjoined
11:04:02  * jeff__joined
11:04:46  * cjmquit (Ping timeout: 255 seconds)
11:04:55  * khushildepquit (Quit: khushildep)
11:05:03  * jakecraigejoined
11:05:06  * bollullerapart
11:05:26  * grodtquit (Read error: Connection reset by peer)
11:05:42  * khushildepjoined
11:06:15  * kaspertidemannjoined
11:06:29  * DieguezZjoined
11:06:37  * GaborMjoined
11:06:40  * jenskarlsenquit (Ping timeout: 260 seconds)
11:07:02  * khushildepquit (Client Quit)
11:07:05  * Acidnerdjoined
11:07:15  * grodtjoined
11:07:18  * xyNNNquit (Ping timeout: 250 seconds)
11:07:24  * darius93joined
11:07:33  * danielpquinnquit (Ping timeout: 240 seconds)
11:07:45  <DieguezZ>Hi, i am trying to scrape a website. I made a code that works but its quite blocking. I am trying to do it in a non blocking way but i need some help https://ide.c9.io/dieguezz/pp
11:08:29  <brianherman>DieguezZ, can you use a pastebin
11:08:34  <DieguezZ>sure
11:08:40  * ccohnjoined
11:08:42  * __quim_joined
11:08:46  * mridgwayquit (Quit: mridgway)
11:09:00  <DieguezZ>http://pastebin.com/8v4yYpQs
11:09:07  * seishunjoined
11:09:12  * Aswebbjoined
11:09:35  * jakecraigequit (Ping timeout: 255 seconds)
11:09:40  <DieguezZ>and this is the one working http://pastebin.com/gRscDxxs
11:09:41  <brianherman>DieguezZ, you could change your headers to something like mozilla/5.0
11:09:44  * khushildepjoined
11:10:13  * whyyquit (Remote host closed the connection)
11:10:14  * infynyxxjoined
11:10:23  * farawayjoined
11:10:38  * jakecraigejoined
11:10:41  <brianherman>DieguezZ, http://stackoverflow.com/questions/11214718/is-it-possible-to-alter-http-requests-header-using-javascript
11:10:46  * __quimquit (Ping timeout: 264 seconds)
11:10:54  * honijoined
11:11:20  * sz0quit (Quit: My computer has gone to sleep. ZZZzzz…)
11:12:16  <DieguezZ>brianherman thats easy, what i want to do is not that at this moment.. i would just want to see it working in console.log
11:12:43  <brianherman>DieguezZ, oh oops whats the issue
11:12:44  <DieguezZ>but in the "non-blocking" version, at least thats what i am trying, i get empty values for data
11:12:54  <brianherman>DieguezZ, oh i see
11:13:03  * joshonthewebquit (Quit: Computer has gone to sleep.)
11:13:32  * piraxxxjoined
11:13:59  * prettyrobotsjoined
11:13:59  <DieguezZ>i must be missing something obvious, but i am a noob :P
11:14:30  * vampi-the-frogquit (Read error: Connection reset by peer)
11:14:37  <brianherman>DieguezZ, did you try this console.log(JSON.stringify(data); after line 26 in the loop?
11:14:44  * edefiezquit (Quit: My iMac has gone to sleep. ZZZzzz…)
11:14:58  * vampi-the-frogjoined
11:15:07  * infynyxxquit (Ping timeout: 255 seconds)
11:15:16  * raygarner2joined
11:15:17  * h0mebrewerjoined
11:16:04  * jakecraigequit (Ping timeout: 250 seconds)
11:16:06  <DieguezZ>u mean after var data?
11:16:22  <DieguezZ>im not sure what doc are u whatching
11:16:33  * kfennquit
11:16:41  * herouxquit (Ping timeout: 272 seconds)
11:17:01  * brianhermanquit (Quit: Leaving)
11:17:06  * systemfaultjoined
11:18:02  * whyyjoined
11:18:08  * aakashquit (Ping timeout: 255 seconds)
11:18:54  * hilkolantingajoined
11:19:04  * hugo_mossquit
11:19:40  * josephcsquit (Quit: Lingo - http://www.lingoirc.com)
11:19:41  * eschnoujoined
11:19:48  * kazuponjoined
11:19:56  * ingshtromjoined
11:19:56  * josephcsjoined
11:20:26  * rgljoined
11:20:39  * Patrick_Baitmanjoined
11:21:08  * mt0xquit (Quit: Page closed)
11:21:29  * nthgergojoined
11:21:56  * SamuraiJack_joined
11:22:03  <a0viedo>gm
11:22:06  * andrehjrjoined
11:22:46  * SamuraiJackquit (Ping timeout: 264 seconds)
11:24:30  * hilkolantingaquit (Quit: hilkolantinga)
11:24:44  * rglquit (Ping timeout: 250 seconds)
11:26:00  * phuhquit (Read error: Connection reset by peer)
11:26:23  * phuhjoined
11:26:29  * stephenjoined
11:26:32  * shakerjoined
11:26:35  * foofoobar_joined
11:26:42  * nexnodedquit (Remote host closed the connection)
11:26:43  * kevireillyjoined
11:26:49  * nd___quit (Ping timeout: 255 seconds)
11:26:53  * stephenchanged nick to Guest94340
11:27:52  * whyyquit (Remote host closed the connection)
11:27:54  * eschnouquit (Ping timeout: 260 seconds)
11:28:08  * Darkingzquit (Quit: Leaving)
11:28:10  * BBerry__changed nick to bberry_
11:28:30  * Darkingzjoined
11:28:40  * JoeNiedjoined
11:29:59  * xobbjoined
11:30:11  * kevireillyquit (Client Quit)
11:30:37  * nuckquit (Read error: Connection reset by peer)
11:31:03  * Sebastien-Lquit (Ping timeout: 240 seconds)
11:31:10  * Guest94340quit (Ping timeout: 264 seconds)
11:31:13  * foofoobar_quit (Ping timeout: 256 seconds)
11:31:33  * HelperW_joined
11:31:54  * rblackwequit (Read error: Connection reset by peer)
11:32:27  * lpinquit (Quit: Textual IRC Client: www.textualapp.com)
11:32:27  * nthgergoquit (Read error: Connection reset by peer)
11:32:36  * aberiglequit (Remote host closed the connection)
11:32:38  * nthgergojoined
11:32:49  * FernandoBassojoined
11:33:30  * seydoggyquit (Remote host closed the connection)
11:33:46  * slainer68joined
11:33:57  * HelperWquit (Ping timeout: 245 seconds)
11:34:07  * seydoggyjoined
11:34:22  * xobbquit (Ping timeout: 245 seconds)
11:34:24  * mlouroquit (Quit: Quit)
11:34:29  * IvanoffCSIjoined
11:34:33  * caitpjoined
11:34:40  * walterhe_quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
11:34:49  * robmorrisseyquit (Read error: Connection reset by peer)
11:35:03  * netj_quit (Ping timeout: 272 seconds)
11:35:10  * danyimjoined
11:35:14  * nuckjoined
11:35:22  * dob_quit (Remote host closed the connection)
11:35:37  * robmorrisseyjoined
11:35:51  * mlourojoined
11:35:56  * dob_joined
11:36:11  * xobbjoined
11:36:22  * h0mebrewerquit (Remote host closed the connection)
11:36:55  * nthgergo_joined
11:36:55  * nthgergoquit (Read error: Connection reset by peer)
11:36:58  * h0mebrewerjoined
11:37:55  * jdstankoskyjoined
11:38:15  * zequixquit (Remote host closed the connection)
11:38:23  * TimmyTonesquit (Ping timeout: 255 seconds)
11:38:30  * seydoggyquit (Ping timeout: 250 seconds)
11:39:32  * HelperW_quit (Remote host closed the connection)
11:39:33  * danyimquit (Ping timeout: 240 seconds)
11:39:34  * IvanoffCSIquit (Ping timeout: 264 seconds)
11:39:50  * topwobblejoined
11:40:00  * dxd828_joined
11:40:08  * HelperW_joined
11:40:19  * bberry_changed nick to bberry
11:40:22  * caitpquit (Ping timeout: 240 seconds)
11:40:34  * SamuraiJack__joined
11:40:53  * learner81joined
11:41:25  * h0mebrewerquit (Ping timeout: 256 seconds)
11:42:42  * standoojoined
11:43:01  * mahesh_quit (Ping timeout: 255 seconds)
11:43:11  * D4RK-PH0ENiXquit (Read error: Connection reset by peer)
11:43:26  * dob_quit (Remote host closed the connection)
11:43:29  * standooquit (Client Quit)
11:43:32  * dob_joined
11:43:37  * D4RK-PH0ENiXjoined
11:43:42  * h0mebrewerjoined
11:44:07  * xyNNNjoined
11:44:14  * xyNNNquit (Remote host closed the connection)
11:44:14  * yoshokatanajoined
11:44:20  * yoshokatanaquit (Client Quit)
11:44:21  * xyNNNjoined
11:44:34  * maheshjoined
11:44:40  * SamuraiJack_quit (Ping timeout: 250 seconds)
11:45:16  * h0mebrewerquit (Remote host closed the connection)
11:45:51  * h0mebrewerjoined
11:45:58  * hartsockjoined
11:47:02  * ccohnquit (Remote host closed the connection)
11:47:02  * chevettquit (Quit: Leaving.)
11:47:04  * h0mebrewerquit (Read error: Connection reset by peer)
11:47:11  * h0mebrewerjoined
11:47:15  * __TheEwok__joined
11:47:16  * __TheEwok__quit (Changing host)
11:47:16  * __TheEwok__joined
11:47:24  * nukeu666joined
11:47:33  * shafox_quit (Ping timeout: 240 seconds)
11:47:36  * ccohnjoined
11:48:44  * sievequit (Quit: Leaving.)
11:49:30  * mr-foobarquit (Read error: Connection reset by peer)
11:49:44  * aakashjoined
11:49:57  * mr-foobarjoined
11:50:02  <iszak>DieguezZ: you should really abstract that code out of your route.
11:50:23  * santiagoRjoined
11:50:27  * hartsockquit (Ping timeout: 244 seconds)
11:51:03  <DieguezZ>hey iszak i just realised u are in, what code?
11:51:12  <iszak>DieguezZ: getData
11:51:37  * barneybook_8quit (Ping timeout: 256 seconds)
11:51:46  <DieguezZ>mmm i dont know what u mean :S can u show me?
11:51:58  * abeant_joined
11:52:02  * ccohnquit (Ping timeout: 250 seconds)
11:52:10  * __TheEwok__quit (Ping timeout: 264 seconds)
11:52:21  <DieguezZ>i know what function u mean, but i dont know what do u mean by abstracting out of my route iszak
11:52:53  <iszak>DieguezZ: at the moment that code is hard to test, you should create a module that does just that, making it easier to test.
11:52:54  * stephenjoined
11:53:05  * mbrgm1joined
11:53:18  * stephenchanged nick to Guest67572
11:53:40  * shafoxjoined
11:54:11  <DieguezZ>iszak i started learning node yesterday xDD i think i need to read some more docs to export the module
11:54:20  * cjmjoined
11:54:24  * donbitto1joined
11:54:39  <iszak>DieguezZ: any programming experience?
11:54:46  * TimmyTonesjoined
11:55:06  * whyyjoined
11:55:11  * donbittoquit (Ping timeout: 264 seconds)
11:55:13  * jagodajoined
11:55:23  <DieguezZ>yeah iszak a little in js
11:55:52  * zequixjoined
11:55:58  <iszak>DieguezZ: are you familiar with browserify/require.js/amd?
11:56:20  * nodweberquit (Remote host closed the connection)
11:56:24  * aortmannmquit (Ping timeout: 255 seconds)
11:56:43  <DieguezZ>no idea iszak
11:57:07  <iszak>DieguezZ: check out this http://nodejs.org/api/modules.html it's the bread of butter
11:57:26  * modojoined
11:58:32  * AndChat|399636joined
11:58:44  * cjmquit (Ping timeout: 240 seconds)
11:58:52  * AndChat-399636joined
11:59:08  * enmandjoined
11:59:32  * ins0mniaquit (Ping timeout: 255 seconds)
11:59:33  * tvwjoined
11:59:33  * aquinasquit (Read error: Connection reset by peer)
11:59:37  * abeant_quit (Quit: Textual IRC Client: www.textualapp.com)
11:59:46  * aquinasjoined
11:59:59  * abeantjoined
12:00:22  * mbrgm1quit (Ping timeout: 240 seconds)
12:00:30  * SamuraiJack__quit (Quit: Konversation terminated!)
12:00:32  * mr_louquit (Quit: Ex-Chat)
12:00:44  * Sgeoquit (Read error: Connection reset by peer)
12:00:55  * aewingquit (Quit: Connection closed for inactivity)
12:00:59  <DieguezZ>ok iszak ty, ill take a look
12:01:06  * jkoudysjoined
12:01:16  * nexnodedjoined
12:01:43  * kazuponquit (Remote host closed the connection)
12:01:49  * modoquit (Ping timeout: 244 seconds)
12:01:53  * Sebastien-Ljoined
12:01:54  * herrkinquit (Ping timeout: 250 seconds)
12:02:10  * kazuponjoined
12:02:21  * Latrosjoined
12:02:54  * AndChat|399636quit (Ping timeout: 260 seconds)
12:03:43  * danielpquinnjoined
12:04:15  * TorpedoSkylinejoined
12:04:29  * InconceivableBjoined
12:04:48  * ccohnjoined
12:05:04  * matrixdevukquit (Ping timeout: 255 seconds)
12:05:19  * donbitto1quit (Quit: Leaving.)
12:05:39  * rigor789|awaychanged nick to rigor789
12:06:05  * JamesMGreenejoined
12:06:17  * Darkingzquit (Ping timeout: 255 seconds)
12:06:38  * kazuponquit (Ping timeout: 260 seconds)
12:06:59  * encrypt3d_fractajoined
12:07:03  * a_suenamiquit (Quit: Leaving...)
12:07:40  * aslantquit (Remote host closed the connection)
12:08:18  * danecandoquit (Quit: Computer has gone to sleep.)
12:08:26  * Bec0dejoined
12:08:30  * danielpquinnquit (Ping timeout: 260 seconds)
12:08:38  * felipeduardojoined
12:08:41  * andrehjrquit (Quit: ["Textual IRC Client: www.textualapp.com"])
12:08:57  * martinseenerjoined
12:08:57  * nthgergo_quit (Read error: Connection reset by peer)
12:09:15  * hartsockjoined
12:09:15  * TorpedoSkylinequit (Ping timeout: 272 seconds)
12:09:31  * [blakehall]changed nick to blakehall
12:09:32  <martinseener>hi there. ive installed nodejs/npm by building it from the sources. how can i update this now? just installing from the >new< sources again or is there another way?
12:09:48  * nthgergojoined
12:10:18  <iszak>martinseener: npm can be updated through npm, node.js needs to be downloaded, configured and made again :D this is why advise against it.
12:10:43  * TimboTonesjoined
12:10:51  <iszak>martinseener: use something like nvm or a package manager (macports/homebrew for mac) or apt/yum/pac/et al for linux flavours
12:10:51  * TimboTonesquit (Remote host closed the connection)
12:10:52  * TimmyTonesquit (Read error: Connection reset by peer)
12:11:04  * martinseener_joined
12:11:33  * encrypt3d_fractaquit (Ping timeout: 240 seconds)
12:12:33  * Bec0dequit (Ping timeout: 240 seconds)
12:12:34  <martinseener_>iszak: so by updating nodejs from sources again, npm is updated as well, right?
12:12:35  * Sonderbladequit (Disconnected by services)
12:12:41  * fbenoitjoined
12:13:01  * paper_joined
12:13:05  * nodweberjoined
12:13:15  * Sonderjoined
12:13:26  * ins0mniajoined
12:13:26  <iszak>martinseener_: yes because npm is bundled
12:13:27  * daedelothjoined
12:13:28  * hychenquit (Quit: Connection closed for inactivity)
12:13:42  * martinseenerquit (Ping timeout: 244 seconds)
12:13:43  * martinseener_changed nick to martinseener
12:13:45  <martinseener>great, so ill just do that. thank you, iszak
12:13:46  * shreddingjoined
12:14:08  * kiwi_banaljoined
12:14:19  <iszak>martinseener: i suggest nvm...
12:14:29  <iszak>martinseener: https://github.com/creationix/nvm
12:14:48  <martinseener>this is like rvm, right ;) cool
12:14:57  * HelperW_quit (Quit: Lingo - http://www.lingoirc.com)
12:15:11  <iszak>martinseener: yes, except it's node version manager not ruby environment manager :D
12:15:23  <martinseener>yeah sure :P
12:15:25  * seydoggyjoined
12:15:26  * rlidwkajoined
12:16:27  * dadicooljoined
12:16:42  * varibulljoined
12:16:48  * tkuchiki_joined
12:16:54  * astevejoined
12:17:08  <asteve>is there a rails migrations equivalent for node.js?
12:17:45  <iszak>asteve: it depends on the database module you are using, I don't know of any independent ones, but sequelize does have that functionality.
12:18:12  * Muskjoined
12:18:37  * sievejoined
12:18:40  <asteve>are people using sequelize? what would be the "standard" for interacting with and managing a mysql db?
12:19:14  * maveneaglequit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
12:19:34  <iszak>asteve: there is no "standard" each has their own preference, sequelize is quite popular, but there are others, not sure if they support migrations though.
12:19:48  * tkuchikiquit (Ping timeout: 255 seconds)
12:19:56  * sethingtonjoined
12:20:03  * whyyquit (Remote host closed the connection)
12:20:10  <asteve>iszak: ok, thanks
12:20:12  * piraxxxquit (Ping timeout: 250 seconds)
12:20:14  * sievequit (Client Quit)
12:20:55  * BigCat2Kjoined
12:21:05  * Guest67572quit (Ping timeout: 256 seconds)
12:21:14  * JohnONolanquit (Quit: Connection closed for inactivity)
12:21:16  * Latrosquit (Ping timeout: 246 seconds)
12:21:17  <morfin>hmm
12:21:20  * rgljoined
12:21:35  * frankblizzardquit
12:21:43  * tkuchiki_quit (Ping timeout: 255 seconds)
12:21:50  <morfin>how do i break chain of promises if in some cases there is next promise but in some cases no
12:22:03  * aslantjoined
12:22:18  * ThKoquit (Quit: ThKo)
12:22:23  * Joulsejoined
12:22:26  <systemfault>morficus: Depends... without code, it's difficult to help.
12:22:26  <iszak>morfin: e.g. promise.then().then().then() ?
12:22:44  <systemfault>morficus: I can only guess instead of giving you a proper answer.
12:22:46  * yoshokatanajoined
12:22:52  * yoshokatanaquit (Client Quit)
12:22:56  <systemfault>Err, morfin... sorry morficus
12:23:15  <morfin>i want to check output coming from server and if it's not equal to "none" then perform another request, but if not... then we're done
12:23:28  * jamto11joined
12:23:48  <morficus>Haha. I'm used to the missed placed highlights at this point
12:23:49  * cakirkequit (Quit: cakirke)
12:23:50  <morfin>i guess then after then will be runned anyway )
12:24:02  * lucthevjoined
12:24:56  * aakashquit (Quit: aakash)
12:25:08  * raffikiquit (Quit: Connection closed for inactivity)
12:25:15  * abeantquit (Quit: Textual IRC Client: www.textualapp.com)
12:25:44  * abeantjoined
12:25:48  * abeantquit (Max SendQ exceeded)
12:25:49  * aslantquit (Read error: Connection reset by peer)
12:25:50  * rglquit (Ping timeout: 250 seconds)
12:26:01  * phuhquit (Read error: Connection reset by peer)
12:26:11  * dadicoolquit (Quit: Computer has gone to sleep.)
12:26:24  * aslantjoined
12:26:26  <systemfault>morfin: .then(function(r) { if(r) {return doX(); } else { return Promise.resolve(someValue);} }) might work for your case...
12:26:32  * phuhjoined
12:26:50  * nthgergoquit (Remote host closed the connection)
12:26:51  <systemfault>morfin: But like I said, it's difficult to give you a good solution without seeing code.
12:26:53  * abeantjoined
12:27:38  * aslantquit (Read error: Connection reset by peer)
12:27:59  * aslantjoined
12:28:03  <a0viedo>what happen with the express fork finally?
12:28:20  <iszak>a0viedo: what fork? koa?
12:28:20  <systemfault>There's one?
12:28:40  <systemfault>Not sure why would someone fork express when it has strongloop behind it now..
12:29:05  * seydoggyquit (Remote host closed the connection)
12:29:15  * aslantquit (Client Quit)
12:29:32  <morfin>like hm request.get(url).then(function(){return Promise.all([request.get(someurl1),request.get(someurl2)];}).then(function(values) {if(values[1]["file"] != "none") {return request.get(blahblah);}}}).then(function(html){//do something with html}).catch(function(error){//fail})
12:29:39  * seydoggyjoined
12:29:44  <a0viedo>dougwilson does not agreed with the way that SL wants to 'help' express, so...
12:29:45  <iszak>pastebin!
12:29:51  * InconceivableBquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
12:29:54  <a0viedo>and it seems SL it's not giving it back
12:30:30  * Guest229changed nick to Lunar_Lamp
12:30:33  * walterheckjoined
12:30:38  * Lunar_Lampquit (Changing host)
12:30:39  * Lunar_Lampjoined
12:30:47  * h0mebrewerquit (Remote host closed the connection)
12:30:47  <iszak>To be honest, I think what's more damning is TJ leaving Node.js
12:30:53  <iszak>But that's enough drama for one day.
12:31:20  * h0mebrewerjoined
12:31:25  * learner81quit
12:31:44  * kotk_joined
12:31:46  <systemfault>morfin: What happens when you don't need to get HTML?
12:32:20  * cobjoined
12:32:57  * jaw187joined
12:33:25  * kotkquit (Ping timeout: 255 seconds)
12:33:25  * dxd828_quit (Quit: Textual IRC Client: www.textualapp.com)
12:33:27  * palarjoined
12:34:06  * jaw187quit (Remote host closed the connection)
12:34:11  * seydoggyquit (Ping timeout: 255 seconds)
12:34:40  * jaw187joined
12:35:11  * IvanoffCSIjoined
12:35:58  * h0mebrewerquit (Ping timeout: 264 seconds)
12:36:03  * swypychjoined
12:37:30  * nkohari-changed nick to nkohari
12:37:57  * vampi-the-frogquit (Quit: Leaving)
12:38:14  * cariasoquit (Quit: Leaving.)
12:38:37  * rafagomesjoined
12:39:22  * IvanoffCSIquit (Ping timeout: 245 seconds)
12:39:43  * rhysyngsunjoined
12:40:26  * gorhgorhquit (Quit: gorhgorh)
12:41:03  * RLajoined
12:41:30  * rafaelcaceresjoined
12:41:32  * mewmjoined
12:42:02  * tranzfusejoined
12:42:15  * caitpjoined
12:42:16  * JamesMGreenequit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
12:42:23  * Bec0dejoined
12:42:32  * jakecraigejoined
12:42:34  * aortmannmjoined
12:42:47  * xnqquit (Ping timeout: 245 seconds)
12:43:11  * yacksquit (Ping timeout: 255 seconds)
12:43:29  * nodekidjoined
12:43:30  * cariasojoined
12:43:58  * darius93quit (Quit: Leaving)
12:44:13  * cjmjoined
12:44:19  * BigCat2Kquit (Remote host closed the connection)
12:44:32  * Sebastien-Lquit (Ping timeout: 240 seconds)
12:44:32  * Acidnerdquit (Ping timeout: 240 seconds)
12:44:52  * jkoudysquit (Ping timeout: 240 seconds)
12:44:53  * nuckquit (Ping timeout: 240 seconds)
12:44:53  * tillepsjoined
12:45:37  * jkoudysjoined
12:45:47  * Efremjoined
12:45:54  * dicmaniaquit (Ping timeout: 255 seconds)
12:46:17  * ivan\quit (Ping timeout: 245 seconds)
12:46:17  * XemsDoom|Awayjoined
12:46:18  * XemsDoomquit (Ping timeout: 245 seconds)
12:46:18  * XemsDoom|Awaychanged nick to XemsDoom
12:46:18  * CptCleverquit (Ping timeout: 245 seconds)
12:46:18  * ivan\joined
12:46:18  * xnqjoined
12:46:18  * ivan\quit (Changing host)
12:46:18  * ivan\joined
12:46:28  * jjmbjoined
12:46:29  * barneybook_8joined
12:46:33  * taij33njoined
12:46:33  * tranzfusequit (Ping timeout: 240 seconds)
12:46:51  * tkuchikijoined
12:47:22  * nuckjoined
12:47:36  * kotkjoined
12:47:51  * darius93joined
12:48:00  * jduhlsjoined
12:48:26  * denomjoined
12:49:47  * kotk_quit (Ping timeout: 245 seconds)
12:49:49  * CptCleverjoined
12:49:52  * Willow____quit (Quit: Computer has gone to sleep.)
12:50:26  * Willow____joined
12:51:44  * ValicekBquit (Ping timeout: 250 seconds)
12:51:59  * nd__joined
12:52:05  * cronopiojoined
12:52:10  * lucthevquit (Quit: Page closed)
12:53:17  * stephenjoined
12:53:19  * nthgergojoined
12:53:30  * lerujoined
12:53:41  * stephenchanged nick to Guest5090
12:53:52  * Sebastien-Ljoined
12:53:59  * khushildepquit (Ping timeout: 255 seconds)
12:54:19  * joshonthewebjoined
12:54:53  * Willow____quit (Ping timeout: 255 seconds)
12:55:00  * abeantquit (Quit: Textual IRC Client: www.textualapp.com)
12:55:26  * acalbazajoined
12:55:53  * khushildepjoined
12:55:56  * maveneaglejoined
12:56:26  * netjjoined
12:56:28  * paper_quit (Ping timeout: 245 seconds)
12:56:36  * jeff___joined
12:56:51  * abeantjoined
12:56:56  * abeantquit (Max SendQ exceeded)
12:57:28  * vf1joined
12:57:34  * abeantjoined
12:57:35  * hilkolantingajoined
12:57:45  * soichihjoined
12:57:52  * mfunkie_joined
12:58:22  * Guest5090quit (Ping timeout: 240 seconds)
12:58:30  * ngoyaljoined
12:58:38  * modcurejoined
12:58:44  <sinclair|work>iszak: who cares what TJ does?
12:58:53  <sinclair|work>why is it a big deal?
12:59:08  <iszak>sinclair|work: I said enough drama for today for me.
12:59:13  * InconceivableBjoined
12:59:27  <sinclair|work>iszak: don't bring it up then, no one cares
12:59:51  * seydoggyjoined
12:59:52  <iszak>sinclair|work: don't make generalisation that "no one cares".
12:59:57  * tisbaquit (Quit: tisba)
13:00:03  * Abhishek_quit (Quit: Connection closed for inactivity)
13:00:12  * sinclair|workignores iszak
13:00:18  <iszak>Good.
13:00:25  * jeff__quit (Ping timeout: 255 seconds)
13:00:30  * lpinjoined
13:00:55  * listochkinquit (Read error: Connection reset by peer)
13:01:11  * netjquit (Ping timeout: 264 seconds)
13:01:14  * cjmquit (Remote host closed the connection)
13:01:19  <apipkin>I’m hoping to pick a few brains in here that may know of a solution. I need to do live video and audio streaming with as close to zero buffer time as possible. If the bandwidth drops, choppy video is perfectly fine as long as it stays up to live streaming. If the bandwidth is really bad, just audio would come through. Does anyone know of a solution for
13:01:19  <apipkin>something like that?
13:01:45  * listochkinjoined
13:01:52  * vf1quit (Ping timeout: 245 seconds)
13:02:22  <baudehlo>ustream? ;)
13:02:26  * ValicekBjoined
13:02:39  * xonevjoined
13:02:46  * martinseener_joined
13:03:02  * karupachanged nick to zz_karupa
13:03:14  <sinclair|work>apipkin: what are you live streaming with?
13:03:37  <apipkin>baudehlo: i’ll look into that one
13:03:49  <sinclair|work>apipkin: what are you live streaming with?
13:04:15  * abeantquit (Read error: Connection reset by peer)
13:04:25  * h0mebrewerjoined
13:04:33  <apipkin>sinclair|work: not really sure about the video. right now we have a plugin that’s written in C and compiled then wrapped with a plugin wrapper based on the browser and it crashes any time we try to resize or move it on the page :-/
13:04:36  * danielpquinnjoined
13:04:43  * robmorrisseyquit (Quit: Computer has gone to sleep.)
13:04:46  <sinclair|work>whats the name of that plugin?
13:04:51  * joshonthewebquit (Quit: Computer has gone to sleep.)
13:04:54  * sinclair|workis interested
13:05:00  * abeantjoined
13:05:04  * abeantquit (Max SendQ exceeded)
13:05:10  * edyquit (Quit: edy)
13:05:26  * martinseenerquit (Ping timeout: 260 seconds)
13:05:26  * martinseener_changed nick to martinseener
13:05:51  * abeantjoined
13:06:00  * micronnjoined
13:06:01  <apipkin>sinclair|work: it’s custom in-house stuff built by a developer that is no longer here (go figure) haha. I’m asking the other devs now what the stream source is
13:06:11  <iszak>apipkin: and you think node.js will have a solution out of the box to do this?
13:06:32  * listochkinquit (Read error: Connection reset by peer)
13:06:48  <iszak>I think stre.am is done in node.js? or maybe that's just the front ned.
13:06:54  * listochkinjoined
13:06:56  <apipkin>iszak: maybe not out of the box, but with enough pieces?
13:07:11  * yacksjoined
13:07:21  * yacksquit (Read error: Connection reset by peer)
13:07:31  <apipkin>I also saw something like https://gist.github.com/claus/2829664
13:07:36  * yacksjoined
13:07:42  * abeantquit (Client Quit)
13:08:04  * abeantjoined
13:08:08  <iszak>apipkin: what about browsers that don't support Uint8Array?
13:08:16  * abeantquit (Max SendQ exceeded)
13:08:26  <iszak>apipkin: what about codecs that aren't supported? you'd need to transcode on the fly?
13:08:52  * danielpquinnquit (Ping timeout: 240 seconds)
13:08:56  * abeantjoined
13:09:08  * FIFOd[a]joined
13:09:26  * yoshokatanajoined
13:09:32  * yoshokatanaquit (Client Quit)
13:09:45  * coryasaurusquit (Ping timeout: 255 seconds)
13:10:15  * acalbazaquit (Remote host closed the connection)
13:10:33  * jamto11quit (Remote host closed the connection)
13:10:38  * rafagomesquit (Remote host closed the connection)
13:10:39  * bliceroquit (Ping timeout: 255 seconds)
13:10:50  * h0mebrewerquit (Remote host closed the connection)
13:11:02  * h0mebrewerjoined
13:11:08  * rafagomesjoined
13:11:23  <apipkin>iszak: that’s some very good points :) I’ll go get more information and see what the internet says. Mostly I’m hoping that nodejs could have a solution so I can use something I know :)
13:11:30  * martinseener_joined
13:11:53  * joel_joined
13:11:54  * QuakeHeadjoined
13:12:01  * joel_changed nick to Guest42651
13:12:05  * cjmjoined
13:12:13  <iszak>apipkin: that's not the right reason to choose node.js over something else because it's something you know, it's about choosing the right tool for the job, if node.js is the right tool, then fine, but you need to investigate the best solution.
13:12:29  * coryasaurusjoined
13:12:35  * yacksquit (Ping timeout: 264 seconds)
13:12:38  * hilkolantingaquit (Quit: hilkolantinga)
13:12:47  <apipkin>I’m on it! Thanks for the advice
13:13:03  * josephcsquit (Ping timeout: 240 seconds)
13:13:05  <iszak>apipkin: good luck, streaming is a hard problem to solve efficiently!
13:13:11  * yacksjoined
13:13:21  <apipkin>Probably why we are where we are haha
13:13:36  * walterheckquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
13:13:37  * BillCriswelljoined
13:13:43  * torlancojoined
13:13:52  * martinseenerquit (Ping timeout: 240 seconds)
13:13:53  * martinseener_changed nick to martinseener
13:14:18  * c4miloquit (Remote host closed the connection)
13:14:37  * josephcsjoined
13:14:44  * fiveisprimejoined
13:14:54  * acalbazajoined
13:15:11  * BigCat2Kjoined
13:15:12  * VictorCLjoined
13:15:23  * thinkt4nkjoined
13:15:35  * herrkinjoined
13:15:37  * gorhgorhjoined
13:15:42  * rafagomesquit (Ping timeout: 260 seconds)
13:15:48  * sweberjoined
13:16:23  * Aswebbquit
13:17:21  * knownasilyajoined
13:17:58  * sweberquit (Client Quit)
13:18:34  * hilkolantingajoined
13:18:45  * maz-devquit (Remote host closed the connection)
13:18:52  * torlancoquit (Ping timeout: 240 seconds)
13:18:58  * InconceivableBquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
13:19:02  * listochkinquit (Read error: Connection reset by peer)
13:19:10  * aquinasquit (Quit: leaving)
13:19:19  * BigCat2Kquit (Ping timeout: 244 seconds)
13:19:33  * aortmannmquit (Ping timeout: 240 seconds)
13:19:45  * listochkinjoined
13:19:53  <Mega>hello, is this a channel about anime?
13:20:02  <hilkolantinga>mega: no
13:20:31  <hilkolantinga>see nodejs.org
13:21:03  <Mega>anybody works with serverquery connections to teamspeak3 server with nodejs?
13:21:37  * BiohaZzardjoined
13:21:43  <Mega>hilkolantinga: sorry, but it's popular joke from bashorg
13:22:00  * poacher2kjoined
13:22:00  * rtopliffejoined
13:22:01  * rgljoined
13:22:14  <BiohaZzard>hi, one simple question: what purose has node.js?
13:22:15  <hilkolantinga>Mega: np
13:22:17  * rmgjoined
13:22:46  * jeff___quit (Remote host closed the connection)
13:23:18  <Mega>BiohaZzard: purose? what did u mean?
13:23:20  * jeff__joined
13:23:28  * dob__joined
13:23:50  <BiohaZzard>Mega: Well what do you use it for?
13:24:26  <hilkolantinga>BiohaZzard: ASP on steroids?
13:24:46  <hilkolantinga>+ more networking and processes
13:24:46  <Mega>uh. apparently you wanted wrote 'purpose' :)
13:24:47  * TorpedoSkylinejoined
13:25:05  * juanlasjoined
13:25:07  * blicerojoined
13:25:36  * richiebkrjoined
13:25:36  * thinkt4nkquit (Quit: Leaving)
13:25:39  * Nikkowquit (Quit: Nikkow)
13:25:45  * uf6667joined
13:25:52  * thinkt4nkjoined
13:25:59  * paulohpjoined
13:25:59  * phuhquit (Read error: Connection reset by peer)
13:26:11  * MrBabarjoined
13:26:24  * BiohaZzardquit (Remote host closed the connection)
13:26:26  * phuhjoined
13:26:26  * robbyoconnorquit (Ping timeout: 260 seconds)
13:26:30  * rmgquit (Ping timeout: 250 seconds)
13:26:45  * clarkkquit (Quit: Leaving.)
13:26:46  * intellixjoined
13:26:49  * rglquit (Ping timeout: 256 seconds)
13:27:01  * yositojoined
13:27:08  * kaspertidemannquit
13:27:33  * jeff__quit (Ping timeout: 240 seconds)
13:27:35  * dob_quit (Ping timeout: 264 seconds)
13:27:39  * Abhishek_joined
13:27:39  * caitpquit (Read error: No route to host)
13:27:58  * caitpjoined
13:28:11  * dob__quit (Ping timeout: 255 seconds)
13:28:38  * McScjoined
13:29:09  * rquinnjoined
13:29:45  * __quim_quit (Quit: Leaving...)
13:29:52  * mattdesljoined
13:29:52  * Joulsequit (Quit: Joulse)
13:29:54  * __quimjoined
13:29:56  * hartsockquit (Remote host closed the connection)
13:30:01  * notbryantjoined
13:30:11  * richiebkrquit (Ping timeout: 244 seconds)
13:30:26  <emma>is there any way to command a node.js program to restart itself?
13:30:34  * coryasaurusquit (Ping timeout: 255 seconds)
13:30:38  * brianhartsockjoined
13:30:43  <mscdex>emma: no
13:30:47  * yacksquit (Ping timeout: 256 seconds)
13:30:51  * nthgergoquit (Remote host closed the connection)
13:30:54  <emma>mscdex: that's horrible.
13:31:04  <mscdex>emma: why?
13:31:05  <hilkolantinga>emma, you could use something like forever and process.exit
13:31:17  <Beg>emma, no, but you can work around it
13:31:23  <mscdex>yeah, you'd have to use something like forever, monit, or similar mechanism
13:31:47  <mscdex>or upstart
13:31:50  <hilkolantinga>pm2
13:31:55  <mscdex>heh
13:31:57  <emma>mscdex: i have a bot that sometimes gets 'stuck' not because it is flawed but because it lives in an unstable environment. What happens is that some times it is still connected to the chat part of the website, so i can still speak to it, but it is disconected from the data part of the website, so it isn't doing anything. I need to get it to restart.
13:31:58  <mscdex>the list goes on!
13:32:01  * coryasaurusjoined
13:32:07  <Beg>what do you guys use for web server testing?
13:32:24  <mscdex>Beg: testing how?
13:32:27  <hilkolantinga>mscdex, next year we will need multiple lines for the list ;)
13:32:28  * astevequit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
13:32:32  <emma>i want to make a command like !reconnect
13:32:43  * hactorquit
13:32:54  <mscdex>emma: well, if you start the bot with one of the previously mentioned utilities, you can just have it exit and it will restart
13:33:09  <Beg>mscdex: blackbox and whitebox testing
13:33:30  * briandelajoined
13:33:32  <mscdex>emma: or have it only restart on a specific exit code so that you know the restart is deliberate
13:33:45  * topwobblequit (Quit: topwobble)
13:33:53  <Beg>emma can you "sense" when it should restart emma?
13:34:01  <hilkolantinga>emma: Why would you need a full restart then? Why not reconnect the socket?
13:34:15  <emma>Beg: yeah. When I send a command and it replies in chat but does nothing.
13:34:46  <emma>hilkolantinga: its really unclear how to do that. but restarting would work.
13:35:03  <Beg>emma, then look into workers, and just start a new one when it dies?
13:35:06  <emma>Beg: it could also sense it automatically if it stopps seeing data show up regularly .
13:35:08  <hilkolantinga>emma: Restarting is workaround the problem instead of catching it.
13:35:44  <emma>I would love to work around the problem.
13:35:59  <Beg>mscdex: I want to setup my programming enviroment. I tried Zombie and other browser testers, but they are bug in windows and I can't see mto get any to work
13:35:59  * IvanoffCSIjoined
13:36:04  * notbryantquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
13:36:09  <hilkolantinga>emma: Then forever and process.exit would do the trick.
13:36:20  <emma>does forever restart a program even if it does not exit with an error?
13:36:22  * coryasaurusquit (Ping timeout: 244 seconds)
13:36:25  * danyimjoined
13:36:27  * darius93quit (Ping timeout: 245 seconds)
13:36:33  <hilkolantinga>emma: Yes
13:36:39  * shaker_joined
13:36:41  <emma>that sounds excellent then.
13:36:45  <emma>im already using forever.
13:37:00  * danecandojoined
13:37:00  * QuakeHeadquit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
13:37:36  * mmitchel_joined
13:37:40  <hilkolantinga>emma: http://nodejs.org/api/process.html#process_process_exit_code
13:37:50  <hilkolantinga>So you can even exit with an error
13:37:57  * cjmquit (Remote host closed the connection)
13:38:06  * Sonicridajoined
13:38:45  * fixlquit (Remote host closed the connection)
13:38:57  * shakerquit (Ping timeout: 245 seconds)
13:38:58  * cronopioquit (Ping timeout: 244 seconds)
13:39:13  * coryasaurusjoined
13:39:30  * yoshokatanajoined
13:39:51  * robmorrisseyjoined
13:40:02  * yacksjoined
13:40:20  * IvanoffCSIquit (Ping timeout: 255 seconds)
13:40:32  * Joulsejoined
13:40:37  * aortmannmjoined
13:40:49  * swirlycheetahjoined
13:41:22  * danyimquit (Ping timeout: 264 seconds)
13:41:35  * phrearchquit (Remote host closed the connection)
13:41:44  * jakecraigequit (Remote host closed the connection)
13:42:20  * jakecraigejoined
13:42:28  * TorpedoSkylinequit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
13:42:28  <texinwien>iszak: thought you meant Fontaine earlier. that'd be big news.
13:42:49  * tranzfusejoined
13:42:50  <iszak>texinwien: what's that? link?
13:43:02  * hichaelmartjoined
13:43:12  * dataidquit (Quit: away.)
13:43:13  * zivesterjoined
13:43:14  * farawayquit (Quit: faraway)
13:43:20  * jakecraigequit (Read error: Connection reset by peer)
13:43:22  * jakecrai_joined
13:43:44  * Lopejoined
13:43:49  * uf6667quit (Ping timeout: 256 seconds)
13:43:49  <texinwien>tj fontaine? http://blog.modulus.io/tj-fontaine-interview
13:43:51  * McScquit (Remote host closed the connection)
13:43:55  * briandelaquit (Remote host closed the connection)
13:43:55  <texinwien>node.js project lead
13:44:15  <texinwien>you made a remark earlier about a tj leaving node
13:44:25  <iszak>texinwien: oh.. didn't realise, yeah should have been more careful
13:44:41  <Lope>According to this site, nodejs.org builds node.js for ARM CPU's. http://joshondesign.com/2013/10/23/noderpi But I'm looking here and I don't see the arm tar.gz http://nodejs.org/dist/v0.10.30/
13:44:42  * lance|afkchanged nick to lanceball
13:44:43  <Lope>any ideas?
13:44:44  * yoshokatana_joined
13:44:45  * listochkinquit (Remote host closed the connection)
13:44:47  * yoshokatana_quit (Client Quit)
13:44:53  * donbittojoined
13:45:11  <texinwien>no worries - would have been weird to learn that he left the project shortly after becoming project lead...
13:45:28  * DiegoMaxquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
13:45:31  * ericelliottjoined
13:45:33  * Atrumxquit (Quit: exit)
13:45:51  * barneybookjoined
13:46:01  <Lope>I see they have the 0.10.2 version for the RbPi ARM CPU.
13:46:04  <a0viedo>and while doing an awesome work, by the way
13:46:12  * rafagomesjoined
13:46:17  <ericelliott>Good morning Node!
13:46:18  * modojoined
13:46:29  <ericelliott>Morning here, at least.
13:46:46  * jmar777joined
13:47:05  * tranzfusequit (Ping timeout: 255 seconds)
13:47:11  * s2013joined
13:47:12  <drudge>hello, world
13:47:13  <iszak>Lope: maybe they broke it? seems odd to introduce then to rescind it, maybe an issue with the build bot?
13:47:15  * ashnurquit (Quit: WeeChat 0.4.3)
13:47:21  <iszak>Lope: have you tried compiling it?
13:47:30  <Lope>Okay so 0.10.26 is the last version witht he RbPi binary at nodejs.org
13:47:33  * kvzquit (Quit: kvz)
13:47:41  * maveneaglequit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
13:47:49  * matrixdevukjoined
13:48:00  * kid_icarusjoined
13:48:03  * Joulsequit (Ping timeout: 240 seconds)
13:48:03  * aortmannmquit (Ping timeout: 240 seconds)
13:48:03  * Joulsejoined
13:48:03  * fiveisprimequit (Ping timeout: 240 seconds)
13:48:08  <Lope>izak: Well. I don't really feel like the mission of doing that. I think 0.10.26 is good enough.
13:48:13  * aortmannmjoined
13:48:23  * paulohpquit (Ping timeout: 240 seconds)
13:48:23  * barneybook_8quit (Ping timeout: 240 seconds)
13:48:23  <Lope>I'll see if I can report it on their site.
13:48:23  * sputnik13joined
13:48:27  <iszak>Lope: sure I understand, I was just curious as to why some are released with and some without
13:48:40  <iszak>Lope: perhaps it is just 0.10.3+
13:48:43  <Lope>After 0.10.26 it stopped for some reason.
13:48:57  <a0viedo>Lope: https://gist.github.com/adammw/3245130
13:48:58  <iszak>0.10.3 to 0.10.26 then, hmm very odd, what about 0.11 Lope ?
13:49:02  <Lope>it's also missing in 0.11.x
13:49:05  * iarnajoined
13:49:14  * paulohpjoined
13:49:35  <iszak>Lope: not all only some http://nodejs.org/dist/v0.11.12/
13:49:43  * uxfijoined
13:49:50  * xnqquit (Ping timeout: 245 seconds)
13:49:50  * ivan\quit (Ping timeout: 245 seconds)
13:49:50  * XemsDoomquit (Ping timeout: 245 seconds)
13:49:50  * XemsDoom|Awayjoined
13:49:50  * CptCleverquit (Ping timeout: 245 seconds)
13:49:50  * XemsDoom|Awaychanged nick to XemsDoom
13:49:50  * xnqjoined
13:49:50  * ivan\joined
13:49:51  * ivan\quit (Changing host)
13:49:51  * ivan\joined
13:49:55  * robmorrisseyquit (Read error: Connection reset by peer)
13:50:12  * coryasaurusquit (Ping timeout: 245 seconds)
13:50:12  * infynyxxjoined
13:50:12  * darius93joined
13:50:14  <Lope>oh cool. I'll get that one :) thanks
13:50:24  * CIDICjoined
13:50:32  <Lope>is 0.11 stable enough for regular use?
13:50:45  * robmorrisseyjoined
13:50:49  * modoquit (Ping timeout: 255 seconds)
13:50:51  * coryasaurusjoined
13:50:52  * orion1111joined
13:51:02  <iszak>Lope: well it's considered unstable, so I would stick with 0.10.x but then there's rumour of 0.12 being released soon of which is based off of 0.11.x so make of that what you will
13:51:57  * infynyxxquit (Remote host closed the connection)
13:52:10  * herrkinquit (Ping timeout: 255 seconds)
13:52:24  * Guest42651quit (Ping timeout: 250 seconds)
13:52:42  * xobbquit (Ping timeout: 245 seconds)
13:52:51  <morfin>hm
13:53:04  * jjmalinajoined
13:53:13  * sieve1joined
13:53:31  * joshonthewebjoined
13:53:37  <Lope>apparently 0.11 has issues on the new raspbian. https://github.com/joyent/node/issues/7222
13:53:53  <Lope>so I'll stick with the 0.10.26
13:53:55  * iarnaquit (Read error: Connection reset by peer)
13:54:20  * munichlinuxjoined
13:54:37  * dignifiedquirequit (Quit: dignifiedquire)
13:54:45  * iarnajoined
13:54:52  * robmorri_joined
13:55:18  <iszak>an informed decision you have made
13:56:05  * infynyxxjoined
13:56:42  * Joulse_joined
13:57:17  * ivan\quit (Ping timeout: 245 seconds)
13:57:17  * XemsDoomquit (Ping timeout: 245 seconds)
13:57:17  * xnqquit (Ping timeout: 245 seconds)
13:57:17  * XemsDoom|Awayjoined
13:57:18  * xnqjoined
13:57:18  * XemsDoom|Awaychanged nick to XemsDoom
13:57:22  * robmorrisseyquit (Ping timeout: 240 seconds)
13:57:22  * darius93quit (Ping timeout: 240 seconds)
13:57:22  * Joulsequit (Ping timeout: 240 seconds)
13:57:22  * Joulse_changed nick to Joulse
13:57:24  * ivan\joined
13:57:28  <ericelliott>Any interesting news in Node land this morning?
13:57:39  * zarkonequit (Read error: Connection reset by peer)
13:57:41  * jmar777quit (Remote host closed the connection)
13:58:04  * dcccjoined
13:58:21  * xobbjoined
13:58:31  * mxmxmxjoined
13:58:33  <iszak>ericelliott: not today, but see the v8 vulnerability?
13:58:55  * sccquit (Ping timeout: 246 seconds)
13:59:03  <rlidwka>ericelliott: not today, but see the express.js transfer? :)
13:59:14  <iszak>oh yeah, that's more big news.
13:59:22  * darius93joined
13:59:31  <iszak>express.js community edition and enterprise edition!
13:59:47  * kexjoined
13:59:55  <rlidwka>did they create community edition already?
14:00:00  * cronopiojoined
14:00:00  * CptCleverjoined
14:00:02  * coryasaurusquit (Ping timeout: 260 seconds)
14:00:09  <iszak>no, i was dong it tongue in cheek
14:00:20  <iszak>s/dong/doing/
14:00:24  * jmar777joined
14:00:27  * maheshquit (Quit: Leaving)
14:00:30  * netjjoined
14:00:33  <iszak>I wouldn't be against that though, I think CE/EE would be a good combo
14:00:33  * kexquit (Remote host closed the connection)
14:00:55  * kexjoined
14:01:10  * mr_loujoined
14:01:36  <morfin>hmm
14:01:37  * phoenixlzxjoined
14:01:51  * InconceivableBjoined
14:01:52  <morfin>does curl in Node support promises?
14:02:00  * sccjoined
14:02:09  <rlidwka>doubt that... strongloop guys tend to engage in vendor locking with plugins and such.
14:02:12  * fatalhaltjoined
14:02:25  <iszak>rlidwka: ugh that sucks
14:02:30  * coryasaurusjoined
14:02:31  <systemfault>Anyway... express isn't the only one.
14:02:33  <iszak>I hate that strategy
14:02:37  * amusseyjoined
14:02:47  <morfin>Release the kraken!
14:02:48  <RLa>iszak, express enterprise edition, really?
14:02:54  * jeffreylevesquejoined
14:03:07  <iszak>RLa: I was joking! it's not happened, but like I said, I wouldn't be against that strategy.
14:03:50  * shubhangjoined
14:03:53  <rlidwka>express IS the only one, unless you use 0.11 and can get koa
14:04:00  <systemfault>HAPI?
14:04:08  <morfin>what's Express.js enterprise?
14:04:10  <morfin>:O
14:04:19  <rlidwka>never HAPI :)
14:04:28  <RLa>and koa hasn't already sold to $vendor?
14:04:30  * FunnyLookinHatjoined
14:04:38  * FunnyLookinHatquit (Changing host)
14:04:38  * FunnyLookinHatjoined
14:04:44  * pretentiousgitjoined
14:05:03  * s2013quit (Ping timeout: 240 seconds)
14:05:04  <iszak>>_>
14:05:21  * danielpquinnjoined
14:05:21  * jsjsjoined
14:05:21  <rlidwka>Currently it's only express and koa, and in a few cases restify and connect. Other stuff is just not good enough.
14:05:28  * walterheckjoined
14:05:28  * walterheckquit (Client Quit)
14:05:33  * therealkoopaquit (Remote host closed the connection)
14:05:36  <morfin>aah contexts in JS are killing me all the time
14:05:40  <dypsilon>rlidwka, not good enough? by what standards?
14:05:41  <iszak>rlidwka: this is what happens when a new platform emerges
14:05:48  <iszak>morfin: contexts or scopes?
14:05:52  <dypsilon>rlidwka, tbh everything you mentioned is not good enough
14:05:53  <morfin>*scopes
14:06:04  * shubhangquit (Remote host closed the connection)
14:06:07  <RLa>other stuff is just reduntant, express in many cases is enough
14:06:14  <ericelliott>Yeah, I saw the v8 vulnerability. Is there a good link for info?
14:06:16  * shubhangjoined
14:06:19  <ericelliott>iszak ^^
14:06:22  * kexquit
14:06:22  * herrkinjoined
14:06:27  <morfin>binding can fix that but...
14:06:29  <iszak>I want monolithic frameworks, none of this micro frameworks
14:06:31  <RLa>what v8 vulnerability? ddos?
14:06:31  * mikronazquit (Remote host closed the connection)
14:06:36  <morfin>lol
14:06:37  <texinwien>how about hapi?
14:06:45  <rlidwka>dypsilon, well HAPI uses JSON configs, it tells a lot about it. There is also some framework by paypal I don't quite remember.
14:06:56  <morfin>Kraken as i said
14:07:09  <iszak>For some reason when you guys say HAPI I think of HAL
14:07:11  <dypsilon>rlidwka, what does config format tell you about the framework?
14:07:23  <ericelliott>I wouldn't call Kraken monolithic.
14:07:23  <systemfault>dypsilon: Nothing at all.
14:07:32  <texinwien>dypsilon - I'd also like to hear the answer that question
14:07:33  <morfin>modular
14:07:34  <RLa>xml as config - framework must be avoided at any cost
14:07:34  <rlidwka>dypsilon, it tells that they don't really care about their users. :)
14:07:45  <systemfault>And kraken is more like a tech stack than anything else.
14:07:54  * dan2k3k4joined
14:08:01  <dypsilon>rlidwka, you are bad at trolling
14:08:03  <scc>testing out a simple tcp socket server/client. Trying to see how many connections I can get open
14:08:03  <morfin>seems like i can push any crap i want in that framework to extend functionality
14:08:12  <ericelliott>It's actually made up of a bunch of smaller modules -- and mostly adds a little more structural routing and some stuff like security extensions (alternative to Helmet, etc..)
14:08:13  * hkon_quit (Remote host closed the connection)
14:08:16  <dypsilon>rlidwka, and if you are not trolling, you are bad at argumenting
14:08:18  <iszak>we need like ruby on rails for node.js
14:08:22  <morfin>lol
14:08:24  * dan2k3k4quit (Remote host closed the connection)
14:08:29  <rlidwka>RLa, yeah... I remember MacOS using xml for configs. Same thing essentially.
14:08:30  * encrypt3d_fractajoined
14:08:36  <RLa>isn't there sails.js already?
14:08:37  <systemfault>iszak: I think that sails wants to be that...
14:08:38  <morfin>that would be heavy i think?
14:08:45  <iszak>rlidwka: ugh plist files make me sad :(
14:08:56  <RLa>binary plist ftw
14:08:56  * demandsjoined
14:08:56  <morfin>hmm
14:08:59  * whyyjoined
14:09:00  * andrehsjoined
14:09:02  <scc>testing out how many connections I can get on a simple tcp server/client. Running with ulimit -n set high enough, and NODE_DEBUG=net.
14:09:10  <RLa>can't even edit them without installing 3rd party apps
14:09:19  <nlf>rlidwka: i'm not sure what you mean by hapi uses json as config anyway, for some things sure but it's not like all of your routes are defined in json
14:09:19  * demandsquit (Remote host closed the connection)
14:09:20  <ericelliott>scc: how's that going for you?
14:09:26  <iszak>ericelliott: http://blog.nodejs.org/2014/07/31/v8-memory-corruption-stack-overflow/
14:09:36  <scc>client and server tell me I have a different number of connections...?
14:09:38  * raygarner2quit (Quit: Nettalk6 - www.ntalk.de)
14:09:42  <ericelliott>thanks iszak
14:09:45  * bradgignacjoined
14:09:53  <scc>client: 2000 (end of for loop. server: 1500?
14:10:02  * danielpquinnquit (Ping timeout: 255 seconds)
14:10:12  <CIDIC>has anyone designed a structure for entities on a tile grid and managing their positions such that the collection can efficiently lookup entities by tile coord and the entity can efficiently know what it’s tile coords are and they stay in sync? (only one entity per tile)
14:10:19  * supermatquit (Read error: Connection reset by peer)
14:10:24  <Beg>mscdex: I'll go with cheerio for testing. I was looking for some solution that could handle browsing pages and verifying at the same time. Now I fetch the body with Request and then parse it with cheerio
14:10:29  <MI6>joyent/node: Jackson Tian master * bbb2dcc : tls: throw an error, not string - http://git.io/GgYuHA
14:10:30  <iszak>sigh. it's been a ~week and already 9 dependencies have been updated
14:10:37  <texinwien>rlidwka I'd honestly like to hear what you think is wrong with using JSON for configs
14:10:52  * tranzfusejoined
14:10:57  <gildean>Beg: phantomjs?
14:10:59  <scc>jsfiddle: http://jsfiddle.net/#&togetherjs=MHoNRjAgpa
14:11:02  <ericelliott>iszak: oh is that all? I've seen far worse vulnerabilities. =)
14:11:03  * c4milojoined
14:11:11  <dypsilon>texinwien, it's so curly, you know...
14:11:15  * jreadingjoined
14:11:19  <ericelliott>iszak: Thanks for the link. =)
14:11:23  <rlidwka>texinwien, apart from inability to write comments?
14:11:25  <dypsilon>texinwien, just doesn't feel right
14:11:37  <iszak>ericelliott: yeah it's minor, but I like to see vulnerabilities because it's a sign of maturity usually
14:11:46  <texinwien>rlidwka yes, apart from the inability to write comments - is that your only / main complaint?
14:11:52  <Beg>gildean: can it be used from within node.js?
14:11:53  <dypsilon>rlidwka, you know, you don't have to use json with hapi?
14:11:56  <gildean>rlidwka: you can write comments, just add a key "comment": "your comment here"
14:11:56  * McScjoined
14:11:56  * rafaelcaceresquit (Remote host closed the connection)
14:11:58  <nlf>rlidwka: then use javascript instead, and you can write comments and it works exactly the same
14:12:00  <scc>any ideas on how I can go about seeing why i'm getting different numbers (maybe it's stupid logic bug, but I don't think so)
14:12:06  <iszak>ericelliott: do you read daily.js?
14:12:11  <rlidwka>it's a main complain... also trailing comma and quoting, but it's minor
14:12:16  <texinwien>gildean indeed - that's how I do it
14:12:23  <gildean>Beg: in a way, but it's really self-contained (but can do what you're asking)
14:12:33  * srijayquit (Ping timeout: 240 seconds)
14:12:40  <rlidwka>gildean: this "workaround" is a joke really... do you even have a syntax highlighting for it?
14:12:43  * jreadingquit (Read error: Connection reset by peer)
14:12:49  * rafaelcaceresjoined
14:12:51  * jreadingjoined
14:13:08  <ericelliott>iszak: I try to. I've been extremely busy. =)
14:13:12  <nlf>well don't worry about your main complaint because it's not even true :) you don't have to use json configs at all, in fact if you're thinking about what i think you are all it expects is an object
14:13:14  * enmandquit (Read error: Connection reset by peer)
14:13:15  <dypsilon>rlidwka, you can even use yaml and pass it to hapi as long as you can convert it to a javascript object
14:13:18  <nlf>nothing says that object has to be json
14:13:20  <gildean>rlidwka: no, but then again i haven't really had the need to comment my json either
14:13:28  * kexjoined
14:13:34  * whyyquit (Ping timeout: 260 seconds)
14:14:02  * lpinquit (Quit: Textual IRC Client: www.textualapp.com)
14:14:05  <iszak>holy crap when did express 4.7 drop?
14:14:09  * enmandjoined
14:14:12  <texinwien>dunno, I prefer looking at JSON configs to looking at XML configs
14:14:26  * briandelajoined
14:14:46  <Beg>gildean: it doesn't seem to fit the traditional way of wokring with nodejs.. just npm install, and run code, I can't really afford timewise to learn all tools and how to configure and integrate them
14:15:03  <rlidwka>dypsilon: I used hapi when I was trying to install "kappa". Compare that with "npm-registry-proxy" it was forked from. Maybe I was just looking at a bad example of hapi usage, but I prefer to avoid it ever since.
14:15:35  * Sonicridaquit (Ping timeout: 264 seconds)
14:15:40  * supermat_joined
14:15:50  <CIDIC>anyone able to help me with my entity tile grid management design?
14:16:04  <dypsilon>rlidwka, yeah, your opinion is missguided
14:16:06  <rlidwka>texinwien: yeah JSON looks better than XML. But you should really use either YAML or JSON5 instead.
14:16:18  * srijayjoined
14:16:24  <morfin>JSON is better )
14:16:26  <dypsilon>rlidwka, hapi is a very solid, battle tested and well engineered framework
14:16:37  * babsvikquit (Quit: Textual IRC Client: www.textualapp.com)
14:16:39  * robbyoconnorjoined
14:16:41  <morfin>YAML have very strict syntax
14:16:43  * TorpedoSkylinejoined
14:16:45  * mary5030joined
14:16:45  <iszak>Are we really having a fight over JSON vs XML? We all know YAML is better.
14:16:46  <systemfault>dypsilon: But he used it for 2 seconds and disliked it!
14:16:52  <morfin>and one space\etc can fuck up whole thing
14:16:53  <ericelliott>iszak: Speaking of Express 4.x -- I should really go through all my express libs and make sure they all play nice.
14:16:56  <systemfault>dypsilon: So he definitely knows what he's talking about.
14:17:07  <morfin>how YAML is better?:
14:17:10  * mary5030quit (Remote host closed the connection)
14:17:14  <iszak>ericelliott: Express 4.x? You mean 5.x is going to be out soon, we're already on 4.7..
14:17:15  * damir__quit (Ping timeout: 256 seconds)
14:17:20  <morfin>what it have what can't JSON do?
14:17:22  <systemfault>YAML supports more crap... that doesn't make it "better"
14:17:28  <systemfault>morfin: references IIRC
14:17:33  <morfin>hm
14:17:39  <morfin>references?
14:17:42  * whyyjoined
14:17:45  <morfin>yep i know that crap
14:17:47  <texinwien>rlidwka I'm working with many, many config files that I store in CouchDB. I'd like to see JSON improved, mostly by allowing comments, but I don't usually create configs by hand, anyway.
14:17:48  * mary5030joined
14:17:53  <ericelliott>iszak: if you're concerned about DoS attacks, it's super-easy to crash most default Express installs by intentionally sending 4xx errors.
14:17:58  * coryasaurusquit (Ping timeout: 250 seconds)
14:18:08  <iszak>ericelliott: I don't deploy node.js
14:18:09  <morfin>why?
14:18:13  <rlidwka>morfin: it can contain comments, and don't use trailing quotes :) same as JSON5, but not JSON for some reason
14:18:21  * gsdjoined
14:18:26  <morfin>i will quote one guy
14:18:26  <ericelliott>iszak: you don't?
14:18:28  * piraxxjoined
14:18:31  <iszak>No, ha.
14:18:33  <morfin>JSON should be self-descriptive
14:18:40  * tillepsquit (Quit: tilleps)
14:18:44  <systemfault>There's no reason for JSON to have comments, it's a serialization format FFS.
14:18:48  <iszak>ericelliott: I don't do node.js
14:18:55  <ngoyal>systemfault: +1
14:18:59  * TorpedoSkylinequit (Client Quit)
14:19:00  <ericelliott>iszak: oh. hrm.
14:19:06  <rlidwka>also, YAML has rather unique feature - repeated nodes - that's why I prefer it over JSON5 sometimes
14:19:09  * shafirejoined
14:19:13  <systemfault>Allowing comments in JSON is opening a door to all kinds of crap... like PHP used comments to implement annotations
14:19:13  * yoshokatana_joined
14:19:14  <shafire>hi
14:19:17  * yoshokatana_quit (Client Quit)
14:19:19  <shafire>someone using jxcore?
14:19:19  * s2013joined
14:19:24  <iszak>doesn't yaml support inheritance as well?
14:19:32  <rlidwka>systemfault: yeah, exactly! JSON is a serialization format, don't use it as a config format!
14:19:34  <morfin>:D
14:19:36  * coryasaurusjoined
14:19:39  <iszak>systemfault: there's nothing wrong with annotations!
14:19:42  <ericelliott>iszak: I've worked in Node pretty much full time for almost 2 years, and I've been using it since 2009.
14:19:57  <iszak>systemfault: anyway, that's usually to augment code, you can already parse JS comments and infer behavior
14:20:12  * giaceccojoined
14:20:15  <rlidwka>iszak: no, it doesn't support inheritance. I think it supports custom datatypes, maybe it counts.
14:20:16  <systemfault>iszak: I agree. As long as they're actually supported by the language.
14:20:28  <scc>mem is not the issue
14:20:32  * sonofdirtjoined
14:20:32  <iszak>rlidwka: pretty sure it does.
14:20:46  * dob_joined
14:20:47  * masterots_joined
14:20:50  * supermat_changed nick to supermat
14:20:50  * briandelaquit (Ping timeout: 255 seconds)
14:20:54  * rhojoined
14:20:54  * rhoquit (Changing host)
14:20:54  * rhojoined
14:21:04  * Jamy_quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
14:21:12  * Jamyjoined
14:21:29  * lpinjoined
14:21:42  * kenzicjoined
14:21:56  <texinwien>most of my JSON configs are generated via JSON.stringify, anyway
14:22:02  * Swayzjoined
14:22:07  * Swayzquit (Max SendQ exceeded)
14:22:15  <iszak>rlidwka: maybe it's my implementation but you can merge with <<: &reference
14:22:21  * whyyquit (Ping timeout: 256 seconds)
14:22:44  <morfin>i was going to use JSON in my C++ project for configs_)
14:22:45  * Swayzjoined
14:22:46  <iszak>rlidwka: inheritance is probably the wrong term, reusable config
14:22:48  * andylolzjoined
14:22:49  * rgljoined
14:22:55  <texinwien>iszak I wrote a funtion that'll merge any number of JSON objects
14:23:11  <iszak>texinwien: yeah it's not hard
14:23:18  * daffljoined
14:23:33  <morfin>because using property_tree from boost
14:23:34  <andylolz>1337 members
14:23:40  <andylolz>I am a bit confused about what the node compression module is supposed to do… Can someone enlighten me?
14:23:53  <morfin>serialziation\deserialization is easy
14:24:05  <morfin>much easier than writing YAML
14:24:13  <systemfault>morfin: Yup
14:24:18  <rlidwka>iszak: does http://nodeca.github.io/js-yaml/ support that? I can't find it in the spec.
14:24:18  * coryasaurusquit (Ping timeout: 260 seconds)
14:24:36  * herrkin_joined
14:24:39  <iszak>rlidwka: yes see http://yaml.org/type/merge.html section
14:24:46  * bradgignac_joined
14:24:52  * hilkolantingaquit (Quit: hilkolantinga)
14:25:51  * darius93quit (Remote host closed the connection)
14:26:28  * piraxjoined
14:26:42  * barneybookquit (Ping timeout: 255 seconds)
14:26:54  * jessepollakjoined
14:27:00  * jakecrai_quit (Remote host closed the connection)
14:27:03  * tullyquit (Ping timeout: 240 seconds)
14:27:10  * rglquit (Ping timeout: 250 seconds)
14:27:22  * bluesmjoined
14:27:23  * dob_quit (Ping timeout: 240 seconds)
14:27:23  * herrkinquit (Ping timeout: 240 seconds)
14:27:52  * rhoquit (Ping timeout: 240 seconds)
14:27:54  * bic2kjoined
14:28:30  * piraxxquit (Ping timeout: 260 seconds)
14:28:44  * corydjoined
14:28:54  * rhojoined
14:28:54  * rhoquit (Changing host)
14:28:54  * rhojoined
14:28:55  * jakecraigejoined
14:29:10  * jsjsquit (Ping timeout: 245 seconds)
14:29:10  * xnqquit (Ping timeout: 245 seconds)
14:29:10  * XemsDoomquit (Ping timeout: 245 seconds)
14:29:10  * XemsDoom|Awayjoined
14:29:10  * xnqjoined
14:29:10  * ivan\quit (Ping timeout: 245 seconds)
14:29:10  * XemsDoom|Awaychanged nick to XemsDoom
14:29:10  * bradgignacquit (Ping timeout: 245 seconds)
14:29:10  * CptCleverquit (Ping timeout: 245 seconds)
14:29:10  * CptCleverjoined
14:29:10  * ivan\joined
14:29:10  * ivan\quit (Changing host)
14:29:10  * ivan\joined
14:29:43  * timmywiljoined
14:30:04  * kazuponjoined
14:30:15  * maz-devjoined
14:30:17  * avensjoined
14:30:20  * jreadingquit (Quit: Leaving.)
14:30:38  * farawayjoined
14:30:48  * dob_joined
14:32:04  * acalbaza_joined
14:32:04  * acalbazaquit (Read error: Connection reset by peer)
14:32:42  * nodweberquit (Remote host closed the connection)
14:33:01  * hactorjoined
14:33:19  * tullyjoined
14:33:41  * gsdquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
14:33:54  * tvwquit (Ping timeout: 255 seconds)
14:34:12  * listochkinjoined
14:34:20  * astevejoined
14:34:22  * xobbquit (Ping timeout: 245 seconds)
14:34:48  * TaRaKa_quit (Remote host closed the connection)
14:35:02  * honiquit (Quit: honi)
14:35:07  * pmooneyjoined
14:35:20  * TaRaKajoined
14:35:22  * h0mebrewerquit (Remote host closed the connection)
14:35:29  * thealphanerdjoined
14:35:37  * jreadingjoined
14:35:39  * jreadingquit (Client Quit)
14:35:54  * h0mebrewerjoined
14:36:15  * infynyxxquit (Remote host closed the connection)
14:36:45  * McSc_joined
14:37:14  * tlyncquit (Remote host closed the connection)
14:37:30  * rafaelcaceresquit (Remote host closed the connection)
14:37:38  * rafaelcaceresjoined
14:37:39  * rafaelcaceresquit (Remote host closed the connection)
14:37:50  * tlyncjoined
14:37:52  * iarnaquit (Quit: iarna)
14:37:52  * corydquit (Ping timeout: 240 seconds)
14:37:58  * jmar777quit (Remote host closed the connection)
14:38:06  * dignifiedquirejoined
14:38:29  * Christerjoined
14:38:29  * Christerquit (Changing host)
14:38:29  * Christerjoined
14:38:52  * zivesterquit (Ping timeout: 250 seconds)
14:39:09  * sweberjoined
14:39:34  * DrShoggothjoined
14:39:44  * sweberquit (Client Quit)
14:40:01  * uf6667joined
14:40:01  * josephcsquit (Read error: Connection reset by peer)
14:40:02  * xobbjoined
14:40:03  * umib0zu_joined
14:40:19  * McScquit (Ping timeout: 255 seconds)
14:40:21  * coryasaurusjoined
14:40:26  * h0mebrewerquit (Ping timeout: 244 seconds)
14:40:34  * pablovilasjoined
14:40:40  * JeremyWeijoined
14:40:56  * playjaxquit (Ping timeout: 250 seconds)
14:41:03  * Bec0dequit (Ping timeout: 256 seconds)
14:41:03  * BigCat2Kjoined
14:41:43  * weisjohnjoined
14:42:01  * tlyncquit (Ping timeout: 252 seconds)
14:42:13  <pablovilas>Hello, I'm wondering if anty of you knows a framework for domain modeling. Like mongoose but database agnostic. Thanks
14:42:31  * Christer|quit (Ping timeout: 272 seconds)
14:42:33  * listochkinquit (Remote host closed the connection)
14:42:47  * spolujoined
14:43:39  <scrooge_mcduck>pablovilas: try waterline
14:44:04  <scrooge_mcduck>https://github.com/balderdashy/waterline
14:44:40  * jessepollakquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
14:44:48  * zequixquit
14:44:55  * dadicooljoined
14:44:56  * Christerquit (Ping timeout: 250 seconds)
14:45:00  <pablovilas>scrooge_mcduck, thanks for your help. I'll give a try
14:45:29  * thealphanerdquit (Quit: thealphanerd)
14:45:32  * mbrgm1joined
14:45:42  <systemfault>pablovilas: If there's ONE thing that should be framework agnostic in an application... it's the domain..
14:45:53  * EyePulpjoined
14:46:10  * VictorCLquit (Read error: Connection reset by peer)
14:46:17  * robmorri_quit (Quit: Computer has gone to sleep.)
14:46:18  * munichlinuxquit (Remote host closed the connection)
14:46:22  * darius93joined
14:46:28  * infynyxxjoined
14:47:17  * spoluquit (Ping timeout: 245 seconds)
14:47:33  * qawsejoined
14:47:39  * s3shsjoined
14:47:48  <pablovilas>systemfault, Yes you are right. Right now I'm using mongoose it's great, but don't let me change to another db rather than mongodb
14:47:55  * h0mebrewerjoined
14:48:01  <scrooge_mcduck>waterline is quite cool
14:48:17  <scrooge_mcduck>allows you to connect to different adapters so modelA can be mongodb and modelB can be mysql etc.
14:48:19  <systemfault>pablovilas: That's the big problem with ORMs, they're usually invasive
14:48:30  * ashnurjoined
14:48:42  <systemfault>pablovilas: And for some stupid reason, activerecord is the popular pattern for persistence.
14:48:55  <systemfault>So your domain is polluted by crap.
14:48:58  * jmar777joined
14:49:03  * ramitos_quit (Quit: Textual IRC Client: www.textualapp.com)
14:49:10  * briandelajoined
14:49:15  * ramitosjoined
14:49:23  * chieljoined
14:49:29  * artecedquit (Ping timeout: 272 seconds)
14:49:50  * platojoined
14:50:29  * soichihquit (Read error: Connection reset by peer)
14:50:39  <texinwien>If I want to kick off a long-running process by requesting a URL
14:51:11  <texinwien>Will node, by default, continue processing even if the browser shuts down or navigates elsewhere?
14:51:22  <pablovilas>systemfault, Exactly. I supose that active record only fit for the *common* and crud projects
14:51:27  * kiwi_banalquit (Quit: Leaving)
14:51:46  * soichihjoined
14:51:46  * sputnik13quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…)
14:52:12  * rafaelcaceresjoined
14:52:45  <systemfault>pablovilas: The usual answer for this problem is the repository pattern.. but I haven't seen anything for node :/
14:53:21  * sputnik13joined
14:53:45  * carczarjoined
14:54:00  * akimjoined
14:54:16  * tranzfusequit (Remote host closed the connection)
14:54:40  * MickeyOjoined
14:54:43  * tranzfusejoined
14:54:45  * ovnicraftjoined
14:55:01  * bic2kquit (Quit: bic2k)
14:55:16  * thealphanerdjoined
14:55:20  <pablovilas>systemfault, yes, a repository pattern in node would be perfect. Thanks for your help. I really appreciate it
14:55:28  * mattdeslquit (Quit: mattdesl)
14:55:44  <iszak>systemfault: it's because it's not mature enough to realise the repository pattern yet.
14:55:50  * amargheriojoined
14:55:56  <iszak>systemfault: most don't even call to the attention of service layers
14:55:56  * __TheEwok__joined
14:55:56  * jduhlsquit (Ping timeout: 255 seconds)
14:56:01  * jshultzjoined
14:56:23  * oncletomjoined
14:56:25  <systemfault>iszak: I thought it was a community thing more than anything else...
14:56:28  * ramprjoined
14:56:41  * tranzfus_joined
14:56:42  <systemfault>I mean... that's what you get when you take frontend programmers and make them do backend.
14:56:47  <iszak>systemfault: as in the community reject the notion of these ideas?
14:56:55  * Peder_quit (Remote host closed the connection)
14:56:55  * Bec0dejoined
14:57:02  * mattdesljoined
14:57:15  <iszak>systemfault: heh yeah pretty much, but then you do have backend developers who don't know when to abstract as well
14:57:17  <systemfault>iszak: Not reject... they just don't know because that knowledge usually don't apply to "I love jquery!!!" type of guys
14:57:30  * coryasaurusquit (Ping timeout: 250 seconds)
14:57:42  * dadicoolquit (Read error: Connection reset by peer)
14:57:45  * rafaelcaceresquit (Remote host closed the connection)
14:57:53  * rafagomesquit (Remote host closed the connection)
14:58:01  * dadicooljoined
14:58:09  * mrcnijoined
14:58:10  <iszak>systemfault: what language/framework are you from?
14:58:30  * rafagomesjoined
14:58:35  <systemfault>iszak: I don't know anymore... C++/Java/PHP/C#/Python/JS..
14:58:45  * paul_truejoined
14:58:57  * spolujoined
14:58:57  * Soothsayerquit (Read error: Connection reset by peer)
14:59:12  * Soothsayerjoined
14:59:14  * akoenigjoined
14:59:14  * tranzfusequit (Ping timeout: 250 seconds)
14:59:22  * paul_truequit (Client Quit)
14:59:29  <Aria>Heh. I'd hesitate to blame 'frontend' for poor modeling choices. I think a lot of framework thinking is part of it -- expecting to be given structure to that will prevent problems, instead of finding structure to solve problems. An inversion.
14:59:35  * dead_horsejoined
14:59:47  * phuhquit (Read error: Connection reset by peer)
14:59:48  * paul_truejoined
15:00:03  <Aria>Also, this stuff is HARD and nobody agrees on it. You see ten apps, you see at least twenty ways of doing it.
15:00:05  * coryasaurusjoined
15:00:06  <systemfault>iszak: I have a more classic OOP modeling background though...
15:00:13  * phuhjoined
15:00:25  * bic2kjoined
15:00:43  * JeremyWeiquit (Quit: Computer has gone to sleep.)
15:00:47  * yoshokatana_joined
15:00:51  * GaborMquit
15:00:52  * recidivejoined
15:00:52  * yoshokatana_quit (Client Quit)
15:00:53  * dead_horsequit (Remote host closed the connection)
15:01:06  * swirlycheetahquit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
15:01:07  <iszak>systemfault: yeah same, considered learning FP and pure prototyping though
15:01:09  * chenghizjoined
15:01:19  * dmrsquit (Remote host closed the connection)
15:01:20  <dino82>Aria you nailed it, that's why I can't get into programming in node quite yet
15:01:25  <iszak>Aria: I would like to think a good programmer realises when their code is not DRY and abstracts it out.
15:01:37  * caisahjoined
15:01:41  <systemfault>iszak: I've been struggling hard to learn haskell... (still do)
15:01:44  * brianloveswordsjoined
15:01:48  * xjiujiuquit (Ping timeout: 255 seconds)
15:01:48  * dead_horsejoined
15:02:17  * MickeyOquit (Ping timeout: 245 seconds)
15:02:19  <iszak>systemfault: wait until you reach enlightenment then you go around preaching it.
15:02:21  * bic2kquit (Client Quit)
15:02:22  * Patrick__joined
15:02:24  <dino82>It also doesn't help that any tutorial older than 6 months is completely irrelevant and outdated, but I digress
15:02:36  * Bonojoined
15:02:37  * kageyoshijoined
15:02:39  * denomquit (Ping timeout: 244 seconds)
15:02:55  * listochkinjoined
15:03:00  <Aria>iszak: I think DRY is overstated and people spend a lot of time microoptimizing for DRY when they should be minimizing and stabilizing interface instead.
15:03:02  <systemfault>iszak: I don't know... it took me years to learn OOP properly with all that's related...
15:03:04  * Hounddog_joined
15:03:10  * rafagomesquit (Ping timeout: 244 seconds)
15:03:19  <systemfault>iszak: Not sure I'll have the patience to do the same with FP..
15:03:21  <Aria>iszak: Especially because people tend to metaprogram to stop repetition.
15:03:53  <Aria>I do think it's a lot easier to write non-repetetive javascript with a functional rather than OO style though.
15:04:03  * paul_truequit (Ping timeout: 240 seconds)
15:04:03  * mrkakequit (Ping timeout: 240 seconds)
15:04:07  * barneybookjoined
15:04:08  * tranzfus_quit (Remote host closed the connection)
15:04:09  <scc>Hopefully someone can help, I have client and server tcp code, and when I run them, the server and client script output a different number of open connections. any help would be great.. http://jsfiddle.net/#&togetherjs=MHoNRjAgpa
15:04:11  <systemfault>Aria: FP made me love immutability.
15:04:16  <Aria>systemfault: ME TOO.
15:04:19  * hichaelmartquit (Remote host closed the connection)
15:04:28  <Aria>systemfault: Now I consider "this.anything =" a smell.
15:04:30  <qawse>hello, I sucessfully connected to MongoDB using mongoose.connect.
15:04:34  * herrkin_changed nick to herrkin
15:04:35  * tranzfusejoined
15:04:37  <qawse>But I need two db connections and changed the code to mongoose.createConnection .
15:04:40  * tisbajoined
15:04:47  * Hounddogquit (Ping timeout: 264 seconds)
15:04:47  <iszak>oh god, the FP programmers are coming out
15:04:51  * taij33nquit (Ping timeout: 256 seconds)
15:04:52  * hichaelmartjoined
15:04:55  <qawse>The two connections are opened correctly, but I habe no idea how to change the model:
15:04:56  * acalbaza_quit (Ping timeout: 255 seconds)
15:04:58  <txdv>I think they are in the wrong channel
15:05:02  * sputnik13quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…)
15:05:05  * masterots_quit (Quit: Computer has gone to sleep.)
15:05:06  * bic2kjoined
15:05:08  <txdv>because javascript has neither types nor enforced immutability
15:05:12  * Aswebbjoined
15:05:14  * rafagomesjoined
15:05:20  <systemfault>txdv: Yeah... that sucks.
15:05:24  <iszak>To be honest, I think opening your mind up to a different ideology is good, I like the idea of immutability, the same way I like the idea of TDD.
15:05:36  <qawse>Here is the code https://dpaste.de/DBMx
15:05:39  * hartthojoined
15:05:40  <systemfault>txdv: I do my best to still write code without side-effect though.
15:05:41  * masterots_joined
15:05:57  * kageyoshi1joined
15:05:57  * connrsquit (Ping timeout: 272 seconds)
15:05:58  * Patrick_Baitmanquit (Ping timeout: 255 seconds)
15:06:05  * akim_joined
15:06:07  * danielpquinnjoined
15:06:27  * jessepollakjoined
15:06:32  <iszak>systemfault: code looks like this a(b(c(d(e(f(g(h(j(k())))))))))
15:06:35  <Aria>txdv: I'm down with dynamic type fp ;-)
15:07:00  * simonsternjoined
15:07:03  * Patrick__quit (Ping timeout: 240 seconds)
15:07:07  <systemfault>iszak: LISP is not really FP though :P
15:07:11  <iszak>systemfault: I'm just ribbing you :)
15:07:22  * sputnik13joined
15:07:27  <systemfault>Haskell is closer... and doesn't have a ton of ())(()))(())))))((
15:07:39  * barneybook_8joined
15:07:39  * weisjohnquit (Quit: weisjohn)
15:07:51  <iszak>systemfault: kind of like ruby? :D
15:08:00  * shreddingquit (Quit: shredding)
15:08:00  <Aria>I think you're more willing to prescribe an ideal than I am, systemfault.
15:08:07  <systemfault>I don't know Ruby :/
15:08:09  <texinwien>Aria what would you prefer to see rather than this.anything = 'smelly'?
15:08:09  * hannesvdvrekenquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
15:08:09  * boogiejoined
15:08:26  * hychenjoined
15:08:29  * enaqxquit (Ping timeout: 272 seconds)
15:08:40  * JamesMGreenejoined
15:08:43  <systemfault>I have some extreme opinion about Ruby :P
15:08:47  <systemfault>*opinions
15:08:52  * grindmodeonjoined
15:08:56  * connrsjoined
15:08:58  * mrcniquit (Quit: mrcni)
15:09:02  * gsdjoined
15:09:02  * kageyoshiquit (Ping timeout: 245 seconds)
15:09:06  <texinwien>just go Erlang and fuggedaboutit
15:09:07  * munichlinuxjoined
15:09:08  * hichaelmartquit (Ping timeout: 240 seconds)
15:09:09  * hichaelm_joined
15:09:14  * thealphanerdquit (Quit: thealphanerd)
15:09:34  <systemfault>texinwien: It doesn't look like it from my presence on this channel... but I prefer languages with static typing :P
15:09:34  * akimquit (Ping timeout: 272 seconds)
15:09:34  * Efremchanged nick to Efrem-Away
15:09:43  * linclarkjoined
15:09:46  * jakehowjoined
15:10:07  <ThreeOClock>Ditto.
15:10:16  * mlouroquit (Quit: Quit)
15:10:20  * NodeNagantjoined
15:10:20  * nechtanjoined
15:10:24  * barneybookquit (Ping timeout: 250 seconds)
15:10:25  * weisjohnjoined
15:10:33  * danielpquinnquit (Ping timeout: 240 seconds)
15:10:34  <Aria>texinwien: return function () { return "not so bad"; }
15:10:53  * VictorCLjoined
15:11:05  <texinwien>hm
15:11:11  * dead_horsequit (Remote host closed the connection)
15:11:21  * pvankouterenquit (Quit: pvankouteren)
15:11:29  * hichaelm_quit (Remote host closed the connection)
15:11:46  * mrkakejoined
15:12:48  * danielstjulesjoined
15:13:16  * rellingjoined
15:13:23  * shreddingjoined
15:13:31  * katylavajoined
15:13:32  * munichlinuxquit (Ping timeout: 245 seconds)
15:13:46  * connrsquit (Ping timeout: 264 seconds)
15:13:51  <texinwien>I try to keep it functional, but there are some imperative patterns I haven't figured out how to translate yet.
15:14:05  <texinwien>Probably just need to do a little reading and spend some more time thinking about it, though
15:14:15  * ccohnquit (Remote host closed the connection)
15:14:20  * mlourojoined
15:14:36  * rafaelcaceresjoined
15:14:41  * duch_kazateljoined
15:14:51  * ccohnjoined
15:15:13  * Willowjoined
15:15:28  * mlouroquit (Client Quit)
15:15:34  * s2013quit (Ping timeout: 244 seconds)
15:15:38  * ccohnquit (Read error: Connection reset by peer)
15:15:56  * ccohnjoined
15:16:11  * simonsternquit (Ping timeout: 256 seconds)
15:16:11  * danielstjulesquit (Client Quit)
15:16:11  <texinwien>like how to recurse through nested object and create a new object based on the original one
15:16:11  * mbrgm1quit (Quit: WeeChat 0.4.3)
15:16:33  * __TheEwok__quit (Ping timeout: 240 seconds)
15:16:59  * gauravsaini03joined
15:17:06  * torlancojoined
15:17:09  <texinwien>var accumulator = {}; map(source, function(value, key){accumlator[key]=value})
15:17:12  * munichlinuxjoined
15:17:20  * FernandoBassoquit (Quit: WeeChat 0.4.3)
15:17:26  * varibull_joined
15:17:30  * Nexenjoined
15:17:53  * pablovilasquit (Quit: Saliendo)
15:18:09  <systemfault>Looks like it could be a .reduce
15:18:15  * varibullquit (Read error: Connection reset by peer)
15:18:21  <texinwien>useless example, but it illustrates a pattern I'd like to rewrite functionally
15:19:33  * ph88quit (Quit: Page closed)
15:19:42  <Aria>Yep. That's a reduce.
15:19:47  * Aeqjoined
15:20:09  <Aria>Also, that doesn't leak the imperative parts. It wouldn't bother me to see that.
15:20:14  <texinwien>indeed. I've ignored reduce() *hangs head in shame*
15:20:17  * jotaefejoined
15:20:31  * mlourojoined
15:20:36  * simonsternjoined
15:20:46  <texinwien>time to refactor some imperative code that I don't like to look at.
15:21:16  * geniethejoined
15:21:33  * munichlinuxquit (Ping timeout: 240 seconds)
15:22:03  <ThreeOClock>Imperative is love.
15:22:19  * xjuanjoined
15:22:27  * weiluquit (Remote host closed the connection)
15:22:58  <ThreeOClock>Or maybe I just never got the hang of all these crazy half-mathematical languages and I prefer to stick with my pointers and nulls. :>
15:22:59  * Bec0dequit (Ping timeout: 256 seconds)
15:23:02  <systemfault>.reduce is the most general FP function... you can implement all the other FP-style iteration routines using it.
15:23:04  * Aswebbquit (Remote host closed the connection)
15:23:14  * dignifiedquirequit (Quit: dignifiedquire)
15:23:24  * poacher2kquit (Ping timeout: 255 seconds)
15:23:34  * rgljoined
15:23:59  * edulixquit (Ping timeout: 264 seconds)
15:23:59  <texinwien>thanks for making me look at it. I hate writing 'for' and/or 'forEach'
15:24:25  <morfin>hmm
15:24:55  * dookquit (Quit: dook)
15:25:16  <morfin>did anybody ues https://github.com/brianc/node-agi?
15:25:17  * torlanco_joined
15:25:38  * DiegoMaxjoined
15:25:49  * briandelaquit (Remote host closed the connection)
15:25:53  * torlancoquit (Read error: Connection reset by peer)
15:26:23  * Robbiliequit (Ping timeout: 256 seconds)
15:26:35  * iarnajoined
15:26:40  * enmandquit (Ping timeout: 255 seconds)
15:26:49  * kurionquit (Quit: kurion)
15:27:12  * infynyxxquit (Remote host closed the connection)
15:27:27  * __TheEwok__joined
15:27:42  * rglquit (Ping timeout: 245 seconds)
15:27:56  * edulixjoined
15:28:24  * snathanjoined
15:28:50  * tranzfusequit (Remote host closed the connection)
15:29:17  * tranzfusejoined
15:29:27  * Robbiliejoined
15:29:41  * yalamber_quit
15:29:51  * connrsjoined
15:29:58  * sputnik13quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…)
15:30:04  * enaqxjoined
15:30:05  * wraithgarjoined
15:30:13  * kazuponquit (Remote host closed the connection)
15:30:36  * mannirjoined
15:30:40  * kazuponjoined
15:30:48  * sputnik13joined
15:30:48  * tskaggsjoined
15:30:58  <mannir>hello
15:31:10  <systemfault>HI
15:31:28  <andylolz>hiya
15:31:30  * kazuponquit (Read error: Connection reset by peer)
15:31:36  * kazupon_joined
15:31:41  * psdnjoined
15:31:43  * weilujoined
15:31:56  * h0mebrewerquit (Remote host closed the connection)
15:32:00  * Lopequit (Quit: Leaving)
15:32:01  <andylolz>can I ask my stupid question again? I’m not sure how “compression” is supposed to work https://www.npmjs.org/package/compression
15:32:13  * munichlinuxjoined
15:32:23  * geniethequit (Ping timeout: 272 seconds)
15:32:23  * edulixquit (Ping timeout: 255 seconds)
15:32:26  * virequit (Ping timeout: 260 seconds)
15:32:29  * h0mebrewerjoined
15:32:41  * Cache_Moneyjoined
15:32:44  * infynyxxjoined
15:33:01  <psdn>Is it ok (not ignorant) to recast data from string to number, when a DB query is turned into and out of a string for redis storage?
15:33:05  * kexquit (Remote host closed the connection)
15:33:10  * torlanco_quit (Read error: Connection reset by peer)
15:33:26  * torlancojoined
15:33:33  * tranzfusequit (Ping timeout: 240 seconds)
15:33:36  * AndChat572649joined
15:33:39  * kexjoined
15:33:40  * darius93quit (Remote host closed the connection)
15:33:52  <iszak>andylolz: did you look at the code?
15:33:56  <AndChat572649>Hello
15:34:43  * bohdanjoined
15:34:44  * walterheckjoined
15:34:46  * aakashjoined
15:34:46  <iszak>andylolz: it looks like it compressed the data coming from express.js using gzip kind of like mod_deflate for apache
15:34:47  * kazupon_quit (Remote host closed the connection)
15:34:49  <mannir>hi
15:34:53  * simonsternquit (Ping timeout: 256 seconds)
15:35:01  * kexquit (Read error: Connection reset by peer)
15:35:02  <AndChat572649>Hi
15:35:03  * xjiujiujoined
15:35:06  * modojoined
15:35:11  * AlexZanfquit (Read error: Connection reset by peer)
15:35:13  * kazuponjoined
15:35:24  <mannir>\join drupal
15:35:25  * kexjoined
15:35:25  * simonsternjoined
15:35:26  * darius93joined
15:35:42  * sputnik13quit (Ping timeout: 260 seconds)
15:35:54  * akim__joined
15:35:58  * tskaggsquit (Ping timeout: 264 seconds)
15:36:09