00:01:26  <grantwu>ah, thanks.
00:01:37  <grantwu>I really struggled to find this documentation.
00:01:52  <grantwu>close
00:01:55  * grantwupart ("WeeChat 2.2")
00:02:15  <Sven_vB>try bing. 3rd result for "npm unsafe-perm", then in that page first match for "unsafe-perm". ;)
00:02:57  * aeontechquit (Ping timeout: 240 seconds)
00:03:42  * goodenou_quit (Remote host closed the connection)
00:03:52  * aeontechjoined
00:04:20  * kyanjoined
00:04:35  * shanxSquit (Ping timeout: 240 seconds)
00:05:28  * shanxSjoined
00:05:28  * kjartanquit (Read error: Connection reset by peer)
00:06:46  * kjartanjoined
00:07:11  * encYdejoined
00:07:17  * Sharaaljoined
00:09:11  * coderpathjoined
00:09:24  * coderpathpart
00:10:57  * lundibundiquit (Ping timeout: 240 seconds)
00:11:46  * Sharaalquit (Ping timeout: 256 seconds)
00:13:05  * smccarthyjoined
00:13:22  * Krenair24joined
00:13:49  * rickdaddyjoined
00:14:31  <rickdaddy>Hey there. Is node appropriate for an app that mostly handles github webhooks and does some db/api calls in response?
00:14:43  <rickdaddy>vs something like rails?
00:15:02  * nivagjoined
00:15:26  * Krenair24quit (Killed (Sigyn (Spam is off topic on freenode.)))
00:16:01  <DeltaHeavy>Yeah, totally
00:17:25  <rickdaddy>great, thanks
00:17:28  * FooBarWidgetjoined
00:17:52  <rickdaddy>everyone always talks down node for quick iterations and mvps
00:18:20  <rickdaddy>maybe a little more boilerplate but it seems like you end up with something that's much simpler in the long run
00:22:22  * smccarthyquit
00:25:09  * renloquit (Ping timeout: 272 seconds)
00:26:18  <Sven_vB>if you get repetitive boilerplate, it's probably time to make it a module.
00:27:06  * Ohelig15joined
00:27:12  * eckhardt_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:29:07  * DeltaHeavyquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:29:57  <dnscat>how do I use npm packages on aws lambda? will it automatically pull it if I do something like require('somepackage') ?
00:30:01  <Sven_vB>also check whether the boilerplate is worth it. maybe there are simpler ways.
00:31:33  * tmquit (Ping timeout: 260 seconds)
00:31:36  <Sven_vB>dnscat, that one was tricky. I had to scroll down 2 paragraphs so I could see the 6th search result. https://forums.developer.amazon.com/questions/131191/how-to-install-new-module-in-aws-lambda-function-i.html
00:33:02  * beatleboy07joined
00:33:27  * Ohelig15quit (Ping timeout: 240 seconds)
00:34:28  * Dirakquit (Ping timeout: 260 seconds)
00:35:04  <brainproxy>is it a known thing that setting process.env.NODE_PATH during runtime does work on linux/mac, but not on Windows?
00:35:10  * tmjoined
00:35:22  * jumpmanjoined
00:35:26  <dnscat>so it seems you have to zip the entire dir with the node_modules dir in it
00:35:37  <Sven_vB>brainproxy, at least it's a broken thing. :D
00:35:59  <Sven_vB>dnscat, yeah that's what I understand from the thread.
00:36:09  <brainproxy>Sven_vB: this does seem to work: module.paths.unshift(path.join('/path/to/another/node_modules'))
00:36:15  <brainproxy>on windows, I mean
00:36:23  <Sven_vB>dnscat, it gets even trickier if you need native modules. https://www.thepolyglotdeveloper.com/2017/12/deploying-native-nodejs-dependencies-aws-lambda/
00:36:30  <dnscat>I wonder what the equivalent for the serverless module would be
00:36:54  <Sven_vB>brainproxy, why do you even need to manipulate the path?
00:37:16  <brainproxy>because I have need for a horrible ugly hack until I have time for a better solution
00:37:31  * gdibassjoined
00:37:36  <brainproxy>that time being next week, but need something working by monday
00:37:43  * miliarchjoined
00:37:50  * orbyt_quit (Ping timeout: 256 seconds)
00:37:58  <Sven_vB>brainproxy, can't you just use absolute paths in require?
00:38:21  * rickdaddyquit (Ping timeout: 252 seconds)
00:39:00  <brainproxy>so there's a framework that really shouldn't be installed globally, but that's how it's designed, and in an independent package that makes use of the framework both as a tool and as a lib, I need to have the framework's deps be transitive deps
00:39:06  * shanxSquit (Ping timeout: 260 seconds)
00:39:13  * orbyt_joined
00:39:22  <brainproxy>but installing the framework as a dep isn't an option for other reasons
00:39:24  <brainproxy>for now
00:39:27  <brainproxy>so... cheating
00:39:28  <Sven_vB>brainproxy, and all that on windows?
00:40:05  <brainproxy>well I'm working around the issue on all platforms, but on mac/linux, it's fine to just set process.env.NODE_PATH
00:40:15  <brainproxy>i mean that works, I've tested it quite a bit
00:40:24  * draigjoined
00:40:53  * kneekiquit (Ping timeout: 260 seconds)
00:41:09  <jumpman>This is going to sound quite silly, but is there any way to make UDP connections / send datagrams through the `net` module (which is TCP)?
00:41:10  * plexigrasquit (Ping timeout: 265 seconds)
00:41:19  <jumpman>it doesn't have to be reliable or consistent or good
00:41:51  <jumpman>but I'm working in a context where only `net` is available to me and want to talk to a device that speaks in dgrams
00:42:05  * gambl0rejoined
00:42:06  * shanxSjoined
00:43:13  <Sven_vB>jumpman, in an environment with such strange restrictions, are you sure it's even possible to send drgams?
00:43:39  <jumpman>nope
00:44:31  <jumpman>it's supported on the device level, but all I really know is that the `net` module is to be ported to the interpreter at some time in the future
00:44:39  <Sven_vB>if you really only have the net module, I don't see any way to do it.
00:44:46  * texinwien_quit (Ping timeout: 272 seconds)
00:44:51  <jumpman>thanks
00:44:57  * encYdequit (Ping timeout: 240 seconds)
00:45:17  <jumpman>i figured that was a 99% chance, but i don't know enough about how networking works at the protocol level to say with any reasonable certainty that there's no hacky way to do it
00:45:55  * danecandojoined
00:46:01  <Sven_vB>I'd have a lot of hacky ideas but all of them require some other features available, like netfilter or a shell.
00:46:22  * lanlinkjoined
00:47:23  <jumpman>yeah -- at that point i'd have to work on the interpreter itself, or embed it & expose an API, and in either case it's enough low-level legwork to justify just skipping node entirely
00:47:58  <jumpman>(or I'll just write an intermediary server, since being jury rigged is not remotely a concern)
00:48:44  * whalemerjoined
00:50:54  * kneekijoined
00:51:53  * aeontechquit (Quit: aeontech)
00:56:07  * bRinbgjoined
00:56:53  * kneeki|ajoined
00:56:55  * RoriconKnightquit (Quit: Farewell, may the blessing of Loli Goddess stay with us.)
00:58:17  * kneeki|aajoined
01:00:27  * kneekiquit (Ping timeout: 240 seconds)
01:01:57  * kneeki|aquit (Ping timeout: 240 seconds)
01:03:57  * sxajoined
01:04:20  * kneeki|ajoined
01:04:50  * notnulljoined
01:04:51  * notnullquit (Changing host)
01:04:51  * notnulljoined
01:05:50  * TehNutjoined
01:06:05  * Dirakjoined
01:07:57  * kneeki|aaquit (Ping timeout: 240 seconds)
01:08:23  * TehNutquit (Killed (Unit193 (Spam is not permitted on freenode.)))
01:08:48  * draigquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:09:40  * draigjoined
01:12:22  * lanlinkquit (Quit: lanlink)
01:12:28  * nivagquit (Remote host closed the connection)
01:12:54  * khromequit (Quit: khrome)
01:13:55  * nivagjoined
01:14:53  * Sharaaljoined
01:15:43  * angelljoined
01:16:28  * kneeki|aquit (Ping timeout: 260 seconds)
01:19:50  * Sharaalquit (Ping timeout: 265 seconds)
01:20:00  * ed209quit (Remote host closed the connection)
01:20:08  * ed209joined
01:20:57  * zumba_addictjoined
01:21:54  * sxaquit (Ping timeout: 268 seconds)
01:22:05  * gambl0requit (Ping timeout: 240 seconds)
01:23:12  * bdunavantjoined
01:25:22  * zumba_addictquit (Ping timeout: 244 seconds)
01:26:19  * atomicb0mbjoined
01:31:50  * bdunavantquit (Remote host closed the connection)
01:32:14  * bdunavantjoined
01:33:07  * yano14joined
01:33:18  * atomicb0mbquit (Quit: Textual IRC Client: www.textualapp.com)
01:33:55  * yano14quit (Killed (Sigyn (Spam is off topic on freenode.)))
01:34:29  * chargen__joined
01:34:54  * khromejoined
01:37:26  * atomicb0mbjoined
01:41:52  * kneeki|ajoined
01:42:09  * draigquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:43:18  * marduk19129joined
01:44:36  * marduk19129quit (Killed (Sigyn (Spam is off topic on freenode.)))
01:46:12  * chargen__quit (Ping timeout: 272 seconds)
01:46:24  * atomicb0mbquit (Quit: Textual IRC Client: www.textualapp.com)
01:51:44  * shanxSquit (Ping timeout: 255 seconds)
01:52:28  * bdunavantquit (Remote host closed the connection)
01:52:43  * bdunavantjoined
01:53:15  * bdunavantquit (Remote host closed the connection)
01:53:22  * shanxSjoined
01:53:32  * bdunavantjoined
01:53:44  * shanxSquit (Client Quit)
01:54:01  * bdunavantquit (Remote host closed the connection)
01:54:44  * bdunavantjoined
01:54:48  * bdunavantquit (Remote host closed the connection)
01:55:34  * bdunavantjoined
01:55:35  * bdunavantquit (Read error: Connection reset by peer)
01:58:44  * jphasequit (Remote host closed the connection)
02:04:52  * jdaltonjoined
02:08:30  * khromequit (Quit: khrome)
02:10:24  * khromejoined
02:11:05  * draigjoined
02:13:15  * TechEffigyquit (Quit: Leaving)
02:13:51  * neuroserpensquit (Quit: WeeChat 2.1)
02:14:59  * angellquit (Quit: Leaving)
02:16:37  * Sharaaljoined
02:17:11  * bitmaskquit (Quit: Gone to sleep...)
02:18:01  * bitmaskjoined
02:18:40  * bitmaskquit (Client Quit)
02:19:31  * HikaruBGjoined
02:19:39  <HikaruBG>Hello Guys!
02:19:49  <HikaruBG>how is everyone in this fine evening?
02:20:58  * Sharaalquit (Ping timeout: 256 seconds)
02:21:33  <HikaruBG>I have a question - how to implement an email verification (send an email with a link to click) ?
02:21:40  <HikaruBG>is there a library for that?
02:23:28  * khromequit (Quit: khrome)
02:26:53  * Aquaziquit (Quit: Connection closed for inactivity)
02:29:47  * khromejoined
02:29:59  * jphasejoined
02:34:22  * jphasequit (Ping timeout: 260 seconds)
02:35:14  * Miaquit (Read error: Connection reset by peer)
02:38:15  * earendelquit (Quit: Connection closed for inactivity)
02:41:32  * cthulchu_quit (Ping timeout: 260 seconds)
02:42:00  * dre_quit (Remote host closed the connection)
02:51:37  * Emperor_Earthquit (Read error: Connection reset by peer)
02:52:58  * khromequit (Quit: khrome)
02:57:51  * topaxiquit (Read error: Connection reset by peer)
03:00:44  * topaxijoined
03:01:44  * draigquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:03:34  * DeltaHeavyjoined
03:05:45  * braincrashquit (Quit: bye bye)
03:08:45  * khromejoined
03:10:34  * braincrashjoined
03:10:38  * braincrashchanged nick to braincras
03:10:47  * jphasejoined
03:13:05  * ahmedelgabriquit (Ping timeout: 240 seconds)
03:13:06  * spionquit (Ping timeout: 260 seconds)
03:15:30  * gdibassquit (Remote host closed the connection)
03:17:23  * bRinbgquit (Remote host closed the connection)
03:19:39  * igemnacequit (Quit: WeeChat 2.2)
03:24:33  * JSharp10joined
03:25:55  * JSharp10quit (Killed (Sigyn (Spam is off topic on freenode.)))
03:26:20  * khromequit (Quit: khrome)
03:26:45  * marthinaljoined
03:27:31  * Sharaaljoined
03:31:13  * marthinalquit (Ping timeout: 260 seconds)
03:32:03  * EricBladequit (Quit: Leaving.)
03:32:16  * Sharaalquit (Ping timeout: 265 seconds)
03:33:22  * dman777joined
03:39:58  * texinwien_joined
03:42:11  * MrAbaddonjoined
03:42:12  * chargen__joined
03:42:33  * khromejoined
03:43:38  * Scionwestjoined
03:45:27  * robdrakequit (Ping timeout: 240 seconds)
03:45:52  * bRinbgjoined
03:46:05  * texinwien_quit (Ping timeout: 240 seconds)
03:47:10  * chargen__quit (Ping timeout: 272 seconds)
03:48:14  <orbyt_>HikaruBG What did you try?
03:49:47  * robdrakejoined
03:50:11  * robdrakechanged nick to Guest84490
03:50:27  * doodadjsquit (Ping timeout: 240 seconds)
03:50:59  <piyer>I am compiling the handlebar templates and writing the output to a differnt file, how do I render the compiled file? I am using handlebars for server-side rendering.
03:56:14  * khromequit (Quit: khrome)
04:00:43  * Arcaelyxjoined
04:02:10  * khromejoined
04:03:40  * Guest84490part
04:04:12  * robdrakejoined
04:09:18  * trollboyquit (Quit: This computer has gone to sleep)
04:11:27  * fatalhaltquit (Quit: fatal halt)
04:12:23  <HikaruBG>orbyt_: I think I will implement my own solution to verify the user email. Already started
04:14:42  * kjartanquit (Read error: Connection reset by peer)
04:15:40  * keepLearning512joined
04:16:34  * kjartanjoined
04:19:58  * khromequit (Quit: khrome)
04:24:13  * DLStevequit (Quit: All rise, the honorable DLSteve has left the channel.)
04:24:33  * dman777quit (Quit: Lost terminal)
04:24:34  * aykut28joined
04:29:03  * aykut28quit (Remote host closed the connection)
04:29:43  * noraatepernosquit (Quit: noraatepernos)
04:31:05  * fatalhaltjoined
04:36:26  * Lauvenjoined
04:37:02  * whalemerquit (Ping timeout: 265 seconds)
04:37:26  * timeless12joined
04:37:34  * timeless12quit (Killed (Sigyn (Spam is off topic on freenode.)))
04:37:38  * Sharaaljoined
04:38:49  * khromejoined
04:39:49  * keepLearning512quit (Remote host closed the connection)
04:42:38  * Sharaalquit (Ping timeout: 256 seconds)
04:43:35  * brinyquit (Read error: Connection reset by peer)
04:45:34  * DeltaHeavyquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:46:07  * DeltaHeavyjoined
04:46:28  * sqramquit (Ping timeout: 260 seconds)
04:51:10  * nix8n82joined
04:57:55  * Roughyquit (Quit: Meadow Fresh milk)
05:05:46  * kapil___joined
05:09:29  * miliarchquit (Read error: Connection reset by peer)
05:09:35  * ringzer0quit (Remote host closed the connection)
05:12:22  * whalemerjoined
05:18:59  * bRinbgquit (Remote host closed the connection)
05:19:18  * qmr27joined
05:19:40  * qmr27quit (Remote host closed the connection)
05:22:03  * zumba_ad_joined
05:26:43  * zumba_ad_quit (Ping timeout: 260 seconds)
05:28:01  * awghquit (Ping timeout: 248 seconds)
05:30:18  * lpinjoined
05:31:39  * HikaruBGquit (Quit: WeeChat 1.9.1)
05:34:27  * JonathanMcClarequit (Ping timeout: 240 seconds)
05:34:50  * annexsevenquit (Ping timeout: 272 seconds)
05:35:56  * JonathanMcClarejoined
05:35:56  * annexsevenjoined
05:39:56  * Sharaaljoined
05:39:57  * akivaquit (Quit: WeeChat 2.2)
05:43:04  * chargen__joined
05:44:42  * Sharaalquit (Ping timeout: 265 seconds)
05:46:26  * whalemerquit (Quit: Leaving)
05:47:46  * sharaxquit (Remote host closed the connection)
05:47:48  * chargen__quit (Ping timeout: 256 seconds)
05:51:09  * sharaxjoined
05:53:02  * RoriconKnightjoined
05:56:05  * danecandoquit (Quit: My MacBook Air has gone to sleep. ZZZzzz…)
05:56:37  * shin_joined
05:56:44  * soeejoined
06:01:27  * robdrakechanged nick to Guest38961
06:02:16  * Guest38961quit (Quit: ZNC 1.6.6+deb1ubuntu0.1 - http://znc.in)
06:02:25  * graphenequit (Remote host closed the connection)
06:03:08  * graphenejoined
06:03:51  * cthulchuquit (Ping timeout: 244 seconds)
06:12:06  * GreenJellojoined
06:12:10  * khromequit (Ping timeout: 256 seconds)
06:12:35  * khromejoined
06:13:22  * tristanpquit (Remote host closed the connection)
06:13:55  * tristanpjoined
06:15:34  * Dirakquit (Ping timeout: 256 seconds)
06:18:32  * tristanpquit (Ping timeout: 272 seconds)
06:19:38  * keepLearning512joined
06:19:53  * miqidjoined
06:21:43  * darutokojoined
06:24:59  <miqid>Hi all, is there something like 'util.promisify' that works with `https.get`?
06:25:02  * Dirakjoined
06:27:12  * paulcarrotyjoined
06:28:03  * beatleboy07quit (Ping timeout: 272 seconds)
06:28:47  * keepLearning512quit (Remote host closed the connection)
06:29:04  * keepLearning512joined
06:30:07  * bsaboiajoined
06:31:41  * Klumbenquit (Quit: Bye for now)
06:37:02  * Klumbenjoined
06:40:24  * rendarjoined
06:44:25  * prof_sadasdfpart
06:44:50  * prof_sadasdfjoined
06:48:14  * chargen__joined
06:48:31  * chargenjoined
06:51:33  * robdrake_joined
06:51:56  * robdrake_changed nick to Guest21436
06:52:38  * Sharaaljoined
06:52:41  * khromequit (Quit: khrome)
06:54:21  * Guest21436part
06:55:29  * ipv620joined
06:55:39  * robdrakejoined
06:57:10  * rashidickjoined
06:57:30  * Sharaalquit (Ping timeout: 256 seconds)
06:57:45  * ipv620quit (Killed (Sigyn (Spam is off topic on freenode.)))
06:59:19  * mnsrknpjoined
06:59:58  * Pilfersjoined
07:00:10  * orbyt_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:00:24  * Pilfersquit (Remote host closed the connection)
07:05:39  * Hedaaajoined
07:06:25  * mnsrknpquit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
07:09:05  * change23joined
07:09:46  * jsatkquit (Ping timeout: 265 seconds)
07:10:27  * jsatkjoined
07:12:12  * change23quit (Killed (Unit193 (Spam is not permitted on freenode.)))
07:15:40  * jottrjoined
07:16:57  <Dirak>when I npm install -g my cli is installed to /usr/local/lib/node_modules/node/bin. How can I run it without calling /usr/local/lib/node_modules/node/bin/projectName directly?
07:17:58  * Rashadjoined
07:19:20  * jsatkquit (Ping timeout: 272 seconds)
07:20:13  * jsatkjoined
07:20:20  * danecandojoined
07:20:32  <GreenJello>Dirak, /usr/local/bin/my-cli should also exist
07:20:49  <GreenJello>Dirak, and add /usr/local/bin to your PATH, if it isn't already there
07:21:21  <GreenJello>Dirak, I'd recommend using http://nvm.sh instead of doing global installs
07:21:29  <GreenJello>er system-wide installs
07:21:51  <GreenJello>it'll place the files in your home directory and set up PATH for you
07:22:44  <GreenJello>e.g. ~/.nvm/versions/node/v8.11.3/bin/uuid
07:22:47  * tarkusjoined
07:23:15  * tarkusquit (Client Quit)
07:24:24  * HikaruBGjoined
07:24:33  * jottrquit (Ping timeout: 260 seconds)
07:24:38  <Dirak>ooh sweet thanks I'll check this out. I gotta read up on UNIX
07:25:49  * paulcarrotyquit (Quit: Leaving)
07:27:07  <HikaruBG>Dirak: UNIX is a good read - helpful! :)
07:27:35  * jsatkquit (Ping timeout: 240 seconds)
07:28:41  * jsatkjoined
07:30:04  * wook_joined
07:30:54  * wook_quit (Killed (Unit193 (Spam is not permitted on freenode.)))
07:33:53  * jsatkquit (Ping timeout: 260 seconds)
07:34:42  * SteffanWjoined
07:34:49  * kapil___quit (Quit: Connection closed for inactivity)
07:35:56  * jsatkjoined
07:38:38  * sergey_joined
07:40:59  * jsatkquit (Ping timeout: 244 seconds)
07:46:14  * duderonomyquit (Quit: Textual IRC Client: www.textualapp.com)
07:50:13  * aOssed7joined
07:52:23  * sauvinjoined
07:54:00  * aOssed7quit (Remote host closed the connection)
08:00:01  * led_ir22joined
08:00:15  * tarkusjoined
08:00:49  * Sharaaljoined
08:02:15  * gloomyjoined
08:05:08  * rashidickquit
08:05:14  * Sharaalquit (Ping timeout: 255 seconds)
08:07:04  * MrAbaddonquit (Remote host closed the connection)
08:07:12  * jsatkjoined
08:08:59  * gloomyquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:13:41  * jdaltonquit (Quit: Connection closed for inactivity)
08:16:54  * Hedajoined
08:17:07  * Keanu73joined
08:17:29  * m00dyjoined
08:17:30  * m00dyquit (Remote host closed the connection)
08:17:44  * m00dyjoined
08:17:58  * m00dyquit (Remote host closed the connection)
08:18:44  * m00dyjoined
08:20:14  * Hedaaaquit (Ping timeout: 256 seconds)
08:21:37  * sn0njoined
08:22:26  * ffx_joined
08:23:02  * plexigrasjoined
08:24:35  * Deliantquit (Ping timeout: 272 seconds)
08:24:51  * kjartanquit (Read error: Connection reset by peer)
08:26:02  * Deliantjoined
08:26:30  * Hedaquit (Quit: Leaving)
08:26:51  * Hedaaajoined
08:28:22  * Rashadquit (Quit: Textual IRC Client: www.textualapp.com)
08:28:23  * kjartanjoined
08:30:20  * Lauvenquit (Quit: leaving)
08:30:57  * Dirakquit (Ping timeout: 240 seconds)
08:34:10  * Ontaine_joined
08:34:11  * miqidquit (Quit: miqid)
08:34:39  * keepLearning512quit (Remote host closed the connection)
08:34:48  * nhandler28joined
08:35:04  * Rashadjoined
08:35:21  * Alina-malinaquit (Ping timeout: 272 seconds)
08:35:33  * nhandler28quit (Killed (Unit193 (Spam is not permitted on freenode.)))
08:36:11  * soee_joined
08:36:17  * Ontainequit (Ping timeout: 255 seconds)
08:36:21  * keepLearning512joined
08:36:56  * keepLearning512quit (Read error: Connection reset by peer)
08:37:09  * keepLearning512joined
08:37:48  * chargenquit (Quit: BBL)
08:38:57  * danecandoquit (Ping timeout: 240 seconds)
08:38:59  * tarkusquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:39:07  * trisk8joined
08:40:22  * foxcookiejoined
08:40:24  * soeequit (Ping timeout: 272 seconds)
08:40:34  * nd__joined
08:40:55  * trisk8quit (Read error: Connection reset by peer)
08:40:57  * RoriconKnightquit (Quit: Farewell, may the blessing of Loli Goddess stay with us.)
08:40:58  * jsatkquit (Ping timeout: 260 seconds)
08:41:25  * foxcookiequit (Remote host closed the connection)
08:42:07  <joepie91>hmmm. is there a way to produce a custom object that primarily behaves like an array but that has custom 'setter' behaviour for index access?
08:42:27  <joepie91>cc devsnek ljharb :P
08:42:28  * chargen__quit (Ping timeout: 244 seconds)
08:42:34  <joepie91>(yes, I'm doing weird things again)
08:42:36  * awghjoined
08:42:42  * jphasequit (Remote host closed the connection)
08:43:07  * Rashadquit (Quit: Textual IRC Client: www.textualapp.com)
08:46:31  * varunestjoined
08:46:37  * chargen__joined
08:50:57  * chargen__quit (Ping timeout: 240 seconds)
08:50:59  * lanlinkjoined
08:51:19  * draigjoined
08:52:26  * danecandojoined
08:52:30  * draigquit (Client Quit)
08:52:49  * igemnacejoined
08:54:17  * draigjoined
08:54:58  * keepLearning512quit (Remote host closed the connection)
08:55:39  * keepLearning512joined
08:55:55  * draigquit (Client Quit)
08:58:49  * marthinaljoined
08:58:59  * lundibundijoined
09:00:37  * chargen__joined
09:00:55  * chargenjoined
09:07:17  * Rashadjoined
09:08:20  * marthinalquit
09:08:49  * blacksyke11joined
09:09:41  * marthinaljoined
09:09:41  * jsatkjoined
09:10:24  * Sharaaljoined
09:10:33  * Ontaine_quit (Remote host closed the connection)
09:11:04  * paulcarrotyjoined
09:13:56  * Fleet12joined
09:14:38  * jsatkquit (Ping timeout: 256 seconds)
09:14:54  * michael_joined
09:14:54  * michael_quit (Changing host)
09:14:54  * michael_joined
09:15:01  * michael_changed nick to Vonor_
09:15:12  * ahmedelgabrijoined
09:15:12  * Sharaalquit (Ping timeout: 256 seconds)
09:15:13  * Guest26029joined
09:15:29  <Vonor_>o/
09:15:30  * blacksyke11quit (Ping timeout: 268 seconds)
09:15:51  * johnzuhjoined
09:16:07  * JakeSaysquit (Ping timeout: 268 seconds)
09:16:10  * tristanpjoined
09:16:14  * Jetimonjoined
09:16:16  * InverseRhombusquit (Read error: Connection reset by peer)
09:17:10  * jsatkjoined
09:18:23  <Vonor_>I'm using fs.createWriteStream for my log file handling. I just noticed that when the logfile is removed in some way (mv, rm, whatever) the stream itself stays open (aka no error throwing) which is good. however, I would prefer the file to be re-created in that case.
09:19:12  * Guest26029quit (Remote host closed the connection)
09:19:45  * keepLearning512quit (Remote host closed the connection)
09:20:37  * DeltaHeavyquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:22:05  * Fleet12quit (Ping timeout: 240 seconds)
09:22:12  * tristanpquit (Ping timeout: 272 seconds)
09:22:54  * Deliantquit (Ping timeout: 268 seconds)
09:23:17  * mort25joined
09:24:39  * Deliantjoined
09:24:51  * keepLearning512joined
09:25:59  * jsatkquit (Ping timeout: 268 seconds)
09:26:28  <GreenJello>Vonor_, maybe poll https://nodejs.org/api/fs.html#fs_stats_ino with fs.stat
09:29:03  * mort25quit (Remote host closed the connection)
09:42:24  * tombusbyjoined
09:42:53  <tombusby>hey all, learning node atm, so will likely be posting a lot here over the next few days :)
09:43:08  * grr12314joined
09:43:14  * fatalhaltquit (Quit: fatal halt)
09:44:01  * MrAbaddonjoined
09:45:58  * Stevermanjoined
09:51:55  * ffx_quit (Quit: Leaving...)
09:53:35  * Rashadquit (Ping timeout: 240 seconds)
09:55:24  * Rashadjoined
09:55:24  * jsatkjoined
09:57:15  * xynashi2joined
09:57:51  * xynashi2quit (Remote host closed the connection)
09:58:22  * igemnacequit (Quit: WeeChat 2.2)
09:58:56  * bigpet19joined
09:59:18  * varunestquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:59:46  <HikaruBG>Ок... И ам доне фор тонигхт
09:59:51  <HikaruBG>Sorry
09:59:52  <HikaruBG>:)
09:59:57  <HikaruBG>I am done for tonight
09:59:57  * jsatkquit (Ping timeout: 240 seconds)
10:00:15  <HikaruBG>have a good morning everyone
10:00:23  * HikaruBGquit (Quit: WeeChat 1.9.1)
10:01:23  * bigpet19quit (Remote host closed the connection)
10:01:29  * varunestjoined
10:01:52  * tymczenkojoined
10:02:07  * errejoined
10:04:08  <joepie91>tombusby: this might be useful to keep handy:
10:04:12  <joepie91>!getting started @ tombusby
10:04:12  <ecmabot>tombusby: A guide to getting started with JavaScript and Node.js: https://gist.github.com/joepie91/95ed77b71790442b7e61
10:04:30  <tombusby>@joepie91: thanks :) I'll check it out
10:06:21  * Rashad_joined
10:07:16  * Guest23113joined
10:07:54  * Rashadquit (Ping timeout: 256 seconds)
10:08:36  * chargen_joined
10:08:51  * varunestquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:09:03  * chargen_1joined
10:09:27  * chargen__quit (Ping timeout: 240 seconds)
10:10:23  * chargenquit (Ping timeout: 268 seconds)
10:10:25  * ktr9joined
10:13:04  * varunestjoined
10:14:46  * Guest23113quit (Ping timeout: 272 seconds)
10:17:35  * nd__quit (Ping timeout: 240 seconds)
10:18:23  * ktr9quit (Ping timeout: 260 seconds)
10:18:51  * marthinalquit (Remote host closed the connection)
10:20:00  * ed209quit (Remote host closed the connection)
10:20:07  * ed209joined
10:24:43  * sabre1041joined
10:24:49  * m00dyquit (Remote host closed the connection)
10:24:58  * theaetetusjoined
10:25:05  * m00dyjoined
10:25:27  * theaetetusquit (Remote host closed the connection)
10:26:20  * m00dyquit (Remote host closed the connection)
10:26:55  * m00dyjoined
10:27:45  * paulcarrotyquit (Quit: Leaving)
10:30:27  * Stevermanquit (Ping timeout: 244 seconds)
10:31:04  * m00dyquit (Remote host closed the connection)
10:31:20  * m00dyjoined
10:31:35  * sabre1041quit (Ping timeout: 240 seconds)
10:32:35  * Rashad_changed nick to Rashad
10:33:06  * kapil___joined
10:33:23  * Scionwestquit (Quit: Connection closed for inactivity)
10:35:44  * Alina-malinajoined
10:40:55  * jsatkjoined
10:41:43  * varunestquit (Ping timeout: 260 seconds)
10:41:49  * bsaboiaquit (Ping timeout: 244 seconds)
10:42:15  * duderonomyjoined
10:43:01  * bsaboiajoined
10:44:00  * bsaboiaquit (Max SendQ exceeded)
10:45:26  * jottrjoined
10:45:57  * jsatkquit (Ping timeout: 244 seconds)
10:46:27  * Deliantquit (Ping timeout: 240 seconds)
10:47:45  * varunestjoined
10:50:01  * benjamingr_joined
10:50:02  * sharaxquit (Read error: Connection reset by peer)
10:51:15  * Neuromancerjoined
10:51:23  * keepLearning512quit (Remote host closed the connection)
10:52:41  * Deliantjoined
10:52:48  * lundibundiquit (Ping timeout: 260 seconds)
10:52:53  * vinnixquit (Quit: kernel update....going bye-bye!)
10:54:52  * Stevermanjoined
10:57:22  * sharaxjoined
10:58:15  * marthinaljoined
10:58:23  * Arcaelyxquit (Ping timeout: 265 seconds)
11:01:19  * Elishajoined
11:04:10  * soee_quit (Ping timeout: 272 seconds)
11:08:37  * varunestquit (Ping timeout: 272 seconds)
11:09:50  * Guest16945joined
11:11:41  * Guest16945quit (Remote host closed the connection)
11:12:49  * Rashadquit (Ping timeout: 244 seconds)
11:12:58  * varunestjoined
11:14:04  * Rashadjoined
11:14:59  * vinnixjoined
11:16:02  * akay_quit (Ping timeout: 255 seconds)
11:17:05  * fsamareanu12joined
11:18:40  * tristanpjoined
11:21:25  * Keanu73quit (Read error: Connection reset by peer)
11:21:41  * led_ir22quit (Read error: Connection reset by peer)
11:21:41  * varunestquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:21:49  * led_ir23joined
11:22:35  * jottrquit (Ping timeout: 272 seconds)
11:22:49  * varunestjoined
11:23:49  * tristanpquit (Ping timeout: 272 seconds)
11:23:58  * marthinalquit (Remote host closed the connection)
11:24:10  * led_ir23changed nick to led_ir22
11:24:27  * shakalakaquit (Ping timeout: 272 seconds)
11:24:43  * varunestquit (Client Quit)
11:25:02  * fsamareanu12quit (K-Lined)
11:27:14  * varunestjoined
11:27:44  * lanlinkquit (Remote host closed the connection)
11:29:27  * celyrjoined
11:29:51  * celyrchanged nick to Guest65195
11:30:02  * Guest65195quit (Remote host closed the connection)
11:30:46  * jottrjoined
11:32:01  * jsatkjoined
11:32:59  * neo4joined
11:33:57  * JonathanMcClarequit (Ping timeout: 240 seconds)
11:34:03  * annexsevenquit (Ping timeout: 256 seconds)
11:35:22  * varunestquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:36:57  * jsatkquit (Ping timeout: 240 seconds)
11:37:15  * JonathanMcClarejoined
11:38:13  * jsatkjoined
11:38:34  * varunestjoined
11:40:30  * anthonyf17joined
11:40:36  * annexsevenjoined
11:41:30  * anthonyf17quit (Killed (Sigyn (Spam is off topic on freenode.)))
11:42:58  * m00dyquit (Remote host closed the connection)
11:44:07  * m00dyjoined
11:44:10  * m00dyquit (Remote host closed the connection)
11:44:27  * m00dyjoined
11:44:45  * bitmaskjoined
11:45:05  * jsatkquit (Ping timeout: 240 seconds)
11:45:21  * kakashiALjoined
11:46:08  * jottrquit (Quit: WeeChat 2.2)
11:46:32  * jottrjoined
11:49:24  * akayjoined
11:50:43  * varunestquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:51:37  * Sharaaljoined
11:51:56  * varunestjoined
11:56:08  * Sharaalquit (Ping timeout: 256 seconds)
11:57:00  * bitmaskquit (Quit: Gone to sleep...)
11:58:55  * errequit (Ping timeout: 268 seconds)
12:01:35  * pskosinski24joined
12:01:50  * plasticlequit (Ping timeout: 260 seconds)
12:04:01  * jphasejoined
12:07:55  * marthinaljoined
12:08:05  * pskosinski24quit (Ping timeout: 240 seconds)
12:08:50  * jphasequit (Ping timeout: 260 seconds)
12:10:06  * altabquit (Read error: Connection reset by peer)
12:10:38  * jottrquit (Ping timeout: 268 seconds)
12:10:51  * BruceS29joined
12:12:24  * BruceS29quit (Read error: Connection reset by peer)
12:19:00  * varunestquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:19:31  * tristanpjoined
12:19:35  * yeshurunquit (Ping timeout: 240 seconds)
12:19:51  * SteffanWquit (Quit: Konversation terminated!)
12:22:29  * spionjoined
12:22:59  * Arcaelyxjoined
12:23:32  <kakashiAL>I am experimenting with an api that uses access tokens for authentication, and they dont support/offer cookie sessions
12:24:05  <kakashiAL>so you get a username and a password, you send that and get a token that is only 3600 milliseconds valid
12:24:32  <kakashiAL>my question is that in this case you have to reenter your credentials for every action
12:24:36  * tristanpquit (Ping timeout: 272 seconds)
12:24:51  <kakashiAL>or what do you have to do?
12:24:56  <GreenJello>that's *terrible* for security
12:25:32  <GreenJello>it depends on how often you need to do it, and the trade off between security and user experience
12:26:08  <GreenJello>you could keep the user credentials in memory indefinitely, and then the API just slows down your app with multiple round trips
12:26:26  * TinkerTquit (Read error: Connection reset by peer)
12:26:47  <GreenJello>I'd probably have a checkbox or something to let the user select how long to keep their credentials around for
12:27:20  <GreenJello>that's common in password managers, where they stay unlocked for a bit, and then lock again
12:27:21  * paulcarrotyjoined
12:27:50  * JelmerDjoined
12:28:22  * TinkerTjoined
12:28:26  * NvpkD1y7Ezjoined
12:28:34  <kakashiAL>GreenJello: you worked with these kind of apis in the past?
12:29:04  * NvpkD1y7Ezquit (Killed (Sigyn (Spam is off topic on freenode.)))
12:29:14  * plasticlejoined
12:30:27  * Sharaaljoined
12:31:07  * danecandoquit (Quit: My MacBook Air has gone to sleep. ZZZzzz…)
12:31:45  <GreenJello>kakashiAL, nope
12:31:49  <kakashiAL>GreenJello: did I understand you correctly, your strategy looks like this:
12:31:50  <kakashiAL>- the user logs in with his credentials (username and password) that are used to generate the token
12:31:52  <kakashiAL>- you tell the user that his credentials are valid for 15 minutes or he can set the lifetime higher
12:31:54  <kakashiAL>- after the lifetime ends he has to reenter his credentials
12:32:02  <GreenJello>yeah
12:32:19  <GreenJello>and you have a timer that clears the credentials from memory
12:32:35  * igemnacejoined
12:32:36  <GreenJello>how often do you need to make requests?
12:32:49  <kakashiAL>GreenJello: yep, the credentials are then part of your app-state (memory)
12:33:08  * sharaxquit (Ping timeout: 260 seconds)
12:33:22  <GreenJello>btw, a better design for that API would be a refresh token
12:33:25  <kakashiAL>GreenJello: I dont know, its for a friend to check his bank account
12:34:15  <GreenJello>user/pass -> refresh token
12:34:20  <GreenJello>refresh token -> auth token
12:34:34  <kakashiAL>GreenJello: https://www.npmjs.com/package/figo
12:34:58  * Sharaalquit (Ping timeout: 260 seconds)
12:35:07  <kakashiAL>yep, the token is the authentication token
12:35:37  <kakashiAL>and it is refreshed when ever you reenter your credentials
12:36:38  <GreenJello>I'd probably do an idle timeout on the credentials, rather than a fixed time
12:37:00  <GreenJello>so if you don't interact with the app for e.g. 10 minutes, then you discard the credentials
12:37:26  * jsatkjoined
12:37:35  <kakashiAL>sounds like fun to implement :)
12:37:38  <GreenJello>and like a 60 minute unconditional timeout on top of that
12:37:50  <kakashiAL>nice!
12:38:32  <kakashiAL>in that case I have to always call my credentials via a function that checks the internal time/condtions
12:38:49  <GreenJello>it's actually really simple... if you have the function 'clearCredentails', you do const didInteract = lodash.debounce(clearCredentails, 60e3 * 10, { leading: false, trailing: true}); didInteract()
12:39:07  * ben_zen28joined
12:39:08  <GreenJello>then you just call didInteract() every time they do something considered activity
12:39:58  <GreenJello>(the leading/trailing values might be the default, I forget)
12:40:09  * ben_zen28quit (Remote host closed the connection)
12:40:49  <kakashiAL>GreenJello: yep, and you have to also have a variable like "firstLoginTime", and do something like if (firstLoginTime > maxLoginTime) { clearCredentials(); }
12:41:15  <GreenJello>what's that for?
12:41:41  <kakashiAL>for that: GreenJello | and like a 60 minute unconditional timeout on top of that
12:41:53  <GreenJello>you can just do a setTimeout
12:42:04  <kakashiAL>correct!
12:42:10  <GreenJello>you can just do a setTimeout(clearCredentials, 60e3 * 60)
12:42:24  <kakashiAL>why am I soo dumb :(
12:42:27  * jsatkquit (Ping timeout: 240 seconds)
12:42:41  * jottrjoined
12:42:57  <GreenJello>you do have to make it so that if new credentials are entered at any point, that neither of these will clear them
12:43:30  <kakashiAL>what do you mean by that?
12:43:53  <GreenJello>if one of these triggers, and then the user enters their credentials again, the other one might still be running
12:44:07  <GreenJello>and it could clear the credentials 5 seconds after they entered them
12:44:52  <GreenJello>you'd probably implement a custom debounce so you can cancel it. That'd be the most efficient
12:45:12  <GreenJello>keeping the time ids for both around so you can clearTimeout on both
12:45:41  * varunestjoined
12:45:55  * apparitionjoined
12:46:06  <kakashiAL>hmmm....to be honest I cant imagine what you describing, because everything is async and I see no problem with that, but if someone reenters his credentials I get a fresh 60miutes max again
12:46:32  * bitmaskjoined
12:47:30  <GreenJello>kakashiAL, but you might already have a timer running
12:47:42  <kakashiAL>GreenJello: could you maybe describe a scenario/user story where a problem can occure
12:48:15  * jottrquit (Ping timeout: 268 seconds)
12:48:40  <GreenJello>you set the 60 minute timer, and the idle timer. After 50 minutes, the idle timer triggers the clearCredentials. 5 minutes later the user enters new credentials, and you start another timer for 60 minutes. You now have a timer with 5 minutes left and one with 60 minutes left
12:48:51  <GreenJello>5 minutes later, the first 60 minute timer calls clearCredentials
12:50:28  <kakashiAL>now I got it, but the solution to this problem is to always destroy/stop all timers (if they exists or not) and then create a new timer if you enter the credentials
12:50:45  <GreenJello>yep, or a mechanism to ignore the events
12:51:23  <kakashiAL>hmm...something event driven...how would that look like?
12:52:00  * PaulCapestany0joined
12:53:39  * Rashadquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:53:40  <GreenJello>kakashiAL, https://gist.github.com/brigand/e21a16edaad24673bbeef810ed346634
12:53:46  * varunestquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:54:10  * jphasejoined
12:54:21  * ThiefMaster20joined
12:54:50  * marthinalquit (Remote host closed the connection)
12:56:01  * ThiefMaster20quit (Remote host closed the connection)
12:57:03  <kakashiAL>GreenJello: is there a reason why you put the receiverCreds() function in the manager object?
12:58:46  * jphasequit (Ping timeout: 260 seconds)
12:59:35  <GreenJello>kakashiAL, it's associated with that manager object
13:00:03  <GreenJello>clearCredentials would probably also be a method
13:00:43  <kakashiAL>@receiverCreds(): you mean because it is using key of manager?
13:00:50  <kakashiAL>keys
13:01:05  * PaulCapestany0quit (Ping timeout: 240 seconds)
13:01:09  <GreenJello>yeah, and this is naturally stateful
13:01:56  <kakashiAL>GreenJello: and the receiverCred() would make no sense to inject the counter in it
13:02:13  * Rashadjoined
13:02:21  <kakashiAL>to have an api like receiver(user, pass, counter)
13:03:04  <GreenJello>kakashiAL, you'd have to change it so that something else is managing the counter state
13:03:18  <GreenJello>kakashiAL, since it doesn't have anything to increment if you do that
13:03:30  <GreenJello>oh and also doesn't have a way to check if it's changed
13:04:04  <GreenJello>kakashiAL, you need the value of the counter at the time this function was called, and the current value of the counter when your timeouts are triggered
13:04:05  <kakashiAL>hmm... okay, I also see that you need cred.counter from the scope
13:04:34  <GreenJello>er should be manager.counter
13:04:35  <GreenJello>typo
13:07:13  <kakashiAL>GreenJello: when ever you run receiverCred(), manager.counter and counter are the same, because after incrementing manager.counter, you put that value in counter or am I blind?:/
13:07:44  * varunestjoined
13:08:39  <GreenJello>kakashiAL, yes, but you get a new 'counter' variable for each invocation of 'receiveCreds'
13:09:07  <GreenJello>kakashiAL, so if you call it once, the value will be '2' in both 'counter' and manager.counter
13:09:46  <GreenJello>if you call it again, then manager.counter is 3, but the closure in the first invocation still has 'counter' containing 2
13:10:05  <GreenJello>so it checks if 3 == 2, which is false, so it doesn't clearCredentials
13:11:51  * m00dyquit (Remote host closed the connection)
13:12:26  * m00dyjoined
13:12:49  <kakashiAL>GreenJello: I dont see that, when ever I call receiverCreds() counter is rewritten/overwritten and manager.counter is === counter because of the line const counter = manager.counter;
13:12:51  * varunestquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:13:25  * m00dyquit (Remote host closed the connection)
13:13:33  <GreenJello>kakashiAL, it's not 'overwritten', it's a variable that's used by a closure
13:13:36  * m00dyjoined
13:13:36  * ryzendajoined
13:13:49  <GreenJello>a new 'counter' variable is created each time the function is called
13:14:37  <kakashiAL>GreenJello: yes, a anew counter cariable is creates each time, and manager.counter is incremented also each time
13:15:10  * Rashadquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:16:34  <GreenJello>yes, but the two aren't synchronized
13:17:22  <GreenJello>kakashiAL, try out the code, and add logging
13:17:28  <GreenJello>maybe it'll make more sense then
13:17:30  <kakashiAL>hmmm....
13:17:44  * errejoined
13:18:41  * AndChat|620489joined
13:18:49  <kakashiAL>GreenJello: I dont see when manager.counter is !== counter :(
13:19:07  * nix8n82quit (Ping timeout: 260 seconds)
13:21:08  * jsatkjoined
13:21:10  * neo4quit (Quit: neo4)
13:21:33  * jottrjoined
13:23:27  <kakashiAL>GreenJello: I also dont understand why you want to clear the credentials if manager.counter !== counter ?:/
13:24:29  * Rashadjoined
13:26:07  * jottrquit (Ping timeout: 244 seconds)
13:28:39  * tymczenkoquit (Remote host closed the connection)
13:29:05  * jsatkquit (Ping timeout: 240 seconds)
13:30:20  * chargen_quit (Quit: BBL)
13:30:44  * pveritasjoined
13:32:08  * u0m3_joined
13:32:39  * Alchemicalquit (Read error: Connection reset by peer)
13:33:04  * jphasejoined
13:33:19  * ahadiquit (Quit: ZNC 1.6.5 - http://znc.in)
13:34:23  * chargen_1quit (Ping timeout: 260 seconds)
13:34:54  * u0m3quit (Ping timeout: 272 seconds)
13:35:27  * Sharaaljoined
13:36:22  * dastierjoined
13:37:58  * jphasequit (Ping timeout: 260 seconds)
13:39:24  * ahadijoined
13:39:39  * qswzjoined
13:40:24  * Sharaalquit (Ping timeout: 256 seconds)
13:41:19  * jsatkjoined
13:41:56  * ahadiquit (Client Quit)
13:42:38  * ahadijoined
13:45:30  * Keanu73joined
13:46:39  * jsatkquit (Ping timeout: 256 seconds)
13:47:41  * kek918joined
13:51:06  * kek918quit (Killed (Sigyn (Spam is off topic on freenode.)))
13:52:09  * DLStevejoined
13:57:31  * bRinbgjoined
13:57:31  * kjartanquit (Read error: Connection reset by peer)
13:59:48  * kjartanjoined
14:04:40  * errequit (Ping timeout: 272 seconds)
14:07:45  * AtumT_joined
14:07:57  * shin_quit (Ping timeout: 252 seconds)
14:10:53  * AtumTquit (Ping timeout: 268 seconds)
14:11:51  * jsatkjoined
14:11:55  * Roughyjoined
14:12:57  * bRinbgquit (Remote host closed the connection)
14:13:29  * bRinbgjoined
14:15:50  * graphenequit (Read error: Connection reset by peer)
14:16:27  * graphenejoined
14:17:02  * jsatkquit (Ping timeout: 276 seconds)
14:17:04  * rebrecquit (Quit: The Lounge - https://thelounge.github.io)
14:20:15  * tristanpjoined
14:20:34  * dodobrainjoined
14:20:54  * dodobrainchanged nick to Guest56777
14:23:46  * Guest56777quit (Killed (Sigyn (Spam is off topic on freenode.)))
14:25:34  * tristanpquit (Ping timeout: 272 seconds)
14:26:37  * paulcarrotyquit (Read error: Connection reset by peer)
14:26:44  * paulcarrotyjoined
14:30:49  * smccarthyjoined
14:31:50  * draigjoined
14:33:11  * jsatkjoined
14:33:50  * FreEm1nDjoined
14:34:42  * draigquit (Client Quit)
14:35:49  * Sharaaljoined
14:36:16  * Adbray17joined
14:39:15  * smccarthyquit (Remote host closed the connection)
14:40:20  * Sharaalquit (Ping timeout: 256 seconds)
14:42:03  * Adbray17quit (Ping timeout: 260 seconds)
14:42:41  * jsatkquit (Ping timeout: 272 seconds)
14:46:28  * kakashiALquit (Ping timeout: 272 seconds)
14:46:41  * jsatkjoined
14:46:58  * chargenjoined
14:47:08  * chargen_1joined
14:51:22  * jsatkquit (Ping timeout: 244 seconds)
14:51:57  * kapil___quit (Quit: Connection closed for inactivity)
14:52:08  * bRinbgquit (Ping timeout: 276 seconds)
14:52:56  * Rashadquit (Quit: Textual IRC Client: www.textualapp.com)
14:56:01  * chargen_1quit (Quit: WeeChat 2.0.1)
14:57:10  * jsatkjoined
14:59:09  * andirc5089joined
15:00:37  * mezodquit (Read error: Connection reset by peer)
15:00:45  * trollboyjoined
15:00:54  * YoYquit (Quit: Leaving...)
15:01:34  * mezodjoined
15:02:30  * errejoined
15:02:35  * andirc5089quit (Remote host closed the connection)
15:05:28  * jsatkquit (Ping timeout: 272 seconds)
15:05:41  * jsatkjoined
15:06:07  <devsnek>joepie91: proxy
15:06:45  * InverseRhombusjoined
15:07:01  <joepie91>:/
15:07:01  * kapil___joined
15:07:10  <joepie91>any more... performant options?
15:07:56  * doodadjsjoined
15:08:00  * chargenquit (Ping timeout: 272 seconds)
15:08:28  * FreEm1nDquit (Quit: Leaving)
15:09:42  * graphenequit (Remote host closed the connection)
15:10:19  * graphenejoined
15:11:57  * jphasejoined
15:13:19  * Guest81029joined
15:14:09  * jsatkquit (Remote host closed the connection)
15:16:33  * chargenjoined
15:16:58  * jphasequit (Ping timeout: 265 seconds)
15:17:22  * sysfault_joined
15:17:33  <ljharb>joepie91: a proxy
15:17:47  <ljharb>that’s the only option
15:17:58  <ljharb>when doing weird things, you’ve already given up on speed
15:18:07  * m00dyquit (Remote host closed the connection)
15:18:40  * m00dyjoined
15:18:55  * gdarkojoined
15:19:23  <gdarko>i have simple index.js with just only console.log('Some dummy text') and when i npm index.js it prints nothing, what could be wrong?
15:19:41  <gdarko>sorry, i mean node index.js
15:19:45  * kakashiALjoined
15:20:03  * sysfaultquit (Ping timeout: 272 seconds)
15:20:27  * DeltaHeavyjoined
15:20:44  * Guest81029quit (Ping timeout: 276 seconds)
15:22:01  * jsatkjoined
15:22:15  * Anticomjoined
15:22:28  * jottrjoined
15:24:38  * kakashiALquit (Ping timeout: 260 seconds)
15:25:17  * m00dyquit (Ping timeout: 276 seconds)
15:25:53  * JakeSaysjoined
15:27:21  * jottrquit (Ping timeout: 268 seconds)
15:27:50  * dastierquit (Remote host closed the connection)
15:29:16  * smccarthyjoined
15:29:36  * EricBladejoined
15:30:10  * ffx_joined
15:32:41  * sharaxjoined
15:38:17  * jsatkquit (Ping timeout: 276 seconds)
15:38:38  * jsatkjoined
15:39:54  * goodafternoonjoined
15:41:01  <goodafternoon>app.use('/resources', express.static(__dirname + 'resources')); but still I have Cannot GET /resources/socket.io.js when I load http://localhost:3000/resources/socket.io.js
15:41:19  <goodafternoon>no error when I run the js
15:41:21  * paulcarrotyquit (Quit: Leaving)
15:42:29  * Sharaaljoined
15:44:35  * Captain_Beezayjoined
15:44:42  <danneu>goodafternoon: __dirname is "/a/b" so __dirname + "resources" is "/a/bresources"
15:45:25  <danneu>try require('path').join(__dirname, "resources") as an improvement over string-concatenation
15:45:27  * kneeki|aquit (Ping timeout: 240 seconds)
15:45:42  <qswz>should httpServer and netServer .listen method return a Promise?
15:45:46  <danneu>though i think express.static('resources') accomplishes the same thing
15:45:59  <qswz>would be more useful than currently
15:46:05  * jsatkquit (Ping timeout: 240 seconds)