00:00:26  * Cabanossijoined
00:02:24  <theskillwithin>https://github.com/Korilakkuma/spa-sample/blob/master/render.js so what if i have multiple entry points, and i want to load a specific page in my render. sorta like code splitting
00:02:56  * earendelquit (Ping timeout: 255 seconds)
00:03:28  * andru1noquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:03:45  * dopesongquit (Ping timeout: 252 seconds)
00:03:52  * e14quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:05:11  * cybeaerjoined
00:10:17  * plevexierjoined
00:10:35  * orbyt_joined
00:11:09  * phlyrmnjoined
00:11:26  * safejoined
00:11:59  * _xorjoined
00:12:54  <orbyt_>Slightly off topic but has anyone used Electron on a Windows machine? I'm trying to determine what the behavior is for a BrowserWindow with `titleBarStyle: 'hidden'` set. On macOS, this removes the top window bar but keeps the stoplight buttons. Trying to determine how it looks on Windows/Linux
00:13:17  * guwopquit (Ping timeout: 246 seconds)
00:14:12  * benhalversonquit (Quit: benhalverson)
00:14:26  * benhalversonjoined
00:14:50  * earendeljoined
00:14:58  * benhalversonquit (Client Quit)
00:15:13  * benhalversonjoined
00:15:46  * benhalversonquit (Client Quit)
00:16:00  * benhalversonjoined
00:16:06  * benhalversonquit (Client Quit)
00:17:15  * niemalquit (Remote host closed the connection)
00:21:23  <deltab>orbyt_: https://www.christianengvall.se/electron-frameless-window/
00:22:06  <deltab>"On Windows and Linux there will be no change at all."
00:22:36  <orbyt_>Are you referring to this sentence? "I like the option to remove the titlebar on macOS and leaving it as is on Linux and Windows"
00:22:47  <orbyt_>I actually had already read that document
00:23:15  <orbyt_>Was hoping for an actual image...I'm assuming it means it just uses the normal window chrome...but want to be sure.
00:24:37  <orbyt_>Thinking just leaving the bar may be better for cross platform design..
00:25:40  * plevexierquit (Quit: Leaving.)
00:26:55  * Rodya_joined
00:26:56  <theskillwithin>https://github.com/Korilakkuma/spa-sample/blob/master/render.js maybe i could import * from ./pages and then in my render function say render(res,response,'home') ?
00:27:00  <deltab>judging by https://github.com/electron/electron/issues/6823 it's hard to implement on Windows
00:28:56  <deltab>and it's too variable on Linux
00:29:02  <deltab>so I take it that titleBarStyle: 'hidden' has no effect on those
00:29:27  * guccimeowjoined
00:29:28  * nyajoined
00:29:46  * Cabanossiquit (Ping timeout: 276 seconds)
00:30:30  * Cabanossijoined
00:30:32  <deltab>sorry I can't give you anything more definitive
00:31:00  <orbyt_>deltab Frameless BrowserWindows actually remove *all* the window chrome, meaning you have to implement the minimize/close/maximize buttons yourself and use the OS hooks.
00:31:08  <orbyt_>Yea no worries
00:32:10  <orbyt_>The reason why this is kind of an issue is that when the stoplight buttons are on the actual window when using the hidden option, I ocassionally have to design my headers to accomodate the stoplight buttons
00:32:27  <orbyt_>So I'm concerned that on the other OS, this will cause some weird styling looks
00:32:59  <deltab>I guess you could put your own buttons there
00:33:48  * guccimeowquit (Ping timeout: 240 seconds)
00:33:53  <orbyt_>Yea, don't really want to go that route though
00:34:04  * smccarthyjoined
00:34:09  <orbyt_>I think most macOS users expect to see the stoplight buttons on all widnows
00:34:11  <orbyt_>windows*
00:34:58  * deltabnods
00:36:17  * orbyt_sips coffee
00:39:14  * cybeaerquit (Ping timeout: 240 seconds)
00:40:28  * cybeaerjoined
00:42:31  * Patriququit (Ping timeout: 255 seconds)
00:44:44  * mizu_no_oto_workjoined
00:46:07  * Delta-Onequit (Read error: Connection reset by peer)
00:46:46  * Delta-Onejoined
00:51:08  * mizu_no_oto_workquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:51:28  * DeltaHeavyquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:52:09  * EyePulpjoined
00:52:26  * milardovichjoined
00:56:15  * superloujoined
00:57:20  * e14joined
00:57:23  * smccarthyquit (Remote host closed the connection)
00:57:48  * devcquit (Ping timeout: 240 seconds)
01:00:52  * underzenquit (Remote host closed the connection)
01:01:07  * underzenjoined
01:06:14  * plevexierjoined
01:06:55  * EyePulpquit (Remote host closed the connection)
01:08:09  * snowkidindquit (Quit: astalaPIZZA Baby!)
01:10:59  * GusBot4joined
01:11:16  * _xorquit (Remote host closed the connection)
01:11:19  <Gustavo6046>ops
01:11:22  <Gustavo6046>]=cmd part #Node.js
01:11:31  <Gustavo6046>what
01:11:36  <Gustavo6046>]=cmd part #Node.js :bye
01:11:55  <Gustavo6046>sorry, I joined it here accidentally
01:11:57  <Gustavo6046>tab
01:12:15  <Gustavo6046>weird
01:12:41  <Gustavo6046>._. it's probably broken
01:13:04  * GusBot4part
01:13:11  * EyePulpjoined
01:13:29  * Cabanossiquit (Ping timeout: 246 seconds)
01:14:44  * cybeaerquit (Ping timeout: 240 seconds)
01:15:25  * Cabanossijoined
01:15:31  * _xorjoined
01:17:52  * Quatroking_quit (Quit: Leaving)
01:20:00  * ed209quit (Remote host closed the connection)
01:20:07  * ed209joined
01:21:16  <Gustavo6046>pardon
01:21:25  * M6HZjoined
01:21:43  * smccarthyjoined
01:23:43  * duckpupp1quit (Ping timeout: 248 seconds)
01:25:00  <hendry>31/wc
01:25:01  * hendrypart
01:25:37  * stylsi433joined
01:26:23  * smccarthyquit (Ping timeout: 248 seconds)
01:26:52  * wrkrcoopquit (Quit: wrkrcoop)
01:27:00  * axs221_quit (Read error: Connection reset by peer)
01:28:19  * wrkrcoopjoined
01:28:55  * stylsi433quit (Client Quit)
01:29:12  * stylsi433joined
01:30:31  * e14quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:31:10  * LiftLeftquit (Quit: Bye)
01:31:38  * mizu_no_oto_workjoined
01:31:42  * LiftLeftjoined
01:31:42  * wrkrcoopquit (Client Quit)
01:32:46  * rorrojoined
01:32:53  * wrkrcoopjoined
01:32:54  * superlouquit (Quit: Leaving)
01:33:13  * x405joined
01:35:31  * igemnacejoined
01:36:11  * Gustavo6046quit (Quit: yay)
01:36:42  * AtumTquit (Remote host closed the connection)
01:39:21  * mizu_no_oto_workquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:40:25  * sternsquit (Remote host closed the connection)
01:46:01  * plevexierquit (Quit: Leaving.)
01:46:18  * safequit (Read error: Connection reset by peer)
01:47:23  * dopesongjoined
01:50:17  * kakashiALquit (Ping timeout: 260 seconds)
01:51:41  * dopesongquit (Ping timeout: 240 seconds)
01:52:57  * Moonlight-Angeljoined
01:53:06  * M6HZpart
01:53:12  * stylsi433quit (Ping timeout: 260 seconds)
01:53:24  * e14joined
01:55:05  * skalootjoined
01:55:36  * oxyurosejoined
01:59:39  * bergice_quit (Quit: Connection closed for inactivity)
02:00:55  * Rodya_quit (Remote host closed the connection)
02:01:11  * Chuguniyquit (Ping timeout: 255 seconds)
02:03:08  * quakephilquit (Ping timeout: 240 seconds)
02:05:07  * cybeaerjoined
02:08:07  * EyePulpquit (Remote host closed the connection)
02:08:07  * knodpart
02:09:14  * skalootquit (Remote host closed the connection)
02:09:36  * Delta-Onequit (Read error: Connection reset by peer)
02:09:46  * Delta-Onejoined
02:11:41  * underzenquit (Remote host closed the connection)
02:12:13  * Mattiaslndstrmquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:12:35  * mundus2018changed nick to mundus
02:13:26  * wrkrcoopquit (Quit: wrkrcoop)
02:14:01  * shfqjoined
02:14:39  * Phloxxquit (Ping timeout: 252 seconds)
02:16:04  * mizu_no_oto_workjoined
02:16:49  * Soopamanjoined
02:16:49  * underzenjoined
02:17:21  * underzenquit (Read error: Connection reset by peer)
02:17:39  * guccimeowjoined
02:17:42  * Phloxxjoined
02:18:37  * underzenjoined
02:19:25  * kevinwjoined
02:21:20  * wrkrcoopjoined
02:22:01  * guccimeowquit (Ping timeout: 240 seconds)
02:26:05  * stylsi433joined
02:26:40  * systemfaultquit (Quit: Bye!)
02:27:22  * e14quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:27:57  * kevinwquit (Quit: Page closed)
02:28:15  * dre_joined
02:28:34  * Cabanossiquit (Ping timeout: 264 seconds)
02:29:25  * abijeetjoined
02:29:37  * jkridnerjoined
02:29:49  * e14joined
02:30:09  * upperdeckquit (Read error: Connection reset by peer)
02:30:31  * Cabanossijoined
02:30:35  * stylsi433quit (Ping timeout: 240 seconds)
02:31:41  * Mattiaslndstrmjoined
02:33:41  * jkridnerquit (Ping timeout: 240 seconds)
02:34:21  * munduschanged nick to Mundus
02:34:37  * upperdeckjoined
02:35:18  * ahrsquit (Remote host closed the connection)
02:36:26  * x405quit (Remote host closed the connection)
02:36:29  * ahrsjoined
02:36:55  * x405joined
02:37:23  * Mattiaslndstrmquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:37:39  * x405quit (Client Quit)
02:38:07  * Munduschanged nick to mundus
02:39:14  * cybeaerquit (Ping timeout: 240 seconds)
02:39:24  * upperdeckquit (Read error: Connection reset by peer)
02:40:04  * oxyurosequit (Quit: Leaving)
02:40:31  * e14quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:40:36  * M6HZjoined
02:41:17  * e14joined
02:43:45  * guccimeowjoined
02:44:11  * upperdeckjoined
02:45:06  * e14quit (Client Quit)
02:46:40  * wrkrcoopquit (Quit: wrkrcoop)
02:48:29  * LeBlaaancquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:50:03  * e14joined
02:50:42  * SwiftMattjoined
02:51:25  * orbyt_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:51:48  * e14quit (Client Quit)
02:53:10  * ttalquit (Quit: My iMac has gone to sleep. ZZZzzz…)
02:53:50  * snowkidindjoined
02:54:01  * abijeetquit (Ping timeout: 240 seconds)
02:54:31  * guccimeowquit (Remote host closed the connection)
02:55:06  * guccimeowjoined
02:55:50  * abijeetjoined
02:56:10  * madmouser1quit (Ping timeout: 264 seconds)
02:57:06  * goodenoughjoined
02:58:44  * chjjquit (Ping timeout: 240 seconds)
02:59:14  * guccimeowquit (Ping timeout: 240 seconds)
03:00:08  * abijeetquit (Ping timeout: 240 seconds)
03:05:08  * cybeaerjoined
03:06:17  * CssNoObjoined
03:07:02  * SwiftMattquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
03:07:35  * the_antjoined
03:08:43  * atescjoined
03:09:39  * rorroquit (Ping timeout: 252 seconds)
03:10:51  * mhjoined
03:13:44  * atescquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:14:11  * zivesterjoined
03:17:22  * atescjoined
03:19:02  * jbudquit (Quit: leaving)
03:21:41  * yousucjoined
03:27:04  * goodenoughquit (Remote host closed the connection)
03:27:27  * SwiftMattjoined
03:28:31  * Cabanossiquit (Ping timeout: 276 seconds)
03:28:43  * milardovichquit (Remote host closed the connection)
03:29:09  * Cabanossijoined
03:29:18  * milardovichjoined
03:29:20  * madmouser1joined
03:31:35  * atescquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:31:35  * mhquit (Read error: Connection reset by peer)
03:32:03  * mhjoined
03:32:40  * al-damiriquit (Quit: Connection closed for inactivity)
03:33:28  * sqramjoined
03:33:51  * milardovichquit (Ping timeout: 248 seconds)
03:34:18  * ShockingIsntItquit (Quit: Leaving)
03:34:55  * atescjoined
03:35:23  * Planet_E_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:36:21  * cybeaerquit (Remote host closed the connection)
03:36:44  * cybeaerjoined
03:37:12  * underzenquit (Remote host closed the connection)
03:37:19  * atescquit (Client Quit)
03:37:41  * underzenjoined
03:39:05  * Delta-Onequit (Ping timeout: 246 seconds)
03:39:17  * atescjoined
03:39:28  * haraiquit (Ping timeout: 240 seconds)
03:39:48  * goodenoughjoined
03:40:17  * whoville13joined
03:40:32  * guccimeowjoined
03:41:05  * MrAbaddonquit (Ping timeout: 240 seconds)
03:42:05  * underzenquit (Ping timeout: 240 seconds)
03:42:30  * jhirleyquit (Quit: This computer has gone to sleep)
03:43:11  * Industrialjoined
03:45:12  * guccimeowquit (Ping timeout: 260 seconds)
03:45:21  * yousucquit (Quit: Leaving)
03:45:58  * wrkrcoopjoined
03:47:42  * Robinson2joined
03:47:45  * Industrialquit (Ping timeout: 248 seconds)
03:48:45  * KamiRathquit (Remote host closed the connection)
03:55:17  * smccarthyjoined
03:56:43  * atescquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:57:23  * Delta-Onejoined
03:59:06  * atescjoined
04:00:01  * smccarthyquit (Ping timeout: 240 seconds)
04:00:21  * haraijoined
04:02:31  * smccarthyjoined
04:03:45  * Rodya_joined
04:06:44  * smccarthyquit (Ping timeout: 240 seconds)
04:09:18  * phlyrmnquit
04:10:03  * SwiftMattquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
04:11:41  * zpmorganquit (Ping timeout: 255 seconds)
04:12:00  * zpmorganjoined
04:12:20  * Cabanossiquit (Ping timeout: 246 seconds)
04:12:37  * cybeaerquit (Ping timeout: 260 seconds)
04:14:13  * Cabanossijoined
04:15:32  * newjackswing4evejoined
04:15:42  * xiinotulppart
04:16:00  * cgfbeequit (Remote host closed the connection)
04:16:15  * plutoniixjoined
04:16:24  * newjackswing4evequit (Client Quit)
04:18:33  * MrAbaddonjoined
04:19:07  * Industrialjoined
04:19:14  * chjjjoined
04:20:07  * EyePulpjoined
04:22:46  * atescquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:23:07  * Rodya_quit (Quit: Leaving...)
04:23:22  * ccii1joined
04:23:28  * Industrialquit (Ping timeout: 240 seconds)
04:24:31  * cciiquit (Ping timeout: 248 seconds)
04:26:50  * mizu_no_oto_workquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:26:52  * goodenoughquit (Remote host closed the connection)
04:30:56  * cgfbeejoined
04:33:46  * atescjoined
04:34:46  * guccimeowjoined
04:36:24  * ttaljoined
04:38:44  * guccimeowquit (Ping timeout: 240 seconds)
04:42:38  * led_ir22quit (Quit: led_ir22)
04:47:45  * goodenoughjoined
04:48:00  * dongustonquit (Read error: Connection reset by peer)
04:48:57  * systemfaultjoined
04:49:18  * dre_quit (Remote host closed the connection)
04:49:43  * mhquit (Remote host closed the connection)
04:51:31  * zxcjoined
04:55:20  * Industrialjoined
04:57:17  * smccarthyjoined
04:58:34  * Cabanossiquit (Ping timeout: 264 seconds)
04:58:50  * marthinaljoined
04:59:11  * Cabanossijoined
04:59:44  * Industrialquit (Ping timeout: 240 seconds)
05:00:36  * Mattiaslndstrmjoined
05:01:51  * smccarthyquit (Ping timeout: 252 seconds)
05:04:11  * atescquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
05:04:41  * Mattiaslndstrmquit (Ping timeout: 240 seconds)
05:05:10  * cybeaerjoined
05:05:52  * EyePulpquit (Remote host closed the connection)
05:06:03  * phlyrmnjoined
05:06:53  * atescjoined
05:08:26  * ircuser-1joined
05:09:06  * benhalversonjoined
05:10:01  * eastwootquit (Ping timeout: 240 seconds)
05:10:35  * sqramquit (Ping timeout: 240 seconds)
05:11:06  * u0m3__joined
05:13:40  * hrujoined
05:13:47  * u0m3_quit (Ping timeout: 255 seconds)
05:16:10  * eastwootjoined
05:18:53  * shfqquit (Quit: just left)
05:21:11  * atescquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
05:21:12  * asteelequit (Ping timeout: 246 seconds)
05:23:18  * sqramjoined
05:23:20  * led1joined
05:24:08  * futzhuquit (Ping timeout: 240 seconds)
05:25:03  * ppangjoined
05:25:22  * mhjoined
05:26:26  * led1quit (Remote host closed the connection)
05:27:31  * ttalquit (Quit: My iMac has gone to sleep. ZZZzzz…)
05:28:59  * led1joined
05:30:02  * TikityTikquit (Remote host closed the connection)
05:39:05  * cybeaerquit (Ping timeout: 240 seconds)
05:39:52  * atescjoined
05:46:41  * webguynowquit (Ping timeout: 240 seconds)
05:46:49  * webguynowjoined
05:49:35  * zpmorganquit (Ping timeout: 240 seconds)
05:52:27  * derpSauceyquit (Quit: Connection closed for inactivity)
05:52:51  * npmbotjoined
05:54:12  * snowkidindquit (Quit: astalaPIZZA Baby!)
05:55:02  * tlbdkjoined
05:56:03  * neoncontrailsquit (Remote host closed the connection)
05:56:32  * neoncontrailsjoined
05:57:22  * Cabanossiquit (Ping timeout: 276 seconds)
05:57:28  * tlbdkquit (Remote host closed the connection)
05:57:34  * goodenoughquit (Remote host closed the connection)
05:59:02  * guccimeowjoined
05:59:15  * Cabanossijoined
06:00:50  * neoncontrailsquit (Ping timeout: 246 seconds)
06:01:31  * EyePulpjoined
06:01:36  * plutoniixquit (Quit: Leaving)
06:04:04  * futzhujoined
06:05:11  * cybeaerjoined
06:05:24  * lounge-user32joined
06:05:41  * EyePulpquit (Ping timeout: 240 seconds)
06:09:20  * pstef_joined
06:12:57  * soeejoined
06:14:22  * elichengjoined
06:14:47  * atescquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
06:16:22  * benhalversonquit (Quit: benhalverson)
06:17:02  * soeequit (Excess Flood)
06:17:24  * soeejoined
06:17:51  * smccarthyjoined
06:17:56  * soeequit (Client Quit)
06:18:10  * lpinjoined
06:19:26  * BeerLoverjoined
06:19:42  * soeejoined
06:19:48  * atescjoined
06:20:18  * BeerLoverquit (Client Quit)
06:20:33  * systemfaultquit (Quit: Bye!)
06:20:40  * marininjoined
06:20:41  * marininquit (Client Quit)
06:21:40  * groomjoined
06:25:10  * BeerLoverjoined
06:25:11  * whoville13quit (Read error: Connection reset by peer)
06:25:32  * neoncontrailsjoined
06:27:47  * Cabanossiquit (Ping timeout: 246 seconds)
06:28:11  * mhquit (Read error: Connection reset by peer)
06:28:37  * mhjoined
06:29:17  * Cabanossijoined
06:30:56  * rendarjoined
06:31:04  * atescquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
06:31:56  * wsierocijoined
06:31:59  * wsierociquit (Remote host closed the connection)
06:32:02  * darkSeid_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
06:33:16  * rezettajoined
06:34:03  * neoncontrailsquit (Read error: Connection reset by peer)
06:35:27  * neoncontrailsjoined
06:38:41  * mh_joined
06:38:41  * mhquit (Read error: Connection reset by peer)
06:39:05  * cybeaerquit (Ping timeout: 240 seconds)
06:39:41  * elichengquit
06:40:13  * prillian5joined
06:40:21  * elichengjoined
06:42:15  * tkore\workjoined
06:42:56  * marininjoined
06:43:02  * tangorrijoined
06:43:25  * mh_quit (Read error: Connection reset by peer)
06:43:44  * mhjoined
06:44:04  * eastwootquit (Remote host closed the connection)
06:45:07  * tohuwquit (Remote host closed the connection)
06:46:48  * mh_joined
06:46:49  * mhquit (Read error: Connection reset by peer)
06:47:40  * BeerLoverquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
06:49:50  * smccarthyquit
06:52:04  * milardovichjoined
06:53:33  * BeerLoverjoined
06:53:42  * microdex2joined
06:55:51  * earendelchanged nick to x-cellent
06:56:01  * microdexquit (Ping timeout: 240 seconds)
06:56:21  * milardovichquit (Ping timeout: 240 seconds)
06:56:40  * Chuguniyjoined
06:56:54  * wrkrcoopquit (Quit: wrkrcoop)
06:58:12  * BeerLoverquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
06:58:47  * wrkrcoopjoined
06:59:06  * rchavikjoined
07:00:30  * marininquit (Quit: Sleep quit)
07:00:44  * jay_quinjoined
07:01:52  * groom1joined
07:01:53  * Arcaelyxquit (Ping timeout: 248 seconds)
07:02:43  * xcesarioxjoined
07:03:59  * haraiquit (Ping timeout: 248 seconds)
07:04:02  * groomquit (Ping timeout: 255 seconds)
07:05:13  * cybeaerjoined
07:05:25  * bhughesquit (Read error: Connection reset by peer)
07:05:32  * bhughesjoined
07:07:11  * nschoejoined
07:08:01  * goodenoughjoined
07:10:14  * Treefingersjoined
07:11:07  * buujoined
07:11:29  <buu>So
07:11:45  * wrkrcoopquit (Quit: wrkrcoop)
07:11:50  <buu>What operations, generally speaking, does node have to perform before it can execute the first line of user code
07:12:08  <buu>aka dear god why is its start up so slow
07:12:42  * dongustonjoined
07:12:43  * mh_quit (Read error: Connection reset by peer)
07:13:31  * mhjoined
07:13:57  * EyePulpjoined
07:14:35  * gambl0requit (Ping timeout: 240 seconds)
07:17:01  * darutokojoined
07:17:10  * dopesongjoined
07:17:39  * ytnom_quit (Read error: Connection reset by peer)
07:18:16  * BeerLoverjoined
07:18:22  * EyePulpquit (Ping timeout: 264 seconds)
07:19:33  * shuojoined
07:22:30  * tangorriquit (Quit: tangorri)
07:23:46  * cocoadaemonquit (Ping timeout: 264 seconds)
07:23:46  * ShockingIsntItjoined
07:24:44  <GreenJello>buu, well, it starts executing code basically immediately
07:25:07  <GreenJello>buu, but as it executes code, it executes the require()s, and then reads each file from disk, and compiles them
07:25:08  * ahmedelgabrijoined
07:25:47  <buu>GreenJello: imagine the following code: `node -e 'console.log("hi")'`
07:26:02  <buu>As I assume you know it's extremely slow
07:26:11  <buu>Is it waiting on threads it creates?
07:26:14  <GreenJello>took 0.07s
07:26:33  <buu>perl does it in 0.007s
07:26:37  <buu>Is the comparison
07:26:43  * tarkusjoined
07:26:55  * tohuwjoined
07:26:55  * tohuwquit (Changing host)
07:26:55  * tohuwjoined
07:26:56  <buu>GreenJello: which node version?
07:27:03  <GreenJello>6.x
07:27:04  <ljharb>so write your program in perl :-p
07:27:15  <GreenJello>node is optimized for somewhat longer term performance
07:27:37  <buu>ljharb: Oh I do
07:27:42  <GreenJello>it might take 10x longer to run basically nothing, but it can do more in 5 seconds than perl
07:27:52  <buu>But it doesn't seem like there's any intrinsic reason for node to take so long to start
07:27:57  <buu>or is there?
07:27:58  * Cabanossiquit (Ping timeout: 264 seconds)
07:28:18  <GreenJello>well, it's compiling code and inserting extra machine code to track types for the optimizing compiler
07:28:32  <buu>eh
07:28:41  * tzeroquit (Ping timeout: 240 seconds)
07:28:50  <buu>Is it really spending that much time actually compiling?
07:29:02  * mhquit (Remote host closed the connection)
07:29:07  <ljharb>node is a bunch of C and JS
07:29:13  <ljharb>and v8 certainly has to parse and load all that JS
07:29:25  * Cabanossijoined
07:29:37  * mhjoined
07:29:57  <buu>So how much js is it preloading?
07:30:23  <buu>Like if you 'precompiled' the core stuff would that noticably affecy the load time?
07:30:38  <ljharb>i don't think that's how it works
07:30:41  <ljharb>the "compiler" is a JIT
07:31:02  * tzerojoined
07:31:08  <buu>JIT is a second stage of compilation
07:31:18  <buu>Unless you're implying that it's not compiling the core stuff until it loads it?
07:31:21  <ljharb>in JS it's the only stage
07:31:22  <ljharb>yes
07:31:31  <buu>In which case my simple example shouldn't be loading much
07:31:33  <ljharb>it exists on disk as raw JS
07:31:37  <ljharb>node core, i'm talking about
07:31:50  <buu>yes?
07:31:52  <ljharb>so that raw JS needs to be loaded and parsed and ran, every time you start node.
07:31:54  * tlbdkjoined
07:32:16  <buu>So if you removed that time, what would the run time of `node -e` be?
07:32:21  <buu>In otherwords, what percentage of the time is it
07:32:27  <ljharb>not really sure
07:32:40  <ljharb>but node doesn't exist without that, so i'm not sure what difference it makes
07:32:51  <buu>Because it tells you where to focus optimization efforts
07:32:59  <buu>You can only optimize something for the amount of time it takes
07:34:17  * mhquit (Ping timeout: 255 seconds)
07:34:27  * Taylorquit (Ping timeout: 260 seconds)
07:35:02  * mooejoined
07:35:14  * mooequit (Client Quit)
07:35:16  <ljharb>if you're interested in profiling and optimizing node core, people in #node-dev can probably help better than here
07:35:29  * mooejoined
07:37:32  * GrandpaOnionHeadquit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
07:37:41  * plexigrasjoined
07:37:44  * roomcayzjoined
07:37:45  <buu>ok
07:37:59  <buu>It feels so slow that there has to be something else going on though
07:38:21  <buu>Like it's waiting on syscalls
07:39:00  * mhjoined
07:39:17  * goodenoughquit (Remote host closed the connection)
07:40:41  * goodenoughjoined
07:40:57  * andaiquit (Ping timeout: 255 seconds)
07:42:01  * MrAbaddonquit (Ping timeout: 240 seconds)
07:42:23  <ljharb>0.07s isn't slow tho
07:42:29  <ljharb>how long is it taking on your machine?
07:43:01  * xcesarioxquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
07:43:08  <buu>hmm epoll_wait(5, [{EPOLLIN, {u32=8, u64=8}}], 1024, -1) = 1
07:43:08  <buu>read(8, "\1\0\0\0\0\0\0\0", 1024) = 8
07:43:19  <buu>ljharb: real 0m0.053s
07:43:32  <ljharb>that's even faster than on my machine
07:43:33  <ljharb>seems fine to me
07:43:41  <buu>again, perl is .007
07:43:59  <buu>Like, it's a noticable delay if you're using it on the command line
07:44:25  <buu>I wonder, how can you measure time to first output
07:45:05  * jesopojoined
07:45:38  * tohuwpart ("Textual IRC Client: www.textualapp.com")
07:45:50  * amarashovjoined
07:46:53  <ljharb>sure but i'm not sure why you'd expect it to load as fast as something that isn't meant to be long-running
07:46:57  * mhquit (Read error: Connection reset by peer)
07:47:13  * mhjoined
07:48:11  <buu>usually that's code for "too lazy to optimize"
07:48:33  * andaijoined
07:48:57  * kiumajoined
07:49:11  * Planet_ENjoined
07:49:16  <ljharb>lol k
07:53:25  * guwopjoined
07:55:20  * elseverojoined
07:55:51  * MrAbaddonjoined
07:56:14  * chargenjoined
07:59:03  * flaviodesousajoined
07:59:31  * synthmeatquit (K-Lined)
07:59:31  * bl0m1quit (K-Lined)
07:59:32  * Kesterquit (K-Lined)
07:59:32  * beakyquit (K-Lined)
07:59:43  * guccimeowquit (Remote host closed the connection)
07:59:50  * jay_quinquit (Ping timeout: 246 seconds)
08:00:08  * bl0m1joined
08:00:16  * guccimeowjoined
08:00:54  * plutoniixjoined
08:01:19  * dre_joined
08:03:41  * LiftLeftquit (Ping timeout: 246 seconds)
08:04:33  * mh_joined
08:04:33  * mhquit (Read error: Connection reset by peer)
08:04:44  * guccimeowquit (Ping timeout: 240 seconds)
08:05:06  * EyePulpjoined
08:08:09  * computer2000joined
08:09:37  * kiumaquit (Ping timeout: 248 seconds)
08:10:27  * goodenoughquit (Remote host closed the connection)
08:10:44  * EyePulpquit (Ping timeout: 240 seconds)
08:11:01  * Industrialjoined
08:12:52  * prillian5quit (Quit: Konversation terminated!)
08:13:37  * Kesterjoined
08:13:55  * xcesarioxjoined
08:14:37  * microdex2quit (Quit: Leaving...)
08:14:41  * beakyjoined
08:14:42  * x-cellentquit (Read error: Connection reset by peer)
08:17:05  * x-cellentjoined
08:17:12  * kiumajoined
08:17:57  * synthmeatjoined
08:18:54  * Cohedrin_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:19:40  * marininjoined
08:21:18  * x-cellentquit (Client Quit)
08:21:28  * kiumaquit (Ping timeout: 240 seconds)
08:21:55  * x-cellentjoined
08:22:11  * marininquit (Client Quit)
08:22:56  * marininjoined
08:23:04  * bradfordli123quit
08:23:19  * x-cellentquit (Client Quit)
08:23:48  * earendeljoined
08:24:04  * kiumajoined
08:26:10  * Cohedrin_joined
08:26:45  * MrAbaddonquit (Remote host closed the connection)
08:27:31  * Cabanossiquit (Ping timeout: 276 seconds)
08:27:41  * Delta-Onequit (Ping timeout: 240 seconds)
08:28:42  * konsoleboxjoined
08:29:09  * nodweberjoined
08:29:21  * nodweberquit (Remote host closed the connection)
08:29:33  * Cabanossijoined
08:30:15  * coot___________joined
08:35:39  * nodweberjoined
08:35:52  * hadifarnoudjoined
08:36:05  * cocoadaemonjoined
08:37:59  * raynoldquit (Quit: Connection closed for inactivity)
08:40:05  * milardovichjoined
08:40:15  * andru1nojoined
08:42:09  * kakashiALjoined
08:44:36  * milardovichquit (Ping timeout: 252 seconds)
08:46:51  * hadifarnoudquit (Quit: My Mac has gone to sleep. ZZZzzz…)
08:48:07  * bybbjoined
08:48:58  * hadifarnoudjoined
08:49:14  * kiumaquit (Ping timeout: 240 seconds)
08:50:35  * melvsterquit (Ping timeout: 240 seconds)
08:50:55  * n3o`quit (Ping timeout: 276 seconds)
08:50:57  * melvsterjoined
08:55:21  * tarkusquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:56:36  * buuquit (Read error: Connection reset by peer)
08:56:42  * chjjquit (Ping timeout: 252 seconds)
08:56:52  * buujoined
08:56:59  * hadifarnoudquit (Quit: My Mac has gone to sleep. ZZZzzz…)
08:57:17  * hadifarnoudjoined
09:00:17  * n3o`joined
09:00:42  * marininquit (Quit: Sleep quit)
09:01:21  * drptbljoined
09:04:46  * tarkusjoined
09:04:56  * goodenoughjoined
09:09:08  * goodenoughquit (Ping timeout: 246 seconds)
09:09:31  * kiumajoined
09:11:35  * plutoniixquit (Quit: Leaving)
09:11:49  * marininjoined
09:11:53  * asteelejoined
09:12:17  * rorrojoined
09:12:38  * Cabanossiquit (Ping timeout: 246 seconds)
09:14:28  * Cabanossijoined
09:16:20  * asteelequit (Ping timeout: 255 seconds)
09:17:51  * bwnquit (Ping timeout: 248 seconds)
09:18:34  * CssNoObquit (Quit: Leaving)
09:21:32  * paruljoined
09:22:34  * parulquit (Client Quit)
09:25:23  * kiumaquit (Quit: Leaving)
09:25:49  * bwnjoined
09:26:09  * Planet_ENquit (Read error: Connection reset by peer)
09:26:25  * Planet_ENjoined
09:27:29  * rchavikquit (Ping timeout: 248 seconds)
09:28:20  * mh_quit (Remote host closed the connection)
09:29:07  * asteelejoined
09:30:28  * nodweberquit (Remote host closed the connection)
09:31:23  * nodweberjoined
09:34:34  * Delta-Onejoined
09:37:03  * asteelequit (Ping timeout: 246 seconds)
09:40:05  * beowulf_joined
09:40:32  * rchavikjoined
09:43:08  * hadifarnoudquit (Quit: My Mac has gone to sleep. ZZZzzz…)
09:44:31  * xcesarioxquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
09:46:12  * plutoniixjoined
09:47:06  * ilyaigpetrovjoined
09:47:12  * plutoniixquit (Max SendQ exceeded)
09:47:41  * plutoniixjoined
09:48:27  * coot___________quit (Read error: No route to host)
09:48:51  * coot___________joined
09:49:37  * BeerLoverquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:50:11  * quakephiljoined
09:53:24  * Cohedrin_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:55:51  * nodweberquit (Remote host closed the connection)
09:57:18  * Planet_ENquit (Read error: Connection reset by peer)
09:57:23  * Planet_E_joined
09:57:36  * nodweberjoined
09:58:36  * earendelchanged nick to xerberseuz
09:58:53  * elichengquit
09:59:08  * goodenoughjoined
09:59:21  * Hoffmanquit (Ping timeout: 240 seconds)
10:01:57  * xerberseuz2joined
10:02:19  * Soopamanquit (Quit: Leaving.)
10:02:50  * wrainboltjoined
10:03:03  * xerberseuz2quit (Client Quit)
10:03:08  * xerberseuzquit (Ping timeout: 255 seconds)
10:03:18  * goodenoughquit (Ping timeout: 246 seconds)
10:03:37  * earendeljoined
10:03:50  * titankillerjoined
10:06:06  * phlyrmnquit
10:08:46  * hruquit (Ping timeout: 264 seconds)
10:10:12  * chjjjoined
10:10:25  * ch007mjoined
10:10:37  * hadifarnoudjoined
10:13:35  * ^escquit (Ping timeout: 240 seconds)
10:14:51  * bergice_joined
10:15:08  * MrAbaddonjoined
10:16:03  * underzenjoined
10:16:36  <BiQ>hi, can someone help me a bit with streams (and stream-json module)?
10:16:50  <BiQ>https://pastebin.com/Ceen31Ui
10:17:08  * Planet_E_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:19:56  <BiQ>this.push in the stream.output.on('data' ... ) handler does not work, neither returning the changed object.
10:20:00  * ed209quit (Remote host closed the connection)
10:20:07  * ed209joined
10:20:17  * niemaljoined
10:20:39  * mhjoined
10:21:06  <BiQ>is there a "standard" way a transform stream is supposed to pass its output to the next phase?
10:21:45  <BiQ>(calling next() in the handler does not work, either...)
10:23:50  * MrAbaddonquit (Ping timeout: 255 seconds)
10:24:17  * mr-foobarquit (Ping timeout: 255 seconds)
10:24:43  * MrAbaddonjoined
10:24:47  * chjjquit (Ping timeout: 260 seconds)
10:25:08  * mylesborinsquit (Quit: farewell for now)
10:25:15  * mhquit (Ping timeout: 252 seconds)
10:25:38  * mylesborinsjoined
10:28:14  * milardovichjoined
10:29:10  * dre_quit (Remote host closed the connection)
10:29:44  * milardovichquit (Remote host closed the connection)
10:29:55  * FOBABALOLAjoined
10:29:59  * milardovichjoined
10:30:03  * mr-foobarjoined
10:30:05  * roomcayz_joined
10:30:18  * Stevermanjoined
10:30:55  * roomcayzquit (Ping timeout: 248 seconds)
10:32:17  <Steverman>As a first time user of node and the javascript language, should I just forget about pre-ES6? And use from ES6 and onwards?
10:33:49  <GreenJello>Steverman, it's not critical to know which features are from which js version
10:34:52  <GreenJello>Steverman, also you can't really "forget" about it, because all of ES5 is part of ES6
10:35:14  <Steverman>Okay, so for example: I've never written code in a way that I get this so called callback hell. I believe async/await fixes this?
10:36:05  <Steverman>It's just that some guides for learning purposes still use var, when it's preffered to use let/const (I think?)
10:37:47  * marininquit (Quit: Sleep quit)
10:39:05  * ok91joined
10:40:32  <Steverman>And things get more confusing when they introduce import/export instead of require/module.exports
10:41:12  <GreenJello>async/await does help; const is preferred, let when you need it, var never
10:41:23  * BeerLoverjoined
10:41:52  <GreenJello>import/export can only be used with babel in node, which is some extra tooling
10:41:59  <GreenJello>using require is still fine
10:42:14  <GreenJello>but yeah, I understand it's confusing
10:42:15  <Steverman>I do use that
10:44:03  * Delta-Onequit (Quit: Leaving)
10:44:16  * bybbquit (Remote host closed the connection)
10:44:49  * beowulf_changed nick to beowulf
10:44:57  <Steverman>And I'm not sure if I should use functions or classes (syntactic sugar for prototypes I guess?). I had problems referring to to the same instance across multiple files when using classes. In this case I think it's a singleton class I want :).
10:45:52  <Steverman>Do I just type 'export default new SingletonClass()'?
10:45:52  <GreenJello>class syntax is nicer than the older way; don't overuse classes though
10:46:08  <GreenJello>why not make it an object literal instead?
10:46:27  <Steverman>I don't quite understand
10:46:46  <GreenJello>const obj = { x: 1 }; export default obj;
10:46:57  * guwopquit (Ping timeout: 248 seconds)
10:47:28  <Steverman>I don't know :D. I've only used Java
10:47:39  <GreenJello>then you have to be careful with class usage
10:47:51  <Steverman>I am trying to represent a Node in a network
10:48:03  * Echidnajoined
10:48:10  <Steverman>I actually want to do it without classes
10:48:29  * marininjoined
10:49:45  * ssarahjoined
10:49:46  <Steverman>I am implementing Kademlia P2P protocol using REST API to communicate. That would mean I need koa
10:50:22  * guwopjoined
10:50:26  <GreenJello>well, express is more popular than koa by far
10:50:40  <GreenJello>they do the same thing, and are only slightly different
10:52:08  <Steverman>Yeah I have tried both
10:52:27  <Steverman>I only need routing, so I think koa is sufficient
10:52:34  <Steverman>along with koa-router
10:52:48  <Steverman>perhaps koa-views too
10:52:59  * LiftLeftjoined
10:53:00  * nodweberquit (Remote host closed the connection)
10:53:19  * goodenoughjoined
10:53:26  <Steverman>But you recommend object literals over classes?
10:54:17  <GreenJello>sometimes; classes are fine when you want to group behavior and state into one entity
10:54:23  * mr-foobarquit (Ping timeout: 248 seconds)
10:54:33  <Steverman>I need the whole "app" to behave like a node/peer instance in a p2p network. I would then launch multiple processes of these to simulate a whole network
10:54:51  <GreenJello>the difference between an object literal with methods and a class that doesn't use inheritance is small
10:54:54  <Steverman>So I have n koa servers
10:55:18  <GreenJello>but often I don't put methods on my objects, they're data and nothing else
10:55:28  <GreenJello>then I have functions that operate on the data objects
10:55:32  <Steverman>I see
10:56:30  * marininquit (Quit: Sleep quit)
10:57:33  * goodenoughquit (Ping timeout: 246 seconds)
10:58:31  * mr-foobarjoined
10:58:56  * Taylorjoined
10:58:58  * marininjoined
11:00:17  <Steverman>I suppose using eslint + airbnb codestyle (or something else) would do what I wanted
11:00:41  * jeffreylevesquequit (Ping timeout: 240 seconds)
11:01:45  * titankillerquit (Remote host closed the connection)
11:01:46  <GreenJello>Steverman, yeah, the airbnb config is good
11:02:12  <GreenJello>and get an editor plugin for it
11:02:18  * titankillerjoined
11:02:21  <Steverman>I am using webstorm
11:02:43  <GreenJello>I haven't used it recently, it has eslint support built in?
11:02:50  <Steverman>Yes
11:03:00  * dopesongquit (Remote host closed the connection)
11:03:36  <Steverman>I've actually stopped using var ever since using eslint, but it has not stopped me from using require
11:03:37  * dopesongjoined
11:03:47  * dopesongquit (Remote host closed the connection)
11:04:06  * dopesongjoined
11:04:38  * mhjoined
11:04:54  * jeffreylevesque_joined
11:04:55  * knoxyjoined
11:04:56  * knoxyquit (Changing host)
11:04:56  * knoxyjoined
11:05:51  * hadifarnoudquit (Quit: My Mac has gone to sleep. ZZZzzz…)
11:08:22  * codexdeltajoined
11:12:05  * underzenquit (Remote host closed the connection)
11:12:38  * underzenjoined
11:13:35  * notewellquit (Quit: Textual IRC Client: www.textualapp.com)
11:13:55  * bybbjoined
11:14:59  * notewelljoined
11:16:21  * JohnSmithjoined
11:16:49  * underzenquit (Ping timeout: 248 seconds)
11:17:48  * JohnSmithquit (Client Quit)
11:18:03  * hadifarnoudjoined
11:18:27  * JohnSmithTheFirsjoined
11:18:46  * wxdkjoined
11:18:55  * Treefingersquit (Ping timeout: 248 seconds)
11:19:57  * tvwjoined
11:20:11  * hadifarnoudquit (Remote host closed the connection)
11:20:31  * titankillerquit (Ping timeout: 248 seconds)
11:20:42  * chrxjoined
11:22:03  * coot___________quit (Quit: coot___________)
11:24:04  * nodweberjoined
11:25:09  <chrx>Morning all. Is this where we bug patient people for free live support?
11:25:17  * JohnSmithTheFirsquit (Quit: Page closed)
11:25:30  * the_antquit (Quit: the_ant)
11:26:44  * marininquit (Quit: Sleep quit)
11:27:22  * Cabanossiquit (Ping timeout: 264 seconds)
11:27:34  * plevexierjoined
11:28:04  * milardovichquit (Remote host closed the connection)
11:29:32  * Planet_ENjoined
11:29:43  * Cabanossijoined
11:29:43  <chrx>Or in the absence of successful self-mockery, is anybody here at all...
11:29:44  * DJDanquit (Quit: Leaving...)
11:30:52  * plevexierquit (Client Quit)
11:31:03  * tvwquit
11:31:30  * atm0spherejoined
11:32:25  <pandem1>no two here
11:33:19  <chrx>Figures. Is StackOverflow the best method of self-help
11:34:34  * mooequit (Quit: Connection closed for inactivity)
11:35:46  <codexdelta>documentation followed by IRC and stackoverflow is the best method of self-help.
11:36:45  <chrx>Docs and Google aren't helping me out much...
11:36:48  <chrx>"npm is known not to run on Node.js v0.8.14
11:36:49  <chrx>You'll need to upgrade to a newer version in order to use this
11:36:49  <chrx>version of npm. Supported versions are 4, 6, 7, 8. You can find the
11:36:49  <chrx>latest version at https://nodejs.org/"
11:37:46  <chrx>Updating to the latest using nodesource repo doesn't solve the issue. node --version reports the incorrect version and npm --version doesn't run at all.
11:38:08  <chrx>Cache clean doesn't help.
11:38:33  <BiQ>assuming you deleted/removed your old node version?
11:39:10  <chrx>I did.
11:39:18  <chrx>I'm wondering if there's a 32bit/64bit conflict but have no idea how to test that, let alone fix it
11:39:55  <chrx>8.5.0 seems to install fine but it doesn't work.
11:40:08  <chrx>nodejs-legacy also is a dead end.
11:40:13  <BiQ>which os?
11:40:20  * megamacedjoined
11:40:29  <chrx>GalliumOS. Ubuntu 16.04, basically.
11:40:46  * emuskjoined
11:41:25  <BiQ>https://superuser.com/questions/791506/how-to-determine-if-a-linux-binary-file-is-32-bit-or-64-bit
11:42:10  * noobineerjoined
11:43:22  <BiQ>uname -i shows what the OS thinks about 32/64-bit
11:44:07  <BiQ>do these match?
11:44:18  <chrx>I know the OS is 64 bit. /usr/local/bin/node also appears to be 64 bit.
11:44:32  <chrx>Thats the install from nodesource, 8.5.0.
11:44:48  <BiQ>what does 'which node' say?
11:45:01  <chrx>which node is how I found that file.
11:46:12  <chrx>I suppose turning it off and on again wouldn't help :D
11:46:59  <BiQ>not likely, no.
11:47:24  * goodenoughjoined
11:47:58  <archheretic>Im using bcrypt to hash passwords, but it seems like there might be something wrong with my implementation or the version of bcrypt Im using
11:48:19  <BiQ>chrx: you do have sane-looking lines in /etc/apt/sources.list.d/nodesource.list ?
11:48:23  * tangorrijoined
11:49:19  <chrx>Yep, looks good.
11:49:42  <chrx>The install seems to work just fine. But I don't get an incremented version out of it
11:50:36  <chrx>Though if its showing an older version, that also means my uninstallation of the previous version is failing somehow?
11:51:05  * duckpupp1joined
11:51:29  * marininjoined
11:51:39  <BiQ>chrx: most likely yes
11:51:48  * goodenoughquit (Ping timeout: 246 seconds)
11:52:01  * teratornquit (Ping timeout: 240 seconds)
11:52:43  <BiQ>chrx: calling the /usr/local/bin/node directly doesn't work, either?
11:53:27  <BiQ>fwiw, I have installed 8.5.0 from nodesource and I'm on xubuntu 16.04, and I got the node in /usr/bin/node.
11:53:44  * notewellquit (Quit: My Mac Pro has gone to sleep. ZZZzzz…)
11:53:56  * jeffreylevesque_quit (Ping timeout: 255 seconds)
11:54:32  * ^escjoined
11:54:44  <chrx>Hmm
11:55:33  <chrx>I also have one in /usr/bin/node
11:56:23  <chrx>Which is 30mb. Versus just 10mb for the one in local.
11:57:11  <BiQ>chrx: if all else fails, can you try nvm? also, do you have had these problems with any other software?
11:57:51  <chrx>apt-get remove node deletes the /usr/bin one. /usr/local remains.
11:58:46  * Cabanossiquit (Ping timeout: 276 seconds)
11:59:01  <BiQ>do node and nodejs point to same thing?
11:59:16  * Cabanossijoined
12:00:43  <chrx>No. Node is it's own thing, nodejs points to /etc/alternatives/nodejs
12:01:07  <chrx>Is nvm likely to sidestep this mess?
12:01:25  * marininquit (Quit: Sleep quit)
12:01:25  * kidnextdoorjoined
12:01:25  * ChanServbooted kidnextdoor (Banned: being extremely rude on multiple occasions)
12:01:34  <BiQ>if it's anything like rvm or rbenv in ruby world, yes.
12:01:37  * allscreensonquit (Ping timeout: 260 seconds)
12:02:01  <chrx>I'll give it a try then. Though this seems an unusual mess already.
12:02:28  <BiQ>/etc/alternatives/node* is probably a symlink to somewhere (my guess: /usr/bin/node*)
12:02:44  * milardovichjoined
12:02:47  * milardovichquit (Remote host closed the connection)
12:03:03  * milardovichjoined
12:03:13  <chrx>You would be correct.
12:05:35  * ch007mquit (Remote host closed the connection)
12:05:44  * ok91quit (Ping timeout: 240 seconds)
12:05:49  * asteelejoined
12:06:12  * ch007mjoined
12:06:50  <chrx>Well, I don't know what was all about, but I've installed nvm and --version now returns correctly both times
12:07:08  <chrx>So I guess I'll try and take it from there. Thanks very much for you help, you've made my day a lot less painful.
12:09:49  * bybbquit (Remote host closed the connection)
12:11:14  * goodenoughjoined
12:11:54  * mhquit (Remote host closed the connection)
12:14:39  * wavdedjoined
12:15:20  <chrx>Spoke too soon, still doesn't work
12:15:22  * qswzjoined
12:15:50  <chrx>npm believes it's on 0.8.14
12:15:58  * goodenoughquit (Ping timeout: 264 seconds)
12:16:49  <chrx>Believes nodejs is 0.8.14 sorry
12:17:25  <archheretic>When my salt is $2a$10$R90a26xnsQDDiCyqUkhtoe and hashed password stored is $2a$10$R90a26xnsQDDiCyqUkhtoeoNlRPfYWLK20tyfakCxDxPTPx95kswi Then I've implemented bcrypt wrong right?
12:18:08  <pandem1>yes
12:18:08  <BiQ>archheretic: yes
12:18:29  * titankillerjoined
12:18:56  * zpmorganjoined
12:19:39  <chrx>I wonder if it's a problem with the package I'm trying to install, since node appears to identify itself correctly now
12:20:41  * DeltaHeavyjoined
12:20:52  * rorroquit (Ping timeout: 260 seconds)
12:21:51  * Stevermanquit (Ping timeout: 248 seconds)
12:23:02  * EyePulpjoined
12:23:23  * FOBABALOLAquit (Ping timeout: 246 seconds)
12:23:32  * d10n-workjoined
12:24:30  * underzenjoined
12:25:03  * mr-foobarquit (Ping timeout: 248 seconds)
12:26:13  <chrx>Oh, what the hell? Installing the two packages separately didn't return the version error at all.
12:27:15  <chrx>Right, it wasn't that.
12:27:21  * EyePulpquit (Ping timeout: 240 seconds)
12:27:23  <chrx>sudo npm install fails with a version error.
12:27:27  <chrx>npm install works fine.
12:27:35  * Cabanossiquit (Ping timeout: 246 seconds)
12:28:27  * mr-foobarjoined
12:29:10  * Cabanossijoined
12:29:35  <sopparus>anyone understands then problem here? https://github.com/lovell/sharp/issues/873
12:29:42  <sopparus>i cant get around it
12:29:45  * FOBABALOLAjoined
12:31:37  * Punit_joined
12:32:00  * jhirleyjoined
12:33:04  * marininjoined
12:33:17  * milardovichquit (Remote host closed the connection)
12:33:40  * nodweberquit (Remote host closed the connection)
12:33:55  <archheretic>Can anyone help me figure out how I use the bcrypt library wrong? https://kopy.io/
12:33:57  * nodweberjoined
12:34:29  * nodweberquit (Remote host closed the connection)
12:34:30  <pandem1>that link doesnt seem useful
12:34:41  <pandem1>you should add the salt before hashing, not after
12:34:50  <charmander>Am I missing something? That doesn’t look wrong.
12:34:57  <charmander>$2a$10$R90a26xnsQDDiCyqUkhtoe → $2a$10$R90a26xnsQDDiCyqUkhtoeoNlRPfYWLK20tyfakCxDxPTPx95kswi, that is
12:35:11  <charmander>pandem1, BiQ?
12:35:24  <pandem1>biq?
12:35:30  * bybbjoined
12:35:41  <charmander>pandem1: other person who said it was wrong
12:35:45  * jeffreylevesquejoined
12:35:50  <pandem1>oh
12:35:54  <archheretic>I think its actually correct now that I look closer :p
12:36:06  <charmander>archheretic: anyway, you didn’t link to a paste
12:36:54  <pandem1>not familiar with bcrypt but a system where the "hashed password" includes the salt in cleartext sounds weird
12:37:04  * Quatrokingjoined
12:37:06  <BiQ>charmander: the idea of a salt is that it's added to the password before hashing, to make brute-force attacks harder
12:37:29  <charmander>bcrypt stores the salt alongside the hash
12:37:49  <pandem1>whats the point of the salt then
12:37:51  <charmander>if it weren’t in cleartext, how would you reuse it?
12:38:07  * milardovichjoined
12:38:21  <charmander>and it doesn’t make brute-force attacks harder; it makes precomputation and telling whether two hashes are the same password impossible
12:39:03  <archheretic>all of the viktor users are using the same password https://i.imgur.com/ueSksEH.png
12:39:20  <charmander>archheretic: you don’t need a `salt` column
12:39:24  * milardovichquit (Remote host closed the connection)
12:39:43  <archheretic>yes I see that now that I got a better understanding on how it works
12:39:47  <charmander>(pass the hash where a salt is expected, or use your bcrypt library’s `compare` function)
12:40:49  <BiQ>okay, I'll admit I didn't know bcrypt adds the salt into password field. The salt is always fixed-length
12:40:55  <BiQ>?
12:40:57  * BeerLoverquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:41:00  <charmander>BiQ: yes.
12:41:34  <charmander>archheretic: here’s a library of mine that tries to make the use of bcrypt even more straightforward: https://www.npmjs.com/package/bcrypt-small
12:42:03  <charmander>saves generating salt separately.
12:42:31  <archheretic>nice
12:42:54  * milardovichjoined
12:43:21  * Xatenev_joined
12:43:23  <Xatenev_>joepie91, you aroundß
12:44:00  * kmrjoined
12:44:10  * coot___________joined
12:44:29  <Xatenev_>I am using this code https://bpaste.net/show/2fb3d57e447b to execute a commadn on commandline
12:44:48  <Xatenev_>usually mocha(test-runner) runs with tons of colour codes to mark passign tests with greeen and failing with red
12:44:56  <Xatenev_>Sadly when using this approach - all the colour codes are gone
12:44:58  <Xatenev_>any idea how I can fix thaT?
12:45:29  <synthmeat>Xatenev_: that looks like terrible approach to what's supposed to be painless test integration
12:45:33  <charmander>why are you using that approach at all?
12:45:36  * trevorjoined
12:45:37  <synthmeat>:)
12:45:58  <synthmeat>there are possible use-cases, i imagine. would like to be elightened though
12:46:06  <synthmeat>n
12:46:21  <Xatenev_>synthmeat, charmander its impossible to pass paramters into package.json
12:46:32  <Xatenev_>I mean into the middle of a call for example
12:46:35  <Xatenev_>you can only put them at the end
12:46:43  <Xatenev_>if you have a script like; "scripts": "test": "mocha whatever"
12:46:52  <charmander>(this pipeline includes `| cat |`??)
12:46:54  <Xatenev_>you cannot pass a folder for example into the middle of it.
12:47:05  <Xatenev_>thus I've outsourced this into a nodejs file
12:47:19  * mh_joined
12:47:19  <Xatenev_>so I can just call the nodejs file iwth the arguments and it handles the rest.
12:47:20  * trevorquit (Client Quit)
12:47:29  <Xatenev_>thats why I run the mocha in the exec of a nodejs file
12:47:37  * Delta-Onejoined
12:47:47  <Xatenev_>synthmeat, It really IS painless for people that wnana integrate new tests
12:47:56  <Xatenev_>synthmeat, Just creating the environment is a little tricky. .p
12:48:07  <Xatenev_>So any ideas on that?
12:48:09  * trevorjoined
12:48:20  * sternsjoined
12:48:21  <charmander>Xatenev_: "test": "sh -c 'mocha \"$1\"/tests' sh"
12:49:09  <Xatenev_>charmander, are you sure that works?
12:49:16  <charmander>no. did you try it?
12:49:18  <Xatenev_>charmander, just cause I wasted a day trying to get arguments into it - and nothing works
12:49:21  <Xatenev_>charmander, so im PRETTY sure that wont work.
12:49:39  <charmander>should be pretty fast to try though
12:49:45  <Xatenev_>its useless tho it wont work
12:49:58  <charmander>why not
12:50:11  <Xatenev_>because I found articles on NPM stating there is no possibility to do so.
12:50:20  <Xatenev_>I mean in the official documentation.
12:50:25  <synthmeat>um. technically, you can most definitely reorder the pipeline so that you *can* put your argument last. no need for it being in the middle at all (if it's just one)
12:50:55  * NileshGjoined
12:50:58  <charmander>Xatenev_: well, this one is slightly different, so give it a try
12:51:01  <Xatenev_>synthmeat, no thats not possible
12:51:08  <Xatenev_>synthmeat, because mocha has to be in the end of course
12:51:18  <Xatenev_>synthmeat, and I want the argument somewhere else
12:51:22  <Xatenev_>synthmeat, so of course it wont work reordering the pipeline
12:51:36  <Xatenev_>charmander, i will try it just so you know it doesnt work .p
12:51:41  <charmander>appreciated =)
12:52:17  <Xatenev_>charmander, doesnt work
12:52:21  <charmander>with what error
12:52:25  <Xatenev_>charmander, executes $1 literally
12:52:31  * cagedwisdomquit (Remote host closed the connection)
12:52:32  <Xatenev_>charmander, it doesn#t resolve to a param
12:52:34  <charmander>how did you run it
12:52:44  <Xatenev_>charmander, npm run something
12:52:47  <Xatenev_>env
12:52:55  <Xatenev_>'npm run something env'
12:53:11  <charmander>so you changed "test" to "something"
12:53:16  <charmander>did you change anything else?
12:53:28  <Xatenev_>no
12:53:32  <Xatenev_>its fine like this nayways
12:53:35  <Xatenev_>this is not my question at all :(
12:53:45  <TyrfingMjolnir>Is there a right time to use a var in es6?
12:53:47  <Xatenev_>its a lot cleaner having the scripts in the nodejs files
12:54:01  <charmander>TyrfingMjolnir: not really
12:54:06  <Xatenev_>TyrfingMjolnir, if you want to use encapsulation I guess
12:54:12  <Xatenev_>not sure if that is possible with let/const too
12:54:16  <Xatenev_>because of the different scoping
12:54:16  <charmander>what.
12:54:18  <Xatenev_>but i have no idea
12:54:18  <Xatenev_>:p
12:54:32  <Xatenev_>charmander, if you want to have 'private' variables in a JS object
12:54:35  <Xatenev_>charmander, you usually used "var"
12:54:37  * TikityTikjoined
12:54:47  <charmander>yeah that’s not going to break with `let`
12:54:53  <Xatenev_>nice
12:54:57  <Xatenev_>charmander, so any idea on my issueb tw
12:54:57  <Xatenev_>btw
12:55:12  <charmander>Xatenev_: I’m not sure why it would have a literal $1
12:55:18  <Xatenev_>charmander, no I mean my original question =(
12:55:23  <Xatenev_>not the question you guys made up :p
12:55:31  <charmander>well I would resolve your original question in the same way
12:55:46  <charmander>Node or npm script, it still ought to involve running `sh` explicitly
12:55:48  <Xatenev_>probably. but it becomes totally ugly
12:55:51  <Xatenev_>anyways
12:55:56  <Xatenev_>if I put that whole pipeline thing into package.json
12:56:07  <Xatenev_>imho atleast
12:56:18  * ok91joined
12:56:26  <charmander>no, I mean you would run `sh` from your Node script
12:56:29  <NileshG>hi
12:56:43  <charmander>Xatenev_: but if this little test with npm isn’t working maybe that won’t work either
12:57:12  <NileshG>how can I create executable for source code which accepts command line arguments "https://www.npmjs.com/package/pkg"
12:57:35  * Argylelabcoatjoined
12:57:39  * Argylelabcoatquit (Client Quit)
12:57:51  * tzeroquit (Read error: Connection reset by peer)
12:58:02  * zpmorganquit (Ping timeout: 246 seconds)
12:58:26  <GreenJello>NileshG, you've been stuck on this for days, try explaining your exact problem with pkg
12:59:13  * jeffreylevesque_joined
12:59:14  <Xatenev_>charmander, somebody says I should use spawn instead of exec
12:59:15  <Xatenev_>with customFds
12:59:16  <Xatenev_>whatever that is
12:59:17  <Xatenev_>i will try that
12:59:19  <charmander>Xatenev_: how are you determining that it runs "$1" literally?
12:59:20  * tzerojoined
12:59:20  <Xatenev_>maybe it allows me to show colors
12:59:37  <charmander>Is it because there’s a line of output that says “> sh -c 'mocha "$1"/tests' …”?
12:59:48  * jphasejoined
13:00:05  <charmander>(and yes, you should use spawn)
13:00:17  <charmander>(with sh)
13:00:33  <charmander>(and stdio: 'inherit')
13:01:10  <charmander>Xatenev_: if you’re seeing that line, it’s expected and does not mean "$1" is literal
13:01:22  <charmander>`sh` is the one that expands it
13:01:53  * jeffreylevesquequit (Ping timeout: 246 seconds)
13:01:56  * jeffreylevesque_changed nick to jeffreylevesque
13:03:06  * ok91quit (Ping timeout: 252 seconds)
13:04:01  * DeltaHea_joined
13:04:11  * boopathijoined
13:04:38  <charmander>Xatenev_: "test": "sh -c 'mocha --recursive \"$1\"/tests' sh"
13:05:00  <charmander>I forgot --recursive the first time. Sorry.
13:05:15  * EyePulpjoined
13:05:35  * emuskquit (Ping timeout: 248 seconds)
13:05:57  <NileshG>GreenJello: yes I have been trying different approaches to solve the problem.
13:06:08  <NileshG>I was able to solve below using specifying file name in assets
13:06:13  <NileshG>webapp.js:
13:06:17  <NileshG>const serverType = opts.serverType || 'http';
13:06:20  <NileshG>const serverImpl = require(serverType); -> variable inside require
13:06:26  <NileshG>package.json:
13:06:27  <GreenJello>NileshG, don't paste multiple lines in the channel
13:06:30  <NileshG>"assets": "lib/server/webapp.js"
13:06:32  <GreenJello>!paste
13:06:32  <ecmabot>GreenJello: Show some code, but don't paste it on the channel. For frontend code (HTML/CSS/JS), you can provide a test case that we can run, so that we can help you: use https://jsfiddle.net, https://jsbin.com, https://repl.it, or http://requirebin.com. For Node.js code, use sites like https://gist.github.com, http://dpaste.com, http://vpaste.net and https://bpaste.net
13:06:35  <NileshG>ohh ok sorry
13:06:35  * marininquit (Quit: Sleep quit)
13:09:02  <NileshG>GreeJello: https://pastebin.com/cPp07GdK
13:09:14  * TikityTikquit (Remote host closed the connection)
13:09:54  <GreenJello>NileshG, do you get an error?
13:10:05  <Xatenev_>charmander, how do I call 'bash' with spawn?
13:10:19  <Xatenev_>charmander, when I do spawn('bash', ['echo \'whatever\']) it seems to interpret that as filename or something
13:10:21  <Xatenev_>instead of a script
13:10:40  <GreenJello>Xatenev_, ['-c', 'echo ...
13:10:51  <charmander>Xatenev_: did you try the updated npm script?
13:10:52  * kjeldahlquit (Ping timeout: 240 seconds)
13:10:54  <NileshG>GreenJello: Dynamic require may fail at run time, because the requested file is unknown at compilation time and not included into executable. Use a string literal as an argument for 'require', or leave it as is and specify the resolved file name in 'scripts' option.
13:11:03  <charmander>Xatenev_: I did test it this time =)
13:11:09  <Xatenev_>GreenJello, Ill tr
13:11:12  <Xatenev_>GreenJello, try*
13:11:41  <Xatenev_>GreenJello, yippie it works
13:11:42  <Xatenev_>GreenJello, thanks a lot
13:11:47  <charmander>Xatenev_: how about the npm script
13:11:53  <Xatenev_>charmander, no i did not try that
13:11:57  <charmander>"sh -c 'mocha --recursive \"$1\"/tests' sh"
13:11:58  * orbyt_joined
13:12:00  <Xatenev_>charmander, i am fully satisfied with my solution
13:12:01  <GreenJello>NileshG, you can't use variables in the require()
13:12:09  <charmander>Xatenev_: i’m not
13:12:09  <GreenJello>NileshG, list out each possible requrie()
13:12:15  <Xatenev_>charmander, why not
13:12:22  <charmander>Xatenev_: because it’s way more complicated than necessary
13:12:31  * samschjoined
13:12:35  <charmander>and runs multiple mocha processes, which is painful
13:12:47  <charmander>mocha supports --recursive; use it, not `find` and `xargs`
13:12:50  <Xatenev_>charmander, --recursive doesnt work here
13:12:50  * DeltaHeavyquit (Disconnected by services)
13:13:01  <charmander>why doesn’t it work here, Xatenev_?
13:13:08  * DeltaHea_part
13:13:15  <charmander>it looks like you’re just running all *.js?
13:13:17  * titankillerquit (Read error: Connection reset by peer)
13:13:17  <Xatenev_>charmander, Idk I had it ago 2 days and reomved it
13:13:31  <Xatenev_>i forgot why though
13:13:34  * Cabanossiquit (Ping timeout: 264 seconds)
13:13:35  * DeltaHeavyjoined
13:13:36  <NileshG>GreenJello: as per pkg doc we can use variable but have to declare then in assets(https://www.npmjs.com/package/pkg#config)
13:13:36  <charmander>well, maybe put it back
13:13:49  * titankillerjoined
13:13:51  <charmander>you really want one mocha process
13:13:51  <Xatenev_>charmander, ah its because
13:14:00  <Xatenev_>charmander, we have for example the framework in the dir too
13:14:10  <charmander>Xatenev_: your framework is inside /tests?
13:14:12  <Xatenev_>charmander, and if we use recursive it starts all the tests
13:14:13  * Cabanossijoined
13:14:17  * emuskjoined
13:14:23  <Xatenev_>charmander, no but imagine you have 56 different modules
13:14:30  <Xatenev_>charmander, so basically: ./module1 ./module2
13:14:33  <Xatenev_>charmander, ./framework
13:14:38  <GreenJello>NileshG, you'd have to add each possible file it resolves to
13:14:46  <Xatenev_>charmander, we'd have to call --recursive for "./" and it'd execute the framework tests too
13:14:47  * guccimeowjoined
13:14:56  <GreenJello>NileshG, do it right in the js; variables in require() are an anti-pattern
13:15:01  <charmander>Xatenev_: you would call it for env/tests, not ./
13:15:01  <Xatenev_>charmander, we won't get around starting 56 different mocha instances atleast, because we have to execute the tests for each module on their own
13:15:18  <Xatenev_>charmander, no
13:15:32  <Xatenev_>charmander, we'd execute it for ./ so it goes into ./module1 >execute all tests< goes into .module2 >execute and so on
13:15:48  <NileshG>GreenJello: please check this I have added error information : https://pastebin.com/h1SgxJ5s
13:15:55  <Xatenev_>and that'll execute all the framework tests too
13:15:57  <charmander>Xatenev_: so . in this situation is a “tests” directory?
13:16:05  * webguynowquit (Ping timeout: 240 seconds)
13:16:10  <Xatenev_>charmander, yea
13:16:15  <Xatenev_>charmander, but its .module1/tests
13:16:17  <GreenJello>NileshG, yep, still doing dynamic require
13:16:19  <Xatenev_>charmander, .module2/tests and so on.
13:16:30  * webguynowjoined
13:16:44  <charmander>Xatenev_: your `env` variable is `module1`?
13:17:00  <Xatenev_>charmander, no
13:17:11  <Xatenev_>charmander, thats the "folder" variable
13:17:12  <charmander>er, sorry, `folder` variable
13:17:15  <charmander>okay.
13:17:24  <Xatenev_>env decides which settings.js it takes.
13:17:28  <Xatenev_>to set the base url and stuff
13:17:49  * teratornjoined
13:17:55  <NileshG>GreenJello: but I have mentioned js in assets..
13:18:08  <GreenJello>NileshG, don't ask for help if you're not going to take it
13:18:24  <NileshG>GreenJello: it worked for me in first case.. any pointers on same..
13:19:23  * guccimeowquit (Ping timeout: 246 seconds)
13:20:02  * roomcayz_quit (Remote host closed the connection)
13:21:10  <charmander>Xatenev_: if the Node script involves a loop or something, that’s fine then
13:21:25  <charmander>Xatenev_: should still be able to https://bpaste.net/show/7c9dcad6e97b, though
13:22:30  <NileshG>GreenJello: Sorry its not the case. I'm just explaining what I have tried to you. I will obviously going to try your said approach.
13:22:35  * h12ojoined
13:23:00  * marininjoined
13:23:11  * webguynowquit (Ping timeout: 248 seconds)
13:23:55  * webguynowjoined
13:23:57  * led1quit (Quit: led1)
13:25:43  * jay_quinjoined
13:25:54  * trevorquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:26:30  * trevorjoined
13:27:44  * BeerLoverjoined
13:30:49  * marininquit (Remote host closed the connection)
13:31:17  * marininjoined
13:32:30  * plevexierjoined
13:33:26  * ephlipjoined
13:33:30  * fourqjoined
13:33:39  * trevorquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:34:13  * mizu_no_oto_workjoined
13:34:26  * boopathiquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:35:02  * yousucjoined
13:36:16  * Soopamanjoined
13:36:30  * NileshGquit (Ping timeout: 260 seconds)
13:37:02  * mizu_no_oto_workquit (Client Quit)
13:38:18  * igemnacequit (Quit: WeeChat 1.9)
13:38:49  * shimejoined
13:38:54  * shimequit (Client Quit)
13:39:07  * shimejoined
13:40:03  * apparitionjoined
13:40:10  * plevexierquit (Quit: Leaving.)
13:41:05  * trevorjoined
13:42:14  * kroetejoined
13:44:07  <kroete>Hi is there a way to catch keyevents globally not only on process stdin? Example https://pastebin.com/G3CbRAGB, this does not catch global keyevents
13:45:04  * MrAbaddonquit (Remote host closed the connection)
13:45:13  <Xatenev_>charmander, Btw that script I posted doesnt mean mocha is executed more often
13:45:23  <Xatenev_>charmander, Only one mocha instance is being called by using 'xargs'
13:45:30  <Xatenev_>charmander, with a list of files. Dont lie to me =(
13:48:08  * pdefreitasjoined
13:50:01  * mh_quit (Remote host closed the connection)
13:50:45  * sz0joined
13:51:15  * kworkerjoined
13:51:30  <chrx>This is a very long day.
13:53:25  * mh_joined
13:54:32  * trevorquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:54:32  * simkajoined
13:54:41  * mr-foobarquit (Ping timeout: 248 seconds)
13:54:44  * jay_quinquit (Ping timeout: 246 seconds)
13:55:22  * zivesterquit (Ping timeout: 260 seconds)
13:56:27  * mr-foobarjoined
13:57:53  * YoYquit (Read error: Connection reset by peer)
13:58:03  * YoYjoined
13:58:45  <chrx>Why would npm refuse to work with sudo?
13:59:04  <chrx>As well as reporting a different older version?
13:59:07  * BeerLoverquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:59:12  * adammquit (Ping timeout: 252 seconds)
13:59:30  <Xatenev_>chrx, it doesnt
13:59:48  * arthurDentjoined
13:59:51  <chrx>Doesn't what
14:00:03  <Xatenev_>it works properly with sudo
14:00:12  * Stevermanjoined
14:00:17  * iffraffjoined
14:00:30  <Xatenev_>and it shouldnt report an older version. Probably you are confused right now
14:00:37  <chrx>Generally, perhaps. Mine doesn't. Somebody else was trying to help me earlier diagnose what was wrong with the installation, we gave up and I went with nvm instead.
14:00:52  <Xatenev_>chrx, did you try simply reinstalling
14:00:56  <chrx>Which appeared to install and update the version correctly, but any time I escalate to admin it fails and reports an older version.
14:01:19  <iffraff>Hi I have some npm dependencies that do a whole bunch of compiling when I do npm i e.g.mmmagic, cdl and others. is there any way to get precompiled versions of these?
14:01:24  <chrx>Yes. Re-installation, cache clean, etc.
14:01:25  * boopathijoined
14:01:27  <Xatenev_>weird
14:01:32  <iffraff>or can someone explain why I have to do that?
14:01:40  * AvianFluquit (Remote host closed the connection)
14:02:12  <chrx>It's beyond weird, I've spent all day on it and I'm ready to scream. I simply cannot get node to update. It's like I have two installations somehow.
14:02:16  * dyn0sAuri0joined
14:02:47  * plevexierjoined
14:03:07  * Argylelabcoatjoined
14:03:20  <chrx>In fact I'm sure it's a local/global issue but have no idea how to address.
14:03:21  <kroete>Found a solution to catch keystrokes globally with gkm (https://github.com/tomzx/gkm).
14:03:29  <iffraff>chrx jumpin in here with out hearing the initial conversation. you having trouble updating node?
14:03:45  * soeequit (Ping timeout: 248 seconds)
14:04:01  <chrx>I sure am, let me give you the error.
14:04:42  * bdunavantjoined
14:04:43  <charmander>Xatenev_: oh, right. why is there a `for` then?
14:04:44  * Planet_ENquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:04:49  <charmander>is `folder` a glob?
14:05:09  <Xatenev_>charmander, folder is a folder
14:05:13  <chrx>node --version returns v8.5.0
14:05:21  <chrx>sudo node --version returns v0.8.14
14:05:24  <charmander>Xatenev_: so… why is there a `for`
14:05:36  <Xatenev_>charmander, it echos 'settings_prod.js' loops through a whole directory, catches all the tests - merges settings_prod.js into that list - executes mocha on it
14:05:50  <Xatenev_>chrx, Yea sounds like an easy issue?
14:05:53  * notewelljoined
14:05:57  <Xatenev_>chrx, your root has another node version than your local user
14:06:00  <charmander>Xatenev_: it’s the `find` that does that, though
14:06:18  <Xatenev_>chrx, do 'sudo which node' and 'which node'
14:06:20  <Xatenev_>chrx, and compare
14:06:26  * Stevermanquit (Quit: WeeChat 1.9)
14:06:27  <iffraff>chrx: don't want to get your hopes up, I'm no linux expert, but I think I saw something similar where node was installed in nodejs folder and another version in a node folder, and there were simlinks screwing things up
14:06:33  <Xatenev_>chrx, they'll most likely differ
14:06:45  <chrx>They do indeed differ.
14:06:59  * roomcayzjoined
14:06:59  * trevorjoined
14:07:05  <Soopaman>greetings!
14:07:11  <Soopaman>is there a chan for .htaccess
14:07:12  * nodweberjoined
14:07:27  <Xatenev_>charmander, the 'for' is for the recursivity in tests I guess
14:07:34  <Xatenev_>charmander, so you can have tests/someDir and tests/somedir2
14:07:36  <chrx>local is utilizing nvm correctly, it would seem. sudo is /usr/local/bin/node which I failed to get to update using reops.
14:07:38  <Xatenev_>charmander, it loops through all of those
14:07:38  * tlbdkquit (Remote host closed the connection)
14:07:55  <charmander>Xatenev_: it doesn’t do anything
14:08:00  * mh_quit (Remote host closed the connection)
14:08:06  <charmander>equivalent: (echo 'settings_ENV.js'; find FOLDER/tests/ -name '*.js') | xargs ./node_modules/mocha/bin/mocha -t 0
14:08:15  * mh_joined
14:08:39  <charmander>also equivalent: node_modules/.bin/mocha --recursive settings_ENV.js FOLDER/tests/
14:08:50  <charmander>Xatenev_: which is why you can simplify to spawning mocha without a shell
14:09:14  * hrujoined
14:09:48  <Xatenev_>charmander, 'without a shell' i dont know what that is supposd to mean
14:10:01  <Xatenev_>charmander, I guess your right, that is a lot cleaner
14:10:06  <Xatenev_>the recursive thing
14:10:10  <Xatenev_>didnt know oyu can just pass two paths in it heh
14:10:14  <charmander>Xatenev_: https://bpaste.net/show/7bc599a54ff0
14:10:23  <charmander>without `bash`
14:10:39  <charmander>this also makes it work if `folder` has shell special characters in it
14:10:45  <charmander>it won’t, but there’s peace of mind
14:11:06  * roomcayzquit (Client Quit)
14:11:36  <Xatenev_>charmander, TypeError: "file" argument must be a non-empty string
14:11:52  * konsoleboxquit (Quit: .)
14:12:00  * roomcayzjoined
14:12:01  * Cabanossiquit (Ping timeout: 276 seconds)
14:12:01  <Xatenev_>charmander, ah
14:12:07  <Xatenev_>charmander, that path you picked is wrong
14:12:09  <Xatenev_>for mocha
14:12:10  <Xatenev_>I guess
14:12:36  <Xatenev_>hm thats not the error it seems tho
14:12:39  <Xatenev_>fixed the path and its still the same err
14:12:41  <charmander>Xatenev_: Sorry, is spawn() like this? https://bpaste.net/show/ffe1e88d775e
14:13:13  <charmander>it is. used to Python.
14:13:45  <Xatenev_>charmander, yes that works perfect
14:13:49  <charmander>phew
14:13:49  <Xatenev_>thanks thats a lot better than what I had before.
14:14:20  * Cabanossijoined
14:14:30  * ppangquit (Quit: Leaving)
14:14:41  <Xatenev_>charmander, I have this too '(echo \'settings_' + env + '.js\'; for d in ../*/tests/; do find "$d" -name \'*.js\'; done;) | cat | xargs ./node_modules/mocha/bin/mocha -t 0;'
14:14:55  <charmander>that makes more sense
14:14:55  <Xatenev_>That iterates through all modules (what I explained earlier) and performs all tasks
14:15:13  <Xatenev_>I guess thta cant be solved the way you did it
14:15:40  <Xatenev_>(can it?) :p
14:15:51  <charmander>can still drop the cat: '(echo \'settings_' + env + '.js\'; for d in ../*/tests/; do find "$d" -name \'*.js\'; done;) | xargs ./node_modules/mocha/bin/mocha -t 0;'
14:16:25  * drejjoined
14:16:26  * adammjoined
14:16:33  <Xatenev_>true
14:16:39  <Xatenev_>charmander, thank you
14:16:44  <charmander>then the subshell: 'for d in ../*/tests/; do find "$d" -name \'*.js\'; done | xargs ./node_modules/mocha/bin/mocha -t 0 settings_' + env + '.js'
14:16:50  * randymarsh9part
14:17:02  <Xatenev_>now I just have to find out how to fix my selenium problem
14:17:02  <Xatenev_>heh
14:17:18  * trevorquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:17:38  <Xatenev_>charmander, I guess you don't know too much about selenium heh
14:17:39  * tarkusquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:17:46  <charmander>then the `for`: 'find ../*/tests/ -name \'*.js\' | xargs ./node_modules/mocha/bin/mocha -t 0 settings_' + env + '.js'
14:18:20  * kmrquit (Quit: Out)
14:18:20  <charmander>then use the simpler `mocha` path: 'find ../*/tests/ -name \'*.js\' | xargs node_modules/.bin/mocha -t 0 settings_' + env + '.js'
14:18:34  <Xatenev_>I dont know what a simpler mocha path is
14:18:34  <Xatenev_>lul
14:18:39  * webguynowquit (Ping timeout: 248 seconds)
14:18:48  <Xatenev_>mocha isn't installed globally and I dont want it to
14:19:07  <charmander>then… wait, I forgot about --recursive: 'node_modules/.bin/mocha -t 0 settings_' + env + '.js --recursive ../*/tests/'
14:19:07  * webguynowjoined
14:19:23  <charmander>Xatenev_: simpler path is the symlink in node_modules/.bin. doesn’t require a global install.
14:19:26  * trevorjoined
14:19:27  <Xatenev_>oh
14:19:28  <Xatenev_>just seen
14:19:32  <Xatenev_>its node_modules/.bin/_mocha
14:19:45  <charmander>node_modules/.bin/mocha doesn’t exist?
14:19:49  * AtumTjoined
14:19:56  <Xatenev_>nope
14:19:58  <Xatenev_>only with underscore
14:20:22  <Xatenev_>I just ran npm update and randomly it appeared now
14:20:25  <Xatenev_>Maybe I deleted it for whatever reaosn
14:20:25  <Xatenev_>xd
14:21:16  * marininquit (Quit: Sleep quit)
14:21:37  <charmander>Xatenev_: so, at that point, I’d spawn that one as ['sh', '-c', 'node_modules/.bin/mocha -t 0 "settings_$1.js" --recursive ../*/tests/', 'sh', env]
14:22:03  <charmander>since it’s good practice not to build shell scripts dynamically
14:22:22  <Xatenev_>I prefer 'bash' tho
14:22:23  <Xatenev_>I guess
14:22:27  <charmander>bash works too
14:22:28  <Xatenev_>i guess it doesnt matters here
14:22:56  <charmander>(it’s somewhat likely your sh is even bash in sh mode)
14:23:10  <Xatenev_>charmander, its still spawn('sh', [ tho ;)
14:23:20  <charmander>right, thanks =D
14:23:50  * Fishrock123joined
14:23:58  <Xatenev_>charmander, noo this is not good =(
14:24:06  <charmander>?
14:24:08  <Xatenev_>charmander, like this I loose the ability of it being a stream of data that is sent in realtime
14:24:19  <Xatenev_>charmander, so I don't see the process but only the result in the end
14:24:29  <charmander>this is with { stdio: 'inherit' }?
14:24:45  <Xatenev_>no
14:24:49  <Xatenev_>i removed it because it wasn't includeed in your paste
14:25:07  <charmander>it wasn’t? sorry, that’s my mistake
14:25:08  * bybbquit (Remote host closed the connection)
14:25:18  <charmander>{ stdio: 'inherit' } is important for both of these
14:26:10  <Xatenev_>its not that tho
14:26:24  <Xatenev_>or maybe i simply didnt understand how the resulting code should look liken
14:26:25  <Xatenev_>no idea
14:26:49  <charmander>Xatenev_: can you paste the original that’s realtime and the modified version that isn’t?
14:27:00  * MarkyCjoined
14:27:03  <Xatenev_>charmander, well the modified version is your last paste
14:27:10  <Xatenev_>charmander, with {stdio: 'inherit'}
14:27:26  <Xatenev_>and the original was that1 '(echo \'settings_' + env + '.js\'; for d in ../*/tests/; do find "$d" -name \'*.js\'; done;) | cat | xargs ./node_modules/mocha/bin/mocha -t 0;'
14:27:34  <charmander>(<https://bpaste.net/show/ffe1e88d775e>? it did include {stdio: 'inherit'})
14:27:47  <Xatenev_>charmander, you are confusing things entirely now
14:27:52  <Xatenev_>that was the script from another script
14:28:03  <charmander>oh, by “paste” you just mean the message?
14:28:03  <Xatenev_>that was before I pasted the new script I was editing
14:28:12  <Xatenev_>yea
14:28:14  * excitepart
14:28:20  <Xatenev_>that 'sh', '-c' thing
14:29:36  * FOBABALOLA_joined
14:29:43  * led_ir22joined
14:29:50  <charmander>hmm. but the previous one worked in realtime?
14:30:00  <Xatenev_>ye
14:30:23  <Xatenev_>this is th ewhole code now: spawn('sh', ['-c', 'node_modules/.bin/mocha -t 0 "settings_' + env + '.js" --recursive ../*/tests/', 'sh', { stdio: 'inherit' }]);
14:30:31  <Xatenev_>and the variables on top of course .p
14:30:38  <charmander>{ stdio: 'inherit' } goes outside the array
14:30:56  <charmander>as an argument to `spawn`
14:31:03  <Xatenev_>omgf
14:31:06  <Xatenev_>ye it owrks
14:31:13  * Xatenev_goes suicide
14:31:13  <charmander>phew ×2
14:31:21  <Xatenev_>heh, my bad sry
14:31:24  <cdal>my company is exploring enforcing functional programming as a principle moving forward into our node backend
14:31:30  <charmander>no problem
14:32:08  <Xatenev_>charmander, I am handling way too much new stuff at the moment. My brain goes wild
14:32:09  <Xatenev_>lol
14:32:11  * FOBABALOLAquit (Ping timeout: 246 seconds)
14:32:35  <cdal>my super just sent me a link to ramda. https://github.com/Ramda/ramda. anybody gone down this path before (the fp-js path in general, not ramda specific)? any thoughts or advise or recommended libraries
14:32:47  <Xatenev_>I am able to do npm run test activities dev now to execute all our tests for the dev environment for the activities module
14:32:50  <Xatenev_>that IS pretty cool.
14:34:12  * ephlipquit (Ping timeout: 246 seconds)
14:38:42  * ddelrio1986joined
14:40:21  * atescjoined
14:40:23  * megamacedquit (Quit: Leaving)
14:42:08  * chrxquit (Ping timeout: 240 seconds)
14:43:25  * ch007mquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
14:44:15  * mh_quit (Remote host closed the connection)
14:45:24  * fourqquit (Ping timeout: 252 seconds)
14:46:02  * ephlipjoined
14:46:08  * FOBABALOLA_quit (Ping timeout: 240 seconds)
14:47:14  * wavdedquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:48:14  * rorrojoined
14:48:49  * atescquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:49:08  * chrxjoined
14:50:27  * nyaquit (Remote host closed the connection)
14:50:42  * kroetequit (Quit: leaving)
14:50:54  * nyajoined
14:51:59  * mh_joined
14:52:10  * notewellquit (Quit: My Mac Pro has gone to sleep. ZZZzzz…)
14:52:14  * cybeaerquit (Ping timeout: 240 seconds)
14:52:33  * Chuguniyquit (Ping timeout: 252 seconds)
14:52:40  * dman777_alterjoined
14:53:25  * chrxquit (Client Quit)
14:53:45  <dman777_alter> document.querySelector('#f-modal-body')[heightType] ... how can I expand the variable heightType?
14:53:52  * chrxjoined
14:54:15  * BeerLoverjoined
14:54:46  * asmcoderjoined
14:54:47  * marininjoined
14:54:52  * raynoldjoined
14:54:57  * mr-foobarquit (Ping timeout: 248 seconds)
14:55:33  * shimequit (Quit: My MacBook Air has gone to sleep. ZZZzzz…)
14:55:33  * bybbjoined
14:55:51  * nyaquit (Ping timeout: 252 seconds)
14:56:12  * zivesterjoined
14:56:37  * ch007mjoined
14:57:23  * zpmorganjoined
14:57:27  <chrx>How do I update the local version of node, rather than the global, if repo updates aren't doing it?
14:57:44  * orbyt_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:57:47  * marininquit (Client Quit)
14:57:54  <yousuc>if u uninstall node and use nvm it would be easier to upgrade versions
14:58:22  <chrx>I'm using nvm. Which works fine. But now sudo and non-sudo have different versions. I need to unite them
14:58:37  <yousuc>well nvm stays in the user's container
14:58:41  <yousuc>in terms
14:58:53  <yousuc>it is not widely available outside said user
14:59:20  <chrx>So how do I address the sudo version
14:59:20  * mr-foobarjoined
14:59:28  * fourqjoined
14:59:35  <yousuc>well sudo, install nvm into that account
14:59:41  * apparitionquit (Quit: Bye)
15:00:11  * milardovichquit (Remote host closed the connection)
15:00:18  <chrx>I thought I did that. I'll try installing nvm in both sudo and non-sudo then.
15:00:18  * BeerLoverquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
15:00:28  <yousuc>that should work out fine
15:01:08  * snowkidindjoined
15:01:51  <chrx>Both install into user/.npm
15:02:12  * tangorriquit (Quit: tangorri)
15:02:12  <yousuc>yes it should
15:02:19  * FOBABALOLA_joined
15:02:19  * marininjoined
15:02:36  * notewelljoined
15:02:38  <yousuc>or u mean when u sudo it installs again in same user directory?
15:02:47  * d10n-workquit (Quit: Connection closed for inactivity)
15:02:53  * BeerLoverjoined
15:03:11  <chrx>Yeah
15:03:18  <yousuc>k, then sudo -i
15:03:26  * plauclairjoined
15:03:31  <dman777_alter>how could I do a computed property name on the variable 'heightType' on document.querySelector('#f-modal-body')[heightType]? In documentation, I seen it done on a property that is a key of a object but not a property alone
15:03:38  <yousuc>then use the curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.4/install.sh | bash
15:03:52  * MarkyCquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
15:04:01  * Industrialquit (Ping timeout: 248 seconds)
15:04:27  <chrx>Aha, that went to root/.npm
15:04:33  * amarashovquit (Quit: WeeChat 1.9)
15:04:36  <yousuc>:)
15:05:26  * emuskquit (Ping timeout: 246 seconds)
15:05:35  * AvianFlujoined
15:05:44  <yousuc>tho i wouldnt recommend being root running npm stuff but that is your fix for your issue
15:06:25  * wavdedjoined
15:06:31  * FunnyLookinHatjoined
15:06:31  * FunnyLookinHatquit (Changing host)
15:06:31  * FunnyLookinHatjoined
15:06:47  <chrx>I'm not sure it is. node --version and sudo node --version still return different versions
15:07:15  <yousuc>because sudo node uses global system paths
15:07:31  <yousuc>now sudo -i then run node --version will do the correct result
15:07:44  * h12oquit (Ping timeout: 240 seconds)
15:08:05  <chrx>It does indeed! So what's the difference between the two?
15:08:25  <yousuc>sudo -i logs u in as root user
15:08:35  * tkore\workquit (Read error: Connection reset by peer)
15:08:38  <yousuc>sudo {command} allows you to run a command as root
15:09:03  <dman777_alter>nm....spelling error in offsetHeight
15:09:05  <dman777_alter>:)
15:09:30  * BeerLoverquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
15:09:39  * dman777_alterquit (Quit: Page closed)
15:10:07  <chrx>Hm. Let me try installing these packages as root, then, and see if it works this time
15:10:47  * elsevero_joined
15:10:58  * bongjovijoined
15:11:39  * BeerLoverjoined
15:11:44  * elseveroquit (Ping timeout: 240 seconds)
15:11:44  * elsevero_changed nick to elsevero
15:12:05  * Cabanossiquit (Ping timeout: 246 seconds)
15:12:28  * srl295joined
15:13:17  * axs221joined
15:13:37  <chrx>No.
15:13:51  * omnipotgjoined
15:14:27  * Cabanossijoined
15:16:21  * nodweberquit (Remote host closed the connection)
15:16:46  * BeerLoverquit (Quit: Textual IRC Client: www.textualapp.com)
15:17:54  <yousuc>chrx, You can customize the install source, directory, profile, and version using the NVM_SOURCE, NVM_DIR, PROFILE, and NODE_VERSION variables. Eg: curl ... | NVM_DIR=/usr/local/nvm bash for a global install.
15:19:15  <chrx>I'll try that
15:19:21  <yousuc>more info is on it from github
15:19:30  <yousuc>also note that u will need to remove/edit your .bashrc
15:19:50  <yousuc>remove the prior path to nvm
15:20:12  <yousuc>so dont delete your .bashrc, edit it, the nvm paths should be at the end of it
15:20:44  * al-damirijoined
15:21:05  * OnkelTemquit (Ping timeout: 240 seconds)
15:21:07  * dman777_alterjoined
15:21:52  * h12ojoined
15:22:22  <chrx>Okay...
15:22:31  <chrx>I think the problem is that I have no idea what I'm doing.
15:22:35  <yousuc>lol
15:22:50  * LeBlaaancjoined
15:22:53  * dopesongquit (Remote host closed the connection)
15:22:53  <yousuc>just because u sudo {command} doesnt mean it will use the .bashrc from root user
15:23:08  <yousuc>it just means u will execute a command with root privilege
15:23:25  <chrx>Where is bashrc
15:23:27  * dopesongjoined
15:23:41  <yousuc>its in the users folder ie .bashrc
15:23:41  <dman777_alter>window.addEventListener('resize', setBottomPadding); how can I pass in the argument 'scrollHeight' to setBottomPadding and still keep it as a named function? I can't use a anon function because I will need to remove the event listener later on
15:24:29  <yousuc>gedit ~/.bashrc
15:24:33  * Chuguniyjoined
15:24:35  <chrx>Found it.
15:25:21  * oodaniquit (Quit: ZNC 1.6.3+deb1 - http://znc.in)
15:25:27  * nodweberjoined
15:25:56  * oodanijoined
15:26:15  <chrx>So NVM_DIR="$HOME/.nvm should be set to NVM_DIR="/.nvm"?
15:27:28  * trevorquit (Ping timeout: 240 seconds)
15:28:04  <dman777_alter>I guess more properly worded....how do I pass a arg with a function pointer when used as a handler?
15:28:07  * dopesongquit (Ping timeout: 260 seconds)
15:28:52  * ^esc_joined
15:29:28  <yousuc>chrx, i never really install nvm globally as it is moreso designed on a per user per shell basis
15:29:37  <yousuc>but not sure if this will help: https://github.com/creationix/nvm/issues/1533
15:29:49  * zumba_addictjoined
15:30:01  <chrx>I'm trying to install ionic, which isn't recognized at all with sudo.
15:30:10  * meadmoonjoined
15:30:18  <chrx>Trying to run it, sorry.
15:30:23  <chrx>I'm in total spaghetti.
15:30:39  * mh_quit (Remote host closed the connection)
15:31:09  * meadmoonquit (Client Quit)
15:31:13  * hextileXjoined
15:31:19  <chrx>It installs fine but I can't actually use it because the relevant version of npm is old and refuses to update
15:31:24  * hextileXquit (Client Quit)
15:31:31  * ^escquit (Ping timeout: 240 seconds)
15:32:06  <chrx>It fails to run because it requires permission for symlinks, but isn't recognized at all with sudo. Is there another way to allow symlink permissions?
15:32:07  <yousuc>well try installing ionic as the user in the user shell
15:32:22  <yousuc>npm install -g ionic
15:32:39  <yousuc>that should install be just fine
15:33:04  <chrx>It does install. But it won't run under sudo. And if it's not under sudo it doesn't have enough permissions for symlink creation.
15:33:21  * joepie91___joined
15:33:21  * joepie91___quit (Changing host)
15:33:21  * joepie91___joined
15:33:25  * joepie91quit (Read error: Connection reset by peer)
15:34:14  * dyn0sAuri0part ("WeeChat 1.9")
15:34:43  * ^esc_quit (Ping timeout: 240 seconds)
15:35:07  <Xatenev_>chrx, still the same problem? .p
15:35:10  <Xatenev_>(just looked in again)
15:35:14  <yousuc>https://ionicframework.com/docs/developer-resources/using-nvm/
15:35:44  * Fishrock123quit (Remote host closed the connection)
15:36:07  <yousuc>which seems to be just a copy paste from readme on nvm
15:36:10  * Silencedjoined
15:36:45  * OnkelTemjoined
15:37:11  <chrx>Afraid so Xatenev, Or related problems, at least.
15:37:17  * smccarthyjoined
15:37:19  * Gustavo6046joined
15:37:28  <chrx>Maybe I should stop trying to have dual npm installs and work on ionic lacking permission to create symlinks.
15:37:36  <Xatenev_>can I help?
15:37:38  <yousuc>sudo npm install -g [email protected]
15:37:47  <yousuc>then try sudo npm install -g ionic
15:38:13  <Xatenev_>chrx, If that is your only problem just give the appropriate permissions for ionic I guess? .p
15:38:22  <chrx>That puts me right back at the original problem, yousuc.
15:38:27  <yousuc>k
15:38:29  <chrx>Invoking sudo on npm gives me "ERROR: npm is known not to run on Node.js v0.8.14
15:38:29  <chrx>"
15:38:46  <Xatenev_>remove that stone-age nodejs
15:38:46  <yousuc>sudo -i
15:38:52  <yousuc>then npm install -g latest
15:38:52  <Xatenev_>holy
15:38:58  * paulcarrotyjoined
15:39:44  <yousuc>err npm install -g [email protected]
15:39:46  <Xatenev_>yousuc, That is exactly the same as invoking sudo on npm
15:39:49  <Xatenev_>(just saying)
15:39:54  <Xatenev_>so it'll most likely emit the same warning
15:39:54  <Xatenev_>oo
15:40:15  <yousuc>so
15:40:17  <yousuc>err no
15:40:19  <yousuc>sudo -i
15:40:23  <yousuc>logs u in as root user
15:40:27  <chrx>Lol I'm trying to remove it, Xat. That's the problem. There's two different npms and I can't unite them.
15:40:46  <yousuc>sudo npm runs npm command as root, if npm is in users $PATH
15:41:14  <yousuc>then sudo npm will use user nvm install of npm and not the global install of node he has as system
15:41:31  * Fishrock123joined
15:41:34  * chargenquit (Quit: BBL)
15:41:40  * smccarthyquit (Remote host closed the connection)
15:41:52  <yousuc>chrx, since u installed nvm in root
15:42:13  <yousuc>sudo -i, then gedit ~/.bashrc then comment out the paths for nvm
15:42:35  <yousuc>then as root account, npm install -g [email protected]
15:42:39  * groom1quit (Quit: Leaving.)
15:42:49  * shakes808joined
15:43:08  <yousuc>also exit out of root acccount and sudo -i again
15:43:09  * senns_quit (Read error: Connection reset by peer)
15:43:15  <yousuc>so there is no $PATH errors
15:43:16  * senns__joined
15:43:33  <chrx>Gotcha, trying it
15:43:42  <Xatenev_>yousuc, you are talking bullshit
15:43:44  <Xatenev_>yousuc, just saying
15:44:10  <Xatenev_>yousuc, if you do `sudo whateverScript` it will use the same as if you do `sudo -i; whateverScript`
15:44:28  * coot___________quit (Quit: coot___________)
15:44:30  <yousuc>Xatenev_, you fail to understand
15:44:37  <yousuc>man sudo
15:44:45  <Xatenev_>yousuc, what you said just wrong
15:44:54  <Xatenev_>then sudo npm will use user nvm install of npm and not the global install of node he has as system
15:44:55  <Xatenev_>=> wrong
15:45:01  <yousuc>sudo npm will run the npm he has in his user .bashrc
15:45:02  * tlbdkjoined
15:45:08  * vcanalesquit (Read error: Connection reset by peer)
15:45:15  <yousuc>NOT the npm installed as system
15:45:20  <Xatenev_>what does .bashrc has to do with this
15:45:30  <yousuc>sudo does NOT take into account the root users bash
15:45:39  <yousuc>sudo allows u to run a command as root
15:45:55  <Xatenev_>yousuc, if you have /usr/bin/file and ~/bin/file
15:45:59  * Willpart
15:46:01  <Xatenev_>and do sudo file it will call /usr/bin/file
15:46:10  <yousuc>Xatenev_, read the whole convo before you start ranting
15:46:14  <Xatenev_>K
15:46:14  <Xatenev_>im out then
15:46:16  * rchavikquit (Quit: -)
15:46:16  * nodweberquit (Remote host closed the connection)
15:47:26  <yousuc>i have about 15 minutes left before i got to head out for my dr apt
15:47:46  <chrx>npm --version returns the same as sudo npm --version without the local path in bashrc
15:48:12  <yousuc>chrx, because you are not getting what i am trying to explain to you about sudo
15:48:22  * soppmanjoined
15:48:29  <chrx>I did as you asked.
15:49:00  <chrx>I'm possibly not getting it at all, I think I'll post it at stackoverflow where people can drop down to my level more easily.
15:49:18  <yousuc>k if that doesnt work i should be back in a couple hours
15:49:36  * boopathiquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
15:49:39  <chrx>I did the sudo -i install as requested... no dice.
15:49:45  <chrx>Thanks for all your effort though
15:50:01  <yousuc>what linux distro u using
15:50:06  * dopesongjoined
15:50:11  <chrx>GalliumOS. Ubuntu, basically.
15:50:22  * soppman_joined
15:50:24  <chrx>You'd think it would be pretty out-of-the-box.
15:50:56  <Xatenev_>chrx, I pmd you. lets solve this quick
15:50:57  * OnkelTemquit (Ping timeout: 248 seconds)
15:50:59  <yousuc>sudo apt-get remove nodejs would remove the system version that is installed
15:51:00  * dopesong_joined
15:51:01  * devjunkjoined
15:51:05  * sopparusquit (Ping timeout: 240 seconds)
15:51:30  <yousuc>Xatenev_, just remember he also install nvm as root and all
15:51:44  <yousuc>and that he says ubuntu old package of nodejs
15:51:45  <Xatenev_>yea why though
15:51:52  <Xatenev_>from what I understood he wants to have one version only.
15:52:01  <Xatenev_>so we just remove nvm and all his node versions and install a proper one and it should work.
15:52:24  * zumba_addictquit (Remote host closed the connection)
15:52:30  * ahmedelgabriquit (Ping timeout: 252 seconds)
15:52:57  * devjunkchanged nick to vcanales
15:53:07  <Xatenev_>- Provided he responds and didn't actually hang himself due to the heavy problems with npm :p
15:53:15  * soppman__joined
15:53:26  <yousuc>feel free to help him
15:53:31  <chrx>Sure is the hardest installation I've ever had...
15:53:36  * nyajoined
15:53:38  <Xatenev_>yousuc, Its standard btw that ubutnu offers a really old version of node
15:53:52  <yousuc>yeah its called stable
15:53:56  <Xatenev_>chrx, respond to my pm.
15:53:56  <yousuc>old stable lol
15:53:59  <Xatenev_>yousuc, really old stable
15:54:22  * soppmanquit (Ping timeout: 260 seconds)
15:54:34  <yousuc>help him cleanup his user and root account of the nvm if u have him fix the ubuntu installed version
15:54:36  * sz0quit (Quit: Connection closed for inactivity)
15:54:43  <yousuc>im outta here in a few mins
15:54:57  * dopesongquit (Ping timeout: 260 seconds)
15:55:14  * soppman_quit (Ping timeout: 240 seconds)
15:55:28  * rorroquit (Ping timeout: 240 seconds)
15:56:26  * milardovichjoined
15:56:44  * tarkusjoined
15:58:09  * shimejoined
15:59:21  * Masterphijoined
16:00:18  * milardovichquit (Remote host closed the connection)
16:00:55  <gajus>I need to give third party access to our API. The said third-party has a native mobile app. They will need to access this API from the native app.
16:00:57  * marininquit (Quit: Sleep quit)
16:01:16  <gajus>I just realised that if I give them HMAC authentication access, they will need to hardcode the secret into the app.
16:01:28  <gajus>At which point it can be easily reversed engineered.
16:02:13  <gajus>Meaning, I might as well give a simple api key authentication. It will be as much secure.
16:02:22  <gajus>Is that right or am missing something?
16:02:37  * milardovichjoined
16:02:47  * smccarthyjoined
16:03:18  * RLajoined
16:04:01  * OnkelTemjoined
16:05:08  <gajus>'HMAC authentication access', meaning I require to sign every request using HMAC-SHA256
16:05:46  * LeBlaaancquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:05:47  * tinyV0idjoined
16:06:15  * tinyV0idquit (Client Quit)
16:08:57  * focodevjoined
16:09:34  <focodev>anyone know or suspect how daily fantasy sites run their pricing algorithm? is it done in the code base on like the night after the week's results?
16:09:51  <focodev>building a replica for fun.
16:10:08  * wxdkquit (Ping timeout: 240 seconds)
16:10:09  * OnkelTemquit (Ping timeout: 248 seconds)
16:10:27  * Stevermanjoined
16:10:44  <twainwek>what's a daily fantasy site?
16:11:01  <focodev>do you think I can set a function that runs at the start of each day in my node app that can run an algorithm that sets pricing ?
16:11:44  * h12oquit (Ping timeout: 240 seconds)
16:12:10  * smccarthyquit (Read error: Connection reset by peer)
16:12:30  * stylsi433joined
16:12:58  * Cabanossiquit (Ping timeout: 264 seconds)
16:13:11  <RLa>focodev, there is the cron package
16:13:14  * ikcerog_joined
16:13:32  * marininjoined
16:13:35  <focodev>RLa, you think a cron job would be the way to go?/
16:14:26  * Cabanossijoined
16:14:49  <RLa>focodev, that's package for scheduling inside node by cron rules
16:15:00  <RLa>nothing to do with the system cron
16:15:19  <focodev>RLa, okay I'll check it out thank you
16:16:44  * nschoequit (Quit: Program. Terminated.)
16:16:55  <Ownix>gajus: I have read somewhere than most places hardcode the api key into the app. Not much else you can do. You should have a proper role based setup so apps can only do so many things against the API
16:17:34  * smccarthyjoined
16:17:36  <gajus>I mean... there is little value from having an API key then at all.
16:17:43  <zsoc>^
16:17:56  <gajus>'and at any rate, if you _do_ notice attacks coming from a particular API key, you could probably just revoke that key, and you’ll shut down that one attacker (for a while) without shutting out _everyone_ using your API'
16:17:59  <gajus>is about the only benefit.
16:18:18  * alexweissmanquit (Remote host closed the connection)
16:18:25  <zsoc>"if you notice" being the important part of that statement
16:18:26  * Punit_quit (Remote host closed the connection)
16:18:35  <Ownix>focodev: Back in the day there were many very advanced Minecraft economy plugins. IIRC they actually adjusted prices on the fly live based on what people were buying and selling. If you only adjust prices once a day that might be way too slow to react to an exploit ion which someone drives up or down the prices/inventory
16:18:39  <gajus>well, notice is not the difficult part.
16:19:02  * fbarthojoined
16:19:15  * wavdedquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:19:56  <Ownix>gajus: Yeah, on app start the app could register with the API and snag a key for itself. This way you can shut it down appropriately. If someone hacks the app and starts making requests, or even if they perform a MITM you will be in the same boat.
16:19:56  <focodev>Ownix, GREAT point. Do you have a suggestion for faster reaction?
16:20:06  * wavdedjoined
16:20:30  <gajus>Well, you cannot perform mitm with hmac.
16:20:38  * goodenoughjoined
16:20:39  * alexweissmanjoined
16:20:51  * nodweberjoined
16:20:52  * drptblquit (Quit: My MAC has gone to sleep. zZz..)
16:20:54  * phpnode_joined
16:21:12  <Ownix>focodev: I found the plugin most people used:https://github.com/RegalOwl/HyperConomy "Dynamic pricing system based on a hyperbolic curve."
16:21:36  <Ownix>"Price floor, price ceiling, static pricing, initial pricing, sales tax, purchase tax, unlimited stock option and much more."
16:21:41  * phpnodequit (Ping timeout: 240 seconds)
16:22:17  * prillian5joined
16:22:27  * OnkelTemjoined
16:22:31  <Ownix>Create a microservice that uses HyperEconomy and integrate it into your app lol
16:22:36  <focodev>how often does it run aka how often will I need to save the column in my db
16:23:37  * PaulCapestanyquit (Quit: .)
16:25:17  * mr-foobarquit (Ping timeout: 260 seconds)
16:25:21  <Ownix>focodev: Maybe on every single buy and sell you log that into a table. Additionally you can see if a specific amount has been bought or sold and then do a calculation to adjust the price?
16:25:45  <focodev>Ownix, good call.
16:25:47  <focodev>THanks
16:25:57  <Ownix>focodev: Read this https://github.com/RegalOwl/HyperConomy-Documentation/blob/master/Wiki/General%20Information/Pricing.creole
16:26:16  <Ownix>Its a little more indepth on what they do. Then you can maybe use your knowledge for the how.
16:26:48  * OnkelTemquit (Ping timeout: 240 seconds)
16:26:59  <Ownix>" The pricing formula, for those that are interested, is more or less as follows: price = (median * value) / stock."
16:27:09  * mr-foobarjoined
16:27:15  * cannapjoined
16:27:28  * Delta-Onequit (Ping timeout: 240 seconds)
16:27:36  * PaulCapestanyjoined
16:27:47  * wrkrcoopjoined
16:27:47  * xiinotulpjoined
16:28:37  * st_elmojoined
16:29:16  * xiinotulpquit (Max SendQ exceeded)
16:29:45  * xiinotulpjoined
16:29:46  * bybbquit (Remote host closed the connection)
16:31:08  * plutoniixquit (Ping timeout: 255 seconds)
16:32:35  * stylsi433quit (Ping timeout: 240 seconds)
16:36:10  * ddelrio1986quit (Quit: This computer has gone to sleep)
16:36:30  * Xatenev_quit (Quit: Leaving)
16:36:37  * chrxquit (Quit: Leaving)
16:37:37  * tarkusquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:37:55  * shimequit (Quit: My MacBook Air has gone to sleep. ZZZzzz…)
16:38:20  * kworkerquit (Quit: I/O read error)
16:38:23  * sz0joined
16:40:22  * h12ojoined
16:41:10  * Delta-Onejoined
16:42:27  * Locrajoined
16:42:46  * rebrecquit (Read error: Connection reset by peer)
16:43:12  * phpnode_quit (Remote host closed the connection)
16:43:26  * rebrecjoined
16:44:14  * JosDzGjoined
16:45:26  * FOBABALOLA_quit (Ping timeout: 255 seconds)
16:47:29  * Locraquit (Remote host closed the connection)
16:47:54  * Locrajoined
16:49:44  * NuttyNuttersonjoined
16:50:24  * bybbjoined
16:51:17  * Locra_joined
16:51:33  * orbyt_joined
16:51:52  * OnkelTemjoined
16:52:35  * Locraquit (Ping timeout: 240 seconds)
16:53:16  <Zwirc>Hi, anyone used node.js express with react client side?
16:53:18  * Punit_joined
16:53:59  <GreenJello>!ask @ Zwirc
16:54:00  <ecmabot>Zwirc: Don't ask to ask, nor if anyone is here or alive or uses something. Just ask your question. http://www.mikeash.com/getting_answers.html http://www.catb.org/esr/faqs/smart-questions.html https://jvns.ca/blog/good-questions/
16:54:09  * wrkrcoopquit (Quit: wrkrcoop)
16:54:12  * ddelrio1986joined
16:54:43  * Moonlight-Angelquit (Remote host closed the connection)
16:54:57  * LeBlaaancjoined
16:55:03  * Locra_quit (Remote host closed the connection)
16:55:26  * Locra_joined
16:55:37  * tarkusjoined
16:55:45  * Moonlight-Angeljoined
16:56:12  * ddelrio1986quit (Client Quit)
16:56:18  * mr-foobarquit (Ping timeout: 252 seconds)
16:56:28  * Moonlight-Angelquit (Remote host closed the connection)
16:56:46  * Punit_quit (Remote host closed the connection)
16:57:03  * Punit_joined
16:57:14  * Moonlight-Angeljoined
16:57:24  * dman777_alterquit (Quit: Page closed)
16:57:41  * plauclairquit (Quit: Textual IRC Client: www.textualapp.com)
16:57:53  * pstef_quit (Quit: Connection closed for inactivity)
16:58:01  * Punit_quit (Client Quit)
16:58:55  * ddelrio1986joined
16:59:09  * plevexierquit (Quit: Leaving.)
16:59:30  * mr-foobarjoined
17:01:12  * ddelrio1986quit (Client Quit)
17:01:20  * bybbquit
17:01:40  * darkSeid_joined
17:02:01  * emuskjoined
17:03:26  * marininquit (Quit: Sleep quit)
17:04:44  * Locra_quit (Ping timeout: 240 seconds)
17:04:47  * groomjoined
17:05:53  * wrkrcoopjoined
17:06:04  * wavdedquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:06:36  * chargenjoined
17:06:41  * emuskquit (Ping timeout: 248 seconds)
17:08:23  * wrkrcoopquit (Client Quit)
17:09:35  * dopesong_quit (Remote host closed the connection)
17:09:47  * plevexierjoined
17:10:12  * dopesongjoined
17:10:13  * mizu_no_oto_workjoined
17:10:42  * Cohedrin_joined
17:11:28  * Locra_joined
17:11:29  * wrkrcoopjoined
17:11:32  * xiinotulppart
17:11:58  * wrkrcoopquit (Client Quit)
17:12:48  * guwopquit (Ping timeout: 252 seconds)
17:13:22  * plutoniixjoined
17:13:39  * ddelrio1986joined
17:14:35  * dopesongquit (Ping timeout: 240 seconds)
17:15:35  * Locra_quit (Ping timeout: 240 seconds)
17:15:57  * podman[USC]changed nick to podman
17:16:48  * Locra_joined
17:18:02  * Locra_quit (Remote host closed the connection)
17:18:23  * Locra_joined
17:18:50  * NuttyNuttersonquit (Read error: Connection reset by peer)
17:19:13  * NuttyNuttersonjoined
17:19:21  <dmarr>I'd like my pm2-docker process to exit 1 when the underlying command fails, anyone know how to do that?
17:19:31  <dmarr>I tried `pm2-docker --auto-exit process.yml` but i'm still seeing it exit 0
17:22:14  * big|bad|wolfjoined
17:22:20  * LeBlaaancquit (Read error: Connection reset by peer)
17:22:39  * ddelrio1986quit (Quit: This computer has gone to sleep)
17:23:47  * LeBlaaancjoined
17:24:48  * serge____joined
17:25:51  <focodev>Zwirc, yes last year
17:25:57  <focodev>built a chat application to learn react
17:26:03  * LeBlaaan_joined
17:27:09  <hdon>hi all :) any knex users? are there any concerns with raw queries for closing resources?
17:27:29  * JakeSaysquit (Ping timeout: 248 seconds)
17:27:30  <hdon>the docs just say "the response will be whatever the underlying sql library would typically return" http://knexjs.org/#Raw-Queries
17:27:48  * mooejoined
17:28:14  * LeBlaaancquit (Ping timeout: 246 seconds)
17:28:45  * milardovichquit (Remote host closed the connection)
17:29:05  * Locra_quit (Ping timeout: 240 seconds)
17:29:13  * mizu_no_oto_workquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:30:40  * ddelrio1986joined
17:31:31  * devcjoined
17:31:46  * hallcyonjoined
17:31:58  * JakeSaysjoined
17:32:42  * LiftLeftquit (Ping timeout: 246 seconds)
17:33:13  * bdunavan_joined
17:33:14  * cocoadaemonquit (Ping timeout: 255 seconds)
17:33:52  * ddelrio1986quit (Client Quit)
17:34:03  * bdunavantquit (Read error: Connection reset by peer)
17:34:35  * bdunavantjoined
17:35:06  * RLaquit (Quit: Leaving)
17:35:22  <cannap>Hi any know a tool which can scan my code and tell me which version of nodejs is required? because i have no idea as eg. when classes added or promises or someting
17:35:57  <cannap>i run travis ci tests sure via ava but ava transpiles anyway with babel^^
17:36:35  <cannap>or not sure they just transpile the "tests" or the required files for testing also hm
17:37:33  * PeDr0_HuG0quit (Ping timeout: 252 seconds)
17:37:35  * bdunavan_quit (Ping timeout: 248 seconds)
17:38:00  <Zwirc>focodev: I want to start a plain react / node.js project, but cant find a good tutorial of how to start without implementing much strange things ^^
17:38:11  * wrkrcoopjoined
17:38:30  <focodev>Zwirc , define "strange things"
17:38:55  * ddelrio1986joined
17:38:58  * PeDr0_HuG0joined
17:39:43  <Zwirc>well, Il looked at multiple projects, but most just use react with node.js, but i want to use node.js express with react
17:39:56  <Zwirc>so i can hide my backend in node
17:40:02  * PeDr0_HuG0quit (Excess Flood)
17:40:20  * ddelrio1986quit (Client Quit)
17:40:30  * PeDr0_HuG0joined
17:40:55  <cannap>@Zwirc, you mean you want to start a plain vue / nodejs project :P
17:40:57  * LeBlaaan_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:41:13  <cannap>@Zwirc, react is just front you can start with react create app thing and use nodejs as backend
17:41:13  <cannap>done
17:41:15  * srl295quit (Quit: Connection closed for inactivity)
17:41:25  <cannap>also react has ssr support
17:41:33  * nodweberquit (Remote host closed the connection)
17:42:04  <cannap>wait i show you a good tutorial
17:42:17  <cannap>http://sahatyalkabov.com/create-a-character-voting-app-using-react-nodejs-mongodb-and-socketio/
17:42:20  <Zwirc>cool :)
17:42:25  <cannap>it includes react / ssr / node
17:42:58  <Zwirc>alright, il look into it, thanks!
17:43:04  * dopesongjoined
17:43:22  <cannap>but yea its a bit older
17:43:31  <cannap>and i dont know what react changes
17:43:39  * phpnodejoined
17:44:09  * Moonlight-Angelquit (Ping timeout: 252 seconds)
17:44:10  * MarkyCjoined
17:44:22  * PeDr0_HuG0quit (Read error: Connection reset by peer)
17:44:31  * dopesongquit (Remote host closed the connection)
17:44:39  * alexweissmanquit (Remote host closed the connection)
17:44:39  <cannap>when you want much simpler stuff try vue https://scotch.io/courses/build-an-online-shop-with-vue
17:44:46  <cannap>this one covers vue/vuex/router + nodejs
17:44:49  <Zwirc>btw, why define versions instead of "*" in package?
17:45:04  * orbyt_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:45:07  * dopesongjoined
17:45:12  <cannap>because you dont want npm install and break stuff
17:45:26  <Zwirc>hum
17:45:38  <cannap>as example you are on version 1
17:45:45  * leftpadjoined
17:45:50  <cannap>and then version 2 comes out which can have breaking changes
17:45:59  * Moonlight-Angeljoined
17:46:17  <cannap>and you make want to update you deps
17:46:19  <cannap>you will break
17:48:04  * alexweissmanjoined
17:48:11  * ch007mquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
17:48:28  * phpnodequit (Ping timeout: 240 seconds)
17:49:54  * LiftLeftjoined
17:51:54  * ch007mjoined
17:52:02  * hallcyonquit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
17:52:35  <gajus>I am confused about HMAC signing using date...
17:52:38  * MarkyCquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:52:42  * LeBlaaancjoined
17:52:51  <gajus>if I include date, does this mean that the signature will be invalid even if it is 1 second off?
17:53:57  * Mattiaslndstrmjoined
17:54:06  <gajus>oh, nevermind, I am silly
17:54:18  * orbyt_joined
17:54:31  * andru1noquit (Quit: Textual IRC Client: www.textualapp.com)
17:54:48  * PeDr0_HuG0joined
17:55:07  * boopathijoined
17:55:14  * NomadJim_joined
17:55:20  * PeDr0_HuG0quit (Max SendQ exceeded)
17:55:43  * mr-foobarquit (Ping timeout: 248 seconds)
17:55:47  * PeDr0_HuG0joined
17:56:09  * Locra_joined
17:56:32  * notewellquit (Quit: My Mac Pro has gone to sleep. ZZZzzz…)
17:56:40  * paulcarrotyquit (Quit: Leaving)
17:57:10  * mr-foobarjoined
17:57:32  * Chuguniyquit (Ping timeout: 255 seconds)
17:58:05  * LeBlaaancquit (Ping timeout: 240 seconds)
17:58:07  <dmarr>anyone using pm2-docker know how to exit if one of the processes returns a non-0 exit code?
17:58:41  * NomadJimquit (Ping timeout: 246 seconds)
17:59:16  * boopathiquit (Client Quit)
17:59:56  * nodweberjoined
18:00:47  * Locra_quit (Ping timeout: 246 seconds)
18:00:52  * MrAbaddonjoined
18:01:14  * OnkelTemquit (Ping timeout: 240 seconds)
18:01:43  * ch007mquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
18:02:04  * pdefreitasquit (Quit: Leaving)
18:03:19  * notewelljoined
18:04:56  * gambl0rejoined
18:05:00  * bongjoviquit (Read error: Connection reset by peer)
18:05:05  * groomquit (Quit: Leaving.)
18:05:37  * chargenquit (Quit: BBL)
18:06:26  * lpinquit (Quit: Textual IRC Client: www.textualapp.com)
18:07:14  * Cohedrin_quit (Read error: Connection reset by peer)
18:07:45  * tinyV0idjoined
18:09:32  * ChALkeRquit (Quit: Konversation terminated!)
18:09:45  * ChALkeRjoined
18:09:52  * Cohedrin_joined
18:10:24  * notewellquit (Quit: Textual IRC Client: www.textualapp.com)
18:10:37  * wrkrcoopquit (Read error: Connection reset by peer)
18:10:58  * wrkrcoopjoined
18:11:11  * ddelrio1986joined
18:11:16  <gajus>dmarr: Sorry to get off-topic, but any reason for using pm2 instead of a native container orchestrator if you are already using containers?
18:11:29  * abijeetjoined
18:12:21  * AmazeCPKjoined
18:13:49  * Cabanossiquit (Ping timeout: 276 seconds)
18:14:38  * Cabanossijoined
18:15:13  * ch007mjoined
18:18:14  * elsevero_joined
18:21:00  * elseveroquit (Ping timeout: 252 seconds)
18:21:00  * elsevero_changed nick to elsevero
18:21:47  * hruquit (Ping timeout: 246 seconds)
18:23:32  * asmcoderquit (Ping timeout: 246 seconds)
18:23:47  * phpnodejoined
18:25:02  * wsierocijoined
18:26:04  * Moose_joined
18:28:21  * digitalnomad91quit (Ping timeout: 240 seconds)
18:28:42  * Bockquit (Ping timeout: 252 seconds)
18:29:18  * millettejoined
18:30:05  <hdon>hi all :) i'm using create-react-app's development server. just saw an interesting behavior: i uninstalled a module with npm and even after retranspiling my files which depended on the module, i got no transpile-time errors. i had to restart the dev server to get a transpiler error.
18:30:21  <hdon>s/mopdule/package/g
18:30:44  * big|bad|wolfquit (Quit: big|bad|wolf)
18:32:39  * NuttyNurtjoined
18:34:03  * NuttyNuttersonquit (Read error: Connection reset by peer)
18:35:43  * OnkelTemjoined
18:36:13  * AmazeCPKquit (Quit: Leaving)
18:36:16  * asmcoderjoined
18:37:04  * wavdedjoined
18:37:20  * cybeaerjoined
18:38:02  * leftpadquit (Ping timeout: 255 seconds)