00:01:42  * d10n-workquit (Quit: Connection closed for inactivity)
00:04:07  * kevinburkejoined
00:04:13  * roomcayzquit (Remote host closed the connection)
00:06:34  * digiajoined
00:06:57  * upperdeckquit (Ping timeout: 240 seconds)
00:08:05  * Hu0pjoined
00:08:33  * plutoniixjoined
00:08:34  * upperdeckjoined
00:08:56  * plutoniixquit (Max SendQ exceeded)
00:09:37  * plutoniixjoined
00:09:52  * rejquit (Ping timeout: 260 seconds)
00:09:58  * soeequit (Quit: Konversation terminated!)
00:11:05  * scapart
00:11:12  * soeejoined
00:11:24  * Argylelabcoatquit (Ping timeout: 255 seconds)
00:12:04  * asmcoderquit (Remote host closed the connection)
00:12:24  * Delta-Onequit (Quit: Leaving)
00:12:35  * iovoidchanged nick to iovoid_
00:12:42  * iovoid_changed nick to iovoid
00:15:39  * neoncontrailsquit (Remote host closed the connection)
00:16:00  * zivesterquit (Ping timeout: 248 seconds)
00:16:07  * milardovichjoined
00:18:10  * justicefriesquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:18:29  * Hu0pquit (Quit: See You Space Cowboy. . .)
00:19:07  * orbyt_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:20:05  * drejquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:20:07  * justicefriesjoined
00:20:19  * leptonejoined
00:20:29  * drejjoined
00:21:31  * Hu0pjoined
00:23:12  * rejjoined
00:23:53  * sz0joined
00:24:00  * SatPossiliquit (Quit: Page closed)
00:24:11  * Cabanossiquit (Ping timeout: 250 seconds)
00:24:44  * neoncontrailsjoined
00:25:05  * EyePulpquit (Remote host closed the connection)
00:25:09  * orbyt_joined
00:25:21  * pskquit (Remote host closed the connection)
00:25:39  * platonicjoined
00:25:54  * ivan_the_monkeyjoined
00:25:57  * pskjoined
00:26:27  * Hu0pquit (Quit: See You Space Cowboy. . .)
00:26:30  * Cabanossijoined
00:27:05  * Hu0pjoined
00:29:35  * platonicquit (Ping timeout: 240 seconds)
00:30:15  * pskquit (Ping timeout: 250 seconds)
00:30:24  * ivan_the_monkeyquit (Ping timeout: 248 seconds)
00:32:39  * neoncontrailsquit (Remote host closed the connection)
00:33:05  * soeequit (Ping timeout: 248 seconds)
00:33:23  * pskjoined
00:36:37  * Technodromequit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:37:52  * pskquit (Remote host closed the connection)
00:37:57  * upperdeckquit (Ping timeout: 240 seconds)
00:38:37  * upperdeckjoined
00:39:27  * Technodromejoined
00:40:28  * sashetoquit (Ping timeout: 240 seconds)
00:42:11  * p4trixquit (Read error: Connection reset by peer)
00:42:11  * rohanrhujoined
00:43:21  * oetjenjjoined
00:43:36  * gdaintiquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:43:36  * orbyt_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:46:02  * upperdeckquit (Ping timeout: 260 seconds)
00:46:43  * Arcaelyxquit (Ping timeout: 250 seconds)
00:48:08  * DragonPunchquit (Ping timeout: 252 seconds)
00:48:38  * upperdeckjoined
00:49:50  * pilnejoined
00:50:11  * underscorequit (Quit: Ex-Chat)
00:50:20  * DragonPunchjoined
00:53:19  * davekjoined
00:53:21  * upperdeckquit (Ping timeout: 248 seconds)
00:53:24  * smccarthyquit (Remote host closed the connection)
00:54:05  * upperdeckjoined
00:55:04  * \2h1squit (Remote host closed the connection)
00:55:55  * davekquit (Client Quit)
00:56:27  * milardov_joined
00:56:54  * superloujoined
00:59:05  * milardovichquit (Ping timeout: 240 seconds)
00:59:19  * \2h1sjoined
01:01:09  * melvsterquit (Ping timeout: 268 seconds)
01:01:52  * SmokinGruntsquit (Ping timeout: 240 seconds)
01:04:04  * leptonequit (Remote host closed the connection)
01:05:37  * w0ngquit (Quit: leaving)
01:06:10  * justicefriesquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:06:18  * w0ngjoined
01:07:13  * sysragequit (Ping timeout: 248 seconds)
01:07:38  * upperdeckquit (Ping timeout: 255 seconds)
01:10:07  * upperdeckjoined
01:11:00  * w0ngquit (Client Quit)
01:11:33  * kakashiALjoined
01:11:54  * zsocquit (Read error: Connection reset by peer)
01:14:40  * upperdeckquit (Ping timeout: 248 seconds)
01:16:12  * upperdeckjoined
01:17:15  * neoncontrailsjoined
01:17:35  * orbyt_joined
01:17:45  * joelwallisjoined
01:18:01  * pattersonjoined
01:19:41  * jscriptStudentquit (Remote host closed the connection)
01:20:00  * ed209quit (Remote host closed the connection)
01:20:07  * ed209joined
01:20:34  * horseyjoined
01:21:04  * upperdeckquit (Ping timeout: 248 seconds)
01:22:41  * upperdeckjoined
01:23:00  * MagicDuckjoined
01:23:34  * Mattiaslndstrmquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:24:57  * Mattiaslndstrmjoined
01:25:11  * horseyquit (Ping timeout: 255 seconds)
01:25:56  * zivesterjoined
01:26:22  * jscriptStudentjoined
01:26:59  * jscriptStudentquit (Remote host closed the connection)
01:27:05  * jsatkquit (Ping timeout: 240 seconds)
01:27:09  * cotko3quit (Quit: Konversation terminated!)
01:27:34  * piyerquit (Remote host closed the connection)
01:27:40  * upperdeckquit (Ping timeout: 268 seconds)
01:28:11  * upperdeckjoined
01:28:57  * ivan_the_monkeyjoined
01:29:26  * piyerjoined
01:32:27  * w0ngjoined
01:33:27  * piyerquit (Ping timeout: 240 seconds)
01:33:51  * ivan_the_monkeyquit (Ping timeout: 268 seconds)
01:33:56  <MagicDuck>hi
01:34:06  <MagicDuck>does anybody know an efficient way (memory-wise) to write many smallish files to disk given you have their contents as strings (not buffers). When using fs.writeFile(), it looks like it converts the string to a buffer first based on my memory allocation profiling
01:35:41  * upperdeckquit (Ping timeout: 268 seconds)
01:36:12  * upperdeckjoined
01:37:23  <MagicDuck>I find it strange that you can't write a string directly to a file...
01:37:46  * milardovichjoined
01:37:59  * disuseredquit (Quit: WeeChat 1.9.1)
01:39:34  * ivan_the_monkeyjoined
01:40:48  * milardov_quit (Ping timeout: 248 seconds)
01:41:32  * unimatrixoverlodjoined
01:42:57  * upperdeckquit (Ping timeout: 248 seconds)
01:43:45  * Hu0pquit (Quit: See You Space Cowboy. . .)
01:43:47  <joepie91>twainwek: you'll likely want to look at chokidar btw
01:44:27  <joepie91>MagicDuck: correct, it translates a string to a buffer first; this makes sense, since a string is Unicode, but a file is encoding-less bytes (which is what Buffers are for)
01:44:27  * ivan_the_monkeyquit (Ping timeout: 240 seconds)
01:45:09  <kakashiAL>joepie91: I created a middleware called asyncMiddleware(await foo(req, res, next)) where I can pass a function that gets resolved
01:45:26  <kakashiAL>joepie91: is there a way to make passing next not needed?
01:45:42  * upperdeckjoined
01:45:51  <kakashiAL>joepie91: at the moment I need it to pass the error in next()
01:46:41  * chrisdotcodejoined
01:46:55  <MagicDuck>jepie91: you can pass the encoding when creating a Buffer...: https://nodejs.org/api/buffer.html#buffer_class_method_buffer_from_array
01:47:12  <MagicDuck>*joepie
01:47:12  * xkapasteljoined
01:47:23  <MagicDuck>*joepie91
01:52:01  * eperezjoined
01:56:48  * upperdeckquit (Ping timeout: 248 seconds)
01:57:22  * eperezpart
01:58:13  * upperdeckjoined
01:59:36  * Gustavo6046quit (Quit: See you tomorrow!!)
02:00:04  * pattersonquit (Quit: I quit)
02:01:01  * drazisilquit (Quit: Leaving)
02:01:05  * IanLiuquit (Quit: IanLiu)
02:01:26  * jscriptStudentjoined
02:02:20  * pattersonjoined
02:02:42  * igemnacequit (Read error: Connection reset by peer)
02:03:15  * Arcaelyxjoined
02:08:39  * pskjoined
02:08:49  * qardjoined
02:09:05  * AtumTquit (Remote host closed the connection)
02:10:40  * electronicmajijoined
02:13:09  <kakashiAL>problem solved :)
02:13:47  * pskquit (Ping timeout: 255 seconds)
02:18:04  * pskjoined
02:18:28  * the_antjoined
02:21:26  * DragonPunchquit (Ping timeout: 255 seconds)
02:22:26  * LambdaSourcequit (Remote host closed the connection)
02:23:01  * LambdaSourcejoined
02:24:05  * rorroquit (Ping timeout: 240 seconds)
02:24:12  * DragonPunchjoined
02:25:50  * Zamyatinjoined
02:26:40  * Zamyatinquit (Client Quit)
02:27:01  * ivan_the_monkeyjoined
02:27:03  * platonicjoined
02:27:35  * milardov_joined
02:27:43  * LambdaSourcequit (Ping timeout: 248 seconds)
02:27:52  * mezod_joined
02:28:09  * milardov_quit (Remote host closed the connection)
02:28:34  * mezod_quit (Remote host closed the connection)
02:28:44  * milardov_joined
02:29:08  * joelwallisquit
02:29:17  * drewmcmillanjoined
02:29:21  * mezodquit (Ping timeout: 248 seconds)
02:30:08  * smccarthyjoined
02:30:57  * milardovichquit (Ping timeout: 248 seconds)
02:31:10  * zxcjoined
02:31:12  * pskquit (Ping timeout: 240 seconds)
02:31:22  * platonicquit (Ping timeout: 240 seconds)
02:31:27  * ivan_the_monkeyquit (Ping timeout: 248 seconds)
02:31:52  * VibroMaxquit (Ping timeout: 240 seconds)
02:32:17  * Mamutquit (Quit: I cna ytpe 300 wrods pre mniuet!!!)
02:32:22  * eckhardtquit (Quit: Textual IRC Client: www.textualapp.com)
02:32:49  * DaleK5whrjoined
02:33:01  * milardov_quit (Ping timeout: 240 seconds)
02:33:03  * pilnequit (Quit: Quitting!)
02:33:29  * DaleK5whrquit (Client Quit)
02:34:22  * jabowajoined
02:34:34  * NomadJimquit (Read error: Connection reset by peer)
02:34:56  * eclmjoined
02:34:57  * smccarthyquit (Ping timeout: 240 seconds)
02:35:21  * glijoined
02:35:26  * smccarthyjoined
02:35:55  * NomadJimjoined
02:38:28  * NomadJimquit (Read error: Connection reset by peer)
02:40:43  * eclmquit (Quit: WeeChat 1.9.1)
02:42:02  * electronicmajiquit (Quit: My Mac has gone to sleep. ZZZzzz…)
02:42:10  * superlouquit (Quit: Leaving)
02:42:11  * electronicmajijoined
02:42:28  * NomadJimjoined
02:42:49  * electronicmajiquit (Client Quit)
02:42:59  * electronicmajijoined
02:43:37  * electronicmajiquit (Client Quit)
02:43:45  * electronicmajijoined
02:44:23  * electronicmajiquit (Client Quit)
02:44:30  * drewmcmillanquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:44:48  * jscriptStudentquit (Remote host closed the connection)
02:45:26  * j4f-shredderjoined
02:46:17  * ivan_the_monkeyjoined
02:48:17  * Cohedrinquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:49:16  * sucksjoined
02:49:17  * sucksquit (Remote host closed the connection)
02:49:31  * Technodromequit (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:50:43  * safejoined
02:50:46  * electronicmajijoined
02:50:51  * Cohedrinjoined
02:51:14  <Sven_vB>MagicDuck, if you already have the strings contain the exact bytes you want to write, you should hopefully get the same performance by telling fs.writeFile to use the "binary" encoding.
02:51:32  * pskjoined
02:51:42  <Sven_vB>MagicDuck, usually it assumes UTF-8, whereas your strings usually are stored as UCS-2, thus the conversion.
02:54:10  * jscriptStudentjoined
02:54:40  * jscriptStudentquit (Remote host closed the connection)
02:55:23  * smccarthyquit (Remote host closed the connection)
02:55:55  * smccarthyjoined
02:56:57  <ljharb>Sven_vB: dumb/misinformed readers won't care about the implied reasons, and it doesn't matter if they know the right reasons or not. the first priority is that they *comply* - the rest is secondary
02:57:12  * dryzerquit (Remote host closed the connection)
02:57:25  <ljharb>Sven_vB: if they seek to learn, they'll either figure it out, ask, or their misunderstanding won't be a problem until it conflicts with the guide, at which point, see the first two
02:57:50  * dryzerjoined
02:58:09  * Stevermanquit (Ping timeout: 248 seconds)
02:58:21  * chjjjoined
02:58:49  * oetjenjquit (Remote host closed the connection)
02:59:25  * oetjenjjoined
03:00:03  <Sven_vB>I agree the "reduce damage" aspect can work. maybe I had wrong assumptions about why code should be made readable for the dumbest of coders then.
03:00:16  * qardquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:00:51  * shoogzjoined
03:00:52  * shoogzquit (Max SendQ exceeded)
03:01:13  <Sven_vB>I'll think about it tomorrow, too tired now. :)
03:01:26  * shoogzjoined
03:01:27  * shoogzquit (Max SendQ exceeded)
03:01:56  * shoogzjoined
03:01:57  * shoogzquit (Max SendQ exceeded)
03:02:09  * hendryjoined
03:02:09  * dryzerquit (Ping timeout: 258 seconds)
03:02:26  <hendry>hi, how should I be execing a long running task? is const exec = require('child-process-promise').exec a good candidate?
03:02:31  * shoogzjoined
03:02:32  * shoogzquit (Max SendQ exceeded)
03:02:35  * pylerjoined
03:03:06  * shoogzjoined
03:03:06  * shoogzquit (Max SendQ exceeded)
03:03:39  * shoogzjoined
03:04:07  * oetjenjquit (Client Quit)
03:04:25  * oetjenjjoined
03:04:52  * EyePulpjoined
03:04:53  * oetjenjquit (Client Quit)
03:05:11  * oetjenjjoined
03:05:39  * oetjenjquit (Client Quit)
03:05:57  * oetjenjjoined
03:06:25  * oetjenjquit (Client Quit)
03:06:48  * oetjenjjoined
03:07:11  * oetjenjquit (Client Quit)
03:07:30  * oetjenjjoined
03:07:33  * igemnacejoined
03:07:58  * oetjenjquit (Client Quit)
03:09:02  * EyePulpquit (Ping timeout: 240 seconds)
03:09:17  * d4rklit3quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:09:53  * the_antquit (Read error: Connection reset by peer)
03:10:35  * tiin57quit (Ping timeout: 258 seconds)
03:11:40  <j4f-shredder>any way of calculating a future timestamptz?? I need for example to get the timestamp of 43242342 seconds into the future
03:11:59  * tiin57joined
03:13:39  * Cohedrinquit (Read error: Connection reset by peer)
03:15:51  * jabowaquit (Quit: Page closed)
03:16:15  * Cohedrinjoined
03:16:49  <charmander>j4f-shredder: now() + INTERVAL '43242342 seconds' ?
03:17:04  <j4f-shredder>yes, that's what I'm looking for
03:17:07  <j4f-shredder>is that from moment?
03:17:10  <j4f-shredder>the now()
03:17:16  <charmander>that’s postgresql
03:17:21  <j4f-shredder>oohhh I see
03:17:24  <j4f-shredder>great
03:17:29  <j4f-shredder>thank you very much
03:17:50  <j4f-shredder>cause I generated a long live facebook token sending them a short access token from the user
03:18:07  <j4f-shredder>and they send the expiration time in seconds...but it's like 2 months in seconds
03:18:21  <j4f-shredder>so I'm not sure if saving the expiration timestamptz is the right call
03:18:34  <j4f-shredder>how would you handle that?
03:18:49  <charmander>use multiplication for a parameter: now() + $1 * INTERVAL '1 second';
03:18:53  <j4f-shredder>I will check this everytime the app starts, if it already expired then I send the user back to login
03:19:08  <j4f-shredder>I don't know how to use parameters, I use knex
03:19:17  <j4f-shredder>I just use knex parameters
03:19:45  <j4f-shredder>knex.raw("a query where a = ? and b = ?",[parameter1, parameter 2])
03:20:12  <j4f-shredder>are you talking about those kind of parameters?
03:20:15  <charmander>yes
03:21:32  <j4f-shredder>do you know
03:21:32  * horseyjoined
03:21:35  <j4f-shredder>how to do the same using moment.js
03:21:36  <j4f-shredder>??
03:21:39  * Mattiaslndstrmquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:21:44  <j4f-shredder>I'm not sure if I want to be database dependant
03:21:48  <charmander>no. why would you not do it with parameters
03:22:15  <j4f-shredder>I would generate it in javascript
03:22:16  <charmander>i imagine moment.js has a method to the effect of .plusSeconds()
03:22:51  <charmander>also you can probably just detect facebook’s error code instead of storing the expiration
03:23:44  * zivesterquit (Ping timeout: 248 seconds)
03:24:03  <j4f-shredder>yeah
03:24:13  <j4f-shredder>that makes more sense, but I would have to query everytime
03:24:19  <j4f-shredder>that I deliver the data to the user
03:25:02  <j4f-shredder>it's an angular app
03:25:04  <j4f-shredder>there's a service
03:25:09  <j4f-shredder>that at the begging
03:25:18  <j4f-shredder>it fetches social network data
03:25:27  <j4f-shredder>so, it would be 1 time per refresh
03:25:52  * horseyquit (Ping timeout: 248 seconds)
03:29:22  * upperdeckquit (Ping timeout: 260 seconds)
03:30:09  * orbyt_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:31:21  * upperdeckjoined
03:34:11  * InFlamesjoined
03:37:50  * systemfaultjoined
03:42:27  * PeDr0_HuG0quit (Ping timeout: 240 seconds)
03:42:51  * milardovichjoined
03:43:50  * eastwootquit (Remote host closed the connection)
03:46:07  * justicefriesjoined
03:47:08  * Cohedrinquit (Read error: Connection reset by peer)
03:47:58  * Cohedrinjoined
03:55:16  * Elishaquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
03:55:35  <charmander>j4f-shredder: and storing the expiration time changes that?
03:57:57  * kakashiALquit (Ping timeout: 260 seconds)
03:58:45  * j4f-shredderquit (Ping timeout: 268 seconds)
03:59:05  * j4f-shredderjoined
04:01:11  * Phloxxquit (Ping timeout: 258 seconds)
04:01:36  * grevesquit (Ping timeout: 248 seconds)
04:02:22  * Phloxxjoined
04:03:27  * sz0quit (Quit: Connection closed for inactivity)
04:03:41  * dryzerjoined
04:05:38  <halftroll>joepie91: charmander I am really sorry for the delay, thanks a lot for helping me with the route thing !!!!!!!!!!!!!!
04:08:13  * dryzerquit (Ping timeout: 250 seconds)
04:08:32  * chowmeinedquit (Ping timeout: 248 seconds)
04:08:55  * chowmeinedjoined
04:11:23  * electronicmajiquit (Quit: My Mac has gone to sleep. ZZZzzz…)
04:11:31  * electronicmajijoined
04:12:10  * electronicmajiquit (Client Quit)
04:13:01  * Bishop_Bautistajoined
04:14:58  * dryzerjoined
04:18:03  * jscriptStudentjoined
04:19:20  * dryzerquit (Ping timeout: 255 seconds)
04:20:20  * plexigrasquit (Ping timeout: 268 seconds)
04:21:28  * dryzerjoined
04:22:22  * Bishop_Bautistaquit (Read error: Connection reset by peer)
04:23:37  * DragonPunchquit (Ping timeout: 260 seconds)
04:24:12  * milardov_joined
04:24:18  * Bishop_Bautistajoined
04:24:58  * Cabanossiquit (Ping timeout: 264 seconds)
04:25:47  * Cabanossijoined
04:26:10  * dryzerquit (Ping timeout: 264 seconds)
04:27:01  * DragonPunchjoined
04:27:13  * milardovichquit (Ping timeout: 248 seconds)
04:27:15  * drejquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:28:00  * MACscrquit (Quit: Textual IRC Client: www.textualapp.com)
04:36:05  * upperdeckquit (Ping timeout: 240 seconds)
04:36:06  * rohanrhu_quit (Quit: Leaving)
04:37:27  * upperdeckjoined
04:37:49  * smccarth_joined
04:38:27  * jsatkjoined
04:40:34  * dryzerjoined
04:40:56  * SwiftMattquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
04:41:18  * smccarthyquit (Ping timeout: 268 seconds)
04:43:27  * jsatkquit (Ping timeout: 260 seconds)
04:44:36  * herouxquit (Ping timeout: 246 seconds)
04:44:48  * dryzerquit (Ping timeout: 240 seconds)
04:46:12  * SwiftMattjoined
04:46:51  * jsatkjoined
04:48:51  * justicefriesquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:50:37  * orbyt_joined
04:51:06  * dryzerjoined
04:53:06  * jsatkquit (Ping timeout: 255 seconds)
04:54:34  * leptonejoined
04:54:37  * Elyx0joined
04:55:34  * dryzerquit (Ping timeout: 264 seconds)
04:56:37  * leptone_joined
04:57:17  * Mattiaslndstrmjoined
04:57:43  * jscriptStudentquit (Remote host closed the connection)
04:58:29  * iiie0quit (Ping timeout: 250 seconds)
04:58:57  * leptonequit (Ping timeout: 240 seconds)
04:59:32  * jsatkjoined
04:59:51  * herouxjoined
05:00:53  * Mattiaslndstrmquit (Client Quit)
05:02:04  * justicefriesjoined
05:04:01  * jsatkquit (Ping timeout: 248 seconds)
05:04:26  * leptone_quit (Remote host closed the connection)
05:05:18  * Mattiaslndstrmjoined
05:05:31  * milardovichjoined
05:05:37  * jscriptStudentjoined
05:06:48  * jscriptS_joined
05:08:29  * iiie0joined
05:08:35  * milardov_quit (Ping timeout: 240 seconds)
05:09:12  * j4f-shredderquit (Read error: Connection reset by peer)
05:09:17  * neoncontrailsquit (Remote host closed the connection)
05:10:11  * jscriptStudentquit (Ping timeout: 255 seconds)
05:10:23  * Cohedrinquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
05:14:01  * Mattiaslndstrmquit (Quit: Textual IRC Client: www.textualapp.com)
05:15:41  * pylerpart
05:18:24  * digiaquit (Ping timeout: 248 seconds)
05:20:56  <cjorcl>Does 'npm dist-tag add <pkg>@<version> latest' move the 'latest' tag from the existing version? Or does 'latest' need to be rm'd from the existing version before adding it to another version?
05:21:37  <cjorcl>As I hit enter, I reallized I should ask in #npm
05:22:11  * horseyjoined
05:23:58  * w0ngquit (Quit: leaving)
05:24:25  * dryzerjoined
05:24:26  * jsatkjoined
05:26:18  * Bishop_Bautistaquit (Read error: Connection reset by peer)
05:26:24  * horseyquit (Ping timeout: 248 seconds)
05:28:49  * dryzerquit (Ping timeout: 250 seconds)
05:29:24  * leptonejoined
05:29:40  * platonicjoined
05:29:57  * jsatkquit (Ping timeout: 240 seconds)
05:31:01  * jsatkjoined
05:31:19  * toijoined
05:31:51  * systemfa_joined
05:32:06  * pstef_joined
05:32:08  * d4rklit3joined
05:32:56  * pankaj_joined
05:34:20  * platonicquit (Ping timeout: 268 seconds)
05:34:56  * systemfaultquit (Ping timeout: 248 seconds)
05:34:56  * devcquit (Ping timeout: 248 seconds)
05:35:28  * jsatkquit (Ping timeout: 240 seconds)
05:37:12  * milardovichquit (Remote host closed the connection)
05:37:25  * leptone_joined
05:38:09  * dryzerjoined
05:38:59  * Cabanossiquit (Ping timeout: 276 seconds)
05:40:53  * Cabanossijoined
05:41:33  * Areksjoined
05:42:12  * dryzerquit (Ping timeout: 240 seconds)
05:42:31  * SwiftMattquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
05:42:37  * melvsterjoined
05:43:05  <leptone_>All of the sudden when I run my test environment with Mocha, my test run is failing
05:43:05  <leptone_>I'm getting: Knex:warning - migrations failed with error: drop table "users" - table "users" does not exist
05:43:05  <leptone_>and: drop table "users" - table "users" does not exist
05:43:07  <leptone_>https://github.com/caseysiebel/lang-exchange/blob/master/src/server/db/migrations/20171105102225_users.js#L11
05:43:09  <leptone_>this is super weird bc I did a git reset --hard to go back to when it was working and i'm still getting the same errors
05:43:11  <leptone_>does anyone know whats goin on?
05:45:31  * leptonequit (Remote host closed the connection)
05:45:40  * rhonabwyjoined
05:46:46  <patterson>Marvin Gaye
05:46:56  * jscriptS_quit
05:46:56  * snowkidindjoined
05:47:06  * jsatkjoined
05:48:33  * smccarth_quit (Remote host closed the connection)
05:49:06  * smccarthyjoined
05:50:49  * ch007mjoined
05:51:22  * jsatkquit (Ping timeout: 240 seconds)
05:53:03  * systemfa_quit (Quit: Bye!)
05:53:09  * ch007m_2joined
05:55:18  * ch007mquit (Ping timeout: 246 seconds)
05:55:25  * leptone_quit (Remote host closed the connection)
05:55:41  * unimatrixoverlodquit (Remote host closed the connection)
05:56:13  <InFlames>He left after 2 minutes :[ and I knew what his issue was
05:58:24  * leptonejoined
05:58:27  * jsatkjoined
05:58:42  * SwiftMattjoined
05:59:44  * leptonequit (Remote host closed the connection)
06:00:04  * ch007m_2quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
06:00:20  * NomadJimquit (Read error: Connection reset by peer)
06:00:43  * NomadJimjoined
06:00:55  * leptonejoined
06:01:33  * dryzerjoined
06:02:29  * justicefriesquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
06:03:12  * jsatkquit (Ping timeout: 248 seconds)
06:03:33  * ch007mjoined
06:04:11  * melvsterquit (Ping timeout: 255 seconds)
06:06:05  * olltiequit (Ping timeout: 240 seconds)
06:07:45  * af-cmgjoined
06:08:26  <af-cmg>Where is a good place to put logs? My coworker wants to log to a file in the project's root directory. Is there any benefit to logging to /var or something like other programs do?
06:08:27  * jsatkjoined
06:08:32  * orbyt_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
06:08:49  <pstef_>InFlames: you have the opportunity to help leptone now :)
06:10:32  * dryzerquit (Ping timeout: 240 seconds)
06:10:49  * ch007mquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
06:11:38  * olltiejoined
06:13:05  * jsatkquit (Ping timeout: 240 seconds)
06:13:34  * ngmjoined
06:14:21  <deltab>af-cmg: different locations can be stored on different devices, have different permissions, different quotas, etc. e.g. executables are relatively small and not normally written to, while log files are written to continually
06:14:31  * BeerLoverjoined
06:15:19  * EyePulpjoined
06:15:27  <deltab>af-cmg: also files are easier to find if you keep them in the conventional places
06:15:50  * KevinOfNeujoined
06:15:52  <af-cmg>deltab: Is there a standard way to read logs remotely (other than via an ssh terminal)?
06:16:17  * floatleftjoined
06:16:18  <deltab>there are protocols for logging over network connections
06:17:22  * KevinOfNeuquit
06:17:24  <af-cmg>deltab: Can you point me towards some?
06:19:11  * lpinjoined
06:19:58  * EyePulpquit (Ping timeout: 268 seconds)
06:20:37  <deltab>https://en.wikipedia.org/wiki/Syslog
06:21:48  <deltab>https://syslog-ng.org/
06:21:48  <InFlames>leptone, did you solve your issue?
06:22:03  <leptone>InFlames: nope
06:22:18  <InFlames>your issue sounds like it's an issue with migrations being out of sync
06:22:22  <af-cmg>deltab: Awesome, thanks!
06:22:24  * Cohedrinjoined
06:22:46  * jsatkjoined
06:25:34  * SenasOzys_quit (Remote host closed the connection)
06:26:18  * Moose_joined
06:26:26  <publio>af-cmg: If you want to log to a file, you could place it in /var/log. Recommended practice is to make this dir a separate partition in case it fills up
06:27:03  * ch007mjoined
06:27:13  * jsatkquit (Ping timeout: 248 seconds)
06:28:32  * digitalnomad91quit (Ping timeout: 240 seconds)
06:28:48  <BeerLover>how should service to service auth work in microservices?
06:29:01  <BeerLover>i have a central auth service and other services
06:29:22  <BeerLover>so should i keep the services and their unique tokens in auth and verify on each call?
06:29:30  <BeerLover>or is there any other way?
06:31:26  * Neo1joined
06:31:26  <danneu>i have .jsx files (server-side) that babel compiles into .js files for my deploy. if i require('./foo.jsx'), then it will break after the compile since it's now 'foo.js'
06:31:58  <deltab>another way, useful for very large systems, is to have the auth service issue short-term access tokens
06:32:01  <danneu>anyone know of a solution?
06:32:21  <deltab>other services can verify the tokens on their own, without contacting the auth service
06:32:52  <deltab>danneu: maybe require('./foo')
06:33:20  <danneu>that works after the compile but it doesn't resolve .jsx files, so it breaks before the compilation during development
06:33:26  * milardovichjoined
06:33:28  <danneu>feel like there must be some simple solution
06:33:44  <danneu>one hack is to forget the .jsx and make them .js files, but i don't like that
06:33:53  * ch007mquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
06:35:00  * Mamutjoined
06:36:16  * dre_joined
06:36:32  * dre_quit (Remote host closed the connection)
06:36:53  * SmokinGruntsjoined
06:37:22  * djapoquit (Quit: leaving)
06:37:45  * dre_joined
06:37:47  * RLajoined
06:37:48  * lemonsparrowjoined
06:38:10  <lemonsparrow>hi
06:38:35  * Cabanossiquit (Ping timeout: 250 seconds)
06:38:39  * Technodromejoined
06:39:01  * jsatkjoined
06:39:32  * dre_quit (Remote host closed the connection)
06:39:55  * codexdeltajoined
06:40:35  * kommunicatequit (Ping timeout: 240 seconds)
06:40:59  * Cabanossijoined
06:41:43  <BeerLover>deltab how would that work?
06:41:55  <af-cmg>publio: That makes sense. I can see that becoming a problem on a production server.
06:42:06  * BioSpiderjoined
06:43:00  * Elishajoined
06:43:27  * jsatkquit (Ping timeout: 240 seconds)
06:46:43  * JamesMGreenejoined
06:48:00  * upperdeckquit (Ping timeout: 248 seconds)
06:48:21  <leptone>InFlames: Out of sunc
06:48:25  <leptone>*sync?
06:48:38  <leptone>so I should just blow away the db
06:48:38  <leptone>?
06:50:39  * upperdeckjoined
06:51:04  <InFlames>leptone, that's one option, but what it sounds like is the migration is in the wrong state
06:51:18  <leptone>InFlames: in the wrong state?
06:51:21  <InFlames>it would likely fix it to set the db back to the beginning and run the migrations
06:51:24  <InFlames>yes
06:51:47  <leptone>InFlames: set it back to the beginning ? How?
06:51:47  <InFlames>Knex:warning - migrations failed with error: drop table "users" - table "users" does not exist
06:52:05  * ngmquit (Ping timeout: 240 seconds)
06:52:06  <InFlames>^ migration error saying that the table you wish to drop doesn't exist, why does it not exist? likely out of sync with the migration
06:52:13  <InFlames>I had that issue a lot while learning knex
06:52:31  * dryzerjoined
06:52:44  * ngmjoined
06:53:41  <leptone>InFlames: ok im not fully following what happened or how I fix it
06:53:58  <leptone>but you seem to be correct
06:54:01  <leptone> List of relations
06:54:02  <leptone> Schema | Name | Type | Owner
06:54:02  <leptone>--------+----------------------+-------+-------
06:54:03  <leptone> public | knex_migrations | table | casey
06:54:05  <leptone> public | knex_migrations_lock | table | casey
06:54:07  <leptone> public | user_chat | table | casey
06:54:17  <leptone>thats the output of lang_exchange_test-# \dt
06:54:23  <leptone>in the postgres client
06:54:33  * kakashiALjoined
06:54:57  <leptone>InFlames: shouldn't those migration files create the users table though?
06:54:58  <RLa>how things can be out of sync, don't migrations use transactions on postgres?
06:55:05  * af-cmgquit (Ping timeout: 240 seconds)
06:55:35  <InFlames>leptone, if you wrote them to and if they were at the right point, sure
06:55:46  <InFlames>you can't run a migration to drop a table that doesn't exist
06:55:54  <InFlames>same as you can't run a migration to create a table that exists
06:56:26  <InFlames>RLa, it can get out of sync if you don't stick strictly to using migrations
06:56:49  <leptone>InFlames: is it because i had a table called users and then i create a user_chat?
06:57:13  <leptone>InFlames: but the up function of the migration creates the user table
06:57:19  <leptone>and the down drops it?
06:57:22  * dryzerquit (Ping timeout: 264 seconds)
06:57:39  <InFlames>I can't say what's exactly going on without knowing the state and the migrations
06:57:40  <RLa>InFlames, that does not sound like a good idea
06:57:48  <InFlames>RLa, it isn't, but it happens when you'
06:57:54  <InFlames>you're not careful
06:58:35  * kakashiALquit (Ping timeout: 240 seconds)
06:59:36  <leptone>InFlames: all thats going on are the files on GH....
06:59:36  <RLa>I remember doing migrations manually in one very large telco project, at the end of development cycle I went to all devs and asked which changes they did to db and then I tried to put together a single migration script
06:59:56  <RLa>it mostly worked
07:00:33  * asteelejoined
07:00:38  * lemonsparrowquit (Quit: Page closed)
07:00:38  <InFlames>RLa, that's basically about right, heh
07:00:42  <InFlames>leptone, what?
07:00:56  <leptone>git hub
07:01:04  <InFlames>yea
07:01:05  <RLa>thankfully we had pl/sql layer between queries and the app and if something went wrong it was possible to change queries without touching the app code
07:01:05  <InFlames>what github
07:01:07  <InFlames>where
07:01:10  <InFlames>link?
07:01:22  <leptone>https://github.com/caseysiebel/lang-exchange
07:01:43  <leptone>https://github.com/caseysiebel/lang-exchange/blob/master/src/server/db/migrations/20171105102225_users.js#L2
07:01:59  * asteele_quit (Ping timeout: 250 seconds)
07:02:37  <InFlames>that seems fine
07:02:43  <InFlames>when you ran the down, did you have a user table?
07:03:04  * snowkidindquit (Quit: astalaPIZZA Baby!)
07:05:34  * sbellinajoined
07:06:13  <leptone>InFlames: so i dropped my DB and recreated it
07:06:18  <leptone>and then ran my tests
07:06:22  * dryzerjoined
07:06:26  * safequit (Read error: Connection reset by peer)
07:06:30  <leptone>and now the psql shows:
07:06:33  <leptone> List of relations
07:06:33  <leptone> Schema | Name | Type | Owner
07:06:34  <leptone>--------+----------------------+-------+-------
07:06:35  <leptone> public | knex_migrations | table | casey
07:06:37  <leptone> public | knex_migrations_lock | table | casey
07:07:02  * SwiftMattquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
07:07:11  * darutokojoined
07:07:12  * smccarthyquit (Ping timeout: 248 seconds)
07:07:17  <leptone>now i am going to run: knex seed:make user_chat
07:07:37  <leptone>that's what broke it last time
07:08:22  <leptone>sry
07:08:24  <leptone>knex migrate:make user_chat
07:09:15  * oetjenjjoined
07:09:53  <InFlames>ok
07:11:28  * dryzerquit (Ping timeout: 240 seconds)
07:12:08  <leptone>InFlames: look safe to you? https://gist.github.com/8bf778f64cd939e85337c0862396cee3
07:12:19  * groomjoined
07:13:17  <InFlames>sure
07:14:02  * melvsterjoined
07:14:46  * milardov_joined
07:14:54  <leptone>and there is the seed file https://gist.github.com/bf3ad4486e68307ad06b55fd8f43aef0
07:15:11  <leptone>InFlames: ok now im going to run my test env and see if everything breaks
07:15:40  * oetjenjquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:15:59  * oetjenjjoined
07:16:27  * oetjenjquit (Client Quit)
07:16:42  * wafflejockquit (Ping timeout: 268 seconds)
07:16:49  * JamesMGreenequit (Ping timeout: 248 seconds)
07:17:09  * Zamerickquit (Ping timeout: 250 seconds)
07:17:53  * milardovichquit (Ping timeout: 248 seconds)
07:18:17  * SwiftMattjoined
07:18:20  * wafflejockjoined
07:22:14  * sashetojoined
07:23:06  * horseyjoined
07:24:22  * leptone_joined
07:25:30  * Neuromancerquit (Ping timeout: 258 seconds)
07:25:32  * olltiequit (Read error: Connection reset by peer)
07:26:39  * sashetoquit (Ping timeout: 246 seconds)
07:27:16  * kickrquit (Read error: Connection reset by peer)
07:27:22  * horseyquit (Ping timeout: 240 seconds)
07:27:24  * kickr_joined
07:27:55  * kickr_quit (Read error: Connection reset by peer)
07:28:13  * kickr_joined
07:29:05  * leptone_quit (Ping timeout: 248 seconds)
07:29:05  * kickr_quit (Read error: Connection reset by peer)
07:29:23  * kickrjoined
07:29:39  * the_antjoined
07:30:00  * publioquit (Remote host closed the connection)
07:30:58  * SwiftMattquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
07:31:48  * chargenjoined
07:34:01  * led_ir22quit (Quit: led_ir22)
07:34:22  * tkorejoined
07:34:22  * tkorequit (Changing host)
07:34:22  * tkorejoined
07:34:45  * Elishaquit (Read error: Connection reset by peer)
07:36:05  * code2bejoined
07:36:08  * Areksquit (Remote host closed the connection)
07:37:34  * Mamutquit (Quit: I cna ytpe 300 wrods pre mniuet!!!)
07:38:45  * DaffzDuckjoined
07:38:47  * DaffzDuckquit (Remote host closed the connection)
07:39:05  * DaffzDuckjoined
07:39:40  * Areksjoined
07:40:36  * led_ir22joined
07:40:52  * SwiftMattjoined
07:42:36  * darkSeid_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:42:43  * SwiftMattquit (Client Quit)
07:45:33  * d4rklit3quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:50:19  * leptonequit (Remote host closed the connection)
07:54:11  * dryzerjoined
07:54:26  * gdaintijoined
07:56:09  * milardovichjoined
07:58:32  * dryzerquit (Ping timeout: 240 seconds)
07:59:00  * LambdaSourcejoined
07:59:20  * aqrlnjoined
07:59:33  * the_antquit (Ping timeout: 246 seconds)
07:59:52  * milardov_quit (Ping timeout: 268 seconds)
07:59:56  * jsatkjoined
08:00:45  * pattersonquit (Quit: I quit)
08:01:12  * the_antjoined
08:01:16  * asteele_joined
08:03:43  * ch007mjoined
08:04:36  * jsatkquit (Ping timeout: 258 seconds)
08:04:47  * asteelequit (Ping timeout: 255 seconds)
08:05:54  * DaffzDuckquit (Quit: Leaving...)
08:08:12  * dryzerjoined
08:09:28  * Technodromequit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:09:41  * pskquit (Remote host closed the connection)
08:10:39  * dongustonquit (Ping timeout: 255 seconds)
08:11:27  * ch007mquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
08:12:58  * dryzerquit (Ping timeout: 264 seconds)
08:13:19  * Mamutjoined
08:14:44  * niveditnjoined
08:15:05  * InFlamesquit (Ping timeout: 240 seconds)
08:15:09  * ch007mjoined
08:16:29  * upperdeckquit (Ping timeout: 255 seconds)
08:16:47  * upperdeckjoined
08:17:37  * horseyjoined
08:17:59  * rendarjoined
08:19:54  * niveditnpart
08:20:25  * niveditnjoined
08:22:46  * Elyx0_joined
08:23:13  <BeerLover>how should service to service auth work in microservices?
08:23:16  <BeerLover>i have a central auth service and other services
08:23:18  <BeerLover>so should i keep the services and their unique tokens in auth and verify on each call?
08:23:18  * Elyx0quit (Ping timeout: 268 seconds)
08:23:21  <BeerLover>or is there any other way?
08:25:38  * dryzerjoined
08:26:44  * LambdaSourcequit (Read error: Connection reset by peer)
08:27:18  * LambdaSourcejoined
08:30:00  * dryzerquit (Ping timeout: 246 seconds)
08:30:33  * cotko4joined
08:31:15  <niveditn>join
08:31:34  <niveditn>Hi everyone
08:31:50  * niveditnquit (Quit: Ex-Chat)
08:32:35  * niveditnjoined
08:33:44  * Technodromejoined
08:33:46  * BSaboiajoined
08:35:16  * wonko7quit (Ping timeout: 258 seconds)
08:36:59  <niveditn>Hi, I'm new to IRC... Is @refack from github available here? Needed to ask him about a ticket.
08:37:28  * Chuguniyjoined
08:37:31  * milardov_joined
08:38:06  * InfinityFyejoined
08:39:22  * Cabanossiquit (Ping timeout: 264 seconds)
08:39:26  * asteele_quit (Ping timeout: 255 seconds)
08:40:38  * milardovichquit (Ping timeout: 258 seconds)
08:40:46  * merceristjoined
08:41:02  * Cabanossijoined
08:42:13  * jaegaernjoined
08:43:48  * konsolebox_quit (Ping timeout: 240 seconds)
08:44:05  * Technodromequit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:44:50  * dongustonjoined
08:45:56  * Technodromejoined
08:46:11  * wsierocijoined
08:47:57  * Ergojoined
08:49:16  * konsoleboxjoined
08:52:53  * Planet_ENjoined
08:53:03  * coot___________joined
08:54:47  * andrew9184joined
08:55:33  * computer2000quit (Remote host closed the connection)
08:55:56  * computer2000joined
08:56:19  * Borkrquit (Quit: Leaving)
08:56:48  * xalljoined
08:57:03  * MrAbaddonquit (Remote host closed the connection)
08:58:59  * Borkrjoined
08:59:16  * dryzerjoined
09:00:15  * supernovahquit (Quit: Lost terminal)
09:01:36  * ch007mquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
09:02:20  * wonko7joined
09:02:25  * hjgjoined
09:02:29  * ch007mjoined
09:03:35  * hjgquit (Client Quit)
09:03:58  * dryzerquit (Ping timeout: 264 seconds)
09:05:13  * dryzerjoined
09:05:36  * Arcarcjoined
09:08:25  * Ontaine_joined
09:14:43  * roomcayzjoined
09:15:05  * toiquit (Ping timeout: 240 seconds)
09:16:17  * Ontaine_quit (Remote host closed the connection)
09:16:57  * beerdropquit (Ping timeout: 268 seconds)
09:17:12  * LambdaSourcequit (Remote host closed the connection)
09:18:25  * toijoined
09:18:42  * milardovichjoined
09:18:51  * wrainboltjoined
09:18:58  * Arcarcquit (Ping timeout: 264 seconds)
09:19:47  * Booster2ooojoined
09:22:30  * milardov_quit (Ping timeout: 268 seconds)
09:23:02  * teamcoltrajoined
09:23:07  * toiquit (Ping timeout: 268 seconds)
09:24:17  * sbellinaquit (Ping timeout: 248 seconds)
09:24:29  * sbellinajoined
09:25:27  * SwiftMattjoined
09:26:23  * dre_joined
09:27:20  * euoiajoined
09:29:50  * mr_loujoined
09:30:12  * Arcarcjoined
09:30:15  * beerdropjoined
09:32:18  * platonicjoined
09:33:55  * cocoadaemonjoined
09:34:32  * computer2000quit (Ping timeout: 240 seconds)
09:36:27  * Arcarcquit (Ping timeout: 240 seconds)
09:36:42  * platonicquit (Ping timeout: 240 seconds)
09:36:43  * xkapastelquit (Quit: Connection closed for inactivity)
09:36:57  * computer2000joined
09:37:42  * wsierociquit (Remote host closed the connection)
09:40:46  * toijoined
09:41:19  * usersdfsdjoined
09:41:52  * sbellinaquit (Ping timeout: 248 seconds)
09:44:49  * SwiftMattquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
09:44:54  * toiquit (Ping timeout: 246 seconds)
09:45:00  * toi1joined
09:45:28  * GEEGEEGEEGEEGEEGjoined
09:47:57  * dongustonquit (Ping timeout: 240 seconds)
09:48:18  * usersdfsdquit (Quit: Page closed)
09:49:10  * LambdaSourcejoined
09:50:40  * xallquit (Read error: Connection reset by peer)
09:51:02  * euoiaquit (Ping timeout: 240 seconds)
09:51:56  * xalljoined
09:53:35  * LambdaSourcequit (Ping timeout: 240 seconds)
09:53:45  * zeronjoined
09:54:10  * pranjalwormjoined
09:54:40  * pranjalwormquit (Client Quit)
09:57:38  * nahtnamjoined
10:00:00  * milardov_joined
10:00:09  * leptonejoined
10:01:00  * xallquit (Ping timeout: 246 seconds)
10:03:07  * milardovichquit (Ping timeout: 250 seconds)
10:04:32  * MrAbaddonjoined
10:04:52  * leptonequit (Ping timeout: 260 seconds)
10:06:22  * notewelljoined
10:08:05  * medikoo-botquit (Remote host closed the connection)
10:10:40  * medikoo-botjoined
10:11:10  * andrew9184quit (Quit: andrew9184)
10:15:28  * Arcarcjoined
10:15:45  * EyePulpjoined
10:16:16  * ShekharReddyquit (Quit: Connection closed for inactivity)
10:20:00  * ed209quit (Remote host closed the connection)
10:20:07  * ed209joined
10:20:16  * EyePulpquit (Ping timeout: 248 seconds)
10:23:03  * Cohedrinquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:27:34  * euoiajoined
10:27:52  * neoncontrailsjoined
10:28:36  * ackbjoined
10:30:52  * igemnacequit (Quit: WeeChat 1.9.1)
10:31:35  * thorbertquit (Quit: leaving)
10:32:04  * chll_joined
10:33:25  * tvwjoined
10:33:50  * fl0wjoined
10:33:56  * platonicjoined
10:34:41  * computer2000quit (Ping timeout: 248 seconds)
10:37:18  * niveditnquit (Read error: Connection reset by peer)
10:37:39  * Stevermanjoined
10:38:25  * platonicquit (Ping timeout: 248 seconds)
10:39:17  * Cabanossiquit (Ping timeout: 276 seconds)
10:39:24  * niveditnjoined
10:39:27  * niveditnquit (Client Quit)
10:40:44  * Cabanossijoined
10:40:46  * neoncontrailsquit (Remote host closed the connection)
10:41:02  * pankaj_quit (Ping timeout: 260 seconds)
10:41:29  * Technodromequit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:41:58  * gliquit (Quit: Leaving)
10:42:42  * BSaboiaquit (Quit: Leaving)
10:44:27  * gxtquit (Ping timeout: 258 seconds)
10:45:36  * kakashiALjoined
10:47:01  * milardovichjoined
10:48:58  <gajus>Anyone have a clue how to configure maximum concurrency of Node.js HTTP server? https://stackoverflow.com/q/47432744/368691
10:50:22  * xalljoined
10:50:22  * milardov_quit (Ping timeout: 260 seconds)
10:50:22  * dre_quit (Remote host closed the connection)
10:50:46  * xallquit (Client Quit)
10:52:32  * ivan_the_monkeyquit (Ping timeout: 268 seconds)
10:54:22  * Stevermanquit (Ping timeout: 264 seconds)
10:54:39  * ebijoined
10:56:05  * pankaj_joined
10:56:38  * fl0wquit (Quit: fl0w)
10:56:56  * fl0wjoined
10:57:23  * fl0wquit (Client Quit)
10:57:51  * fl0wjoined
10:58:11  * fl0wquit (Client Quit)
10:58:41  * fl0wjoined
10:58:59  * fl0wquit (Client Quit)
10:59:31  * fl0wjoined
10:59:47  * fl0wquit (Client Quit)
11:00:24  * fl0wjoined
11:00:35  * fl0wquit (Client Quit)
11:01:52  * pankaj_quit (Ping timeout: 240 seconds)
11:04:36  * Indrekjoined
11:05:06  * asmcoderjoined
11:05:35  * euoiaquit (Ping timeout: 240 seconds)
11:07:09  <Indrek>How to understand where do you get UnhandledPromiseRejectionWarning
11:07:12  <Indrek>?
11:07:19  * ShekharReddyjoined
11:07:25  <Indrek>it doesn't return any line number or file name
11:08:27  <efdee>Indrek: listen to the 'unhandledRejection' event on the process object, so you can print a stack trace
11:08:46  * ohcibiquit (Remote host closed the connection)
11:08:53  * pankaj_joined
11:09:28  * SenasOzysjoined
11:09:54  <Indrek>do you have a hint for me? :)
11:11:59  <gajus>..
11:12:12  <gajus>He literally gave you the answer.
11:13:19  * Quatrokingjoined
11:13:41  * ohcibijoined
11:13:43  * IanLiujoined
11:14:03  * crazyhorsejoined
11:14:47  <crazyhorse>with aws lamdba and node.js can you in the lambda function access any of the files you've uploaded?
11:14:53  * Mamutquit (Quit: I cna ytpe 300 wrods pre mniuet!!!)
11:15:13  <crazyhorse>i.e. if i upload main.js and a.js can i read a.js ?
11:15:19  <crazyhorse>from main.js
11:15:35  * computer2000joined
11:16:48  * GEEGEEGEEGEEGEEGquit (Ping timeout: 248 seconds)
11:18:13  * ivan_the_monkeyjoined
11:18:20  * kevinburkequit (Quit: Connection closed for inactivity)
11:19:18  * BeerLove_joined
11:20:05  * BeerLoverquit (Ping timeout: 240 seconds)
11:21:21  * hfp_workquit (Quit: bye)
11:22:52  * VibroMaxjoined
11:23:12  * ivan_the_monkeyquit (Ping timeout: 248 seconds)
11:23:37  * rvalinjoined
11:25:10  * mylesborinsquit (Quit: farewell for now)
11:25:31  * hfp_workjoined
11:25:41  * mylesborinsjoined
11:26:57  * dryzerquit (Remote host closed the connection)
11:27:24  * dryzerjoined
11:27:29  * crazyhorsequit (Ping timeout: 248 seconds)
11:28:14  * milardov_joined
11:31:08  * milardovichquit (Ping timeout: 240 seconds)
11:31:57  * dryzerquit (Ping timeout: 250 seconds)
11:33:13  * ivan_the_monkeyjoined
11:36:05  * VibroMaxquit (Ping timeout: 240 seconds)
11:36:17  * Technodromejoined
11:36:55  * dongustonjoined
11:37:24  * VibroMaxjoined
11:40:47  * phljoined
11:42:52  * plutoniixquit (Quit: Leaving)
11:42:57  * the_antquit (Ping timeout: 248 seconds)
11:43:03  * rorrojoined
11:44:15  * ivan_the_monkeyquit (Ping timeout: 258 seconds)
11:46:05  * Neo1quit (Quit: Neo1)
11:46:53  * Technodromequit (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:48:21  * cjorclquit (Quit: Textual IRC Client: www.textualapp.com)
11:50:15  * SmokinGruntsquit (Remote host closed the connection)
11:50:29  * Aquazijoined
11:54:56  * ivan_the_monkeyjoined
11:56:27  * Mamutjoined
11:58:34  * chargenquit (Quit: BBL)
11:59:42  * edencjoined
11:59:47  * ivan_the_monkeyquit (Ping timeout: 260 seconds)
12:00:16  * kim366joined
12:01:06  * jsatkjoined
12:01:41  * edencpart
12:01:42  * zxcquit (Read error: Connection reset by peer)
12:01:45  * ivan_the_monkeyjoined
12:01:48  * edencjoined
12:04:14  * m1dnight_joined
12:05:22  * jsatkquit (Ping timeout: 240 seconds)
12:05:30  * warpxquit (Quit: Leaving...)
12:06:24  * warpxjoined
12:06:27  * ivan_the_monkeyquit (Ping timeout: 240 seconds)
12:08:03  * hachidoriijoined
12:08:07  * chargenjoined
12:08:45  * simkajoined
12:09:34  * milardovichjoined
12:10:45  * chargenquit (Client Quit)
12:12:41  * milardov_quit (Ping timeout: 250 seconds)
12:14:58  * knoxyjoined
12:14:58  * knoxyquit (Changing host)
12:14:58  * knoxyjoined
12:19:56  * w0ngjoined
12:22:10  * LambdaSourcejoined
12:24:12  * dryzerjoined
12:24:29  * ivan_the_monkeyjoined
12:25:12  * mezodjoined
12:26:48  * LambdaSourcequit (Ping timeout: 240 seconds)
12:28:52  * ivan_the_monkeyquit (Ping timeout: 240 seconds)
12:32:36  * alinjoined
12:34:30  * kim366quit (Remote host closed the connection)
12:34:41  * ivan_the_monkeyjoined
12:34:48  * kim366joined
12:36:40  * ch007mquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
12:37:58  * ^escquit (Ping timeout: 248 seconds)
12:39:27  * ivan_the_monkeyquit (Ping timeout: 258 seconds)
12:40:02  * itaipujoined
12:40:11  * kickrquit (Read error: Connection reset by peer)
12:40:19  * lenswipejoined
12:40:24  * lenswipequit (Changing host)
12:40:25  * lenswipejoined
12:40:28  <lenswipe>hey folks
12:40:30  * kickrjoined
12:41:06  * hachidoriiquit (Quit: hachidorii)
12:41:08  * Avarayjoined
12:41:50  * RLaquit (Quit: Leaving)
12:41:56  * kickrquit (Read error: Connection reset by peer)
12:42:04  * kickr_joined
12:42:34  <joepie91>Indrek: run Node with the --trace-warnings flag
12:43:37  * hachidoriijoined
12:43:43  * Avarayquit (Client Quit)
12:44:16  * BeerLove_quit (Ping timeout: 248 seconds)
12:44:40  * Avarayjoined
12:47:29  * ch007mjoined
12:49:30  * InfinityFyequit (Quit: Leaving)
12:50:54  * milardov_joined
12:51:50  * targosquit (Quit: Leaving)
12:52:06  * VibroMaxquit (Ping timeout: 258 seconds)
12:52:13  <lenswipe>Working on a codebase that uses `Object.defineProperty`. How do I document those using esdoc?
12:52:50  * dryzerquit (Remote host closed the connection)
12:52:53  * wsierocijoined
12:53:16  * dryzerjoined
12:53:36  * chargenjoined
12:53:41  * milardovichquit (Ping timeout: 240 seconds)
12:53:59  * Sven_vBquit (Remote host closed the connection)
12:54:19  * JamesMGreenejoined
12:54:22  * Sven_vBjoined
12:54:56  * JamesMGreenequit (Client Quit)
12:54:57  * Areksquit (Remote host closed the connection)
12:55:14  * alinquit (Remote host closed the connection)
12:57:27  * jeffreylevesquequit (Ping timeout: 240 seconds)
12:57:43  * pankaj_quit (Ping timeout: 268 seconds)
12:57:58  * dryzerquit (Ping timeout: 264 seconds)
13:00:44  * BeerLoverjoined
13:02:38  * Technodromejoined
13:04:36  * sz0joined
13:05:39  * VibroMaxjoined
13:10:19  * edencquit (Quit: Leaving)
13:12:20  * fbenoitjoined
13:12:35  * Virtulisquit (Ping timeout: 240 seconds)
13:12:37  * milardov_quit (Remote host closed the connection)
13:12:52  * Technodromequit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:12:53  * milardovichjoined
13:14:40  * ch007mquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
13:18:17  * tacoboyjoined
13:18:40  * asteelejoined
13:19:11  * hachidoriiquit (Quit: hachidorii)
13:20:23  * AtumTjoined
13:21:44  <Sven_vB>I just found the probably most convincing conclusion to yesterday's style guide debate: it's good style to use non-confusing titles/headlines for texts. thus the airbnb ruleset shouldn't claim to be a style guide. maybe "Introduction to ES6" or something. The first chapter is direct proof: It's about how the language works. and only the annotation in 1.1 has a tiny bit of advice.
13:22:40  <asteele>o_O
13:22:46  * led1joined
13:23:53  * jim87joined
13:24:49  * Neuromancerjoined
13:25:12  * pankaj_joined
13:25:42  * dryzerjoined
13:27:15  * jeffreylevesquejoined
13:28:03  <Sven_vB>asteele, most of the debate yesterday was about using correct names for concepts (which programmers should care about.), so conflating lots of categories as "style" muddies a reader's thought unless they actively defend by re-interpreting the vocabulary used in the article.
13:28:55  <Sven_vB>that's still not saying the guide is bad, just that it could be much more helpful and I've too few time to rewrite it myself.
13:29:20  <asteele>does the airbnb style guide introduce new concepts? i thought the idea was, heres the standard list of features, here is (our) preferred way of using them
13:29:35  <efdee>Sven_vB: your point is only valid for section 1 though, which is hardly worth mentioning :-)
13:29:38  * ivan_the_monkeyjoined
13:29:59  <efdee>Sven_vB: section 1 is not very representative for the rest of the guide
13:30:46  <Sven_vB>efdee, that's ok for random texts, but a style guide should demonstrate good style as long as it claims to teach style.
13:30:53  * Avarayquit (Quit: Leaving)
13:31:02  * Axyquit (Ping timeout: 240 seconds)
13:31:08  <efdee>"meh"
13:31:40  * jeffreylevesque_joined
13:31:47  * pstef_quit (Quit: Connection closed for inactivity)
13:32:13  * milardov_joined
13:32:27  * ch007mjoined
13:33:53  * jeffreylevesquequit (Ping timeout: 248 seconds)
13:33:53  * Apocx_joined
13:34:09  * ivan_the_monkeyquit (Ping timeout: 246 seconds)
13:34:12  * Apocxquit (Read error: Connection reset by peer)
13:35:28  * milardovichquit (Ping timeout: 248 seconds)
13:35:50  * platonicjoined
13:38:13  * pankaj_quit (Quit: Leaving)
13:38:15  <Sven_vB>the muddying goes on by implying that stuff like writing "new Array()" was a matter of style. this helps certain coders keep their delusion that it's "just about style" and "personal stylistic choice" could justify using that expression.
13:39:59  <Sven_vB>it's a bit like as soon as you start slicing a canvas after painting it, it may still be art but it's no longer the same category as it had been before.
13:40:53  <asteele>Sven_vB isn't using new Array() versus [], a style choice?
13:40:53  * platonicquit (Ping timeout: 268 seconds)
13:41:04  <Sven_vB>(implied: thus suddenly a different set of criteria is required to evaluate the work)
13:42:42  * Hu0pjoined
13:43:11  * ^^^^quit (Remote host closed the connection)
13:43:13  * mikecshjoined
13:43:24  * NuttyNuttersonjoined
13:43:42  <Sven_vB>asteele, I'm not currently prepared to defend that claim, but my gut feeling is quite strong about it and thinks Crockford might even have taught my proper reasons long time ago.
13:43:49  * ^^^^joined
13:44:00  <Sven_vB>*me
13:44:37  <asteele>do you mean that the difference between the two isn't style, and its something you already learned?
13:45:20  * sehrope_quit (Remote host closed the connection)
13:45:23  * notewellquit (Quit: My Mac Pro has gone to sleep. ZZZzzz…)
13:45:35  <asteele>i would tend to think that is a style question - the end result is going to be the same thing, its just two different ways to do the same thing essentially
13:45:57  * simkaquit (Ping timeout: 240 seconds)
13:46:09  <asteele>i think above all what you are going for also when you adopt a style guide, is just consistency in the things that can be done many different ways
13:47:00  <doodadjs>that's more a functional choice. new Array allows to create sparse array of X items, often used for optimization. [] just creates an empty array.
13:47:55  <Sven_vB>I'm really not sure about the correct answer, but it might be analogous to the canvas example. there's some set of usual expectations we have when we see that people are writing JS code. like when you see someone draw oil color with a brush onto a canvas. it evokes certain expectations. when they then start to rip the canvas and put a live rabbit in it, the focus shifts to what are they actually doing. my gut says that in the same
13:47:55  <Sven_vB>sense it the canvas stops being an oil paining, the new Array() code stops being what we understand as programming JavaScript.
13:48:24  <efdee>O_o
13:48:45  * DeltaHeavyjoined
13:49:02  <asteele>sort of understanding your point more Sven_vB, can you further explain how new Array() stops being js?
13:49:28  <Sven_vB>I don't think I can right now. brain is not in poetic mode.
13:49:45  <asteele>alright
13:50:12  * BioSpiderquit (Ping timeout: 240 seconds)
13:50:22  * upperdeckquit (Ping timeout: 240 seconds)
13:50:39  * mikecshquit (Quit: mikecsh)
13:51:24  <Sven_vB>when you remove the "guide" from above sentence: "when you adopt a style, is just consistency in the things that can be done many different ways", I'd expect it to provoke criticism from any good arts teacher.
13:51:30  * kim366quit (Read error: Connection reset by peer)
13:52:15  * apparitionjoined
13:52:20  <asteele>i guess that would depend on how much you think programming is really an 'art'. i can see that in the individual programmer, but when you have a team of people trying to accomplish the same thing, i think the connection to art breaks down a bit
13:52:46  <asteele>to where consistency is actually a very important thing, for a team working together
13:53:14  <asteele>instead of art i would consider it more like writing the bible, get a group of people and try to get them to write a book, where they each only write portions of it
13:53:16  * upperdeckjoined
13:54:00  * ngmquit (Ping timeout: 255 seconds)
13:54:31  * Cabanossiquit (Ping timeout: 250 seconds)
13:54:32  <Sven_vB>it's a bit like whether a group project can still be art when it has to be accomplished by a team of people who gathered based on other criteria than a shared vision of artistic expression. at that point you most probably need other, more pragmatic, criteria, than "style".
13:55:54  * Cabanossijoined
13:56:13  <Sven_vB>the bible is a good example. when people on the streed advocate for it, it's usually not because of it's writing style, but about how it will set me free or what a genius has invented it.
13:57:19  <asteele>well as a programmer type myself, ill readily admit that the lines of 'art' are not always clear to me. i have often referred to programming as art, but i also think its a lot more complex than other forms of art like painting. i think programming is much more akin to good poetry than painting (Which could be considered art all the same? im not sure)
13:57:23  * drejjoined
13:57:25  * gxtjoined
13:58:23  * simkajoined
13:58:37  <efdee>it sounds you are arguing that you need more than just a style guide to bring a project to completion. which is true, of course, but doesn't mean a style guide can't be a good tool to have. just don't let it be the only tool.
13:58:57  <Sven_vB>an painter artist friend of mine says there's analogues for most aspects of poetry in painting as well, you just have to learn the language of painting in order to see it.
13:59:44  * snowkidindjoined
14:00:01  * nastjoined
14:00:43  <Sven_vB>efdee, I think it's more like: most of the rules and criteria you need to make a group work of programming go smooth is not about style, and thus most texts dealing with it shouldn't claim to be primarily about style.
14:01:13  * EyePulpjoined
14:01:30  <asteele>hmm well i think its very fair/obvious to say that more than a style guide is needed to get a team of people working together
14:01:43  <Sven_vB>joepie91 already argued the example of the airbnb guide having lots of linter rules under its "style guide" headline.
14:02:05  * plexigrasjoined
14:03:00  <efdee>yea, that whole discussion was pretty pointless in my eyes
14:03:03  * roxlujoined
14:03:08  <asteele>a style guide cant get your team to communicate or make more accurate deadlines, style guides are important (imo) for what i said earlier, they provide consistency for tasks that have different ways to achieve the same end result
14:03:18  <roxlu>Hi! Does someone knows a channel for pm2 ?
14:03:30  <asteele>roxlu doubt it has its own channel, here is probably closest
14:03:38  <roxlu>ok thanks
14:03:47  <doodadjs>Sven_vB: I think that guide tries to be as general as possible so that your organization can compose a final one based on its own decisions
14:04:24  <roxlu>I've just created a config file for pm2 which works on Mac and I'm now testing it on Windows. I want to run a couple of .exe files and wondering how to deal with that in a cross platform way
14:06:32  <Sven_vB>doodadjs, I agree an the "as general as possible", and the discussion yesterday looked like it's mostly about n00b damage control. both makes me conclude it's not primarily about style.
14:06:35  * ivan_the_monkeyjoined
14:07:40  <asteele>roxlu ummm not positive... havent used pm2 on a windows machine yet. i would just either distribute two copies of configs (For different OS's) or not provide it at all (Assuming the person sets up pm2 on their own for whatever server they are on)
14:08:06  <roxlu>asteele: ok thanks, yeah I was thinking about creating two configs indeed
14:08:19  <roxlu>asteele: but even with that it doesn't want to run my .exe somehow
14:08:31  * gdaintiquit (Ping timeout: 240 seconds)
14:08:38  <asteele>can pm2 run exes?
14:09:22  <roxlu>It can start executables on mac
14:09:30  <roxlu>I assumed that it worked on Win too
14:10:02  * Virtulisjoined
14:10:14  <Sven_vB>whether the discussion makes sense probably depends on how much of a poet's spirit you have in your soul, thus whether you can accept the word "style" being used to include such mundane things like spelling and standard grammar.
14:10:52  * angelojoined
14:10:59  <asteele>maybe it is just then that the general usage of the word 'Style', as used in other forms of art, should not be applied to the programming term 'Style Guide'?
14:11:13  * ivan_the_monkeyquit (Ping timeout: 248 seconds)
14:11:49  * angeloquit (Client Quit)
14:12:25  * unjjoined
14:12:28  <unj>hi y'all
14:13:25  <lenswipe>Hey guy s- working on a codebase that uses `Object.defineProperty`. How do I document those using esdoc?
14:14:22  * ebiquit (Quit: Connection closed for inactivity)
14:15:11  <Sven_vB>I'm not sure whether I agree with the premise, whether the term is used adequately (and by whom) in discussion other art forms. in programming however, we have better terms for lots of the rule categories that are often conflated as style, see joepie91's explanation of linter rules yesterday. so yes I say for programming guides that include linter rules, teamwork advice, pitfall warnings etc., they should use a category that includes
14:15:11  <Sven_vB>all these aspects. even if they are *also, partially* about style.
14:15:21  * gdaintijoined
14:16:01  * mezodquit (Remote host closed the connection)
14:16:03  <unj>where can I find sources to 'os' module? npm navigates to https://github.com/DiegoRBaquero/node-os
14:16:17  <unj>but it's almost empty
14:16:19  <asteele>unj https://nodejs.org/api/os.html
14:16:58  * merceristquit (Remote host closed the connection)
14:17:06  <Sven_vB>unj, https://github.com/nodejs/node/blob/master/lib/os.js
14:17:40  <unj>Sven_vB: perfect. thank you
14:17:44  <Sven_vB>yw
14:17:46  <doodadjs>lenswipe: idk, the same way you'll document obj.foo = 'bar' ?
14:18:29  <lenswipe>doodadjs, ...
14:18:31  * mezodjoined
14:19:07  <doodadjs>lenswipe: I can't elaborate more, sorry
14:19:21  <lenswipe>doodadjs, I'm not sure you understood what I said though
14:19:28  * notewelljoined
14:19:43  * plutoniixjoined
14:19:47  * plutoniixquit (Max SendQ exceeded)
14:20:03  <doodadjs>lenswipe: You ask how to document defined created by Object.defineProperty with esdoc ?
14:20:11  * Stevermanjoined
14:20:11  <lenswipe>correct
14:20:21  <lenswipe>what makes you think I haven't already tried `obj.foo = 'bar'`
14:20:53  <asteele>how would anyone here know if you had or hadnt
14:21:01  * plutoniixjoined
14:21:08  <lenswipe>oh i dunno
14:21:10  <lenswipe>common sense?
14:21:25  <asteele>you dont answer a lot of people i the channels then or?
14:21:31  <charmander>lenswipe: “the same way you’ll document”
14:21:39  <asteele>one of the first things you do for anyone who needs help is to check the simple things
14:21:40  <charmander>was the suggestion
14:21:57  <lenswipe>right... charmander I have already tried that
14:22:15  <lenswipe>^ there - I said it ^
14:22:16  <lenswipe>:)
14:22:19  * NuttyNuttersonquit (Read error: Connection reset by peer)
14:22:46  <charmander>lenswipe: what did that attempt look like
14:23:12  * davidbowlbyquit (Ping timeout: 240 seconds)
14:23:18  * DeltaHeavyquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:23:41  * coot___________quit (Quit: coot___________)
14:23:44  <lenswipe>charmander, like this: https://i.imgur.com/5cO8JMt.png
14:24:03  * toi1quit (Ping timeout: 268 seconds)
14:25:00  <Sven_vB>lenswipe, how would you document a codebase that uses obj.foo = to define a property? and which aspects of the .defineProperty() code will be lacking when using the strategy from 1st question?
14:25:26  <lenswipe>Sven_vB, I don't understand what you mean
14:25:33  * dryzerquit (Remote host closed the connection)
14:26:00  * dryzerjoined