00:00:06  * troykelly_quit (Quit: Farewell. So long. My battery has died...)
00:00:24  <charmander>You should be looking for a sandbox rather than a template engine, then
00:00:29  * serge____quit
00:00:30  <noethics>okay well that's hardly going to be an issue unless you inline js in your template
00:00:58  <noethics>the only issue i can see is the template maker being able to perform XSS
00:01:14  <noethics>unless you escape html
00:01:24  <charmander>> okay well that's hardly going to be an issue unless you inline js in your template
00:01:28  <charmander>isn’t that most template engines?
00:01:43  <noethics>isn't what most template engines?
00:02:00  <charmander>Most of them allow unrestricted JavaScript
00:02:02  * troykellyjoined
00:02:17  <noethics>maybe some trash nodejs specific template engines? idk
00:02:23  <hdon>:3
00:02:29  <hdon>noethics, any recommendations then? :)
00:03:14  <charmander>hdon: What sorts of operations are templates expected to do? What joepie91 suggested is the best option.
00:03:19  <joepie91>noethics: most every templater in Node allows JS expressions
00:03:29  <joepie91>which makes sense for 99% of cases
00:03:31  <joepie91>just not this one
00:03:33  <joepie91>lol
00:03:57  <noethics>i dont really know what fotm node template engines exist hdon
00:04:10  <joepie91>hdon: so this might be a crazy suggestion, but roll your own HTML DOM-based templating tooling using something like cheerio?
00:04:17  <noethics>i would do it in go since go has a html escaping template engine built into the stdlib
00:04:40  <hdon>:3
00:04:43  <joepie91>hdon: with just the constructs you want
00:04:49  <joepie91>and not eval'ing anything anywhere
00:05:04  <joepie91>hdon: I mean, if handlebars fits your requirements, then that's obviously the preferable option, but I have a suspicion it might not
00:05:06  <joepie91>:p
00:05:16  <charmander>Yep, do that ^
00:05:18  <charmander>It’s not crazy
00:06:01  <hdon>joepie91, my main worry about handlebars is a vague memory that their implementation of template inheritance is a little funny
00:06:41  <joepie91>hdon: if that turns out to be the case, maybe just try to replicate the Pug implementation using a hand-rolled Cheerio-based solution
00:06:48  <joepie91>hdon: eg. pseudo-elements like <extends> and <block>
00:06:57  <hdon>hmm
00:07:06  <hdon>yeah that could probably work, really
00:07:06  <joepie91>but minus the arbitrary expressions
00:07:21  <joepie91>so you might implement <each> as <each for="foo" in="foos">
00:07:24  <joepie91>or something like that
00:07:28  * i5um41ruquit (Ping timeout: 240 seconds)
00:07:43  <joepie91>and then some interpolation magic for values and pre-specified helpers and you're done
00:07:45  <hdon>when is github going to do something about wrapping code?
00:08:01  <joepie91>hdon: when they fix the rest of the hundreds of outstanding issues, I'd imagine
00:08:02  <joepie91>:P
00:08:06  <hdon>:d
00:08:24  <hdon>joepie91, i feel like it's only a single line of CSS though :3
00:08:27  * zz_zzjoined
00:08:36  * bweston92_quit (Quit: Connection closed for inactivity)
00:09:23  <joepie91>hdon: I've been waiting for a "retarget PR to different branch" button for years now
00:09:29  <joepie91>which is not exactly a difficult thing to implement either
00:09:41  <hdon>oh, that'd be a good one
00:10:22  * dopesongquit (Remote host closed the connection)
00:10:57  * dopesongjoined
00:11:19  <zsoc>hmmm bluebird is complaining about me not returning a promise.. but the line it's pointing to is a res.send in a thennable.. should i just be returning null after it?
00:11:48  * we_are_nihilistsjoined
00:12:03  <hdon>zsoc, want to share your error message and/or code?
00:12:04  * we_are_nihilistsquit (Read error: Connection reset by peer)
00:12:05  <hdon>:)
00:12:17  <charmander>zsoc: .done(response => { res.send(response); }, error => { next(error); })
00:12:44  <zsoc>wut
00:12:57  <charmander>well, no, that’s a bad idea
00:13:09  <zsoc>"The use of this method is heavily discouraged and it only exists for historical reasons."
00:13:14  <zsoc>hehe
00:13:15  * zz_zzquit (Client Quit)
00:13:17  * necro666quit (Ping timeout: 255 seconds)
00:13:49  <charmander>Hm? That’s silly
00:14:10  <zsoc>ehhhh i don't like the pattern at all
00:14:48  <charmander>It’s a bad pattern
00:14:50  <zsoc>it's too much like .then(fulfilledHandler, rejectionHandler)
00:14:54  * ahmedelgabriquit (Read error: Connection reset by peer)
00:14:58  * dopesongquit (Ping timeout: 240 seconds)
00:15:27  * ahmedelgabrijoined
00:15:35  <zsoc>er, or rather it's exactly like it, never mind, i thought the rejection handler wasn't optional with #done
00:15:37  * zz_zzjoined
00:15:56  <charmander>How is Bluebird complaining
00:16:16  <charmander>I wasn’t aware it would ever do that. Is this a linter?
00:16:18  <zsoc>the regular way, Warning: a promise was created in a handler at <some place> but was not returned from it
00:16:40  <zsoc>charmander: http://bluebirdjs.com/docs/warning-explanations.html#warning-a-promise-was-created-in-a-handler-but-was-not-returned-from-it
00:16:40  <charmander>Oh, that’s completely different
00:16:45  <charmander>Show code please
00:17:15  <myndzi>bluebird keeps track of when promises are made in functions it's calling back
00:17:31  <myndzi>and checks whether they got returned, since this is a pretty common mistake
00:17:41  <myndzi>the controls for telling it you know, and it's okay, are a bit lacking though
00:17:59  <myndzi>but the warning only exists in dev mode / you can turn off (all?) warnings manually if you need to
00:18:04  <zsoc>right, which is why i was trying to figure out if i should just return null after
00:18:08  <zsoc>or even if i should return res.send
00:18:25  <myndzi>if res.send is a promise you should almost certainly be returning it
00:18:34  <myndzi>there's generally no reason to NOT do that
00:18:42  <zsoc>it's.. not
00:18:46  <myndzi>but i have encountered libraries that cause this warning and provide you with no way to control it
00:18:53  <myndzi>if that's your case, returning null can do the thing you want
00:19:01  * Lukatrixjoined
00:19:03  <zsoc>it's express's res.send, the same one that res.render uses
00:19:16  <myndzi>i had an even worse case where the promise creating the error was in library code and i had to write a hack to filter out warnings on specific promises
00:19:24  <zsoc>eesh
00:19:30  <myndzi>alternately, i've also found those warnings hard to track to the source
00:19:39  <myndzi>you might be looking at the wrong place and actually have this problem elsewhere
00:19:56  <myndzi>depends on if res.send causes a promise to be created somewhere
00:20:02  <myndzi>and how/in what context it's created
00:20:20  <zsoc>it doesn't, it's express lol.. it might in express 5 tho :p
00:20:38  <joepie91>zsoc: is there a transpilation step?
00:20:52  <zsoc>joepie91: nosir
00:20:58  * ivan_the_monkeyquit (Ping timeout: 240 seconds)
00:21:03  <joepie91>zsoc: gist code and error? :P
00:21:27  <zsoc>i think nothing weird is going on here and i'm going to return after it lol. I guess I was just trying to gauge whether there was some meaningful difference between res.send(); return null; and return res.send()
00:21:35  * necro666joined
00:22:15  <joepie91>zsoc: "forgot to return a promise" works through next-tick detection iirc
00:22:28  <joepie91>so it wouldn't be caused by a missing return
00:22:35  <joepie91>rather by a promise not being hooked into
00:22:41  * Casperpart ("Leaving")
00:23:01  * solarflyquit (Ping timeout: 260 seconds)
00:23:47  <zsoc>hmm
00:23:54  <zsoc>i mean i'll gist the code but there's nothing going on here
00:24:01  <zsoc>i mean, i'm sure plenty of other ugly things
00:24:01  * joepie91prepares the quack
00:24:16  * knobjoined
00:24:50  * modlinjoined
00:25:42  <zsoc>https://gist.github.com/jkantr/7503168e478c4a437a559c5983c28a95
00:26:19  <joepie91>zsoc: you cut out code so now the line numbers in the error are wrong
00:26:21  <joepie91>:p
00:26:39  * Xitijoined
00:27:17  <zsoc>yes i cut out code, they are in separate and quite wordy files lol. The error is index.js:20:13 which is line 10 in the gist
00:27:36  <joepie91>zsoc: wordy is fine
00:27:45  <joepie91>zsoc: can you just gist the unmodified files and the full error output? :P
00:28:03  <joepie91>so as to cut out a layer of indirection
00:28:26  * alphamale93quit (Quit: alphamale93)
00:28:35  * jazzhands2quit (Ping timeout: 255 seconds)
00:28:49  * jazzhands2joined
00:29:46  * sibajoined
00:31:17  * d0nn1equit (Ping timeout: 255 seconds)
00:32:06  * alphamale93joined
00:32:18  * d0nn1ejoined
00:33:20  * kingarmadillojoined
00:33:44  * frankdreyquit (Ping timeout: 240 seconds)
00:34:11  <zsoc>sry
00:34:19  * silencedquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:34:19  <zsoc>joepie91: https://gist.github.com/jkantr/4c183fddddcb36b6f29c80ee781310d9
00:34:26  <zsoc>dunno what else you need to see, figure you'll tell me lol
00:34:41  <joepie91>zsoc: is that the *entire* error? single line of stack?
00:34:51  <zsoc>uhhh
00:34:53  <zsoc>u... usually
00:34:53  <zsoc>sec
00:35:58  * alphamale93quit (Client Quit)
00:36:38  <zsoc>joepie91: refresh
00:37:42  * hextileX1joined
00:37:43  * nya_quit (Remote host closed the connection)
00:38:11  * rohanrhu_joined
00:38:15  * john1quit (Ping timeout: 268 seconds)
00:38:25  * kingarmadilloquit (Ping timeout: 260 seconds)
00:38:55  * solarflyjoined
00:38:56  * nd__joined
00:39:07  <zsoc>fwiw.. https://github.com/expressjs/express/blob/master/lib/router/index.js#L330
00:39:35  * hextileXquit (Ping timeout: 260 seconds)
00:39:35  * hextileX1changed nick to hextileX
00:40:42  * ivan_the_monkeyjoined
00:40:44  * rohanrhuquit (Ping timeout: 255 seconds)
00:40:53  <zsoc>i don't think anything is _actually_ wrong, and it only happens with development env vars kicking in bluebirds warnings
00:41:07  <zsoc>i just don't like seeing things in console.warn :p
00:41:29  * mihokjoined
00:41:37  <joepie91>heh.
00:41:46  <joepie91>zsoc: so uh
00:41:58  <joepie91>remove the `return` at https://gist.github.com/jkantr/4c183fddddcb36b6f29c80ee781310d9#file-index-js-L12 ?
00:42:10  <joepie91>and see if it still happens?
00:42:14  <zsoc>y'know
00:42:27  <zsoc>the plan was to get express-promise-router shoved in here at some point
00:42:39  <joepie91>zsoc: maybe now's a good time?
00:42:40  <joepie91>:P
00:42:53  <zsoc>yeah i'm 100% sure without trying it that will fix the error
00:43:01  <joepie91>lol
00:43:10  <zsoc>makes sense on all accounts actually.. the warning being triggered on the internal done callback :p
00:43:20  <joepie91>zsoc: not sure why you're deferring express-promise-router integration anyway :P it's basically a 5 second npm install and a different instantiation
00:43:25  * cootquit (Quit: coot)
00:43:35  * troykelly_joined
00:43:39  <joepie91>like, no point hacking your way around stuff
00:43:46  <zsoc>you're correct
00:43:47  * wudayodaquit (Read error: Connection reset by peer)
00:43:47  * Endarkedquit (Quit: WeeChat 1.6)
00:43:52  * solarflyquit (Remote host closed the connection)
00:44:12  * troykellyquit (Ping timeout: 240 seconds)
00:44:20  * nd__quit (Ping timeout: 255 seconds)
00:44:23  * planet_enquit (Ping timeout: 240 seconds)
00:44:26  <zsoc>hmm okay and now i'm wrong on both accounts
00:44:27  * xalljoined
00:44:52  * wrkrcoopjoined
00:45:11  <zsoc>because that doesn't actually fix it lol... but that could be bluebird complaining about not returning it now.. damned if you do...
00:45:36  <zsoc>er, wait, different internal line, sec
00:45:36  <joepie91>zsoc: did you remove the return AND add express-promise-router? lol
00:45:40  <zsoc>hahaha
00:45:54  * cpcquit (Remote host closed the connection)
00:45:55  * wudayodajoined
00:45:56  <zsoc>'let me just fix this one small thing on a saturday'
00:45:56  <zsoc>nope
00:46:26  * agnatjoined
00:46:37  <joepie91>zsoc: you should've learned by now that programming doesn't work like that :D
00:46:42  <zsoc>rabbit holes
00:46:42  * agnatquit (Client Quit)
00:47:28  <zsoc>ah, no.. okay the lines didn't change in the error, but they both match now (both claim at Function.Promise.attempt.Promise.try instead of one being at Promise.then)
00:47:39  * knobquit (Quit: Leaving)
00:47:40  <zsoc>so yeah i have to leave the return and add express-promise-router lol
00:47:59  * cpcjoined
00:49:33  * madebymarkcajoined
00:50:45  <zsoc>ooooooooooooo k now i'm still getting it.
00:51:01  <zsoc>It's weird because like you said, the undefined return shouldn't cause the error unless there was another promise somewhere
00:51:01  * bkoldenquit (Ping timeout: 260 seconds)
00:51:37  <zsoc>oh.. oh dear
00:51:41  <zsoc>okay i think i found it. eesh
00:53:28  * puppyMonkeyquit (Ping timeout: 240 seconds)
00:54:15  <zsoc>no that can't be it either.. i'm going to stop trying to figure this out on a saturday night
00:56:45  * ivan_the_monkeyquit (Ping timeout: 268 seconds)
00:58:35  * zero1one0quit
01:01:49  * zaistequit (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:02:13  * zero1one0joined
01:02:22  * fabiobikjoined
01:02:41  * apparitionjoined
01:03:12  <fabiobik>hi guys, does someone knows what is the equivalent of CURL curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($curl, CURLOPT_USERPWD, $apiKey); on the restify module? thaks alot!!!
01:03:27  * zero1one0quit (Client Quit)
01:03:47  * zero1one0joined
01:04:09  <zsoc>asking for directly equivalents of php code may not be the best way to get a speedy answer
01:04:14  * kingarmadillojoined
01:04:27  <fabiobik>im trying client.basicAuth('api','dd1b6e4c5fa2f243ce9694b6ebe139e8'); but i think its not correct
01:04:51  <fabiobik>it returns this from the server: "errors":[{"code":"A001","message":"AUTH"}]}
01:05:12  <zsoc>i can't say i know anything about basic auth, besides my surprise it still exists
01:05:56  <fabiobik>zsoc well im a php dev and i hope some of people here too
01:06:07  <fabiobik>*or have been in the past :D
01:06:16  * trcmjoined
01:06:39  <charmander>What is `client`?
01:07:01  <fabiobik>var client = restify.createJsonClient({
01:07:32  <zsoc>fabiobik: in your php example you are doing CURLOPT_USERPWD, $apiKey... should I assume that $apiKey = api:dd1b6e4c5fa2f243ce9694b6ebe139e ?
01:07:58  <DeltaHeavy>fabiobik 'headers' is a key you can pass into the createJsonClient object.
01:08:25  <fabiobik>let me show the php code
01:09:00  <fabiobik>https://hastebin.com/xobepihoyi.xml
01:09:13  * kingarmadilloquit (Ping timeout: 260 seconds)
01:09:56  <fabiobik>zsoc: i think its onky the key without the api: part
01:10:05  <zsoc>I don't see how that ever works in php. CURLOPT_USERPWD is expecting user:pass ...
01:10:26  <fabiobik>DeltaHeavy: what you sugest?
01:10:27  * davimorejoined
01:10:33  <zsoc>also you prolly shouldn't paste an endpoint and an api key to a room full of people on the internet, regardless of the application
01:10:40  <DeltaHeavy>fabiobik Do you understand how HTTP headers work?
01:10:46  <fabiobik>zsoc: that api key is fake
01:10:57  <zsoc>ok then, thumbs up :>
01:11:18  <fabiobik>DeltaHeavy: not as much as i should
01:11:19  * kspr1quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
01:11:28  * Stapinjoined
01:11:40  * madebymarkcaquit (Quit: Bye!)
01:11:55  * devKCjoined
01:11:56  * realisationquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:12:18  <devKC>I am receiving the following warning when trying to install kerberos via npm install kerberos: clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9
01:12:24  <fabiobik>DeltaHeavy: but yeah... we cant know everything.... thats why im here to seek from some help
01:12:36  * ahmedelgabriquit (Quit: WeeChat 1.7)
01:13:00  <charmander>fabiobik: client.basicAuth should be correct, yes
01:13:06  <devKC>Is there a fix for this in node v6.10.0? I've read that node v7 will be linking to libc++ but it is not a LTS version currently
01:13:30  <DeltaHeavy>fabiobik If you understand them the restify docs should be really straightforward.
01:13:38  <DeltaHeavy>They're basically key value pairs like how you're setting them in PHP
01:14:22  <charmander>fabiobik: Try using the API key as the username with an empty password?
01:14:36  <zsoc>yeah that's the only thing i can think of
01:14:54  <zsoc>since CURLOPT_USERPWD without a ':' in it is bogus, i'm surprised that even works
01:15:06  * Soopamanjoined
01:15:40  * DeltaHeavyquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:16:05  * DeltaHeavyjoined
01:16:15  <zsoc>Huh. "To authenticate a request, clients should use HTTP Basic Authentication and pass the API key as the username, and an empty password." ... so I guess more than one api does it lol
01:16:52  <publio>zsoc: It's not bogus, it's a feature!
01:17:12  <zsoc>publio: https://xkcd.com/1172/
01:17:18  * bkoldenjoined
01:17:19  <fabiobik>it worked
01:17:42  <fabiobik>ive used the api key as the username and the password ''
01:17:42  * Soopaman1quit (Ping timeout: 240 seconds)
01:17:47  <fabiobik>thank you guys!
01:19:20  <devKC>Is anyone familiar with libstdc++/clang related warning?
01:19:43  <zsoc>is it stopping anything from working or are you just concerned about the deprecation?
01:20:01  * ed209quit (Remote host closed the connection)
01:20:07  * ed209joined
01:21:05  * joyeejoined
01:21:54  <zsoc>it sounds like it's just saying "use libstdc++ on linux and libc++ on mac" but i have no idea why that's the case
01:24:15  <devKC>zsoc: I am worried about deprecation, and also my express app isn't working anymore since I started seeing this message
01:24:48  <zsoc>the latter is.. probably unrelated? but i'm not sure what "isn't working" means
01:25:28  * joyeequit (Ping timeout: 240 seconds)
01:26:25  <devKC>zsoc: client-side API requests can't connect to the express app anymore
01:26:57  * ecuanasoquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:28:21  <zsoc>okay.. and what changed since the last time it worked? and there are no errors or warnings while running the application?
01:28:32  * wrkrcoopquit (Quit: wrkrcoop)
01:28:53  * wrkrcoopjoined
01:29:19  * wrkrcoopquit (Client Quit)
01:29:43  * gucci_meowjoined
01:29:44  * wrkrcoopjoined
01:30:07  * wrkrcoopquit (Client Quit)
01:30:30  * wrkrcoopjoined
01:30:39  * ensydejoined
01:30:55  * wrkrcoopquit (Client Quit)
01:31:17  * wrkrcoopjoined
01:31:30  * adgtlquit (Quit: bye)
01:31:41  * ironfroggyquit (Remote host closed the connection)
01:31:43  * wrkrcoopquit (Client Quit)
01:32:12  <devKC>zsoc: I am also receiving a node-pre-gyp error when trying to install bcrypt, but I wanted to take this one step at a time
01:32:18  * odin__joined
01:32:22  <joepie91>devKC: http://cryto.net/why-is-npm-broken/
01:32:28  <joepie91>:)
01:32:47  <zsoc>oh that's probably directly related lol
01:33:40  * odin__changed nick to odin_
01:34:23  <devKC>zsoc: so yea, I'm trying to figure out what's going on
01:35:11  <devKC>zsoc: I'm deploying to heroku and they've made changes to their cache, and the app hasn't been properly building since
01:35:24  * ensydequit (Ping timeout: 240 seconds)
01:36:09  * ensydejoined
01:37:01  <joepie91>devKC: did you try the tool I linked?
01:37:12  * sxaquit (Ping timeout: 240 seconds)
01:37:25  <joepie91>argh, I should sleep
01:37:27  <zsoc>joepie91: so.. the warning magically disappears when i don't use my gulp script to start the process.. even forcing bluebird warnings on via config and/or env var and i'm like.. wut. So it has to be a weird nodemon/livereload thing.
01:37:34  <zsoc>me too lol
01:37:37  <joepie91>wat
01:37:39  <devKC>joepie91: yes, but I don't think I'm inputting the log correctly
01:37:49  <joepie91>devKC: couldn't find anything?
01:38:23  * ecuanasojoined
01:38:24  * bbankesquit (Ping timeout: 240 seconds)
01:38:39  <devKC>joepie91: couldn't find anything, and I think I understand why the warning is coming up, but I just don't know the proper solution
01:38:41  * gucci_meowquit (Ping timeout: 268 seconds)
01:38:59  <zsoc>This is actually curious enough that I'm going to need to figure it out. Because that's a bizarro warning to manifest from that. Same env vars and everything.
01:39:04  * promethjoined
01:39:18  <prometh>shameless plug: npmjs.com/url-relation
01:39:30  <joepie91>devKC: gist your error?
01:39:32  * hextileXquit (Quit: hextileX)
01:39:38  <joepie91>devKC: happy to add a case some time later if it's a new issue I haven't added support for yet
01:39:40  <joepie91>:p
01:39:41  * my10cquit (Ping timeout: 240 seconds)
01:40:11  * nd__joined
01:40:16  * sxajoined
01:40:29  <devKC>joepie91: sure!
01:41:28  <joepie91>devKC: err, sorry, I meant "gist your npm install output"
01:41:29  <joepie91>:P
01:41:32  <joepie91>not just the error-y looking bit
01:41:44  * my10cjoined
01:42:36  <devKC>joepie91: got it
01:42:49  * Kirsanjoined
01:45:09  * nd__quit (Ping timeout: 260 seconds)
01:46:05  * NickEUquit (Ping timeout: 268 seconds)
01:46:10  * mizu_no_oto_workjoined
01:46:24  * gucci_meowjoined
01:47:13  * devKCpart
01:47:17  * puppyMonkeyjoined
01:48:07  <joepie91>okay, I guess I'm not getting that gist
01:48:15  * ironfroggyjoined
01:48:19  <joepie91>meh
01:48:20  <joepie91>sleep then
01:48:58  * scippioquit (Ping timeout: 240 seconds)
01:49:16  * mizu_no_oto_workquit (Client Quit)
01:51:51  * apparitionquit (Quit: Bye)
01:51:58  * the_antquit (Ping timeout: 240 seconds)
01:53:05  * ivan_the_monkeyjoined
01:53:33  * ividyonquit (Quit: Leaving)
01:53:37  * micodwarfquit (Quit: WeeChat 1.0.1)
01:55:52  * NomadJimquit (Read error: Connection reset by peer)
01:56:20  * NomadJimjoined
01:57:38  * jazzhands3joined
01:58:05  <merpnderp>I'm using this function to generate sessionids. Anyone have an idea of how long it should be to ensure no collisions?
01:58:07  <merpnderp>https://www.irccloud.com/pastebin/vFmaa4YK/
01:58:13  * ivan_the_monkeyquit (Ping timeout: 260 seconds)
02:00:12  * jazzhands2quit (Ping timeout: 240 seconds)
02:02:43  * Stapinquit (Read error: Connection reset by peer)
02:03:57  * Cassiopayaquit (Read error: Connection reset by peer)
02:04:14  <myndzi>http://security.stackexchange.com/questions/41743/how-many-bytes-should-an-authorization-token-have
02:04:43  <huytd>meta-meta2-Bmeta-meta2-B/go 8
02:05:20  * Emperor_Earthjoined
02:05:21  <myndzi>i looked for but couldn't find a useful graph
02:06:13  * scippiojoined
02:06:19  * brent__joined
02:06:33  * ironfroggyquit (Remote host closed the connection)
02:06:49  * Emperor_Earthquit (Read error: Connection reset by peer)
02:06:55  * gucci_meowquit (Remote host closed the connection)
02:07:06  * ch007m_2joined
02:07:07  * ironfroggyjoined
02:07:51  * Emperor_Earthjoined
02:08:11  * Emperor_Earthquit (Remote host closed the connection)
02:09:19  * adgtljoined
02:09:34  <merpnderp>myndzi: I bet you googled that and it was the very first result
02:09:57  * ch007mquit (Ping timeout: 256 seconds)
02:10:49  <merpnderp>Hah, so this function with a 16 length shoudl do it.
02:10:52  <merpnderp>https://www.irccloud.com/pastebin/cEYDT7bq/
02:10:56  * ironfroggy_joined
02:11:14  <merpnderp>no, I still have it wrong.
02:11:28  * ironfroggyquit (Ping timeout: 240 seconds)
02:11:36  <merpnderp>Why do I care how long the string is? I want 16 bytes.
02:11:39  * ch007m_2quit (Ping timeout: 256 seconds)
02:12:56  * brent__quit (Remote host closed the connection)
02:13:52  <myndzi>well it was the first result i googled for a specific thing i was looking for (i've looked up that post before)
02:14:23  <myndzi>tbh it doesn't really make sense to phrase it in terms of the length of the string for your use
02:14:34  <myndzi>it makes more sense to just do crypto.randomBytes(N) where N is the number of bytes you want
02:14:39  <myndzi>or N*8 and specify N in bits
02:14:50  <myndzi>let the string be however long it needs to be, what you care about is the amount of entropy
02:16:04  * braincrashquit (Ping timeout: 240 seconds)
02:16:08  * Noldorinquit (Ping timeout: 255 seconds)
02:17:09  * csergiu_quit (Remote host closed the connection)
02:19:53  * jkridnerjoined
02:20:36  * tvwquit (Remote host closed the connection)
02:21:42  * smccarthyjoined
02:21:48  * AvianFluquit (Remote host closed the connection)
02:22:17  <jkridner>I have a fairly simple bit of code that uses C callbacks to initiate uv_async_send() calls to run registered node callbacks, but I'm getting some odd behavior: https://github.com/jadonk/node-roboticscape/issues/1
02:24:41  * jazzhands3quit (Ping timeout: 255 seconds)
02:24:57  * reverberationsquit (Remote host closed the connection)
02:25:10  * modlinquit (Ping timeout: 260 seconds)
02:25:25  * fabiobikquit (Ping timeout: 260 seconds)
02:25:58  <newbs>hey is there some crazy git rules that have changed to day dealling with rsa keys?
02:28:01  * bobsadinojoined
02:28:26  <newbs>hmm interesting
02:28:46  <jfhbrook>day dealing?
02:28:56  <jfhbrook>oh, today, dealing with
02:28:58  <jfhbrook>got it
02:29:02  <jfhbrook>dunno of any but ¯\_(ツ)_/¯
02:29:21  <newbs>I moved my local git file to another location and then back just to test it out and now I cant push
02:29:26  <newbs>:)
02:30:15  * mihokquit (Remote host closed the connection)
02:30:58  * guest3295quit (Ping timeout: 240 seconds)
02:31:11  <huytd>Hi guys, I have a question, let's say: I want a nodejs application to fetch 100 URLs at the same time (or concurrency). What is the best way to achieve this?
02:31:53  <GreenJello>huytd, you just do it
02:31:58  <bobsadino>lol
02:32:00  <GreenJello>things are concurrent by default
02:32:00  <huytd>lol
02:32:07  <huytd>hmm
02:32:24  <huytd>you mean, I can put a for i = 1 -> 100
02:32:25  <GreenJello>it gets a little tricky when you need to do something when all of them complete; that's where promises come in
02:32:31  <GreenJello>yeah
02:32:32  <huytd>then use fetch.then().catch()?
02:32:38  <GreenJello>yep
02:32:41  <huytd>I see
02:32:54  <huytd>I was thinking about it, but not sure if we have any other way
02:33:44  <huytd>anyway, thank you so much GreenJello!
02:33:45  * ispnquit (Quit: fgsfds)
02:34:04  * ensydequit (Ping timeout: 240 seconds)
02:35:45  * rohanrhu_quit (Quit: Konversation terminated!)
02:36:02  * rohanrhu_joined
02:37:22  * flappynerdquit (Quit: Leaving)
02:40:57  * nd__joined
02:44:03  * gucci_meowjoined
02:44:24  * rohanrhu_quit (Ping timeout: 240 seconds)
02:46:17  * nd__quit (Ping timeout: 255 seconds)
02:47:00  * Literphorjoined
02:47:17  * MrWhitejoined
02:49:13  * EyePulpjoined
02:49:36  * diegokspquit (Ping timeout: 268 seconds)
02:50:41  * abijeetjoined
02:53:04  * puppyMonkeyquit (Ping timeout: 240 seconds)
02:53:27  * guest3295joined
02:54:09  * ivan_the_monkeyjoined
02:54:13  * EyePulpquit (Ping timeout: 260 seconds)
02:54:48  * hwangjoined
02:56:35  * safequit (Quit: Leaving)
02:57:43  * SwiftMattjoined
02:58:42  * ivan_the_monkeyquit (Ping timeout: 240 seconds)
03:00:14  * hwangpart
03:00:59  <merpnderp>myndzi: yes, exactly, but I need the max length for the DB :)
03:01:12  <merpnderp>myndzi: thanks
03:02:56  * shesekquit (Ping timeout: 255 seconds)
03:03:05  * gambl0requit (Ping timeout: 260 seconds)
03:04:14  * braincrashjoined
03:04:29  * abijeetquit (Ping timeout: 260 seconds)
03:04:45  * kingarmadillojoined
03:05:02  * FIFOdquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:06:33  * abijeetjoined
03:07:04  * Guest66593quit (Ping timeout: 240 seconds)
03:07:57  * Phloxxjoined
03:10:04  * kingarmadilloquit (Ping timeout: 240 seconds)
03:10:08  * the_antjoined
03:11:05  * jekrbjoined
03:11:32  * devcjoined
03:13:32  * bobsadinoquit (Quit: Leaving)
03:13:39  * abijeetquit (Quit: Leaving)
03:15:51  * fatalhaltjoined
03:16:02  * phutchins1joined
03:16:04  * troykelly_quit (Ping timeout: 240 seconds)
03:16:18  * cpcquit (Remote host closed the connection)
03:18:17  * cpcjoined
03:19:46  * jekrbquit
03:19:52  * cpcquit (Remote host closed the connection)
03:20:56  * phutchins1quit (Ping timeout: 255 seconds)
03:21:52  * tylquit (Quit: Textual IRC Client: www.textualapp.com)
03:22:53  * mihokjoined
03:24:41  * podmanquit (Read error: Connection reset by peer)
03:24:43  * pringlescanquit (Read error: Connection reset by peer)
03:24:52  * RunThroughMedia_quit (Read error: Connection reset by peer)
03:25:07  * podmanjoined
03:25:13  * pringlescanjoined
03:25:31  * RunThroughMedia_joined
03:29:13  * xallquit (Ping timeout: 260 seconds)
03:31:24  * cannapquit (Read error: Connection reset by peer)
03:32:12  * ob-sedquit (Ping timeout: 240 seconds)
03:34:57  * ecuanasoquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:35:45  * braincrashquit (Ping timeout: 260 seconds)
03:37:32  * publioquit (Quit: Bye.)
03:38:54  * kbck_quit (Read error: Connection reset by peer)
03:40:16  * lithiejoined
03:40:34  * realisationjoined
03:40:59  * Delta-Onequit (Quit: Leaving)
03:42:01  * nd__joined
03:43:31  * ecuanasojoined
03:47:18  <myndzi>don't suppose anyone knows if you have to use google's cloud compute to take advantage of cloud spanner?
03:47:25  * nd__quit (Ping timeout: 260 seconds)
03:48:06  * diegokspjoined
03:48:09  * sdfgsdfgjoined
03:52:27  * alphamale93joined
03:55:09  * ivan_the_monkeyjoined
03:57:28  * the_antquit (Ping timeout: 240 seconds)
03:58:12  * peterbecichquit (Ping timeout: 240 seconds)
03:59:27  <Utils>I'm getting node-gyp rebuild errors when running 'npm install': http://pastebin.com/yNCJLB5e anyone know what might be up? I ran: `nvm install node`, `nvm use node` and `nvm alias default node` and that's the issues i get.
03:59:51  <Utils>The issues occur with bufferutil and utf-8-validate
04:00:28  * trcmquit (Ping timeout: 240 seconds)
04:00:31  * ivan_the_monkeyquit (Ping timeout: 268 seconds)
04:03:34  <newbs>Hello. Why doesnt simple java script snippits uploaded to heroku display anything
04:04:21  <newbs>for instance
04:04:27  <newbs>var https = require("https");
04:04:27  <newbs>var fs = require("fs");
04:04:27  <newbs>var key_file = "/path/to/file.pem";
04:04:27  <newbs>var cert_file = "/path/to/file.crt";
04:04:27  <newbs>var passphrase = "this is optional";
04:04:29  <newbs>var config = {
04:04:29  * braincrashjoined
04:04:31  <newbs> key: fs.readFileSync(key_file),
04:04:33  <newbs> cert: fs.readFileSync(cert_file)
04:04:35  <newbs>};
04:04:37  <newbs>if(passphrase) {
04:04:39  <newbs> config.passphrase = passphrase;
04:04:41  <newbs>}
04:04:43  <newbs>https.createServer(config,app).listen(443);
04:06:11  <huytd>seems like you didn't handle any request, so it don't display anything newbs
04:06:13  * smccarth_joined
04:06:17  * smccarthyquit (Read error: Connection reset by peer)
04:06:23  * Guest3957quit (Ping timeout: 255 seconds)
04:06:30  <Utils>Eh, I updated the packages individually with no errors, and now that all packages are updated `npm install` has no errors either. That works I suppose.
04:06:32  * braincrashquit (Client Quit)
04:08:14  * mr_loujoined
04:10:43  * ironfroggy_quit (Remote host closed the connection)
04:11:24  * ironfroggyjoined
04:14:25  * Guest5935quit (Remote host closed the connection)
04:15:06  * jlippsquit (Quit: My comp has gone to sleep. ZZZzzz…)
04:15:28  * ironfroggyquit (Ping timeout: 240 seconds)
04:18:14  * ironfroggyjoined
04:19:55  * diegokspquit (Quit: Leaving)
04:19:56  * ecuanasoquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:21:13  * Literphorquit (Remote host closed the connection)
04:21:24  * EricBladejoined
04:21:46  * Literphorjoined
04:23:19  * joyeejoined
04:25:38  * ircuser-1quit (Quit: because)
04:26:04  * Literphorquit (Ping timeout: 240 seconds)
04:28:26  * safejoined
04:30:19  * peterbecichjoined
04:34:05  * devcquit (Quit: zzz...)
04:34:12  * giraffejoined
04:34:28  * giraffechanged nick to Guest36413
04:35:05  * jeffreylevesque_joined
04:35:05  * bradfordli123quit (Remote host closed the connection)
04:35:25  * djmaxjoined
04:35:38  * jeffreylevesquequit (Ping timeout: 255 seconds)
04:36:22  * nodenewbjoined
04:36:33  * BlueSharkjoined
04:40:59  * mongjoined
04:41:03  * ironfroggyquit (Remote host closed the connection)
04:41:23  * ironfroggyjoined
04:41:51  * ironfroggyquit (Remote host closed the connection)
04:42:09  * webdev007quit (Remote host closed the connection)
04:42:13  * ironfroggyjoined
04:42:39  * ironfroggyquit (Remote host closed the connection)
04:42:44  * nd__joined
04:42:58  * ironfroggyjoined
04:43:27  * ironfroggyquit (Remote host closed the connection)
04:43:48  * ironfroggyjoined
04:44:15  * ironfroggyquit (Remote host closed the connection)
04:44:38  * Literphorjoined
04:44:57  * Literphorquit (Remote host closed the connection)
04:45:30  * Literphorjoined
04:47:07  * realisationquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:47:17  * nodenewbquit (Quit: Page closed)
04:47:28  * nd__quit (Ping timeout: 240 seconds)
04:47:32  * basiclaserjoined
04:48:50  * horseyjoined
04:49:37  * jazzhands3joined
04:50:02  * Literphorquit (Ping timeout: 255 seconds)
04:50:12  * smccarth_quit (Remote host closed the connection)
04:50:44  * smccarthyjoined
04:51:12  * Cabanoss-joined
04:51:44  * modlinjoined
04:52:16  * safequit (Read error: Connection reset by peer)
04:54:59  * Cabanossiquit (Ping timeout: 245 seconds)
04:55:00  * Cabanoss-changed nick to Cabanossi
04:55:25  * alphamale93quit (Quit: alphamale93)
04:56:09  * ivan_the_monkeyjoined
04:56:10  * theRealGentjoined
04:56:34  * trcmjoined
04:57:28  * rhodesjasonquit (Remote host closed the connection)
04:57:42  * theRealGentquit (Max SendQ exceeded)
04:58:11  * theRealGentjoined
04:59:13  * gucci_meowquit (Remote host closed the connection)
04:59:41  * gambl0rejoined
04:59:51  * schneid_3306joined
05:01:30  * trcmquit (Ping timeout: 260 seconds)
05:01:34  * ivan_the_monkeyquit (Ping timeout: 268 seconds)
05:02:27  * schneid3306quit (Read error: Connection reset by peer)
05:02:40  * mnemonicjquit (Ping timeout: 260 seconds)
05:02:42  * schneid3306joined
05:04:36  * john1joined
05:05:30  * mnemonicjjoined
05:05:33  * EyePulpjoined
05:05:46  * braincrashjoined
05:06:10  * schneid_3306quit (Ping timeout: 260 seconds)
05:06:16  * kingarmadillojoined
05:08:52  * niemal_quit (Remote host closed the connection)
05:08:58  * jkridner|pdjoined
05:09:58  * EyePulpquit (Ping timeout: 240 seconds)
05:11:24  * jkridnerquit (Ping timeout: 240 seconds)
05:11:26  * kingarmadilloquit (Ping timeout: 268 seconds)
05:13:11  * promethquit (Quit: Textual IRC Client: www.textualapp.com)
05:13:37  * smccarthyquit
05:16:42  * phutchins1joined
05:17:41  * mr-foobarquit (Quit: Leaving...)
05:19:05  * miklquit (Ping timeout: 252 seconds)
05:20:39  * mikljoined
05:20:47  * loglaunc-quit (Ping timeout: 252 seconds)
05:21:59  * Sri[m]1joined
05:21:59  * loglaunchjoined
05:22:09  * phutchins1quit (Ping timeout: 260 seconds)
05:22:15  * xalljoined
05:23:38  * Kristine_joined
05:25:02  * Trenal_joined
05:25:04  * Anteac_joined
05:25:12  * bengl_joined
05:25:24  * jlippsjoined
05:25:25  * s0up_joined
05:25:49  * troykellyjoined
05:25:55  * eenajoined
05:25:58  * tcsc_joined
05:26:46  * garann_joined
05:26:53  * janne-joined
05:26:56  * DeviaVir_joined
05:27:40  * beatdown_joined
05:28:20  * okuryu__________quit (Ping timeout: 252 seconds)
05:28:24  * Buzzer`joined
05:28:27  * nitrix_joined
05:28:29  * danjenkins_joined
05:28:30  * okuryu__________joined
05:28:56  * emma_joined
05:29:04  * ErikCorry_quit (Ping timeout: 240 seconds)
05:29:24  * FrankZZ`joined
05:29:30  * john2joined
05:29:37  * nail__joined
05:29:46  * beatdownquit (Disconnected by services)
05:29:56  * beatdown_changed nick to beatdown
05:30:05  * john1quit (Ping timeout: 260 seconds)
05:30:11  * ErikCorry_joined
05:30:42  * TitanThirstyjoined
05:30:46  * devjunk_joined
05:30:47  * dogmatic69_joined
05:30:48  * _Tristan-Speccy_joined
05:31:22  * kba_joined
05:31:27  * Henkraks_joined
05:31:43  * shrubberyjoined
05:32:39  * rgk_joined
05:32:45  * weq_joined
05:32:59  * fusl_joined
05:33:25  * M-keyvan1joined
05:33:29  * Sri[m]quit (Ping timeout: 252 seconds)
05:33:29  * benglquit (Ping timeout: 252 seconds)
05:33:29  * owenb___________quit (Ping timeout: 252 seconds)
05:33:29  * tcscquit (Ping timeout: 252 seconds)
05:33:29  * _desu_quit (Ping timeout: 252 seconds)
05:33:29  * Buzzerquit (Ping timeout: 252 seconds)
05:33:29  * Trenalquit (Ping timeout: 252 seconds)
05:33:29  * garannquit (Ping timeout: 252 seconds)
05:33:29  * danjenkinsquit (Ping timeout: 252 seconds)
05:33:29  * s0upquit (Ping timeout: 252 seconds)
05:33:29  * Anteacquit (Ping timeout: 252 seconds)
05:33:29  * meenaquit (Ping timeout: 252 seconds)
05:33:29  * DeviaVirquit (Ping timeout: 252 seconds)
05:33:29  * _jannequit (Ping timeout: 252 seconds)
05:33:29  * jcrugzzquit (Ping timeout: 252 seconds)
05:33:29  * TitanThirsty_quit (Ping timeout: 252 seconds)
05:33:29  * Kristinequit (Ping timeout: 252 seconds)
05:33:29  * nitrixquit (Ping timeout: 252 seconds)
05:33:29  * fuslquit (Ping timeout: 252 seconds)
05:33:29  * TeenageNecromancquit (Ping timeout: 252 seconds)
05:33:29  * FrankZZquit (Ping timeout: 252 seconds)
05:33:29  * emmaquit (Ping timeout: 252 seconds)
05:33:29  * jednorozecquit (Ping timeout: 252 seconds)
05:33:29  * janxquit (Ping timeout: 252 seconds)
05:33:29  * Tristan-Speccyquit (Ping timeout: 252 seconds)
05:33:29  * lennonquit (Ping timeout: 252 seconds)
05:33:29  * FruitieX_quit (Ping timeout: 252 seconds)
05:33:29  * nail_quit (Ping timeout: 252 seconds)
05:33:29  * dogmatic69quit (Ping timeout: 252 seconds)
05:33:29  * M-keyvanquit (Ping timeout: 252 seconds)
05:33:29  * kbaquit (Ping timeout: 252 seconds)
05:33:29  * devjunkquit (Ping timeout: 252 seconds)
05:33:30  * lennonjoined
05:33:30  * Henkraksquit (Ping timeout: 252 seconds)
05:33:30  * saapazquit (Ping timeout: 252 seconds)
05:33:30  * weqquit (Ping timeout: 252 seconds)
05:33:30  * rgkquit (Ping timeout: 252 seconds)
05:33:30  * bonuspunktquit (Ping timeout: 252 seconds)
05:33:30  * bonuspunktjoined
05:33:31  * tcsc_changed nick to tcsc
05:33:32  * FrankZZ`changed nick to FrankZZ
05:33:37  * Trenal_changed nick to Trenal
05:33:38  * TeenageNecromancjoined
05:33:48  * ferossquit (Ping timeout: 242 seconds)
05:33:48  * fusl_changed nick to fusl
05:33:48  * bengl_changed nick to bengl
05:33:49  * s0up_changed nick to s0up
05:34:40  * garann_quit (Read error: Connection reset by peer)
05:34:40  * williamkapke__quit (Read error: Connection reset by peer)
05:35:00  * DeviaVir_changed nick to DeviaVir
05:35:01  * ferossjoined
05:35:04  * troter__________quit (Ping timeout: 240 seconds)
05:35:04  * fuslquit (K-Lined)
05:35:12  * williamkapke__joined
05:35:13  * apparitionjoined
05:35:18  * janxjoined
05:35:19  * owenb___________joined
05:37:09  * garann_joined
05:37:17  * EricBladequit (Quit: Leaving.)
05:37:29  * jednorozecjoined
05:38:36  * EricBladejoined
05:39:14  * FruitieXjoined
05:39:32  <myndzi>Utils: gyp ERR! stack Error: not found: make
05:39:38  <myndzi>that's your error
05:39:51  <myndzi>make not found probably means you don't have dev tools installed
05:40:00  <myndzi>if you're on ubuntu try `sudo apt-get install build-essential`
05:40:08  * john3joined
05:40:21  * fusljoined
05:40:36  <myndzi>not sure why what you did worked, but you may run into this in the future so i thought i'd mention it ;)
05:40:42  * john2quit (Ping timeout: 240 seconds)
05:40:44  * slidequit (Ping timeout: 240 seconds)
05:41:32  * Gazooojoined
05:41:52  * slidejoined
05:41:52  * slidequit (Changing host)
05:41:52  * slidejoined
05:42:12  * xallquit (Ping timeout: 240 seconds)
05:43:17  * kba_changed nick to kba
05:44:53  * Soopaman1joined
05:46:36  * dk0rquit (Ping timeout: 268 seconds)
05:46:53  * Soopamanquit (Ping timeout: 260 seconds)
05:46:57  * Literphorjoined
05:48:49  * sauljoined
05:49:04  * theRealGentquit (Ping timeout: 240 seconds)
05:57:05  * Literphorquit (Quit: Leaving...)
05:57:09  * ivan_the_monkeyjoined
05:57:24  * LouisTquit (Ping timeout: 240 seconds)
05:57:44  * djmaxquit (Remote host closed the connection)
05:58:43  * LouisTjoined
06:00:32  * nishu-tryinghardjoined
06:02:17  * ivan_the_monkeyquit (Ping timeout: 260 seconds)
06:05:11  * peterbecichquit (Ping timeout: 255 seconds)
06:05:48  * xalljoined
06:06:05  * trcmjoined
06:07:33  * nishu-tryinghardquit (Ping timeout: 268 seconds)
06:08:56  * ironfroggyjoined
06:09:13  * pilnequit (Quit: Quitting!)
06:09:44  * Siegfriedquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
06:10:22  * Hoffmanjoined
06:13:50  * ironfroggyquit (Ping timeout: 260 seconds)
06:19:04  * ob-sedjoined
06:24:23  * safejoined
06:24:53  * rhodesjasonjoined
06:28:41  * joyeequit (Remote host closed the connection)
06:29:49  * rhodesjasonquit (Ping timeout: 260 seconds)
06:36:00  * jazzhands3quit (Ping timeout: 260 seconds)
06:37:25  * karmahackerjoined
06:37:37  * Soopaman1quit (Quit: Leaving.)
06:38:41  * troykellyquit (Read error: Connection reset by peer)
06:39:00  * nya_joined
06:39:21  * troykellyjoined
06:40:17  * ldiamondquit (Ping timeout: 255 seconds)
06:42:00  * sbellinajoined
06:42:53  * derfohquit (Read error: Connection reset by peer)
06:43:11  * derfohjoined
06:43:42  * xallquit (Ping timeout: 240 seconds)
06:43:43  * noethics_joined
06:43:44  * node_fanaticquit (Ping timeout: 240 seconds)
06:43:57  * puppyMonkeyjoined
06:44:12  * node_fanaticjoined
06:44:13  * noethicsquit (Disconnected by services)
06:44:17  * noethics_changed nick to noethics
06:54:04  * puppyMonkeyquit (Ping timeout: 240 seconds)
06:56:03  * melvsterjoined
06:57:46  * puppyMonkeyjoined
06:58:13  * ivan_the_monkeyjoined
07:01:26  * Boobiujoined
07:03:07  * jlippsquit (Quit: My comp has gone to sleep. ZZZzzz…)
07:03:21  * Xitiquit (Quit: Xiti)
07:03:40  * ivan_the_monkeyquit (Ping timeout: 268 seconds)
07:04:52  * lpinjoined
07:05:02  * Boobiequit (Ping timeout: 255 seconds)
07:06:43  * Boobiejoined
07:06:44  <ljharb>hdon: why would you want to run untrusted code?
07:07:04  * kingarmadillojoined
07:07:46  <GreenJello>newbs, don't paste multiple lines of code in irc, but what do you mean it doesn't work?
07:07:58  <GreenJello>newbs, also wouldn't that mean you have to check your private key into git?
07:08:16  <GreenJello>I'm sure heroku provides a https reverse proxy
07:09:24  * Boobiuquit (Ping timeout: 240 seconds)
07:09:37  * Boobiujoined
07:10:28  * guest3295quit (Ping timeout: 240 seconds)
07:11:02  * basiclaserquit (Quit: Connection closed for inactivity)
07:11:04  * Boobiequit (Ping timeout: 240 seconds)
07:12:13  * dopesongjoined
07:12:18  * kingarmadilloquit (Ping timeout: 268 seconds)
07:13:34  <dysfigured>it's probably a bad idea to try and promisifyAll my express() app right
07:13:56  * ecuanasojoined
07:13:58  <GreenJello>dysfigured, uh that wouldn't even be useful
07:14:14  <GreenJello>other than like listen
07:14:57  <dysfigured>i was thinking instead of app.get('/', callback) i'd be able to app.get('/').then(etc)
07:15:06  <GreenJello>nope
07:15:26  <GreenJello>promises only resolve once, and .get doesn't have the nodeback signature
07:15:32  <dysfigured>i'm not sure why, i've just been using (abusing?) promises a lot more lately and thought it might be interesting
07:15:39  * undertugaquit (Quit: Connection closed for inactivity)
07:16:09  <dysfigured>ah true yeah. i should probably just look into koa now that 7.6 has async await
07:16:29  * kommunicatequit (Ping timeout: 260 seconds)
07:16:32  <GreenJello>async/await works well in express
07:16:44  * dopesongquit (Ping timeout: 255 seconds)
07:16:53  <GreenJello>I've been doing that for a long time with babel
07:16:55  * puppyMonkeyquit (Read error: Connection reset by peer)
07:17:04  * omnipotjoined
07:17:39  * phutchins1joined
07:18:22  <dysfigured>oh interesting
07:18:45  <GreenJello>app.get('/', async (req, res) => { try {...
07:19:43  * Boobiejoined
07:19:47  * _desu_joined
07:20:24  * tharuinquit (Ping timeout: 240 seconds)
07:21:19  * EyePulpjoined
07:21:28  * tharuinjoined
07:21:37  * trcmquit (Ping timeout: 260 seconds)
07:22:04  * Boobiuquit (Ping timeout: 240 seconds)
07:23:15  * phutchins1quit (Ping timeout: 260 seconds)
07:24:01  * jcrugzzjoined
07:24:25  * nd__joined
07:25:24  * orbyt_quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:25:47  * DeltaHeavyquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:26:11  * EyePulpquit (Ping timeout: 255 seconds)
07:26:29  * braincrashquit (Ping timeout: 268 seconds)
07:28:31  * ivan_the_monkeyjoined
07:29:12  * nd__quit (Ping timeout: 240 seconds)
07:30:37  * safequit (Read error: Connection reset by peer)
07:31:29  * davitolquit (Ping timeout: 240 seconds)
07:32:08  * troter__________joined
07:33:04  * jcrugzzquit (Ping timeout: 240 seconds)
07:33:17  * ivan_the_monkeyquit (Ping timeout: 260 seconds)
07:33:26  * jcrugzzjoined
07:34:50  * donCamsjoined
07:35:14  * apparitionquit (Quit: Bye)
07:36:58  * karmahackerquit (Remote host closed the connection)
07:37:10  * davitoljoined
07:37:17  * joyeejoined
07:37:33  * ivan_the_monkeyjoined
07:37:34  * karmahackerjoined