00:01:19  * earendelquit
00:01:59  * RustyShacklefordjoined
00:03:10  * kiki`joined
00:05:10  * krawchykquit (Quit: krawchyk)
00:05:14  * probably-uptimechanged nick to uptime
00:05:43  * mizu_no_oto_workjoined
00:05:43  * cootquit (Read error: Connection reset by peer)
00:07:00  * carifquit (Ping timeout: 250 seconds)
00:08:46  * krawchykjoined
00:11:29  * sysfaultjoined
00:11:34  * bRi-quit (Remote host closed the connection)
00:12:34  * wildermindquit (Quit: Connection closed for inactivity)
00:13:22  * krawchykquit (Quit: krawchyk)
00:13:47  * willcjoined
00:14:06  * bRi-joined
00:14:18  * sysfaultquit (Client Quit)
00:14:18  * wonko7quit (Ping timeout: 268 seconds)
00:14:19  * willcquit (Read error: Connection reset by peer)
00:14:27  * M6HZquit (Ping timeout: 240 seconds)
00:14:47  * willcjoined
00:15:36  * M6HZjoined
00:16:09  * jamiejacksonquit (Ping timeout: 268 seconds)
00:16:21  * meehquit (Quit: No Ping reply in 180 seconds.)
00:17:41  * PabloRquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:17:48  * meehjoined
00:18:00  * wonko7joined
00:21:47  * carifjoined
00:26:11  * darkhanbjoined
00:27:52  * kakashiALquit (Ping timeout: 246 seconds)
00:28:56  * gambl0rejoined
00:29:23  * trevorjoined
00:30:34  * bRi-quit (Remote host closed the connection)
00:30:49  * plutoniixjoined
00:31:07  * carifquit (Ping timeout: 240 seconds)
00:33:16  * einseenaiquit (Remote host closed the connection)
00:34:51  * mizu_no_oto_workquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:35:02  * bRi-joined
00:35:33  * octaquit (Quit: octa)
00:37:36  * greggerzquit (Quit: Leaving)
00:46:18  * carifjoined
00:49:22  * noraatepernosquit (Quit: noraatepernos)
00:49:47  * noraatepernosjoined
00:50:09  * noraatepernosquit (Client Quit)
00:53:05  * graphenequit (Remote host closed the connection)
00:53:32  * graphenejoined
00:53:42  * bRi-quit (Remote host closed the connection)
00:54:06  * igflaviusquit (Ping timeout: 252 seconds)
00:55:45  * rjdp9736quit (Ping timeout: 246 seconds)
00:55:58  * carifquit (Ping timeout: 250 seconds)
00:56:54  * graphenequit (Remote host closed the connection)
00:57:16  * Yoda1quit (Ping timeout: 250 seconds)
00:57:31  * graphenejoined
00:58:08  * DLStevejoined
00:59:35  * kakashiALjoined
01:01:03  * igflaviusjoined
01:04:52  * kakashiALquit (Ping timeout: 268 seconds)
01:05:17  * uptimequit (Quit: quit)
01:05:39  * igflaviusquit (Ping timeout: 252 seconds)
01:05:58  * igflaviusjoined
01:06:30  * K4Tquit
01:07:14  * cthu|quit (Ping timeout: 250 seconds)
01:10:42  * carifjoined
01:14:27  * igflaviusquit (Ping timeout: 252 seconds)
01:16:19  * Pandorianjoined
01:16:58  * igflaviusjoined
01:17:06  * gambl0requit (Remote host closed the connection)
01:17:30  * gambl0rejoined
01:17:49  * gli|wfhjoined
01:20:01  * ed209quit (Remote host closed the connection)
01:20:08  * ed209joined
01:20:14  * VoidVector0quit (Ping timeout: 272 seconds)
01:20:21  * Ookma-Kyijoined
01:20:25  * Ookma-Kyipart
01:21:36  * igflaviusquit (Ping timeout: 252 seconds)
01:21:42  * mezodquit (Remote host closed the connection)
01:22:35  * igflaviusjoined
01:22:40  * bRi-joined
01:23:23  * pkx3__joined
01:23:54  * rjdp9736joined
01:24:31  * gambl0requit (Ping timeout: 268 seconds)
01:25:02  * pkx3quit (Read error: Connection reset by peer)
01:26:54  * jimleiquit (Ping timeout: 246 seconds)
01:28:20  * bRi-_joined
01:29:18  * igflaviusquit (Ping timeout: 252 seconds)
01:29:20  * carifquit (Ping timeout: 244 seconds)
01:30:35  * jimleijoined
01:32:32  * bRi-quit (Ping timeout: 268 seconds)
01:32:33  * superloujoined
01:32:46  * igflaviusjoined
01:32:59  * Laptop_miniquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:34:15  * doodadjsquit (Ping timeout: 246 seconds)
01:37:33  * igflaviusquit (Ping timeout: 252 seconds)
01:38:06  * renlolquit (Ping timeout: 246 seconds)
01:38:14  * bRi-_quit (Remote host closed the connection)
01:38:34  * igflaviusjoined
01:38:48  * bRi-joined
01:39:09  * jimleiquit (Ping timeout: 246 seconds)
01:40:08  * superlouquit (Read error: Connection reset by peer)
01:40:31  * superloujoined
01:41:12  * jimleijoined
01:42:07  * DLStevequit (Quit: All rise, the honorable DLSteve has left the channel.)
01:43:03  * igflaviusquit (Ping timeout: 252 seconds)
01:43:31  * gambl0rejoined
01:44:03  * igflaviusjoined
01:44:12  * carifjoined
01:46:59  * noraatepernosjoined
01:49:39  * igflaviusquit (Ping timeout: 252 seconds)
01:53:01  * Gustavo6046quit (Quit: ZNC 1.7.1 - https://znc.in)
01:53:10  * carifquit (Ping timeout: 250 seconds)
01:57:11  * Gustavo6046joined
02:03:04  * eclmquit (Read error: Connection reset by peer)
02:04:26  * tmquit (Ping timeout: 250 seconds)
02:04:46  * cthulchujoined
02:05:28  * jimleiquit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
02:07:44  * carifjoined
02:07:54  * tmjoined
02:08:48  * igflaviusjoined
02:15:04  * hendryquit (Quit: WeeChat 2.3)
02:16:31  * wdbljoined
02:16:39  * publioquit (Quit: Leaving)
02:17:24  * eckhardt_quit (Quit: Textual IRC Client: www.textualapp.com)
02:18:13  * kevireil_changed nick to kevireilly
02:18:56  * carifquit (Ping timeout: 244 seconds)
02:19:54  * kevireillyquit (Remote host closed the connection)
02:20:46  * kevireillyjoined
02:21:26  * marthinaljoined
02:24:50  * Gustavo6046quit (Quit: ZNC 1.7.1 - https://znc.in)
02:24:51  * igflaviusquit (Ping timeout: 252 seconds)
02:25:09  * igflaviusjoined
02:25:49  * marthinalquit (Ping timeout: 246 seconds)
02:26:07  * rjdp9736quit (Ping timeout: 240 seconds)
02:28:24  * igemnacequit (Quit: WeeChat 2.3)
02:29:20  * Gustavo6046joined
02:32:08  * promethquit (Quit: My Mac Mini has gone to sleep. ZZZzzz…)
02:33:37  * carifjoined
02:35:37  * kevireil_joined
02:35:57  * dylancolejoined
02:36:01  * u0m3_joined
02:38:40  * u0m3quit (Ping timeout: 250 seconds)
02:38:57  * superlouquit (Quit: Leaving)
02:39:00  * kevireillyquit (Ping timeout: 246 seconds)
02:40:15  * cloudbenderjoined
02:41:34  * orbyt_joined
02:41:56  <cloudbender>I've set ... const greeting = 'hello' at the top of of the main module, but I can't find it on module.exports or global. Where is it ?
02:43:52  * carifquit (Ping timeout: 250 seconds)
02:44:39  * igflaviusquit (Ping timeout: 252 seconds)
02:45:26  <cloudbender>I've always assumed it was visible in global.
02:45:50  <GreenJello>cloudbender, it's just a variable
02:46:01  <cloudbender>understood
02:46:13  <GreenJello>cloudbender, modules get their own scope. In node, it's actually implemented as a function
02:46:40  <GreenJello>const x = 1; -> function yourModule(module, exports, ...) { const x = 1 }
02:47:15  <GreenJello>(I don't remember the exact order of arguments, but that doesn't matter)
02:47:32  <cloudbender>really really trying to improve my knowledge of internals
02:47:44  <cloudbender>been a bit lazy that way.
02:47:52  <cloudbender>sorry to bother
02:48:00  <GreenJello>no problem :-)
02:48:32  * kapil____quit (Quit: Connection closed for inactivity)
02:51:18  * cloudbenderquit (Quit: Page closed)
02:51:37  * heyitsramaquit (Remote host closed the connection)
02:52:21  * rjdp9736joined
02:54:31  * kjartan_quit (Read error: Connection reset by peer)
02:58:44  * carifjoined
02:58:46  * kjartanjoined
02:59:36  * jednorozecquit (Ping timeout: 252 seconds)
03:00:09  * igflaviusjoined
03:00:09  * esrsejoined
03:00:35  * kakashiALjoined
03:01:12  * ghormoonquit (Ping timeout: 250 seconds)
03:03:13  * rjdp9736quit (Remote host closed the connection)
03:04:54  * kakashiALquit (Ping timeout: 246 seconds)
03:05:06  * aananevquit (Ping timeout: 250 seconds)
03:06:39  * igflaviusquit (Ping timeout: 252 seconds)
03:06:52  * igflaviusjoined
03:07:16  * carifquit (Ping timeout: 272 seconds)
03:10:15  * dylancolequit (Quit: dylancole)
03:11:21  * derjannijoined
03:14:09  * kapil____joined
03:15:27  * derjanniquit (Ping timeout: 240 seconds)
03:18:31  * bogdanielquit (Ping timeout: 260 seconds)
03:21:51  * wdblquit
03:22:15  * carifjoined
03:22:16  * igflaviusquit (Read error: Connection reset by peer)
03:22:42  * igflaviusjoined
03:24:03  * `mike`joined
03:24:03  * ChanServbooted `mike` (User is banned from this channel)
03:28:13  * kiki`quit (Quit: Connection closed for inactivity)
03:31:38  * carifquit (Ping timeout: 268 seconds)
03:36:01  * edrocksjoined
03:39:51  * klanmikoquit (Quit: klanmiko)
03:42:33  * hachidoriijoined
03:44:32  * dylancolejoined
03:46:27  * carifjoined
03:46:27  * Gustavo6046quit (Quit: ZNC 1.7.1 - https://znc.in)
03:49:44  * michael_joined
03:50:48  * uptimejoined
03:55:20  * edrocksquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:55:37  * dman777quit (Read error: Connection reset by peer)
03:57:24  * Stevermanquit (Ping timeout: 246 seconds)
03:57:32  * carifquit (Ping timeout: 250 seconds)
04:00:00  * spionquit (Ping timeout: 252 seconds)
04:03:49  * mothquit (Ping timeout: 244 seconds)
04:04:14  * bogdanieljoined
04:04:43  * noraatepernosquit (Quit: noraatepernos)
04:05:33  * braincrashquit (Quit: bye bye)
04:06:03  * edrocksjoined
04:07:09  * fairuzjoined
04:10:22  * braincrashjoined
04:10:45  * edrocksquit (Client Quit)
04:12:15  * carifjoined
04:14:28  * kakashiALjoined
04:18:48  * kakashiALquit (Ping timeout: 244 seconds)
04:22:33  * igflaviusquit (Ping timeout: 252 seconds)
04:23:14  * igflaviusjoined
04:27:04  * carifquit (Ping timeout: 244 seconds)
04:28:02  * marthinaljoined
04:28:20  * ajeetjoined
04:31:01  * ghormoonjoined
04:31:31  * pr_joined
04:32:17  * pr_quit (Client Quit)
04:35:41  * bmlzootownquit (Ping timeout: 268 seconds)
04:36:15  * ajeetchanged nick to cloverview
04:36:41  * orbyt_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:37:00  * ghormoonquit (Ping timeout: 268 seconds)
04:37:56  * bmlzootownjoined
04:40:18  * dylancolequit (Quit: dylancole)
04:40:22  * poboyjoined
04:41:03  * michael_quit (Quit: Leaving)
04:41:34  * ghormoonjoined
04:42:02  * trevorquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:46:04  * Yoda1joined
04:46:19  * rehatjoined
04:47:01  * hachidoriiquit (Remote host closed the connection)
04:47:34  * hachidoriijoined
04:48:48  <rehat>I have a backend api in expressjs and another expressjs for serving a SPA that fetches from the api, is there a way for me to sent socket.io updates to the SPA? If so, where would the socket.io connection be
04:48:52  * dylancolejoined
04:51:08  * mezodjoined
04:51:09  * hachidoriiquit (Client Quit)
04:52:35  * Cabanossijoined
04:53:30  * Roughyjoined
04:53:54  * Cabanoss-quit (Ping timeout: 264 seconds)
04:55:36  * mezodquit (Ping timeout: 250 seconds)
04:58:15  * jednorozecjoined
05:00:21  * lexileojoined
05:01:15  * mooejoined
05:01:40  * Jervis_quit (Ping timeout: 250 seconds)
05:02:53  <mooe>Anyone use or familiar with zeits now.sh? Is there a tool available to serve a now.json on a local machine?
05:04:44  * fairuzquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
05:06:51  * dre_joined
05:07:16  * cloverviewquit (Quit: leaving)
05:07:17  * fairuzjoined
05:07:50  * fairuzquit (Client Quit)
05:10:31  * fairuzjoined
05:10:37  * dylancolequit (Quit: dylancole)
05:11:02  * fairuzquit (Client Quit)
05:13:20  * fairuzjoined
05:16:27  * Jetimonquit (Ping timeout: 250 seconds)
05:16:33  * fairuzquit (Client Quit)
05:24:47  * tombusbyquit (Ping timeout: 256 seconds)
05:25:56  * poboypart
05:26:14  * tombusbyjoined
05:27:45  * ARMEWTjoined
05:27:46  * ARMEWTquit (Max SendQ exceeded)
05:29:47  * led_dark_1quit (Quit: led_dark_1)
05:30:09  <devsnek>mooe: now.sh uses micro by default
05:31:02  * BeerLoverjoined
05:36:18  * SGrover_joined
05:39:22  * SGroverquit (Ping timeout: 250 seconds)
05:42:01  * m00dyjoined
05:43:09  * kakashiALjoined
05:43:18  <nomoney4u>rehat: web socket is a type of connection, so you'll need a 'server' and a 'client', your SPA connects to your websocket server (in this case is probably express running with express-ws or something similar)
05:45:42  * gambl0r3joined
05:46:36  * gambl0requit (Ping timeout: 268 seconds)
05:48:02  * kakashiALquit (Ping timeout: 250 seconds)
05:52:12  * mezodjoined
05:53:03  * kapil____quit (Quit: Connection closed for inactivity)
05:56:27  * mezodquit (Ping timeout: 244 seconds)
05:57:13  * graphenequit (Remote host closed the connection)
05:57:43  * graphenejoined
06:01:18  * akivajoined
06:07:25  * rjdp9736joined
06:12:40  * dylancolejoined
06:17:34  * ctrdpart ("WeeChat 2.0.1")
06:21:45  * rhonabwyjoined
06:22:32  * rhonabwyquit (Remote host closed the connection)
06:22:43  * ctrdjoined
06:23:23  * OpenSorceressquit (Remote host closed the connection)
06:23:49  * OpenSorceressjoined
06:23:49  * OpenSorceressquit (Changing host)
06:23:49  * OpenSorceressjoined
06:23:58  * fairuzjoined
06:24:09  * lpinjoined
06:28:27  * OpenSorceressquit (Remote host closed the connection)
06:28:33  * OpenSorceressjoined
06:30:00  * shoky_joined
06:32:08  * dilijevjoined
06:33:21  * shokyquit (Ping timeout: 260 seconds)
06:39:36  * Jetimonjoined
06:42:47  * Nexilvaquit (Remote host closed the connection)
06:46:10  * toijoined
06:50:16  * bitmaskquit (Quit: Gone to sleep...)
06:52:17  * cootjoined
06:53:33  * NomadJim_quit (Read error: Connection reset by peer)
06:55:11  * NomadJimjoined
06:56:03  * cootquit (Client Quit)
06:59:41  * ahawkinsjoined
07:00:51  * jimleijoined
07:04:14  * hemstockjoined
07:04:20  * dre_quit (Remote host closed the connection)
07:08:02  * zsocquit (Read error: Connection reset by peer)
07:08:26  * zsocjoined
07:08:26  * zsocquit (Changing host)
07:08:26  * zsocjoined
07:08:48  * tsglove2joined
07:10:24  * m00dyquit (Remote host closed the connection)
07:12:19  * tsglovequit (Ping timeout: 268 seconds)
07:18:34  * buyfnjoined
07:19:46  * mooequit (Quit: Connection closed for inactivity)
07:21:08  * wdnajoined
07:22:35  * sQVejoined
07:22:36  <wdna>Hey, I have question about EventEmitter calss, the 'off' method require a listener Function as second parameter. So first why? and second when I do pass a function, it's not executed.
07:22:56  * Yoda1quit (Ping timeout: 250 seconds)
07:24:28  * kapil____joined
07:27:31  * MrXNotFoundjoined
07:27:42  * wdnaquit (Ping timeout: 250 seconds)
07:27:51  * MrXNotFoundquit (Client Quit)
07:28:38  * groomjoined
07:30:04  * NomadJimquit (Quit: Leaving)
07:30:30  * chargen_quit (Quit: WeeChat 2.0.1)
07:30:43  * gloomyquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:30:52  * chargenjoined
07:33:20  * akivaquit (Ping timeout: 250 seconds)
07:34:03  * gloomyjoined
07:35:30  * Forlorn_joined
07:38:32  * darkSeidquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:39:36  * theonefoojoined
07:40:01  * concept10joined
07:40:19  * wdnajoined
07:41:15  <theonefoo>Has anyone been able to use the ndb debugger to set breakpoints on unit tests with a Karma test suite? I'm able to start ndb and view the project source files but when running an npm script from within ndb, breakpoints are not triggered.
07:41:29  <theonefoo>nor are debugger statements
07:42:51  * johnny56quit (Read error: Connection reset by peer)
07:46:52  * notnullquit (Ping timeout: 264 seconds)
07:47:34  <theonefoo>nevermind, seems like the problem isn't with ndb as the same happens with `node --inspect-brk`
07:48:02  * HalfWordjoined
07:48:24  * wdnaquit (Ping timeout: 246 seconds)
07:49:31  * kliqjoined
07:50:19  * buyfnquit (Quit: buyfn)
07:53:00  * antsmartianjoined
07:55:50  * NomadJimjoined
08:00:10  * rendarjoined
08:01:59  * dylancolequit (Quit: dylancole)
08:02:06  * BSaboiajoined
08:02:21  * wdnajoined
08:02:50  * ARMEWTjoined
08:05:46  * setpilljoined
08:06:14  * BSaboiaquit (Ping timeout: 246 seconds)
08:07:30  * antsmartianquit (Remote host closed the connection)
08:07:53  * darutokojoined
08:15:30  * johnny56joined
08:16:10  * zivanovicbjoined
08:16:37  * enoqjoined
08:17:33  * zivanovicbquit (Client Quit)
08:19:32  * leptonixjoined
08:20:06  * ams__joined
08:21:55  * fairuzquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:24:02  * cthulchuquit (Ping timeout: 250 seconds)
08:33:27  * wdnaquit (Ping timeout: 240 seconds)
08:34:26  * ralfillojoined
08:36:58  * hachidoriijoined
08:37:28  * xxxx_quit (Remote host closed the connection)
08:38:01  * xxxx_joined
08:39:01  * dylancolejoined
08:39:47  * darkSeidjoined
08:40:18  * mezodjoined
08:43:18  * Snugglebashjoined
08:43:42  * antsmartianjoined
08:46:18  * wdnajoined
08:49:21  * Stevermanjoined
08:51:03  * RLajoined
08:51:48  * energizerjoined
08:52:06  <energizer>npm WARN enoent ENOENT: no such file or directory, open /home/user/package.json
08:52:13  * wdnaquit (Ping timeout: 268 seconds)
08:52:13  * darkSeidquit (Ping timeout: 246 seconds)
08:52:26  <energizer>^ npm install ttyrec ttycast
08:52:32  <energizer>what do i do now?
08:54:58  * concept10quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:01:39  * kpattichajoined
09:03:02  * al-damiriquit (Quit: Connection closed for inactivity)
09:03:24  * antsmartianquit (Ping timeout: 268 seconds)
09:05:25  * wdnajoined
09:07:43  * esrsequit (Ping timeout: 268 seconds)
09:08:37  * ahmedelgabrijoined
09:11:26  * nricsjoined
09:11:54  * dilijevquit (Quit: Connection closed for inactivity)
09:11:55  <nrics>guys...i have this res.session.cart = products;
09:12:14  <nrics>i have req.session.cart = products;
09:12:42  * ffx_joined
09:12:50  <nrics>how do i make the req.session.cart global? so that i can view it in any page i like.
09:12:52  <nrics>thanks
09:14:13  <nrics>ooo i solved it myself, thank you anyway
09:14:18  * nricsquit (Client Quit)
09:16:38  * mainnetjoined
09:17:17  <mainnet>Hey! if I run "pm2 delete appname" would this also delete the logs associated with the app?
09:17:26  * wdnaquit (Ping timeout: 244 seconds)
09:17:48  * dylancolequit (Quit: dylancole)
09:20:31  * gloomyquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:21:05  * cnsvc_quit (Ping timeout: 256 seconds)
09:22:23  * hachidoriiquit (Quit: hachidorii)
09:23:34  * ShalokShalomquit (Quit: No Ping reply in 180 seconds.)
09:23:43  * ShalokShalomjoined
09:23:49  * aananevjoined
09:25:12  * periquequit (Quit: beep boop, even foxbots need patches)
09:28:41  * antsmartianjoined
09:30:12  * wdnajoined
09:35:32  * paraxialquit (Ping timeout: 250 seconds)
09:35:48  * bsaboiajoined
09:40:01  * gambl0r3quit (Ping timeout: 260 seconds)
09:40:37  * gloomyjoined
09:43:34  * bRi-_joined
09:43:54  * kliqquit (Ping timeout: 246 seconds)
09:47:36  * wonko77quit (Ping timeout: 252 seconds)
09:47:43  * bRi-quit (Ping timeout: 268 seconds)
09:48:31  * jottrjoined
09:49:38  * cnsvc_joined
09:51:35  * apparition47joined
09:53:28  * bRi-_quit
09:53:52  * iam730joined
09:56:02  * iam730quit (Client Quit)
09:56:10  * antsmartianquit (Remote host closed the connection)
09:56:32  * iam730joined
09:56:36  * meehquit (Quit: No Ping reply in 180 seconds.)
09:58:03  * meehjoined
10:00:30  * wonko77joined
10:00:49  * toiquit (Quit: Leaving.)
10:01:10  * dylancolejoined
10:03:15  * sQVequit (Quit: Bye!)
10:07:33  * karamazovjoined
10:09:14  * karamazovchanged nick to orkut
10:09:26  * iam730quit (Quit: WeeChat 2.3)
10:10:01  * bomb-onjoined
10:11:45  * gloomy_joined
10:12:33  * gli|wfhquit (Quit: Leaving)
10:12:54  * gloomyquit (Ping timeout: 252 seconds)
10:13:49  * sozubajoined
10:13:54  * rtnjoined
10:14:01  * rtnchanged nick to ralphtheninja
10:15:04  * stennoworkjoined
10:16:26  * hachidoriijoined
10:16:34  * sQVejoined
10:17:19  * lufiquit (Ping timeout: 252 seconds)
10:18:14  * lufijoined
10:19:08  * ahawkinsquit (Quit: Connection closed for inactivity)
10:20:00  * ed209quit (Remote host closed the connection)
10:20:08  * ed209joined
10:20:24  * iam730joined
10:21:54  * spionjoined
10:22:18  * cnsvc_quit (Ping timeout: 256 seconds)
10:23:05  * JaredCEjoined
10:26:29  * toijoined
10:27:23  * toipart
10:31:32  * h3mstockjoined
10:35:54  * hemstockquit (Ping timeout: 268 seconds)
10:36:10  * wdnaquit (Ping timeout: 246 seconds)
10:36:25  * hemstockjoined
10:36:31  * h3mstockquit (Ping timeout: 268 seconds)
10:37:27  * ralphtheninjaquit (Ping timeout: 246 seconds)
10:37:30  * m00dyjoined
10:39:30  * ralphtheninjajoined
10:39:47  * ralphtheninjaquit (Client Quit)
10:40:05  * rtnjoined
10:41:04  * rjdp9736quit (Remote host closed the connection)
10:42:51  * gloomyjoined
10:43:33  * Fly80joined
10:43:52  <Fly80>hello!
10:43:52  * hemstockquit (Read error: Connection reset by peer)
10:44:15  * gloomy_quit (Ping timeout: 252 seconds)
10:44:18  <stennowork>hello
10:45:55  * hemstockjoined
10:45:56  <Fly80>i have an issue running tileserver-gl without docker. When it starts, I got this error: Error: Cannot find module 'sharp'
10:46:39  * gloomy_joined
10:46:40  * Forlorn_quit (Ping timeout: 246 seconds)
10:46:46  <Fly80>i tried to do: "sudo npm install sharp"
10:46:54  <Fly80>but it fails
10:47:59  <RLa>you need to install compiler and stuff for it
10:48:04  <stennowork>fails how?
10:48:12  * gloomyquit (Ping timeout: 252 seconds)
10:48:48  * Bakkotquit (Ping timeout: 245 seconds)
10:49:09  <Fly80>some privileges issues, accessing by root user was ok
10:49:36  * wdnajoined
10:50:08  * cnsvc_joined
10:50:08  * concept10joined
10:50:17  <Fly80>urgh, now it seems another dep is missing
10:50:20  <Fly80> Error: Cannot find module '../build/Release/canvas.node'
10:50:36  <Fly80>i'll try to fix at the same way
10:52:18  * Bakkotjoined
10:54:46  * sQVequit (Quit: Bye!)
10:54:49  <RLa>you should not need root user for it
10:55:03  <Fly80>stennowork: RLa: now i have this module not found: Error: Cannot find module '../../lib/mapbox_gl_native.node'
10:55:21  <RLa>or do something weird to "fix" it
10:55:29  * DukeDrakejoined
10:55:35  <Fly80>but npm cannot find that module
10:55:46  * gloomy_quit (Read error: Connection reset by peer)
10:56:15  * ARMEWTquit (Ping timeout: 268 seconds)
10:56:26  * gloomyjoined
10:56:52  * iam730quit (Quit: WeeChat 2.3)
11:00:18  * BeerLoverquit (Quit: My MacBook Air has gone to sleep. ZZZzzz…)
11:02:49  * iam730joined
11:05:58  * h3mstockjoined
11:06:39  * goberlequit (Remote host closed the connection)
11:06:43  * iam730quit (Client Quit)
11:06:45  * derjannijoined
11:07:22  * iam730joined
11:07:35  * goberlejoined
11:07:50  * hemstockquit (Ping timeout: 250 seconds)
11:09:28  * SigSegOwl28joined
11:09:38  * sQVejoined
11:09:56  <Fly80>that's very strange... checkPermissions Missing write access to /tmp/tileserver-gl/node_modules/mapbox-gl-native, but directory /tmp/tileserver-gl/node_modules' is 0777
11:09:58  * SigSegOwl28quit (Remote host closed the connection)
11:10:54  * urosjoined
11:11:40  * derjanniquit (Ping timeout: 268 seconds)
11:13:02  * gloomyquit (Ping timeout: 250 seconds)
11:14:43  * gloomyjoined
11:16:08  * rjdp9736joined
11:16:17  * plutoniixquit (Remote host closed the connection)
11:17:17  * iam730quit (Quit: WeeChat 2.3)
11:17:57  * iam730joined
11:19:38  * BeerLoverjoined
11:20:38  * OnkelTemquit (Quit: WeeChat 1.9.1)
11:21:12  * AtumTjoined
11:22:02  <uros>hi guys, i'm having problem with populating an object with mongoose schema
11:22:16  <uros>here's my example: https://pastebin.com/6LyH611Q
11:22:55  * cnsvc_quit (Ping timeout: 256 seconds)
11:23:08  <uros>for some reason nothing gets populated.
11:25:02  * sozubaquit (Ping timeout: 246 seconds)
11:27:20  * sozubajoined
11:29:36  * wdnaquit (Ping timeout: 246 seconds)
11:32:32  * sozubaquit (Ping timeout: 250 seconds)
11:33:41  * sozubajoined
11:34:01  * sQVequit (Quit: Bye!)
11:37:12  * iam730quit (Quit: WeeChat 2.3)
11:38:36  * iam730joined
11:38:36  * DukeDrakequit (Ping timeout: 250 seconds)
11:38:54  * iam730quit (Client Quit)
11:40:27  * iam730joined
11:40:27  * sQVejoined
11:42:54  * wdnajoined
11:43:02  * gxtquit (Ping timeout: 268 seconds)
11:45:44  * dylancolequit (Quit: dylancole)
11:49:42  * enoqquit (Ping timeout: 252 seconds)
11:57:22  * urospart ("WeeChat 1.9.1")
11:57:31  <mainnet>Hey! if I run "pm2 delete appname" would this also delete the logs associated with the app?
11:57:40  * cnsvc_joined
11:59:59  * kliqjoined
12:02:03  * iamayamquit (Ping timeout: 250 seconds)
12:02:32  * iamayamjoined
12:07:18  * tsglove2changed nick to tsglove
12:08:13  * Stevermanquit (Ping timeout: 246 seconds)
12:08:41  * antsmartianjoined
12:08:56  * sozubaquit (Ping timeout: 268 seconds)
12:09:18  * promethjoined
12:09:48  * antsmartianquit (Remote host closed the connection)
12:10:38  * sozubajoined
12:12:01  * bmlzootownquit (Ping timeout: 268 seconds)
12:12:33  * kpattichaquit (Remote host closed the connection)
12:12:51  <BeerLover>I am using jest and supertest for testing endpoints and when i run all the tests together, 1 suite fails, but when I run them 1 at a time, everything passes
12:12:51  * kpattichajoined
12:13:02  * cnsvc_quit (Remote host closed the connection)
12:13:06  * tymczenkojoined
12:13:20  * bmlzootownjoined
12:13:28  <BeerLover>I am doing something like: var app = require('../app/app.js') and then request(app)
12:13:57  <BeerLover>but if i do it var app = 'localhost:8081' and then request(app), all suites pass
12:14:53  * cnsvc_joined
12:15:22  * Stevermanjoined
12:15:40  * gxtjoined
12:17:45  * igflaviusquit (Ping timeout: 252 seconds)
12:18:19  * igflaviusjoined
12:19:19  * tymczenkoquit (Read error: Connection reset by peer)
12:19:31  * tymczenkojoined
12:19:35  * Forlorn_joined
12:19:57  <mainnet>Hey! if I run "pm2 delete appname" would this also delete the logs associated with the app?
12:21:57  <stennowork>i donät think so
12:21:58  * BillyZane2joined
12:22:01  * BillyZane2quit (Remote host closed the connection)
12:22:41  * antsmartianjoined
12:23:25  * OpenSorceressquit (Remote host closed the connection)
12:23:51  * OpenSorceressjoined
12:23:57  <sillyslux>or maybe it does
12:24:33  <stennowork>it didn't in 2015
12:25:03  * coder1kquit (Remote host closed the connection)
12:25:07  <sillyslux>a lot can change in 3 years
12:25:08  * OpenSorceressquit (Remote host closed the connection)
12:25:14  * OpenSorc_joined
12:25:41  * coder1kjoined
12:28:02  * lexileoquit
12:28:50  * doodadjsjoined
12:30:17  * lexileojoined
12:33:39  * Bakkotquit (Ping timeout: 246 seconds)
12:34:31  * DukeDrakejoined
12:35:53  * Motoservoquit (Quit: Shhh. I'm trying to get some sleep here.)
12:37:15  * keepLearning512joined
12:38:48  <jaawerth>pretty sure it doesn't
12:41:03  * Bakkotjoined
12:41:26  * rjdp9736quit (Ping timeout: 250 seconds)
12:46:42  * r3x5joined
12:46:51  <mainnet>jaawerth, it doesn't? cool, thenwhat does it do? I mean deleting would mean remove all traces of the app ever running right?
12:48:23  * keepLear_joined
12:48:47  <jaawerth>it deletes the process from the list - which stops the app and removes any config
12:49:07  <jaawerth>removing any trace would be, like, a purge. dunno if that exists or not
12:49:26  * hemstockjoined
12:50:15  * keepLearning512quit (Ping timeout: 268 seconds)
12:51:59  <mainnet>jaawerth, what if i start the pm2 app with " --log-date-format='YYYY-MM-DD\ HH:mm\ Z' " ? right now I have my logs suffixed with the apss name will deleting the app and then starting he app with the same name just tcontinue writing logs to the same logname?
12:52:11  * h3mstockquit (Ping timeout: 268 seconds)
12:52:13  <jaawerth>!usage @BeerLover
12:52:13  <ecmabot>BeerLover: You may use me to run tiny JavaScript snippets and retrieve factoids. See <https://github.com/oftn/oftn-bot/wiki/Guide-to-Ecmabot>.
12:54:18  <mainnet>so it doesn't
12:54:21  <mainnet>?
12:54:56  * ShalokShalomquit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
12:56:59  * cnsvc_quit (Ping timeout: 256 seconds)
12:57:07  * lord|quit (Ping timeout: 268 seconds)
12:57:40  * lord|joined
12:58:50  * trevorjoined
13:00:30  <jaawerth>i mean, you can try it and check the folder
13:00:41  <jaawerth>IIRC the default location is ~/.pm2/logs
13:01:31  <jaawerth>my guess is it will append to any same-named logfile
13:01:39  <jaawerth>because not overwriting info is a saner default
13:02:54  * marthinalquit (Remote host closed the connection)
13:03:21  * marthinaljoined
13:03:49  * OpenSorc_quit (Changing host)
13:03:49  * OpenSorc_joined
13:04:54  * coder1k_joined
13:05:58  * theonefooquit (Ping timeout: 246 seconds)
13:06:56  * redbisonjoined
13:07:41  * hollusionjoined
13:07:55  * theonefoojoined
13:07:57  * coder1kquit (Ping timeout: 246 seconds)
13:08:09  <hollusion>is this correct? const result = await SomePromise().then().then();
13:08:12  * rjdp9736joined
13:08:13  * marthinalquit (Ping timeout: 268 seconds)
13:08:21  <hollusion>or do i have to do: const result = await (SomePromise().then().then());
13:10:30  * orkutchanged nick to karamazov
13:10:54  * jstimmquit (Ping timeout: 250 seconds)
13:11:06  * ShalokShalomjoined
13:11:44  * ShalokShalomquit (Client Quit)
13:11:50  * keepLear_quit (Ping timeout: 268 seconds)
13:12:36  <jaawerth>the first one is fine
13:13:53  * m00dyquit (Remote host closed the connection)
13:16:42  * hachidoriiquit (Quit: hachidorii)
13:18:54  * AtumTquit (Quit: AtumT)
13:19:19  * DukeDrake_mobjoined
13:23:01  * DukeDrakequit (Ping timeout: 268 seconds)
13:24:09  * akkonradjoined
13:24:53  <cdunklau>hollusion: seems kinda strange to mix .then and await though
13:25:45  <stennowork>does it?
13:25:55  <stennowork>we had this discussion in ##javascript before, right?
13:26:13  <stennowork>for me it's fine if you have an async function with awaits in it, and then call .then on the async funciton
13:27:01  <stennowork>router.get("/myroute", (req, res) => myAsyncFunc().then(result => res.json(result)))
13:27:05  * cnsvc_joined
13:27:16  * Snugglebashquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
13:32:21  * InverseRhombusjoined
13:32:27  * Stevermanquit (Ping timeout: 240 seconds)
13:33:01  * jkenpart ("Leaving")
13:36:45  * keepLearning512joined
13:37:41  <cdunklau>stennowork: that's not mixing .then and await though
13:37:54  * Gustavo6046joined
13:38:07  <stennowork>hmm
13:38:11  <stennowork>hm right
13:38:37  <stennowork>await somepromise.then() would await the .then callback
13:39:01  <cdunklau>i mean, if you have .then handlers already made, it'd be one thing, but if you're just going to write the callbacks inline, might as well just use another await
13:39:12  <stennowork>yeah i gotcha
13:39:49  <cdunklau>const json = await fetch().then(res => res.json()) vs const res = await fetch(); const json = await res.json()
13:41:44  * b_maniacjoined
13:42:06  * keepLearning512quit (Ping timeout: 250 seconds)
13:43:31  * ralfilloquit (Ping timeout: 256 seconds)
13:44:07  * grr12314joined
13:46:51  * mazulajoined
13:46:54  * rjdp9736quit (Quit: WeeChat 1.6)
13:47:17  <mazula>what is the default timezone of new date?
13:48:08  <grr12314>local
13:48:53  * bitmaskjoined
13:51:22  * apparition47quit (Quit: Bye)
13:52:40  * Snugglebashjoined
13:53:42  * carifjoined
13:56:33  * mazulaquit (Ping timeout: 256 seconds)
13:58:17  * Nexilvajoined
13:59:19  * cnsvc_quit (Ping timeout: 256 seconds)
13:59:40  * keepLearning512joined
14:00:16  * mainnetquit (Quit: Leaving)
14:02:02  * AlexPortablejoined
14:02:52  * marthinaljoined
14:04:31  * Arcaelyxjoined
14:04:33  * setpillquit (Quit: o/)
14:04:53  * trevorquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:07:12  * shokyjoined
14:07:48  * redbisonquit (Remote host closed the connection)
14:08:31  * EyePulpjoined
14:09:06  * shoky_quit (Ping timeout: 272 seconds)
14:13:33  * eclmjoined
14:14:31  * redbisonjoined
14:14:49  <dka>Hi. In a dist package I have ` '!!../../loaders/style-loader!../../loaders/css-loader!font-awesome/css/font-awesome.css'`
14:15:01  <dka>Both path, for loaders are good, but I have a doubt on font-awesome
14:15:20  <dka>it is a dependency of the dist package, so I guess webpack should be able to see it. Instead it fail.
14:15:45  <dka>I have tried to npm install font-awesome in my project, but that didn't solve anything.
14:18:51  * leatherface416joined
14:18:51  * kjartanquit (Read error: Connection reset by peer)
14:19:10  * gregf_joined
14:22:13  * kjartanjoined
14:22:38  * keepLearning512quit (Remote host closed the connection)
14:24:33  * marthinalquit (Remote host closed the connection)
14:27:18  * cnsvc_joined
14:29:14  * Stevermanjoined
14:30:41  * kraucrowquit (Remote host closed the connection)
14:31:50  * marthinaljoined
14:33:38  * Stevermanquit (Ping timeout: 244 seconds)
14:38:19  * keepLearning512joined
14:38:26  * DukeDrake_mobquit (Ping timeout: 250 seconds)
14:39:19  * Arcaelyxquit (Quit: Textual IRC Client: www.textualapp.com)
14:40:02  * u0m3__joined
14:40:42  * sQVequit (Quit: Bye!)
14:40:45  * derjannijoined
14:41:14  * Arcaelyxjoined
14:42:46  * u0m3_quit (Ping timeout: 250 seconds)
14:43:02  * BeerLoverquit (Quit: My MacBook Air has gone to sleep. ZZZzzz…)
14:43:21  * keepLearning512quit (Ping timeout: 260 seconds)
14:43:55  * u0m3_joined
14:45:12  * dslegendsjoined
14:47:06  * u0m3__quit (Ping timeout: 250 seconds)
14:47:30  <dka>Since when npm run can fetchMetada like npx? I am trying to run a script which is normally installed in dependency
14:47:50  <dka>any idea? each installs takes about 2min while it should be local
14:48:34  * notnulljoined
14:50:01  * u0m3joined
14:52:44  * u0m3_quit (Ping timeout: 250 seconds)
14:54:09  * coder1k_quit (Quit: Leaving...)
14:55:20  * derjanniquit (Ping timeout: 244 seconds)
14:57:30  * carifquit (Ping timeout: 246 seconds)
14:58:20  * daN-R-Gquit (Remote host closed the connection)
15:00:31  * cnsvc_quit (Ping timeout: 256 seconds)
15:01:53  * turboteddyjoined
15:02:01  * iam730quit (Quit: WeeChat 2.3)
15:02:52  * arunkumar413joined
15:05:39  * OpenSorc_changed nick to OpenSorceress
15:06:23  <merpnderp>My boss is considering going with Go instead of Node for our migration from .Net for our webapis. Go always seemed too low level to quickly and easily do backend dev work for the web. Anyone have any thoughts?
15:06:57  <stennowork>node.js is best
15:07:06  <stennowork>what do you expect from the #node.js channel
15:07:13  <stennowork>ask the same question in #golang
15:07:33  <merpnderp>Reasonable people who can intelligently consider the pluses and minuses of Go and Node?
15:08:27  <merpnderp>Well that's one of the reason's I'd mark against Go. This irc channel is like 500% friendlier and more helpful than go's.
15:09:54  * kraucrowjoined
15:09:57  * keepLearning512joined
15:11:37  * igemnacejoined
15:12:53  <merpnderp>Like are goroutines and channels really easier than promise based async?
15:12:58  * carifjoined
15:13:21  <dka>How can I efficently get a dependency no matter where it is in the dep tree?
15:15:39  * noraatepernosjoined
15:18:26  <merpnderp>There's not a lot of info on Google. Some of the top comparisons are written by students who likely haven't done much real with them.
15:19:53  <cdunklau>merpnderp: do you like typing nil a lot
15:19:58  <nomoney4u>merpnderp: friendlier is just a characteristic of the person, "helpful" only when it relates to nodejs :) try asking help for go in a #node.js channel and you'll see how helpful we can all get
15:20:05  <cdunklau>(i'm just trolling, i don't know go for shit)
15:21:33  <merpnderp>Well the internet is pretty useless on this matter. And at first glance I have no idea why anyone would want to do web dev in Go. The thought of strictly typed low level languages brings back nightmares of doing web dev in C.
15:21:46  * carifquit (Ping timeout: 250 seconds)
15:21:55  <nomoney4u>the question is not about "what language to go to?" but more so on "why are you migrating from .net?" I would list pros/cons and see how many of those questions are answered, they both will have str/weaknesses (I don't know Go either)
15:22:35  * trevorjoined
15:23:24  <merpnderp>nomoney4u: easy, we want to get away from Microsoft dependencies and not be stuck using Entity Framework
15:23:43  <nomoney4u>why?
15:23:47  <merpnderp>We could migrate to Core, but so far that is a slowly improving mess.
15:23:58  <merpnderp>No one here likes EF and wants to deal with it?
15:24:18  <stennowork>ef isn't the worst with linq
15:24:24  <merpnderp>Don't like how unstable and immature the Core rollout has been?
15:24:35  <merpnderp>It's a huge downgrade from linq2sql.
15:24:54  <nomoney4u>not a valid reason to migrate imo, "migrating" juts for the sake of migration is not a valid reason. what is breaking? what function are you looking to add that .net cannot fulfill? etc...
15:25:01  <stennowork>in my old job we did some insane things with EF and linq
15:25:15  <merpnderp>What is breaking? The giant arsed licenses for MSDN.
15:25:33  <merpnderp>We want to get off IIS and most of our MS licenses.
15:26:05  <stennowork>didn't MS FOSS'ed their .NET runtimes a few months ago?
15:26:23  <merpnderp>stennowork: yes, Core, which has been quite wobbly in the rollout and only supports EF.
15:26:26  <stennowork>s/months/years/ apparently
15:26:28  <stennowork>i see
15:26:33  <nomoney4u>So why not leave the legacy system the way it is, and moving forward, just don't write in .net anymore and stop providing support for your legacy system. Why migrate?
15:26:51  * derjannijoined
15:27:14  <merpnderp>nomoney4u: well that's the plan. To leave this stuff standing and during maintenance cycles when changes are needed, migrate to node.
15:27:18  * maxxxxxxxjoined
15:27:27  <cdunklau>merpnderp: probably the best way to choose would be to ask the devs to see which one they 1) have more experience with, and 2) which one they like more
15:27:39  * maxxxxxxxquit (Client Quit)
15:27:43  <merpnderp>nomoney4u: but that will be hard once we drop our MSDN licenses because we won't have VS to build the projects anymore.
15:27:44  * poopyscottjoined
15:28:08  <merpnderp>So we'll be migrating code we can't debug and build.
15:28:09  <stennowork>ooh i tried to build .NET projects without VS at some point
15:28:13  <stennowork>it was awful
15:28:18  <stennowork>with MONO, i think..
15:28:33  <stennowork>i miss C# but i am quite happy i am away from .NET stack for a few years now..
15:28:54  <merpnderp>The tooling around node is so much better.
15:29:02  * shogiljoined
15:29:30  <merpnderp>Nevermind I can do so much more, much more expressively, in far less code in node.
15:29:34  * lu_tzejoined
15:30:09  <nomoney4u>merpnderp: oh, I was interpreting "migrate" as in trying to transfer the working version over to another language. If it's not like that, I would simply build a v2.0 from scratch, in which case, it would probably depend on your team (democracy? voting?)
15:30:35  <merpnderp>nomoney4u: Well before we vote, we'd like to make cases for the options.
15:30:58  <merpnderp>I personally think moving away from SPA's to Django would be optimal for our mostly CRUD based apps.
15:31:30  * cnsvc_joined
15:31:30  * derjanniquit (Ping timeout: 244 seconds)
15:31:33  <merpnderp>But MSSQL is going to be our backend. No idea if Rails or Django has good SQLServer support.
15:31:44  <nomoney4u>+1 for node since this is a #node.js
15:31:45  <merpnderp>And no way anyone here would go for Rails or Django.
15:32:01  <merpnderp>Yeah, I'm quite happy with node.
15:32:08  <cdunklau>merpnderp: probably easy enough with odbc
15:33:02  <merpnderp>But none of that really matters as my boss is very interested in Go.
15:33:03  <cdunklau>but yikes, the idea of needing to write T-SQL
15:33:08  * cdunklaushudders
15:33:10  * turboteddyquit (Quit: /q)
15:33:14  <merpnderp>lol, I don't miind t-sql
15:33:15  <stennowork>mssql is shit lol
15:33:25  <merpnderp>It's not optimal, but it's fine.
15:33:37  <cdunklau>bow before postgres!
15:33:51  <cdunklau>the SQLiest of all the SQLs!
15:33:59  <cdunklau>HAIL
15:34:22  * poopyscottquit (Quit: poopyscott)
15:34:38  <merpnderp>Yeah, we don't do much horizontal scaling, which I gather is Postgres's pain point.
15:34:40  <stennowork>postgres ftw
15:35:58  <cdunklau>i can't say i know much about mssql though. mysql is just obviously terrible though, ffs
15:36:04  * HalfWordquit (Ping timeout: 250 seconds)
15:36:22  * carifjoined
15:36:39  <cdunklau>let's play the "which of the fifty possible places has a fucked up encoding config"! YAAAY
15:36:53  <cdunklau>s/!/ game!/
15:36:53  * concept10quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
15:38:08  * led_dark_1joined
15:39:27  * RLaquit (Quit: Leaving)
15:39:54  * EREVANjoined
15:44:02  * altabjoined
15:45:31  * poopyscottjoined
15:45:50  * SomebodySocksjoined
15:45:51  * SomebodySocksquit (Write error: Broken pipe)
15:46:15  * SomebodySocksjoined
15:46:28  * carifquit (Ping timeout: 250 seconds)
15:48:10  * willcquit (Quit: Leaving)
15:51:05  * poopyscottquit (Quit: poopyscott)
15:51:19  * poopyscottjoined
15:52:28  * nskjoined
15:52:38  * poopyscottquit (Client Quit)
15:52:53  * marthinalquit (Remote host closed the connection)
15:52:54  * poopyscottjoined
15:53:07  * DukeDrakejoined
15:54:13  * marthinaljoined
15:54:18  * poopyscottchanged nick to mordant
15:54:47  * SomebodySocksquit (Remote host closed the connection)
15:54:53  * mordantchanged nick to poopyscott
15:55:56  <dka>I have a situation where I will often have Warning: validateDOMNesting(...): <a> cannot appear as a descendant of <a>.
15:56:24  <dka>Is there a way from the <ARenderer /> component, to check if children is a, en if it's then ruturn the children of a directly ?
15:56:26  * kakashiALjoined
15:56:33  <dka>it's while generating markdown and mixing engines
15:56:53  * nskquit (Client Quit)
16:00:05  * derjannijoined
16:00:16  <nomoney4u>dka: #reactjs might be a better place to ask
16:01:05  <JuliusN>where does node get its PATH variable from?
16:01:07  * gloomyquit (Ping timeout: 240 seconds)
16:01:24  * carifjoined
16:01:35  * gloomy_joined
16:01:40  <cdunklau>JuliusN: ..the environment?
16:02:12  <JuliusN>i'm asking because it's different on my system and in node runtime
16:02:13  <GreenJello>JuliusN, PATH is typically set by the operating system, and sometimes overridden by your shell config
16:02:30  * bsaboiaquit (Ping timeout: 250 seconds)
16:02:39  <GreenJello>JuliusN, are you running it through `npm`?
16:02:50  <cdunklau>JuliusN: what's different about it
16:03:25  * cnsvc_quit (Ping timeout: 256 seconds)
16:04:01  <JuliusN>my run config (in webstorm) has my system's node interpreter selected
16:04:21  * derjanniquit (Ping timeout: 246 seconds)
16:05:30  <JuliusN>the difference is in python's path. on my system it's '~/.pyenv/shims' and in node '~/.pyenv/versions/2.7/bin'
16:05:33  <GreenJello>JuliusN, any program that starts other programs can specify the env vars it sees
16:06:52  <JuliusN>should i just overwrite PATH?
16:07:31  <GreenJello>if you have a good reason to do so, sure
16:07:48  <JuliusN>it just bugs me that i don't know why they're different
16:07:51  <GreenJello>but I wouldn't recommend replacing it, just appending or prepending items to it
16:08:33  * M6HZquit (Ping timeout: 246 seconds)
16:08:54  * Forlorn_quit (Ping timeout: 268 seconds)
16:09:33  <JuliusN>and my reason to change the path is that i need python 3.6 in my node environment
16:09:44  <GreenJello>JuliusN, things that manage multiple versions of a binary follow a similar structure to that, ensuring that e.g. `python foo.py` evaluates to `~/.pyenv/versions/2.7/bin/python foo.py`
16:10:20  <GreenJello>JuliusN, then you should fix whatever's setting the PATH to include 2.7, which might be a webstorm setting
16:10:36  * hemstockquit
16:10:47  * carifquit (Ping timeout: 240 seconds)
16:10:50  * m00dyjoined
16:10:55  <GreenJello>most likely it would be a setting specific to python, not a general PATH manipulation setting
16:11:10  * Chuguniyquit (Quit: Leaving)
16:11:41  * ffx_quit (Quit: Leaving...)
16:13:11  * Arcaelyxquit (Ping timeout: 260 seconds)
16:13:40  <JuliusN>i don't think there are any python-specific settings in webstorm
16:15:10  * keepLearning512quit (Remote host closed the connection)
16:17:24  <GreenJello>JuliusN, then maybe it's invoking a shell that runs your bashrc or similar, and you're initializing the python env tool there
16:19:29  * Fly80quit (Quit: Page closed)
16:20:39  * keepLearning512joined
16:21:36  * jsatkquit (Quit: Lost terminal)
16:23:05  <zsoc>does anyone have a preference for this sort of api design choice? https://gist.github.com/jkantr/b1a7763405037b4c38158b22ccce3c3d
16:23:37  <zsoc>i lean towards preferring #1 (when the factory/constructor accepts a 'blueprint' of the thing that will be returned) but a lot of APIs (like Express' router) does #2
16:24:08  * Snugglebashquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
16:24:35  <zsoc>#1 also allows for a lot more leeway on the internals side... like enforcing the necessity of certain functions being implemented, and then prepending/patching them internally etc
16:24:57  * jstimmjoined
16:25:11  * jsatkjoined
16:25:21  * grr12314quit (Quit: Page closed)
16:25:26  * keepLearning512quit (Ping timeout: 260 seconds)
16:25:50  * jsatkquit (Client Quit)
16:25:58  * carifjoined
16:27:45  * groomquit (Quit: Leaving.)
16:29:15  * concept10joined
16:29:22  * theonefooquit (Ping timeout: 244 seconds)
16:30:29  * jstimmquit (Ping timeout: 268 seconds)
16:31:22  * Stark_joined
16:32:23  * jsatkjoined
16:32:24  * gambl0r3joined
16:33:01  * Stark_quit (Client Quit)
16:34:11  * concept10quit (Ping timeout: 260 seconds)
16:35:18  * CustomerSupportjoined
16:35:42  * peacememoriesjoined
16:36:06  * heyitsramajoined
16:37:40  * trevorquit (Quit: Textual IRC Client: www.textualapp.com)
16:37:45  * buyfnjoined
16:38:33  * cnsvc_joined
16:38:43  * stennoworkchanged nick to stenno
16:39:13  * stennochanged nick to stennowork
16:39:36  * Vonorquit (Remote host closed the connection)
16:42:07  * akkonradquit (Ping timeout: 268 seconds)
16:42:24  * trevorjoined
16:44:01  * keepLearning512joined
16:44:40  * chargenquit (Ping timeout: 268 seconds)
16:45:32  * keepLearning512quit (Remote host closed the connection)
16:51:27  * Jetimonquit (Ping timeout: 268 seconds)
16:52:35  * greggerzjoined
16:53:18  * ahmedelgabriquit (Ping timeout: 268 seconds)
16:57:07  * arunkumar413quit (Quit: Leaving)
16:57:37  * EREVANquit (Ping timeout: 268 seconds)
16:58:46  * rtnquit (Quit: leaving)
16:58:54  * buyfnquit (Quit: buyfn)
16:59:21  * coder1kjoined
17:01:10  * plexigrasjoined
17:01:14  * rtnjoined
17:01:43  * Jervis_joined
17:01:55  * lexileoquit (Ping timeout: 244 seconds)
17:05:26  * cthulchujoined
17:06:06  * Yoda1joined
17:06:44  * goodafternoonjoined
17:07:35  * sillysluxquit (Remote host closed the connection)
17:09:22  * sillysluxjoined
17:09:25  * merc88joined
17:09:45  * peacememoriesquit (Quit: Textual IRC Client: www.textualapp.com)
17:13:07  * cnsvc_quit (Ping timeout: 256 seconds)
17:15:44  * rendar_joined
17:16:07  * rendarquit (Ping timeout: 240 seconds)
17:16:16  * Laptop_minijoined
17:18:58  * chargenjoined
17:23:03  * EyePulpquit (Remote host closed the connection)
17:23:14  * hollusionquit (Quit: Leaving)
17:24:28  * groomjoined
17:24:45  * chargenquit (Ping timeout: 268 seconds)
17:25:42  * carifquit (Ping timeout: 250 seconds)
17:29:13  * zedsjoined
17:29:24  * zedspart
17:31:33  * cthulchu_joined
17:31:47  * stennoworkquit (Quit: Leaving)
17:32:06  * merc88quit (Quit: Do not go gentle into that good night...)
17:32:29  * buyfnjoined
17:32:52  * derjannijoined
17:33:21  * promethquit (Quit: My Mac Mini has gone to sleep. ZZZzzz…)
17:33:50  * shogilquit (Quit: Leaving)
17:36:48  * ffx_joined
17:38:54  * EyePulpjoined
17:39:11  * ffx_quit (Client Quit)
17:40:25  * carifjoined
17:44:06  * Laptop_miniquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:44:22  * cnsvc_joined
17:47:42  * ffx_joined
17:48:14  * carifquit (Ping timeout: 272 seconds)
17:49:01  * Stark_joined
17:50:53  * edrocksjoined
17:51:50  * gabrieljoined
17:51:51  * antsmartianquit (Remote host closed the connection)
17:52:13  * gabrielchanged nick to Guest94852
17:52:25  * eb0tquit (Quit: WeeChat 2.2)
17:53:41  * the_antjoined
17:54:17  * eb0tjoined
17:54:41  * Guest94852quit (Client Quit)
17:59:19  * redbisonquit (Remote host closed the connection)
18:01:47  * redbisonjoined
18:01:47  * edrocksquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
18:03:24  * carifjoined
18:03:36  * edrocksjoined
18:03:50  * Mattiaslndstrmquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
18:07:25  * Laptop_minijoined
18:07:34  * Mattiaslndstrmjoined
18:07:39  * Laptop_miniquit (Client Quit)
18:09:00  * renloljoined
18:10:25  * gregf_quit (Ping timeout: 256 seconds)
18:11:40  * JaredCEquit (Ping timeout: 244 seconds)
18:12:15  * redbisonquit (Remote host closed the connection)
18:12:52  * Stigandrquit (Quit: ZNC 1.7.x-nightly-20180102-d4ae3115 - https://znc.in)
18:12:56  * Stigandr_joined
18:14:26  * edrocksquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
18:14:54  * carifquit (Ping timeout: 246 seconds)
18:15:00  * d3x0rquit (Read error: Connection reset by peer)
18:15:02  * JaredCEjoined
18:15:31  * FredrikCjoined
18:15:42  * d3x0rjoined
18:16:35  * cnsvc_quit (Ping timeout: 256 seconds)
18:19:26  * JaredCEquit (Ping timeout: 250 seconds)
18:20:08  * goodafternoonquit (Remote host closed the connection)
18:20:10  <FredrikC>Hello, I have problem running npm on my local windows machine, I have uninstalled previous version of node which was installed using chocolate, installed https://nodejs.org/dist/latest-v8.x/node-v8.14.0-x64.msi and cleaned c:\Users\<username>\AppData\Roaming\npm\
18:20:14  <FredrikC>Still when I type npm -v it crashes with the following error https://pastebin.com/yS3xLT8g
18:20:16  * guacjackjoined
18:20:57  <FredrikC>Anyone got any idea what I can check next? The file (progress-bar.js) exists in that directory...
18:21:24  * ranbox2djoined
18:21:29  * wdnaquit (Ping timeout: 244 seconds)
18:21:31  <ranbox2d>hi, how do i achieve this : https://pastecode.xyz/view/d65551d1
18:22:26  <GreenJello>ranbox2d, return myPromiseFunc(options)
18:22:39  <GreenJello>ranbox2d, but also, for (const myElement...
18:22:49  <GreenJello>you're missing the const
18:22:56  <ranbox2d>hmm why const?
18:23:21  <GreenJello>ranbox2d, it prevents the variable from leaking. I didn't know it'd even parse without the const
18:23:41  <ranbox2d>oh it works :p but i'll try to remember that
18:24:00  <FredrikC>It's js, you never will have to declare anything if not doing strict
18:24:01  * dastierjoined
18:24:33  <GreenJello>ranbox2d, retries are tricky though. You usually want to stop retrying at some point, and to use exponential backoff for your retry attempts
18:24:48  <ranbox2d>no i know, this specific retry is under my control
18:24:53  * groomquit (Quit: Leaving.)
18:24:58  * bomb-onquit (Quit: SO LONG, SUCKERS!)
18:25:12  <ranbox2d>if there's an actual reject of some sort i want it to catch and console log it or something
18:25:35  * Stevermanjoined
18:25:52  * ravustajajoined
18:26:04  * santoshk1joined
18:26:17  * darutokoquit (Quit: Any sufficiently advanced technology is indistinguishable from magic. (Arthur C. Clarke))
18:26:24  * eckhardt_joined
18:26:47  * santoshk1quit (Client Quit)
18:27:02  * marthinalquit (Remote host closed the connection)
18:27:06  * santoshjoined
18:27:15  <santosh>Hello guys!
18:27:25  <santosh>I have a problem regarding Pug.
18:28:25  * m00dyquit (Remote host closed the connection)
18:28:55  * Mattiaslndstrmquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
18:29:09  * m00dyjoined
18:29:41  * m00dyquit (Remote host closed the connection)
18:30:02  <santosh>https://thepasteb.in/p/zmh81ol3Pn9CZ
18:30:32  * carifjoined
18:30:32  * b_maniacquit (Quit: Textual IRC Client: www.textualapp.com)
18:30:42  * the_antquit (Ping timeout: 250 seconds)
18:32:36  <ljharb>for node i'd use `node --inspect` or `--inspect-brk`
18:33:44  * Stevermanquit (Ping timeout: 250 seconds)
18:33:44  * CustomerSupportquit (Ping timeout: 250 seconds)
18:34:24  <ljharb>oops, ignore that, it's from last night
18:36:09  * bokybantonquit (Ping timeout: 252 seconds)
18:36:20  * kevireil_quit (Ping timeout: 250 seconds)
18:36:21  * shinzoquit (Quit: leaving)
18:36:38  * wdnajoined
18:36:47  * kevireillyjoined
18:37:13  * sergeyjoined
18:37:48  * santoshquit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
18:38:56  * carifquit (Ping timeout: 250 seconds)
18:39:06  * marthinaljoined
18:39:16  * marthinalquit (Remote host closed the connection)
18:41:24  * ranbox2dquit (Quit: Page closed)
18:42:12  * ffx_quit (Quit: Leaving...)
18:42:58  * redbisonjoined
18:43:09  * cnsvc_joined
18:44:05  * CustomerSupportjoined
18:44:27  * derjanniquit (Quit: Lost terminal)
18:44:36  * guacjackquit (Quit: Textual IRC Client: www.textualapp.com)
18:46:09  * noraatepernosquit (Quit: noraatepernos)
18:46:34  * noraatepernosjoined
18:46:56  * noraatepernosquit (Client Quit)
18:47:20  * noraatepernosjoined
18:47:43  * noraatepernosquit (Client Quit)
18:49:37  * Mattiaslndstrmjoined
18:49:54  * DukeDrakequit (Ping timeout: 246 seconds)
18:50:23  * d3x0rquit (Read error: Connection reset by peer)
18:50:31  * gmzjoined
18:50:42  * d3x0rjoined
18:50:47  * marthinaljoined
18:52:17  * guacjackjoined
18:53:28  * Laptop_minijoined
18:53:49  * carifjoined
18:54:40  * orbyt_joined
18:56:06  * m00dyjoined
18:56:19  * klanmikojoined
18:56:23  * m00dyquit (Remote host closed the connection)
18:56:35  * m00dyjoined
18:57:46  * kevireil_joined
19:01:29  * kevireillyquit (Ping timeout: 268 seconds)
19:02:30  * carifquit (Ping timeout: 246 seconds)
19:02:35  * kevireil_changed nick to kevireilly
19:04:43  * marthinalquit (Remote host closed the connection)
19:06:25  * Nexilvaquit (Remote host closed the connection)
19:07:48  * keepLearning512joined
19:07:54  * drodjoined
19:08:08  * ahmedelgabrijoined
19:08:26  * lpinquit (Quit: Textual IRC Client: www.textualapp.com)
19:08:29  * drodquit (Quit: drod)
19:08:29  * EREVANjoined
19:11:35  * chargenjoined
19:13:42  * Roughyquit (Quit: Meadow Fresh milk)
19:14:02  * Mattiaslndstrmquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
19:14:30  * m00dyquit (Remote host closed the connection)
19:18:06  * Stark_quit (Quit: Will be back.)
19:18:46  * Computeristjoined
19:19:21  * Yoda1quit (Ping timeout: 244 seconds)
19:20:03  * Computeristquit (Quit: Leaving)
19:21:41  <arve>anyone planning on entering the IOJCC?
19:23:34  * m00dyjoined
19:23:41  * buyfnquit (Quit: buyfn)
19:23:59  * zaralanjoined
19:24:07  * zaralanpart
19:25:11  * keepLearning512quit (Remote host closed the connection)
19:25:53  * Junior_Web_Develjoined
19:27:00  * Junior_Web_Develquit (Client Quit)
19:27:03  * bomb-onjoined
19:28:55  * carifjoined
19:29:56  * NivenHuHjoined
19:31:46  * rendar_quit
19:31:59  * karamazovquit
19:32:30  * ranbox2djoined
19:32:57  <ranbox2d>hi, i'm not sure who helped me out with retrying a promise
19:33:03  <ranbox2d>i'm not sure i got it to work
19:33:39  <ranbox2d>https://pastecode.xyz/view/38918976
19:34:13  <ranbox2d>this works in retrying the promise, but once it retries, the .then() isn't processed
19:35:31  <ranbox2d>https://pastecode.xyz/view/e5997fc6 fixed a bunch of text typos
19:36:23  <ranbox2d>i'd like to retry a promise, await for it, but still chain the same .then()
19:36:51  <ranbox2d>the main issue is that i don't know how many times the promise can reject using 'retry'
19:37:01  <ranbox2d>but i know it's finite
19:39:40  * rjdp9736joined
19:40:19  <CustomerSupport>How can I detect if a process env has e.g. Yarn available?
19:40:48  <ljharb>CustomerSupport: you can't, because node doesn't know anything about yarn or npm
19:40:55  <ljharb>CustomerSupport: why do you need to?
19:42:07  * Binerojoined
19:42:09  * ahmed_elgabrijoined
19:42:24  * dilijevjoined
19:42:55  <CustomerSupport>Making a Yeoman generator, at the installation step
19:43:10  * aelgabrijoined
19:43:12  * ranbox2dquit (Quit: Page closed)
19:43:29  * ahmedelgabriquit (Read error: Connection reset by peer)
19:43:30  <CustomerSupport>want to run `this.npmInstall` if a team member doesn't have Yarn, otherwise run `this.yarnInstall`
19:45:03  <CustomerSupport>I was thinking the env would expose some npm or Yarn variable
19:45:40  <samsch>I'd suggest making yarn a specifically optional feature.
19:45:53  <CustomerSupport>samsch: good point
19:46:13  <nomoney4u>rancyd: is there a relationship between "myPromiseFunc" and myElement?
19:46:46  * ahmedelgabrijoined
19:46:58  * pkx3__quit (Read error: Connection reset by peer)
19:47:07  * ahmed_elgabriquit (Ping timeout: 268 seconds)
19:47:25  * mgranadosjoined
19:47:39  * mgranadosquit (Client Quit)
19:48:30  * redbisonquit (Remote host closed the connection)
19:49:15  * NivenHuHquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
19:49:33  * ahmed_elgabrijoined
19:49:35  * aelgabriquit (Ping timeout: 268 seconds)
19:49:55  * Snugglebashjoined
19:50:28  * notnullquit (Ping timeout: 264 seconds)
19:50:53  * carifquit (Ping timeout: 245 seconds)
19:51:08  * aelgabrijoined
19:51:39  * energizerpart ("Leaving")
19:52:10  * ahmedelgabriquit (Ping timeout: 250 seconds)
19:54:00  * redbisonjoined
19:54:48  * ahmed_elgabriquit (Ping timeout: 252 seconds)
19:55:27  * chargenquit (Ping timeout: 240 seconds)
19:56:06  * darkSeidjoined
19:58:55  * graphenequit (Remote host closed the connection)
19:59:24  * graphenejoined
20:00:09  * r3x5quit (Remote host closed the connection)
20:00:30  <ljharb>CustomerSupport: also you should just have the user run the command themselves
20:01:14  * kakashiALquit (Ping timeout: 272 seconds)
20:01:38  <CustomerSupport>ljharb: yes, that's a good point too. Turns out I was mistaken as to the purpose of the install sequence; it's for generators to install additional packages they may need
20:02:01  <ljharb>and you should just use npm for that
20:04:04  * Blaguvestjoined
20:04:44  * notnulljoined
20:06:52  * carifjoined
20:10:37  * geoff0quit (Read error: Connection reset by peer)
20:10:43  * redbisonquit (Remote host closed the connection)
20:11:15  * geoffojoined
20:12:27  * buyfnjoined
20:17:16  * redbisonjoined
20:19:19  * leatherface416quit (Quit: leatherface416)
20:20:00  * ed209quit (Remote host closed the connection)
20:20:07  * ed209joined
20:21:12  * carifquit (Ping timeout: 250 seconds)
20:23:11  * hemstockjoined
20:26:28  * chargenjoined
20:28:28  * kakashiALjoined
20:29:00  * wdnaquit (Ping timeout: 250 seconds)
20:30:36  * dre_joined
20:30:49  * chargenquit (Ping timeout: 246 seconds)
20:32:48  * kakashiALquit (Ping timeout: 246 seconds)
20:33:20  * Anthaasquit (Ping timeout: 250 seconds)
20:34:10  * Blaguvestquit (Ping timeout: 272 seconds)
20:34:27  * Anthaasjoined
20:37:23  * ams__quit (Quit: Connection closed for inactivity)
20:37:23  * bokyjoined
20:37:23  * bokyquit (Changing host)
20:37:23  * bokyjoined
20:37:32  * edrocksjoined
20:40:22  * edrocksquit (Client Quit)
20:40:34  * SGrover_quit (Quit: Leaving)
20:40:49  * SGroverjoined
20:41:01  <SGrover>Need a sanity check. I have am calling a function like this: const profile = await MyServices.getProfile(); And the method is defined as function getProfile() { return fetch(...).then(async data => { return data }) };
20:41:07  <SGrover>I'm wondering why my "profile" varaible is working on the very next line, as it should be a returned promise object until the fetch() method fulfills it...
20:41:13  <SGrover>If I'm understanding my async stuff right, my function should be defined as async function() { return await fetch()... }.... no?
20:41:52  <SGrover>The sanity check part is that the code is working as is... but my gut tells me it shouldn't be.
20:41:55  * lord|quit (Quit: WeeChat 2.3)
20:42:31  <samsch>SGrover, `await` awaits a Promise resolution. You are returning a promise (`return fetch(...)`).
20:42:41  * jstimmjoined
20:43:17  * wdnajoined
20:43:23  <samsch>For the purpose of a caller, there isn't a perceivable difference between a function marked `async` and a function which doesn't throw and returns a promise.
20:45:46  <SGrover>click. that makes sense and is probably WHY I wrote it that way to begin with.. :)
20:45:48  * edrocksjoined
20:46:26  * lord|joined
20:48:03  * DukeDrakejoined
20:48:15  * rtnquit (Read error: Connection reset by peer)
20:49:23  * rtnjoined
20:50:31  * marthinaljoined
20:50:51  * carifjoined
20:51:12  * buyfnquit (Quit: buyfn)
20:51:17  * edrocksquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
20:54:51  * Blaguvestjoined
20:54:52  * orbyt_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
20:55:00  * marthinalquit (Ping timeout: 250 seconds)
20:57:15  * heyitsramaquit (Remote host closed the connection)
20:57:20  * hyperiscojoined
20:57:36  * Snugglebashquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
20:58:50  * kakashiALjoined
21:00:01  * polydo_sjoined
21:03:43  * kakashiALquit (Ping timeout: 244 seconds)
21:09:18  * akkonradjoined
21:11:10  * m00dyquit (Remote host closed the connection)
21:11:44  * Mattiaslndstrmjoined
21:11:57  * m00dyjoined
21:11:59  * m00dyquit (Remote host closed the connection)
21:12:29  * Snugglebashjoined
21:12:33  * m00dyjoined
21:12:50  * CobraKaiquit (Quit: Connection closed for inactivity)
21:13:04  * jeffreylevesque_joined
21:14:22  * jeffreylevesque_changed nick to jeffreylevesque
21:16:07  * carifquit (Ping timeout: 244 seconds)
21:17:14  * m00dyquit (Ping timeout: 268 seconds)
21:18:15  * orbyt_joined
21:20:49  * jeffreylevesquequit (Quit: Colloquy for iPhone - http://colloquy.mobi)
21:23:46  * Snugglebashquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
21:24:13  * sQVejoined
21:25:55  * graphenequit (Remote host closed the connection)
21:26:25  * graphenejoined
21:27:03  * jstimmquit (Ping timeout: 246 seconds)
21:28:19  * sQVequit (Client Quit)
21:28:38  * orbyt_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
21:30:43  * carifjoined
21:31:19  <SGrover>I have a dev box and staging box. Each with their own database. I'm creating csv files on staging (via file streams) and then creating a zip of the generated CSVs. On staging that zip file is missing some files.
21:31:45  * jeffreylevesquejoined
21:31:50  <SGrover>If I point my dev box at the staging database and run the same process, my zip file HAS the missing csv files.
21:32:02  <SGrover>The export code is identical on both servers.
21:32:15  <SGrover>So is this maybe a drive flush type issue?
21:32:16  * orbyt_joined
21:33:07  <SGrover>(i.e. files are created, but not flushed to physical media by the time the zip is created?)
21:33:13  * sattellitejoined
21:34:09  * cloudbenderjoined
21:35:47  * jsatkquit (Ping timeout: 240 seconds)
21:36:58  * jeffreylevesquequit (Quit: Colloquy for iPhone - http://colloquy.mobi)
21:37:24  * sgenjoined
21:37:59  * sattellitequit (Remote host closed the connection)
21:40:07  * gxtquit (Ping timeout: 240 seconds)
21:41:24  * carifquit (Ping timeout: 246 seconds)
21:41:44  * m00dyjoined
21:41:46  * dastierquit (Remote host closed the connection)
21:45:17  * OpenSorceressquit (Remote host closed the connection)
21:45:45  * OpenSorceressjoined
21:45:45  * OpenSorceressquit (Changing host)
21:45:45  * OpenSorceressjoined
21:46:56  <nomoney4u>SGrover: "each with their own database", where does the databases come into play?
21:47:24  * rehatquit
21:48:27  * wdnaquit (Ping timeout: 240 seconds)
21:48:54  * leptonixquit (Quit: leaving)
21:50:09  * OpenSorceressquit (Ping timeout: 246 seconds)
21:50:23  * jsatkjoined
21:50:27  * dilijevquit (Quit: Connection closed for inactivity)
21:50:47  * OpenSorceressjoined
21:50:47  * OpenSorceressquit (Changing host)
21:50:47  * OpenSorceressjoined
21:52:13  <SGrover>nomoney4u, the fetch() is a REST call to do a DB lookup.. same DB structure on both servers, different sets of data...
21:52:47  <SGrover>er.. sorry.. mixing my discussions...
21:53:08  * kapil____quit (Quit: Connection closed for inactivity)
21:53:19  * heyitsramajoined
21:53:32  <SGrover>The data being extracted and written to the CSV files comes from the Database...
21:56:37  * gxtjoined
21:58:32  * Nexilvajoined
21:59:36  * akkonradquit (Quit: Ex-Chat)
22:00:35  * tymczenkoquit (Remote host closed the connection)
22:01:27  * wdnajoined
22:06:30  * sillysluxquit (Ping timeout: 250 seconds)
22:06:59  * DLStevejoined
22:07:10  <gajus>you only understand how bad average JS developer understanding of SQL is when he introduces 3 SQL injection vectors in a single commit
22:07:54  * igflaviusquit (Ping timeout: 252 seconds)
22:08:02  <gajus>basically query('SELECT ... WHERE x LIKE "%' + userQuery + '%"')
22:08:19  * igflaviusjoined
22:09:40  * marthinaljoined
22:09:53  * carifjoined
22:11:14  * noraatepernosjoined
22:12:20  * marthinalquit (Remote host closed the connection)
22:13:18  * marthinaljoined
22:13:21  <nomoney4u>SGrover: so you're doing something like this? call db -> use stream to write csv -> wait for all csv to be done -> zip ?
22:13:48  <nomoney4u>SGrover: also, if you can provide some codes, it's easier to dissect
22:14:33  * Cabanossiquit (Quit: Bye, bye...)
22:14:37  * basiclaserjoined
22:15:03  * Cabanossijoined
22:15:47  <arve>@gajus: I'm gonna be a bit nasty with you
22:16:00  <arve>SQL injections are not handled on the client side
22:16:57  <arve>if these were introduced in backend/node code, I pity you, though
22:17:01  <SGrover>nomoney4u, yep. process is about that. I'll look at getting a pastie set up.
22:17:35  <SGrover>gajus, arve - from the snippet given there is not enough info to comment.. the "userQuery" variable may already be sanitized...
22:17:52  * promethjoined
22:17:55  <gajus>SGrover: I assure you, it is not. Comes straight from express query.
22:18:17  <arve>ouch. you need better backend devs
22:18:23  <SGrover>then yes. I'd be concerned.
22:18:43  <gajus>Need to implement this feature and be done with it
22:18:43  <gajus>https://github.com/gajus/slonik/issues/11
22:18:54  <gajus>It has been on a todo list for a while now
22:19:27  <SGrover>Just create a quick exploit and show them the folly of their ways... They have to learn somehow...
22:19:44  <nomoney4u>gajus: uh...there's knex ;)
22:20:02  <gajus>nomoney4u: tell me one valid reason to use knex
22:20:23  <arve>@gajus: I take it you rejected the PR?
22:20:31  <nomoney4u>no sql injection?
22:20:51  <gajus>nomoney4u: knex does not protect you from sql injections
22:21:00  <gajus>you are still free to input raw SQL as you like
22:21:07  * marthinalquit (Remote host closed the connection)
22:21:12  <nomoney4u>that is if you use .raw()
22:21:59  * bomb-onquit (Quit: SO LONG, SUCKERS!)
22:22:03  <gajus>arve: cancelled the project. will delegate to another developer. This is just one thing that made me throw hands in the air. Dude is good with frontend but backend is not his strong suit
22:24:19  <arve>while I'm not a backend dev, I still have a decent understanding, based on merely reading the knex API definition, I would absolutely not trust it to mitigate injection attacks
22:24:47  * cnsvc_quit (Ping timeout: 256 seconds)
22:25:38  * kliqquit (Ping timeout: 272 seconds)
22:26:04  <arve>while it can be used to help build safe queries, it still means abstracting/parametrizing the rest api
22:26:27  <gajus>in general: If I am a DBA, I hate you for using Knex (I need to learn knex to use SQL that I already know). If am a developer, I hate you for using knex (I need to learn SQL _and_ I need to learn Knex)
22:27:20  * chargenjoined
22:27:36  <arve>gajus: libs like knex has the advantage that they create an abstraction/transformation between the actual query and what a client can input
22:28:25  <gajus>In what way whatever the abstraction that knex provides is superior to creating the query using concatenation?
22:29:02  * plexigrasquit (Ping timeout: 250 seconds)
22:30:55  <arve>s/create/can create/
22:31:21  <gajus>would like to see the equivalent of this in Knex
22:31:23  <gajus>https://gist.github.com/gajus/2b68111bab05ed017d56cc81c3d42dc2
22:31:38  * carifquit (Ping timeout: 250 seconds)
22:32:04  * chargenquit (Ping timeout: 244 seconds)
22:32:12  <arve>ugh.
22:32:48  * coder1kquit (Quit: Leaving...)
22:32:49  <arve>that single query is an entire external API
22:33:01  * jstimmjoined
22:33:24  * iam730joined
22:34:14  * cnsvc_joined
22:35:09  * redbisonquit
22:36:06  <nomoney4u>gajus: If you were to use knex, you would split the tasks up, your line 14-26 would be 1 function to fetch 1 set of data, so on and so forth
22:37:37  <nomoney4u>you're encasing everything into sql, if you want to go down that route then yes, knex.raw() is the way to go, but knex was not built to replace sql, infact it translate knex('table').select() = "select * from table"
22:38:05  <nomoney4u>so if you're writing sql and doing all logic and functions in there, then knex is probably not for you
22:38:36  * kjartanquit (Read error: Connection reset by peer)
22:39:19  * tjmcginnisjoined
22:39:26  * Stevermanjoined
22:40:21  * spionquit (Ping timeout: 252 seconds)
22:42:37  <gajus>anyone who is sold on the idea that Knex can in whatever way improve their work with SQL is lacking basic understanding of SQL and would be better of investing their time learning SQL and the available clients for working with SQL in their language of choice
22:43:26  * kjartanjoined
22:44:46  * coder1kjoined
22:44:53  <jaawerth>disagree. knex is useful for composing complex queries dynamically
22:45:01  <cloudbender>ok, NOW it's time for the popcorn. gimme 30 seconds and you may proceed.
22:45:15  <jaawerth>it's annoying to do that with static sql + prepared params + text munging
22:45:17  <cloudbender>... and somebody call somebody a name.
22:45:19  * EyePulpquit (Remote host closed the connection)
22:45:29  <jaawerth>lol nah I'm not about to beat my chest over this lol
22:45:39  <jaawerth>just that I know SQL pretty well and I still find knex useful
22:46:23  * carifjoined
22:46:42  <jaawerth>I could live without it, certainly
22:47:22  <jaawerth>but for queries I might need to use in other queries (or just fragments of complex raw queries), being able to use the knex querybuilder to basically repurpose them as partials is really helpful
22:47:42  <jaawerth>or when I have, say, complex WHERE classes I want to conditionallya dd to a query based on request query params
22:48:35  * cnsvc_quit (Ping timeout: 256 seconds)
22:48:55  * fairuzjoined
22:50:18  * tjmcginn_joined
22:51:36  <gajus>jaawerth: well, dude, I will ping you when I write an article on the subject and we can team up to cover pros/cons. :-)
22:52:27  <jaawerth>hehe
22:52:32  <jaawerth>I mean I get the argument for sure
22:52:40  * sergeyquit
22:52:51  * coder1kquit (Quit: Textual IRC Client: www.textualapp.com)
22:53:16  * coder1kjoined
22:53:17  <jaawerth>and sometimes I'm just using knex.raw with big ol' custom queries
22:53:26  * tjmcginnisquit (Ping timeout: 268 seconds)
22:54:32  * sergeyjoined
22:54:38  <nomoney4u>never said anything about "Knex can in whatever way improve [...] work with SQL", the argument was not that knex is better than sql, the point I was trying to get across by suggesting knex was the fact that your original string was open for sql injection
22:56:26  <pstef>gajus: I'd use knex for conditionally adding parts of an SQL query that cannot be parameterized (for example, adding a HAVING clause to a query that always does a GROUP BY).
22:57:11  * leptonixjoined
22:57:21  * carifquit (Ping timeout: 246 seconds)
22:57:26  * polydo_squit (Remote host closed the connection)
22:57:27  <DLSteve>I just write all my queries as stored procedures in C and just have the DBA load the DLLs on the database server. It's super simple.
22:57:43  <pstef>DLLsteve.
22:58:10  <jaawerth>yeah that kinda thing
22:58:18  <jaawerth>or when you might conditionally need to join
22:58:25  <gajus>I don't what point you are trying to make. In order for developer to use properly knex without creating sql injection vulnerabilities, he would need know safe and unsafe methods. Equally, there are safe and unsafe methods for running sql queries using sql clients such as node-postgres or Slonik.
22:58:25  <gajus>He could have used parameterized queries (e.g. query('SELECT WHERE ... $1', [userQuery]) or tagged literals (e.g. `query(sql`SELECT ... WHERE ... ${userQuery}`)`) Either would have prevented sql injection risk.
22:58:36  * cnsvc_joined
22:58:55  <jaawerth>yeah, parameterizing is key, knex or no knex
22:59:05  <jaawerth>a lot of the raw driers do support that, thankfully. or at least pg does
22:59:55  * kakashiALjoined
23:00:24  * Defcronykequit (Quit: Goodbye)
23:01:00  * Defcronykejoined
23:01:17  <gajus>I wonder what product South Park is referring to in their buddha box episode
23:03:07  * sergeyquit
23:03:33  <pstef>gajus: can't you use a FILTER'd count instead of that sum of terminated_reason_is_safe blahblah?
23:04:10  * supernovahquit (Read error: Connection reset by peer)
23:04:17  <pstef>count(*) FILTER (WHERE terminated = FALSE)
23:04:30  * supernovahjoined
23:04:30  * trevorquit (Read error: Connection reset by peer)
23:04:34  * kakashiALquit (Ping timeout: 250 seconds)
23:05:03  <gajus>I am pretty sure I can
23:05:24  * trevorjoined
23:05:25  <gajus>cannot remember a reason why I would have written it this way
23:05:34  * spucquit (Quit: Ping timeout (120 seconds))
23:05:40  <gajus>thank you for pointing it out
23:05:45  <pstef>An older major PG version, perhaps.
23:05:54  * spucjoined
23:06:25  * voidiojoined
23:06:27  <pstef>The trick for those was count(terminated = FALSE OR NULL).
23:06:34  * greggerzquit (Quit: Leaving)
23:07:26  * iovoidquit (Ping timeout: 272 seconds)
23:07:49  * tjmcginn_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:09:28  * tjmcginnisjoined
23:15:17  * FredrikCquit (Ping timeout: 256 seconds)
23:15:30  * lord|quit (Read error: Connection reset by peer)
23:16:01  * lord|joined
23:17:13  * fairuzquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:17:56  * hemstockquit
23:19:15  * cloudbenderquit (Ping timeout: 256 seconds)
23:21:43  * hyperiscoquit (Read error: Connection reset by peer)
23:24:27  * carifjoined
23:24:31  * EREVANquit
23:24:53  * CustomerSupportquit (Ping timeout: 268 seconds)
23:26:00  * coder1kquit (Quit: Textual IRC Client: www.textualapp.com)
23:26:56  * coder1kjoined
23:28:19  * trevorquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:30:00  * tjmcginnisquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:36:29  * kapil____joined
23:36:34  * flying_sausagesquit (Quit: You just lost the game. Peace Out.)
23:36:38  * DukeDrakequit (Ping timeout: 250 seconds)
23:45:11  * flying_sausagesjoined
23:47:02  * carifquit (Ping timeout: 250 seconds)
23:47:33  * EyePulpjoined
23:48:10  * m00dyquit (Remote host closed the connection)
23:52:14  * EyePulpquit (Ping timeout: 250 seconds)
23:54:28  * dslegendsquit (Quit: dslegends)
23:56:38  * guacjackquit (Quit: Textual IRC Client: www.textualapp.com)
23:57:54  * polydo_sjoined