00:00:40  * b44quit (Ping timeout: 264 seconds)
00:02:03  * ycon_joined
00:02:58  * etupatquit (Ping timeout: 245 seconds)
00:03:13  * Jimmy7quit (Quit: Leaving)
00:05:16  * aphprentice__joined
00:08:34  * KempfCreativequit (Ping timeout: 248 seconds)
00:14:13  * wsierocijoined
00:14:32  * tomkujoined
00:16:18  * kneekiquit (Ping timeout: 245 seconds)
00:16:46  * b44joined
00:18:44  * wsierociquit (Ping timeout: 244 seconds)
00:18:52  * nexiijoined
00:19:05  * ahmedelgabrijoined
00:21:08  * b44quit (Ping timeout: 252 seconds)
00:22:06  * ahmedelg1quit (Ping timeout: 272 seconds)
00:22:49  * Xeyamequit (Read error: Connection reset by peer)
00:29:10  * ahmedelgabriquit (Quit: WeeChat 2.5)
00:31:54  * Anthaasquit (Read error: Connection reset by peer)
00:31:58  * AtticusYangjoined
00:32:13  * dbuggerquit (Quit: Leaving)
00:32:16  * Anthaasjoined
00:34:48  * s00pcanjoined
00:35:59  * w0ngquit (Quit: leaving)
00:36:23  * w0ngjoined
00:37:41  * b44joined
00:38:29  * sabrehagenquit (Remote host closed the connection)
00:39:09  * elsheepojoined
00:39:16  <ycon_>Hi, Im having trouble with Lerna + babel, but I'm probably missing a fairly obvious setup. It keeps whinging about the ES6 style imports, altough I have babel. Any ideas? https://github.com/yarnball/lerna-tutorial
00:40:02  <ycon_>Its very unclear which "package" should have the bable dependices
00:42:31  * b44quit (Ping timeout: 276 seconds)
00:44:08  * kjartanquit (Ping timeout: 268 seconds)
00:44:09  * dman777quit (Quit: Lost terminal)
00:45:32  * kjartanjoined
00:46:41  <ycon_>Maybe a better question- what "script" does lerna run in my package folders?
00:47:31  * Zamyatinjoined
00:52:44  * dman777joined
00:53:12  * b44joined
00:58:12  * b44quit (Ping timeout: 272 seconds)
00:58:23  * kjartanquit (Ping timeout: 245 seconds)
00:58:27  * duderonomyjoined
00:59:09  * BadQuantaquit (Quit: Live & Love, then Prosper.)
00:59:18  * duderonomyquit (Client Quit)
01:01:34  * kjartanjoined
01:01:55  * Zamyatinquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:06:11  * igeniquit (Quit: Textual IRC Client: www.textualapp.com)
01:07:34  * wsierocijoined
01:08:07  * AtticusYangquit
01:11:20  * s00pcan_joined
01:11:42  * s00pcanquit (Ping timeout: 245 seconds)
01:11:44  * s00pcan_changed nick to s00pcan
01:12:01  * wsierociquit (Ping timeout: 246 seconds)
01:13:40  * asigquit (Quit: Bye)
01:13:54  * b44joined
01:18:04  * sunil_bansaljoined
01:18:33  * b44quit (Ping timeout: 258 seconds)
01:19:00  * heyitsramaquit (Remote host closed the connection)
01:20:00  * ed209quit (Remote host closed the connection)
01:20:07  * ed209joined
01:22:33  * sunil_bansalquit (Ping timeout: 245 seconds)
01:25:37  * jkridnerquit (Read error: Connection reset by peer)
01:26:05  * jkridnerjoined
01:29:01  * podlechjoined
01:30:03  * heyitsramajoined
01:31:38  * fonewizjoined
01:32:25  * prashanth041quit (Ping timeout: 250 seconds)
01:33:21  * Zamyatinjoined
01:35:34  * fonewizpart
01:35:52  * shanquit (Ping timeout: 245 seconds)
01:36:08  * Jessidhiaquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:37:03  * esrsejoined
01:37:26  * fonewizjoined
01:38:28  * Jessidhiajoined
01:38:38  * Zamyatinquit (Quit: Knocking out. Peace y'all...)
01:40:49  * shanjoined
01:43:37  * rashkovjoined
01:43:53  * fonewizquit (Remote host closed the connection)
01:48:04  * kjartanquit (Ping timeout: 246 seconds)
01:48:48  * Sharaaljoined
01:49:09  * kjartanjoined
01:50:49  * plutoniixquit (Quit: Leaving)
01:51:11  <nacelle>robertj: a lot of people in that town have their conceted heads firmly planted deep in rectal territory
01:51:56  <nacelle>those people can afford cars and like to drive around in them, taunting people with "lesser" cars
01:52:00  <nacelle>i've never seen it before.
01:52:21  <nacelle>like they're 5 year olds with a sugar problem levels of bad about it.
01:52:57  * Sharaalquit (Ping timeout: 245 seconds)
01:54:42  * ycon_quit (Ping timeout: 248 seconds)
01:58:53  * igemnacequit (Quit: WeeChat 2.5)
01:59:49  * plutoniixjoined
02:00:01  * kannarfrquit (Quit: ZNC 1.7.1 - https://znc.in)
02:00:57  * wsierocijoined
02:01:31  * kannarfrjoined
02:03:28  * Anthaasquit (Ping timeout: 246 seconds)
02:03:40  * LiftLeftquit (Ping timeout: 264 seconds)
02:03:50  * Anthaasjoined
02:05:58  * wsierociquit (Ping timeout: 272 seconds)
02:10:14  * DeltaHeavyjoined
02:10:14  * DeltaHeavyquit (Client Quit)
02:13:37  * etupatjoined
02:20:06  * etupatquit (Remote host closed the connection)
02:20:38  * etupatjoined
02:24:49  * etupatquit (Ping timeout: 246 seconds)
02:24:55  * heyitsramaquit (Remote host closed the connection)
02:25:28  * heyitsramajoined
02:26:52  * KaynRyuquit (Ping timeout: 272 seconds)
02:28:27  * AbedBquit (Read error: Connection reset by peer)
02:28:28  * jkridnerquit (Remote host closed the connection)
02:29:51  * AtumTquit (Quit: AtumT)
02:30:00  * AbedBjoined
02:30:13  * heyitsramaquit (Ping timeout: 258 seconds)
02:30:23  * lucasbquit (Quit: Connection closed for inactivity)
02:30:55  * _till_joined
02:30:55  * _till_quit (Changing host)
02:30:55  * _till_joined
02:31:16  * hemstockquit
02:32:34  * glijoined
02:33:11  * jkridnerjoined
02:34:12  * AbedBquit (Read error: Connection reset by peer)
02:34:31  * d4nanjoined
02:35:44  * AbedBjoined
02:36:51  * Bakkotpart
02:40:16  * jkridnerquit (Ping timeout: 264 seconds)
02:41:18  * LiftLeftjoined
02:41:36  * oetjenjquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:41:39  * ffx__joined
02:42:08  * oetjenjjoined
02:42:23  * oetjenjquit (Client Quit)
02:42:52  * oetjenjjoined
02:43:09  * oetjenjquit (Client Quit)
02:43:36  * oetjenjjoined
02:43:55  * oetjenjquit (Client Quit)
02:44:23  * oetjenjjoined
02:44:38  * ffx_quit (Ping timeout: 245 seconds)
02:44:41  * oetjenjquit (Client Quit)
02:45:08  * oetjenjjoined
02:45:27  * oetjenjquit (Client Quit)
02:46:18  * trevorquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:48:31  * sunil_bansaljoined
02:49:13  * d4nanquit (Ping timeout: 245 seconds)
02:53:38  * sunil_bansalquit (Ping timeout: 268 seconds)
02:53:48  * kjartanquit (Ping timeout: 245 seconds)
02:54:20  * wsierocijoined
02:54:45  * kjartanjoined
02:55:18  * YangGang2020joined
02:56:04  * Cabanoss-quit (Ping timeout: 248 seconds)
02:58:58  * wsierociquit (Ping timeout: 258 seconds)
02:59:28  * LiftLeftquit (Ping timeout: 264 seconds)
03:00:53  * heyitsramajoined
03:01:24  * evazquit (Quit: Leaving)
03:01:58  * unrecitedjoined
03:05:38  * Anthaasquit (Ping timeout: 248 seconds)
03:06:21  * Cabanossijoined
03:07:37  * Anthaasjoined
03:08:19  * jkridnerjoined
03:11:06  * unrecitedquit (Quit: Lost terminal)
03:14:45  * b44joined
03:18:40  * renlojoined
03:18:58  * b44quit (Ping timeout: 248 seconds)
03:21:10  * AbedBquit (Read error: Connection reset by peer)
03:22:55  * Roughyquit (Quit: Meadow Fresh milk)
03:29:24  * kjartanquit (Ping timeout: 268 seconds)
03:30:19  * kjartanjoined
03:31:22  * dman777quit (Quit: Lost terminal)
03:33:01  * awghquit (Quit: eschaton immanetized.)
03:33:22  * heyitsramaquit (Ping timeout: 245 seconds)
03:33:23  * keith_millerjoined
03:34:33  * nexiiquit (Ping timeout: 244 seconds)
03:34:38  * tmquit (Ping timeout: 272 seconds)
03:36:16  * shushquit (Remote host closed the connection)
03:37:00  * Sharaaljoined
03:37:34  * howdoijoined
03:37:59  * tmjoined
03:41:05  * ^escquit (Ping timeout: 264 seconds)
03:41:18  * Sharaalquit (Ping timeout: 245 seconds)
03:42:06  * ^escjoined
03:42:57  * kjartanquit (Ping timeout: 245 seconds)
03:43:17  * Montrosequit (Ping timeout: 250 seconds)
03:43:53  * ffx__quit (Remote host closed the connection)
03:44:20  * kjartanjoined
03:44:45  * duderonomyjoined
03:47:40  * wsierocijoined
03:48:10  * Montrosejoined
03:49:33  * nexiijoined
03:50:23  * KempfCreativejoined
03:50:44  * mat001_joined
03:52:07  * wsierociquit (Ping timeout: 244 seconds)
03:53:22  * mat001quit (Ping timeout: 245 seconds)
03:53:37  * Montrosequit (Ping timeout: 276 seconds)
04:03:37  * rashkovquit (Quit: Connection closed for inactivity)
04:04:13  * heyitsramajoined
04:17:52  * renloquit (Ping timeout: 246 seconds)
04:25:27  * nexiiquit (Ping timeout: 245 seconds)
04:25:42  * KempfCreativequit (Ping timeout: 244 seconds)
04:27:54  * awghjoined
04:29:57  * sunil_bansaljoined
04:30:37  * led_dark_1quit (Quit: led_dark_1)
04:31:42  * morenoh11quit (Ping timeout: 245 seconds)
04:32:20  * transfusionquit (Read error: Connection reset by peer)
04:32:48  * morenoh11joined
04:33:56  * transfusionjoined
04:34:19  * sunil_bansalquit (Ping timeout: 246 seconds)
04:38:22  * Arcaelyxquit (Ping timeout: 245 seconds)
04:38:28  * jkridnerquit (Ping timeout: 276 seconds)
04:39:34  * beatzzjoined
04:41:00  * wsierocijoined
04:43:22  * elsheepoquit (Ping timeout: 245 seconds)
04:44:50  * SwiftMattjoined
04:45:28  * wsierociquit (Ping timeout: 245 seconds)
04:45:56  * mat001_quit (Remote host closed the connection)
04:47:16  * morenoh11quit (Ping timeout: 246 seconds)
04:48:08  * sunil_bansaljoined
04:48:52  * doxjoined
04:54:13  * TikityTikquit (Ping timeout: 245 seconds)
04:54:55  * jkridnerjoined
04:56:34  * sunil_bansalquit (Remote host closed the connection)
04:56:53  * mb^quit
04:57:37  * ircuser-1quit (Quit: because)
04:58:27  * nst^joined
04:59:55  * jkridnerquit (Ping timeout: 276 seconds)
05:00:49  * orbyt_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
05:03:34  * morenoh11joined
05:05:49  * doxpart
05:06:29  * sunil_bansaljoined
05:06:30  * Lucas_Grayjoined
05:06:44  * SwiftMattquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
05:07:55  * morenoh11quit (Ping timeout: 246 seconds)
05:10:53  * sunil_bansalquit (Ping timeout: 245 seconds)
05:12:39  * SwiftMattjoined
05:13:00  * kjartanquit (Ping timeout: 268 seconds)
05:13:58  * kjartanjoined
05:15:48  * jkridnerjoined
05:16:12  * sunil_bansaljoined
05:20:21  * jkridnerquit (Ping timeout: 250 seconds)
05:25:02  * Sharaaljoined
05:25:28  * Norrinquit (Ping timeout: 258 seconds)
05:29:15  * Sharaalquit (Ping timeout: 244 seconds)
05:30:03  * sunil_bansalquit (Remote host closed the connection)
05:30:42  * Norrinjoined
05:31:14  * kjartanquit (Ping timeout: 248 seconds)
05:31:59  * kjartanjoined
05:34:32  * wsierocijoined
05:36:17  * heyitsramaquit (Ping timeout: 245 seconds)
05:36:36  * jkridnerjoined
05:36:54  * funderBenz738joined
05:38:42  * wsierociquit (Ping timeout: 248 seconds)
05:41:15  * morenoh11joined
05:41:28  * jkridnerquit (Ping timeout: 264 seconds)
05:41:52  * hsnjoined
05:42:12  * GreenJelloquit (Quit: My iMac has gone to sleep. ZZZzzz…)
05:44:02  * mat001joined
05:44:19  * Lucas_Grayquit (Ping timeout: 246 seconds)
05:46:45  * SwiftMattquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
05:47:18  * shushjoined
05:48:25  * mat001quit (Ping timeout: 258 seconds)
05:53:54  * funderBenz7388joined
05:56:27  * funderBenz738quit (Ping timeout: 258 seconds)
05:57:34  * jkridnerjoined
05:58:54  * funderBenz738joined
06:00:01  * kannarfrquit (Quit: ZNC 1.7.1 - https://znc.in)
06:00:22  * neonpastorquit (Quit: ZNC 1.8.x-nightly-20190102-481fdb5a - https://znc.in)
06:01:17  * funderBenz7388quit (Ping timeout: 244 seconds)
06:01:31  * kannarfrjoined
06:01:44  * ferhatyjoined
06:01:46  * SwiftMattjoined
06:01:57  * jkridnerquit (Ping timeout: 250 seconds)
06:03:54  * funderBenz7388joined
06:04:47  * heyitsramajoined
06:05:52  * podlechquit (Quit: WeeChat 2.5-dev)
06:06:17  * funderBenz738quit (Ping timeout: 245 seconds)
06:06:49  * morenoh11quit (Ping timeout: 258 seconds)
06:08:54  * funderBenz738joined
06:11:03  * daN-R-Gquit (Ping timeout: 250 seconds)
06:11:24  * funderBenz7388quit (Ping timeout: 258 seconds)
06:13:56  * funderBenz7388joined
06:14:27  * b44joined
06:15:14  * neonpastorjoined
06:15:51  * b44quit (Remote host closed the connection)
06:17:08  * funderBenz738quit (Ping timeout: 268 seconds)
06:20:58  * funderBenz738joined
06:21:22  * plasticlequit (Ping timeout: 248 seconds)
06:21:58  * Notijoined
06:22:23  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
06:22:55  * funderBenz7388quit (Ping timeout: 258 seconds)
06:25:51  * funderBenz7388joined
06:26:50  * b44joined
06:27:43  * wsierocijoined
06:28:18  * funderBenz738quit (Ping timeout: 248 seconds)
06:29:01  * keith_millerjoined
06:29:01  * keith_millerquit (Client Quit)
06:30:47  * funderBenz738joined
06:32:02  * wsierociquit (Ping timeout: 248 seconds)
06:32:35  * Notiquit (Remote host closed the connection)
06:32:58  * kjartanquit (Ping timeout: 246 seconds)
06:33:07  * jkridnerjoined
06:33:19  * funderBenz7388quit (Ping timeout: 244 seconds)
06:34:03  * Notijoined
06:34:35  * kjartanjoined
06:35:52  * funderBenz7388joined
06:36:27  * paulcarrotyjoined
06:37:33  * morenoh11joined
06:37:52  * jkridnerquit (Ping timeout: 264 seconds)
06:38:22  * funderBenz738quit (Ping timeout: 245 seconds)
06:40:31  * aerexquit (Ping timeout: 250 seconds)
06:40:53  * funderBenz738joined
06:42:38  * Venemo_XA2joined
06:42:44  * morenoh11quit (Ping timeout: 272 seconds)
06:44:00  * funderBenz7388quit (Ping timeout: 272 seconds)
06:45:42  * plasticlejoined
06:45:44  * funderBenz7388joined
06:47:04  * Notiquit (Quit: Konversation terminated!)
06:48:34  * funderBenz738quit (Ping timeout: 248 seconds)
06:49:08  * IniGitjoined
06:52:33  * Notijoined
06:53:59  * jkridnerjoined
06:54:54  * funderBenz738joined
06:55:53  * funderBenz7388quit (Ping timeout: 258 seconds)
06:57:06  * _till_quit (Ping timeout: 248 seconds)
06:58:52  * jkridnerquit (Ping timeout: 276 seconds)
07:00:28  * heyitsramaquit (Ping timeout: 272 seconds)
07:01:18  * jkridnerjoined
07:02:15  * funderBenz738quit (Ping timeout: 244 seconds)
07:18:42  * b44quit
07:21:10  * wsierocijoined
07:23:09  * tsujpquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:23:16  * paulcarrotyquit (Ping timeout: 272 seconds)
07:23:31  * AbedBjoined
07:25:46  * wsierociquit (Ping timeout: 258 seconds)
07:26:09  * abbiyajoined
07:26:45  * Booster2ooojoined
07:30:14  * heyitsramajoined
07:31:43  * morenoh11joined
07:34:36  * SwiftMattquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
07:36:17  * Venemojoined
07:36:34  * morenoh11quit (Ping timeout: 248 seconds)
07:41:08  * tsujpjoined
07:43:56  * Laptop_minijoined
07:44:30  * Ergojoined
07:45:02  * saladjoined
07:47:48  * kevireillyjoined
07:55:15  * sarafjoined
07:55:56  * sillyslux_joined
07:56:17  * sillysluxquit (Ping timeout: 245 seconds)
07:58:31  * ahmedelgabrijoined
08:01:07  * floppydhjoined
08:06:36  * Laptop_miniquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:07:28  * beatzzquit (Ping timeout: 246 seconds)
08:09:28  * enoqjoined
08:10:27  * d4nanjoined
08:10:45  * nimajnebjoined
08:11:14  * white_soldierquit (Ping timeout: 248 seconds)
08:13:38  * saladquit (Read error: Connection reset by peer)
08:14:05  * b44joined
08:14:07  * saladjoined
08:14:31  * wsierocijoined
08:14:33  * nimajnebquit (Read error: Connection reset by peer)
08:15:00  * nimajnebjoined
08:18:43  * wsierociquit (Ping timeout: 244 seconds)
08:18:43  * d4nanquit (Ping timeout: 244 seconds)
08:19:17  * abbiyaquit (Quit: abbiya)
08:19:57  * Eliripsjoined
08:22:03  * setpilljoined
08:25:22  <Elirips>Hello. If a node module exports a variable, like https://pastebin.com/3frSRpTr and now this module is required in multiple source-files, will all source files see the same instance of foo?
08:25:48  * morenoh11joined
08:28:14  * Anthaasquit (Read error: Connection reset by peer)
08:29:06  * Anthaasjoined
08:29:18  * feelextrajoined
08:30:27  * heyitsramaquit (Ping timeout: 245 seconds)
08:30:33  * morenoh11quit (Ping timeout: 258 seconds)
08:33:36  * zavajoined
08:34:20  <joepie91>Elirips: in practice, yes, due to the module cache. however, a) you should not rely on this behaviour (ie. don't use modules as disguised global variables), and b) you're exporting the value *stored in* a variable, not the variable itself, which is an important distinction because it means that later internal reassignments to the `foo` variable within that module are not reflected in what is exported
08:37:02  <Elirips>joepie91: If the variable would only be accessed using functions exported by the module, like https://pastebin.com/XNJgifuZ that would resolve the problem that the value is exported not? each file could now call bla(); getting the content of the "module global foo"?
08:37:13  * kpattich_joined
08:37:22  * xxxx_quit (Ping timeout: 272 seconds)
08:37:34  <Elirips>so that foo would become kind of a singleton?
08:37:51  * Snuupyquit (Quit: Snuupy)
08:38:26  <joepie91>Elirips: yes; but the "don't use modules as disguised global variables" (which is what "singletons" are) still applies :)
08:38:37  <joepie91>Elirips: what is the problem you're trying to solve?
08:38:56  * Snuupyjoined
08:38:58  * Snuupyquit (Changing host)
08:38:58  * Snuupyjoined
08:39:18  * Snuupyquit (Client Quit)
08:39:37  <Elirips>joepie91: not a real problem, just trying to understand how the module-things work
08:39:40  * nimajnebquit (Ping timeout: 246 seconds)
08:40:06  <joepie91>Elirips: have you read the Node docs about modules? they go into somewhat ridiculous detail :)
08:40:17  * nimajnebjoined
08:40:21  <Elirips>joepie91: parts of ;)
08:41:48  <joepie91>Elirips: the high-level idea of it is: when you require() a module, it is evaluated within a function wrapper (that gets `module` and `exports` and `require` as arguments), and after that wrapper function call has completed, the then-contents of `module.exports` are returned from the `require()` call that originally prompted the loading of the module
08:42:01  <joepie91>it is also stored in the module cache, keyed by the absolute path of the module
08:42:32  <joepie91>upon a next `require()` call to the same path (after being made absolute), it will return the cached result from the cache immediately, instead of evaluating the module again
08:42:35  <joepie91>that's more or less it
08:43:03  <joepie91>there are some annoying details such as "never use `exports`, always use `module.exports`, because otherwise a reassignment won't be picked up"
08:43:17  * turboteddyjoined
08:45:36  * herouxquit (Ping timeout: 272 seconds)
08:46:10  * gregf_joined
08:46:54  * herouxjoined
08:48:07  * xxxx_joined
08:49:20  <Elirips>joepie91: well thanks, that was a really short summary of the docs :)
08:50:04  <joepie91>Elirips: emphasis on 'summary', lots of details missing :D
08:50:09  <joepie91>like how it resolves paths etc.
08:53:28  * jkridnerquit (Ping timeout: 264 seconds)
08:53:33  * Flynnnjoined
08:57:41  * Venemo_XA2quit (Remote host closed the connection)
08:57:56  * dre_joined
08:59:12  * esrsequit (Ping timeout: 245 seconds)
09:00:37  * JaredCEjoined
09:01:21  * darkSeid_joined
09:01:35  * Sharaaljoined
09:01:35  * jolavjoined
09:02:12  * funderBenz738joined
09:02:25  * heyitsramajoined
09:02:34  * jolavquit (Remote host closed the connection)
09:07:50  * wsierocijoined
09:07:55  * b44quit (Read error: Connection reset by peer)
09:08:22  * b44joined
09:09:55  * jkridnerjoined
09:12:08  * wsierociquit (Ping timeout: 245 seconds)
09:14:43  * jkridnerquit (Ping timeout: 276 seconds)
09:15:27  * yakizaquit (Quit: WeeChat 2.4)
09:17:33  * Booster2oooquit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
09:17:38  * gregf_quit (Remote host closed the connection)
09:19:00  * SrainUserjoined
09:19:58  * morenoh11joined
09:22:01  * Booster2ooojoined
09:23:24  * sozubajoined
09:24:28  * morenoh11quit (Ping timeout: 246 seconds)
09:26:30  * Nicmavrquit (Read error: Connection reset by peer)
09:28:17  * Nicmavrjoined
09:29:07  * ferhatyquit (Quit: ferhaty)
09:33:20  * igenijoined
09:42:13  * jkridnerjoined
09:43:11  * e01joined
09:43:18  * thisisbenjijoined
09:43:43  * nimajnebquit (Ping timeout: 268 seconds)
09:48:14  * spion_joined
09:50:43  * b44quit (Remote host closed the connection)
09:53:10  * b44joined
10:00:01  * kannarfrquit (Quit: ZNC 1.7.1 - https://znc.in)
10:00:10  * Sharaalquit (Remote host closed the connection)
10:00:52  * heyitsramaquit (Ping timeout: 245 seconds)
10:01:09  * wsierocijoined
10:01:31  * kannarfrjoined
10:01:45  * Sharaaljoined
10:04:34  * Snuupyjoined
10:05:25  * wsierociquit (Ping timeout: 246 seconds)
10:11:38  * yakizajoined
10:11:41  * dpljoined
10:14:06  * morenoh11joined
10:18:52  * morenoh11quit (Ping timeout: 268 seconds)
10:19:06  * gliquit (Quit: Leaving)
10:20:00  * ed209quit (Remote host closed the connection)
10:20:07  * ed209joined
10:26:01  * igemnacejoined
10:26:15  * darutokojoined
10:31:22  * turboteddyquit (Ping timeout: 272 seconds)
10:33:03  * asteelejoined
10:35:47  * heyitsramajoined
10:36:53  * plutoniixquit (Quit: Leaving)
10:44:06  * WebertRLZjoined
10:44:25  <WebertRLZ>hey how can I reject a promise inside a then block? should I just throw an error?
10:44:25  <WebertRLZ> myOb.someMethod(bla).then(if(something){return some} else {throw "error here"}) ?
10:46:48  <joepie91>WebertRLZ: yep; all throws are translated into rejections, all returns are translated to resolves
10:47:02  <joepie91>WebertRLZ: that having been said; never throw a string, every error should always be an Error object
10:47:06  <joepie91>otherwise you'll lose stacktraces
10:47:14  * tkorejoined
10:47:23  <joepie91>either just `new Error(...)`, or preferably a custom error type, eg. as produced by the `create-error` library
10:47:30  <joepie91>(which correctly inherits from Error)
10:52:54  * sxa_joined
10:53:26  <cdunklau>joepie91: "all returns are translated to resolves" <- with the caveat that returning a promise that rejects will result in a rejection too :)
10:54:24  <cdunklau>(not trying to be a smartass, i promise)
10:54:25  <joepie91>cdunklau: err, good point. I suppose that the full caveat is that a returned promise is 'followed', not 'translated' :)
10:54:33  * wsierocijoined
10:54:36  <joepie91>promise, haha, get it
10:54:36  <joepie91>:P
10:54:41  <cdunklau>hur hur
10:56:13  <cdunklau>WebertRLZ: to clarify that caveat, p.then(() => { return Promise.reject(new Error('blarg')); }) returns a promise that will reject, even though the .then handler did not throw
10:56:37  <cdunklau>because of that "following" behavior
10:59:14  * wsierociquit (Ping timeout: 248 seconds)
10:59:35  * thisisbenjiquit (Read error: Connection reset by peer)
11:00:19  * thisisbenjijoined
11:02:58  * willcquit (Ping timeout: 245 seconds)
11:04:22  * dre_quit (Remote host closed the connection)
11:05:26  * gregf_joined
11:06:20  * gregf_quit (Remote host closed the connection)
11:06:27  * darkSeid_quit (Remote host closed the connection)
11:08:10  * morenoh11joined
11:08:28  * emsjessecjoined
11:13:05  * morenoh11quit (Ping timeout: 258 seconds)
11:13:10  * thisisbenjiquit (Ping timeout: 272 seconds)
11:14:41  * remyojoined
11:15:23  * sarafquit (Quit: Leaving)
11:15:45  * AbedB_joined
11:17:11  * rendarjoined
11:18:15  * darutoko-joined
11:18:49  * tkorequit (Read error: Connection reset by peer)
11:19:07  * tkorejoined
11:19:30  * AbedBquit (Ping timeout: 272 seconds)
11:19:37  * darutokoquit (Ping timeout: 246 seconds)
11:20:02  * sozubaquit (Ping timeout: 248 seconds)
11:22:12  * sozubajoined
11:23:18  * tsujpquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:24:13  * heyitsramaquit (Ping timeout: 258 seconds)
11:24:18  * darutoko__joined
11:24:38  * darutoko__quit (Remote host closed the connection)
11:25:07  * trevorjoined
11:25:49  <fastman>hi, do you know if there is a tool that would get your eslint configuration and generate _beautiful_ documenatation from the used rules?
11:26:08  * trevorquit (Client Quit)
11:27:14  * SrainUserquit (Remote host closed the connection)
11:27:19  * darutoko-quit (Ping timeout: 246 seconds)
11:29:19  * trevorjoined
11:30:55  * b44quit (Remote host closed the connection)
11:31:34  * hemstockjoined
11:33:00  * b44joined
11:36:39  * atdqjoined
11:37:05  * jkridnerquit (Ping timeout: 276 seconds)
11:37:24  <atdq>Hello! I use text-based protocol (client–server model), where client can send some commands and server will reply with results. I want to create some API, using which user can call API.commandName(parameters) and get Promise which will be fulfilled with result. But I don't know how best to organize the data. That is, I need to write a command to the stream and wait for a response and, depending on the content, reject or fulfill the promise. But what to do if a
11:40:26  * Notiquit (Quit: Konversation terminated!)
11:40:37  * turboteddyjoined
11:43:49  * ItsNotRSXjoined
11:47:22  * mebarlewjoined
11:47:37  * mebarlewquit (Client Quit)
11:47:54  * wsierocijoined
11:49:21  * tsujpjoined
11:51:56  * heyitsramajoined
11:52:34  * wsierociquit (Ping timeout: 248 seconds)
11:53:08  * computer2000joined
11:53:46  * jkridnerjoined
11:53:52  * CrazyEddyjoined
11:57:22  * Sharaalquit (Remote host closed the connection)
11:58:09  * jkridnerquit (Ping timeout: 250 seconds)
12:00:13  * tombusbyquit (Remote host closed the connection)
12:00:16  * Sharaaljoined
12:00:26  * tombusbyjoined
12:00:51  * hyperiscojoined
12:02:19  * morenoh11joined
12:03:44  * ffx_joined
12:07:24  * morenoh11quit (Ping timeout: 268 seconds)
12:07:56  * _till_joined
12:08:03  * ceborquit (Quit: bye!)
12:08:49  * ceborjoined
12:19:51  * e01quit (Quit: My iMac has gone to sleep. ZZZzzz…)
12:21:55  * e01joined
12:23:32  * Sharaalquit (Remote host closed the connection)
12:26:28  * Sharaaljoined
12:28:48  * Justmondrisjoined
12:29:32  * evdubsquit (Remote host closed the connection)
12:30:03  * _till_quit (Ping timeout: 245 seconds)
12:31:10  <Justmondris>please why is this line: req.session.users.email = email; showing undefined in my code(line 35) : https://bpaste.net/show/Vydx
12:31:11  * KempfCreativejoined
12:31:35  <Justmondris>i am trying to use redis as my session store
12:31:41  * funderBenz738quit (Ping timeout: 258 seconds)
12:32:25  * evdubsjoined
12:35:22  * lpinjoined
12:35:32  * Kaivojoined
12:38:21  <joepie91>Justmondris: unrelated to your question: what does `helpers.decrypt` do? that looks wrong
12:38:42  <joepie91>(you can't "decrypt" a hash, hashes are one-way -- if you *can* decrypt them, that means they're not hashes and you have a security problem)
12:38:49  * Laxtourjoined
12:39:29  <joepie91>also, where exactly are you seeing `undefined` and how are you checking that?
12:40:00  * Sharaalquit (Remote host closed the connection)
12:40:56  <Justmondris>even console.log(req) does not contain session object
12:41:13  * wsierocijoined
12:41:14  * Sharaaljoined
12:41:54  <joepie91>Justmondris: that doesn't answer my question though
12:41:56  <Justmondris>req.session.users.email = email; is saying cannot set email of undefined
12:42:03  <joepie91>okay
12:42:12  <joepie91>so the problem is that req.session.users is undefined
12:42:27  <joepie91>if you're not setting it anywhere, that is why
12:42:46  <Justmondris>@joepie91: helpers.decrypt is to decrypted the hashed password
12:42:50  <joepie91>I don't really understand why you're doing `req.session.users.email` instead of `req.session.email` (or rather, `req.session.userId` or so) anyway
12:43:01  <joepie91>Justmondris: like I said, "decrypting a hash" is not a thiing that is technically possible
12:43:06  <joepie91>so either your naming is wrong, or you have a security problem
12:43:18  <joepie91>so what, exactly, does helpers.decrypt do
12:43:24  <Justmondris>check this for the decrypt and encrypt: https://bpaste.net/show/eLd9
12:43:49  <joepie91>Justmondris: right, so the code is correct then but your naming is wrong
12:43:50  <Justmondris>req.session.email: even this did not work
12:44:00  <Justmondris>sorry for that
12:44:05  <joepie91>Justmondris: this is not 'encrypting' and 'decrypting'; this is 'hashing' and 'verifying'/'comparing', like the bcrypt method names say
12:44:18  <Justmondris>@joepie91: i wanted to create a user object inside the session obj
12:44:19  <joepie91>it's explained more here: https://paragonie.com/blog/2015/08/you-wouldnt-base64-a-password-cryptography-decoded
12:44:23  <joepie91>I recommend reading that alter
12:44:24  <joepie91>later*
12:44:32  <joepie91>Justmondris: why a user object?
12:44:39  <Justmondris>@joepie91: yeah you are correct
12:44:52  <Justmondris>okay
12:45:11  <Justmondris>i want to store other user details there
12:45:13  <Justmondris>like first name
12:45:21  <joepie91>why are those not stored in your database?
12:45:26  <Justmondris>they are
12:45:34  <joepie91>then why do they need to be in the session data?
12:45:38  * Sharaalquit (Ping timeout: 268 seconds)
12:45:43  <Justmondris>well i will get those ones from the db
12:46:15  * Sharaaljoined
12:46:16  * zfigzjoined
12:46:16  * wsierociquit (Ping timeout: 272 seconds)
12:46:53  <joepie91>that doesn't answer my question
12:47:23  <Justmondris>@joepie91: which one?
12:47:39  <joepie91>Justmondris: "then why do they need to be in the session data?"
12:48:06  <Justmondris>i did this: req.session.email = email;
12:48:17  <Justmondris>(node:6112) UnhandledPromiseRejectionWarning: TypeError: Cannot set property 'email' of undefined
12:48:32  <Justmondris>@joepie91: i will remove it
12:48:55  <joepie91>if req.session does not exist, that suggests that you have not initialized express-session correctly
12:48:58  <Justmondris>i will only save the email in the session
12:49:00  <joepie91>right
12:49:15  <Justmondris>let me check
12:49:15  <joepie91>user ID is probably easier, since you probably have an index on that in your DB anyway
12:49:28  <Justmondris>okay
12:49:51  * bberryjoined
12:50:38  <Justmondris>this my app.js
12:50:38  <Justmondris>https://bpaste.net/show/Suwr
12:52:31  <joepie91>Justmondris: middleware in Express has an order
12:52:42  <joepie91>you are running express-session after your route logic
12:52:53  <joepie91>so naturally, express-session will not have been initialized at the point where your route logic runs
12:53:00  <Justmondris>@joepie91: ops
12:53:04  <Justmondris>let me check
12:55:29  * computer2000quit (Quit: computer2000)
12:55:43  * trevorquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:56:27  * morenoh11joined
12:57:26  * Flynnnquit (Quit: Auf Wiedersehen!)
13:00:07  * Sharaalquit (Remote host closed the connection)
13:00:28  <Justmondris>@joepie91: that it is working now
13:00:38  <Justmondris>@joepie91: i want to ask a question
13:00:52  <Justmondris>this connect-redis lib i am using for the session store
13:01:07  * morenoh11quit (Ping timeout: 246 seconds)
13:01:10  <Justmondris>will handle everything that needs to do with the session store>
13:01:12  <Justmondris>?
13:01:22  * jkridnerjoined
13:01:28  * kjartanquit (Ping timeout: 272 seconds)
13:01:33  <Justmondris>i.e writing to it and updating the values
13:01:47  <Justmondris>and then push the updated session values to the user's browser
13:01:48  <Justmondris>?
13:02:39  * kjartanjoined
13:02:49  * Sharaaljoined
13:03:17  * plutoniixjoined
13:03:24  <Justmondris>@joepie91: there?
13:04:38  * b44quit (Remote host closed the connection)
13:07:48  * _till_joined
13:08:42  * _till_quit (Read error: Connection reset by peer)
13:09:21  * EyePulpjoined
13:10:05  * mat001joined
13:10:36  * Chuguniyjoined
13:11:17  * heyitsramaquit (Ping timeout: 245 seconds)
13:11:44  * b44joined
13:11:50  * electronicmajijoined
13:12:50  * _till_joined
13:14:41  * renlojoined
13:14:51  * jkridnerquit (Ping timeout: 250 seconds)
13:15:03  * Chuguniyquit (Ping timeout: 245 seconds)
13:15:16  * jkridnerjoined
13:15:39  * Chuguniyjoined
13:15:51  * mat001quit (Ping timeout: 268 seconds)
13:16:01  * ryzokukenquit (Quit: Connection closed for inactivity)
13:17:27  <joepie91>Justmondris: "pushing the updated session values to the user's browser" is not how sessions work
13:17:48  <joepie91>see https://gist.github.com/joepie91/cf5fd6481a31477b12dc33af453f9a1d -- the browser only gets a cookie with the session ID, nothing more than that
13:18:04  <joepie91>aside from that, yes, express-session + connect-redis will handle session management for you
13:18:20  <joepie91>you only need to use req.session (and its save/destroy methods, depending on situation) and that's it
13:21:32  <WebertRLZ>joepie91, Awesome, thanks a lot!
13:21:46  * aphprentice__quit (Quit: Connection closed for inactivity)
13:21:56  * jwestquit (Quit: WeeChat 2.3)
13:22:26  <WebertRLZ>cdunklau, thanks for the observations
13:24:09  * zfigzpart
13:24:13  * zfigzjoined
13:24:30  * morenoh11joined
13:24:44  * d4nanjoined
13:25:10  * Sharaalquit (Remote host closed the connection)
13:26:12  * mat001joined
13:26:34  * Sharaaljoined
13:29:12  * morenoh11quit (Ping timeout: 245 seconds)
13:30:53  * R0b0t-Xjoined
13:34:02  * shantaramjoined
13:34:36  * wsierocijoined
13:36:57  * jwestjoined
13:39:28  * wsierociquit (Ping timeout: 272 seconds)
13:39:28  * d4nanquit (Ping timeout: 272 seconds)
13:39:57  * renloljoined
13:39:58  <shantaram>Hi
13:39:59  * renloquit (Ping timeout: 250 seconds)
13:40:53  <shantaram>I was wondering, can I load a JSON file via node, then start a webserver hosting a game, and pass the file to the game somehow?
13:41:08  * korzq7joined
13:43:42  * akkonradjoined
13:44:33  * morenoh11joined
13:44:45  * Laxtourquit (Remote host closed the connection)
13:45:41  * heyitsramajoined
13:47:12  <joepie91>shantaram: hm. didn't we discuss this a few days ago?
13:47:23  * Arcaelyxjoined
13:47:36  <shantaram>joepie91: I tried doing the xmlhttprequest
13:47:48  <shantaram>I got an error about the cross origin resource thing
13:48:06  <joepie91>then that is what you should be addressing :)
13:48:36  <joepie91>have you read up yet on what CORS errors mean?
13:49:13  * morenoh11quit (Ping timeout: 245 seconds)
13:49:17  * paulcarrotyjoined
13:49:23  <shantaram>It was the same origin policy
13:49:55  <joepie91>that sentence does not make sense to me
13:50:10  <shantaram>My apologies
13:50:24  <shantaram>I was hosting game on localhost 5500
13:50:25  <shantaram>Requested file from 8080
13:51:38  <joepie91>right, so why not either a) serve them from the same origin (why are they two separate origins?) or b) change the CORS policy so that it allows this?
13:52:28  * rashkovjoined
13:52:29  * sternsquit (Ping timeout: 244 seconds)
13:53:09  <shantaram>How do I serve from the same origin?
13:53:23  <joepie91>by... not serving different things from different places...?
13:53:27  <shantaram>Just request localhost:5500/Content/testMap.json?
13:53:29  <joepie91>I'm not sure what you're asking here
13:53:31  * _till_quit (Ping timeout: 244 seconds)
13:53:41  <joepie91>it's your application, presumably you know why there are two different servers running
13:54:03  <joepie91>and you presumably also know how to make that not the case
13:54:18  <shantaram>joepie91: well I kinda don't, the 5500 server is the one the vscode plugin I'm using is running for me
13:54:40  <joepie91>okay, so then that is your real problem - you don't sufficiently understand the tools you're working with, and how they work
13:54:45  <joepie91>start with that :)
13:54:56  * Laxtourjoined
13:55:07  <joepie91>otherwise you'll just end up glueing more unclear bits to more unclear bits over time and it becomes a patchwork of badly-connected pieces
13:55:36  <joepie91>and every problem you want to solve becomes ten times harder (and ten times more time-consuming for the people trying to help you)
13:55:46  <shantaram>joepie91: I believe the vscode server just reloads the page every time I save
13:55:53  * trevorjoined
13:56:20  <shantaram>joepie91: but the overall principle should be the same, I'll try requesting out of the same dir when I get home tonight
13:56:45  * VirtuallyCreativquit (Read error: Connection reset by peer)
13:56:54  <joepie91>shantaram: you can't just change the port number and have it magically work. the process you're talking to will actually need logic to handle the case of serving static files.
13:57:05  <joepie91>shantaram: which is why you need to understand exactly how your server process works, how to modify it, etc.
13:57:12  * sxa_quit (Ping timeout: 272 seconds)
13:57:35  * antsmartianjoined
13:59:43  * kpattich__joined
13:59:56  * paulcarrotyquit (Quit: Leaving)
14:00:01  * kannarfrquit (Quit: ZNC 1.7.1 - https://znc.in)
14:01:30  * kannarfrjoined
14:02:10  * kpattich_quit (Ping timeout: 248 seconds)
14:02:28  * korzqquit (Ping timeout: 252 seconds)
14:03:48  * sternsjoined
14:05:32  * R0b0t-Xquit (Read error: Connection reset by peer)
14:06:05  * R0b0t-Xjoined
14:08:23  * korzq7quit (Quit: The Lounge - https://thelounge.chat)
14:11:01  <shantaram>joepie91: ok, then, I'll write my own in node
14:11:13  * _till_joined
14:11:13  * _till_quit (Changing host)
14:11:13  * _till_joined
14:14:23  * Roughyjoined
14:14:29  * Aquazijoined
14:16:18  * korzq7joined
14:16:58  * renlolquit (Ping timeout: 276 seconds)
14:18:20  * darkSeid_joined
14:22:10  * Klumbenquit (Ping timeout: 276 seconds)
14:22:16  * johnhamelinkquit (Ping timeout: 264 seconds)
14:23:18  * funderBenz738joined
14:23:41  * darkSeid_quit (Ping timeout: 268 seconds)
14:25:33  * Laxtourquit (Ping timeout: 244 seconds)
14:27:09  * hemstockquit
14:27:31  * hemstockjoined
14:27:36  * SwiftMattjoined
14:27:59  * wsierocijoined
14:29:58  * d4nanjoined
14:30:49  * plutoniixquit (Quit: Leaving)
14:31:20  * Laxtourjoined
14:32:21  * led_dark_1joined
14:32:34  * wsierociquit (Ping timeout: 248 seconds)
14:37:23  * hemstockquit
14:37:44  * hemstockjoined
14:38:25  * tkorequit (Ping timeout: 246 seconds)
14:38:45  * morenoh11joined
14:39:37  * R0b0t-Xquit (Ping timeout: 245 seconds)
14:41:39  * wsierocijoined
14:42:11  * heyitsramaquit (Ping timeout: 268 seconds)
14:43:14  * morenoh11quit (Ping timeout: 248 seconds)
14:44:58  * mat001quit (Remote host closed the connection)
14:45:50  * RLajoined
14:46:30  * tkorejoined
14:46:36  * dbuggerjoined
14:48:17  * korzq7quit (Changing host)
14:48:17  * korzq7joined
14:51:30  * korzq7quit (Quit: The Lounge - https://thelounge.chat)
14:51:42  * korzq7joined
14:52:23  * NomadJim_joined
14:52:29  * yakizaquit (Quit: WeeChat 2.4)
14:53:05  * wsieroci_joined
14:53:27  * R0b0t-Xjoined
14:54:24  * FozzWorthjoined
14:54:58  * wsierociquit (Ping timeout: 248 seconds)
14:54:59  * hagabakaquit (Read error: Connection reset by peer)
14:56:06  * NomadJimquit (Ping timeout: 272 seconds)
14:56:08  * hagabakajoined
14:57:09  * ircuser-1joined
14:57:40  * etupatjoined
14:59:35  * korzq7quit (Changing host)
14:59:35  * korzq7joined
15:03:40  * kpattich_joined
15:03:46  <akkonrad>I have a question about entity validation. I have a User, Project and Task. User can add Project, and Task can be added to Project but only if a given User is the owner of the Project. Very basic validation problem, but how to solve it properly? on database level? (mongoose-acl)? In controllers - but that's error prone if validation code wont be triggered before entity save. what is your opinion on that?
15:05:03  * kpattich__quit (Ping timeout: 245 seconds)
15:05:15  * TikityTikjoined
15:05:46  * pathroclequit (Read error: Connection reset by peer)
15:06:05  * greggerzjoined
15:06:46  * Sharaalquit (Remote host closed the connection)
15:07:29  * korzq7quit (Quit: The Lounge - https://thelounge.chat)
15:07:41  * korzq7joined
15:09:24  * dhsjoined
15:09:28  * dhspart
15:11:18  * TikityTikquit (Ping timeout: 272 seconds)
15:11:58  * SwiftMattquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
15:11:59  * sxa_joined
15:12:56  * sillyslux__joined
15:13:47  * sillyslux_quit (Ping timeout: 245 seconds)
15:14:50  * etupatquit (Remote host closed the connection)
15:15:21  * etupatjoined
15:15:34  * heyitsramajoined
15:15:46  * OnkelTemquit (Ping timeout: 248 seconds)
15:19:32  * paulcarrotyjoined
15:19:43  * etupatquit (Ping timeout: 246 seconds)
15:21:28  * akkonradquit (Remote host closed the connection)
15:21:58  * heyitsra_joined
15:24:50  * renlojoined
15:26:53  * mmmveggiesjoined
15:27:08  * korzq7quit (Quit: The Lounge - https://thelounge.chat)
15:28:50  * ruelchanged nick to lvlinux
15:31:12  * GreenJellojoined
15:32:51  * morenoh11joined
15:34:29  * korzq7joined
15:35:03  * trevorquit (Quit: Textual IRC Client: www.textualapp.com)
15:35:03  * kjartanquit (Ping timeout: 245 seconds)
15:36:52  * kjartanjoined
15:36:55  * Eliripsquit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
15:37:38  * morenoh11quit (Ping timeout: 248 seconds)
15:38:49  * trevorjoined
15:39:25  * korzq7quit (Quit: The Lounge - https://thelounge.chat)
15:41:03  * ahmedelgabriquit (Ping timeout: 258 seconds)
15:42:26  * Ergoquit (Quit: WeeChat 2.4)
15:43:20  * WebertRLZ_fallbajoined
15:43:42  * dplquit (Read error: Connection reset by peer)
15:44:29  * WebertRLZquit (Ping timeout: 258 seconds)
15:46:25  * Sharaaljoined
15:46:59  * korzq7joined
15:47:24  * _till_quit (Ping timeout: 272 seconds)
15:47:57  * Laxtourquit (Ping timeout: 245 seconds)
15:49:24  * orbyt_joined
15:49:30  * aerexjoined
15:49:48  <JaredCE>afternoon all. if i have written middleware that takes options, how can i write a test to check it throws on loading when one of the options is missing
15:49:51  <JaredCE>https://p.6core.net/p/2AEL7iiqLvT7B7jQkCORPr20 so it expects an option of minisignPassword, but when not passed in, it should throw
15:50:01  <JaredCE>express.js middleware
15:50:13  * OnkelTemjoined
15:50:58  * Sharaalquit (Ping timeout: 248 seconds)
15:52:05  * julianduquejoined
15:55:45  * _till_joined
15:58:09  * enoqquit (Quit: Textual IRC Client: www.textualapp.com)
16:00:02  * etupatjoined
16:00:06  * _till_quit (Ping timeout: 244 seconds)
16:00:47  * _till_joined
16:00:47  * _till_quit (Changing host)
16:00:47  * _till_joined
16:02:01  * SwiftMattjoined
16:02:10  * puppenjoined
16:02:37  * mat001joined
16:02:59  * renloquit (Ping timeout: 250 seconds)
16:03:07  * Venemo_XA2joined
16:03:27  * antsmartianquit (Remote host closed the connection)
16:04:18  * etupatquit (Ping timeout: 248 seconds)
16:05:03  * etupatjoined
16:05:10  * antsmartianjoined
16:05:12  * greggerzquit (Ping timeout: 258 seconds)
16:06:24  * Justmondrisquit (Ping timeout: 272 seconds)
16:11:06  * etupatquit (Remote host closed the connection)
16:11:15  <JaredCE>ahh worked it out
16:12:08  * kraucrowquit (Remote host closed the connection)
16:12:42  * kraucrowjoined
16:16:41  * etupatjoined
16:16:56  * etupatquit (Remote host closed the connection)
16:17:13  * dylancole101joined
16:18:15  * orymanjoined
16:18:29  * greggerzjoined
16:18:36  * DeafGoose_joined
16:18:46  * orymanquit (Remote host closed the connection)
16:19:18  * jaggujoined
16:20:14  * Jossejoined
16:20:16  * DeafGoosequit (Ping timeout: 246 seconds)
16:20:16  * DeafGoose_changed nick to DeafGoose
16:20:48  <jaggu>why's my npm i react-native-clean-project not install anything? The only errors I get are from a git repo/submodule (not sure what that is.. I'm not the coder of this thing) ..
16:21:28  <jaggu>http://paste.debian.net/1092621/
16:21:29  * ottomrkkquit (Quit: Textual IRC Client: www.textualapp.com)
16:22:13  * rashkovquit (Quit: Connection closed for inactivity)
16:22:26  <Josse>Hi there, I've got a node project cloned from a github repository, that for obvious reasons doesn't contain a "node modules"-directory as that was ignored by git, but it does contain a package.json
16:22:41  <GreenJello>Josse, run `npm install`
16:22:47  <jaggu>I was about to say that :(
16:22:49  <Josse>aha
16:22:51  <Josse>thanks a lot
16:24:28  * EREVANjoined
16:24:49  * setpillquit (Quit: o/)
16:25:27  * DukeDrakejoined
16:26:59  * morenoh11joined
16:27:30  * Bakkotjoined
16:27:47  * b44quit
16:28:33  * Booster2oooquit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
16:32:02  * duderonomyquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:32:19  * renn0xtk9joined
16:32:22  * morenoh11quit (Ping timeout: 272 seconds)
16:33:54  * Gopajoined
16:33:54  * DeltaHeavyjoined
16:34:10  * Venemoquit (Quit: Communi 3.5.0 - http://communi.github.com)
16:34:54  * Sven_vBquit (Remote host closed the connection)
16:34:55  * sunil_bansaljoined
16:35:24  * Sven_vBjoined
16:35:40  * thisisbenjijoined
16:36:37  * puppenquit (Ping timeout: 258 seconds)
16:37:08  * puppenjoined
16:39:30  * sunil_bansalquit (Ping timeout: 248 seconds)
16:39:33  * SwiftMattquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
16:39:40  * R0b0t-Xquit (Read error: Connection reset by peer)
16:39:47  * Forsaken87joined
16:41:42  * heyitsramaquit (Ping timeout: 245 seconds)
16:41:52  * R0b0t-Xjoined
16:43:03  * julianduquequit (Ping timeout: 268 seconds)
16:43:14  * shantaramquit (Quit: Connection closed for inactivity)
16:45:27  * daN-R-Gjoined
16:45:47  * ReimuHakureiquit (Remote host closed the connection)
16:45:57  * Laxtourjoined
16:46:09  * jkridnerquit (Remote host closed the connection)
16:46:55  * jkridnerjoined
16:46:56  * ReimuHakureijoined
16:52:16  * jkridnerquit (Ping timeout: 264 seconds)
16:53:47  * tkorequit (Ping timeout: 245 seconds)
16:54:13  * dlwickselljoined
16:54:21  * Laptop_minijoined
16:56:20  * nexiijoined
16:57:32  * sarafjoined
16:57:50  * diverdudejoined
16:58:29  <diverdude>hi...when i do npm install sharp i remember there is something about npm will install it in current directory right?
16:59:04  * etupatjoined
16:59:05  * mat001_joined
17:00:14  * kjartanquit (Ping timeout: 272 seconds)
17:01:02  <diverdude>Essentially i want to make a cli script that can be used from anywhere on my linux machine, which makes use of an npm library. Is this possible?
17:01:54  * mat001quit (Ping timeout: 248 seconds)
17:02:56  <GreenJello>diverdude, do you want to publish the script to the npm registry, or just have it locally?
17:03:00  * kjartanjoined
17:03:51  * Aquaziquit (Quit: Connection closed for inactivity)
17:05:00  <diverdude>GreenJello: its just a script i will run locally...very simple 3 lines of js code really
17:06:20  <GreenJello>diverdude, so if you have it in /home/diverdude/stuff/my-script/index.js you can put this in e.g. /usr/local/bin/my-script and `chmod +x` it https://gist.github.com/brigand/fc9906514a7c8b823c93be76340f132e
17:06:45  <GreenJello>diverdude, require() will be resolved relative to the index.js file, not the CWD
17:07:25  <GreenJello>(or place the shell script in any other folder that's in your PATH)
17:08:11  <diverdude>GreenJello: ok, so in which directory should i do npm install sharp?
17:08:14  * kneekijoined
17:08:22  * kpattich_quit (Ping timeout: 245 seconds)
17:08:22  <GreenJello>stuff/my-script
17:08:36  <diverdude>aha ok
17:08:45  * keith_millerjoined
17:10:34  * jimleijoined
17:11:28  * korzq7quit (Quit: The Lounge - https://thelounge.chat)
17:11:51  * korzq7joined
17:12:42  * e01quit (Quit: My iMac has gone to sleep. ZZZzzz…)
17:12:57  * DukeDrakequit (Quit: Leaving)
17:14:18  * korzq7changed nick to korzq
17:15:21  * d4nanquit (Ping timeout: 258 seconds)
17:15:43  * heyitsramajoined
17:16:14  * jimleiquit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
17:16:44  <diverdude>GreenJello: hmm when i do nodejs dzimake.js i get ReferenceError: sharp is not defined eventhough i did require("sharp") as the first thing in my script
17:16:58  * funderBenz738quit (Ping timeout: 246 seconds)
17:21:07  * morenoh11joined
17:21:32  * jkridnerjoined
17:23:11  * dylancole101quit
17:25:43  * morenoh11quit (Ping timeout: 246 seconds)
17:26:26  * puppenquit (Ping timeout: 248 seconds)
17:27:40  * sgenjoined
17:29:52  * Norrinquit (Changing host)
17:29:52  * Norrinjoined
17:31:47  * puppenjoined
17:32:02  * Booster2ooojoined
17:32:57  * JaredCEquit (Ping timeout: 245 seconds)
17:34:11  * jimleijoined
17:34:26  * spion_quit (Ping timeout: 248 seconds)
17:39:11  * R0b0t-Xquit (Read error: Connection reset by peer)
17:39:35  * R0b0t-Xjoined
17:41:03  * daN-R-Gquit (Remote host closed the connection)
17:41:28  * daN-R-Gjoined
17:42:15  * v1nc1_joined
17:42:50  * Bakkotpart
17:44:53  <v1nc1_>n> console.log("hello")
17:44:55  <jellobot>(okay) hello undefined
17:44:59  * JaredCEjoined
17:46:28  * SwiftMattjoined
17:48:10  * d4nanjoined
17:48:32  * R0b0t-Xquit (Read error: Connection reset by peer)
17:49:01  * R0b0t-Xjoined
17:49:13  * JaredCEquit (Ping timeout: 245 seconds)
17:50:58  * mat001_quit (Remote host closed the connection)
17:51:34  * mat001joined
17:51:36  * etupatquit (Remote host closed the connection)
17:52:12  * etupatjoined
17:53:12  * etupatquit (Read error: Connection reset by peer)
17:53:48  * etupatjoined
17:55:52  * iam730quit (Ping timeout: 245 seconds)
17:56:40  * jkridnerquit (Ping timeout: 276 seconds)
17:58:40  * sunil_bansaljoined
17:59:28  * m_golquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:59:46  * Laxtourquit (Ping timeout: 272 seconds)
18:00:01  * kannarfrquit (Quit: ZNC 1.7.1 - https://znc.in)
18:00:56  * Llama052joined
18:01:29  * kannarfrjoined
18:01:31  * rendarquit
18:03:31  * korzqquit (Quit: The Lounge - https://thelounge.chat)
18:03:36  * heyitsra_quit (Remote host closed the connection)
18:04:03  * heyitsra_joined
18:04:16  * willcjoined
18:04:17  * morenoh11joined
18:04:34  * korzqjoined
18:05:25  * lpinquit (Quit: Textual IRC Client: www.textualapp.com)
18:08:46  * morenoh11quit (Ping timeout: 246 seconds)
18:10:06  * Laxtourjoined
18:10:54  * AbedB_quit (Read error: Connection reset by peer)
18:12:28  * kneekiquit (Ping timeout: 268 seconds)
18:12:28  * zavaquit (Ping timeout: 268 seconds)
18:12:46  * brandonkaljoined
18:12:56  * jkridnerjoined
18:13:30  * hemstockquit
18:15:41  * duderonomyjoined
18:15:51  * hemstockjoined
18:17:45  * jkridnerquit (Ping timeout: 250 seconds)
18:18:03  <samsch[m]>I feel like I must be missing something here. I feel like I've never seen this idea even discussed. It seems pretty easy to measure initial load (or script load) time to see if a user is on a slow connection so you can optimize what's loaded for them.
18:21:15  <samsch[m]>Some quick testing with performance.now() shows a notably higher time given in a script tag in the <head> on a throttled connection. 4g throttleing doesn't seem to be significantly different from full speed, but 3g speed is something like double the time, and 2g speed is a full order of magnitude longer measure time.
18:23:58  * wildtreesjoined
18:25:48  * rashkovjoined
18:27:51  <joepie91>samsch[m]: what would you optimize?
18:29:27  * sauvinquit (Read error: Connection reset by peer)
18:29:30  <samsch[m]>For very bad connections, completely drop or use very small images. Skip social media buttons, if you're using tracking... don't...
18:29:37  * sozubaquit (Ping timeout: 245 seconds)
18:29:46  * antsmartianquit (Remote host closed the connection)
18:30:21  * gnugnugnujoined
18:30:39  <samsch[m]>Once you have an idea of their connection, that information can be fed to the server for rendering a lighter version of a given website.
18:30:43  * sunil_bansalquit (Remote host closed the connection)
18:30:58  * puppenquit (Ping timeout: 248 seconds)
18:31:39  <samsch[m]>I guess just doing it the other way around it better. Progressively enhance once you know they have a good connection.
18:31:40  <joepie91>samsch[m]: the thing is, there isn't much to optimize. srcset probably covers most people's needs for images (since 'bad connections' tends to correlate to 'small screens' at least decently well), trackers are widely used *despite* their known performance impact because companies care more about having the trackers, idem for social media buttons
18:31:47  <samsch[m]>*is better
18:31:53  * Cabanossiquit (Quit: Bye, bye...)
18:32:00  <joepie91>I feel like the big issue with your goal is the assumption that a company is interested in prioritizing performance :P
18:32:11  * R0b0t-Xquit (Read error: Connection reset by peer)
18:32:17  * Cabanossijoined
18:32:52  * R0b0t-Xjoined
18:33:04  * sgenquit (Ping timeout: 276 seconds)
18:34:59  <samsch[m]>I'm just surprised I haven't seen it talked about. Most sites don't use progressive enhancement either (or are really bad at it and mobile :P). But I'd still expect to see the optimist blog posts mentioning it.
18:37:13  * mgoljoined
18:37:50  * renlojoined
18:38:13  <joepie91>samsch[m]: I expect the optimists just to optimize for performance regardless of network connection
18:38:32  * puppenjoined
18:40:32  * kneekijoined
18:40:42  * sunil_bansaljoined
18:40:43  * aerexquit (Ping timeout: 250 seconds)
18:41:40  * mgolquit (Ping timeout: 246 seconds)
18:43:41  * Hoffmanchanged nick to upcrime
18:44:25  * awghquit (Quit: eschaton immanetized.)
18:44:28  * renloljoined
18:45:02  * sxa_quit (Ping timeout: 245 seconds)
18:45:28  * sunil_bansalquit (Ping timeout: 245 seconds)
18:46:05  * Laxtourquit (Remote host closed the connection)
18:46:20  * Laxtourjoined
18:46:29  * heyitsramaquit (Remote host closed the connection)
18:46:43  * renloquit (Ping timeout: 276 seconds)
18:47:19  * briianjoined
18:48:29  <briian>I'm creating a seed in sequelize and wondering if I can loop over a json object and run a bunch of migrations out of one file? The json has data: { k => v } where `k` would a string and `v` would be an array of data
18:49:00  <briian>when I do for(k in data) { the migration errors with k is not defined
18:49:11  * etupatquit
18:49:38  * v1nc1_quit (Ping timeout: 245 seconds)
18:51:27  * wildermindjoined
18:52:18  * Laxtourquit (Ping timeout: 248 seconds)
18:55:55  * SwiftMattquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
18:58:53  * wsieroci_quit (Remote host closed the connection)
18:58:54  * SwiftMattjoined
18:59:33  * Laxtourjoined
19:03:42  * RLaajoined
19:04:57  * jimleiquit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
19:05:52  * RLaquit (Ping timeout: 245 seconds)
19:07:37  * spion_joined
19:07:52  * mgoljoined
19:10:38  * R0b0t-Xquit (Read error: Connection reset by peer)
19:10:48  * zavajoined
19:11:09  * R0b0t-Xjoined
19:15:41  * FreEm1nDjoined
19:16:40  * sgenjoined
19:20:15  * heyitsramajoined
19:20:44  * renlolquit (Ping timeout: 252 seconds)
19:20:44  * heyitsra_quit (Read error: Connection reset by peer)
19:21:14  * heyitsra_joined
19:23:24  * heyitsra_quit (Remote host closed the connection)
19:23:57  * floppydhquit (Quit: WeeChat 2.5)
19:24:32  * heyitsra_joined
19:27:42  * puppenquit (Ping timeout: 268 seconds)
19:29:35  * mat001_joined
19:30:29  * puppenjoined
19:31:12  * emsjessecquit (Read error: Connection reset by peer)
19:31:46  * MatrixBot1quit (Remote host closed the connection)
19:32:58  * mat001quit (Ping timeout: 258 seconds)
19:35:31  * jagguchanged nick to jaggz
19:38:45  * kneeki|ajoined
19:39:08  * Lucas_Grayjoined
19:39:11  * ^Cheekyjoined
19:39:37  * mgolquit (Ping timeout: 245 seconds)
19:39:37  * kneekiquit (Ping timeout: 245 seconds)
19:40:33  * ahmedelgabrijoined
19:41:13  * jkridnerjoined
19:45:28  * jkridnerquit (Ping timeout: 245 seconds)
19:46:43  * thisisbenjiquit (Ping timeout: 245 seconds)
19:47:17  * R0b0t-Xquit (Read error: Connection reset by peer)
19:47:28  * hellauerjoined
19:47:37  * heyitsra_quit (Remote host closed the connection)
19:47:44  * R0b0t-Xjoined
19:47:53  * heyitsra_joined
19:47:58  * kjartanquit (Ping timeout: 245 seconds)
19:49:14  * kjartanjoined
19:51:03  * Azlligiajoined
19:51:16  * R0b0t-Xquit (Read error: Connection reset by peer)
19:51:30  * Chuguniyquit (Ping timeout: 248 seconds)
19:51:40  * sillyslux__quit (Ping timeout: 246 seconds)
19:51:47  * R0b0t-Xjoined
19:52:48  * ahmedelgabriquit (Quit: WeeChat 2.5)
19:53:12  <Azlligia>Hi. Is it possible in NPM to delete package of some version and replace it using same version? For example "npm install [email protected]" installs something. Is it possible to make "npm install [email protected]" week later install completely different code? Is there some protection against it in NPM?
19:53:48  * Lucas_Grayquit (Ping timeout: 245 seconds)
19:53:55  <joepie91>Azlligia: no, that is not possible. releases are immutable on npm, so they can only be (permanently) unpublished after being published, not replaced; and the version number cannot be reused.
19:54:17  <joepie91>Azlligia: but even if it were possible, if you use a lockfile, then that lockfile will contain a hash of the package and so it'd break on the client side anyway
19:55:32  * awghjoined
19:56:13  <Azlligia>joepie91, ah, I see hashes in package-lock.json. Thank you. But is it possible to include hashes in package.json itself? I thought package-lock is some temporary useless file, but looks like its critical file for security.
19:57:35  * tumultejoined
19:58:48  * heyitsramaquit (Ping timeout: 244 seconds)
20:01:31  <joepie91>Azlligia: no, that is not possible, and for good reason; the versions you specify in package.json are semver constraints, which means that the actually-installed packages can be automatically updated if the new release matches the version constraint
20:01:47  <joepie91>that is technically incompatible with the use of hashes
20:02:03  * jkridnerjoined
20:02:32  <joepie91>"critical for security" regarding package lockfiles is a bit of an overstatement; it's pretty unlikely that npm itself will be compromised to mess with a package, there are far easier vectors to exploit
20:03:12  <joepie91>sure, if you want a hard guarantee that you will forever get the same set of dependencies, then a package lockfile is important; but that's only useful when you have an other very rigid and reliable vetting process for updates and new packages
20:03:17  <joepie91>an otherwise*
20:03:24  * tkorejoined
20:03:34  * srl295joined
20:03:46  * KempfCreativequit (Ping timeout: 248 seconds)
20:04:15  * mat001_quit (Remote host closed the connection)
20:04:40  * jkridnerquit (Remote host closed the connection)
20:04:43  * AbedBjoined
20:04:52  * jkridnerjoined
20:05:57  <Azlligia>joepie91, thanks again
20:05:58  * gdaintijoined
20:06:10  * puppenquit
20:06:26  * Nicmavrquit (Read error: Connection reset by peer)
20:08:02  * tkorequit (Ping timeout: 248 seconds)
20:08:33  * Nicmavrjoined
20:08:57  * Onionnionjoined
20:09:35  * ahmedelgabrijoined
20:10:10  * renloljoined
20:11:49  * funderBenz738joined
20:12:29  * ghaithjoined
20:13:52  * ghaithquit (Remote host closed the connection)
20:14:31  * ghaith20001joined
20:15:30  * ghaith20001quit (Remote host closed the connection)
20:15:30  * FreEm1nDquit (Ping timeout: 258 seconds)
20:17:33  * renlolquit (Ping timeout: 245 seconds)
20:18:10  * tkorejoined
20:19:22  * RLaaquit (Quit: Leaving)
20:20:01  * ed209quit (Remote host closed the connection)
20:20:08  * ed209joined
20:22:32  * tkorequit (Ping timeout: 245 seconds)