00:00:15  * Lucifer333part ("Leaving")
00:00:37  * disordinaryquit (Quit: This computer has gone to sleep)
00:01:40  * PaulCapestanyquit (Ping timeout: 252 seconds)
00:01:41  * unforgiven512quit (Quit: ZNC - http://znc.in)
00:01:50  * smccarthyquit
00:02:03  * tristanp_joined
00:02:53  * unforgiven512joined
00:02:54  * unforgiven512quit (Max SendQ exceeded)
00:03:26  * zivesterjoined
00:03:27  * unforgiven512joined
00:03:27  * unforgiven512quit (Max SendQ exceeded)
00:03:36  * kevdezquit (Read error: Connection reset by peer)
00:03:37  * realisationquit (Quit: My Mac has gone to sleep. ZZZzzz…)
00:03:50  * nuizzyquit (Quit: nuizzy)
00:04:01  * unforgiven512joined
00:04:02  * unforgiven512quit (Max SendQ exceeded)
00:04:03  * duckpupp1quit (Ping timeout: 240 seconds)
00:04:19  * FunnyLookinHatjoined
00:04:32  * tristanpquit (Ping timeout: 272 seconds)
00:04:35  * unforgiven512joined
00:04:36  * unforgiven512quit (Max SendQ exceeded)
00:05:00  * bronsonquit (Remote host closed the connection)
00:05:44  * unforgiven512joined
00:05:53  * ShekharReddyquit (Quit: Connection closed for inactivity)
00:06:35  * kuldeepquit (Ping timeout: 258 seconds)
00:06:37  * mscdexquit (Ping timeout: 250 seconds)
00:07:17  * JSLintquit (Remote host closed the connection)
00:07:43  * whathappensquit (Quit: Leaving...)
00:08:19  * HumanBeingjoined
00:08:35  <HumanBeing>Hey all.
00:09:06  * FunnyLookinHatquit (Ping timeout: 276 seconds)
00:09:31  <HumanBeing>Looking for a library recommendation: I need to display elapsed time (like a stop watch) days, hours, minutes, seconds. I also need to sync with server time. Any suggestions?
00:10:10  * domahquit (Ping timeout: 244 seconds)
00:10:15  * bronsonjoined
00:11:29  * RickardsRedjoined
00:11:37  * karmahackerquit (Ping timeout: 260 seconds)
00:11:43  * bhughesjoined
00:12:11  * T-2000joined
00:12:18  <GreenJello>HumanBeing, sounds like something you need to build yourself
00:12:22  * kingarmadillojoined
00:12:39  * robertBusyquit
00:12:59  * whathappensjoined
00:13:48  <HumanBeing>GreenJello, yea was hoping but I'm starting to think the same.
00:14:48  * quantumfoamjoined
00:15:02  * jorstoquit (Quit: Textual IRC Client: www.textualapp.com)
00:15:11  <quantumfoam>holy crap, this channel is more active than I expected
00:15:36  * derfohquit (Ping timeout: 276 seconds)
00:15:37  * joogejoined
00:15:39  * slxjoined
00:17:15  * kingarmadilloquit (Ping timeout: 264 seconds)
00:17:24  * denisraquit (Quit: Leaving)
00:18:13  * pgmquit (Quit: pgm)
00:18:19  * atombler_joined
00:19:37  * atomblerquit (Ping timeout: 258 seconds)
00:19:40  * slxquit (Quit: leaving)
00:19:53  * mscdexjoined
00:20:14  * djmaxjoined
00:20:51  * Impalooquit (Remote host closed the connection)
00:21:00  * Impaloojoined
00:21:08  * Impalooquit (Remote host closed the connection)
00:21:19  * tristanpjoined
00:21:52  * Impaloojoined
00:22:54  * tristanp_quit (Ping timeout: 272 seconds)
00:23:20  * ahmedelgabriquit (Quit: WeeChat 1.5)
00:24:10  * chjj_quit (Ping timeout: 272 seconds)
00:24:21  <dunpeal>Is there a way I can get the callback for particular events from the server object?
00:24:28  * RickardsRedquit (Quit: My Mac has gone to sleep. ZZZzzz…)
00:24:41  * jfranquit (Quit: My Mac has gone to sleep. ZZZzzz…)
00:24:44  <netameta>HumanBeing, you need it to sync with server - you will almost never be dead on
00:24:48  * iyogeshjoshijoined
00:24:54  <dunpeal>For example, can I get a reference to cb where cb is server.on('listening', cb)
00:24:57  * wazjoined
00:25:23  <danneu>dunpeal: why cant you use the .listen(port, cb) callback
00:25:27  <HumanBeing>netameta, I'll settle for 'close enough'.
00:25:45  * bdunavantjoined
00:26:42  <HumanBeing>I'm using time ago plugin but user prefers a different format (00:00:00). Something like that. If I can't get it then they're willing to settle.
00:26:46  <dunpeal>danneu: I can, now I want to get a refernce back to it form another module that has a reference to the server
00:26:49  * mykespbquit (Quit: Leaving)
00:27:51  * spronkquit (Quit: bleep bleep bloop bloop)
00:27:59  * FooBarWidgetjoined
00:28:59  <quantumfoam>so uh, I'm sure this a common question and I apologize in advance for that, but I'm very new to node.js
00:29:10  * iyogeshjoshiquit (Ping timeout: 252 seconds)
00:29:12  <quantumfoam>any good tips for speeding up npm installs?
00:29:24  <GreenJello>quantumfoam, nope, just something you have to deal with
00:29:26  <netameta>HumanBeing, descript your flow
00:29:30  * renchaor_quit (Remote host closed the connection)
00:29:33  <GreenJello>good excuse to make coffee
00:29:39  * instamacjoined
00:29:50  <quantumfoam>GreenJello: so yeah that's a problem because it's slowing down deployments
00:30:13  <netameta>quantumfoam, it doesnt slow development more then compiling a code base with other languges
00:30:17  <quantumfoam>although maybe the answer is another approach to hosting our apps
00:30:36  <GreenJello>maybe shrinkwrap would help
00:30:42  <netameta>quantumfoam, Also most case you wont have to npm install every moment
00:30:49  <quantumfoam>right now they're on EC2 instances, cloudformation-based
00:30:59  <GreenJello>also if you can, don't wipe out the workspace (or similar) in the CI server
00:31:15  <quantumfoam>well that was my thinking also but I tried, say, copying over the node_modules folder
00:31:19  <quantumfoam>that didn't work
00:31:21  <GreenJello>if it's needs to download everything, it's going to be slow
00:31:36  <HumanBeing>netameta, meaning come up with my own solution no?
00:31:45  <quantumfoam>it doesn't need to download everything, but some things are needed for building
00:31:49  * tvwquit (Ping timeout: 260 seconds)
00:32:02  <netameta>HumanBeing, What you need to acomplish
00:32:19  <deltab>dunpeal: why? to call it?
00:32:27  <quantumfoam>ideally if there are no changes to package.json in a deployment I'd like for npm install to not happen at all
00:32:39  * bronsonquit (Remote host closed the connection)
00:32:47  * disordinaryjoined
00:32:57  <dunpeal>deltab: to wrap it.
00:33:10  * spronkjoined
00:33:27  <quantumfoam>I'm going to look at Lambda instead of EC2 though
00:33:40  <HumanBeing>I have a patient queue with arrival times for each person in the queue. I need to show elapsed time for each person waiting for service.
00:34:37  * tristanp_joined
00:34:38  * tarkusjoined
00:34:40  * Impalooquit (Remote host closed the connection)
00:34:51  * Impaloojoined
00:34:56  * djmaxquit (Ping timeout: 272 seconds)
00:35:06  * sbellinaquit (Ping timeout: 276 seconds)
00:35:40  <netameta>HumanBeing, Your using WS ?
00:35:47  * newtesterquit (Quit: Page closed)
00:35:55  * Gh0stInTheShelljoined
00:36:17  * vjacobquit (Quit: This computer has gone to sleep)
00:36:18  * Impalooquit (Remote host closed the connection)
00:36:27  * Impaloojoined
00:36:50  * tristanpquit (Ping timeout: 272 seconds)
00:36:50  <HumanBeing>netameta, ws??
00:37:09  <netameta>HumanBeing, Websockets ? how do people see your data ?
00:37:46  * diegoaguilarquit (Remote host closed the connection)
00:37:53  * neoncontrailsjoined
00:37:54  * tristanp_quit (Read error: Connection reset by peer)
00:37:56  * sankhajoined
00:38:04  * neoromantiquechanged nick to paradise
00:38:15  <HumanBeing>netameta, yes I use websockets.
00:38:23  * paradisechanged nick to neoromantique
00:38:29  * tristanpjoined
00:39:08  <HumanBeing>netameta, socket.io
00:39:17  <netameta>HumanBeing, Either way you will need to send the date with timezone from the client and store that, to compensate for ping, then when you send it convert it to your server timezone, and when sending it back client side will do the conversion back
00:39:26  * knksmith57joined
00:39:31  * djmaxjoined
00:39:44  <instamac>im trying to build a login system that retrives a users credentials at sign up and adds the credentials to a list of valid logins so that when somone tries to log in, the credentials are checked against the list and either rejected or accepted, do I need node for thios or???
00:40:02  * JoshGlzBrkquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:40:11  <GreenJello>instamac, you can use any server platform you like
00:40:16  <GreenJello>node is a fine option
00:40:54  * bitnode3joined
00:40:55  * wazquit (Quit: My Mac has gone to sleep. ZZZzzz…)
00:41:06  <HumanBeing>netameta, that part sounds simple enough
00:41:07  <instamac>ive been asking around and what ive been told to understand that javascript is not able to look into another file, check for text, and then return true or false
00:41:22  <netameta>HumanBeing, sure
00:42:03  * sankhaquit (Ping timeout: 240 seconds)
00:42:26  * bugz4John4Nelsonjoined
00:42:36  * knksmith57quit (Client Quit)
00:43:06  * RonRichiequit (Quit: My Mac has gone to sleep. ZZZzzz…)
00:43:25  * knksmith57joined
00:43:32  <GreenJello>instamac, you don't return things when doing i/o, you use callbacks/promises
00:43:57  * whathappensquit (Remote host closed the connection)
00:43:58  * knksmith57quit (Client Quit)
00:44:09  <bugz4John4Nelson>:-)
00:44:32  <bugz4John4Nelson>you can return things doing IO with sync.
00:44:33  * whathappensjoined
00:44:51  <GreenJello>but that's not okay to do for web servers
00:45:47  * FManTropyxquit (Quit: Nettalk6 - www.ntalk.de)
00:45:53  * Aeacusjoined
00:45:55  * Aeacusquit (Read error: Connection reset by peer)
00:45:56  * steele2345joined
00:46:11  * ThePendulumquit (Read error: Connection reset by peer)
00:46:52  * tristanpquit (Read error: Connection reset by peer)
00:46:54  * hashrocketquit (Quit: Connection closed for inactivity)
00:47:23  * tristanpjoined
00:48:11  * aalvarezjoined
00:48:12  * Irathjoined
00:48:15  * JelteMX_quit (Remote host closed the connection)
00:48:46  * whathappensquit (Ping timeout: 244 seconds)
00:48:52  * djmaxquit (Ping timeout: 272 seconds)
00:48:53  * JoshGlzBrkjoined
00:48:59  <Irath>hi, i'm using passport and websockets. after a user is authenticated, is there a way to verify a user through a websocket message?
00:49:20  <Irath>like, for a post it's easy. because you have the req object and can just do req.isAuthenticated
00:49:24  * braincrashquit (Ping timeout: 276 seconds)
00:49:37  <Irath>but, what do i do about websocket messages? how can i know who they are? there's no req object
00:49:40  * bdunavantquit (Remote host closed the connection)
00:49:44  * jr3joined
00:49:58  <bugz4John4Nelson>I use sync on my webserver
00:50:10  <netameta>Irath, you converted to primus lol
00:50:14  * inflamesjoined
00:50:14  <netameta>good job
00:50:20  <Irath>how'd you know?
00:50:34  <netameta>Irath, I preswaid you to do that
00:50:39  * Laniakeajoined
00:50:40  <HumanBeing>Irath, I read this once: http://mono.software/2014/08/25/Sharing-sessions-between-SocketIO-and-Express-using-Redis/
00:50:46  * dguttmanquit (Quit: dguttman)
00:50:52  <Irath>netameta: huh? what's preswaid?
00:50:57  <Irath>persuade?
00:51:04  <netameta>Irath, thats the one
00:51:12  <Irath>yeah it's alright so far
00:51:30  <Irath>HumanBeing: thanks!
00:51:41  <netameta>Irath thats no how you authenticate sockets
00:51:49  <netameta>what transport are you using ?
00:51:57  <Irath>just websockets
00:52:01  <Irath>what's transport?
00:52:06  <bugz4John4Nelson>You don't have to use REDIS to share session between socket and express
00:52:08  <netameta>primus with what ?
00:52:15  <Irath>the transformer? websockets
00:52:16  * JoshGlzBrkquit (Client Quit)
00:52:18  * bronsonjoined
00:52:20  <GreenJello>can't you authenticate in the upgrade request?
00:52:25  <netameta>bugz4John4Nelson, If you want to scale you need to
00:52:32  <bugz4John4Nelson>No.. really you don't.
00:52:33  <Irath>i don't know. i'm a complete noob
00:52:33  <GreenJello>have them pass a token as a header
00:52:52  <netameta>bugz4John4Nelson, you need to have the session stored somewhere
00:53:03  <bugz4John4Nelson>lots of options, cookies, urls, local storage...
00:53:10  * disordinaryquit (Quit: This computer has gone to sleep)
00:53:10  <Irath>how can i send the token from a websocket from the client? it's in document.cookie and i cant access that client side because of httponly flag and google said not to turn that off
00:53:19  <bugz4John4Nelson>I use this at my site. johrnelson.com
00:53:27  <HumanBeing>Local storage isn't good for storing sessions I hear. Could be wrong though.
00:53:30  * Fishrock123quit (Remote host closed the connection)
00:53:31  <netameta>Irath, either if you go for JWT, you can send it as query string
00:53:40  <Irath>what's jwt
00:53:40  <HumanBeing>*local meaning in memory.
00:53:49  <Irath>this https://jwt.io/ ?
00:53:59  <netameta>Irath, You are doing token base or session based authentication ?
00:54:06  <bugz4John4Nelson>You get the cookie from the websocket.
00:54:09  <Irath>probably session. im just using passport
00:54:28  <instamac>so lets say i want the value of a submited value to be stored somewhere in my files, so i need to learn node to tell the webserver to do this for me right?
00:54:35  * inflamesquit (Remote host closed the connection)
00:54:58  * Kruppequit (Ping timeout: 244 seconds)
00:55:04  * T-2000_joined
00:55:20  <GreenJello>instamac, you should use a database, not files, but yes you can use node for this
00:55:32  * pgmjoined
00:55:36  * kaaskaaskaasjoined
00:56:17  <bugz4John4Nelson>wsConnect.upgradeReq.headers.cookie
00:56:17  * jannejoined
00:56:25  * Kruppejoined
00:56:25  <bugz4John4Nelson>that is the line of code you need to get the cookie from WSS
00:56:29  <instamac>GreenJello, ok awesome thanks for your help
00:56:35  * inflamesjoined
00:56:40  * fractingquit (Ping timeout: 252 seconds)
00:56:40  * bronsonquit (Ping timeout: 244 seconds)
00:56:49  * joogequit (Quit: Goodbye)
00:56:53  <bugz4John4Nelson>upgradeReq was the key part for me.
00:57:04  * hoyongjoined
00:57:28  * chjj_joined
00:57:49  <Irath>bugz4John4Nelson: is that for secure websockets only or wouldthat work with regular websockets?
00:58:10  * T-2000quit (Ping timeout: 260 seconds)
00:58:25  <bugz4John4Nelson>Irath it does not matter. A socket is a socket.
00:58:28  <netameta>bugz4John4Nelson, share the code of your login proces
00:58:31  <Irath>!
00:58:33  <Irath>ok lemme try one sec
00:58:46  <bugz4John4Nelson>it's at https://www.johnrnelson.com/
00:59:09  <bugz4John4Nelson>I see someone hitting me
00:59:13  <bugz4John4Nelson>Yeah sockets!
00:59:14  <bugz4John4Nelson>lol
01:00:01  <bugz4John4Nelson>All the code is compiled.. use the set debug to get the raw source.. it's all javascript.
01:00:15  * Fishrock123joined
01:00:27  * jnewtjoined
01:00:29  <Irath>lol that was me
01:00:35  <Irath>is the safe?
01:00:37  <Irath>that*
01:00:38  <bugz4John4Nelson>Irath got windows :-)
01:00:45  <Irath>yeah it's not a secret
01:00:46  <bugz4John4Nelson>It's just JavaScript
01:00:46  * jannequit (Ping timeout: 250 seconds)
01:00:47  <Irath>i play a lot of games
01:00:55  * jnewtquit (Client Quit)
01:01:05  <Irath>bugz4John4Nelson: spark.upgradeReq gave me an undefined error
01:01:13  <bugz4John4Nelson>what is spark?
01:01:17  <Irath>i'm using primus
01:01:25  <bugz4John4Nelson>What is primus?
01:01:26  <Irath>but it's using websockets under the hood
01:01:34  <Irath>it's like...
01:01:37  * jnewtjoined
01:01:44  <Irath>if you cant choose which websocket implementation you want you use primus
01:01:45  <instamac>so is node.js like a alternative to SQL or do they work toghter?
01:01:49  <Irath>and you can plug whichever one you want in
01:01:52  <Irath>and use the same apiu
01:01:53  <Irath>api*
01:02:03  <netameta>bugz4John4Nelson, Where is it ?
01:02:07  <bugz4John4Nelson>I don't use NPMs that much. I write as much pure code as I can
01:02:24  <Irath>yeah well it's still using websockets. it's a pretty thin wrapper
01:02:37  * tristanp_joined
01:02:48  <bugz4John4Nelson>Wrappers still layer shit and that makes me have heart burn. :-)
01:02:55  * uniacid_pcquit (Read error: Connection reset by peer)
01:03:00  <Irath>lol
01:03:06  <Irath>i cant change the library i use every time i join irc
01:03:07  <bugz4John4Nelson>:-}
01:03:08  * uniacid_pcjoined
01:03:19  <bugz4John4Nelson>You can.. there is another way.. EVAL
01:03:34  <netameta>bugz where is your websocket login ?
01:03:36  <bugz4John4Nelson>I use eval a lot. It takes my code to new levels.
01:03:53  <bugz4John4Nelson>Click the file menu
01:03:58  * djmaxjoined
01:04:00  * tristanpquit (Read error: Connection reset by peer)
01:04:10  <netameta>and then ?
01:04:16  <Joykiller>I'm super new to websockets my self. Finding it hard to get my head wrapped around outputing its stdout to a stream
01:04:23  <bugz4John4Nelson>Google.. thats the only one I have tested.
01:04:25  <instamac>is node an alternative to SQL?
01:04:35  <GreenJello>instamac, nope
01:04:35  * braincrashjoined
01:04:40  <GreenJello>you can use sql with node
01:04:47  <instamac>alright awesome
01:04:50  <bugz4John4Nelson>I will have twitter tomorrow maybe.
01:04:51  <GreenJello>instamac, it's an alternative to php
01:05:08  * pgmquit (Quit: pgm)
01:05:12  <Joykiller>I was thinking of doing Websocket (ws) to pipe to a socket io server to client on website output.
01:05:16  <Joykiller>or is this wrong thinging
01:05:16  * vicatcujoined
01:05:17  <Joykiller>thinking
01:05:40  <netameta>bugz4John4Nelson, I am in files
01:05:48  <netameta>dont see anything related to websockets
01:05:51  * sillypogquit (Remote host closed the connection)
01:05:54  <vicatcu>can anyone enlighten me as to why I sometimes see function arguments copied into local variables - e.g. let theArg = arg;
01:06:40  <Joykiller>afk
01:06:41  * bugz4John4Nelsonquit (Quit: Leaving)
01:06:58  * jasnelljoined
01:07:23  * tfennellyjoined
01:07:31  <Irath>oh nice
01:07:35  <Sembiance>Cognratulations fellow programmers!!!
01:07:37  <Irath>i can access the cookie with spark.headers.cookie
01:07:40  <Sembiance>Oracle has LOST in the API copyright trial vs Google!
01:07:46  <Sembiance>API's ruled fair use! or something like that ;)
01:07:48  <Irath>o yeah i saw that on reddit
01:08:11  <netameta>bugz4john4nelson ?
01:08:30  * karmahackerjoined
01:09:00  * theColejoined
01:09:13  * fractingjoined
01:10:34  * pgmjoined
01:10:36  * theColequit (Client Quit)
01:10:38  * Swizecquit (Quit: Computer has gone to sleep.)
01:10:58  * Milos|Workquit (Ping timeout: 252 seconds)
01:11:26  * renchaoreveejoined
01:12:10  * tfennellyquit (Ping timeout: 260 seconds)
01:12:28  * djmaxquit (Ping timeout: 250 seconds)
01:12:34  * Literphorquit (Quit: Literphor)
01:12:52  * karmahackerquit (Ping timeout: 260 seconds)
01:13:19  <HumanBeing>Be well everyone!
01:13:22  * HumanBeingquit (Quit: Leaving)
01:14:59  * bigboy42joined
01:15:27  * alanszlosekjoined
01:15:50  * fr__joined
01:16:09  * realisationjoined
01:16:22  * renchaoreveequit (Ping timeout: 260 seconds)
01:16:26  * sibajoined
01:16:27  * tristanpjoined
01:17:01  * PaulCapestanyjoined
01:17:37  * tristanp_quit (Read error: Connection reset by peer)
01:17:54  * EyePulpquit (Remote host closed the connection)
01:17:55  * JoshGlzBrkjoined
01:17:58  * agnosticpart ("Textual IRC Client: www.textualapp.com")
01:18:17  * duckpupp1joined
01:18:35  * realisationquit (Max SendQ exceeded)
01:19:03  * frquit (Ping timeout: 264 seconds)
01:19:46  * PaulCape_quit (Ping timeout: 252 seconds)
01:19:56  * alanszlosekquit (Ping timeout: 244 seconds)
01:20:00  * ed209quit (Remote host closed the connection)
01:20:08  * ed209joined
01:20:10  * JoshGlzBrkquit (Client Quit)
01:21:07  * RonRichiejoined
01:21:25  * protodavejoined
01:21:28  * ToApolytoXaosquit (Quit: I'm off folks. Drop by at http://alifealgorithm.blogspot.com)
01:22:00  * JoshGlzBrkjoined
01:23:04  * duckpupp1quit (Ping timeout: 252 seconds)
01:23:28  * quantumfoampart
01:23:55  <Sorella>Sembiance: Oracle will appeal though, and then we'll have to sit through this for another year
01:24:27  * GreenDogjoined
01:25:12  * diogogmtquit (Quit: diogogmt)
01:25:16  * sputnik13quit (Quit: My Mac has gone to sleep. ZZZzzz…)
01:25:59  * Lionel_Debroux_joined
01:26:27  * Lionel_Debrouxquit (Ping timeout: 276 seconds)
01:26:44  * Literphorjoined
01:28:00  * jonasenjoined
01:28:08  * sagerdeariaquit (Ping timeout: 272 seconds)
01:28:08  * qardquit (Quit: (╯°□°)╯︵ pɹɐb)
01:28:40  * Palssonquit (Quit: My Mac has gone to sleep. ZZZzzz…)
01:29:42  * vicatcuquit (Ping timeout: 276 seconds)
01:29:57  * protodavequit (Quit: ZNC - http://znc.in)
01:30:18  * pgmquit (Quit: pgm)
01:30:22  * kevireillyquit (Quit: kevireilly)
01:30:29  * smccarthyjoined
01:30:33  * protodavejoined
01:31:25  * tristanp_joined
01:31:40  * BobGneujoined
01:31:49  * smccarthyquit (Remote host closed the connection)
01:31:52  * jnewtquit (Ping timeout: 252 seconds)
01:32:04  * DrAwesomejoined
01:32:06  * jnewtjoined
01:32:12  * Janhousequit (Remote host closed the connection)
01:32:24  * smccarthyjoined
01:32:35  * tristanpquit (Read error: Connection reset by peer)
01:32:39  * Ahmed-90quit (Quit: Leaving)
01:33:03  * dunpealquit (Ping timeout: 240 seconds)
01:33:19  * _2E0PGSquit (Quit: Leaving)
01:34:01  * kassensquit (Ping timeout: 240 seconds)
01:34:15  * d4rklit3quit (Quit: My Mac has gone to sleep. ZZZzzz…)
01:35:05  * wasbee_joined
01:35:41  * smccarth_joined
01:36:43  * therechlaejoined
01:37:55  * bigboy42quit (Quit: Leaving)
01:38:03  * zivesterquit (Ping timeout: 240 seconds)
01:38:54  * djmaxjoined
01:39:00  * smccarthyquit (Ping timeout: 260 seconds)
01:39:17  * sagerdeariajoined
01:39:20  * zivesterjoined
01:39:47  * steele2345quit
01:40:03  * fractingquit (Ping timeout: 246 seconds)
01:40:13  * Janhousejoined
01:40:45  * jnewtquit (Ping timeout: 260 seconds)
01:41:18  * Lionel_Debrouxjoined
01:42:03  * Lionel_Debroux_quit (Ping timeout: 276 seconds)
01:42:23  * Lee1092joined
01:42:49  * mcqueeno_joined
01:43:14  * ividyonquit (Read error: Connection reset by peer)
01:43:15  * djmaxquit (Ping timeout: 250 seconds)
01:45:05  * pgmjoined
01:45:10  * JoshGlzBrkquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:45:19  * xxtjaxxquit (Ping timeout: 260 seconds)
01:45:31  * JoshGlzBrkjoined
01:46:00  * mcqueenoramaquit (Ping timeout: 246 seconds)
01:46:33  * Stardusterquit (Ping timeout: 240 seconds)
01:48:32  * yoshokatanajoined
01:48:42  * githogoriquit (Read error: Connection reset by peer)
01:49:01  * JelteMX_joined
01:49:51  * bit2017joined
01:49:57  * sbellinajoined
01:50:01  * Laniakeaquit (Ping timeout: 252 seconds)
01:50:44  * Stardusterjoined
01:51:02  * bit2017quit (Max SendQ exceeded)
01:51:28  * mvenjoined
01:51:34  * Literphorquit (Quit: Literphor)
01:51:39  * bit2017joined
01:51:41  * emilouquit (Ping timeout: 240 seconds)
01:52:30  * ecuanasojoined
01:52:38  * fractingjoined
01:53:05  * Literphorjoined
01:53:06  * bronsonjoined
01:53:45  * plutoniixquit (Read error: Connection reset by peer)
01:54:08  * boniface_joined
01:54:15  * weemsledeuxjoined
01:54:18  * JelteMX_quit (Ping timeout: 258 seconds)
01:54:23  * sbellinaquit (Ping timeout: 244 seconds)
01:54:36  * JoshGlzBrkquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:55:17  * kingarmadillojoined
01:55:20  * sarmiena_quit (Quit: sarmiena_)
01:55:25  * JoshGlzBrkjoined
01:57:07  * bonifacequit (Ping timeout: 250 seconds)
01:57:28  * de_henne_joined
01:57:33  * bronsonquit (Ping timeout: 246 seconds)
01:58:07  * mezodquit (Remote host closed the connection)
01:58:15  * tristanpjoined
01:58:19  * RonRichiequit (Quit: My Mac has gone to sleep. ZZZzzz…)
01:58:24  * tristanp_quit (Read error: Connection reset by peer)
01:58:28  * sbellinajoined
01:58:35  * worncitizenjoined
01:58:56  * djmaxjoined
01:59:02  * wazjoined
01:59:39  * rudquit (Quit: rud)
01:59:41  * concertijoined
01:59:43  * cd83xjoined
02:00:08  * dumkuntjoined
02:00:10  * dumkuntquit (Max SendQ exceeded)
02:00:24  * dumkuntjoined
02:00:25  * thinkdogejoined
02:00:51  * daftmonkjoined
02:01:15  * de_hennequit (Ping timeout: 244 seconds)
02:01:39  * kingarmadilloquit (Ping timeout: 260 seconds)
02:03:38  * abijeetjoined
02:04:01  * duckpupp1joined
02:04:04  * ensydejoined
02:04:27  * araujo_quit (Quit: Leaving)
02:04:54  * quakephilquit (Ping timeout: 246 seconds)
02:05:04  * scottbot84joined
02:05:25  * zivesterquit (Ping timeout: 258 seconds)
02:05:52  * zivesterjoined
02:05:55  * apparition47joined
02:06:29  <inflames>anyone using tape with bookshelf? i am having issues getting my tape tests to finalize after they all run and it seems to be related to bookshelf
02:06:46  * djmaxquit (Ping timeout: 272 seconds)
02:06:48  * tristanp_joined
02:07:00  * lerelaquit (Ping timeout: 246 seconds)
02:07:42  <daftmonk>inflames, maybe you need to explicitly .close() your bookshelf connections/pools
02:07:55  <inflames>hmm
02:08:01  * tristanpquit (Read error: Connection reset by peer)
02:08:10  <inflames>can i gist something right quick for you?
02:08:12  <inflames>super short
02:08:27  * lhdcjoined
02:08:54  <inflames>daftmonk, https://gist.github.com/gnarmedia/2731e98fe7c7ce184d2cbbeffd4c27bc
02:08:59  <inflames>the commented line is the issue
02:09:10  <inflames>maybe i can close my connection after the tests finish
02:09:19  * tfennellyjoined
02:09:41  * karmahackerjoined
02:10:37  * kuldeepjoined
02:10:52  * GreenDogquit (Remote host closed the connection)
02:11:03  * Twirlquit (Quit: Leaving.)
02:11:08  * yeah568joined
02:11:28  * ecuanasoquit (Quit: My Mac has gone to sleep. ZZZzzz…)
02:11:37  * bigboy42joined
02:11:46  * jnoob22joined
02:12:01  * Coldblackicequit (Ping timeout: 240 seconds)
02:12:44  * Donald-Trumpquit (Ping timeout: 260 seconds)
02:13:28  * concertiquit (Ping timeout: 258 seconds)
02:13:45  * jasnellquit (Remote host closed the connection)
02:14:20  * xall_joined
02:14:33  * tfennellyquit (Ping timeout: 276 seconds)
02:14:37  * iLogicquit (Ping timeout: 258 seconds)
02:15:12  * rhoquit (Ping timeout: 276 seconds)
02:15:19  * kuldeepquit (Ping timeout: 250 seconds)
02:15:49  * Donald-Trumpjoined
02:16:06  * xallquit (Ping timeout: 246 seconds)
02:16:23  * kuldeepjoined
02:16:42  * tristanp_quit (Read error: Connection reset by peer)
02:17:10  * tristanpjoined
02:18:15  <inflames>daftmonk, how can i close a bookshelf pool?
02:18:35  <daftmonk>inflames, dunno, sorry, I don't use Bookshelf :)
02:18:45  <inflames>i can't even find anything in the api
02:18:55  <inflames>i will have to drop bookshelf if i can't solve this
02:19:00  <inflames>which will just set me back further
02:19:09  <inflames>and force me to deal with my relations myself
02:19:48  <daftmonk>I don't typically like ORMs
02:19:56  * lerelajoined
02:20:01  <daftmonk>SQL is already abstract and quite powerful
02:20:19  * linuxmintjoined
02:20:25  * GreenDogjoined
02:20:47  * joransiujoined
02:20:51  * djmaxjoined
02:21:17  * iyogeshjoshijoined
02:21:20  * fractingquit (Ping timeout: 272 seconds)
02:21:25  * DrRushquit (Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!)
02:21:33  * GreenDogquit (Remote host closed the connection)
02:24:30  * kassensjoined
02:25:01  * scottbot84quit (Quit: Textual IRC Client: www.textualapp.com)
02:25:40  * worncitizenquit (Remote host closed the connection)
02:25:40  * djmaxquit (Ping timeout: 260 seconds)
02:25:42  * ajf-quit (Quit: Textual IRC Client: www.textualapp.com)
02:25:48  * johnny56joined
02:26:29  * tristanp_joined
02:27:27  * johnny56_quit (Ping timeout: 264 seconds)
02:27:42  * ash_workzjoined
02:27:45  * DrRushjoined
02:27:49  * tristanpquit (Read error: Connection reset by peer)
02:29:11  * jnewtjoined
02:30:02  <DANtheBEASTman>is there a repl for node like ptpython? https://github.com/jonathanslenders/ptpython/
02:30:33  * bitnode3quit (Quit: WeeChat 0.4.2)
02:30:36  * boogymanjoined
02:30:58  <pgm>im trying to use sockets to make a 1vs1 game
02:31:23  <DANtheBEASTman>ie, node repl with syntax highlighting and drop-down completion
02:31:23  <pgm>i want it to be so that both players receive items at the same time… and that it shows that way, too (you can see both players screens)
02:31:46  * tristanp_quit (Read error: Connection reset by peer)
02:31:47  <pgm>err.. nvm. idk how to explain it
02:31:51  * worncitizenjoined
02:32:03  * PahitLidahquit (Ping timeout: 240 seconds)
02:32:13  * tristanpjoined
02:32:40  <daftmonk>DANtheBEASTman, I dunno about all those features, but you can literally just type "node" at the command line
02:33:28  <DANtheBEASTman>daftmonk: i'm aware of the default repl, i'm asking about alternatives
02:33:30  <GreenJello>DANtheBEASTman, chrome dev tools (which can be hooked up to node with some effort)
02:33:55  * liulanghanjoined
02:34:00  * mich-cookquit (Ping timeout: 272 seconds)
02:34:25  * ajf-joined
02:34:50  * concertijoined
02:35:13  * concertiquit (Client Quit)
02:35:37  * Xtremerjoined
02:36:14  * plutoniixjoined
02:37:06  * ajf__joined
02:37:41  * fractingjoined
02:37:43  * tristanp_joined
02:38:12  * ajf-quit (Read error: Connection reset by peer)
02:38:41  * jr3quit (Quit: jr3)
02:38:50  * tristanpquit (Read error: Connection reset by peer)
02:38:58  * sankhajoined
02:39:55  * Ameoquit (Read error: Connection reset by peer)
02:40:45  * the_antjoined
02:42:02  * PaulCape_joined
02:42:07  * karmahackerquit (Ping timeout: 260 seconds)
02:42:52  * worncitizenquit (Remote host closed the connection)
02:43:37  * sankhaquit (Ping timeout: 244 seconds)
02:44:30  * Finnoloidquit (Quit: Connection closed for inactivity)
02:45:01  * PaulCapestanyquit (Ping timeout: 252 seconds)
02:45:56  * Fishrock123quit (Quit: Leaving...)
02:46:43  * Chunk2quit (Ping timeout: 244 seconds)
02:46:50  * harryhjoined
02:46:56  * Ameojoined
02:47:12  * mcqueenoramajoined
02:47:17  * tristanpjoined
02:47:50  * renchaoreveejoined
02:48:25  * plutoniixchanged nick to xiinotulp
02:48:34  * tristanp_quit (Ping timeout: 272 seconds)
02:49:02  * yoshokatanaquit (Read error: Connection reset by peer)
02:49:36  * mcqueeno_quit (Read error: Connection reset by peer)
02:50:17  * mvenquit (Ping timeout: 260 seconds)
02:50:59  * JelteMXjoined
02:53:53  * notdanieljoined
02:54:03  * jasnelljoined
02:55:15  * mvenjoined
02:55:32  * JelteMXquit (Ping timeout: 260 seconds)
02:55:38  * Chunk2joined
02:56:35  * kevinburkequit (Quit: Connection closed for inactivity)
02:56:53  * therechlaequit (Quit: therechlae)
02:57:01  * kassensquit (Ping timeout: 240 seconds)
02:57:40  * phutchinsquit (Ping timeout: 252 seconds)
02:59:31  * coljoined
03:00:39  <pgm>might be a dumb question
03:00:42  <pgm>but how do i clean up my app.js?
03:00:44  * jasnellquit (Remote host closed the connection)
03:00:47  <pgm>like how can i put some of my socket code into another file
03:01:45  <GreenJello>pgm, move it to another file, wrap it in a function
03:01:53  * idefinejoined
03:01:54  * instamacquit (Ping timeout: 250 seconds)
03:01:58  <pgm>then just include it?
03:01:58  <GreenJello>export the function
03:02:04  <GreenJello>yep
03:02:32  <GreenJello>the function should probably return the socket server
03:02:39  <GreenJello>which you can then handle in app.js
03:03:35  * ensydequit (Ping timeout: 260 seconds)
03:04:01  * worncitizenjoined
03:04:02  * PaulCapestanyjoined
03:04:49  * tristanp_joined
03:05:18  * dunpealjoined
03:06:04  * andr0idjoined
03:06:15  * braincrashquit (Quit: bye bye)
03:06:54  * neoromantiquechanged nick to Iwanttoconfuse
03:06:56  * tristanpquit (Ping timeout: 272 seconds)
03:07:01  * PaulCape_quit (Ping timeout: 252 seconds)
03:07:10  * Iwanttoconfusechanged nick to imartsy
03:07:14  * imartsychanged nick to neoromatnique
03:07:21  * neoromatniquechanged nick to neoromantique
03:09:16  * kassensjoined
03:10:01  * mvenquit (Ping timeout: 240 seconds)
03:10:34  * uniacid_pcquit (Read error: Connection reset by peer)
03:10:51  * uniacid_pcjoined
03:14:46  * imZEH_joined
03:15:24  * djmaxjoined
03:15:24  * renchaoreveequit (Remote host closed the connection)
03:15:56  * renchaoreveejoined
03:16:15  * Literphorquit (Quit: Literphor)
03:16:41  * Literphorjoined
03:17:00  <imZEH_>hello
03:17:05  * disordinaryjoined
03:17:07  * nicholaswyoungquit (Quit: Gotta run...)
03:17:51  * mvenjoined
03:18:25  * andr0idquit (Remote host closed the connection)
03:18:42  * ChALkeRjoined
03:19:28  * worncitizenquit (Remote host closed the connection)
03:19:45  * disordinaryquit (Client Quit)
03:19:58  * django_2quit (Quit: Leaving)
03:20:14  * braincrashjoined
03:20:14  * djmaxquit (Ping timeout: 272 seconds)
03:20:23  * worncitizenjoined
03:20:39  * mellernoiaquit
03:20:52  * renchaoreveequit (Ping timeout: 272 seconds)
03:22:33  * tristanpjoined
03:23:11  * diamondsjoined
03:23:45  * jomcodejoined
03:24:17  * TheSimonatorquit (Remote host closed the connection)
03:24:22  * boniface_quit (Remote host closed the connection)
03:24:26  * smccarth_quit (Remote host closed the connection)
03:24:39  * tristanp_quit (Ping timeout: 250 seconds)
03:25:01  * smccarthyjoined
03:27:16  * kingarmadillojoined
03:27:37  * jasnelljoined
03:27:58  * ch9rl3sjoined
03:31:21  * liulanghanquit (Ping timeout: 240 seconds)
03:32:08  * iyogeshjoshiquit (Remote host closed the connection)
03:32:33  * kassensquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
03:32:33  * kingarmadilloquit (Ping timeout: 276 seconds)
03:33:10  * kassensjoined
03:33:45  * tristanp_joined
03:34:10  * tristanpquit (Ping timeout: 272 seconds)
03:35:09  * SDr|PHLchanged nick to SDr|Bacon
03:35:14  * worncitizenquit (Remote host closed the connection)
03:37:07  * andr0idjoined
03:38:20  * joransiuquit (Quit: This computer has gone to sleep)
03:38:54  * kassensquit (Ping timeout: 244 seconds)
03:39:44  * karmahackerjoined
03:39:44  * bonifacejoined
03:41:15  * xxtjaxxjoined
03:41:31  * soee_joined
03:41:34  * SDr|Baconchanged nick to SDr|baconbiz
03:41:57  * mvenquit (Read error: Connection reset by peer)
03:43:02  * weemsledeuxquit (Quit: My Mac has gone to sleep. ZZZzzz…)
03:43:37  * mvenjoined
03:45:05  * andr0idquit (Remote host closed the connection)
03:45:20  * abijeetquit (Remote host closed the connection)
03:45:31  * soeequit (Ping timeout: 252 seconds)
03:45:41  * andr0idjoined
03:45:44  * bonifacequit (Remote host closed the connection)
03:46:04  * xxtjaxxquit (Ping timeout: 260 seconds)
03:47:05  * ajf__quit (Quit: My Mac has gone to sleep. ZZZzzz…)
03:47:11  * tristanpjoined
03:48:03  * sergioskajoined
03:48:05  * ConspiratorXjoined
03:49:22  * tristanp_quit (Ping timeout: 272 seconds)
03:49:30  * bdunavantjoined
03:50:07  * worncitizenjoined
03:51:17  * one_zerojoined
03:51:18  * wazquit (Quit: My Mac has gone to sleep. ZZZzzz…)
03:51:19  * bonifacejoined
03:51:21  * cheriotjoined
03:51:45  * JelteMXjoined
03:52:43  * nodweberjoined
03:54:44  * b0xjoined
03:54:51  * duckpupp1changed nick to duckpuppy
03:54:58  * duckpuppyquit (Quit: WeeChat 1.5)
03:55:06  * sankhajoined
03:55:12  * gmonneratjoined
03:55:34  * duckpuppyjoined
03:56:31  * JelteMXquit (Ping timeout: 252 seconds)
03:56:37  * ConspiratorXquit (Quit: My Mac has gone to sleep. ZZZzzz…)
03:57:13  * andr0idquit (Remote host closed the connection)
03:57:20  * bdunavantquit (Remote host closed the connection)
03:57:38  * andr0idjoined
03:57:53  * colquit (Read error: Connection reset by peer)
03:58:01  * nodweberquit (Ping timeout: 250 seconds)
03:58:39  * kassensjoined
03:59:06  * d4rklit3joined
04:00:09  * PaulCape_joined
04:00:11  * xalljoined
04:00:21  * bqquit (Ping timeout: 240 seconds)
04:00:28  * nodweberjoined
04:01:07  * wasbee_quit (Quit: My Mac has gone to sleep. ZZZzzz…)
04:01:18  * instamacjoined
04:01:35  * instamacquit (Client Quit)
04:01:37  <hagabaka>with co.js, is there a way to chain yieldables? For example, v1 = yield f1(); v2 = yield v1.f2(); what's a shorter equivalent of getting v2 from f1 and f2?
04:01:55  * instamacjoined
04:02:00  * wasbee_joined
04:02:12  * tristanp_joined
04:02:12  * wasbee_quit (Client Quit)
04:02:21  * terminalreclusejoined
04:02:34  * xall_quit (Ping timeout: 252 seconds)
04:02:57  <instamac>if anyone knows about SQL, do use a program like SQLite to view my data tables?
04:03:07  * PaulCapestanyquit (Ping timeout: 252 seconds)
04:03:22  <netameta>instamac, Normal sql works fine
04:03:27  * tristanpquit (Read error: Connection reset by peer)
04:04:43  * gmonneratpart
04:05:30  * jomcodequit (Quit: Leaving)
04:05:34  <instamac>newmeta, do you mean mysql?
04:06:19  * thefourtheye___joined
04:07:39  * kassensquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
04:08:43  * taxquit (Ping timeout: 244 seconds)
04:09:26  * noark9joined
04:10:15  * mvenquit (Ping timeout: 276 seconds)
04:10:37  * djmaxjoined
04:10:55  <Literphor>Hey guys I’ve locally installed the module `coverify` but when i attempt to run tests by running the command: `browserify -t coverify test/index.js | node | coverify`. I get the error “coverify: command not found”. Any ideas why this is happening?
04:11:09  <Irath>added to path?
04:11:37  * hyeonuquit (Quit: Leaving)
04:12:20  * kassensjoined
04:12:32  * karmahackerquit (Ping timeout: 260 seconds)
04:12:42  <Literphor>Irath: It’s locally installed, I have to add it to that path as well?
04:12:58  <Irath>not sure thats just my go to solution whenever i see an error like that
04:13:08  <Irath>maybe install it globally instead?
04:13:49  <Literphor>globally doesn’t work
04:13:50  * tristanpjoined
04:14:05  <Literphor>I’ve been able to run this command before, but now I can’t for some unknown reason
04:14:39  * Poeticodequit (Ping timeout: 260 seconds)
04:14:40  * ayjayjoined
04:14:55  * djmaxquit (Ping timeout: 250 seconds)
04:15:12  <Irath>probably not the answer you're looking for but i recently switched from browserify to webpack
04:15:20  * tristanp_quit (Ping timeout: 272 seconds)
04:15:21  <Irath>if all else fails at least u got that lol
04:15:31  * TheTank111joined
04:15:43  * muthujoined
04:16:22  * Irath_joined
04:16:45  * phil23quit (Ping timeout: 276 seconds)
04:16:50  * andr0idquit (Remote host closed the connection)
04:17:05  <Literphor>Irath: I don’t think webpack would help me here. part of Browserify is bundling all the requires and node modules so they can be ran within a headless browser (through testling. Would webpack be able to do the same?
04:17:07  * andr0idjoined
04:17:57  * italoacasasquit (Quit: My Mac has gone to sleep. ZZZzzz…)
04:19:04  <netameta>does class static methods are like adding a method to prototype ?
04:19:27  <netameta>Like class a{ static fn(){}} will that be equivalent to function a(){} a.prototype.fn = function(){} ?
04:19:34  * rhojoined
04:19:54  * Irathquit (Ping timeout: 250 seconds)
04:20:12  <Logicgate>netameta, do you mean in ES6?
04:20:15  * renchaoreveejoined
04:20:25  <netameta>Yes es6
04:20:31  <Logicgate>Static methods are accessed in this fashion: Class.staticMethod()
04:20:37  * jak2000joined
04:20:38  <Logicgate>for regular class methods:
04:20:54  <Logicgate>class MyClass { a(){ return 'hello'; } }
04:21:12  <Logicgate>that would be the equivalent of a.prototype.fn = function () {};
04:21:41  <Logicgate>class.prototype.a = function () { return 'hello'; }
04:21:48  <daftmonk>instamac, just use the command line client
04:21:59  <daftmonk>instamac, there might be a GUI available, I dunno
04:22:25  * kuldeepquit (Read error: Connection reset by peer)
04:23:25  * renchaor_joined
04:23:25  * liulanghanjoined
04:23:27  <Literphor>As it turns out I had ot install it both globally and locally … how odd ...
04:23:37  * dunpealquit (Ping timeout: 260 seconds)
04:24:19  <daftmonk>Literphor, you shouldn't need a global install
04:24:30  <daftmonk>Literphor, in fact, you should prefer a local install and invocation for browserify anyway
04:24:36  * d4rklit3quit (Quit: Textual IRC Client: www.textualapp.com)
04:24:44  <daftmonk>this would probably fix the issue I imagine
04:25:27  * Irath_quit (Quit: Page closed)
04:25:37  <TheTank111>how can I wait for an asynch call to return with my database connection before using it?
04:25:39  <instamac>daftmonk, by the command line client you mean cm to view the data table or the node command line client?
04:25:46  <instamac>cmd*
04:25:53  * nodweberquit (Remote host closed the connection)
04:26:02  * irathjoined
04:26:03  <daftmonk>instamac, i mean the sqlite command line client
04:26:11  * renchaoreveequit (Ping timeout: 250 seconds)
04:26:30  * ayjayquit (Quit: Leaving)
04:26:54  * Donald-Trumpquit (Ping timeout: 260 seconds)
04:28:05  * tristanp_joined
04:28:17  <pgm>error: password authentication failed for user “MYOSXUSERNAMEHERE”
04:28:18  <pgm>for postgres
04:28:21  * zivesterquit (Ping timeout: 244 seconds)
04:28:21  <pgm>why is this happening?
04:29:06  * mcqueenoramaquit
04:29:33  <Literphor>daftmonk: I’ve attempted to install both locally instead and I get command not found for both
04:29:40  * Nihamjoined
04:29:48  * tristanpquit (Read error: Connection reset by peer)
04:29:57  <Literphor>daftmonk: Globally installing browserify, then globally and locally instally coverify seems to be the only thing that works for me :-/
04:30:03  <daftmonk>Literphor, you can't install locally and then expect to invoke globally
04:30:05  * idefinequit (Remote host closed the connection)
04:30:08  <Literphor>s/instally/installing
04:30:22  <Literphor>daftmonk: What do you mean?
04:30:36  * Nihamquit (Max SendQ exceeded)
04:30:37  <daftmonk>Literphor, you can't install locally and then just type `browserify` on the command line
04:30:40  * disordinaryjoined
04:31:05  <daftmonk>because that would try to run a globally installed browserify if one exists
04:31:10  <TheTank111>daftmonk can you help me out?
04:31:19  * Nihamjoined
04:31:27  * blahfooquit (Ping timeout: 244 seconds)
04:31:33  * duckpuppyquit (Ping timeout: 240 seconds)
04:31:40  * bonifacequit (Remote host closed the connection)
04:31:50  <daftmonk>TheTank111, I dunno, what you're asking is the basic definition of anything asynchronous
04:31:51  <netameta>Logicgate, then how do you define an instance method ?
04:31:56  <daftmonk>!code @ TheTank111
04:31:56  <ecmabot>TheTank111: Show some code, but don't paste it on the channel. You can provide a test case we can run and help you with your problem with http://jsfiddle.net , http://jsbin.com , or http://requirebin.com . Sites like http://gist.github.com/ and http://bpaste.net are cool too.
04:32:00  * karmahackerjoined
04:32:09  <Literphor>daftmonk: How would I use it then? This seems contrary to everything I’ve been told, even their documentation tells me other wise.
04:32:37  <daftmonk>Literphor, node node_modules/browserify/bin/browserify.js argsgohere...
04:32:43  * sankhaquit (Remote host closed the connection)
04:32:51  <daftmonk>I don't remember the exact path
04:32:55  <daftmonk>but it will be something like that
04:33:16  <daftmonk>their documentation doesn't say "otherwise", it just only covers the global use case
04:33:46  * iyogeshjoshijoined
04:33:56  * Cohedrinquit (Quit: My Mac has gone to sleep. ZZZzzz…)
04:34:02  * fyutylejoined
04:34:04  <Literphor>daftmonk: I would consider that otherwise as I haven’t read anywhere of what you’re suggesting. But I wll give it a try.
04:34:14  <daftmonk>no
04:34:21  <daftmonk>saying otherwise would be explicitly stating something
04:34:37  <daftmonk>something left unsaid is the opposite of the definition of something "said"
04:34:45  <daftmonk>"say otherwise" and "not say" are not the same
04:35:15  * Cabanossiquit (Ping timeout: 264 seconds)
04:35:21  <daftmonk>to be fair, the practice of invoking locally should probably be more commonly documented in lots of places
04:35:23  * nodweberjoined
04:35:23  <daftmonk>but it's not
04:35:32  <TheTank111> Heres what I'm talking about https://jsfiddle.net/4fdn4bhu/
04:35:54  <Literphor>Semantics.
04:36:06  * Cabanossijoined
04:37:32  <daftmonk>Literphor, important semantics
04:37:42  <daftmonk>and part of why you may be confused here
04:37:49  * plutonux[r]joined
04:37:52  * bigboy42quit (Quit: Leaving)
04:38:05  <daftmonk>via a semantic misunderstanding of your own invention, you have mistakenly assumed that some docs have a contra-indication when they do not
04:38:11  <daftmonk>they are merely leaving out something that is assume
04:38:26  <daftmonk>namely that if you understand what it means to invoke locally that it will be obvious to you how to do this should you wish to do so
04:38:27  * TechnoCrunchjoined
04:38:47  <daftmonk>of course, it should go without saying, that you may not understand what it means to invoke locally, which is fine
04:39:00  <daftmonk>but the browserify docs do not, I'm guessing, have the remedy of that situation as a primary goal
04:39:09  * diamondsquit (Ping timeout: 260 seconds)
04:39:17  <Literphor>daftmonk: I’m not confused, I have followed the instructions as they’re written. They are written in a way other than you have described. I thank you for the help, but arguing is pointless and annoying
04:39:33  * disordinaryquit (Quit: This computer has gone to sleep)
04:39:51  <daftmonk>"they are written in a way other than you have described" <- because it's assumed that if you understand what it means to invoke locally then invoking locally will be obvious to you
04:40:16  <irath>to use app.render with express you need to have some sort of template engine on the client side right?
04:40:32  <irath>if so, what's something really tiny that just lets me read variables
04:40:35  * LeBlaaancjoined
04:40:46  <irath>dont need anything fancy
04:41:15  <asteele>irath jsx?
04:41:19  <irath>or do you even need a templating engine? i just want to use it in javascript not html so maybe not
04:41:25  * quark[0]quit (Ping timeout: 244 seconds)
04:41:26  <irath>you can access it from jsx?
04:41:42  <irath>i just want to send a variable with my app.sendFile
04:41:47  * agnatquit (Quit: agnat)
04:41:59  <Literphor>daftmonk: And if they were intended to ran locally then their instructions should reflect that. I undrestand you have a different better” way to do it, and I will attempt to adopt this way, but to continue to insinuate that my troulbles so far is anything more than their lack of transparency is starting to becoming offensive. Please stop.
04:42:16  <daftmonk>Literphor, all npms are intended to be run locally
04:42:37  <daftmonk>it's not the job of every npm author to educate you on how to do that
04:42:37  <irath>er rather response.sendFile
04:43:03  <daftmonk>Literphor, your trouble so far is your attitude and your self-important and self-centered approach
04:43:18  * terminalreclusequit (Quit: My Mac has gone to sleep. ZZZzzz…)
04:43:26  <daftmonk>Literphor, if you re-orient your attitude to the idea that maybe you are simply lacking in understanding, instead of accusing random NPM authors for your troubles
04:43:32  <daftmonk>you'll be much more productive
04:43:52  * andr0idquit (Remote host closed the connection)
04:44:10  <daftmonk>Literphor, I did take the time to try to help you gain the understanding you were lacking, but you simply came back with an attitude about it
04:44:18  <daftmonk>rather than saying "oh, ok I see, cool thanks"
04:44:39  <Literphor>daftmonk: Their job is to educate their users on how to use their library correctly. Why would they include instructions to run it globally but not locally if that is the way they intended to be used?
04:44:53  * tarkusquit (Ping timeout: 244 seconds)
04:45:12  <daftmonk>Literphor, ok, still demonstrating you haven't understood the better part of the past 10 or more minutes of the conversation
04:45:24  <daftmonk>Literphor, it's fine, you can persist in the delusion that the problem here lies with every NPM author ever
04:45:40  * djmaxjoined
04:46:06  <Literphor>daftmonk: Fantastic! I hope you feel better now. Thank agains for the help.
04:46:26  * Moonlight-Angelquit (Remote host closed the connection)
04:46:31  * tristanpjoined
04:46:40  * sqramjoined
04:47:04  * alanszlosekjoined
04:47:11  * Moonlight-Angeljoined
04:48:14  <daftmonk>Literphor, I'm an alien robot, not human, I don't feel things
04:48:31  * tristanp_quit (Read error: Connection reset by peer)
04:49:28  * JoshGlzBrkquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
04:49:42  <irath>is there a way to send variables with response.sendFile("index.html") in express?
04:49:57  <irath>i want to be able to access them in the resulting javascript in the index.html file
04:50:20  <Havvy>irath: I'd assume no, as that'd be for sending a static file.
04:50:28  <irath>what is the proper way of doing it?
04:50:41  <irath>i need to send a couple things with the index.html file
04:50:46  <pgm>still can’t connect to my postgres db...
04:50:47  <pgm>this is stupid
04:50:57  <irath>from node?
04:51:13  <irath>i just got that working earlier i might be able to help
04:51:22  <pgm>kinda
04:51:26  <pgm>i had this working on another project
04:51:42  <irath>var pg = require('pg'); var client = new pg.Client("postgres://postgres:mypassword@localhost:5432/game"); client.connect();
04:51:45  * alanszlosekquit (Ping timeout: 244 seconds)
04:51:46  <irath>theres my code for it
04:51:53  <pgm>im trying to execute this script
04:51:53  <pgm>http://pastebin.com/M3TGU6PU
04:51:56  * atombler_quit (Remote host closed the connection)
04:52:03  <pgm>however, in terminal it’s saying this
04:52:03  * digiaquit (Ping timeout: 264 seconds)
04:52:12  <pgm>error: password authentication failed for user “myusernameonosx”
04:52:25  <Literphor>daftmonk: I don’t believe that. Narcissists have feelings, however dulled they may be.
04:52:32  * JelteMXjoined
04:52:40  <irath>Literphor: i think he was referring to autism or something
04:52:42  * PaulCapestanyjoined
04:52:54  * hyeonujoined
04:52:58  <irath>pgm: have you tried having the connection string like i have formatted in mine?
04:53:19  <pgm>oh let me see actually
04:53:20  <pgm>didnt see that
04:53:27  * ilmgbjoined
04:53:50  * GreenDogjoined
04:53:50  * djmaxquit (Ping timeout: 260 seconds)
04:53:57  <pgm>i think that did it
04:53:59  <pgm>thanks!
04:54:00  <daftmonk>Literphor, seems to me you may be the one suffering from narcissism here, what with your insistence that your lack of understanding of something is the fault of every NPM author ever, and not, you know... you
04:54:01  <irath>hooray!
04:54:06  <pgm>by the way, hwere do you store your username and password?
04:54:19  <pgm>if i put this on, say, github.. how do i secure it
04:54:30  <irath>oh hmmm good question
04:54:35  <Havvy>In a config file that you make sure is in your .gitignore.
04:54:40  <irath>there you go!
04:54:44  * sillypogjoined
04:54:44  <pgm>Havvy: what a man. thanks
04:55:06  <Havvy>(Why do you assume I'm a man)
04:55:10  <Literphor>daftmonk: lol You are so desperate trying to put me down… find other ways to feel better about yourself dude.
04:55:15  <irath>are you a guy?
04:55:21  * andr0idjoined
04:55:22  * PaulCape_quit (Ping timeout: 252 seconds)
04:55:24  <Literphor>daftmonk: I’m going to mute you now, a fiar warning so you don’t continue typing to me
04:55:35  <daftmonk>Literphor, you are so desperate to continue justifying your limited world view
04:55:41  * b0xquit (Remote host closed the connection)
04:55:46  <pgm>sorry jasmine :(
04:55:48  <pgm>my mistake
04:55:50  <pgm>what a woman!
04:55:55  * temmi_hoojoined
04:55:55  * tristanp_joined
04:55:58  <daftmonk>I may likely to still continue to point out when you're wrong, even if you can no longer see me doing it
04:56:04  * b0xjoined
04:56:11  <irath>how do you know her name is jasmine?
04:56:17  <pgm>I guessed
04:56:18  <irath>o
04:56:19  <irath>click on them
04:56:26  <Havvy>Hint: I'm not a woman.
04:56:31  * instamacquit (Quit: Page closed)
04:56:31  <irath>ahah!
04:56:35  <Havvy>Hint2: My name actually isn't Jasmine Sophrone.
04:56:42  <irath>lol why are you doing this
04:56:46  * BeerLoverjoined
04:56:51  <Havvy>Hint3: It doesn't matter whether I'm a man or a woman.
04:56:58  <irath>but you brought it up lol
04:57:01  * Tragedyjoined
04:57:03  * tristanpquit (Read error: Connection reset by peer)
04:57:05  * ilmgbquit (Remote host closed the connection)
04:57:27  * JelteMXquit (Ping timeout: 264 seconds)
04:57:34  * smccarth_joined
04:58:01  * jonasenquit (Quit: My Mac has gone to sleep. ZZZzzz…)
04:58:17  * Nikeshjoined
04:58:31  * LeBlaaancquit (Quit: My Mac has gone to sleep. ZZZzzz…)
04:58:42  * nodweberquit (Remote host closed the connection)
04:59:17  * pgmchanged nick to ProgrammerRalph
04:59:21  <ProgrammerRalph>lol
04:59:40  * ProgrammerRalphquit (Quit: ProgrammerRalph)
05:00:14  <irath>ok i guess ill ask again since it kinda got buried: is there a way to send a file with express like response.sendFile("index.html") with a couple variables that i can access in the clientside javascript?
05:00:25  * LeBlaaancjoined
05:01:25  * alphamale93joined
05:01:25  * smccarthyquit (Ping timeout: 252 seconds)
05:01:31  <irath>i need to be able to serve my index.html file to the user but also send some variables like whether they are authenticated, what their username is, etc.
05:01:38  <DrAwesome>irath Not built into express unless you use a templating engine or a seperate API call, no
05:02:01  <Havvy>irath: irath I'd say no.
05:02:07  <irath>DrAwesome: isnt a templating engine for accessing the variables in the html?
05:02:10  <Havvy>For the reason I listed elsewhere.
05:02:17  <irath>whats the option for when you need to access in the js?
05:02:40  <Havvy>irath: You build a template and pass it in that way.
05:03:12  <irath>pass it in how? my javascript is a giant uglified bundle.js
05:04:06  * rhoquit (Ping timeout: 272 seconds)
05:04:24  <irath>or rather, what's a good minimal templating engine?
05:04:35  * Xtremerquit (Quit: My Mac has gone to sleep. ZZZzzz…)
05:04:37  <irath>people still mostly use handlebars?
05:04:48  * Nikeshquit (Quit: leaving)
05:05:17  * Xtremerjoined
05:05:28  <Havvy>Handlebars would work.
05:05:29  * djmaxjoined
05:06:00  * cheriot_joined
05:06:14  <irath>is that still what's most popular/used nowadays? trying to avoid the whole irc situation where i come in a week later and people are like, "why are you using handlebars? if you just used x you wouldnt have this problem"
05:06:33  <irath>that's happened like.. 3 times so far i think
05:06:48  * Xtremerquit (Client Quit)
05:08:33  * cheriotquit (Ping timeout: 240 seconds)
05:08:47  <irath>except jade though.. dont want to rewrite all my html
05:08:48  * LeBlaaancquit (Quit: My Mac has gone to sleep. ZZZzzz…)
05:09:15  <gkatsev>people still use handlebars
05:09:33  * notdanielquit (Remote host closed the connection)
05:09:36  <irath>ok cool
05:09:55  * ShekharReddyjoined
05:10:03  <Havvy>If it's simple and it works...
05:10:13  * sankhajoined
05:10:15  * dunpealjoined
05:10:33  * black-perljoined
05:11:01  <irath>hey browserify is simple and works but then after a while you need to do something a little more complex and it breaks down
05:11:07  <irath>and thus led to my switch..
05:11:30  * disordinaryjoined
05:12:00  * sankhaquit (Remote host closed the connection)
05:12:06  * djmaxquit (Ping timeout: 258 seconds)
05:12:10  <daftmonk>irath, that's the exact opposite of my experience
05:12:25  <irath>you switched from webpack to browserify?
05:12:26  <daftmonk>webpack got in my way, browserify lets me do what I want
05:12:28  <daftmonk>yes
05:12:31  <irath>huh
05:12:32  * sankhajoined
05:12:36  <irath>well i guess there's always outliers in a sample
05:12:37  * liulanghanquit (Quit: Leaving)
05:12:39  <GreenJello>irath, for some requirements some tools are good
05:12:46  <daftmonk>browserify is not meant to compile your SASS
05:12:46  <irath>ye ye ye
05:12:50  * notdanieljoined
05:12:52  <GreenJello>irath, handlebars isn't going to be good enough if you need e.g. components
05:12:52  <daftmonk>don't try to use browserify to compile your SASS
05:13:19  * sillypogquit (Remote host closed the connection)
05:13:26  * Cohedrinjoined
05:13:34  <GreenJello>irath, but you probably don't need components for what you described, so handlebars is fine
05:13:40  <irath>kk
05:14:24  * sillypogjoined
05:14:27  * ninegrid_joined
05:14:34  * zoLquit (Quit: Leaving)
05:14:35  * DTrejoquit (Remote host closed the connection)
05:14:53  * marthinaljoined
05:14:57  * nnyk_quit (Ping timeout: 246 seconds)
05:15:22  * tristanpjoined
05:15:36  <irath>ok so
05:15:40  * shaojiatongjoined
05:15:54  * ninegridquit (Ping timeout: 260 seconds)
05:16:06  * shaojiatongquit (Client Quit)
05:16:28  <irath>if you're using handlebars and in a tag like this: <script id="address-template" type="text/x-handlebars-template"> blahblahblah im handlebars</script> you can call functions in your other javascript files right?
05:16:48  <gkatsev>you can't call javascript functions inside of handlebars
05:16:56  * mvenjoined
05:17:01  <irath>hmmm
05:17:05  * tristanp_quit (Ping timeout: 244 seconds)
05:17:13  * PaulCape_joined
05:17:17  <GreenJello>there's "helpers" which let you use functions in the templates
05:17:21  <gkatsev>handlebars is an extension of mustache which is *logicless* templating
05:17:28  <gkatsev>the helpers do give you some logic, though
05:17:30  * RWOverdijkjoined
05:17:37  <gkatsev>but it's way different than stuff like ejs and jade
05:18:25  * renchaor_quit (Remote host closed the connection)
05:18:39  <irath>trying to think.. might not need to call functions after all..
05:18:53  <irath>ye fuck it yolo let's try it
05:20:07  * PaulCapestanyquit (Ping timeout: 252 seconds)
05:21:13  * cerebr___quit (Ping timeout: 250 seconds)
05:21:15  * horseyjoined
05:21:32  * ecuanasojoined
05:21:35  * renchaoreveejoined
05:21:49  <daftmonk>fuck it, the rallying cry of the brogrammer
05:22:12  <daftmonk>though to be fair TIAS is usually a good option in any case
05:22:15  * magellanicloudjoined
05:22:39  <irath>tias?
05:22:50  <daftmonk>try it and see
05:23:11  <irath>is that a common expression? i cant find it anywhere
05:23:13  * wsierocijoined
05:23:23  * mewmjoined
05:23:26  * mewmquit (Client Quit)
05:23:31  * Coldblackicejoined
05:23:55  * sankhaquit (Remote host closed the connection)
05:24:11  <gkatsev>!tias
05:24:11  <ecmabot>gkatsev: Try it and see, why dontcha?
05:24:18  <gkatsev>yeah, fairly common
05:24:20  <daftmonk>pretty common, yeah
05:24:28  <irath>huh never heard it before
05:24:35  * sankhajoined
05:24:37  * sankhaquit (Remote host closed the connection)
05:25:10  * sankhajoined
05:25:42  * fyutylequit (Ping timeout: 244 seconds)
05:26:03  * andr0idquit (Remote host closed the connection)
05:26:49  * whathappensjoined
05:26:59  <Literphor>lol…all the arguing and coverify still doesn’t work locally like he kept preaching -.-
05:28:00  <daftmonk>yes it does, you're just doing it wrong
05:28:17  * neanderslobquit (Ping timeout: 244 seconds)
05:29:13  * djmaxjoined
05:30:18  * jannejoined
05:30:59  * lpinjoined
05:31:42  * nilsijoined
05:32:16  * bonifacejoined
05:32:19  * imZEH_quit (Quit: Page closed)
05:33:01  * jnewtquit (Ping timeout: 240 seconds)
05:33:04  * bqjoined
05:33:21  * uni`pcjoined
05:33:22  * SwiftMattquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
05:33:27  * barhum2013joined
05:33:34  * uniacid_pcquit (Read error: Connection reset by peer)
05:34:43  * tristanp_joined
05:34:48  * kevinburkejoined
05:34:53  * rot_godquit (Remote host closed the connection)
05:34:58  * kassensquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
05:35:46  * djmaxquit (Ping timeout: 272 seconds)
05:36:24  * tristanpquit (Ping timeout: 272 seconds)
05:36:38  * Mr-Kquit (Ping timeout: 258 seconds)
05:36:38  * whathappensquit (Remote host closed the connection)
05:36:54  * irathquit (Quit: Page closed)
05:37:06  * idefinejoined
05:37:12  * whathappensjoined
05:37:15  * bonifacequit (Ping timeout: 250 seconds)
05:37:18  * ecuanasoquit (Quit: My Mac has gone to sleep. ZZZzzz…)
05:37:47  * sankhaquit (Remote host closed the connection)
05:38:22  * bronsonjoined
05:38:57  * Joykillerquit (Remote host closed the connection)
05:39:33  * SwiftMattjoined
05:40:31  * SwiftMattquit (Client Quit)
05:41:20  * andr0idjoined
05:41:27  * kripodjoined
05:41:35  * whathappensquit (Ping timeout: 250 seconds)
05:41:59  * jonasenjoined
05:42:08  * xxtjaxxjoined
05:42:48  * PaulCapestanyjoined
05:42:55  * bronsonquit (Ping timeout: 244 seconds)
05:43:12  * marthinalquit (Ping timeout: 276 seconds)
05:43:55  * renchaoreveequit (Remote host closed the connection)
05:44:55  * sauvinjoined
05:45:19  * iyogeshjoshiquit (Remote host closed the connection)
05:45:25  * PaulCape_quit (Ping timeout: 252 seconds)
05:46:21  * xxtjaxxquit (Ping timeout: 250 seconds)
05:46:36  * cheriot_quit (Ping timeout: 258 seconds)
05:46:37  * disordinaryquit (Quit: This computer has gone to sleep)
05:46:45  * chjjquit (Quit: null)
05:47:06  * idefinequit (Ping timeout: 276 seconds)
05:47:07  * GreenDogquit (Remote host closed the connection)
05:47:36  * glijoined
05:48:09  * sankhajoined
05:48:44  * cheriotjoined
05:48:53  * nodweberjoined
05:49:31  * cheriotquit (Read error: Connection reset by peer)
05:49:39  * cheriotjoined
05:50:02  * andr0id_joined
05:51:23  * tristanpjoined
05:52:19  * andrew9183quit (Quit: andrew9183)
05:53:15  * tristanp_quit (Ping timeout: 244 seconds)
05:53:34  * JelteMXjoined
05:53:55  * andr0idquit (Ping timeout: 260 seconds)
05:54:36  * hyeonuquit (Quit: Leaving)
05:54:57  * marthinaljoined
05:55:49  * thinkdogequit (Ping timeout: 244 seconds)
05:55:57  * daftmonkquit (Quit: Leaving)
05:56:24  <alphamale93>how do i combine socket.io and sessions?
05:56:32  <alphamale93>im trying to just basically send a user name to the other user through a socket
05:56:43  * Nihamquit (Quit: My Mac has gone to sleep. ZZZzzz…)
05:57:06  * zoLjoined
05:57:16  * p15xjoined
05:58:34  * JelteMXquit (Ping timeout: 272 seconds)
05:59:17  * dodobrainquit (Ping timeout: 244 seconds)
06:01:18  * vpgrnjoined
06:01:25  * GreenDogjoined
06:01:58  * vpgrnquit (Client Quit)
06:02:43  * Sandbenderjoined
06:03:14  * tristanp_joined
06:03:41  * idefinejoined
06:04:04  * nodweberquit (Remote host closed the connection)
06:04:37  * tristanpquit (Read error: Connection reset by peer)
06:05:42  * sillypogquit (Remote host closed the connection)
06:07:47  * smccarth_quit
06:07:57  * KlwntSinghjoined
06:07:58  * idefinequit (Ping timeout: 252 seconds)
06:08:25  * abernixjoined
06:08:35  * djmaxjoined
06:09:10  * MY123joined
06:09:48  * PaulCape_joined
06:10:49  * Sandbenderquit (Ping timeout: 244 seconds)
06:11:23  * BigBangUDRjoined
06:11:54  * Cohedrinquit (Quit: My Mac has gone to sleep. ZZZzzz…)
06:12:04  * Swizecjoined
06:12:47  * djmaxquit (Ping timeout: 250 seconds)
06:12:52  * Donald-Trumpjoined
06:12:55  * PaulCapestanyquit (Ping timeout: 252 seconds)
06:13:28  * lpinquit (Ping timeout: 252 seconds)
06:14:00  * spronkquit (Quit: I may need a longer sleep timer...)
06:14:04  * neanderslobjoined
06:15:09  * lpinjoined
06:16:51  * sergioskaquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
06:17:12  * sankhaquit (Remote host closed the connection)
06:17:28  * quakephiljoined
06:17:44  * tristanpjoined
06:19:08  * iyogeshjoshijoined
06:20:06  * tristanp_quit (Ping timeout: 272 seconds)
06:20:44  * jasnellquit (Remote host closed the connection)
06:23:15  * groomjoined
06:23:53  * sankhajoined
06:24:19  * Nihamjoined
06:26:37  * minibikinijoined
06:28:17  * duckpuppyjoined
06:28:24  * Flynnnjoined
06:28:47  * alphamale93quit (Quit: alphamale93)
06:32:58  * nodweberjoined
06:33:35  * duckpuppyquit (Ping timeout: 250 seconds)
06:33:50  * nodweberquit (Client Quit)
06:33:54  * b0xquit (Remote host closed the connection)
06:34:15  * b0xjoined
06:34:51  * DTrejojoined
06:35:23  * tfennellyjoined
06:35:55  * apparition47quit (Quit: Bye)
06:36:01  <ljharb>Literphor: are you running it with `npm run`
06:36:03  * rot_godjoined
06:36:07  <ljharb>`npm run` sets up your PATH properly.
06:36:13  <ljharb>locally installed things shouldn't be run directly
06:36:49  * dunpealquit (Ping timeout: 258 seconds)
06:36:49  * BeerLoverquit (Ping timeout: 258 seconds)
06:36:59  * Donald-Trumpquit (Ping timeout: 260 seconds)
06:37:12  * tristanp_joined
06:37:22  * PaulCapestanyjoined
06:37:25  * Soopamanquit (Quit: Leaving.)
06:38:09  * MY123quit (Quit: Never put off till tomorrow, what you can do the day after tomorrow)
06:39:16  * tristanpquit (Read error: Connection reset by peer)
06:39:58  <Literphor>I have not, I will give it a try.
06:40:25  * PaulCape_quit (Ping timeout: 252 seconds)
06:40:29  * andr0id_quit (Remote host closed the connection)
06:41:04  * andr0idjoined
06:41:30  * kawa2014joined
06:42:52  * Swizecquit (Quit: Computer has gone to sleep.)
06:43:50  * Swizecjoined
06:44:06  * ch9rl3squit (Ping timeout: 258 seconds)
06:45:08  * terminalreclusejoined
06:46:03  * b0xquit (Remote host closed the connection)
06:46:22  * b0xjoined
06:46:22  * b0xquit (Changing host)
06:46:22  * b0xjoined
06:48:35  * feesjoined
06:49:03  * newuserjoined
06:49:09  * BeerLoverjoined
06:49:10  * tfennellyquit (Remote host closed the connection)
06:49:18  * GreenDogquit (Remote host closed the connection)
06:50:22  * sankhaquit (Remote host closed the connection)
06:50:39  * sankhajoined
06:51:13  * bluezonequit (Quit: Connection closed for inactivity)
06:52:17  * atomblerjoined
06:52:25  * newuserquit (Client Quit)
06:53:25  * BigBangUDRquit (Quit: BigBangUDR)
06:54:32  * neoncontrailsquit (Remote host closed the connection)
06:54:39  <Literphor>ljharb: I’m no longer getting ‘command not found’, however I’m not getting an output at all now. I’ve tried the command “npm run browserify -t coverify test/index.js | npm run testling | npm run coverify” and also with an npm run on that inner coverify.
06:54:45  <Literphor>Do I need to isntall the module npm-run?
06:54:57  <ljharb>no
06:55:02  <ljharb>Literphor: `npm run foo` runs the "foo" script in package.json
06:55:07  * neoncontrailsjoined
06:55:10  <ljharb>you can't run arbitrary commands. you have to put the full command in package.json.
06:56:48  * atomblerquit (Ping timeout: 244 seconds)
06:56:51  * spronkjoined
06:58:18  * PSUser2joined
06:59:54  * neoncontrailsquit (Ping timeout: 276 seconds)
07:00:16  <Literphor>ljharb: I understand. So i’ve added the command “browserify -t coverify test/index.js | testling | coverify” to my package.json and I’m getting something new “Unable to find module acorn” & “./lib/_stream_transform.js”. Was I wrong to do it this way?
07:01:11  <Literphor>It hasn’t asked for these modules before
07:01:28  * kripodquit (Read error: Connection reset by peer)
07:01:43  * sankhaquit (Remote host closed the connection)
07:02:23  <ljharb>Literphor: and browserify and coverify and testling are all in package.json and npm-installed?
07:02:24  * sankhajoined
07:02:25  * Amnez777quit (Ping timeout: 252 seconds)
07:02:39  <ljharb>Literphor: um also why are you piping to coverify if you're including it in the browserify transform?
07:02:48  * ChALkeRquit (Quit: Konversation terminated!)
07:02:50  * nail_quit (Remote host closed the connection)
07:03:00  <Literphor>ljharb: Yes and also phantomjs
07:03:01  * PaulCape_joined
07:03:03  * ChALkeRjoined
07:03:12  * barhum2013quit (Quit: barhum2013)
07:03:15  * asteele_joined
07:03:23  * asteelequit (Read error: Connection reset by peer)
07:03:47  <Literphor>ljharb: Because I’m following the example from coverify, I’m not sure how the commands work, I was also wondering why coverify was mentioned twice. I’ll remove the pipe
07:03:55  * Alina-malinaquit (Ping timeout: 260 seconds)
07:03:57  * tristanpjoined
07:04:02  * microdexjoined
07:04:11  * vyorkin1joined
07:04:24  <GreenJello>don't you need the pipe to get the coverage report?
07:04:59  * DrAwesomequit (Ping timeout: 260 seconds)
07:05:33  * tristanp_quit (Ping timeout: 246 seconds)
07:05:35  * PSUser2quit (Quit: Leaving)
07:05:43  * PaulCapestanyquit (Ping timeout: 252 seconds)
07:05:44  * Saar2kjoined
07:06:06  <Literphor>Err I’m sorry not coverify’s example but the command from `testling`
07:06:15  * psacrificequit (Ping timeout: 260 seconds)
07:06:22  * irathjoined
07:06:30  * lhdcquit (Quit: Leaving...)
07:06:31  <Literphor>https://www.npmjs.com/package/testling
07:06:43  * tristanp_joined
07:07:28  * tfennellyjoined
07:07:33  <ljharb>coverify prints out the coverage report as its normal output
07:07:44  <ljharb>there's no "coverage report" a la istanbul, that's the whole point of coverify existing as i understand it
07:08:01  * encod3joined
07:08:01  <ljharb>ahhh it looks like piping to coverify parses the output a bit tho, so no worries
07:08:18  <ljharb>Literphor: can you gist the entire error output?
07:08:40  * davijoined
07:08:52  * tristanpquit (Ping timeout: 272 seconds)
07:08:53  * daviquit (Changing host)
07:08:53  * davijoined
07:09:02  * tristanpjoined
07:09:09  <Literphor>Of course
07:10:07  * jannequit (Disconnected by services)
07:10:14  * bonuspunktquit (Ping timeout: 260 seconds)
07:10:21  * scippioquit (Quit: Leaving.)
07:10:36  * mkozjakjoined
07:10:42  * janne_joined
07:10:57  * sbellinaquit (Read error: Connection reset by peer)
07:11:20  * mkozjakquit (Changing host)
07:11:20  * mkozjakjoined
07:11:28  * trista___joined
07:11:32  <mkozjak>hello!
07:11:33  * Calinouquit (Ping timeout: 240 seconds)
07:12:02  * tristanp_quit (Ping timeout: 272 seconds)
07:12:12  * cd83xquit (Quit: Going offline, see ya! (www.adiirc.com))
07:12:28  * Booster2ooojoined
07:12:42  * sbellinajoined
07:12:58  <mkozjak>what are the best practices with mocking all kinds of functions (rest api, websocket api/rpc api, etc...) so one could use mocha to unit and behaviour test their code? can anyone point me into some direction?
07:13:19  * nnyk_joined
07:13:31  * bonuspunktjoined
07:13:35  * veggie_quit (Quit: WeeChat 1.5)
07:13:37  * barhum2013joined
07:13:50  * tristanpquit (Ping timeout: 260 seconds)
07:13:53  * terminalreclusequit (Quit: My Mac has gone to sleep. ZZZzzz…)
07:14:00  * cd83xjoined
07:14:01  * cd83xquit (Excess Flood)
07:14:15  * tristanpjoined
07:14:20  * cd83xjoined
07:14:22  * cd83xquit (Excess Flood)
07:16:28  * trista___quit (Ping timeout: 272 seconds)
07:16:45  <Literphor>ljharb: https://gist.github.com/ALJCepeda/fcd0999a5471cabbe3c3f1d82288e790 I think that’s all the relevant info, including the error before and after installing acorn
07:16:56  * marthinalquit (Ping timeout: 244 seconds)
07:17:03  * daviquit (Ping timeout: 240 seconds)
07:17:14  * monokromequit (Ping timeout: 260 seconds)
07:17:54  <ljharb>seems like coverify just needs to be reinstalled - `rm -rf node_modules && npm install`?
07:18:08  * Calinoujoined
07:19:04  * monokromejoined
07:19:34  * pingupinguquit (Ping timeout: 260 seconds)
07:19:35  <Literphor>I’ve re-installed a few times now doing npm uninstall but I haven’t rm -rfed. I’ll give it a try
07:19:38  * DTrejoquit (Ping timeout: 272 seconds)
07:21:10  * nschoejoined
07:21:39  * andr0idquit (Remote host closed the connection)
07:21:45  * pingupingujoined
07:21:53  * vjacobjoined
07:22:33  * duriangrayjoined
07:22:37  * vjacobquit (Max SendQ exceeded)
07:23:13  * vjacobjoined
07:23:40  * Mr-Kjoined
07:24:04  * jjidojoined
07:24:16  * black-perlquit (Quit: Connection closed for inactivity)
07:24:26  * KnifeJugglerjoined
07:25:48  * wojtek_joined
07:25:50  * andr0idjoined
07:26:23  * wojtek_quit (Client Quit)
07:27:04  * simiusquit (Quit: WeeChat 1.0.1)
07:27:09  * mkozjakquit (Quit: leaving)
07:27:40  * tesrtyjoined
07:27:53  * GroenteLajoined
07:28:00  * jjidoquit (Remote host closed the connection)
07:28:31  * sankhaquit (Remote host closed the connection)
07:28:42  * nodweberjoined
07:28:57  * spronkquit (Quit: I may need a longer sleep timer...)
07:29:34  * microdexquit (Remote host closed the connection)
07:30:26  * davijoined
07:30:39  * psacrificejoined
07:32:04  * PaulCapestanyjoined
07:32:07  * voyceyquit (Quit: Leaving.)
07:32:15  * tesrtyquit (Ping timeout: 264 seconds)
07:33:21  * xallquit (Ping timeout: 240 seconds)
07:33:42  * ahmedelgabrijoined
07:33:51  * bonifacejoined
07:34:24  * sector_0quit (Quit: Leaving)
07:34:52  * PaulCape_quit (Ping timeout: 252 seconds)
07:35:08  * tarkusjoined
07:35:33  * KnifeJugglerquit (Remote host closed the connection)
07:35:43  * sankhajoined
07:36:00  * Saar2kquit (Ping timeout: 260 seconds)
07:36:44  * dgncnquit (Remote host closed the connection)
07:36:50  <Literphor>ljharb: That did it, now everything’s local. Thank you!
07:37:34  * Beliqjoined
07:38:25  * neoncontrailsjoined
07:38:27  * mvenquit (Ping timeout: 246 seconds)
07:38:29  * bonifacequit (Ping timeout: 244 seconds)
07:39:18  * bronsonjoined
07:40:37  * microdexjoined
07:41:43  * tristanp_joined
07:41:52  <ljharb>np
07:41:55  * jetiennejoined
07:42:50  * xxtjaxxjoined
07:43:18  * tristanpquit (Ping timeout: 244 seconds)
07:43:28  * DZj091231kldjoined
07:43:42  * bronsonquit (Ping timeout: 246 seconds)
07:44:06  * TyrfingMjolnirquit (Ping timeout: 276 seconds)
07:44:10  * GustavoLapastajoined
07:44:59  * worncitizenquit (Quit: kthnxbye...)
07:45:01  * nnyk_quit (Ping timeout: 240 seconds)
07:45:14  * jjidojoined
07:46:02  * aalvarezquit (Quit: This computer has gone to sleep)
07:47:32  * tristanpjoined
07:47:37  * kevdezjoined
07:48:00  * xxtjaxxquit (Ping timeout: 276 seconds)
07:48:36  * tesrtyjoined
07:49:17  * Hyukjoined
07:49:24  * tristanp_quit (Ping timeout: 272 seconds)
07:50:01  * simiusjoined
07:50:11  * tesrtyquit (Client Quit)
07:50:42  * tesrtyjoined
07:51:11  * hextileXjoined
07:52:29  * b0xquit (Remote host closed the connection)
07:52:33  * BeerLoverquit (Ping timeout: 276 seconds)
07:52:52  * microdexquit (Read error: Connection reset by peer)
07:54:15  * andr0idquit (Remote host closed the connection)
07:54:28  * atomblerjoined
07:54:48  * sankhaquit (Remote host closed the connection)
07:55:03  * b0xjoined
07:55:05  * sankhajoined
07:55:10  * JelteMXjoined
07:56:30  * chargenjoined
07:56:37  <irath>hi im back. question: i'm learning about templating and it seems that the server takes the JSON you pass it with app.render and recreates the html page before sending it to the client. i'm wondering: is it possible to have the client do this instead? that is, instead of the server recreating the html file, to have it send the static html file with the json and have the client do it instead
07:56:57  * johnchaleksonjoined
07:57:11  <irath>the reason why is because my page is 99% static and figure it'd be a waste to have the server recreate the entire page for just a small layout change that the client could quickly do when first creating the page
07:57:58  * tesrtyquit (Quit: -)
07:58:11  * marthinaljoined
07:58:29  * microdexjoined
07:59:07  * djmaxjoined
07:59:38  * PaulCape_joined
07:59:42  * atomblerquit (Ping timeout: 276 seconds)
07:59:55  * JelteMXquit (Ping timeout: 260 seconds)
08:00:12  * laurensclaessenjoined
08:00:48  * BigBangUDRjoined
08:01:45  * rendarjoined
08:01:52  * Swizecquit (Quit: Computer has gone to sleep.)
08:01:59  * node_fanaticquit (Ping timeout: 250 seconds)
08:02:10  * barhum2013quit (Quit: barhum2013)
08:02:22  * PaulCapestanyquit (Ping timeout: 252 seconds)
08:02:23  * Swizecjoined
08:02:40  * Matsvjoined
08:03:06  * uptickjoined
08:03:23  * scippiojoined
08:03:42  * djmaxquit (Ping timeout: 250 seconds)
08:04:01  * tristanpquit (Read error: Connection reset by peer)
08:04:09  * bongjovijoined
08:04:30  * cheriotquit (Remote host closed the connection)
08:04:32  * tristanpjoined
08:04:36  * ZeroBreakquit (Ping timeout: 258 seconds)
08:04:36  * agnatjoined
08:04:48  * fyutylejoined
08:05:18  * PSUser2joined
08:06:03  * xrashquit (Ping timeout: 240 seconds)
08:06:08  * andr0idjoined
08:06:18  * PSUser2quit (Read error: Connection reset by peer)
08:08:21  * sbellinaquit (Ping timeout: 240 seconds)
08:08:31  * xrashjoined
08:08:51  * tesrtyjoined
08:09:29  * duriangrayquit (Remote host closed the connection)
08:09:45  * duriangrayjoined
08:09:56  * Ch4rAssjoined
08:10:10  * uptickpart ("WeeChat 1.5")
08:10:15  * duriangrayquit (Remote host closed the connection)
08:10:19  * cheriotjoined
08:10:20  * uptickjoined
08:10:28  * cheriotquit (Remote host closed the connection)
08:10:51  * duriangrayjoined
08:10:59  * cheriotjoined
08:13:26  * tesrtyquit (Client Quit)
08:13:35  * vjacobquit (Quit: Leaving)
08:14:00  * jonasenquit (Ping timeout: 276 seconds)
08:14:01  * vjacobjoined
08:14:28  * gambl0requit (Ping timeout: 252 seconds)
08:14:32  * nnyk_joined
08:14:37  * tesrtyjoined
08:14:37  * tesrtyquit (Client Quit)
08:15:36  * tristanp_joined
08:16:39  * BeerLoverjoined
08:16:50  * gambl0rejoined
08:17:16  * tristanpquit (Ping timeout: 272 seconds)
08:17:53  * tristanpjoined
08:17:54  * jjidoquit (Ping timeout: 272 seconds)
08:18:32  * daviquit (Ping timeout: 272 seconds)
08:20:11  * nnyk_quit (Ping timeout: 250 seconds)
08:20:24  * trista___joined
08:21:01  * janne_quit (Remote host closed the connection)
08:21:04  * tristanp_quit (Ping timeout: 272 seconds)
08:21:37  * janne_joined
08:22:32  * Jellyg00sejoined
08:22:38  * Amnez777joined
08:22:39  * tristanp_joined
08:22:47  * tristanpquit (Ping timeout: 250 seconds)
08:23:05  * Alina-malinajoined
08:23:24  * Alina-malinaquit (Changing host)
08:23:25  * Alina-malinajoined
08:23:31  * RobinMjoined
08:24:19  * bsdnoobjoined
08:25:03  * pingupinguquit (Ping timeout: 276 seconds)
08:25:09  * trista___quit (Ping timeout: 244 seconds)
08:25:29  * tristanpjoined
08:25:58  * agnatquit (Quit: agnat)
08:26:43  * KnifeJugglerjoined
08:26:52  * tristanp_quit (Read error: Connection reset by peer)
08:27:04  * kevdezquit (Quit: Leaving)
08:28:51  * barhum2013joined
08:29:17  * cheriotquit (Ping timeout: 244 seconds)
08:30:12  * duckpuppyjoined
08:30:31  * lennymjoined
08:30:33  * tristanpquit (Read error: Connection reset by peer)
08:31:10  * tristanpjoined
08:31:23  * davijoined
08:31:23  * daviquit (Changing host)
08:31:23  * davijoined
08:31:35  * johnchaleksonquit (Quit: #UNJACKABLE #UNHACKABLE 10^10^78 https://twitter.com/hashtag/piruumak9nikkkiuupunchuu2tan2cuumayouuufruittownuuuuleduuoju2cuiceuuveltkodedboltuuuuhard?f=realtime&src=hash44... WOODMANTINMANLIONUNICORNCHOPPERZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ)
08:31:43  * adam-_-joined
08:32:26  * cheriotjoined
08:32:44  * tristanpquit (Read error: Connection reset by peer)
08:32:55  * sputnik13joined
08:33:30  * wtrockijoined
08:33:41  * Industrialjoined
08:33:41  * brk_joined
08:34:27  * duriangrayquit (Ping timeout: 260 seconds)
08:34:27  * jjidojoined
08:34:48  * johnchaleksonjoined
08:34:53  * duckpuppyquit (Ping timeout: 258 seconds)
08:34:59  * sunoanojoined
08:35:00  * sunoanoquit (Changing host)
08:35:00  * sunoanojoined
08:35:00  * bonifacejoined
08:35:17  * cocoadaemonjoined
08:35:20  <jjido>irath: client-side templating is perfectly fine with Javascript.
08:35:49  <irath>jjido: yeah i'm just not sure how to do it. been looking around for a while but don't see a way to send data along with my index.html file
08:35:51  * rot_godquit (Remote host closed the connection)
08:36:02  * DZj091231kldquit (Read error: Connection reset by peer)
08:36:09  <irath>im leaning towards putting it in a cookie in the response object before sending the html?..
08:36:13  * sunoano1quit (Ping timeout: 250 seconds)
08:36:28  * daviquit (Ping timeout: 252 seconds)
08:36:31  <jjido>Can I recommend my own Javascript template engine https://github.com/jido/mistigri.js :P
08:36:49  <irath>cool an expert
08:37:27  <jjido>Normally you would put your JSON in a script element on the page or fetch it using Ajax
08:37:56  * Keanu73joined
08:38:17  <irath>doesn't fetch with ajax mean: send index.html -> client requests upate -> server sends update -> dom flickers and adjusts?
08:38:21  <irath>seems slow and gross?
08:38:21  * disordinaryjoined
08:39:06  * bonifacequit (Ping timeout: 244 seconds)
08:39:33  * tristanpjoined
08:39:41  * kiumajoined
08:40:17  * bronsonjoined
08:40:32  <jjido>Mmh. You can have the server serve the model data (json) from a fixed location
08:40:40  * sankhaquit (Remote host closed the connection)
08:41:01  <jjido>And load that in your page like a normal script
08:41:02  <irath>jjido: does that solve the flicker problem somehow? im not sure what you mean
08:41:36  * sankhajoined
08:42:09  * JelteMXjoined
08:42:23  <irath>it needs to be done on the initial page load to prevent flicker
08:42:30  <irath>something needs to be sent along with the index.html
08:42:42  * JelteMXquit (Client Quit)
08:42:45  <jjido>It would be faster because the client starts loading it as soon as it has the html
08:42:49  * disordinaryquit (Client Quit)
08:43:13  <irath>yeah faster for sure but still flicker .. hmm
08:43:14  * Ch4rAssquit (Ping timeout: 272 seconds)
08:43:17  <jjido>A browser does not render everything right away so you have a little margin
08:43:29  <jjido>Try it
08:43:39  <irath>oh im sure it would work fine
08:43:44  * sankhaquit (Remote host closed the connection)
08:43:46  <irath>it's localhost on a fast computer
08:43:47  * gaurya95joined
08:43:49  <irath>im thinking long term
08:43:50  * nnyk_joined
08:44:04  * davijoined
08:44:09  * dada__quit (Read error: Connection reset by peer)
08:44:20  * dada_joined
08:44:24  * JelteMXjoined
08:44:33  * johnchaleksonquit (Quit: #UNHACKABLE #UNJACKABLE 10^10^78 https://www.youtube.com/watch?v=rJOsjP33nF4&index=2&list=PL4FB4615B6BF94F35 UNIVERSAL HISTORICAL TIME FROM THA ASHES WISE FROM THE WORD)
08:44:34  * Coldblackicequit (Ping timeout: 240 seconds)
08:44:39  <jjido>Actually that may make things worse since the other elements will be ready earlier
08:44:43  * bronsonquit (Ping timeout: 252 seconds)
08:44:43  * Mr-Kquit (Ping timeout: 252 seconds)
08:45:10  <irath>i think i might try the cookie approach real quick.. let's see if that works
08:45:14  <irath>(i have no idea what im doing)
08:45:36  * bsdnoob_joined
08:45:39  * KlwntSinghquit (Ping timeout: 244 seconds)
08:46:47  * tens0rjoined
08:47:03  * JelteMXquit (Remote host closed the connection)
08:47:17  * karmahackerquit (Ping timeout: 260 seconds)
08:47:24  * JelteMXjoined
08:47:48  * MrP[Home]joined
08:48:00  * karmahackerjoined
08:48:13  * kripodjoined
08:48:14  * starsoccerquit (Ping timeout: 244 seconds)
08:48:47  * alanszlosekjoined
08:48:48  * bsdnoobquit (Ping timeout: 246 seconds)
08:48:51  * jonasenjoined
08:49:27  * microdexquit (Remote host closed the connection)
08:49:59  * rot_godjoined
08:50:08  * starsoccerjoined
08:50:08  * starsoccerquit (Changing host)
08:50:08  * starsoccerjoined
08:52:07  * mewmjoined
08:52:35  * al1ojoined
08:52:37  * Keanu73quit (Quit: Gotta go to bed or something. See ya!)
08:53:03  * alanszlosekquit (Ping timeout: 244 seconds)
08:53:58  * djmaxjoined
08:55:31  * sankhajoined
08:55:38  * tristanpquit (Ping timeout: 244 seconds)
08:55:49  * JelteMXquit (Remote host closed the connection)
08:56:35  * kevinburkequit (Quit: Connection closed for inactivity)
08:57:32  * KnifeJugglerquit (Remote host closed the connection)
08:58:01  * ahmedelgabriquit (Ping timeout: 240 seconds)
08:58:03  * RWOverdijkquit (Ping timeout: 264 seconds)
08:58:09  * KnifeJugglerjoined
08:58:19  * djmaxquit (Ping timeout: 250 seconds)
08:58:21  * tens0rquit (Quit: tens0r)
08:59:36  * bsdnoob_quit (Ping timeout: 244 seconds)
08:59:42  * daviquit (Ping timeout: 272 seconds)
09:00:24  * bronsonjoined
09:00:29  * g4joined
09:00:44  * andr0idquit (Remote host closed the connection)
09:00:59  * dgncnjoined
09:01:05  * ahmedelgabrijoined
09:01:24  * cheriotquit (Remote host closed the connection)
09:01:25  * tristanpjoined
09:01:59  * cheriotjoined
09:02:36  * davijoined
09:02:55  * JelteMXjoined
09:03:02  * andr0idjoined
09:03:02  * JelteMXquit (Remote host closed the connection)
09:03:45  * JelteMXjoined
09:04:37  * araujojoined
09:05:03  * freeportquit (Ping timeout: 240 seconds)
09:05:15  * bronsonquit (Ping timeout: 260 seconds)
09:05:16  * al1oquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
09:05:38  * targosjoined
09:05:44  * nilsiquit (Remote host closed the connection)
09:05:51  * johnny56quit (Ping timeout: 264 seconds)
09:05:54  * cheriotquit (Read error: Connection reset by peer)
09:06:16  * cheriotjoined
09:06:40  * CodeJugglerjoined
09:06:41  <irath>sending it in a cookie seems to work alright..
09:06:47  * johnny56_joined
09:08:05  * sputnik13quit (Quit: My Mac has gone to sleep. ZZZzzz…)
09:09:00  * freeportjoined
09:09:48  * marthinalquit (Ping timeout: 246 seconds)
09:09:54  * KnifeJugglerquit (Ping timeout: 276 seconds)
09:10:15  * johnchaleksonjoined
09:13:52  * freeportquit (Ping timeout: 252 seconds)
09:14:10  * cheriotquit (Remote host closed the connection)
09:14:13  * SomeKittensquit (Quit: Connection closed for inactivity)
09:14:33  * noethicsquit (Ping timeout: 240 seconds)
09:16:11  * BHSPiMonkeyjoined
09:16:26  * freeportjoined
09:17:05  * JelteMXquit (Remote host closed the connection)
09:17:27  <BHSPiMonkey>I'm pulling my hair out here. Using net.Socket.write(data) to try writing a buffer to a socket, and it keeps throwing a TypeError claiming that the argument isn't a string or Buffer
09:17:34  * ToApolytoXaosjoined
09:17:47  * notdanielquit (Remote host closed the connection)
09:17:54  <BHSPiMonkey>I'm calling Buffer.from(arr) to produce the Buffer object I'm passing to write()
09:18:16  * tristanpquit (Read error: Connection reset by peer)
09:18:27  * Ergojoined
09:18:29  <BHSPiMonkey>However, in the scope of write(), `chunk instanceof Buffer` is false and `chunk instanceof Uint8Array` is true
09:18:47  * tristanpjoined
09:21:16  * jasnelljoined
09:22:54  * iyogeshjoshiquit (Ping timeout: 276 seconds)
09:23:10  * SuperHansjoined
09:24:00  * shmoon__joined
09:24:18  * slxjoined
09:25:19  <shmoon__>hi i am trying to understand streams (readable - https://github.com/substack/stream-handbook#creating-a-readable-stream) the second code snippet that is shown there, how can I be sure that the stream actually reads in chunks and push doesn't build the entire dataset into 1 buffer and pass it at a shot (negating the upsides of streams) ?
09:26:50  * jasnellquit (Ping timeout: 260 seconds)
09:27:24  * marthinaljoined
09:29:28  * tristanp_joined
09:30:48  * djmaxjoined
09:31:16  * JelteMXjoined
09:31:22  * tristanpquit (Ping timeout: 272 seconds)
09:31:26  * JelteMXquit (Remote host closed the connection)
09:32:01  * JelteMXjoined
09:32:28  * liamonadejoined
09:33:09  * liamonadequit (Remote host closed the connection)
09:33:09  * tristanpjoined
09:33:41  * KnifeJugglerjoined
09:33:57  * fractingquit (Ping timeout: 260 seconds)
09:34:13  * liamonadejoined
09:34:15  * mvenjoined
09:34:53  * CodeJugglerquit (Ping timeout: 244 seconds)
09:34:54  * tristanp_quit (Ping timeout: 244 seconds)
09:35:07  * the_antquit (Ping timeout: 260 seconds)
09:35:26  * sankhaquit (Remote host closed the connection)
09:35:27  * djmaxquit (Ping timeout: 258 seconds)
09:35:43  * bonifacejoined
09:37:07  * the_antjoined
09:38:23  * JelteMXquit (Remote host closed the connection)
09:38:50  * tristanp_joined
09:39:09  * mvenquit (Ping timeout: 276 seconds)
09:39:19  * iyogeshjoshijoined
09:39:41  * bonifacequit (Ping timeout: 240 seconds)
09:40:04  * marthinalquit (Ping timeout: 244 seconds)
09:40:52  * tristanpquit (Ping timeout: 272 seconds)
09:41:06  * laurensclaessenquit (Remote host closed the connection)
09:41:48  * laurensclaessenjoined
09:42:48  * Ergoquit (Quit: WeeChat 1.4)
09:43:40  * xxtjaxxjoined
09:44:41  * slxquit (Ping timeout: 250 seconds)
09:48:10  * xxtjaxxquit (Ping timeout: 244 seconds)
09:49:43  * kawa2014quit (Ping timeout: 244 seconds)
09:51:10  * johnchaleksonquit (Quit: #UNHACKABLE #UNJACKABLE 10^10^78 https://www.youtube.com/watch?v=rJOsjP33nF4&index=2&list=PL4FB4615B6BF94F35 UNIVERSAL HISTORICAL TIME FROM THA ASHES WISE FROM THE WORD)
09:51:15  * karmahackerquit (Read error: Connection reset by peer)
09:52:37  * Flynnnquit (Quit: Auf Wiedersehen!)
09:53:20  * johnchaleksonjoined
09:53:30  * karmahackerjoined
09:56:01  * atomblerjoined
09:56:05  * karmahac_joined
09:56:12  * JelteMXjoined
09:56:33  * JelteMXquit (Remote host closed the connection)
09:57:12  * JelteMXjoined
09:57:58  * kaaskaaskaasquit (Remote host closed the connection)
09:58:17  * djmaxjoined
09:58:35  * ToApolytoXaosquit (Quit: I'm off folks. Drop by at http://alifealgorithm.blogspot.com)
09:58:56  * wazjoined
09:59:14  * karmahackerquit (Ping timeout: 272 seconds)
10:00:19  * JelteMXquit (Remote host closed the connection)
10:00:37  * atomblerquit (Ping timeout: 252 seconds)
10:01:07  * Literphorquit (Quit: Literphor)
10:01:13  * al1ojoined
10:01:22  * JelteMXjoined
10:01:34  * al1oquit (Client Quit)
10:01:35  * noark9quit (Ping timeout: 250 seconds)
10:02:02  * bsdnoobjoined
10:02:04  <bsdnoob>hello
10:02:16  <bsdnoob>I am written a simple nodejs app with twitter
10:02:18  <bsdnoob>module
10:02:27  <bsdnoob>but I am behind a http proxy
10:02:40  <bsdnoob>how can I go ahead and forward http requests to twitter?
10:02:44  <bsdnoob>using proxy
10:02:46  * bollullerajoined
10:02:52  * djmaxquit (Ping timeout: 250 seconds)
10:03:09  * nnyk_quit (Ping timeout: 244 seconds)
10:03:15  * JelteMXquit (Remote host closed the connection)
10:03:19  * abernixquit (Quit: Bye)
10:03:38  * kawa2014joined
10:06:22  * johnchaleksonquit (Quit: #UNHACKABLE #UNJACKABLE 10^10^78 https://www.youtube.com/watch?v=rJOsjP33nF4&index=2&list=PL4FB4615B6BF94F35 UNIVERSAL HISTORICAL TIME FROM THA ASHES WISE FROM THE WORD)
10:07:01  * sankhajoined
10:07:24  * chorojoined
10:07:46  * barhum2013quit (Quit: barhum2013)
10:08:22  * al1ojoined
10:09:26  * nnyk_joined
10:09:49  * Literphorjoined
10:10:15  * johnchaleksonjoined
10:10:48  * tristanpjoined
10:11:18  * BigBangUDRquit (Quit: BigBangUDR)
10:11:49  * ceaucariquit (Quit: My Mac has gone to sleep. ZZZzzz…)
10:11:57  * johnchaleksonquit (Client Quit)
10:12:30  * GustavoLapastaquit (Quit: Leaving)
10:12:58  * tristanp_quit (Ping timeout: 244 seconds)
10:13:40  * andr0idquit (Remote host closed the connection)
10:13:54  * tlaxkitjoined
10:15:02  * rik316joined
10:15:06  * tristanp_joined
10:16:20  * tristanpquit (Ping timeout: 272 seconds)
10:17:22  * tristanpjoined
10:18:15  * noethicsjoined
10:18:59  * stelarcfjoined
10:19:14  * Twirljoined
10:20:01  * ed209quit (Remote host closed the connection)
10:20:07  * ed209joined
10:20:08  * tristanp_quit (Ping timeout: 272 seconds)
10:21:46  * tristanp_joined
10:21:50  * bqquit (Ping timeout: 258 seconds)
10:22:10  * TheTank111quit (Ping timeout: 250 seconds)
10:22:16  * tristanpquit (Ping timeout: 244 seconds)
10:25:38  * djmaxjoined
10:25:44  * andr0idjoined
10:25:55  * RWOverdijkjoined
10:26:16  * JelteMXjoined
10:26:39  * kaaskaaskaasjoined
10:27:03  * brk_quit (Quit: Leaving)
10:27:11  * andr0idquit (Read error: Connection reset by peer)
10:27:47  * andr0idjoined
10:28:01  * kingarmadillojoined
10:30:16  * djmaxquit (Ping timeout: 272 seconds)
10:30:59  * duckpuppyjoined
10:31:20  * brenbrenjoined
10:32:18  * CodeJugglerjoined
10:32:41  * b0xquit (Quit: b0x)
10:32:46  * kingarmadilloquit (Ping timeout: 244 seconds)
10:34:27  * Literphorquit (Quit: Literphor)
10:34:59  * KnifeJugglerquit (Ping timeout: 260 seconds)
10:35:47  * marthinaljoined
10:35:47  * duckpuppyquit (Ping timeout: 260 seconds)
10:36:01  * bsdnoobquit (Read error: Connection reset by peer)
10:36:24  * bonifacejoined
10:36:26  * bsdnoobjoined
10:36:53  * choropart ("Leaving")
10:38:09  * danneuquit (Quit: Connection closed for inactivity)
10:39:55  * LabCoatNomadjoined
10:40:13  * iGeni_quit (Ping timeout: 252 seconds)
10:40:27  * karmahac_quit (Ping timeout: 260 seconds)
10:40:52  * rik316quit (Ping timeout: 244 seconds)
10:41:01  * bonifacequit (Ping timeout: 250 seconds)
10:43:24  * uttampawarquit (Ping timeout: 250 seconds)
10:44:53  * thealphanerdquit (Quit: farewell for now)
10:44:55  * karmahackerjoined
10:45:01  * noethicsquit (Ping timeout: 240 seconds)
10:45:24  * thealphanerdjoined
10:45:44  * irathquit (Quit: Page closed)
10:46:12  * node_fanaticjoined
10:46:26  * RobinMquit (Quit: RobinM)
10:47:16  * black-perljoined
10:47:25  * kiran_joined
10:48:50  * node_fanaticquit (Client Quit)
10:49:33  * alanszlosekjoined
10:50:38  * dopesongjoined
10:51:00  * nooonjoined
10:51:37  * nooonquit (Client Quit)
10:51:54  * fasdgocjoined
10:52:25  * fasdgocquit (Client Quit)
10:52:52  * djmaxjoined
10:53:33  * alanszlosekquit (Ping timeout: 240 seconds)
10:54:29  * johnchaleksonjoined
10:54:40  * johnchaleksonquit (Read error: Connection reset by peer)
10:54:59  * andr0idquit (Remote host closed the connection)
10:55:39  * hadifarnoudjoined
10:56:11  * johnchaleksonjoined
10:56:15  * alanszlosekjoined
10:56:33  * bsdnoobquit (Ping timeout: 240 seconds)
10:57:29  * djmaxquit (Ping timeout: 250 seconds)
10:57:56  * one_zeroquit
11:00:24  * tristanpjoined
11:01:10  * Rahkiinquit (Ping timeout: 244 seconds)
11:01:11  * kingarmadillojoined
11:01:59  * janne_quit (Remote host closed the connection)
11:02:02  * ividyonjoined
11:02:03  * tristanp_quit (Ping timeout: 244 seconds)
11:02:23  * T-2000_quit (Quit: Leaving)
11:02:53  * brenbrenquit (Quit: Page closed)
11:04:39  * tristanp_joined
11:05:12  * janne_joined
11:05:45  * kripodquit (Read error: Connection reset by peer)
11:05:45  * janne_quit (Remote host closed the connection)
11:05:54  * tristanpquit (Ping timeout: 260 seconds)
11:06:15  * janne_joined
11:06:55  * ceaucarijoined
11:07:20  * johnchaleksonquit (Quit: #UNHACKABLE #UNJACKABLE 10^10^78 https://www.youtube.com/watch?v=rJOsjP33nF4&index=2&list=PL4FB4615B6BF94F35 UNIVERSAL HISTORICAL TIME FROM THA ASHES WISE FROM THE WORD)
11:08:25  * JelteMXquit (Remote host closed the connection)
11:09:17  * vjacobquit (Ping timeout: 244 seconds)
11:09:52  * gaurya95quit (Quit: Page closed)
11:09:58  * ceaucariquit (Max SendQ exceeded)
11:10:25  * Literphorjoined
11:10:30  * Keanu73joined
11:10:38  * ceaucarijoined
11:11:10  * johnchaleksonjoined
11:11:55  * duckpuppyjoined
11:12:11  * djmaxjoined
11:12:15  * Hyukquit (Quit: Textual IRC Client: www.textualapp.com)
11:14:30  * kaaskaaskaasquit (Remote host closed the connection)
11:15:45  * vjacobjoined
11:16:30  * ThePendulumjoined
11:16:32  * djmaxquit (Ping timeout: 250 seconds)
11:18:18  * neanderslobquit (Remote host closed the connection)
11:18:26  * the_antquit (Quit: the_ant)
11:18:46  * mezodjoined
11:19:18  * kuldeepjoined
11:19:26  * CodeJugglerquit (Remote host closed the connection)
11:19:39  * phajijoined
11:19:39  * nettowebjoined
11:20:44  * karmahackerquit (Read error: Connection reset by peer)
11:22:05  * rik316joined
11:24:02  * karmahackerjoined
11:24:10  * DevBoxjoined
11:24:47  <Mia>Hey channel -- what do you think about docker
11:24:51  <Mia>anyone using that for production?
11:25:58  * testjoined
11:26:18  * testquit (Client Quit)
11:26:29  * araujoquit (Ping timeout: 244 seconds)
11:26:44  * Ardethianjoined
11:26:49  * tristanpjoined
11:26:57  <UKn0Me>I don't like it
11:27:05  * Ardethianquit (Remote host closed the connection)
11:27:23  * araujojoined
11:28:14  * BulleTTimejoined
11:28:58  * araujoquit (Max SendQ exceeded)
11:29:10  * tristanp_quit (Ping timeout: 272 seconds)
11:29:27  * tvwjoined
11:29:30  * node_fanaticjoined
11:29:47  * araujojoined
11:31:30  * tristanp_joined
11:31:41  * djmaxjoined
11:32:03  * BigBangUDRjoined
11:32:11  * janne_quit (Remote host closed the connection)
11:32:41  * LinHjoined
11:32:51  * johnchaleksonquit (Quit: #UNHACKABLE #UNJACKABLE 10^10^78 https://www.youtube.com/watch?v=WIxNHrNM8So&list=RDlCLduR5AGRU&index=4 UNIVERSAL HISTORICAL TIME FROM THA ASHES WISE FROM THE WORD)
11:33:32  * trista___joined
11:33:36  * tristanpquit (Ping timeout: 272 seconds)
11:33:51  * BigBangUDRquit (Client Quit)
11:33:54  * pol123456joined
11:34:04  * johnchaleksonjoined
11:34:44  * trodriguesquit (Remote host closed the connection)
11:35:02  * Literphorquit (Quit: Literphor)
11:35:24  * SuperHansquit (Remote host closed the connection)
11:35:42  * JelteMXjoined
11:36:00  * trista___quit (Read error: Connection reset by peer)
11:36:09  * tristanp_quit (Ping timeout: 244 seconds)
11:36:31  * nilsijoined
11:36:33  * tristanpjoined
11:36:37  * johnchaleksonquit (Client Quit)
11:37:10  * laurensclaessenquit (Remote host closed the connection)
11:37:26  * miqidjoined
11:38:01  * alanszlosekquit (Remote host closed the connection)
11:38:02  * djmaxquit (Ping timeout: 272 seconds)
11:38:06  * KnifeJugglerjoined
11:38:30  * JelteMXquit (Remote host closed the connection)
11:38:37  * johnchaleksonjoined
11:39:08  * karmahackerquit (Read error: Connection reset by peer)
11:39:13  * karmahac_joined
11:39:47  * hadifarnoudquit (Quit: My Mac has gone to sleep. ZZZzzz…)
11:40:16  * triasjoined
11:40:43  * ceaucariquit (Ping timeout: 252 seconds)
11:41:08  * johnchaleksonquit (Client Quit)
11:41:49  <Mia>Not a node-js related question, but, how does google extract some sort of tet when you do image search?
11:41:58  * johnchaleksonjoined
11:42:01  * johnchaleksonquit (Max SendQ exceeded)
11:42:21  <Mia>When you right click any image (or upload) to google image search it also adds up some text related to the image, either artist name, or some sort of description.
11:42:23  * al1oquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
11:42:26  <Mia>Where does this data come from?
11:42:34  * djmaxjoined
11:42:38  * bonifacejoined
11:42:58  * johnchaleksonjoined
11:43:01  * johnchaleksonquit (Max SendQ exceeded)
11:43:47  * johnchaleksonjoined
11:43:57  * JelteMXjoined
11:44:07  * PeepDurplejoined
11:44:21  * xxtjaxxjoined
11:45:42  * al1ojoined
11:45:42  * xiinotulpquit (Read error: Connection reset by peer)
11:46:22  * niemaljoined
11:47:12  * ahmedelgabriquit (Ping timeout: 276 seconds)
11:47:13  * vyorkin1quit (Quit: WeeChat 1.4)
11:47:36  * SuperHansjoined
11:48:11  * djmaxquit (Ping timeout: 250 seconds)
11:48:15  * al1oquit (Client Quit)
11:48:22  * therechlaejoined
11:48:34  * lmoejoined
11:48:36  * LinHpart
11:48:46  * mihokjoined
11:48:49  <lmoe>Hey. I use sequelize and need to do a LIKE filter on the id field. I would like to get all objects where the id starts with a certain number. Doing a $like: '%12' obviously does not work as you can't compare an integer that way. Is it still possible somehow?
11:49:09  * xxtjaxxquit (Ping timeout: 276 seconds)
11:49:17  * tristanpquit (Read error: Connection reset by peer)
11:49:43  * tristanpjoined
11:50:04  * jeffreylevesquequit (Ping timeout: 272 seconds)
11:51:08  * triasquit (Ping timeout: 244 seconds)
11:53:16  * xissburgquit
11:54:05  * blahfoojoined
11:54:53  * triasjoined
11:55:37  * andr0idjoined
11:55:38  * node_fanaticquit (Quit: Leaving)
11:55:44  * alanszlosekjoined
11:56:11  * NeverDiejoined
11:56:22  * triasquit (Client Quit)
11:57:05  * thebisquickmanjoined
11:57:41  * atomblerjoined
11:57:43  * Rahkiinjoined
11:59:30  * vjacobquit (Quit: Leaving)
11:59:50  * nilsiquit (Remote host closed the connection)
12:00:06  * roger_rabbitquit (Ping timeout: 244 seconds)
12:00:22  * andr0idquit (Ping timeout: 260 seconds)
12:00:33  * joshonthewebjoined
12:00:35  * node_fanaticjoined
12:00:56  * djmaxjoined
12:01:24  * tristanp_joined
12:01:33  * domdomjoined
12:01:37  * kawa2014quit (Ping timeout: 244 seconds)
12:01:39  * neoncontrailsquit (Remote host closed the connection)
12:02:09  * ceaucarijoined
12:02:16  * atomblerquit (Ping timeout: 258 seconds)
12:02:45  * iyogeshjoshiquit (Remote host closed the connection)
12:03:18  * iyogeshjoshijoined
12:03:22  * tristanpquit (Ping timeout: 272 seconds)
12:04:10  * PiotrekRjoined
12:04:14  * magellanicloudquit (Ping timeout: 260 seconds)
12:04:17  * mr-foobarjoined
12:04:30  * rmgquit (Remote host closed the connection)
12:05:14  * ceaucariquit (Max SendQ exceeded)
12:05:31  * djmaxquit (Ping timeout: 250 seconds)
12:05:55  * ceaucarijoined
12:06:08  * tristanpjoined
12:06:25  * laurensclaessenjoined
12:06:29  * triasjoined
12:06:30  * kiumaquit (Remote host closed the connection)
12:07:10  * tristanp_quit (Ping timeout: 272 seconds)
12:07:32  * liamonadequit (Quit: This computer has gone to sleep)
12:07:48  * sagerdeariaquit (Ping timeout: 272 seconds)
12:08:21  * flyingkiwi_changed nick to flyingkiwi
12:08:59  * tristanp_joined
12:09:17  * theColejoined
12:09:25  * janne_joined
12:09:42  * marthinalquit (Ping timeout: 260 seconds)
12:09:59  * janne_quit (Remote host closed the connection)
12:10:29  * janne_joined
12:10:33  * tristanp_quit (Read error: Connection reset by peer)
12:10:34  * kaaskaaskaasjoined
12:10:40  * ajf-joined
12:10:53  * tristanp_joined
12:11:15  * triasquit (Ping timeout: 276 seconds)
12:11:36  * tristanpquit (Ping timeout: 272 seconds)
12:11:37  * janne_quit (Remote host closed the connection)
12:11:51  * ajf-quit (Max SendQ exceeded)
12:12:27  * nnyk_quit (Ping timeout: 264 seconds)
12:12:28  * neoncontrailsjoined
12:12:42  * srinivas_joined
12:13:13  * srinivas_quit (Client Quit)
12:13:30  * EyePulpjoined
12:13:38  * srinivas_joined
12:13:47  * PSUser2joined
12:14:07  * gliquit (Quit: Leaving)
12:15:25  * nnyk_joined
12:15:38  * iyogeshjoshiquit (Remote host closed the connection)
12:15:49  * iyogeshjoshijoined
12:16:15  * hyeonujoined
12:16:38  * andr0idjoined
12:17:39  * RWOverdijkquit (Ping timeout: 244 seconds)
12:18:56  * srinivas_quit (Quit: Page closed)
12:19:18  * kiumajoined
12:19:23  * tristanp_quit (Read error: Connection reset by peer)
12:19:30  * daviquit (Ping timeout: 246 seconds)
12:19:32  * srinijoined
12:19:54  * tristanpjoined
12:20:41  * renchaoreveejoined
12:21:16  * andr0idquit (Ping timeout: 244 seconds)
12:23:12  * tfennell_joined
12:23:27  * wrainboltquit (Read error: Connection reset by peer)
12:23:29  * neoncontrailsquit (Ping timeout: 260 seconds)
12:23:41  * tfennellyquit (Ping timeout: 244 seconds)
12:24:22  * sriniquit (Client Quit)
12:24:42  * ahmedelgabrijoined
12:25:01  * kuldeepquit (Ping timeout: 240 seconds)
12:25:07  * node5js937joined
12:25:16  * renchaoreveequit (Ping timeout: 252 seconds)
12:25:52  * nodweberquit (Remote host closed the connection)
12:25:58  * sankhaquit (Remote host closed the connection)
12:26:06  * kuldeepjoined
12:26:15  * rot_godquit (Ping timeout: 264 seconds)
12:26:25  * kernalogsjoined
12:26:28  * horseyquit (Remote host closed the connection)
12:26:45  * Xtremerjoined
12:26:51  * djmaxjoined
12:26:51  * sankhajoined
12:27:35  * kernalogsquit (Client Quit)
12:27:49  * EyePulpquit (Remote host closed the connection)
12:28:22  * EyePulpjoined
12:29:21  * ahmedelgabriquit (Ping timeout: 250 seconds)
12:29:34  * jonasenquit (Quit: My Mac has gone to sleep. ZZZzzz…)
12:29:47  * nettowebquit (Ping timeout: 250 seconds)
12:29:55  * theColequit (Quit: My Mac has gone to sleep. ZZZzzz…)
12:30:04  * Condorquit (Quit: WeeChat 1.5)
12:30:09  * Nihamquit (Quit: My Mac has gone to sleep. ZZZzzz…)
12:30:13  * earendelquit (Ping timeout: 250 seconds)
12:30:18  * andr0idjoined
12:31:02  * nettowebjoined
12:31:05  * djmaxquit (Ping timeout: 250 seconds)
12:31:16  * sagerdeariajoined
12:31:19  * roadrunneratwastjoined
12:31:54  * jeffreylevesquejoined
12:32:08  * ZeroBreakjoined
12:32:09  <roadrunneratwast>How does expressjs get values from a post? webServer.post('/sessions', function (request, response) {
12:32:09  <roadrunneratwast> I thought these would be in request.params?
12:32:40  * mrkmgjoined
12:33:42  * tristanp_joined
12:33:43  * alanszlosekquit (Remote host closed the connection)
12:34:26  * sankhaquit (Remote host closed the connection)
12:34:39  * johnchaleksonquit (Ping timeout: 276 seconds)
12:34:51  <lmoe>roadrunneratwast: You want to look into the body.
12:35:07  <lmoe>if you get json data, you will need the body-parser module
12:35:16  * theColejoined
12:35:32  * sankhajoined
12:35:39  <roadrunneratwast>i already have
12:35:40  * tristanpquit (Ping timeout: 272 seconds)
12:35:41  <roadrunneratwast>var bodyParser = require('body-parser')
12:35:41  <roadrunneratwast>app.use( bodyParser.json() ); // to support JSON-encoded bodies
12:35:41  <roadrunneratwast>app.use(bodyParser.urlencoded({ // to support URL-encoded bodies
12:35:41  <roadrunneratwast> extended: true
12:35:41  <roadrunneratwast>}));
12:35:45  * BigBangUDRjoined
12:35:53  * neoncontrailsjoined
12:36:01  <roadrunneratwast>but maybe i am sending the request as JSON
12:36:34  * Flonkjoined
12:36:46  * thomasmchanged nick to tm
12:36:48  * Literphorjoined
12:36:53  * kiumaquit (Quit: Leaving)
12:37:06  <lmoe>You will have to send the application/json header in the client, you can access the post request in request.body then.
12:37:17  * ecuanasojoined
12:37:29  * lance|afkchanged nick to lanceball
12:37:42  * EyePulpquit (Ping timeout: 260 seconds)
12:37:42  * BeerLoverquit (Ping timeout: 260 seconds)
12:37:43  * alanszlosekjoined
12:38:00  * jonasenjoined
12:38:26  * janne_joined
12:38:33  * xxtjaxxjoined
12:38:41  * nodweberjoined
12:38:50  * tristanp_quit (Ping timeout: 272 seconds)
12:39:02  * janne_quit (Remote host closed the connection)
12:39:28  * janne_joined
12:39:29  * mezodquit (Remote host closed the connection)
12:40:27  * agnatjoined
12:41:13  * Literphorquit (Ping timeout: 252 seconds)
12:41:58  * tristanpjoined
12:42:01  * alanszlosekquit (Ping timeout: 240 seconds)
12:42:30  * roadrunneratwastquit (Quit: This computer has gone to sleep)
12:43:05  * mezodjoined
12:43:16  * p15xquit (Ping timeout: 272 seconds)
12:43:48  * sankhaquit (Remote host closed the connection)
12:44:41  * lordjancsojoined
12:44:54  * BigBangUDRquit (Quit: BigBangUDR)
12:44:59  * dopesongquit (Remote host closed the connection)
12:45:55  * roadrunneratwastjoined
12:46:56  * phutchinsjoined
12:48:06  * RWOverdijkjoined
12:48:28  * marcghorayebjoined
12:48:31  * srinivasjoined
12:48:35  * roadrunneratwastquit (Client Quit)
12:48:46  * itaipujoined
12:48:52  * atomblerjoined
12:49:02  * JelteMXquit (Remote host closed the connection)
12:49:05  * atomblerquit (Client Quit)
12:49:17  * ash_workzquit (Ping timeout: 250 seconds)
12:49:28  * ahmedelgabrijoined
12:49:29  * senayarjoined
12:50:23  * graffix222joined
12:52:34  * earendeljoined
12:52:43  * TechnoCrunchquit (Read error: Connection reset by peer)
12:52:58  * janne_quit (Remote host closed the connection)
12:53:04  * dunpealjoined
12:53:23  * user205joined
12:53:36  * tristanp_joined
12:53:57  * piAyejoined
12:54:26  * sankhajoined
12:54:44  * annoymousejoined
12:54:53  * liamonadejoined
12:55:09  * atomblerjoined
12:55:39  * djmaxjoined
12:55:56  * tristanpquit (Ping timeout: 272 seconds)
12:55:56  * Muimijoined
12:56:05  * janne_joined
12:56:17  * g4quit (Quit: Leaving)
12:56:31  <Muimi>Is there a node.js channel for inquiring about hiring developers on freenode?
12:56:38  * janne_quit (Remote host closed the connection)
12:56:41  * dopesongjoined
12:56:45  * SuperHansquit (Remote host closed the connection)
12:56:57  * bit2017quit (Ping timeout: 260 seconds)
12:57:05  * janne_joined
12:57:16  * BeerLoverjoined
12:57:21  * ToApolytoXaosjoined
12:57:36  * annoymousequit (Client Quit)
12:58:09  * janne_quit (Remote host closed the connection)
12:58:19  * sankhaquit (Remote host closed the connection)
12:58:26  * annoymousejoined
12:58:29  * Augerjoined
12:58:34  * Donald-Trumpjoined
12:58:41  * tristanpjoined
12:58:59  * SET002quit (Read error: No route to host)
12:59:06  * tristanp_quit (Ping timeout: 272 seconds)
12:59:30  * Xtremerquit (Quit: My Mac has gone to sleep. ZZZzzz…)
12:59:30  * SET002joined
12:59:54  * italoacasasjoined
13:00:06  * djmaxquit (Ping timeout: 250 seconds)
13:00:30  <user205>I run my node app but I got this error : http://pastebin.com/YCVcQrbY
13:00:42  * janne_joined
13:01:01  * goabongapart
13:01:18  * janne_quit (Remote host closed the connection)
13:01:44  * janne_joined
13:01:51  * itaipuquit (Ping timeout: 246 seconds)
13:01:51  <bhughes>user205: seen line 4 of that trace? might want to look in /home/slim/template/interface/app.js, line 113, column 5
13:02:04  * JelteMXjoined
13:02:51  * kawa2014joined
13:03:21  * ConspiratorXjoined
13:03:28  <user205>@bhughes app.post('/camera', route.cameraPost);
13:03:45  * SuperHansjoined
13:04:02  * EyePulpjoined
13:04:10  * tristanpquit (Ping timeout: 272 seconds)
13:06:27  * ividyonquit (Read error: Connection reset by peer)
13:06:44  * ividyonjoined
13:06:58  * tristanpjoined
13:07:23  * vicatcujoined
13:07:28  * _2E0PGSjoined
13:07:35  * pratykjoined
13:07:38  * pratykquit (Client Quit)
13:07:44  * itaipujoined
13:07:57  * janne_quit (Remote host closed the connection)
13:08:09  * sankhajoined
13:08:20  * dopesongquit (Remote host closed the connection)
13:08:39  * ecuanasoquit (Quit: My Mac has gone to sleep. ZZZzzz…)
13:08:42  * aalvarezjoined
13:08:52  <user205>@bhughes
13:08:58  <netameta>Morning ya all
13:09:00  * dopesongjoined
13:09:01  <user205>bhuges http://pastebin.com/NTQANGV7
13:09:06  * linuxmintquit (Ping timeout: 276 seconds)
13:09:07  * sankhaquit (Remote host closed the connection)
13:09:30  * Laniakeajoined
13:09:38  <user205>bhughes http://pastebin.com/NTQANGV7
13:09:50  * BeerLoverquit (Ping timeout: 244 seconds)
13:10:09  * Donald-Trumpquit (Ping timeout: 260 seconds)
13:11:02  <dunpeal>pm2 is pretty sweet
13:11:41  * PSUser2quit (Quit: Leaving)
13:12:08  * diogogmtjoined
13:12:42  * uniacid_pcjoined
13:12:44  * andr0idquit (Remote host closed the connection)
13:12:55  * uni`pcquit (Read error: Connection reset by peer)
13:12:57  * yoshokatanajoined
13:13:34  <bhughes>user205: i have no idea what the error in your code is, that's kind of up to you to figure out. i just pointed out that the error message tells you where to start looking
13:13:54  * Mikuzzojoined
13:13:58  * RootWeillerquit (Ping timeout: 244 seconds)
13:14:00  * tlaxkitquit (Quit: ¡Adiós!)
13:14:03  <netameta>user205, What is the question about your code ?
13:14:20  * sagerdeariaquit (Ping timeout: 260 seconds)
13:14:22  * RootWeillerjoined
13:14:28  * jak2000quit (Ping timeout: 244 seconds)
13:14:38  <netameta>Muimi, You are looking for a job ?
13:15:38  * dopesongquit (Remote host closed the connection)
13:16:07  * sagerdeariajoined
13:16:10  * agnatquit (Quit: agnat)
13:16:12  * djmaxjoined
13:16:20  * tristanp_joined
13:16:26  * joransiujoined
13:16:28  <user205>netameta I got this error : http://pastebin.com/P4TZhF3C
13:16:50  * sibaquit (Quit: Textual IRC Client: www.textualapp.com)
13:16:59  * ecuanasojoined
13:17:08  * jnoob22quit (Quit: Leaving)
13:17:13  * Soopamanjoined
13:17:24  <netameta>user205, The error is not there
13:17:28  <netameta>its in your router
13:17:28  * tristanpquit (Ping timeout: 272 seconds)
13:17:37  * thinkt4nkjoined
13:17:44  * sankhajoined
13:17:45  * sankhaquit (Remote host closed the connection)
13:17:57  * dandamanjoined
13:17:57  * fyutylequit (Ping timeout: 260 seconds)
13:17:59  <user205>in my route.js I added this: http://pastebin.com/NTQANGV7
13:18:00  * alanszlosekjoined
13:18:13  * vkarehjoined
13:18:14  <user205>netameta in my route.js I added this: http://pastebin.com/NTQANGV7
13:18:40  <netameta>user205, No this is not your router
13:18:50  <netameta>This is your controller
13:19:26  * Mikuzzoquit (Quit: Mikuzzo)
13:19:39  * chargenquit (Quit: BBL)
13:19:59  * RobinMjoined
13:20:07  <user205>do you mean this : http://pastebin.com/h2fJ69zh
13:20:15  <user205>netameta do you mean this : http://pastebin.com/h2fJ69zh
13:21:10  <netameta>user205, Stop posting twice
13:21:11  <netameta>passport.use(new LocalStrategy(function(username, password, done) {
13:21:16  <netameta>maybe this
13:21:20  <netameta>or something like that
13:21:37  * kam270joined
13:21:46  * kam270quit (Max SendQ exceeded)
13:21:53  * django_joined
13:22:37  * janne_joined
13:22:41  * vkarehquit (Ping timeout: 240 seconds)
13:23:07  * RobinMquit (Client Quit)
13:23:16  * sankhajoined
13:23:43  * tristanpjoined
13:24:02  <user205>netameta the problem comes when I added the cameraPost in route.js
13:24:21  * node_fanaticquit (Quit: Leaving)
13:24:31  * andr0idjoined
13:25:18  * node_fanaticjoined
13:26:01  * kiran_quit (Read error: Connection reset by peer)
13:26:06  * dopesongjoined
13:26:20  * tristanp_quit (Ping timeout: 272 seconds)
13:26:56  * elyobjoined
13:27:18  * janne_quit (Ping timeout: 276 seconds)
13:27:45  * sankhaquit (Ping timeout: 260 seconds)
13:27:53  * just-antjoined
13:28:00  <just-ant>hi
13:28:28  * tristanp_joined
13:28:45  * Venemojoined
13:28:53  * al1ojoined
13:28:56  * diogogmtquit (Quit: diogogmt)
13:29:06  <just-ant>anyone here use mocha for testing?
13:29:22  * RobinMjoined
13:29:25  * miquijoined
13:30:09  <node_fanatic>no it pollutes the global namespac
13:30:15  <node_fanatic>namespace
13:30:46  * tristanpquit (Ping timeout: 272 seconds)
13:30:57  <just-ant>but doesn't mocha ONLY run when launched? I didn't think it was something that embedded itself in your app.
13:32:44  * kakashiALquit (Ping timeout: 258 seconds)
13:33:51  * marthinaljoined
13:34:13  <node_fanatic>https://medium.com/javascript-scene/why-i-use-tape-instead-of-mocha-so-should-you-6aa105d8eaf4#.8yx344hlp
13:34:17  * bollulleraquit (Quit: Leaving.)
13:35:25  <just-ant>@node_fanatic thank you... reading now
13:35:48  * eljimmyquit (Quit: This computer has gone to sleep)
13:35:55  <node_fanatic>are you testing a big app? i'm about to start unit testing a large Node app and trying a bunch of different stuff
13:36:02  * sankhajoined
13:36:10  * jonasenquit (Quit: My Mac has gone to sleep. ZZZzzz…)
13:36:29  * janne_joined
13:37:12  * graffixquit (Ping timeout: 246 seconds)
13:37:40  * RWOverdijkquit (Ping timeout: 260 seconds)
13:37:42  * graffix222quit (Ping timeout: 276 seconds)
13:38:31  * graffixjoined
13:38:49  <just-ant>I'm just getting started on this app. It will be relatively small, but I have another larger one that is right behind it in the queue. I want to get comfortable with good practices now, so I don't ruin the larger project. :]
13:39:25  * saslam_joined
13:40:00  * dopesongquit (Remote host closed the connection)
13:40:09  * janne_quit (Client Quit)
13:40:12  <node_fanatic>well im going to be doing testing the new couple months or more, so we can compare best testing practices
13:40:43  * weemsledeuxjoined
13:41:13  * saslam__joined
13:41:40  * barhum2013joined
13:42:01  * braincrashquit (Ping timeout: 240 seconds)
13:42:08  * dopesongjoined
13:43:33  * kiran_joined
13:43:47  * braincrashjoined
13:44:17  * saslam_quit (Ping timeout: 244 seconds)
13:44:23  <node_fanatic>next*, not new
13:44:40  * hoyongquit (Read error: Connection reset by peer)
13:44:42  * kaaskaaskaasquit (Remote host closed the connection)
13:45:20  * tristanp_quit (Ping timeout: 272 seconds)
13:45:50  * user205quit (Ping timeout: 250 seconds)
13:46:16  * Saar2kjoined
13:46:48  * dopesongquit (Ping timeout: 276 seconds)
13:46:54  * Nyankoquit (Quit: ZNC - http://znc.in)
13:47:35  * L8Djoined
13:47:35  * Muimiquit (Read error: Connection reset by peer)
13:47:37  * Condorjoined
13:47:45  * esatterwhitejoined
13:48:30  * ecuanasoquit (Quit: My Mac has gone to sleep. ZZZzzz…)
13:49:00  * iyogeshjoshiquit (Remote host closed the connection)
13:49:21  * cheriotjoined
13:49:38  * tristanpjoined
13:49:42  * Soopamanquit (Quit: Leaving.)
13:49:52  * hoyongjoined
13:50:17  * Nyankojoined
13:50:46  * marcghorayebquit (Quit: Computer has gone to sleep.)
13:51:02  * Saar2kquit (Ping timeout: 272 seconds)
13:51:06  * sankhaquit (Remote host closed the connection)
13:51:21  <just-ant>I'm trying to think through the best approach for testing basic CRUD functionality on models and then use-cases on controllers.
13:51:54  <just-ant>E.g. insert a new record, query record, update record, delete record
13:52:45  <just-ant>and I'm probably just over-thinking it at this point
13:52:47  * brandlyjoined
13:53:34  * magellanicloudjoined
13:54:27  * KlwntSinghjoined
13:54:45  * al1oquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
13:54:53  <node_fanatic>well i found something new im going to try
13:55:09  <just-ant>what is it?
13:56:52  * diogogmtjoined
13:56:53  * marcghorayebjoined
13:57:10  * alphamale93joined
13:57:53  * atomblerquit (Read error: Connection reset by peer)
13:58:05  <node_fanatic>https://github.com/taylorhakes/painless
13:58:06  * atomblerjoined
13:58:21  * joshonthewebquit (Quit: Computer has gone to sleep.)
13:58:29  * leejoined
13:59:31  * ash_workzjoined
14:00:07  * marcghorayebquit (Client Quit)
14:00:34  * node5js937quit (Ping timeout: 250 seconds)
14:00:36  * joshonthewebjoined
14:00:47  * GreenDogjoined
14:00:49  * idefinejoined
14:01:21  * sankhajoined
14:01:48  * slxjoined
14:01:48  * Dlabzjoined
14:02:07  * bdunavantjoined
14:02:39  * sankhaquit (Remote host closed the connection)
14:02:50  * JelteMXquit (Remote host closed the connection)
14:02:50  * RobinM_joined
14:03:06  * nodweberquit (Remote host closed the connection)
14:03:10  <Dlabz>Hi, all. Why parseFloat(x) is Not a Number in node?
14:03:10  * dopesongjoined
14:03:13  * RobinM_quit (Client Quit)
14:03:27  <Dlabz>same for eval(x)
14:03:45  * esatterwhitequit (Quit: Leaving.)
14:03:47  * RobinMquit (Ping timeout: 258 seconds)
14:03:56  * lordjancsoquit (Quit: Leaving)
14:04:58  * samsshjoined
14:05:18  * jonasenjoined
14:05:22  * smokeojoined
14:05:39  * idefinequit (Ping timeout: 276 seconds)
14:05:53  * hoyongquit (Read error: Connection timed out)
14:06:11  * Elyx0joined
14:06:56  * Xtremerjoined
14:07:31  * macabrejoined
14:07:33  * dopesongquit (Ping timeout: 240 seconds)
14:07:57  * ldiamondjoined
14:08:35  * jnewtjoined
14:08:57  * ldiamondquit (Changing host)
14:08:57  * ldiamondjoined
14:08:59  <ldiamond>Would you guys recommend ES2015 on nodejs 6.2.0? (96% complete apparently)
14:09:24  <just-ant>I'm more of a stable, 100% complete guy myself
14:09:52  * jjidoquit (Ping timeout: 260 seconds)
14:09:58  * freeportquit (Quit: Be back later ...)
14:10:07  <ldiamond>idk, I like es2015
14:10:16  * simiusquit (Ping timeout: 244 seconds)
14:10:32  * samsshchanged nick to DR_samssh
14:10:32  * freeportjoined
14:10:38  <ldiamond>I'm not sure I like having a babel build for a nodejs app though
14:11:04  * vkarehjoined
14:11:11  * rik316quit (Ping timeout: 250 seconds)
14:11:17  <merpnderp>ldiamond: at work we just replaced a purchased migration C# tool that took 11 hours to run with 6.2.0 written in 35 minutes that can run the migration in 17 minutes. You don't want to know how much the replaced migration tool cost the company. But understand we didn't give two craps about ES2015 support coverage. We just used what was supported.
14:12:01  * joransiuquit (Quit: This computer has gone to sleep)
14:12:02  * DR_samsshchanged nick to samssh
14:12:10  <merpnderp>The third party tool also failed all the time and had to be restarted from the beginning. The node replacement handles failed tasks gracefully and retries them at the end of the job.
14:12:15  <vicatcu>hey all
14:12:16  * GroenteLaquit (Quit: Leaving)
14:12:20  <ThePendulum>ldiamond: it's fairly standard to use babel for node
14:12:34  * tristanpquit (Ping timeout: 272 seconds)
14:12:53  * KlwntSinghquit (Read error: Connection reset by peer)
14:12:58  <evanlucas>I wouldn't go as far to say it is standard
14:13:14  <ThePendulum>merpnderp: damn, isn't there some sort of warranty on big purchases like that?
14:13:23  <ThePendulum>evanlucas: well much recommended anyway
14:13:35  <ThePendulum>not sure what there is to lose
14:13:42  <evanlucas>you have a build step
14:13:52  * Kruppequit (Quit: ZNC - http://znc.in)
14:13:59  <ldiamond>ThePendulum: idk, 96% support of es2015 seems good enough to me
14:14:00  * KlwntSinghjoined
14:14:10  <evanlucas>^^^^^
14:14:22  * GreenDogquit (Remote host closed the connection)
14:14:31  <ThePendulum>to my understanding the implementation of a lot of things isn't ideal though
14:14:36  <merpnderp>ThePendulum: you have no idea how much money is blown away on "enterprise" licensing in the corporate world.
14:14:37  <ldiamond>I use bable for my frontend because I have a build process anyway that minifies and bundles.
14:14:46  <ldiamond>For a nodejs app, seems unnecessary
14:14:55  * PiotrekRquit (Quit: Ex-Chat)
14:15:02  * eljimmyjoined
14:15:03  <merpnderp>ThePendulum: I'm talking money that could support a team for a decade on software that is barely usable and utter garbage.
14:15:12  * Kruppejoined
14:15:21  <ThePendulum>merpnderp: I have some idea, I'm on the bottom tier of making those applications and I'm getting paid quite a bit for projects that stalled before I was even hired
14:15:40  <node_fanatic>merpnderp: what software in particular is garbage
14:15:56  <ThePendulum>seems like most of what I make is used to pretend they're making progress, it's never actually used
14:16:15  * sankhajoined
14:16:17  * kaaskaaskaasjoined
14:16:35  * idefinejoined
14:16:53  <merpnderp>node_fanatic: well.....I'd rather not go on permanent record saying anything even remotely bad about any of my employers or their specific business decisions.
14:17:09  <node_fanatic>ok i hear ya
14:17:19  * tristanpjoined
14:17:29  <node_fanatic>i dunno is irc is considered permanent record
14:17:33  <node_fanatic>maybe
14:17:40  * just-antputs on tinfoil hat
14:17:44  * denisrajoined
14:17:58  * hextileX1joined
14:18:01  * hextileXquit (Ping timeout: 240 seconds)
14:18:01  * hextileX1changed nick to hextileX
14:18:11  <just-ant>f proprietary, third-party softwar
14:18:23  <merpnderp>node_fanatic: I guarantee more than one of the users here is a bot recording everything. Even my client, irccloud, records everything even though theoretically it's just for my personal history.
14:18:23  * Booster2oooquit (Remote host closed the connection)
14:18:24  <just-ant>#opensource4life
14:19:06  * kakashiALjoined
14:19:20  <node_fanatic>well people talk very informally in irc and people know that i would hope
14:19:40  * Xeno^quit (Ping timeout: 260 seconds)
14:19:40  * ShekharReddyquit
14:19:43  <merpnderp>node_fanatic: until someone has an ax to grind and takes your conversation out of context.
14:19:51  * elyobquit (Quit: My iMac has gone to sleep. ZZZzzz…)
14:19:55  <node_fanatic>yea
14:20:00  <node_fanatic>what a world
14:20:33  * LabCoatNomad_joined
14:20:44  * jr3joined
14:21:33  * zivesterjoined
14:22:25  * freeportquit (Ping timeout: 252 seconds)
14:22:35  * sankhaquit (Remote host closed the connection)
14:22:59  * emiloujoined
14:23:01  * LabCoatNomadquit (Ping timeout: 240 seconds)
14:23:24  * sankhajoined
14:23:36  * adronjoined
14:24:16  * Xeno^joined
14:24:37  * simiusjoined
14:24:37  <ldiamond>merpnderp: I used to work at Morgan Stanely
14:25:05  <ldiamond>we had a team of like 12 people working on a piece of crap that could have been rewritten and handled easily by 1 or 2 devs
14:25:17  * KnifeJugglerquit (Remote host closed the connection)
14:25:33  * paramjoined
14:25:58  * KnifeJugglerjoined
14:26:04  <ldiamond>instead we had a catastrophic source control situation, 200+ different version of the app running in production
14:26:14  <ldiamond>a maintenance hell and merging config via email
14:26:21  * nodweberjoined
14:27:14  <merpnderp>ldiamond: amazing how gross incompetence in middle management is so widely tolerated.
14:27:35  * barhum2013quit (Quit: barhum2013)
14:27:36  * freeportjoined
14:27:38  * hashrocketjoined
14:27:54  <merpnderp>of course my employer is the exception. We're all great here.
14:28:13  * user215joined
14:28:18  * wumbiejoined
14:28:20  <ldiamond>that kind of crap is pretty standard actually
14:28:30  <ldiamond>but usually somewhere in those companies there are decent teams
14:29:01  * hextileXquit (Ping timeout: 252 seconds)
14:29:26  <node_fanatic>did the managers have background in coding at all
14:29:45  * ecuanasojoined
14:30:23  * phalethjoined
14:31:00  * barhum2013joined
14:31:13  * vkarehquit (Ping timeout: 252 seconds)
14:31:27  <ldiamond>in my case yes
14:31:37  * TheSimonatorjoined
14:31:47  * RobinMjoined
14:31:49  <node_fanatic>you'd think that would help
14:31:50  * RobinMquit (Client Quit)
14:31:58  <ldiamond>he was kind of on board with what I was saying, except some other team members were not and some higher managers were just complete idiots
14:32:06  * dandamanquit (Quit: Leaving.)
14:32:26  <node_fanatic>people that don't do software don't grasp how complicated it gets
14:32:30  * emilouquit (Ping timeout: 260 seconds)
14:32:41  * GreenDogjoined
14:32:46  <node_fanatic>they sometimes think "it's just pushing buttons, how tough can it be?"
14:32:49  * denisra_joined
14:33:10  * idefinequit (Remote host closed the connection)
14:33:12  <ldiamond>I'd argue that a lot of people writing software are just as clueless about it.
14:33:15  * GreenDogquit (Remote host closed the connection)
14:33:19  * Yann2joined
14:33:26  * hyeonuquit (Quit: Leaving)
14:33:39  <earendel>what does the output "extranous" as in `-- mongodb@2.1.20 extraneous` mean? (on "npm i mongodb --sav")
14:33:43  * idefinejoined
14:33:59  * denisraquit (Read error: Connection reset by peer)
14:33:59  * gnordakjoined
14:34:02  * KnifeJugglerquit (Ping timeout: 244 seconds)
14:34:15  * jjidojoined
14:34:26  * Conspira_joined
14:34:35  * tristanpquit (Read error: Connection reset by peer)
14:34:36  <ldiamond>I wanted to have a normal branching scheme, with a dev branch, master, release/X.X.X, instead of doing 0.1 -> 0.2 -> 0.3 -> 0.4 -> 0.5 ...
14:34:46  <ldiamond>And some of them were against it...
14:34:46  * graffixquit (Quit: graffix)
14:35:05  * tristanpjoined
14:35:06  * idefinequit (Remote host closed the connection)
14:35:24  * emiloujoined
14:35:30  * IjonTichy85joined
14:35:36  * ConspiratorXquit (Ping timeout: 258 seconds)
14:35:38  <just-ant>I've been doing the software thing for almost 20 years, and I've never been on a team where everyone agreed with an approach or architecture
14:35:40  * idefinejoined
14:36:03  * sankhaquit (Remote host closed the connection)
14:36:08  <node_fanatic>the field isn't that old compared to other fields of endeavor, so there is still a lot of controversy about best practices
14:36:28  * KlwntSinghquit (Ping timeout: 244 seconds)
14:36:32  * SuperHansquit (Remote host closed the connection)
14:36:33  * freeportquit (Ping timeout: 240 seconds)
14:36:40  <ldiamond>just-ant: sure people can disagree on details, but in the example I gave one way is demonstrably wrong
14:36:51  <ldiamond>and we were using that way and had tons of problems with it
14:36:54  <earendel>the art of proposing solution
14:37:03  <just-ant>@node_fanatic you're so right. that and our field is defined by it's constant chang and evolution
14:37:04  * Areksquit (Ping timeout: 260 seconds)
14:37:13  <ldiamond>especially Javascript
14:37:21  <ldiamond>with the 10 new libraries released every minute.
14:37:25  * barhum2013quit (Quit: barhum2013)
14:37:29  * rhojoined
14:37:33  * sankhajoined
14:37:35  <just-ant>JavaScript is the wild wild west
14:37:38  <node_fanatic>true
14:38:00  <ldiamond>It just makes the ecosystem evolve faster though
14:38:26  <ldiamond>React is pretty neat, nodejs is really nice now
14:38:29  <vicatcu>i don't understand why calling superDemo in this code causes an Unhandled rejection Error: https://gist.github.com/vicatcu/69bc1d915764c9bd2ac531da998d713c
14:38:49  * jjidoquit (Ping timeout: 260 seconds)
14:38:56  <vicatcu>please can someone take a look a help me understand?
14:39:14  <vicatcu>i expected that calling superdemo would just end up calling demo once a second
14:39:51  * sankhaquit (Remote host closed the connection)
14:40:45  * RobinMjoined
14:40:45  * kiran_quit (Ping timeout: 276 seconds)
14:40:48  <just-ant>@ldiamond i really like react
14:40:56  * mvenjoined
14:40:59  * sankhajoined
14:41:00  <vicatcu>i just also included the result of running that code in the gist
14:41:01  <ldiamond>just-ant: I hated it when I first saw JSX
14:41:03  <just-ant>@ldiamond it caters to my history as a backend developer :)
14:41:18  <ldiamond>then the "jsx shock" passed and I love it
14:42:21  * zchrykngquit (Quit: Leaving)
14:42:27  * exarchjoined
14:42:45  * exarchpart
14:42:47  * DrAwesomejoined
14:43:01  * DrAwesomequit (Changing host)
14:43:01  * DrAwesomejoined
14:43:07  <ldiamond>vicatcu: what would you expect it to do?
14:43:19  <vicatcu>ldiamond, repeat for ever calling demo at 1 second intervals
14:43:22  <slx>vicatcu: I ran it: Promise.try() is not a function
14:43:24  <vicatcu>because i only reject
14:43:27  <vicatcu>sorry
14:43:34  <vicatcu>var Promise = require('bluebird') is missing
14:44:02  <ldiamond>seems to me that you're just trying demo() twice
14:44:08  * nodweber_joined
14:44:09  <ldiamond>once at first, then after a 1000ms delay
14:44:16  * black-perlquit (Quit: Connection closed for inactivity)
14:44:24  * diamondsjoined
14:44:27  * nofacadejoined
14:45:12  <slx>and the second time you run demo there arn't any handlers, just a return
14:45:12  <ldiamond>if demo always rejects, that's what I'd expect for an output
14:45:25  <vicatcu>ldiamond, hm... yea looks like i just misunderstood myself
14:45:29  <vicatcu>:)
14:45:30  <ldiamond>if your 2nd call was superDemo() then sure, but you'd recurse non stop
14:45:50  <vicatcu>back to the drawing board
14:45:51  <vicatcu>thanks
14:45:57  <vicatcu>bleary eyed already
14:46:00  * jasnelljoined
14:46:08  * tristanpquit (Ping timeout: 272 seconds)
14:47:05  * harryhquit (Quit: Textual IRC Client: www.textualapp.com)
14:47:12  * RobinMquit (Ping timeout: 246 seconds)
14:47:45  * IjonTichy85quit (Quit: Konversation terminated!)
14:47:47  * sankhaquit (Remote host closed the connection)
14:47:50  * nodweberquit (Ping timeout: 244 seconds)
14:48:00  * itaipuquit (Ping timeout: 244 seconds)
14:48:21  * RobinMjoined
14:48:21  * GreenDogjoined
14:49:45  * atomblerquit (Remote host closed the connection)
14:50:15  * LabCoatNomad__joined
14:50:36  * RobinMquit (Client Quit)
14:51:49  * sankhajoined
14:51:55  * graffixjoined
14:52:34  * tristanpjoined
14:52:36  <ratanparai>After learning basic of node, Now I'm feeling lost. My first personal project is a mess. Can anyone please help learning best way
14:52:47  <ratanparai>by the way my first project is hosted here - https://github.com/ratanparai/Booker
14:52:56  <ratanparai>*source code
14:53:03  * LabCoatNomad_quit (Ping timeout: 240 seconds)
14:53:19  * atomblerjoined
14:53:39  * kiran_joined
14:53:54  <ratanparai>I am thinking about using mean.js source code as a guide
14:54:24  * jj15quit (Ping timeout: 276 seconds)
14:55:21  * IAmNotDorianjoined
14:55:21  * IAmNotDorianquit (Changing host)
14:55:21  * IAmNotDorianjoined
14:55:33  * sankhaquit (Remote host closed the connection)
14:56:02  <just-ant>@ratanprai what makes you say it's a "mess?"
14:56:17  * sankhajoined
14:56:22  <just-ant>i wish i had the time to look through it myself in detail, but i dont
14:56:37  * saslam__quit (Ping timeout: 244 seconds)
14:56:40  <ratanparai>I don't like the way I am coding
14:56:40  * RobinMjoined
14:56:41  <just-ant>but I can chat while i'm coding
14:57:12  <just-ant>you don't like the style or your code, or you feel like you're writing too much code?
14:57:15  * danielemmjoined
14:57:17  * Laniakeaquit
14:57:50  <ratanparai>I feel like I am writing code that is not re-useable
14:57:56  * freeportjoined
14:58:25  <ratanparai>and I want to follow some standard
14:58:41  * kevinburkejoined
14:59:12  * wsieroci_joined
14:59:15  * elyobjoined
14:59:36  * averagejoined
14:59:40  * theColequit (Quit: My Mac has gone to sleep. ZZZzzz…)
14:59:50  * nodweber_quit (Remote host closed the connection)
14:59:53  <just-ant>how well do you know javascript
14:59:57  * nettowebquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
15:00:01  * venkat_330joined
15:00:05  <average>hello, would someone like to skim through my blog post and possibly retweet ? https://twitter.com/wsdookadr/status/736207071759175682
15:00:18  * RootWeillerquit (Quit: Saliendo)
15:00:25  * lordjancsojoined
15:00:50  * RobinMquit (Read error: Connection reset by peer)
15:00:55  <ratanparai>I am still learning but I think I'm quite good now
15:00:55  * RootWeillerjoined
15:01:30  <christo_m>anyone here using react?
15:01:43  <merpnderp>christo_m: I do
15:01:57  * chargenjoined
15:01:58  <slx>me
15:02:09  <merpnderp>But I don't write isomorphic react, which is likely what you're about to ask :)
15:02:36  * RobinMjoined
15:02:39  * JelteMXjoined
15:02:56  * bbankesjoined
15:03:26  <slx>ratanparai: my quick suggestion is to modularize the file structure more. Less code in a single app.js, split it into routes, httpserver, etc
15:03:39  * pudymodyjoined
15:03:40  <just-ant>@ratanparai writing reusable code is sort of a discipline that spans languages, but there are articles and blog posts out there if you google for it
15:03:45  <christo_m>merpnderp: what do you think about it
15:03:52  <christo_m>merpnderp: i dont know what isomorphic react is
15:03:57  * chargenquit (Client Quit)
15:03:58  * senayar_joined
15:04:00  * senayarquit (Read error: Connection reset by peer)
15:04:05  <just-ant>i <3 react
15:04:06  * roadrunneratwastjoined
15:04:17  <christo_m>i guess i have to learn it, i like riotjs much better
15:04:24  * chargenjoined
15:04:25  <christo_m>but it seems everyones on the react bandwagon because of fb marketing
15:04:40  <christo_m>merpnderp, just-ant do you guys use Redux as well?
15:04:42  <merpnderp>christo_m: well, we're porting all our angular code to it. Our angular code interfaces with and mounts react components through the window object. Works great.
15:04:42  <slx>isomprphic, ie client/server
15:04:53  <merpnderp>christo_m: yes, we use redux. Whole team absolutely loves it.
15:04:56  <ratanparai>My main problem is I've learned many languages but none in details
15:05:02  <christo_m>merpnderp: interesting
15:05:13  <christo_m>merpnderp: ya when i came here the app was being done in angular 1.x.. but not even with good angular practices
15:05:17  * theColejoined
15:05:18  <christo_m>if those even exist.. my point is its a mess
15:05:24  * brandlyquit (Ping timeout: 244 seconds)
15:05:24  <merpnderp>christo_m: we have far too much angular to just rewrite it all. So all new dev is in react and as we have time we refactor and port older code.
15:05:28  <just-ant>you don't have to learn it, but if you're dealing with any sort of real-time app where you're updating multiple components within a viewspace based on data events, then react is pretty cool
15:05:29  <alphamale93>why does socket.io keep automatically reconnecting to a room? if a user leaves a page, i want it to be permanant
15:05:35  <christo_m>merpnderp: thats what id like to start doing here..
15:05:42  <christo_m>but its going to be an uphill battle i feel
15:05:45  * Ryukenjoined
15:05:59  <christo_m>merpnderp: unfortunately its not modular enough to even do what you're doing.
15:06:07  <christo_m>its kind of like a rip-off-the-bandaid all at once type thing
15:06:09  <ratanparai>just-ant: Thanks. I'll look into it
15:06:13  * KnifeJugglerjoined
15:06:28  * MY123joined
15:06:41  <merpnderp>christo_m: I hooked into ui-router's $stateChangeStart event to unmount every mounted react component and that solved the only issue we had.
15:06:55  <just-ant>@ratanparai the suggestionto move to more modular coding is the foundation for reusablility
15:07:24  * Industrialquit (Ping timeout: 260 seconds)
15:07:43  <just-ant>@ratanparai read up on the MVC pattern
15:08:10  * hextileXjoined
15:08:53  * GreenDogquit (Remote host closed the connection)
15:09:18  <christo_m>just-ant: no i do have to learn it because its what people are using
15:09:21  <christo_m>keeps my skillset relevant
15:09:25  <christo_m>have to keep learning things i guess.
15:09:28  <ratanparai>just-ant: what do you think of mean.js ? should I follow their coding style? It is easy for me to learn from following source code
15:10:14  * RickardsRedjoined
15:10:15  * Areksjoined
15:10:42  * chargenquit (Quit: BBL)
15:10:52  <merpnderp>ratanparai: the best way to do it, is to just do it. Then start refactoring. Rewriting your code better, is just part of it. Look at the source of the modules you use, see what looks good and what doesn't.
15:11:27  <merpnderp>It's far better to get something done that's not horrible than to not get somethinig done, but your code be 'perfect'.
15:11:27  * danielemmquit (Quit: Textual IRC Client: www.textualapp.com)
15:11:30  * chargenjoined
15:11:48  * jr3quit (Quit: jr3)
15:12:18  * Beliqquit (Max SendQ exceeded)
15:12:30  * jjidojoined
15:12:35  * chargenquit (Client Quit)
15:12:46  * wsierociquit (Remote host closed the connection)
15:12:53  * elyobquit (Quit: My iMac has gone to sleep. ZZZzzz…)
15:13:03  * muthuquit (Quit: Leaving)
15:13:14  * denisra_part
15:13:30  * chargenjoined
15:13:33  * Beliqjoined
15:13:37  <ratanparai>merpnderp: Thanks.
15:13:38  * pudymodyquit (Quit: Leaving)
15:13:49  * liamonadequit (Quit: This computer has gone to sleep)
15:14:20  <ratanparai>I'll look into some of the modules.
15:15:14  * wsieroci_quit (Remote host closed the connection)
15:16:17  <just-ant>@ratanparai mean.js and other packages like sailsjs (which I use) are good for quickly creating apps using MVC patterns
15:16:24  * user215quit (Ping timeout: 250 seconds)
15:16:47  <just-ant>if you're building a website in node, I would suggest to use a framework like this rather than try to write one from scratch
15:18:02  * tristanp_joined
15:18:07  * RickardsRedquit (Ping timeout: 260 seconds)
15:18:08  * elyobjoined
15:18:21  * Xtremerquit (Quit: My Mac has gone to sleep. ZZZzzz…)
15:18:58  * liamonadejoined
15:19:33  <ratanparai>I stated with mean.js with yoman generator. Everything was working perfectly but I didn't understand how it's working.
15:19:37  <merpnderp>just-ant: is sailjs production ready? I followed it for a bit when it was first announced, but haven't looked at it since.
15:20:18  * JelteMXquit (Remote host closed the connection)
15:20:20  * tristanpquit (Ping timeout: 272 seconds)
15:20:51  <ratanparai>it was not a good feeling.
15:21:01  * cheriot_joined
15:21:17  <node_fanatic>sails has not been receiving many updates for awhile
15:21:58  <ldiamond>Ah, import x from 'x'; isn't es2015? In node I still need to use require?
15:22:35  <roadrunneratwast>my express app is receiving this as request.originalUrl , /sessions/?hi=world, but there is nothing on request.params. I am using body parser
15:22:41  * tristanp_quit (Ping timeout: 250 seconds)
15:23:32  <merpnderp>node_fanatic: ??? https://github.com/balderdashy/sails/graphs/commit-activity
15:23:40  * KnifeJugglerquit (Remote host closed the connection)
15:24:22  * lsyoyomjoined
15:24:52  <node_fanatic>well it dropped off since April, that doesn't mean anything bad though
15:25:00  * cheriotquit (Ping timeout: 260 seconds)
15:25:14  <node_fanatic>i should clarify I really respect the people behind Sails, i just don't know what their future plans are
15:25:14  <alphamale93>http://stackoverflow.com/questions/19044660/socket-io-get-rooms-which-socket-is-currently-in
15:25:17  <alphamale93>what’s the new answer for that?
15:25:22  <alphamale93>socket.rooms is returning blank for me
15:26:03  * JelteMXjoined
15:26:13  * tristanpjoined
15:26:52  <netameta>Dont use socket.io use primus
15:26:59  * fyutylejoined
15:27:33  * kiran_quit (Ping timeout: 276 seconds)
15:27:37  <alphamale93>...
15:27:41  <just-ant>sails is great for what it is
15:27:49  * tx0ru4joined
15:27:59  * nofacadequit (Quit: My Mac has gone to sleep. ZZZzzz…)
15:28:22  * rudjoined
15:28:29  * Jellyg00sequit (Remote host closed the connection)
15:28:31  <just-ant>i use it to build smaller web apps, because it's an easy way to get going in a hurry. It handles traffic just fine, and I've had an app running on it for almost 2 years now.
15:28:36  * amdi_joined
15:28:45  * Venemoquit (Quit: Communi 3.5.0 - http://communi.github.com)
15:28:48  * marthinalquit (Ping timeout: 244 seconds)
15:28:56  * GreenDogjoined
15:29:02  * Booster2ooojoined
15:29:06  <just-ant>For enterprise apps, especially apps that need scale and elasticity, HA cloud deployment... don't use sails.
15:29:33  * noark9joined
15:30:01  <just-ant>Waterline is handy, but if you're handling a lot of transactions and etc. you're going to want to take direct advantage of whatever the data store affords you, and waterline just gets in the way of that
15:30:03  * al-damiriquit (Quit: Connection closed for inactivity)
15:30:16  * GreenDogquit (Remote host closed the connection)
15:30:22  * joransiujoined
15:31:27  * Jellyg00sejoined
15:31:30  * andr0idquit (Remote host closed the connection)
15:31:32  <node_fanatic>how much monthly traffic do you handle on it
15:31:48  * tx0ru4part
15:32:41  * Harkequit (Quit: Oant moarn!)
15:32:46  * RobinMquit (Quit: RobinM)
15:33:32  * JelteMXquit (Remote host closed the connection)
15:33:53  <merpnderp>sails seemed to explode when following the isntall/setup test app docs with node 6.2.0
15:34:18  <just-ant>just <1k unique page views per month, about 100k requests on avg per month total
15:34:47  * roadrunneratwastquit (Quit: This computer has gone to sleep)
15:34:56  * tristanp_joined
15:35:01  * cheriot_quit (Remote host closed the connection)
15:35:03  <merpnderp>After calling lift the second time after creating an API, threw a bunch of errors. But we already have an auth module, have no problem adding routers, and directly call sprocs from a the Tedius lib. Not sure what it would buy us.
15:35:54  * sabramjoined
15:36:06  * tristanpquit (Read error: Connection reset by peer)
15:36:29  * sabramquit (Max SendQ exceeded)
15:37:01  * sabramjoined
15:37:21  * marthinaljoined
15:37:46  * tristanpjoined
15:38:38  * cheriotjoined
15:38:52  * karmahac_quit (Ping timeout: 252 seconds)
15:39:21  * tristanp_quit (Read error: Connection reset by peer)
15:39:31  * marthinalquit (Remote host closed the connection)
15:39:33  * sankhaquit (Remote host closed the connection)
15:39:42  * robh71joined
15:40:12  * FunnyLookinHatjoined
15:40:12  * FunnyLookinHatquit (Changing host)
15:40:12  * FunnyLookinHatjoined
15:40:38  * whathappensjoined
15:40:55  * RobinMjoined
15:41:40  * tristanpquit (Read error: Connection reset by peer)
15:42:06  * tristanpjoined
15:42:13  * whathapp_joined
15:43:16  * roadrunneratwastjoined
15:43:42  * asteele_quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
15:43:45  * Sna4x8joined
15:44:16  * KlwntSinghjoined
15:44:29  * KnifeJugglerjoined
15:44:51  * nettowebjoined
15:44:57  * whathappensquit (Ping timeout: 246 seconds)
15:45:55  * karmahackerjoined
15:46:55  * KnifeJugglerquit (Remote host closed the connection)
15:47:03  * tristanpquit (Read error: Connection reset by peer)
15:47:11  * KnifeJugglerjoined
15:47:23  * tristanpjoined
15:47:49  * Dlabzquit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
15:48:13  * kassensjoined
15:48:38  * idefinequit (Remote host closed the connection)
15:49:15  * LabCoatNomad_joined
15:49:23  * robh71quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
15:49:37  * bugz4John4Nelsonjoined
15:50:10  * danneujoined
15:50:53  * jfranjoined
15:51:04  * clskjoined
15:51:32  * jfranquit (Max SendQ exceeded)
15:52:02  * robh71joined
15:52:37  * LabCoatNomad__quit (Ping timeout: 252 seconds)
15:52:51  * Xtremerjoined
15:53:02  * aalvarezquit (Ping timeout: 258 seconds)
15:53:15  * vkarehjoined
15:53:41  * KlwntSinghquit (Ping timeout: 240 seconds)
15:56:03  * ajf-joined
15:56:04  * idefinejoined
15:57:05  * InfoTestjoined
15:58:17  * Soopamanjoined
15:58:22  * bugz4John4Nelsonquit (Quit: Leaving)
15:58:45  * idefinequit (Remote host closed the connection)
15:59:55  * sagerdeariaquit (Read error: Connection reset by peer)
15:59:56  * Jellyg00sequit (Quit: Leaving)
16:00:13  * sagerdeariajoined
16:00:39  * nodweberjoined
16:00:40  * idefinejoined
16:01:04  * mewmquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
16:01:04  * robertmaxreesjoined
16:01:24  * rmgjoined
16:02:28  * groomquit (Quit: Leaving.)