00:00:17  * max_datajoined
00:00:26  * knksmith57joined
00:00:32  * Literphorquit (Quit: Literphor)
00:01:36  * vincentcrquit (Ping timeout: 276 seconds)
00:02:24  * danjenkinsquit (Ping timeout: 260 seconds)
00:02:25  * sibajoined
00:02:29  * JSLintquit (Remote host closed the connection)
00:03:26  * lhdcquit (Ping timeout: 250 seconds)
00:03:32  * FooMunkijoined
00:03:34  * yosuke_furukawaquit (Ping timeout: 260 seconds)
00:05:18  * ecuanasojoined
00:05:38  * apricityquit (Quit: Leaving)
00:05:59  * qardquit (Quit: (╯°□°)╯︵ pɹɐb)
00:06:52  * adronjoined
00:07:51  * quattro_quit (Quit: quattro_)
00:08:17  * _MysTquit (Ping timeout: 276 seconds)
00:08:20  * cidicjoined
00:08:43  * jannehjoined
00:09:51  * u0m3quit (Quit: Leaving)
00:10:20  * vincentcrjoined
00:11:00  * T-2000joined
00:12:26  * githogorijoined
00:13:15  * whathapp_quit (Quit: Leaving...)
00:13:24  * jannehquit (Ping timeout: 250 seconds)
00:13:36  * smccarthyquit
00:14:55  * adronquit (Remote host closed the connection)
00:15:04  * Ahmed90joined
00:15:09  * xcesarioxjoined
00:15:14  * vincentcrquit (Ping timeout: 260 seconds)
00:16:28  * quark[0]joined
00:16:52  * mvenjoined
00:17:14  * superlouquit (Quit: Leaving)
00:17:17  * T-2000quit (Quit: Leaving)
00:17:43  * wazjoined
00:17:50  * T-2000joined
00:18:54  * bthesorcerorjoined
00:19:05  * tristanpquit (Remote host closed the connection)
00:19:12  * mmmveggiesjoined
00:19:20  * EyePulpquit (Remote host closed the connection)
00:19:29  * cam_y_joined
00:19:39  * krauqquit (Ping timeout: 246 seconds)
00:19:53  * ikcerogjoined
00:21:43  * superloujoined
00:21:56  * macabrejoined
00:22:14  * dunpealjoined
00:22:19  * u0m3joined
00:22:49  * cam_yquit (Ping timeout: 260 seconds)
00:24:26  * ensydejoined
00:24:43  * Sixmsjquit (Quit: Sixmsj)
00:24:48  * panpainterjoined
00:26:51  * macabrequit (Ping timeout: 250 seconds)
00:27:18  * mmmveggiesquit (Ping timeout: 244 seconds)
00:27:49  * dunpealquit (Ping timeout: 244 seconds)
00:27:52  * danjenkinsjoined
00:27:53  * diamondsjoined
00:28:18  * ikcerogquit (Remote host closed the connection)
00:31:10  * weemsledeuxjoined
00:32:44  * cam_y_quit (Remote host closed the connection)
00:32:56  * ForSparePartsjoined
00:33:46  * cam_yjoined
00:34:02  * trangjoined
00:34:23  * cam_yquit (Remote host closed the connection)
00:34:41  * robertmaxreesquit
00:34:59  * qardjoined
00:36:17  * adronjoined
00:36:29  <merpnderp>I don't know what happened but after reinstalling socket.io the client is now logging every time I emit just spanning my logs.
00:36:50  <merpnderp>https://www.irccloud.com/pastebin/dqoUoQke/
00:37:44  * bdunavantquit (Remote host closed the connection)
00:38:01  * mjw56joined
00:38:12  * ldiamondquit (Ping timeout: 260 seconds)
00:38:22  * msafiquit (Remote host closed the connection)
00:39:09  * danjenkinsquit (Ping timeout: 260 seconds)
00:39:09  * oconnorct1quit (Ping timeout: 260 seconds)
00:39:52  * neriumquit (Read error: Connection reset by peer)
00:39:56  * fractingjoined
00:39:59  * nerium_joined
00:41:50  * uod_joined
00:42:58  * amit213quit (Remote host closed the connection)
00:43:28  * uodquit (Ping timeout: 252 seconds)
00:43:58  * mmmveggiesjoined
00:45:43  * oconnorct1joined
00:45:57  * FooMunkiquit (Quit: FooMunki)
00:46:26  * FooMunkijoined
00:46:52  * nerium_quit (Read error: Connection reset by peer)
00:47:04  * brandon1joined
00:47:13  * uniacid_pcquit (Read error: Connection reset by peer)
00:47:42  * uniacid_pcjoined
00:47:45  * inexquit (Quit: d a n k m e m e s)
00:48:05  * Coldblackicequit (Ping timeout: 250 seconds)
00:48:29  * bthesorcerorquit (Ping timeout: 260 seconds)
00:48:43  * sctskwjoined
00:48:47  * dopesongjoined
00:48:57  * mmmveggiesquit (Ping timeout: 250 seconds)
00:50:19  * elyobquit (Quit: My iMac has gone to sleep. ZZZzzz…)
00:50:38  * nilsi_joined
00:51:43  * neriumjoined
00:51:47  * mellernoia-workjoined
00:52:18  * mellernoiaquit (Ping timeout: 276 seconds)
00:53:04  * ecuanasoquit (Quit: My Mac has gone to sleep. ZZZzzz…)
00:53:57  * bit2017quit (Ping timeout: 260 seconds)
00:54:09  * SergioFilhowquit (Quit: Lingo: www.lingoirc.com)
00:55:01  * nilsi_quit (Ping timeout: 250 seconds)
00:55:01  * dopesongquit (Ping timeout: 250 seconds)
00:55:01  * bronsonjoined
00:55:05  * elyobjoined
00:55:12  * adronquit (Remote host closed the connection)
00:55:48  * shesmujoined
00:56:03  * djmaxjoined
00:56:23  <shesmu>how can i monitor all web data coming in?
00:56:29  * FooMunkiquit (Quit: FooMunki)
00:56:45  * duriangrayjoined
00:56:58  * karmahackerjoined
00:57:16  * brandon1quit (Ping timeout: 244 seconds)
00:59:54  * qardquit (Quit: (╯°□°)╯︵ pɹɐb)
00:59:58  * bronsonquit (Ping timeout: 252 seconds)
01:00:15  * Thornquit (Ping timeout: 246 seconds)
01:00:47  * sctskwquit (Remote host closed the connection)
01:00:56  * enoexquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:00:56  * djmaxquit (Ping timeout: 276 seconds)
01:01:21  * sctskwjoined
01:01:46  * plutoniixquit (Quit: จรลี จรลา)
01:02:23  * Thornjoined
01:02:42  * chokiquit (Quit: WeeChat 1.4)
01:02:45  * jonnybroquit (Quit: Leaving.)
01:03:13  * trangquit (Quit: trang)
01:03:29  * asteelequit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:03:55  * brandon1joined
01:04:01  * qardjoined
01:04:53  * mmmveggiesjoined
01:05:16  * d4rklit3quit (Quit: My Mac has gone to sleep. ZZZzzz…)
01:05:51  * sctskwquit (Ping timeout: 250 seconds)
01:06:21  * adronjoined
01:07:04  * mellernoia-workquit
01:07:17  * FooMunkijoined
01:07:36  * cwekquit (Ping timeout: 246 seconds)
01:08:45  * mezodquit (Remote host closed the connection)
01:08:58  * Thornquit (Ping timeout: 265 seconds)
01:09:32  * moachanged nick to Guest50367
01:10:17  * mmmveggiesquit (Ping timeout: 260 seconds)
01:11:06  * vincentcrjoined
01:11:13  * mlovelessjoined
01:11:39  * elyobquit (Quit: My iMac has gone to sleep. ZZZzzz…)
01:11:46  * shrikrishnajoined
01:12:42  * ch9rl3sjoined
01:13:02  * duriangrayquit (Remote host closed the connection)
01:14:02  * amit213joined
01:14:07  * Thornjoined
01:14:29  * T-2000quit (Quit: Leaving)
01:15:12  * dunpealjoined
01:15:43  * ch9rl3squit (Client Quit)
01:16:07  * vincentcrquit (Ping timeout: 260 seconds)
01:16:12  * amit213quit (Remote host closed the connection)
01:16:31  * tfennellyjoined
01:16:42  * shrikrishnaquit (Ping timeout: 260 seconds)
01:17:06  * sctskwjoined
01:18:07  * rhoquit (Ping timeout: 252 seconds)
01:18:26  * Azertifyjoined
01:19:23  * T-2000joined
01:20:01  * ed209quit (Remote host closed the connection)
01:20:07  * ed209joined
01:20:56  * grilljoined
01:21:26  * Trangarjoined
01:21:32  * tfennellyquit (Ping timeout: 265 seconds)
01:21:48  * Fishrock123quit (Remote host closed the connection)
01:22:00  * Omserestquit (Quit: Page closed)
01:22:22  * hextileX1joined
01:23:07  * Milos|Workquit (Ping timeout: 260 seconds)
01:23:09  * macabrejoined
01:23:21  * hextileXquit (Ping timeout: 246 seconds)
01:23:21  * hextileX1changed nick to hextileX
01:23:24  * asteelejoined
01:23:53  <dunpeal>I'm designing a server that has a job queue. Basically, there's a queue of jobs, and every 60 seconds the program checks if there's any pending job in this queue, and if there isn't: it will take the one from the top, and process it.
01:24:08  * grgjoined
01:24:12  <dunpeal>One constraint is that at any time only one job may be processed.
01:24:26  * morenoh149joined
01:24:48  <dunpeal>How would you do that in Node?
01:26:00  * d4rklit3joined
01:26:17  * danmanjoined
01:26:55  * grgquit (Client Quit)
01:27:15  * adronquit (Remote host closed the connection)
01:27:22  <jfhbrook>dunpeal, rabbitmq or sqs with a single consumer?
01:28:14  * macabrequit (Ping timeout: 276 seconds)
01:28:24  * sctskwquit (Remote host closed the connection)
01:28:29  * Lee1092joined
01:28:48  * adronjoined
01:28:56  * Ahmed90quit (Quit: Leaving)
01:29:02  * mablae_joined
01:29:05  * roadt__joined
01:29:32  * karmahackerquit (Ping timeout: 260 seconds)
01:29:47  * macabrejoined
01:30:50  * brandon1quit (Ping timeout: 276 seconds)
01:30:52  <dunpeal>jfhbrook: I don't really see the need to use an external queue, I can keep it in memory. The question is how, for example, do I keep a global lock in Node?
01:31:07  * knksmith57quit (Quit: Leaving.)
01:31:15  * Jobavaquit (Quit: Connection closed for inactivity)
01:31:24  * redoPopjoined
01:31:46  * uod_quit (Quit: Textual IRC Client: www.textualapp.com)
01:31:52  * roadt_quit (Ping timeout: 252 seconds)
01:32:07  <jfhbrook>a shared variable?
01:32:22  <dunpeal>I guess there's GLOBAL
01:32:22  <jfhbrook>node is single-threaded so you don't need any weird thread-safe abstractions here
01:32:27  * mablae__quit (Ping timeout: 260 seconds)
01:32:30  <jfhbrook>well, hopefully your queue works on a shared object
01:32:38  <jfhbrook>check out async.queue in the async library
01:32:48  <jfhbrook>if you need something where you can shove jobs on it and process them one at a time
01:32:59  * jr3joined
01:33:18  * Janhousequit (Remote host closed the connection)
01:33:24  * sankhajoined
01:33:38  * elyobjoined
01:34:42  * qardquit (Quit: (╯°□°)╯︵ pɹɐb)
01:35:10  * qardjoined
01:35:12  * fractingquit (Ping timeout: 276 seconds)
01:35:15  <dunpeal>jfhbrook: the thing is, part of the processing is handled by external servers.
01:35:36  * one_zerojoined
01:35:48  <jfhbrook>so?
01:35:52  <dunpeal>jfhbrook: so "processing" actually means starting a Promise chain that makes requests to servers across the internet and may take any amount of time.
01:36:05  <jfhbrook>that's fine, async.queue works async
01:36:19  <jfhbrook>that's kind of the point
01:36:21  <dunpeal>So the only way I can ensure that only one item is processed at a time is by setting a GLOBAL flag
01:36:29  <jfhbrook>that's just not true
01:36:41  <dunpeal>What's unclear about what I stated?
01:36:41  * redoPopquit (Ping timeout: 276 seconds)
01:36:49  <jfhbrook>have a shared one of these https://github.com/caolan/async#queue
01:37:19  <jfhbrook>with a concurrency of one
01:37:30  <jfhbrook>and call the callback at the end of the promise chain that constitutes the action required
01:37:55  <dunpeal>Interesting, I'll take a look
01:37:56  * panpainterquit (Remote host closed the connection)
01:37:58  * superlouquit (Quit: Leaving)
01:37:59  * sankhaquit (Ping timeout: 276 seconds)
01:38:05  <dunpeal>jfhbrook: btw, what do you meanwith "shared"?
01:38:10  <dunpeal>mean *by
01:38:13  <jfhbrook>app-level dunpeal
01:38:27  <jfhbrook>a "service" if you will
01:38:31  * panpainterjoined
01:38:32  <dunpeal>I'm kinda newb in Node, so still not sure what you mean.
01:38:32  * lumusjoined
01:38:37  <lumus>hey
01:38:47  <lumus>is anyone familiar with rest api?
01:38:56  <jfhbrook>it doesn't matter much what I mean dunpeal you'll probably do the right thing
01:39:07  <shesmu>is there a way to get the headers of all the sites i am connected to through my open browsers?
01:39:08  <jfhbrook>it's a distinction between global and GLOBAL
01:39:09  <jfhbrook>you might say
01:39:23  * bit2017joined
01:39:46  <lumus>hello im trying to build an web mobile friendly app that uses the server side REST API which will provide routes for recording user reports into a server side database and provide appropriate error handling/validation.. as i am very new at this can anyone point me to the right direction on how to achieve that?
01:39:46  <lumus>im using nodejs and sqlite3
01:39:50  <jfhbrook>if you pull in, say, create *the* http server in your app it's not a global because people can't access var server = http.createServer(handler) from other modules without explicit import/export
01:39:53  * esatterwhitejoined
01:40:07  <jfhbrook>it would be *the* processing queue in your app, that's all I mean
01:40:16  <dunpeal>jfhbrook: I understand how GLOBAL works: it's just an object available on every scope.
01:40:26  <dunpeal>jfhbrook: does "app-evel" mean I attach it to app?
01:40:36  * Coldblackicejoined
01:40:38  <dunpeal>i.e. app.q = new queue()
01:40:40  <jfhbrook>no it means defined in the same scope as other things used by your app
01:40:44  * Janhousejoined
01:40:46  <lumus>anyone?
01:40:49  * JBreitjoined
01:40:56  <jfhbrook>though you can certainly attach it to app if you think it's safe and desirable to do so
01:40:59  <jaawerth>!ask @lumus
01:40:59  <ecmabot>lumus: Don't ask to ask, nor if anyone is here or alive or uses something. Just ask your question. http://www.mikeash.com/getting_answers.html http://www.catb.org/esr/faqs/smart-questions.html
01:41:06  <jfhbrook>it's a subtle, unimportant point dunpeal don't worry about it
01:41:12  <lumus>i did:)
01:41:14  <lumus>hello im trying to build an web mobile friendly app that uses the server side REST API which will provide routes for recording user reports into a server side database and provide appropriate error handling/validation.. as i am very new at this can anyone point me to the right direction on how to achieve that?
01:41:14  <lumus>im using nodejs and sqlite3
01:41:30  <jaawerth>oh, I only saw the "does anyone know REST"
01:41:31  <jaawerth>sorry
01:41:31  <dunpeal>jfhbrook: OK :) Is there any other way to share objects, other than GLOBAL I mean, that I should know about?
01:41:49  <lumus>@jaawerth no problem
01:42:00  * mvenquit (Read error: Connection reset by peer)
01:42:02  <jfhbrook>lumus: either express or hapi, either knex bookshelf or sequelize for the orm, use joi for app-side validation
01:42:15  * FooMunkiquit (Quit: FooMunki)
01:42:17  <jfhbrook>dunpeal: exports and callbacks
01:42:25  <jaawerth>lumus: well, the simplest way to get started would probably be to find an express tutorial and start going through that. express is the most popular framework and there's a lot of good tutorial material out there for it
01:42:36  * mvenjoined
01:42:41  * EyePulpjoined
01:42:52  <lumus>im using that as well, installed it using npm jaawerth
01:43:09  <jaawerth>okay
01:43:13  <jaawerth>so.. find a tutorial and go through it ;-)
01:43:19  * jonnybrojoined
01:43:54  <jaawerth>lumus: please don't PM without asking. I'm not going to be spending a ton of time here so I can't give you direct assistance, unfortunately
01:43:57  * timmywiljoined
01:44:02  <jaawerth>a ton of time here tonight*
01:44:21  <lumus>jaawerth im sorry
01:44:21  * de_henne_joined
01:44:28  <jaawerth>no worries
01:44:34  * thinkt4nkjoined
01:44:49  * huangyao_joined
01:45:12  <dunpeal>jaawerth: what's hapi's advantage compared to Express?
01:45:29  <shesmu>is there a way to get the headers of all the sites i am connected to through my open browsers?
01:45:31  <jaawerth>dunpeal: I've only ever screwed around with hapi so I'm probably not the guy to ask
01:45:36  <jfhbrook>dunpeal: I like hapi's router and payload validation, and the plugin model is interesting
01:45:56  * macabrequit (Read error: Connection reset by peer)
01:46:02  <jfhbrook>dunpeal: middlewares feel comparatively "dirty"
01:46:28  <jfhbrook>dunpeal: but I don't think express is bad, honestly it's pretty solid and a lot of shit works with it outside whatever walmart/the hapi team whipped up
01:46:42  * ForSparePartsquit (Quit: ForSpareParts)
01:46:51  * fractingjoined
01:46:59  <dunpeal>jfhbrook: yeah, seems like Walmart is the only large / serious team using Hapi right now
01:47:02  <Nikesh>ljharb: Do you have any watch tasks for running tests with tape, and if so, which do you use?
01:47:21  <jfhbrook>nah not true dunpeal they're the only people to directly fund its development is all
01:47:30  <lumus>can anyone help me with rest api and sqlite3?
01:47:39  <jfhbrook>we use hapi at work, that's why I know stuff about it
01:47:49  * dodobrainquit (Ping timeout: 252 seconds)
01:47:54  <jfhbrook>lumus, we already told you, you should start with those tools I told you about
01:47:56  * adronquit (Remote host closed the connection)
01:47:57  <dunpeal>jfhbrook: btw, if by "payload validation" you're referring to joi, then it seems like a library that can be used from any framework, inclduing express, no?
01:48:01  * jonnybroquit (Client Quit)
01:48:24  * de_hennequit (Ping timeout: 244 seconds)
01:48:30  * momoterrawjoined
01:48:36  <jfhbrook>dunpeal, it's joi-based, yes, and yes you can absolutely use that component of the hapi toolset in other contexts, but the support is baked into the router
01:48:41  <jfhbrook>like, schema: myJoiSchema
01:48:42  * mlovelessquit (Remote host closed the connection)
01:49:14  * sunoano1joined
01:49:22  * adronjoined
01:49:36  * kingarmadilloquit (Ping timeout: 246 seconds)
01:50:03  * sunoanoquit (Ping timeout: 250 seconds)
01:50:43  <lumus>jfhbrook im looking at them now but i would like a more one to one help
01:51:20  <jfhbrook>I don't think you're going to be able to find that here lumus it's a lot to ask of someone who's just hanging out and answering odd questions to pay it forward
01:51:29  <jfhbrook>have you considered going to a nodeschool event?
01:51:43  * krish203quit (Quit: Leaving.)
01:52:20  <lumus>theres not any in my region jfhbrook
01:52:56  * staticshockquit (Ping timeout: 276 seconds)
01:53:03  * magicantlerjoined
01:53:18  <shesmu>lumus: maybe try the old youtube. sometimes it helps to see this stuff written and have someone say why they are doing each thing
01:53:26  * momoterrawquit (Ping timeout: 265 seconds)
01:53:46  * timmywilquit (Quit: O.o)
01:53:52  <dunpeal>jfhbrook: async.queue seems to be exactly what I need, so thanks for recommending it. Is there some adapter to make it more Promise friendly?
01:54:05  <lumus>i know but i have so many ?? that youtube cant answer them.. shesmu
01:54:22  <jfhbrook>dunpeal: bluebird likely ships with some tools that could help, look for things that convert between nodebacks and promises
01:54:47  <jfhbrook>then ask specific questions lumus
01:54:58  <jfhbrook>try googling them first, and if you don't find anything obvious ask us
01:55:05  <jfhbrook>but we can't like give you a step-by-step
01:55:48  * Trangarquit (Quit: Leaving)
01:55:51  * timmywiljoined
01:56:14  * italoacasasquit (Quit: Textual IRC Client: www.textualapp.com)
01:57:09  * d4rklit3quit (Quit: My Mac has gone to sleep. ZZZzzz…)
01:57:34  * italoacasasjoined
01:57:52  * hextileXquit (Quit: hextileX)
01:57:57  * magicantlerquit (Ping timeout: 276 seconds)
01:58:08  * huangyao_quit (Ping timeout: 276 seconds)
01:58:21  * sumobobjoined
01:58:27  <lumus>jfhbrook they thing is that in the tutorials i find all the things they do (like printing Hello World) ar hard coded in
01:58:40  <jfhbrook>so go to the next step
01:58:48  <jfhbrook>look for a to-do list tutorial lumus
01:59:03  <jfhbrook>or look up tutorials for bookshelf separately
01:59:12  <lumus>what i want i to take some data from a form and google maps and pass them into a json file
01:59:31  * panpainterquit (Remote host closed the connection)
01:59:37  * _panpainterjoined
02:00:17  * staticshockjoined
02:00:21  <jfhbrook>a json file?
02:00:28  <jfhbrook>that doesn't sound much like sqlite
02:00:35  <merpnderp>anyone want to run 'npm install wrtc' in an empty dir to see if it will build for them? Extra credit if you're on OSX.
02:00:43  <lumus>i have the files from the to-do-list but i dont quite undestand what they are doing, m like new in that :(
02:01:04  <jfhbrook>but in that case lumus look at request or superagent for the http parts and the core fs module for the file writey parts
02:01:06  * yosuke_furukawajoined
02:01:13  * ecuanasojoined
02:01:16  <lumus>The server side REST API should provide routes for recording user reports into a server side
02:01:16  <lumus>database and provide appropriate error handling/validation.
02:01:21  <jfhbrook>so dissect them lumus and ask specific questions about specific lines or specific files
02:01:28  * yosuke_furukawaquit (Remote host closed the connection)
02:01:28  <lumus>and All data sent between the client and server must be sent as JSON/JSONP
02:01:34  * macabrejoined
02:01:42  * yosuke_furukawajoined
02:01:50  <jfhbrook>lumus, most things that you know about other environments where you would do those things, apply here
02:02:17  <shesmu>merpnderp: hey just ran it and its seems you are using some deprecated libraries (im on linux btw)
02:02:23  <jfhbrook>express and hapi are both more than capable of json APIs
02:02:47  * sumobobquit (Ping timeout: 260 seconds)
02:02:57  <merpnderp>shesmu: it isn't my package. I'm just trying to get it installed since it is *the* dep for every webrtc module I can find.
02:03:00  * yosuke_furukawaquit (Remote host closed the connection)
02:04:34  <shesmu>merpnderp: oh i gotcha, well if you manually update graceful-fs and downgrade python and everything runs you should be g2g, or downgrade ur node version
02:04:51  * itaipujoined
02:05:40  <merpnderp>shesmu: I'll just wait until it is fixed. I have a ton of work to do before I need to nail down networking in my game.
02:05:45  <merpnderp>thanks :)
02:05:49  * mmmveggiesjoined
02:05:53  <Nikesh>ljharb: Specifically looking for a globbing style, so I can re-run all tests across different directories
02:05:59  <shesmu>merpnderp: np
02:06:09  <shesmu>is there a way to get the headers of all the sites i am connected to through my open browsers?
02:06:25  * ecuanasoquit (Quit: My Mac has gone to sleep. ZZZzzz…)
02:06:45  <lumus>so what does this code do? app.get('/', function(req, res) {
02:06:45  <lumus> res.send('hello world');
02:06:45  <lumus>});
02:06:56  <lumus>i know it logs hello world
02:07:08  <lumus>but the first part?
02:07:38  * alive876_joined
02:07:47  * pringlescanjoined
02:07:48  * ecuanasojoined
02:07:57  * esatterwhitepart
02:08:22  * pringlescanquit (Client Quit)
02:08:42  <jfhbrook>what do you think it does?
02:08:54  * mich-cookquit (Ping timeout: 265 seconds)
02:08:54  * githogoriquit (Remote host closed the connection)
02:08:55  * cerebro__joined
02:09:07  <jfhbrook>have you ran it? have you figured out how to trip the message?
02:09:17  <lumus>trip the message?
02:09:21  * _panpainterquit (Remote host closed the connection)
02:09:35  <jfhbrook>have you tried running the code and figuring out how to see the words "hello world" show up somewhere?
02:10:00  * panpainterjoined
02:10:04  <jfhbrook>hint: it's not *logging* "hello world"
02:10:21  <alive876_>hi newbie here wondering why this code executes as node but not javascript http://pastebin.com/dHEZ31Qe thanks
02:10:32  * jannehjoined
02:10:36  * mmmveggiesquit (Ping timeout: 246 seconds)
02:10:48  * ConspiratorXjoined
02:11:23  <kevireilly>alive876_: in a browser? It seems like it should -- what is the error or otherwise?
02:11:42  * xallquit (Read error: Connection reset by peer)
02:11:52  <kevireilly>worth noting that `alert(currentLocation)` would just log the function instance that was returned by `setLocation`, so perhaps you want to set the result of `currentLocation();` to a variable and alert that
02:12:23  <alive876_>./clos2.js: line 1: syntax error near unexpected token `city'
02:12:28  * xalljoined
02:12:29  * qardquit (Quit: (╯°□°)╯︵ pɹɐb)
02:12:29  * cerebro_quit (Ping timeout: 260 seconds)
02:12:30  * LeBlaaancquit (Quit: My Mac has gone to sleep. ZZZzzz…)
02:12:40  * qardjoined
02:13:21  * lisposterjoined
02:13:22  * mjw56_joined
02:13:24  <jaawerth>merpnderp: seems to compile fine for me in node6
02:13:29  <kevireilly>woops, and you were logging not returning, so nevermind part of my last statement ;)
02:13:29  <jaawerth>merpnderp: not on OS6, tho
02:13:33  * lumusquit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
02:13:37  * djmaxjoined
02:13:38  * thinkt4nkquit (Quit: My Mac has gone to sleep. ZZZzzz…)
02:13:45  <jaawerth>merpnderp: er, OSX
02:13:46  <jaawerth>lol
02:13:53  * ecuanasoquit (Quit: My Mac has gone to sleep. ZZZzzz…)
02:14:12  <kevireilly>I was wondering if you were also testing iOS6 or...
02:14:26  <merpnderp>jaawerth: looks like it uses XCode libs to build and those are throwing errors.
02:14:37  <jaawerth>aha
02:14:43  * tejasmanoharjoined
02:15:04  <kevireilly>alive876_: works fine here: https://jsfiddle.net/qy38fuem/ -- is there a detail missing? Perhaps there is some code before the code you've pasted that is breaking this code
02:15:08  <merpnderp>Like here's my very first error (of maybe 30)
02:15:10  * jannehquit (Ping timeout: 250 seconds)
02:15:11  <kevireilly>such as a missing closing } or something
02:15:12  <merpnderp>https://www.irccloud.com/pastebin/HJnwvmqm/
02:16:19  <alive876_>ok thanks, in other words its supposed to work, thats all i care about thanks
02:16:47  * mjw56quit (Ping timeout: 260 seconds)
02:18:14  <kevireilly>merpnderp: what version of xcode?
02:18:19  * djmaxquit (Ping timeout: 260 seconds)
02:18:28  * DevBoxquit (Quit: DevBox)
02:19:38  <kevireilly>I'm no iOS expert, but nullable didn't sound familiar and seems it was introduced in xcode 6.3
02:19:41  <merpnderp>kevireilly: latest....j/s I'll get you exact
02:20:03  <merpnderp>kevireilly: 7.3.1
02:20:10  <kevireilly>ok so it isn't that
02:22:21  * adronquit (Remote host closed the connection)
02:23:04  * Doginal_joined
02:23:25  <kevireilly>merpnderp: relative interesting, but NSZone looks like it was deprecated. Same error without nullable in there? https://developer.apple.com/library/ios/documentation/Cocoa/Reference/Foundation/Protocols/NSCopying_Protocol/index.html#//apple_ref/occ/intfm/NSCopying/copyWithZone:
02:23:26  <alive876_>hi newb here, i'm tying to understand the big deal about "closure", wherein we call a function, and it "remembers" local variables set wirhin it at the time of creation, but if functions are simplely objects, all objects do the same thing, or am i missing something?
02:24:03  * Doginalquit (Ping timeout: 240 seconds)
02:24:05  * Doginal_changed nick to Doginal
02:25:01  <waz>kl
02:25:04  * glijoined
02:25:23  * zumba_addictjoined
02:25:36  * qardquit (Quit: (╯°□°)╯︵ pɹɐb)
02:25:53  * relipse2joined
02:26:03  <kevireilly>>> var foo = 'bar'; var obj = { foo: foo, bar: function(){ return foo; } }; console.log(foo, obj.foo, obj.bar());
02:26:04  <ecmabot>kevireilly: undefined; Console: 'bar', 'bar', 'bar'
02:26:47  <kevireilly>alive876_: object properties can do the same thing indeed
02:27:04  <alive876_>ok ty
02:27:15  * ensyde__joined
02:27:15  * karmahackerjoined
02:27:23  * diamondsquit (Ping timeout: 276 seconds)
02:28:29  * ConspiratorXquit (Quit: My Mac has gone to sleep. ZZZzzz…)
02:28:40  <merpnderp>kevireilly: so looks like wrtc needs to be updated
02:28:43  * Doginalquit (Ping timeout: 265 seconds)
02:29:01  * diegoaguilarquit (Remote host closed the connection)
02:29:32  <prawnsalad>hello, anyone a network socket pro? i have a socket that after a burst of a lot of traffic, it no longer receives data, but it can still send data. its like its half open but without an 'end' event firing
02:29:34  <prawnsalad>any ideas?
02:30:30  <shesmu>does anyone know how to pull the headers from my currently open browsers? im in a lil bit of a pickle here.
02:30:40  * Eterniasjoined
02:30:47  * MarcoGLquit (Ping timeout: 244 seconds)
02:31:08  * cidicquit (Quit: cidic)
02:31:15  * Doginaljoined
02:31:17  * ensydequit (Ping timeout: 276 seconds)
02:31:26  * jr3quit (Quit: jr3)
02:31:47  <jfhbrook>shesmu: shit, I think if you open up the requests panel and look at something your browser sent?
02:31:50  <jfhbrook>those headers?
02:31:52  * JelteMXjoined
02:31:54  * redoPopjoined
02:32:01  * djmaxjoined
02:32:39  <jfhbrook>prawnsalad: sounds like a hiccup in how someone somewhere is dealing with backpressure?
02:33:10  <shesmu>jfhbrook: yea the kind of headers you get from ur firefox dev panel or wireshark. Im almost sure there is way to pull them in node but im not quite sure how.
02:33:16  * Argue_joined
02:33:27  <jfhbrook>oh, log req.headers
02:34:14  <shesmu>but where do i point the options to? they usually want an actuall url
02:34:38  * dodobrainjoined
02:34:39  * dodobrainquit (Changing host)
02:34:39  * dodobrainjoined
02:34:39  <prawnsalad>jfhbrook: not sure, the traffic even stops being received at the network level when i sniff the traffic. its as if node is telling the OS to stop receiving trafic on that connection somehow. if i use another language or even telnet - the traffic is not paused, only in node
02:34:53  * lhdcjoined
02:35:04  * noserquit (Ping timeout: 240 seconds)
02:35:22  <jfhbrook>sure prawnsalad but maybe someone is forgetting to call uncork or something? ¯\_(ツ)_/¯
02:36:24  * djmaxquit (Ping timeout: 260 seconds)
02:36:32  * lhdcquit (Remote host closed the connection)
02:36:33  * Kkiroquit (Ping timeout: 260 seconds)
02:36:56  <shesmu>jfhbrook: i can pull any old header if i supply a url but i need the headers of the web pages open in my browsers
02:36:57  * JelteMXquit (Ping timeout: 276 seconds)
02:37:05  * Kkirojoined
02:37:05  * Kkiroquit (Changing host)
02:37:05  * Kkirojoined
02:37:08  * redoPopquit (Ping timeout: 276 seconds)
02:37:39  <jfhbrook>response headers?
02:37:45  <jfhbrook>log those?
02:38:23  * mweemsjoined
02:38:26  * relipse2quit (Ping timeout: 276 seconds)
02:38:54  * nilsijoined
02:39:03  * itaipuquit (Ping timeout: 244 seconds)
02:39:52  * dodobrainpart
02:39:52  * dodobrainjoined
02:40:38  * nilsiquit (Read error: No route to host)
02:40:45  * sbellinajoined
02:40:54  * lhdcjoined
02:40:57  * nilsijoined
02:41:13  <shesmu>jfhbrook: code snippet? all the examples i am seeing ask for a url
02:41:47  <jfhbrook>"ask for a url" ?
02:42:15  <shesmu>jfhbrook: yea take a url as a parameter to pull the header from
02:42:30  <jfhbrook>http.createServer((req, res) => { console.log(res); res.end(''); }).listen(8080)
02:42:33  <jfhbrook>?
02:43:23  * msafijoined
02:44:03  * xallquit (Ping timeout: 240 seconds)
02:44:56  * Doginal_joined
02:45:01  * Doginalquit (Ping timeout: 252 seconds)
02:45:01  * Doginal_changed nick to Doginal
02:45:03  <prawnsalad>jfhbrook: good call. removed a stream and it starts working \o/
02:45:16  * macabrequit (Read error: Connection reset by peer)
02:45:42  * kingarmadillojoined
02:45:47  <jfhbrook>prawnsalad: sweet!
02:47:32  <shesmu>jfhbrook: no bueno, not getting anything tried 80 and 443 and 127.... and 192....
02:47:38  * shrikrishnajoined
02:47:47  <jfhbrook>shesmu: wut
02:48:05  <jfhbrook>you write the server I said and then visit localhost:8080
02:48:08  <shesmu>jfhbrook: the browser traffic should be on 443 no?
02:48:11  * liuwenhaoquit (Quit: Leaving)
02:48:13  * smccarthyjoined
02:48:17  <jfhbrook>it's on whatever port you tell it to lsiten to
02:48:23  <jfhbrook>443 is "standard" for ssl
02:48:27  <jfhbrook>that server doesn't even ssl
02:49:17  * mweemsquit (Quit: Page closed)
02:49:43  <shesmu>jfhbrook: ok but that only logs if i go to localhost:8080 that kinda defeats the purpose
02:49:50  * ecuanasojoined
02:50:06  * IrishGringojoined
02:50:12  <shesmu>jfhbrook: i am obviously mistaken but i thought if i listened on 443 i could see all inconming traffic from chrome for example
02:50:22  <jfhbrook>huh?
02:50:32  * plutoniixjoined
02:50:40  * mlovelessjoined
02:50:42  <shesmu>i only get a log if i go to localhost:8080 that defeats the purpose
02:50:45  <jfhbrook>I mean, if you go to https://localhost and your service is listening, with an https server, on port 443
02:50:51  <jfhbrook>then yeah
02:51:09  * d4rklit3joined
02:51:49  * DevBoxjoined
02:51:52  <shesmu>jfhbrook: ok but the idea is to get the urls of the sites i am curently visiting on my broswer.
02:52:13  <jfhbrook>you're trying to mitm your own browser?
02:52:17  * geofflanjoined
02:52:23  * panpainterquit (Remote host closed the connection)
02:52:24  <shesmu>jfhbrook: mitm?
02:52:30  <jfhbrook>man-in-the-middle
02:52:30  * _panpainterjoined
02:52:44  * Argue_quit (Ping timeout: 276 seconds)
02:52:45  <shesmu>jfhbrook: yes
02:52:58  <shesmu>jfhbrook: well essentially
02:53:01  <jfhbrook>the whole point of ssl is that you can't really do that
02:53:29  <shesmu>jfhbrook: but the requests are being sent to my machine, and i have the ssl certificate here
02:53:47  * Arguejoined
02:54:06  <jfhbrook>so host an https server on port 443 and hit it with your browser
02:54:09  <jfhbrook>what's the problem?
02:54:45  <jfhbrook>like either you control the endpoint or you don't
02:56:10  <jfhbrook>if you're interested in packet sniffing, which might help you maybe idk, look up packet sniffing tools for node I guess? but in terms of core APIs you just read/write to sockets like a normal legitimate service
02:56:12  <shesmu>jfhbrook: but that defeats the purpose if i have to open up my browser. Clearly i do not undertsand what i was trying to do
02:56:36  <jfhbrook>okay what problem are you *Actually* trying to solve
02:56:39  <jfhbrook>back way the fuck up
02:56:52  * bronsonjoined
02:57:17  * timmywilquit (Quit: O.o)
02:57:22  * tubuliferousjoined
02:57:22  * Neal_joined
02:57:54  <Neal_>what's a good way to fail a test if I reach a code block?
02:57:57  * plutoniixquit (Quit: จรลี จรลา)
02:58:07  <shesmu>jfhbrook: Ok my browser is currently connected to youtube on one tab and stackoverflow on another. I run foobar.js and i get the html of both sites along with thier URLS
02:58:20  <jfhbrook>what is foobar.js
02:58:30  <jfhbrook>how does it get the content of the sites?
02:58:32  <shesmu>jfhbrook: the script that grabs the headers
02:58:36  <jfhbrook>what headers
02:58:41  <shesmu>jfhbrook: thats what im trying to figure out lol
02:58:42  <jfhbrook>what problem are you actually trying to solve
02:58:43  * diamondsjoined
02:58:49  <jfhbrook>like forget headers
02:58:50  <shesmu>the headers of the sites im connected to
02:58:56  * niemalquit (Remote host closed the connection)
02:58:58  <jfhbrook>which headers?
02:59:07  <jfhbrook>the request headers? the ones the browser sends?
02:59:17  <jfhbrook>the response headers? the ones the server sends?
02:59:20  <jfhbrook>to what end?
02:59:32  <shesmu>jfhbrook: problem to solve: get data about the sites i am connected to in chrome
02:59:38  <jfhbrook>what are you trying to do with this information?
02:59:57  * Coldblackicequit (Ping timeout: 260 seconds)
03:00:08  * karmahackerquit (Ping timeout: 265 seconds)
03:00:08  <shesmu>jfhbrook: download music to start.
03:00:25  * dunpealquit (Ping timeout: 252 seconds)
03:00:29  <shesmu>jfhbrook: if i get the html of the pages chrome is connected to im g2g
03:00:32  <jfhbrook>what are you actually trying to do?
03:00:41  * jr3joined
03:00:55  <jfhbrook>why do you think you need to know any headers in order to scrape a web page?
03:01:07  * macabrejoined
03:01:28  <shesmu>jfhbrook: i scrape all the time thats not the issue. the issue is knowing what sites chrome is currently connected to
03:01:31  * bronsonquit (Ping timeout: 252 seconds)
03:02:14  * _panpainterquit (Remote host closed the connection)
03:02:44  * panpainterjoined
03:02:48  <jfhbrook>you want to know what tabs chrome has open?
03:02:54  <jfhbrook>what does that have to do with headers?
03:03:04  <jfhbrook>that sounds like it has everything to do with chrome, not node or headers
03:03:13  * noethicsjoined
03:03:34  <shesmu>jfhbrook: i assumed that the only way to get that info into node was through the headers sent to my machine. Perhaps i assumed wrong
03:03:54  * huangyao_joined
03:03:56  * weemsledeuxquit (Quit: My Mac has gone to sleep. ZZZzzz…)
03:04:03  * plutoniixjoined
03:04:10  <jfhbrook>what headers do you expect chrome to send to who, shesmu ?
03:04:15  <jfhbrook>are we talking about the same thing?
03:04:33  <jfhbrook>https://github.com/caolan/async#queue
03:04:34  <jfhbrook>adfls
03:04:38  <jfhbrook>fucking paste buffer
03:04:44  <jfhbrook>https://en.wikipedia.org/wiki/List_of_HTTP_header_fields
03:04:46  <jfhbrook>fadsj;fdsaj;fads
03:04:49  <jfhbrook>fucking firefox
03:04:53  <shesmu>jfhbrook: chrome revieves headers from every site it connects to. I would like a copy pulled with node
03:05:12  * dunpealjoined
03:05:20  <shesmu>jfhbrook: you ok over there?
03:05:40  * braincrashquit (Quit: bye bye)
03:05:43  <jfhbrook>shesmu, how would you expect node to have any awareness of what headers google.com is sending chrome?
03:06:33  <shesmu>jfhbrook: because they are sent through port 443, cant i just watch that port and pull a copy as they come through?
03:06:38  <jfhbrook>no?
03:06:46  <shesmu>well shit
03:06:48  * mmmveggiesjoined
03:06:51  <jfhbrook>like node at least doesn't do that
03:07:31  <jfhbrook>node would let you listen on port 443 but it wouldn't let you somehow intercept or spy on a connection on a client connection to google.com
03:07:40  <jfhbrook>listen as in accept requests
03:08:09  <shesmu>ok looks like im scripting up wireshark. Thnx for your help m8. Sorry i wasnt clear at the start
03:08:13  <jfhbrook>there might be tools that would allow you to do maybe some of this, you mentioned wireshark, maybe search npm for packet sniffing? if that's how that works?
03:08:30  <jfhbrook>honestly shesmu I think it just kinda sounds like a bad idea
03:08:38  <shesmu>why is that?
03:08:50  * ecuanasoquit (Quit: My Mac has gone to sleep. ZZZzzz…)
03:09:01  * morenoh149quit (Ping timeout: 244 seconds)
03:09:12  <jfhbrook>trying to leverage packet sniffing to trigger processes on web pages something somewhere on your computer ??? probably went to?
03:09:16  * dabocksterjoined
03:09:23  <jfhbrook>like that's not industrial grade
03:10:09  <jfhbrook>maybe look into chrome plugins and see if you can better solve your problem that way
03:10:16  <jfhbrook>or just copy-paste like everyone else
03:10:19  * dunpealquit (Ping timeout: 252 seconds)
03:10:33  * yosuke_furukawajoined
03:11:34  <shesmu>jfhbrook: well if i was to use chrome plugins that also kind of defeats the purpose. but maybe you are right, this all got very convoluted very quickly
03:11:57  <jfhbrook>yeah shesmu doing what you're doing with packet sniffing isn't normal, at least it wasn't last I checked
03:12:00  * jannehjoined
03:12:07  * vincentcrjoined
03:12:12  * mmmveggiesquit (Ping timeout: 260 seconds)
03:12:48  <jfhbrook>and that's all ignoring the ssl/tls component of that shesmu like that shit's encrypted
03:13:20  * lhdcquit (Remote host closed the connection)
03:13:22  <jfhbrook>unless I completely misunderstand the layer at which encryption is applied, you're likely SOL there regardless
03:13:24  <shesmu>jfhbrook: ok i fully misundertsood this sittuation. i thought since i have my ssl key on my machine i could just snag a copy of incoming data
03:13:41  <jfhbrook>nah, your browser would be doing the decrypting
03:13:57  <jfhbrook>data coming through the socket would still be encrypted
03:14:06  * heyimwilljoined
03:14:13  * timmywiljoined
03:15:29  * yosuke_furukawaquit (Ping timeout: 276 seconds)
03:15:36  <shesmu>jfhbrook: ok this is my bad, sorry for wasting ur time, im sure i had you like. http://i.imgur.com/mF5nKpv.gif
03:15:52  <jfhbrook>ahahahahaha
03:16:04  * braincrashjoined
03:16:09  <jfhbrook>hey it's all good
03:16:20  <jfhbrook>I would have stomped off in a hissy fit if I was bothered
03:16:34  * vincentcrquit (Ping timeout: 265 seconds)
03:16:43  * jannehquit (Ping timeout: 250 seconds)
03:16:53  <jfhbrook>I only really get angry at my copypaste buffer
03:16:57  <jfhbrook>and sometimes at firefox
03:16:58  <shesmu>which makes sense cause if it didnt we would all be up in arms about our security
03:17:43  <shesmu>jfhbrook: well thnx for taking the time ne way. i appreciate it.
03:17:59  <jfhbrook>anytime (almost)
03:18:04  <shesmu>:P
03:18:59  * heyimwillquit (Ping timeout: 260 seconds)
03:19:26  * morenoh149joined
03:19:28  * tfennellyjoined
03:19:33  <merpnderp>while(1){setTimeout(()=>{...}, 0)} .... is that trying my setTimout arg as fast as possible without blocking?
03:20:10  * IPA`joined
03:20:35  * alskoyquit (Read error: Connection reset by peer)
03:22:04  * xalljoined
03:23:35  * thebishopjoined
03:24:06  * quakephilquit (Ping timeout: 246 seconds)
03:24:14  * tfennellyquit (Ping timeout: 260 seconds)
03:25:43  * jon_xquit (Ping timeout: 252 seconds)
03:25:55  * ecuanasojoined
03:26:37  <jfhbrook>more or less merpnderp ?
03:26:38  * panpainterquit (Remote host closed the connection)
03:26:43  * djmaxjoined
03:26:44  * panpainterjoined
03:26:58  <jfhbrook>except you're blocking the event loop so I wouldn't expect those timeouts to actually fire
03:27:01  <merpnderp>jfhbrook: that defaults to 1ms and isn't fast enough to test...
03:27:24  <merpnderp>I did setInterval with 0, which apparently uses 1ms
03:27:29  <jfhbrook>like the while loop blocks
03:27:36  <jfhbrook>the setInterval call doesn't
03:27:44  <ljharb>also use recursive setTimeout, not setInterval.
03:27:45  * whathappensjoined
03:28:01  <jfhbrook>sorry I meant setTimeout
03:28:06  <merpnderp>ljharb: but both of those have a minimum of 1ms
03:28:08  <merpnderp>waits
03:28:32  <jfhbrook>merpnderp I'm shocked the body is executing at all honestly, like I'm about to try it because lolwut
03:28:32  * WarAndGeesejoined
03:28:37  <WarAndGeese>sup sup sup sup
03:29:14  <WarAndGeese>I'm in a pickle, I started making this application in Meteor and now I'm almost done, but now I learn about ACID compliance and how mongodb is supposedly unreliable, like it might drop transactions
03:29:42  <ljharb>merpnderp: so?
03:29:46  * timmywilquit (Quit: O.o)
03:29:52  <ljharb>merpnderp: that's how long you have to wait til the next turn
03:29:57  <jfhbrook>merpnderp: this is what happens when I run your code https://gist.github.com/jfhbrook/2cb9d11fc0d160ffad95dd0f5066a8ee
03:30:00  <merpnderp>jfhbrook: if I have the client trigger the server again over a websocket, even with a 2KB payload, I'm seeing 500microsecond loops :D
03:30:08  <ljharb>WarAndGeese: we'd have told you not to use meteor if you'd asked first :-p
03:30:09  <WarAndGeese>What I want to do is move forward and launch and get users, and then if things go well I can rebuild using another framework and shift users over to that before any problems come up. Is that reasonable? Do issues with ACID compliance not come up as long as databases are small, or am I like randomly going to lose data?
03:30:18  <ljharb>!no mongo @ WarAndGeese
03:30:18  <ecmabot>WarAndGeese: Don't use MongoDB - it has many issues, and is essentially never the right solution to your problem. Here's a list of issues: http://cryto.net/~joepie91/blog/2015/07/19/why-you-should-never-ever-ever-use-mongodb/ and a more technical article at http://www.sarahmei.com/blog/2013/11/11/why-you-should-never-use-mongodb/
03:30:24  <ljharb>you can judge for yourself
03:30:57  <jfhbrook>WarAndGeese: I think that's reasonable---like you should get off mongo but you can probably launch on it if you're like, not doing anything too critical
03:31:00  * ecuanasoquit (Quit: My Mac has gone to sleep. ZZZzzz…)
03:31:02  <WarAndGeese>At the time I was still learning a lot, and meteor was really good for that, but now that I know more I don't get why they don't have any solutions for SQL databases
03:31:07  <jfhbrook>WarAndGeese: but like ljharb said, that's really up to you
03:31:14  * djmaxquit (Ping timeout: 260 seconds)
03:31:28  * enoexjoined
03:31:33  <jfhbrook>look at the consistency/commit guarantees of mongo and decide if they're acceptable to you in the short term
03:31:46  * macabrequit (Read error: Connection reset by peer)
03:31:52  <jfhbrook>fwiw $WORK has been using mongo for a few years and we never like straight lost an editor's work
03:31:57  <jfhbrook>afaik
03:32:05  <WarAndGeese>jfhbrook: What if the application deals with a little bit of finances? Will mongo randomly lose data even if I structure my schemas and my transactions well?
03:32:32  <jfhbrook>it's like
03:32:44  * redoPopjoined
03:32:47  <jfhbrook>imagine for the sake of argument that 99% of actions against mongo succeed
03:32:49  <WarAndGeese>I feel like so many projects fail due to lazyness and other stuff that I think the best move is to just launch anyway and try to get users. Then if I get any traction at all I can try to devote myself to creating a platform with a different database.
03:32:52  * roflmyeggoquit (Ping timeout: 252 seconds)
03:32:54  <jfhbrook>that last 1% might make a big difference to you
03:33:07  <jfhbrook>now it's likely greater than 99%, I just choose that number out of laziness
03:33:18  <jfhbrook>but there are in fact scenarios with mongo where you could lose data
03:33:18  * concertijoined
03:33:23  <jfhbrook>or serve stale data
03:33:37  <jfhbrook>serving stale data is actually fairly likely to expected depending on how you do reads
03:34:12  * kakashiALjoined
03:34:32  <WarAndGeese>If I save a lot of records then can I cover those 1-100000 transactions that screw up by dealing with them manually? like if I save a lot of records, then run checks to make sure things 'add up', then whenever there are real issues I can deal with them manually?
03:34:47  <WarAndGeese>Is that safe or is that like a huge bad thing to do?
03:34:50  * ecuanasojoined
03:35:06  <WarAndGeese>Other people online say that there's no issue as long as schemas are designed properly and all that, especially for a small application
03:35:17  <WarAndGeese>so I'm hoping that I'm just worrying too much and that it's actually not a problem
03:36:24  * GreenDogjoined
03:36:29  * panpainterquit (Remote host closed the connection)
03:37:01  * panpainterjoined
03:37:16  * redoPopquit (Ping timeout: 252 seconds)
03:37:21  <jfhbrook>all I can tell you WarAndGeese is that real companies do real things with mongodb whether it's a good idea or not
03:37:23  * githogorijoined
03:37:37  * pingupingujoined
03:37:37  * pingupinguquit (Changing host)
03:37:37  * pingupingujoined
03:37:39  <jfhbrook>you probably won't get sued if you launch with mongodb, if that's what you're asking
03:38:07  <WarAndGeese>Also, does data disappear after it has already been saved? Like if I save a document successfully then it will stay there, right? It won't just disappear somehow? Mongodb is huge and is used all over, so there's no way it's actually super unreliable, right?
03:38:35  <jfhbrook>I haven't seen that happen WarAndGeese no
03:39:07  <jfhbrook>that's not to say it's impossible that you would get an ack for the write and then have some scenario where it didn't get committed
03:39:18  <jfhbrook>especially with a liberal write concern
03:39:20  <WarAndGeese>That's what I was thinking too jfhbrook, that if other people use it then I can at least move forward for now, then if I get traction then it's a success because I can start building a solution, and if I don't then it wouldn't matter anyway
03:39:54  <jfhbrook>sure
03:39:55  <WarAndGeese>I mean if I get any users then I can start building a back-end that uses something other than mongo
03:40:25  <jfhbrook>right
03:40:56  * max_dataquit (Remote host closed the connection)
03:41:36  <WarAndGeese>I'll try to do that then
03:41:53  <WarAndGeese>Do you have any examples of real companies using mongodb for real things even if it might not be a good idea?
03:42:01  <WarAndGeese>I was trying to find that for peace of mind
03:42:42  <jfhbrook>yes
03:42:48  <jfhbrook>conde nast, I work there
03:43:02  <jfhbrook>but others as well
03:43:07  <jfhbrook>I just don't know them off the top of my head
03:43:15  * IrishGringoquit (Ping timeout: 276 seconds)
03:43:17  * yosuke_furukawajoined
03:43:37  <gambl0re>how easy is it to move a nodejs local project to a web server?
03:43:52  <ljharb>gambl0re: if you properly developed it on http:// (and never on file://) should be easy
03:44:11  <gambl0re>should be easy?
03:44:23  <gambl0re>what hosting providers are available for node
03:44:26  * macabrejoined
03:44:27  <gambl0re>cheap is key
03:45:21  <jfhbrook>aws ec2 instance is pretty hard to beat
03:45:22  * wazquit (Quit: My Mac has gone to sleep. ZZZzzz…)
03:45:23  * col_quit (Ping timeout: 276 seconds)
03:45:24  * colquit (Ping timeout: 276 seconds)
03:45:28  <jfhbrook>digital ocean is easier though and also cheap
03:46:03  <gambl0re>im not expecting a lot of traffic (if any) mostly for demo purposes to show off my skillz
03:46:40  <WarAndGeese>I like modulus.io , like $5 a month and easy to use, not sure if it has what you're looking for though
03:46:53  <jfhbrook>in which case a $5/mo droplet should be fine
03:46:55  <WarAndGeese>$5 a month for something small of course
03:47:09  <WarAndGeese>it was super easy to deploy though
03:47:21  <WarAndGeese>good for me
03:47:39  <boogyman>amazon has a free tier so it costs nothing so long as you do not exceed certain thresholds
03:48:05  <zsoc>I have statics set in express like app.use(express.static(path.join(__dirname, 'public'))) but it only works 1 dir deep... after that it fails ( like on /some/endpoint), am I missing something?
03:48:08  <gambl0re>i think its free for only a limite time
03:48:17  * ecuanasoquit (Quit: My Mac has gone to sleep. ZZZzzz…)
03:48:18  <gambl0re>tlaking about amazon i mean
03:48:25  * ProblemChildquit (Quit: Bye)
03:48:30  <WarAndGeese>deploying to modulus is basically installing their package with npm, using "modulus login", and then using "modulus deploy"
03:49:30  * momoterrawjoined
03:50:01  * ynnehjoined
03:50:12  * danmanquit (Quit: danman)
03:50:35  * concertiquit (Ping timeout: 276 seconds)
03:52:17  * Dark_Aaronjoined
03:52:47  * terminal_joined
03:53:42  * neriumquit (Quit: nerium)
03:54:29  * momoterrawquit (Ping timeout: 276 seconds)
03:55:03  * WarAndGeesequit (Ping timeout: 240 seconds)
03:56:08  * WarAndGeesejoined
03:56:15  * Fishrock123joined
03:56:40  * davidedwardclarkpart
03:56:55  * lyuhajoined
03:57:02  * karmahackerjoined
03:57:35  * davidedwardclarkjoined
03:57:39  * xallquit (Ping timeout: 265 seconds)
03:57:53  * Tennisquit (Read error: Connection reset by peer)
03:58:19  <WarAndGeese>got disconnected for a bit there
03:58:29  * Tennisjoined
03:58:31  * terminal_quit (Read error: Connection reset by peer)
03:58:46  * terminal_joined
03:58:56  * asteelequit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
03:59:17  * djmaxjoined
04:00:01  * davidedwardclarkpart
04:00:06  * mmmveggi1sjoined
04:00:28  * ProblemChildjoined
04:02:12  * thefourtheye___joined
04:03:54  * djmaxquit (Ping timeout: 260 seconds)
04:04:42  * lisposterquit (Ping timeout: 260 seconds)
04:05:05  <WarAndGeese>Goodnight folks, thanks for the talk
04:05:07  * WarAndGeesequit (Quit: Leaving)
04:05:59  * dunpealjoined
04:06:07  * mmmveggi1squit (Ping timeout: 250 seconds)
04:06:39  * Gutembergjoined
04:07:20  * Tennisquit (Read error: Connection reset by peer)
04:07:39  * ynnehquit (Quit: Mutter: www.mutterirc.com)
04:07:42  * tejasmanoharquit (Quit: Page closed)
04:07:42  * asteelejoined
04:07:49  * Tennisjoined
04:08:12  * shrikrishnaquit (Ping timeout: 246 seconds)
04:08:20  * Fishrock123quit (Remote host closed the connection)
04:09:08  <Gutemberg>hello guys
04:09:28  * shrikrishnajoined
04:10:00  <zsoc>I have jade rendering a string with two double quotes around it. Basically data-id=token_obj._id is drawing as data-id=""String"" , I can't figure out what that might happen. It's like.. double stringified ?
04:10:08  <Gutemberg>I'm seeing https://n8.io/cross-compiling-nodejs-v0.8/ trying to cross-compile node for ARMv6 and I wonder if that article still valid for the latest master on GitHub
04:10:11  * thebishopquit (Remote host closed the connection)
04:10:27  * mjw56_quit (Remote host closed the connection)
04:10:32  * whathappensquit (Remote host closed the connection)
04:10:34  * grillquit (Quit: My Mac has gone to sleep. ZZZzzz…)
04:11:01  * IPA`quit (Remote host closed the connection)
04:11:23  * dunpealquit (Ping timeout: 276 seconds)
04:11:29  * whathappensjoined
04:11:30  * cam_yjoined
04:12:13  * whathappensquit (Remote host closed the connection)
04:13:29  <konobi>Gutemberg: have a look at the configure args
04:13:55  * ForSparePartsjoined
04:14:03  * huangyao_quit (Ping timeout: 240 seconds)
04:15:14  <Gutemberg>konobi: $ ./configure --without-snapshot --dest-cpu=arm --dest-os=linux
04:15:15  <Gutemberg>that?
04:15:32  * diamondsquit (Ping timeout: 265 seconds)
04:15:38  <Gutemberg>I already have all the exports to the target toolchain
04:16:22  * morenoh149quit (Ping timeout: 260 seconds)
04:17:02  <Gutemberg>I'll try that here... I hope it works as simple as the blog says :D
04:17:27  * macabrequit (Remote host closed the connection)
04:17:30  <Gutemberg>than after that, need try compile chromium for ARMv6 as well... hope that works...
04:18:40  * krish203joined
04:18:41  * ForSparePartsquit (Client Quit)
04:19:37  * Doginalquit (Quit: Doginal)
04:19:50  * huangyao_joined
04:19:51  * panpainterquit (Remote host closed the connection)
04:19:57  * panpainterjoined
04:20:15  * jon_xjoined
04:20:21  * tristanpjoined
04:20:59  * tfennellyjoined
04:21:30  * githogoriquit (Ping timeout: 246 seconds)
04:21:37  <DragonPunch>for (var number in numbers) not working
04:21:41  <DragonPunch>anybody knows why
04:22:12  * fractingquit (Ping timeout: 260 seconds)
04:24:13  * githogorijoined
04:25:02  * italoacasasquit (Ping timeout: 276 seconds)
04:26:20  * tfennellyquit (Ping timeout: 276 seconds)
04:26:42  * _MysTjoined
04:27:20  * cerebro_joined
04:27:21  * cerebro__quit (Read error: Connection reset by peer)
04:27:58  <Gutemberg>konobi: g++: error: unrecognized command line option ‘-mfpu=vfp’ g++: error: unrecognized command line option ‘-marm’
04:28:02  <Gutemberg>:(
04:28:17  * geofflanquit (Ping timeout: 276 seconds)
04:28:34  * muthujoined
04:29:41  * panpainterquit (Remote host closed the connection)
04:29:47  * karmahackerquit (Ping timeout: 260 seconds)
04:30:02  * maestrojedjoined
04:30:13  * panpainterjoined
04:31:20  * crazyonerobjoined
04:31:38  * walterheckquit (Read error: Connection reset by peer)
04:32:26  * walterheckjoined
04:32:46  * djmaxjoined
04:33:33  * redoPopjoined
04:33:39  * JelteMXjoined
04:33:46  * sbellinaquit (Read error: No route to host)
04:34:00  <konobi>Gutemberg: you might need a newer gcc
04:34:08  * huangyao_quit (Ping timeout: 276 seconds)
04:34:32  <Gutemberg>4.6.3 is what I have
04:34:43  <Gutemberg>from the target device toolchain
04:35:09  * ensyde__quit (Ping timeout: 250 seconds)
04:35:14  * shoky_joined
04:35:43  * ToApolytoXaosquit (Quit: I'm off folks. Drop by at http://alifealgorithm.blogspot.com)
04:35:45  * HoMMquit (Remote host closed the connection)
04:35:55  * HoMMjoined
04:35:55  * HoMMquit (Changing host)
04:35:55  * HoMMjoined
04:36:15  * alive876_quit (Quit: Page closed)
04:37:18  * djmaxquit (Ping timeout: 250 seconds)
04:37:57  * shokyquit (Ping timeout: 260 seconds)
04:38:11  * redoPopquit (Ping timeout: 250 seconds)
04:38:41  * JelteMXquit (Ping timeout: 276 seconds)
04:39:50  * sbellinajoined
04:40:31  * cagedwisdomquit (Ping timeout: 252 seconds)
04:40:45  <netameta>Designing my DB right now, i have 2 tables that are kinda of similiar (they 3 similiar columns) my tables are, message and alerts, they both have subject,body,status i wonder if i should create a separate table with those 3 comlumn and a reference to whichever table it belongs
04:43:02  <konobi>Gutemberg: yeah, a newer gcc/g++ would be good
04:43:15  <ljharb>netameta: it doesn't matter if they're the same schema. it matters if they're the same kind of thing
04:43:18  <Nikesh>How can I make Babel skip certain file patterns?
04:43:37  <ljharb>Nikesh: don't pass those file patterns as paths to babel in the first place?
04:43:42  <netameta>ljharb, the data within those colums are the same accrosse those 2 tables
04:43:43  <ljharb>Nikesh: what's the use case?
04:43:52  <Gutemberg>konobi: I have one toolchain I made using ct-ng and is on 4.8.5... that according to the github page is supported... tried with it and had the same error :(
04:44:14  <netameta>Nikesh, you can add ignore(path) if i am not mistaken
04:44:21  * Adriannomquit (Ping timeout: 276 seconds)
04:44:47  * Swizecquit (Quit: Computer has gone to sleep.)
04:45:05  * sbellinaquit (Read error: Connection reset by peer)
04:45:30  <Nikesh>ljharb: OK, good point. I have large API response body that I've saved for testing so yeah, I should just put it somewhere else rather
04:45:49  <netameta>Nikesh, https://babeljs.io/docs/usage/options/ - check ignore option
04:45:54  <Nikesh>`fixtures` ? I use it as a mock
04:46:16  <Nikesh>ljharb: So far I figured out using `onchange 'dist/**/tests/*.js' -- npm test` for test watching
04:46:52  * uni`pcjoined
04:46:52  * uniacid_pcquit (Read error: Connection reset by peer)
04:47:39  * enoexquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
04:47:49  <ljharb>netameta: why would a message and an alert have the same data
04:47:53  <Nikesh>In this moment Babel isn't even very necessary with Node v6
04:48:02  <ljharb>netameta: what i mean is, messages !== alerts, even if they have the same data
04:48:08  <konobi>Gutemberg: try using ellcc
04:48:17  <ljharb>Nikesh: it's still useful. also, modules should only be published with ES5 commonJS
04:48:30  * smccarthyquit
04:48:34  * JoeC_Devquit (Ping timeout: 240 seconds)
04:48:38  <Nikesh>ljharb: Ah yeah.. OK
04:48:40  * JoeC_Dev_vjoined
04:48:55  <netameta>ljharb, true they are different entities,i though however since they share these 3 fields, i would make another table for these only and make a relationship
04:49:35  <ljharb>netameta: no, that's overdoing it.
04:49:45  <ljharb>netameta: if you DRY things up too much, you get stuck in a desert
04:50:09  <netameta>ljharb, you are sticking to this saying :-)
04:50:23  <ljharb>i like it
04:50:28  <netameta>it will eventually turn into a qoute :-)
04:51:03  <netameta>if you DRY things up too much, you get stuck in a desert, by ljharb
04:51:33  * beawesomeinsteadquit (Ping timeout: 240 seconds)
04:51:41  * sankhajoined
04:51:53  * dopesongjoined
04:52:04  <ljharb>too late, i'd already tweeted it
04:52:58  * nodebasejoined
04:52:59  <netameta>bah i guess i will go with these 2 tables then, although they are identical except for the relationships
04:53:53  * beawesomeinsteadjoined
04:54:00  * cagedwisdomjoined
04:54:22  * xalljoined
04:54:38  * roflmyeggojoined
04:56:04  <Gutemberg>konobi: thanks! will have a look on that
04:56:25  * huangyao_joined
04:56:53  * dopesongquit (Ping timeout: 276 seconds)
04:57:10  * geofflanjoined
04:57:12  * _MysTquit (Ping timeout: 260 seconds)
04:57:22  * GreenDogquit (Remote host closed the connection)
04:57:24  <ljharb>netameta: the fact that they're identical is a coincidence tho.
04:57:53  * yosuke_furukawaquit (Remote host closed the connection)
04:58:04  * Cabanossiquit (Ping timeout: 264 seconds)
04:58:44  * bronsonjoined
04:59:14  * IPA`joined
05:00:00  * Adriannomjoined
05:00:14  * lucasbjoined
05:00:23  * Cabanossijoined
05:00:30  * mmmveggi1sjoined
05:01:09  * asteelequit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
05:01:46  * panpainterquit (Remote host closed the connection)
05:01:53  * panpainterjoined
05:02:42  * mloveles_joined
05:03:37  * bronsonquit (Ping timeout: 252 seconds)
05:03:52  * cam_yquit (Remote host closed the connection)
05:04:03  * jr3quit (Quit: jr3)
05:04:16  * tejasvajoined
05:05:15  * mmmveggi1squit (Ping timeout: 246 seconds)
05:05:16  * mlovelessquit (Ping timeout: 252 seconds)
05:06:20  * r0r0hajoined
05:06:54  * Fishrock123joined
05:07:13  * r0r0quit (Ping timeout: 250 seconds)
05:08:20  * jasnellquit (Remote host closed the connection)
05:08:39  * Fishrock123quit (Client Quit)
05:10:31  * yosuke_furukawajoined
05:11:19  * mjw56joined
05:11:37  * panpainterquit (Remote host closed the connection)
05:11:50  * dopesongjoined
05:12:08  * panpainterjoined
05:12:21  * Trangarjoined
05:12:21  * Trangarquit (Changing host)
05:12:21  * Trangarjoined
05:12:32  * vincentcrjoined
05:13:33  * jannehjoined
05:13:47  * inflamesquit (Ping timeout: 276 seconds)
05:14:25  * inflamesjoined
05:14:29  * Donald-Trumpquit (Ping timeout: 260 seconds)
05:15:43  * oconnorct1quit (Ping timeout: 252 seconds)
05:16:17  * _MysTjoined
05:16:26  * jenksyquit (Ping timeout: 265 seconds)
05:17:02  * geofflanquit (Ping timeout: 276 seconds)
05:17:24  * vincentcrquit (Ping timeout: 260 seconds)
05:18:02  * jannehquit (Ping timeout: 250 seconds)
05:18:09  * macabrejoined
05:20:06  * Eterniasquit (Quit: My Mac has gone to sleep. ZZZzzz…)
05:20:21  * DragonPunchquit (Quit: My Mac has gone to sleep. ZZZzzz…)
05:20:54  * asteelejoined
05:22:45  * macabrequit (Ping timeout: 246 seconds)
05:23:02  * oconnorct1joined
05:23:48  * shrikrishnaquit (Ping timeout: 246 seconds)
05:23:54  * cam_yjoined
05:24:39  * huangyao_quit (Ping timeout: 276 seconds)
05:25:58  * DragonPunchjoined
05:26:30  * dongyujoined
05:26:41  * dongyuquit (Client Quit)
05:26:47  * arpuquit (Ping timeout: 276 seconds)
05:27:05  * karmahackerjoined
05:30:13  * dabocksterquit (Quit: Textual IRC Client: www.textualapp.com)
05:31:00  * horseyjoined
05:31:15  * PiotrekRjoined
05:31:44  * DragonPunchquit (Quit: My Mac has gone to sleep. ZZZzzz…)
05:33:03  * Mamutjoined
05:33:07  * heqianjoined
05:33:45  * msafiquit (Remote host closed the connection)
05:33:59  * cam_yquit (Remote host closed the connection)
05:34:02  * Boredjoined
05:34:26  * redoPopjoined
05:34:58  * DragonPunchjoined
05:35:02  * Nikeshquit (Quit: leaving)
05:35:13  * karmahackerquit (Remote host closed the connection)
05:35:33  * karmahackerjoined
05:35:52  * heqianquit (Client Quit)
05:36:09  * DragonPunchquit (Client Quit)
05:36:42  * DragonPunchjoined
05:37:38  * Bored_joined
05:38:20  * SET002quit (Read error: No route to host)
05:39:07  * arpujoined
05:39:08  * Boredquit (Ping timeout: 276 seconds)
05:39:15  * cam_yjoined
05:39:17  * redoPopquit (Ping timeout: 250 seconds)
05:41:19  * heyimwilljoined
05:41:49  * panpainterquit (Remote host closed the connection)
05:41:54  * jon_xquit (Ping timeout: 260 seconds)
05:41:55  * panpainterjoined
05:42:06  * xallquit (Read error: Connection reset by peer)
05:42:37  * huangyao_joined
05:44:06  * Palssonjoined
05:44:22  * xalljoined
05:45:43  * andrew9183quit (Quit: andrew9183)
05:45:49  * Donald-Trumpjoined
05:45:59  * heyimwillquit (Ping timeout: 260 seconds)
05:46:06  * jeffreylevesquejoined
05:47:31  * mr_loujoined
05:48:46  * GustavoLapastajoined
05:49:16  * lpinjoined
05:49:31  * sbellinajoined
05:50:08  * shrikrishnajoined
05:50:19  * momoterrawjoined
05:50:37  * jon_xjoined
05:50:50  * sankhaquit (Remote host closed the connection)
05:51:12  * pingupinguquit (Quit: Leaving)
05:51:39  * panpainterquit (Remote host closed the connection)
05:52:10  * panpainterjoined
05:52:21  * weemsledeuxjoined
05:53:19  * djmaxjoined
05:54:37  * shrikrishnaquit (Ping timeout: 265 seconds)
05:55:03  * momoterrawquit (Ping timeout: 240 seconds)
05:55:49  * SET001joined
05:56:33  * PiotrekRquit (Ping timeout: 265 seconds)
05:57:14  * BigBangUDRjoined
05:57:20  * asteelequit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
05:57:33  * enoexjoined
05:58:16  * lisposterjoined
05:58:37  * magicantlerjoined
06:00:30  * djmaxquit (Ping timeout: 250 seconds)
06:00:49  * mbwequit (Ping timeout: 252 seconds)
06:01:09  * _MysTquit (Ping timeout: 260 seconds)
06:01:10  * Gutembergquit (Ping timeout: 250 seconds)
06:01:29  * mmmveggiesjoined
06:02:01  * BigBangUDRquit (Client Quit)
06:02:10  * lyuhaquit (Quit: Connection closed for inactivity)
06:02:32  * LucaTMjoined
06:02:39  * dopesongquit (Remote host closed the connection)
06:02:52  * sibaquit (Quit: Textual IRC Client: www.textualapp.com)
06:03:26  * tvwjoined
06:03:39  * magicantlerquit (Ping timeout: 276 seconds)
06:06:24  * mmmveggiesquit (Ping timeout: 260 seconds)
06:06:45  * dodobrainquit (Ping timeout: 244 seconds)
06:06:59  * mjw56quit (Ping timeout: 260 seconds)
06:07:20  * heyimwilljoined
06:11:49  * GreenDogjoined
06:12:03  * oconnorct1quit (Ping timeout: 240 seconds)
06:12:14  * PiotrekRjoined
06:12:49  * heyimwillquit (Ping timeout: 260 seconds)
06:13:24  * graffixquit (Ping timeout: 276 seconds)
06:13:24  * graffix_changed nick to graffix
06:13:54  * star_pronejoined
06:14:56  * jannehjoined
06:15:02  * graffix222joined
06:15:26  * mbwejoined
06:15:31  * wsierocijoined
06:17:40  * tuxawyjoined
06:18:17  * star_pronequit (Ping timeout: 260 seconds)
06:18:18  * roflmyeggoquit (Ping timeout: 265 seconds)
06:19:03  * al1oquit (Ping timeout: 240 seconds)
06:19:08  * jannehquit (Ping timeout: 250 seconds)
06:19:36  * tejasvaquit (Remote host closed the connection)
06:19:56  * asteelejoined
06:20:52  * tejasvajoined
06:22:08  * asteelequit (Client Quit)
06:22:11  * al1ojoined
06:22:31  * tfennellyjoined
06:23:40  * asteelejoined
06:24:32  * ceaucariquit (Quit: My Mac has gone to sleep. ZZZzzz…)
06:24:48  * Bored_part
06:24:50  * sbellinaquit (Ping timeout: 244 seconds)
06:25:35  * doodadjs_quit (Read error: Connection reset by peer)
06:25:52  * IPA`quit (Remote host closed the connection)
06:26:02  * doodadjs_joined
06:27:23  * tfennellyquit (Ping timeout: 250 seconds)
06:27:23  * Boredjoined
06:27:44  * ahmedelgabrijoined
06:27:51  * inflamesquit (Ping timeout: 246 seconds)
06:27:55  * ceaucarijoined
06:28:04  * kuldeepquit (Ping timeout: 240 seconds)
06:30:41  * panpainterquit (Remote host closed the connection)
06:30:47  * panpainterjoined
06:31:09  * soeejoined
06:31:24  * nodebasequit (Quit: Textual IRC Client: www.textualapp.com)
06:31:44  * nodebasejoined
06:32:26  * DevBox|2joined
06:32:30  * DevBox|2quit (Client Quit)
06:32:31  * nilsi_joined
06:32:45  * nodebasequit (Client Quit)
06:33:05  * sankhajoined
06:33:14  * nilsiquit (Ping timeout: 260 seconds)
06:33:14  * systemsgotyouquit (Read error: Connection reset by peer)
06:33:34  * cam_yquit (Remote host closed the connection)
06:33:43  * one_zeroquit
06:34:27  * yosuke_furukawaquit (Remote host closed the connection)
06:34:35  * duriangrayjoined
06:35:05  * yosuke_furukawajoined
06:35:07  * Mamutquit (Quit: I cna ytpe 300 wrods pre mniuet!!!)
06:35:18  * redoPopjoined
06:35:34  * cerebro_quit (Ping timeout: 240 seconds)
06:35:44  * Booster2ooojoined
06:35:54  * enoexquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
06:36:09  * DevBoxquit (Ping timeout: 260 seconds)
06:36:11  * wsierociquit (Remote host closed the connection)
06:36:19  * enoexjoined
06:36:22  * yosuke_furukawaquit (Remote host closed the connection)
06:37:01  * leehambleyjoined
06:38:13  * veggie_quit (Quit: WeeChat 1.4)
06:39:10  * one_zerojoined
06:39:29  * cam_yjoined
06:40:27  * redoPopquit (Ping timeout: 260 seconds)
06:40:31  * panpainterquit (Remote host closed the connection)
06:41:02  * panpainterjoined
06:43:19  * ahmed_elgabrijoined
06:43:29  * kiran_joined
06:44:56  * nnykjoined
06:45:09  * kuldeepjoined
06:45:10  * yosuke_furukawajoined
06:45:26  * sp1rsjoined
06:45:40  * thinkdogejoined
06:45:44  * BigBangUDRjoined
06:46:04  * ahmedelgabriquit (Ping timeout: 260 seconds)
06:46:23  * ceaucariquit (Quit: My Mac has gone to sleep. ZZZzzz…)
06:46:47  * Coldblackicejoined
06:47:59  * nilsi_quit (Remote host closed the connection)
06:48:36  * nilsijoined
06:48:50  * tfennellyjoined
06:50:15  * sankhaquit (Remote host closed the connection)
06:50:31  * sankhajoined
06:50:33  * ffffoundjoined
06:51:18  * kgoldingjoined
06:52:40  * iGenijoined
06:52:55  * wsierocijoined
06:53:04  * tfennellyquit (Ping timeout: 252 seconds)
06:53:09  * wsierociquit (Remote host closed the connection)
06:53:35  * nilsiquit (Ping timeout: 265 seconds)
06:54:29  * iGeniquit (Read error: Connection reset by peer)
06:54:33  * r0r0joined
06:55:29  * sankhaquit (Remote host closed the connection)
06:55:59  * r0r0haquit (Ping timeout: 260 seconds)
06:56:40  * iGenijoined
06:58:09  * sankhajoined
06:58:56  * Rajujoined
06:59:56  * nnyk_joined
07:00:38  * bronsonjoined
07:00:54  * r0r0hajoined
07:01:02  * Mamutjoined
07:01:42  * cocoadaemonjoined
07:02:27  * mmmveggiesjoined
07:02:48  * nnykquit (Ping timeout: 276 seconds)
07:02:58  * r0r0quit (Ping timeout: 252 seconds)
07:03:47  * mjw56joined
07:03:53  * cam_yquit (Remote host closed the connection)
07:04:33  * nnyk_quit (Ping timeout: 240 seconds)
07:04:34  * danielemmjoined
07:05:10  * bronsonquit (Ping timeout: 252 seconds)
07:05:23  * Rajuquit (Quit: Page closed)
07:05:32  * tejasvaquit (Remote host closed the connection)
07:05:43  * spronkquit (Quit: I may need a longer sleep timer...)
07:06:03  * tfennellyjoined
07:06:03  * kiran_quit (Ping timeout: 240 seconds)
07:06:59  * jeff_hjoined
07:07:13  * djmaxjoined
07:07:15  * mmmveggiesquit (Ping timeout: 250 seconds)
07:08:29  * danielemmquit (Client Quit)
07:09:51  * mjw56quit (Ping timeout: 250 seconds)
07:10:16  * thefourtheye___quit (Quit: Connection closed for inactivity)
07:10:24  * BeerLoverjoined
07:10:45  * jeff_hquit (Quit: Be back later ...)
07:11:44  <BeerLover>Guys, can someone help me with the flow of this piece of code? https://dpaste.de/jFdE
07:11:53  * Cohedrinquit (Quit: My Mac has gone to sleep. ZZZzzz…)
07:12:05  * djmaxquit (Ping timeout: 276 seconds)
07:12:19  * dopesongjoined
07:12:29  * Palssonquit (Quit: My Mac has gone to sleep. ZZZzzz…)
07:13:17  * vincentcrjoined
07:13:31  * terminal_quit (Quit: My Mac has gone to sleep. ZZZzzz…)
07:14:50  * shouvikjoined
07:15:14  * Donald-Trumpquit (Ping timeout: 260 seconds)
07:15:23  * tejasvajoined
07:16:07  * jannehjoined
07:16:49  * shrikrishnajoined
07:16:55  * GreenDogquit (Remote host closed the connection)
07:17:23  * scippiojoined
07:17:35  <Booster2ooo>BeerLover, you should probably use Promises in order to gain some maintainability/readability
07:17:36  * jeffreylevesquequit (Read error: Connection reset by peer)
07:17:46  * Karasujoined
07:18:03  * vincentcrquit (Ping timeout: 244 seconds)
07:18:26  * ffffoundquit (Quit: leaving)
07:18:38  <BeerLover>Booster2ooo: I wish I could. This code was written by external people.... and now I have to take over it.
07:19:00  <BeerLover>I have 1-1.5 months of experience in node
07:19:01  * dan2k3k4joined
07:19:05  * Ravenquit (Ping timeout: 244 seconds)
07:19:11  * danielemmjoined
07:20:12  * steven10172joined
07:20:15  * jannehquit (Ping timeout: 250 seconds)
07:20:21  * steven10172quit (Remote host closed the connection)
07:20:52  * steven10172joined
07:21:12  * enoexquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
07:21:55  * ixaxaarjoined
07:22:25  * glebihanquit (Ping timeout: 250 seconds)
07:22:30  * kiran_joined
07:23:05  <Booster2ooo>BeerLover so what do you need help for with this peice of code?
07:23:32  * kawa2014joined
07:23:56  * jjidojoined
07:23:58  * krish203quit (Quit: Leaving.)
07:24:32  * dan2k3k4quit (Read error: Connection reset by peer)
07:25:00  * MrSnappingTurtlequit (Ping timeout: 265 seconds)
07:25:05  * glebihanjoined
07:25:11  * asteelequit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
07:26:32  * BeerLoverquit (Ping timeout: 260 seconds)
07:26:41  * glebihanquit (Max SendQ exceeded)
07:26:43  * panpainterquit (Remote host closed the connection)
07:26:49  * panpainterjoined
07:27:02  * khushildepquit (Ping timeout: 276 seconds)
07:28:18  * spronkjoined
07:28:25  * TyrfingMjolnirjoined
07:29:10  * andrew9184quit (Quit: andrew9184)
07:29:28  * enoexjoined
07:29:56  * voyceyquit (Ping timeout: 244 seconds)
07:29:57  * enoexquit (Client Quit)
07:30:10  * K4Tjoined
07:31:46  * craftbynickquit (Ping timeout: 265 seconds)
07:33:55  * lyuhajoined
07:34:29  * weemsledeuxquit (Quit: My Mac has gone to sleep. ZZZzzz…)
07:34:43  * msafijoined
07:35:30  * tejasvaquit (Remote host closed the connection)
07:35:33  * mbwequit (Ping timeout: 240 seconds)
07:35:57  * redoPopjoined
07:36:19  * Ergojoined
07:36:26  * leehambleyquit (Quit: My Mac has gone to sleep. ZZZzzz…)
07:36:33  * panpainterquit (Remote host closed the connection)
07:37:04  * panpainterjoined
07:37:34  * sp1rsquit (Remote host closed the connection)
07:38:26  * khushildepjoined
07:38:55  * rolandnsharpquit (Remote host closed the connection)
07:39:09  * msafiquit (Ping timeout: 260 seconds)
07:39:09  * rolandnsharpjoined
07:39:58  * jasnelljoined
07:41:15  * tejasvajoined
07:41:20  * redoPopquit (Ping timeout: 276 seconds)
07:42:55  * jjidoquit (Remote host closed the connection)
07:43:26  * SwiftMattjoined
07:43:56  * uber-hulkquit (Ping timeout: 276 seconds)
07:45:26  * tejasvaquit (Ping timeout: 244 seconds)
07:45:34  * rendarjoined
07:45:47  * jasnellquit (Ping timeout: 260 seconds)
07:47:48  * sobersabrejoined
07:48:53  * dopesongquit (Remote host closed the connection)
07:49:18  * BeerLoverjoined
07:51:18  * momoterrawjoined
07:52:15  * nnyk_joined
07:52:24  * _MysTjoined
07:52:28  * Dark_Aaronquit (Ping timeout: 252 seconds)
07:52:33  * BigBangUDRquit (Quit: BigBangUDR)
07:52:35  * Donald-Trumpjoined
07:54:18  * raoulzecatjoined
07:55:20  * dan2k3k4joined
07:55:33  * momoterrawquit (Ping timeout: 240 seconds)
07:57:20  * dan2k3k4quit (Read error: Connection reset by peer)
07:57:44  * dan2k3k4joined
07:58:11  * wsierocijoined
07:58:25  * wrainboltjoined
07:59:06  * dan2k3k4quit (Client Quit)
07:59:14  * djmaxjoined
08:00:34  * txmjoined
08:01:03  * magicantlerjoined
08:01:12  * bongjovijoined
08:01:28  * Tragedyjoined
08:03:24  * mmmveggiesjoined
08:03:49  * Adriannomquit (Remote host closed the connection)
08:03:57  <BeerLover>I am getting this error while reverse geocoding: https://dpaste.de/eP7v
08:03:58  * BaneAliensquit (Quit: Connection closed for inactivity)
08:04:06  <BeerLover>What does it mean??
08:04:38  * tubuliferousquit (Ping timeout: 265 seconds)
08:05:00  * userx_quit (Quit: My Mac has gone to sleep. ZZZzzz…)
08:05:15  * Tragedyquit (Read error: Connection reset by peer)
08:05:25  * rmgquit (Remote host closed the connection)
08:05:35  * feesjoined
08:05:40  * lachenmayerquit (Quit: ZNC - http://znc.in)
08:05:51  * magicantlerquit (Ping timeout: 276 seconds)
08:05:55  * mjw56joined
08:05:58  * txmquit (Quit: txm)
08:05:59  * rmgjoined
08:06:07  * jr3joined
08:06:18  * dopesongjoined
08:06:19  * ge3koffjoined
08:07:22  * txmjoined
08:07:26  * lisposterquit (Read error: Connection timed out)
08:07:45  * dopesong_joined
08:08:30  * mmmveggiesquit (Ping timeout: 265 seconds)
08:08:51  * davijoined
08:08:53  * daviquit (Changing host)
08:08:53  * davijoined
08:09:03  <Booster2ooo>BeerLover > lng,lat --> lat,lng
08:09:14  <BeerLover>where?
08:09:45  <ge3koff>Ahoy Peeps
08:09:46  <Booster2ooo>here I guess -> utils.reverseGeocode(
08:10:00  * earendeljoined
08:10:01  <ge3koff>res.json(docs);
08:10:04  * djmaxquit (Ping timeout: 250 seconds)
08:10:08  <ge3koff>how to parse this shit to
08:10:14  <ge3koff>lists
08:10:31  <BeerLover>i defined utils.reverseGeocode(lng, lat)
08:10:37  <BeerLover>it is geocoding
08:10:37  * rmgquit (Ping timeout: 252 seconds)
08:10:39  * mjw56quit (Ping timeout: 260 seconds)
08:10:47  <BeerLover>i am getting the geocoded object
08:10:56  <BeerLover>but it doesn't save it i guess
08:11:02  <BeerLover>Shall i share the code?
08:11:14  * dopesongquit (Ping timeout: 260 seconds)
08:11:53  * xallquit (Read error: Connection reset by peer)
08:11:59  <ge3koff>res.json(docs); ---> i get the json data ----> doubt is how to display in list view ?
08:12:17  <ge3koff>anyone please help
08:12:23  <ge3koff>i tried many ways
08:12:24  * dopesong_quit (Ping timeout: 260 seconds)
08:12:25  <Booster2ooo>BeerLover, it's better I think
08:12:57  * txmquit (Quit: txm)
08:12:58  <Booster2ooo>ge3koff > JSON.parse ?
08:13:14  <BeerLover>Booster2ooo: https://dpaste.de/27Hh
08:13:26  <BeerLover>here's the API for checkInUserLocation
08:13:28  <ge3koff>yea json.parse but its returning only last element
08:13:42  <Booster2ooo>BeerLover, what's the code of utils.reverseGeocode ?
08:13:59  <BeerLover>okay
08:14:11  * xalljoined
08:14:29  <ge3koff>res.json(docs); ---> i get the json data ----> doubt is how to display in list view ?
08:14:30  * joshonthewebjoined
08:14:33  <BeerLover>utils.reverseGeocode: https://dpaste.de/YLGj
08:14:38  * spronkquit (Quit: I may need a longer sleep timer...)
08:14:41  <BeerLover>Booster2ooo: ^
08:15:14  <ge3koff>res.json(docs); ---> i get the json data ----> doubt is how to display in list view ?
08:15:31  * oxhakjoined
08:15:32  <netameta>ge3koff, Stio spamming
08:15:51  <netameta>You've posted your question if somone feel like answering they will
08:16:02  <netameta>Dont post it over and over,
08:16:42  * Tragedyjoined
08:16:54  * Karasuquit (Ping timeout: 276 seconds)
08:16:56  <ge3koff>i dint spam anywhere buddy i think you re frustrated as hell
08:17:05  * raoulzecatquit (Ping timeout: 276 seconds)
08:17:28  <netameta>ge3koff, You've spammed your question about 3-4 time in the past 5 minutes
08:17:31  <Booster2ooo>BeerLover any idea where the "Can't extract geo keys from object, malformed geometry?" string comes from ?
08:17:32  * serard__joined
08:17:51  <Booster2ooo>netameta: don't waste your time :)
08:17:55  * m1911joined
08:18:00  <netameta>4:12,4:14, 4:15
08:18:19  <BeerLover>Booster2ooo: I googled it, it's related to mongodb
08:18:29  <BeerLover>should i share the location and user schema also?
08:18:30  * djmaxjoined
08:18:39  * drptbljoined
08:18:52  * steven10172quit (Quit: Leaving)
08:18:55  * al1oquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
08:19:01  * solf1rejoined
08:19:10  <ge3koff>@netameta go get some job ,we have no use of you here
08:19:24  * al1ojoined
08:19:31  * al1oquit (Client Quit)
08:19:38  * panpainterquit (Remote host closed the connection)
08:19:45  * panpainterjoined
08:19:45  * BigBangUDRjoined
08:19:52  * al1ojoined
08:19:57  <netameta>ge3koff, Do you have a job for me ?
08:19:59  * al1oquit (Client Quit)
08:20:14  * debian_joined
08:20:15  * calamityjoined
08:20:19  <ge3koff>Yea , watch vampire diaries :P
08:20:31  * Karasujoined
08:20:33  * serard_quit (Ping timeout: 240 seconds)
08:20:36  * JohnNotRippedjoined
08:20:40  <JohnNotRipped>hey
08:21:01  <calamity>currently I have an sql directory inside my routes directory. This doesn't seem like the more logical place for it. any thoughts?
08:21:29  * Jellyg00sejoined
08:22:03  * daviquit (Ping timeout: 240 seconds)
08:22:19  <ge3koff>res.json(docs); ---> i get the json data ----> doubt is how to display in list view in JS ? P.S : I TRIED LoopAfter but returning only last element
08:22:22  <BeerLover>Booster2ooo: https://dpaste.de/FYY8
08:22:24  <BeerLover>Schema
08:22:37  * pol123456joined
08:22:58  <robdrake>the question spam comment was relevant from netameta
08:23:03  * dodobrainjoined
08:23:04  * djmaxquit (Ping timeout: 250 seconds)
08:23:29  * tvwquit (Ping timeout: 260 seconds)
08:23:35  * shrikrishnaquit (Ping timeout: 276 seconds)
08:23:40  <robdrake>and hello all
08:23:53  <BeerLover>hello
08:24:13  <BeerLover>I need some help.... I have posted my problem above with relevant links
08:24:13  * solf1requit (Read error: Connection reset by peer)
08:24:30  <BeerLover>If you can help, it'd be appreciated
08:24:38  * solf1rejoined
08:24:58  * shrikrishnajoined
08:25:07  <robdrake><-- very much a newb
08:25:16  * wrainboltquit (Quit: leaving)
08:25:16  * ge3koffquit (Quit: Page closed)
08:25:31  <BeerLover>robdrake: good to know that there are others like me
08:25:36  <BeerLover>:P
08:25:46  <robdrake>I mostly do IRC bots with node.js
08:25:54  <robdrake>no webapps yet
08:26:40  <robdrake>I don't have the mental block with javascript that I do with TCL, TCL is needed for eggdrops
08:26:48  * tubuliferousjoined
08:26:59  * mscdexquit (Ping timeout: 260 seconds)
08:27:21  * harryhquit (Quit: My Mac has gone to sleep. ZZZzzz…)
08:27:42  <Booster2ooo>BeerLover, are you sure the coordinates in mongoDB are lng,lat ?
08:27:55  <BeerLover>i am not sure
08:27:59  * tvwjoined
08:28:01  <netameta>beerlover
08:28:06  <netameta>please repeat your question
08:28:06  * txmjoined
08:29:10  * lhdcjoined
08:29:29  * panpainterquit (Remote host closed the connection)
08:30:00  * panpainterjoined
08:30:20  * _SLM_joined
08:30:45  * node0js925joined
08:30:57  * solf1requit (Quit: Leaving)
08:31:15  * solf1rejoined
08:31:26  <_SLM_>Am I correct in thinking https://github.com/node-nock/nock is actually a Fake HTTP not a mocked HTTP?
08:31:31  * tubuliferousquit (Ping timeout: 252 seconds)
08:31:43  * voanhcuocjoined
08:31:55  * node0js925quit (Client Quit)
08:33:05  * solf1requit (Client Quit)
08:33:41  * solf1rejoined
08:34:11  * maestrojedquit (Quit: My Mac has gone to sleep. ZZZzzz…)
08:34:34  * Arguequit (Ping timeout: 260 seconds)
08:34:59  * solf1requit (Client Quit)
08:35:26  * solf1rejoined
08:35:29  * glebihanjoined
08:35:33  * joshonthewebquit (Ping timeout: 244 seconds)
08:36:08  * solf1requit (Client Quit)
08:36:16  * voanhcuocquit (Quit: voanhcuoc)
08:36:19  * Donald-Trumpquit (Ping timeout: 260 seconds)
08:36:24  * Coldblackicequit (Ping timeout: 276 seconds)
08:36:26  * solf1rejoined
08:37:05  * redoPopjoined
08:38:15  * drptbl_joined
08:38:59  * inflamesjoined
08:39:11  * cwekjoined
08:39:57  * jjidojoined
08:40:29  * shouvikquit (Ping timeout: 276 seconds)
08:40:53  * mscdexjoined
08:41:03  * drptblquit (Ping timeout: 240 seconds)
08:41:22  * wrainboltjoined
08:41:24  * xallquit (Read error: Connection reset by peer)
08:41:47  * redoPopquit (Ping timeout: 276 seconds)
08:41:49  * xalljoined
08:41:57  <BeerLover>found the problem
08:42:01  <BeerLover>never mind
08:42:16  * sankhaquit (Remote host closed the connection)
08:42:19  * BigBangUDRquit (Quit: BigBangUDR)
08:43:50  * txmquit (Quit: txm)
08:43:52  * d4rklit3quit (Quit: My Mac has gone to sleep. ZZZzzz…)
08:44:18  <Booster2ooo>BeerLover, what was it ?
08:44:23  * cwekquit (Ping timeout: 276 seconds)
08:44:42  * thinkdogequit (Ping timeout: 246 seconds)
08:44:50  * djmaxjoined
08:45:03  * txmjoined
08:45:25  * duriangrayquit (Remote host closed the connection)
08:45:37  * quattro_joined
08:45:58  * duriangrayjoined
08:47:03  * jjidoquit (Remote host closed the connection)
08:47:08  * yosuke_furukawaquit (Remote host closed the connection)
08:47:50  * craftbynickjoined
08:48:10  * raoulzecatjoined
08:49:04  * djmaxquit (Ping timeout: 250 seconds)
08:50:16  * plutoniixquit (Quit: จรลี จรลา)
08:50:26  * k3rryjoined
08:52:08  * sankhajoined
08:53:27  * Sharaalquit (Quit: Leaving.)
08:53:49  * sankhaquit (Remote host closed the connection)
08:54:01  * odyniec_joined
08:55:22  * sankhajoined
08:55:25  * jjidojoined
08:55:47  * raoulzecatquit (Ping timeout: 260 seconds)
08:56:01  * odyniec__quit (Ping timeout: 250 seconds)
08:56:32  * stelarcfjoined
08:56:52  * tejasvajoined
08:57:09  * RobinMjoined
08:57:52  * joshonthewebjoined
08:58:14  * SwiftMattquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
08:58:21  * shrikrishnaquit (Ping timeout: 246 seconds)
08:58:48  * RobinMquit (Client Quit)
08:59:15  * shrikrishnajoined
09:00:00  * lemonsparrowjoined
09:01:56  * txmquit (Quit: txm)
09:02:27  * bronsonjoined
09:02:28  * plutoniixjoined
09:02:35  * kgoldingquit (Ping timeout: 276 seconds)
09:03:25  <BeerLover>Booster2ooo: nothing related to anything we've been discussing
09:03:29  * one_zeroquit
09:03:50  * txmjoined
09:04:19  * mmmveggiesjoined
09:05:10  * RobinMjoined
09:05:10  * calamityquit (Quit: Leaving)
09:05:52  * jjidoquit (Remote host closed the connection)
09:06:01  * davijoined
09:06:03  * kiran_quit (Ping timeout: 246 seconds)
09:06:30  * rmgjoined
09:06:32  * mjw56joined
09:07:16  * bronsonquit (Ping timeout: 252 seconds)
09:07:26  * sankhaquit (Remote host closed the connection)
09:07:48  * kgoldingjoined
09:08:49  * KevinLojoined
09:08:59  * T-2000quit (Quit: Leaving)
09:09:07  * lemonsparrowquit (Quit: Page closed)
09:09:28  * mmmveggiesquit (Ping timeout: 252 seconds)
09:09:44  * KevinLoquit (Client Quit)
09:09:48  * abernixjoined
09:10:24  * uber-hulkjoined
09:10:35  * Venemojoined
09:11:20  * rmgquit (Ping timeout: 265 seconds)
09:11:22  * xallquit (Read error: Connection reset by peer)
09:11:23  * txmquit (Quit: txm)
09:11:30  * mjw56quit (Ping timeout: 276 seconds)
09:11:46  * xalljoined
09:11:47  * djmaxjoined
09:11:57  * ahmedelgabrijoined
09:12:10  * panpainterquit (Remote host closed the connection)
09:12:17  * panpainterjoined
09:13:04  * arkinjoined
09:13:23  * arkinquit (Client Quit)
09:14:05  * vincentcrjoined
09:14:27  * jjidojoined
09:14:35  * userxjoined
09:14:45  * ahmed_elgabriquit (Ping timeout: 276 seconds)
09:15:03  * txmjoined
09:15:03  * txmquit (Client Quit)
09:15:12  * Sorellaquit (Quit: Connection closed for inactivity)
09:15:34  * FooMunkijoined
09:16:23  * djmaxquit (Ping timeout: 250 seconds)
09:17:03  <BeerLover>guys I'm getting this error while sending push notifications: https://dpaste.de/0xW9
09:17:25  * jannehjoined
09:17:32  * shrikrishnaquit (Ping timeout: 276 seconds)
09:18:26  * vincentcrquit (Ping timeout: 244 seconds)
09:20:47  * GEEGEEGEE2quit (Quit: join #brit)
09:21:01  * dongustonjoined
09:21:01  * cwekjoined
09:21:01  * m1911quit (Remote host closed the connection)
09:21:26  * _SLM_quit (Quit: Leaving)
09:21:35  * RobinMquit (Quit: RobinM)
09:21:51  <Booster2ooo>BeerLover, what's the code @ at /home/abhyuditjain/Leaf/leafwearables-dev/routes/location.js:153:46 and @ /home/abhyuditjain/Leaf/leafwearables-dev/lib/pushNotifier.js:35:13 ?
09:22:00  * panpainterquit (Remote host closed the connection)
09:22:01  * jannehquit (Ping timeout: 250 seconds)
09:22:28  * kiran_joined
09:22:31  * panpainterjoined
09:22:37  * staticshockquit (Ping timeout: 260 seconds)
09:23:17  * SuperHansjoined
09:23:46  <BeerLover>pushNotifier: https://dpaste.de/Xo3Q#L12
09:23:57  <BeerLover>location: https://dpaste.de/o7vq#L80
09:24:00  * kgolding_joined
09:24:06  <BeerLover>Booster2ooo: I marked the lines also
09:24:19  * jjidoquit (Remote host closed the connection)
09:24:44  * ahmedelgabriquit (Ping timeout: 260 seconds)
09:24:44  * RobinMjoined
09:24:47  * max_datajoined
09:27:09  * liamonadejoined
09:27:17  * kgoldingquit (Ping timeout: 260 seconds)
09:27:23  <Booster2ooo>BeerLover, @L78 (location), gardians aren't supposed to be an ids array instead of array of objects?
09:27:38  * arkinjoined
09:27:40  * shouvikjoined
09:28:15  * sobersabrequit (Ping timeout: 244 seconds)
09:28:35  <Booster2ooo>What happens if you try pushNotifier.sendMultiple(guardians.map(function(guardian) { return guardian.id; }), data, function(err) {
09:29:18  * kantsjoined
09:29:21  * sobersabrejoined
09:29:46  * kgoldingjoined
09:30:49  * oxhakquit (Remote host closed the connection)
09:31:03  * oxhakjoined
09:31:28  * RobinMquit (Quit: RobinM)
09:31:41  * Drojoined
09:31:58  * dunpealjoined
09:31:58  * jeff_hjoined
09:32:09  <BeerLover>it works without any changes on production
09:32:20  <BeerLover>Booster2ooo: It's and array of ids
09:33:08  * userxquit (Ping timeout: 276 seconds)
09:33:17  * kgolding_quit (Ping timeout: 250 seconds)
09:34:28  <Booster2ooo>Ok BeerLover
09:35:06  * oxhakquit (Ping timeout: 246 seconds)
09:35:07  * Booster2oooquit (Read error: Connection reset by peer)
09:35:21  * Booster2ooojoined
09:35:26  * msafijoined
09:36:22  * oxhakjoined
09:37:44  * spronkjoined
09:37:50  * sankhajoined
09:37:55  * redoPopjoined
09:39:08  <BeerLover>Booster2ooo: need any other code?
09:39:53  * soeequit (Quit: Konversation terminated!)
09:40:49  * msafiquit (Ping timeout: 252 seconds)
09:41:16  * soeejoined
09:41:17  * danjenkinsjoined
09:41:45  * pimlujoined
09:42:45  * redoPopquit (Ping timeout: 265 seconds)
09:43:52  * SuperHansquit (Remote host closed the connection)
09:45:08  <Booster2ooo>BeerLover > I donno, from what I understood of the error, "you" are trying to cast an object (instead of a string?) into an ID object
09:45:21  <Booster2ooo>so you have to find out where it comes from...
09:45:25  <Booster2ooo>I guess
09:45:53  * kgolding_joined
09:47:29  * shrikrishnajoined
09:47:46  * dopesongjoined
09:48:11  * Sendoushijoined
09:48:21  * Sharaaljoined
09:49:18  * kgoldingquit (Ping timeout: 250 seconds)
09:49:27  * glebihanquit (Ping timeout: 246 seconds)
09:50:01  * karmahac_joined
09:50:13  * dopesong_joined
09:50:23  * dan2k3k4joined
09:50:52  * ahmedelgabrijoined
09:51:11  * wtrockijoined
09:52:01  * Liam`quit (Quit: http://bouncer.ml)
09:52:01  * nnnn20430quit (Quit: Free IRC Bouncers - https://links.ml/a050)
09:52:14  * momoterrawjoined
09:52:19  * heyimwilljoined
09:52:47  * dopesongquit (Ping timeout: 250 seconds)
09:52:57  * karmahackerquit (Ping timeout: 260 seconds)
09:53:19  * kerozenequit (Ping timeout: 260 seconds)
09:53:34  * Karasuquit (Ping timeout: 244 seconds)
09:53:54  * shrikrishnaquit (Ping timeout: 260 seconds)
09:54:04  * Karasujoined
09:54:06  * nettowebjoined
09:54:40  * dan2k3k4quit (Client Quit)
09:56:23  * tejasvaquit (Remote host closed the connection)
09:56:40  * momoterrawquit (Ping timeout: 244 seconds)
09:57:17  * tejasvajoined
09:57:24  * glebihanjoined
09:57:56  * djmaxjoined
09:58:19  * killtheliteratejoined
09:59:36  * daviquit (Ping timeout: 276 seconds)
10:01:58  * kerozenejoined
10:02:18  * djmaxquit (Ping timeout: 250 seconds)
10:02:49  * lachenmayerjoined
10:03:14  * oxhakquit (Quit: leaving)
10:03:33  * bronsonjoined
10:03:44  * magicantlerjoined
10:04:07  * Nanthaajoined
10:05:15  * mmmveggiesjoined
10:05:19  * RobinMjoined
10:06:17  * glebihanquit (Ping timeout: 276 seconds)
10:06:45  * quakephiljoined
10:07:21  * mjw56joined
10:07:31  * phorloopjoined
10:07:44  * glebihanjoined
10:07:46  * bronsonquit (Ping timeout: 252 seconds)
10:07:48  * zwaragjoined
10:08:16  * panpainterquit (Remote host closed the connection)
10:08:22  * panpainterjoined
10:08:28  * MrP[Home]joined
10:09:04  * magicantlerquit (Ping timeout: 244 seconds)
10:09:28  * Nanthaaquit (Ping timeout: 250 seconds)
10:09:31  * sabram_joined
10:10:02  * sabramquit (Read error: Connection reset by peer)
10:10:17  * kripodjoined
10:10:24  * sabram_quit (Read error: Connection reset by peer)
10:10:25  * nettowebquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
10:10:31  * mmmveggiesquit (Ping timeout: 252 seconds)
10:10:35  * sabramjoined
10:10:52  * fyutylejoined
10:10:55  <Sendoushi>anyone knows a good project manager in javascript/php alternative to redmine? Tired of ruby...
10:11:36  <BeerLover>Booster2ooo: issue resolved
10:12:14  * mjw56quit (Ping timeout: 265 seconds)
10:12:52  * gliquit (Quit: Leaving)
10:13:29  * scippioquit (Quit: Leaving.)
10:13:52  * neriumjoined
10:14:39  * kingarmadilloquit (Ping timeout: 246 seconds)
10:15:01  * wtrockiquit (Quit: Sleeping.)
10:15:42  * shouvikquit (Ping timeout: 260 seconds)
10:16:10  * spronkquit (Quit: I may need a longer sleep timer...)
10:16:36  * SuperHansjoined
10:18:06  * panpainterquit (Remote host closed the connection)
10:18:26  * Liam`joined
10:18:37  * panpainterjoined
10:20:00  * ed209quit (Remote host closed the connection)
10:20:07  * ed209joined
10:20:21  * nnnn20430joined
10:20:29  * dopesong_quit (Remote host closed the connection)
10:22:35  <robdrake>Sendoushi: just a quick google found http://www.libreplan.com/features/
10:22:48  * Boredquit
10:23:26  <Sendoushi>robdrake: i wouldnt use that. i also found others but none that matter
10:24:06  * glebihanquit (Ping timeout: 246 seconds)
10:24:42  * dopesongjoined
10:25:16  * nilsijoined
10:25:19  * SuperHansquit (Remote host closed the connection)
10:25:58  * thealphanerdquit (Quit: farewell for now)
10:26:04  * lemonsaprrowjoined
10:26:28  * thealphanerdjoined
10:26:29  * glebihanjoined
10:26:40  * lemonsaprrowpart
10:26:52  * davijoined
10:26:53  * daviquit (Changing host)
10:26:53  * davijoined
10:27:35  * ThePendulumjoined
10:27:38  * RobinMquit (Quit: RobinM)
10:28:50  * stelarcfquit (Quit: stelarcf)
10:28:54  * uber-hulkquit (Ping timeout: 260 seconds)
10:29:29  * dopesongquit (Ping timeout: 260 seconds)
10:29:52  * dami0joined
10:30:04  * nilsiquit (Ping timeout: 260 seconds)
10:31:02  <inflames>any of you guys using imagemagick? https://imagetragick.com/
10:31:24  <dami0>hey, does node.js have something similar to sh's $0?
10:31:30  * wsierociquit (Remote host closed the connection)
10:31:39  * djmaxjoined
10:32:03  <dami0>i have a script that calls a shell script, but when i use it from another script, node's current directory is not where the script is so it fails to find it
10:33:21  * bgeorgesquit
10:33:24  <GreenJello>dami0, process.argv
10:36:04  * shrikrishnajoined
10:36:50  * djmaxquit (Ping timeout: 276 seconds)
10:37:49  <dami0>thanks. it's the same when printed from both scripts though :(
10:38:23  * redoPopjoined
10:38:29  * dopesongjoined
10:38:51  * kripodquit (Read error: Connection reset by peer)
10:40:33  * shrikrishnaquit (Ping timeout: 240 seconds)
10:41:09  * thefourtheye___joined
10:41:47  * gamelasterjoined
10:42:54  * dopesongquit (Ping timeout: 260 seconds)
10:42:54  * redoPopquit (Ping timeout: 260 seconds)
10:43:06  * walterheckquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
10:43:43  <gamelaster>Hello, I want ask about "pointers". For sample, I have class Player with Inventory variable. Now I make all inventories as "inventories[player] = player.inventory;". So I want to ask, when I do some changes in inventories[player], its will change too in the player.inventory? Thanks
10:45:11  * dopesongjoined
10:45:14  * tiwestquit (Ping timeout: 244 seconds)
10:45:44  * inflamesquit (Read error: Connection reset by peer)
10:47:23  * inflamesjoined
10:47:29  * nilsi_joined
10:47:41  * BulleTTimejoined
10:47:49  * glebihanquit (Ping timeout: 250 seconds)
10:49:08  * pimluquit (Quit: Leaving)
10:49:18  * SuperHansjoined
10:49:33  * dopesongquit (Ping timeout: 250 seconds)
10:51:34  <joepie91>gamelaster: yes, in some scenarios it will. however, this is simply because you'd be modifying object properties, not because it's a 'pointer' of any kind - and I'd generally not recommend relying on this, as it's tricky to get right
10:51:51  <joepie91>and usually indicates a problem with your architecture anyway
10:52:08  <joepie91>(eg. you're trying to modify global-ish state from two places, when you should instead make one invoke the other)
10:52:39  * glebihanjoined
10:52:41  * kingarmadillojoined
10:54:39  * Sendoushiquit
10:55:24  * jeff_hquit (Quit: Be back later ...)
10:55:58  <hipsterslapfight>(or not have any global state)
10:56:05  * daviquit (Ping timeout: 244 seconds)
10:56:15  * ixaxaarquit (Read error: Connection reset by peer)
10:56:54  <gamelaster>joepie91: ah, hmm, well Im little newbie to this, for now its enought it will works. Thanks
10:57:21  * Booster2oooquit (Remote host closed the connection)
10:57:37  <joepie91>gamelaster: I recommend taking this as a cue to learn more ;)
10:57:59  * ToApolytoXaosjoined
10:58:22  * danielemmquit (Quit: My Mac has gone to sleep. ZZZzzz…)
10:58:30  <gamelaster>joepie91: well, but I didnt get any better idea how to do this
10:59:05  <dunpeal>joepie91: GreenJello said you may have written a Promise-based queue
10:59:17  <joepie91>gamelaster: well, if you ask more of a question on what part is unclear to you, or even show some code, I may be able to explain more :P
10:59:19  <joepie91>dunpeal: correct
10:59:20  * glebihanquit (Read error: Connection reset by peer)
10:59:32  <dunpeal>joepie91: is it production ready? linky? :>
10:59:35  <joepie91>dunpeal: https://www.npmjs.com/package/promise-task-queue
10:59:37  <joepie91>dunpeal: should be, yeah
10:59:38  * jKaideNjoined
10:59:41  <dunpeal>Thanks.
10:59:49  * lordjancsojoined
11:00:17  * lordjancsoquit (Quit: Leaving)
11:00:20  * ecuanasojoined
11:00:31  * jeff_hjoined
11:00:48  <jKaideN>Hey guys is it possible to nest request inside a request? I'm trying to request multiple sites, grab a URL and request the grabbed URL
11:00:53  * lordjancsojoined
11:00:57  <lordjancso>hi
11:01:11  <lordjancso>how can i change the default placement of node_modules directory?
11:01:14  <joepie91>jKaideN: yes, but promises will make this easier
11:01:18  * SuperHansquit (Remote host closed the connection)
11:01:20  <substack>lordjancso: not possible
11:01:21  <joepie91>lordjancso: you can't and shouldn't
11:01:27  <lordjancso>why not?
11:01:31  * glebihanjoined
11:01:46  <joepie91>because everything expects it to be in a certain place and the entire dependency system relies on it
11:02:02  <joepie91>jKaideN: https://gist.github.com/joepie91/4c125c45ee6c5ea0375f
11:02:07  <hipsterslapfight>where would you put it anyway lordjancso?
11:02:13  <joepie91>jKaideN: example of more or less what you want, with bhttp + Bluebird (for promises)
11:02:17  <lordjancso>yeah but i want to download my dependencies (jquery, bootstrap, etc) into my public web directory
11:02:31  <joepie91>jKaideN: except it downloads -multiple- URLs from an initially requested list
11:02:50  <hipsterslapfight>no you don't lordjancso
11:02:50  <joepie91>lordjancso: you should probably be using webpack for jquery stuff, but you can always just copy over certain files in a build setup
11:02:52  <joepie91>from node_modules
11:02:54  <joepie91>if need be
11:02:59  <joepie91>eg. css stuff
11:03:01  <jKaideN>joepie91: I see i'll have a look into it now.
11:03:04  * walterheckjoined
11:03:12  <hipsterslapfight>something like jquery you can just `require()`
11:03:18  * cagedwisdomquit (Remote host closed the connection)
11:03:22  <joepie91>jKaideN: mind that the .map is something that only applies if you want to grab multiple things
11:03:23  <hipsterslapfight>bootstrap it depends on the css, but you can either copy it across or use webpack
11:03:25  <joepie91>in this case
11:03:28  <joepie91>!functional @ jKaideN
11:03:28  <ecmabot>jKaideN: An introduction to map/filter/reduce in JS, a subset of functional programming: http://cryto.net/~joepie91/blog/2015/05/04/functional-programming-in-javascript-map-filter-reduce/
11:03:52  * earendelquit (Ping timeout: 252 seconds)
11:04:08  <lordjancso>joepie91 yeah but its really uncomfortable during development to copy every dependencies from node_modules to my public web dir
11:04:20  <joepie91>lordjancso: hence why you make it a part of your build routine...
11:04:23  * plutoniixquit (Read error: Connection reset by peer)
11:04:45  * GustavoLapastaquit (Quit: Leaving)
11:05:13  * magicantlerjoined
11:05:26  * jeff_hquit (Ping timeout: 276 seconds)
11:05:36  * lhdcquit (Remote host closed the connection)
11:05:43  * robdrakechanged nick to notebot
11:06:00  <dunpeal>Seems like the node.js repl truncates strings? How can I see the full, untruncated string?
11:06:07  * notebotchanged nick to robdrake
11:06:08  * mmmveggiesjoined
11:06:14  * Lucifer333joined
11:06:22  * waz-joined
11:06:36  * nettowebjoined
11:07:33  <dunpeal>OK, console.log works.
11:07:56  * stelarcfjoined
11:08:27  * dopesongjoined
11:09:16  * xallquit (Ping timeout: 265 seconds)
11:09:54  * magicantlerquit (Ping timeout: 250 seconds)
11:10:58  * shrikrishnajoined
11:11:01  * mmmveggiesquit (Ping timeout: 252 seconds)
11:12:12  * craigtaojoined
11:12:42  * wrainboltquit (Quit: leaving)
11:13:14  * dopesongquit (Ping timeout: 260 seconds)
11:13:17  <jKaideN>joepie91: hmm on line 5 you're grabbing the urls that's stored in txt file on the web. I need to grab the urls that's inside the body of the request and send another request of what I grabbed from the first request if that makes sense
11:13:33  * dopesongjoined
11:14:48  * vincentcrjoined
11:14:55  * mloveles_quit (Remote host closed the connection)
11:14:56  <joepie91>jKaideN: inside the body of the response* you mean?
11:15:28  <jKaideN>jKaideN: The URL I'm grabbing is inside the body of html think of it as a hyperlink
11:15:47  * kuldeepquit (Ping timeout: 260 seconds)
11:15:48  <joepie91>jKaideN: right, so the only difference would be that you need to somehow extract the URLs from the response body
11:15:52  <joepie91>rather than just splitting it by newlines
11:15:55  <joepie91>otherwise, it's the same
11:16:00  <jKaideN>request site-1 -> Get hyperlink-1 -> Request site-2 (hyperlink-1)
11:16:02  * earendeljoined
11:16:16  <joepie91>careful with that, btw, if you intend to make it recursive - it'll blow up memory-wise real quick :)
11:16:23  * Sendoushijoined
11:16:34  <jKaideN>hmm
11:16:45  * wsierocijoined
11:17:52  <joepie91>jKaideN: also, if you only want to scrape actual hyperlinks
11:17:54  * dopesongquit (Ping timeout: 260 seconds)
11:17:58  <joepie91>you can use cheerio to parse the response body as HTML
11:18:05  <joepie91>and extract links that way
11:18:15  * huangyao_quit (Ping timeout: 276 seconds)
11:19:03  * jannehjoined
11:19:24  * vincentcrquit (Ping timeout: 246 seconds)
11:19:42  * ecuanasoquit (Quit: My Mac has gone to sleep. ZZZzzz…)
11:19:47  * itaipujoined
11:20:17  <joepie91>jKaideN: anyhow, if you want to write a crawler, look into promise-task-queue
11:20:36  * jeff_hjoined
11:20:40  <joepie91>then you won't have to recurse, although you'll still want to deduplicate links somehow
11:21:09  * danielemmjoined
11:21:12  <jKaideN>alright thanks!
11:21:15  <netameta>whats are argument against or for standarizing databse ?
11:21:25  * kuldeepjoined
11:21:35  <joepie91>netameta: what do you mean with "standardizing database"?
11:21:35  * wtrockijoined
11:21:45  * wtrockiquit (Client Quit)
11:22:11  * Lucifer333quit (Quit: Leaving)
11:22:25  * wtrockijoined
11:22:40  * wtrockiquit (Client Quit)
11:22:41  * soee_joined
11:23:29  * mbwejoined
11:23:34  <netameta>say i have a table name collection, it has ID, userId, type, startingAt,expireAt, quantity,place,reason
11:23:46  * jannehquit (Ping timeout: 250 seconds)
11:23:55  <netameta>quantity,place,reason are optional
11:23:57  * soeequit (Ping timeout: 260 seconds)
11:24:02  <netameta>and sometimes wont be there
11:24:53  * chargenquit (Quit: BBL)
11:24:55  <netameta>so like wordpress does, i am thinking of creating another table called collectionMeta, that will have collectionId, metaKey,metaValue that will hold optional fields
11:25:03  <joepie91>netameta: bad idea :)
11:25:05  * jeff_hquit (Ping timeout: 250 seconds)
11:25:11  <joepie91>the reason wordpress does it is probably for extensions
11:25:13  * roadt__quit (Ping timeout: 265 seconds)
11:25:13  <netameta>joepie91, how so ?
11:25:20  <joepie91>it's still a bad idea then, but other solutions are hard
11:25:29  <joepie91>any RDBMS worth its salt will let you set a column as nullable
11:25:34  <joepie91>that is, the value can be null
11:25:36  <joepie91>this is what you want
11:25:38  <netameta>First of what you mean extensions ?
11:25:41  * djmaxjoined
11:25:45  <joepie91>netameta: wordpress plugins
11:25:57  <joepie91>having a separate 'unshaped' table of 'metadata' lets plugins store additional data
11:26:17  * panpainterquit (Remote host closed the connection)
11:26:18  <joepie91>but you are essentially giving up most of the benefits of an RDBMS by doing that
11:26:24  * panpainterjoined
11:26:28  <netameta>RDBMS ?
11:26:41  <dami0>relational db management system
11:26:46  * jeff_hjoined
11:27:09  <joepie91>think postgresql, mysql, ...
11:27:31  * shrikrishnaquit (Ping timeout: 252 seconds)
11:27:35  <dami0>basically a way to store structured data. storing unstructured data is obviously not as neat
11:27:44  <joepie91>more specifically, relational data
11:27:45  <joepie91>;)
11:27:47  * tlaxkitjoined
11:27:52  <netameta>I have read that rather then having tables with too many columns that might be nullable you standarize them by having only the absolute must on 1 table, and set the other on another
11:27:58  <netameta>cant remember where i read that
11:28:21  <joepie91>netameta: without knowing the underlying reason for that recommendation, I can't say anything useful about it other than "I can't see why"
11:28:47  <netameta>Dont metaData tables give you more agility ?
11:28:57  <joepie91>netameta: that's a buzzword. what do you mean?
11:29:16  <netameta>you're able to add differnt fields as you please
11:29:23  <netameta>the main table stay smaller
11:29:32  <netameta>as in less columns.
11:29:32  <joepie91>netameta: you can fields as you please with normal tables as well
11:29:40  <joepie91>netameta: 'less columns' isn't a benefit
11:29:42  * Orxata_joined
11:29:43  <joepie91>it's an observation
11:29:44  <Orxata_>hi
11:29:53  <Orxata_>joepie91: I've got a question regarding your bhttp module
11:29:54  <joepie91>'smaller' also isn't a benefit in and of itself
11:30:09  * djmaxquit (Ping timeout: 260 seconds)
11:30:09  <joepie91>netameta: I think you should care less about how it looks to you as a human, and care more about what is correct and how it performs in hard numbers ;)
11:30:14  <joepie91>Orxata_: shoot
11:30:21  <netameta>joepie91, What are the benefits of keeping it all in 1 table ?
11:30:28  <Orxata_>Is there a way to download only the headers (to check content-length, for example)
11:30:55  <joepie91>netameta: consistency, DB can optimize things, etc. it's the correct thing to do, which means that the database is designed to assume it
11:31:07  <joepie91>Orxata_: yes, you can make a HEAD request
11:31:07  * edavisquit (Remote host closed the connection)
11:31:12  <joepie91>works the same as for any other HTTP lib
11:31:17  <joepie91>mind that not 100% of servers will do this correctly
11:31:31  * edavisjoined
11:31:52  <netameta>joepie91, mind elaborating the above answer ?
11:32:08  <netameta>if you have somewhere i can read about it, i will go a head and do that
11:32:27  * DanKnoxquit (Ping timeout: 250 seconds)
11:32:27  * robbiethegeekquit (Ping timeout: 250 seconds)
11:32:33  <joepie91>netameta: databases are designed in a certain way. to get the most out of a DB, you want to follow that design, since that's the only cases that the database developer could have anticipated
11:32:37  * samsshjoined
11:32:42  <joepie91>this applies to most if not all things relating to computers
11:32:49  <joepie91>'clever tricks' will almost always introduce downsides or problems
11:33:04  * kgolding_quit (Remote host closed the connection)
11:33:19  <netameta>joepie91, So how are DB designed and where can i read that this is the proper road to go ?
11:33:26  * robbiethegeekjoined
11:33:40  <joepie91>netameta: no particular one source, read just about anything on RDBMSes including probably the postgresql docs :P
11:33:47  * sankhaquit (Remote host closed the connection)
11:34:29  <netameta>i agree that following the right way / normal way is good idea, but i never saw any place that tells you a good way to design the table
11:34:36  * Droquit (Quit: brb)
11:34:43  * ThePendulumquit (Read error: Connection reset by peer)
11:34:49  <netameta>except this standarizing article
11:34:51  * sankhajoined
11:35:02  * itaipuquit (Ping timeout: 260 seconds)
11:35:03  * fyutylequit (Remote host closed the connection)
11:35:13  * ThePendulumjoined
11:35:15  <joepie91>netameta: try the postgresql docs
11:35:19  * max_dataquit (Remote host closed the connection)
11:35:51  * jon_xquit (Ping timeout: 265 seconds)
11:36:22  * craftbynickquit (Read error: No route to host)
11:36:57  * craftbynickjoined
11:37:04  <netameta>joepie91, will search
11:37:20  <netameta>i went pretty hard on meta Tables
11:37:22  * itaipujoined
11:37:29  * dopesongjoined
11:38:01  <joepie91>netameta: mind linking me to the "standardizing article"? that's a very, very strange name to give it
11:38:33  <netameta>will search joepie91 have been like 2 years or more when i read it
11:38:44  <netameta>should probably save in bookmarks somewhere
11:38:49  * qballerjoined
11:39:11  <qballer>hey guys, I'm wondering how can I attach debugger to node from the code ?
11:39:19  * roadt__joined
11:39:20  * zero_coderquit (Quit: EliteBNC - http://www.elitebnc.org/)
11:39:21  <qballer>without --debug-brk
11:39:25  * dopesongquit (Read error: Connection reset by peer)
11:39:32  * redoPopjoined
11:39:33  * dopesong_joined
11:41:34  * mbwequit (Ping timeout: 240 seconds)
11:41:56  * zero_coderjoined
11:42:17  * njxjoined
11:42:48  * mrbubblesquit (Max SendQ exceeded)
11:42:50  * JoWiejoined
11:44:01  * redoPopquit (Ping timeout: 252 seconds)
11:44:02  * damjanjoined
11:44:03  <netameta>hello joepie91
11:44:33  * shrikrishnajoined
11:44:52  <damjan>is it possible to instruct npm to not create symlinks in node_modules/.bin/ but to create copies of the files?
11:44:53  * wtrockijoined
11:44:54  * Karasuquit (Ping timeout: 276 seconds)
11:45:17  <netameta>joepie91, .. i am not desiging a lot of databases, so i got the name wrong, so not standarizing - its normalizing.
11:46:23  <joepie91>netameta: normalizing a database definitely does not involve meta tables
11:46:24  <joepie91>:P
11:46:34  <netameta>it does not ?
11:46:36  <joepie91>damjan: what are you trying to accomplish?
11:46:43  <netameta>maybe i read it wrong - then what is normalizing ?
11:47:10  <qballer>ideas on the debugger question ?
11:47:52  * BeerLoverquit (Ping timeout: 260 seconds)
11:47:57  <damjan>joepie91: node_modules is actually on a windows filesystem, even if npm runs in a linux docker
11:48:23  <joepie91>netameta: normalizing is when you reduce data redundancy by splitting something up in multiple tables, and using FKs to reference the new items - for example, instead of an Orders {id, customerName, customerAddress, productName, productAmount} you get: Orders {customerId, productId, productAmount}, Customers: {id, name, address}, Products: {id, name}
11:48:34  * chargenjoined
11:48:36  <netameta>joepie91, if i am correct normalizing a database is what i explained above, you try to keep minimal "must" fields and feilds thats can be option put in another table
11:48:42  <joepie91>now the actual data (customer name and address, product name) is only stored in the DB once
11:48:45  <joepie91>netameta: no
11:48:48  <joepie91>it's not
11:48:59  * ceaucarijoined
11:49:11  <netameta>joepie91, what you said that's pretty much exactly what i said man
11:49:15  * tejasvaquit (Remote host closed the connection)
11:49:16  <joepie91>it isn't
11:49:25  <joepie91>you are trying to rebuild a database within a database
11:49:40  <joepie91>what I'm describing is splitting up 'entities'
11:49:43  <netameta>joepie91, your previous advice was to leave field null incase they are redundent which is a bad idea
11:49:44  <gajus>There is some node.js-esque paste bin (a la http://www.es6fiddle.net/) that allows use of `require` to install NPM resources
11:49:49  <gajus>anyone know what I am talking about?
11:49:52  <joepie91>netameta: 'bad idea' how?
11:49:54  * mbwejoined
11:50:16  * cwekquit (Changing host)
11:50:16  * cwekjoined
11:50:19  <netameta>you haveing redundent data or columns on the table
11:50:39  <netameta>what you mean i want a DB within a DB ?
11:50:39  <joepie91>no, you don't
11:50:42  <hipsterslapfight>gajus: https://tonicdev.com ?
11:50:55  <hipsterslapfight>ie. https://tonicdev.com/npm/qs
11:50:59  <joepie91>netameta: I feel like you're conflating redundant and unnecessary
11:51:02  <netameta>joepie91, no you dont? then i must have missed something
11:51:20  <netameta>joepie91, Please explain
11:51:25  * jjidojoined
11:51:32  <joepie91>having three Orders all with the same customerName makes the customerName redundant, and that is solved by having a single Customer row that you point at
11:51:35  <gajus>Not the specific one I was looking for but it looks great. Will try it. Thanks hipsterslapfight
11:51:53  <joepie91>having NULL for a column isn't redundant - it simply indicates that there is no value for that column for that row
11:52:02  <joepie91>it's unnecessary, not 'redundant'
11:52:09  <joepie91>unnecessary for that specific row
11:52:22  <joepie91>you're not duplicating data like in the customerName example
11:52:42  * jr3quit (Quit: jr3)
11:53:07  * momoterrawjoined
11:53:12  <gajus>wow, hipsterslapfight I am instantly blown away. This is insanely cool
11:53:23  <hipsterslapfight>yeah it's very well done
11:53:33  <joepie91>gajus: you might also like replem
11:53:36  <joepie91>if you want a local version
11:54:02  <netameta>joepie91, hmm.
11:54:32  <joepie91>netameta: I think the important point here is that NULL isn't value
11:54:39  <joepie91>rather, it's a 'marker' to signal the *absence* of a value
11:54:47  * wtrockiquit (Quit: Sleeping.)
11:55:00  * wtrockijoined
11:55:21  * dopesong_quit (Read error: Connection reset by peer)
11:55:37  <netameta>joepie91, i understand that, but trying to another why the metaData is a bad idea
11:55:46  * dopesongjoined
11:56:02  <joepie91>netameta: because it deviates from what the DB expects
11:56:15  <joepie91>there's a hundred walls you can run into performance-wise, consistency-wise, feature-support-wise, etc.
11:56:18  * panpainterquit (Remote host closed the connection)
11:56:19  <netameta>the thing is normalization the way i understand it will simply create another table with the not directly related data
11:56:23  <joepie91>because you're doing something that doesn't align with how the DB is designed
11:56:30  <joepie91>netameta: your data is directly related
11:56:35  <joepie91>it's just optional
11:56:41  <netameta>joepie91, Yaps
11:56:48  * panpainterjoined
11:57:33  * momoterrawquit (Ping timeout: 246 seconds)
11:57:38  <netameta>joepie91, i guess i went this rout because of previous bad experience with too many/ missing column
11:57:47  * itaipuquit (Ping timeout: 260 seconds)
11:57:52  <joepie91>netameta: that's a poor approach for decisionmaking ;)
11:57:57  <gajus>joepie91 doesn't node 6 support this out of the box?
11:58:06  <gajus>(Don't have node 6 at the moment to test it)
11:58:18  <netameta>i though i will do Meta tables that will make it easy to add/remove optional columns
11:58:22  <joepie91>gajus: huh?
11:58:36  <gajus>The replem thing
11:58:40  <joepie91>netameta: right, so don't do that. just write migrations
11:58:43  <gajus>I might be wrong though
11:58:46  <joepie91>'optional columns' aren't a special case
11:58:51  <joepie91>they're just nullable
11:58:53  <joepie91>that's all
11:58:58  <joepie91>gajus: can't see how it would
11:59:01  <joepie91>given that node and NPM are separate
11:59:09  <joepie91>but idk
11:59:11  <netameta>write migration - what do you mean ?
11:59:28  <joepie91>netameta: are you using Knex or Sequelize?
11:59:31  <gajus>You are right. I am probably confusing it with nodes ability to persist variables
11:59:37  * mezodjoined
11:59:41  <netameta>seq
11:59:53  <joepie91>netameta: http://docs.sequelizejs.com/en/latest/docs/migrations/ :)
11:59:54  <netameta>joepie91, which was your suggestion BTW
12:00:15  * EyePulpquit (Remote host closed the connection)
12:00:24  * ecuanasojoined
12:00:41  * mbwequit (Quit: WeeChat 1.5)
12:00:42  <hipsterslapfight>joepie91: have you used objection properly yet?
12:00:49  <joepie91>hipsterslapfight: no
12:00:52  <hipsterslapfight>i got the opportunity to put an objection.js app into production the other day
12:00:54  <hipsterslapfight>it's _very_ nice
12:01:01  <hipsterslapfight>fixes up every single issue i have with bookshelf
12:01:03  * BeerLoverjoined
12:01:14  <joepie91>hipsterslapfight: any source code I can see? :P
12:01:16  <joepie91>of your app
12:01:20  <joepie91>curious to see it applied
12:01:23  * lhdcjoined
12:01:44  * ecuanasoquit (Client Quit)
12:02:05  <hipsterslapfight>i'm afraid not :(
12:02:05  <hipsterslapfight>but it follows https://github.com/Vincit/objection.js/tree/master/examples/express-es7 rather closely
12:02:20  <hipsterslapfight>(though not their weird routing stuff, and with better error handling)
12:02:48  * ozettejoined
12:02:55  <hipsterslapfight>https://github.com/Vincit/objection.js/blob/master/examples/express-es7/models/Person.js i really like how validations and relations are set up
12:03:02  <joepie91>hipsterslapfight: boo, OSS all the things :P
12:03:17  * ahmedelgabriquit (Ping timeout: 276 seconds)
12:03:28  <joepie91>eh, classes :|
12:03:29  <hipsterslapfight>i OSS as many of the little things involved in my projects as possible
12:03:32  <hipsterslapfight>just not the projects themselves
12:03:39  <joepie91>hipsterslapfight: it was not entirely serious :P
12:03:44  <qballer>so guys attaching a debugger for node.js process from code any one ?
12:03:45  <hipsterslapfight>it's actually a good use for classes! it cleans up the code rather nicely
12:03:56  <joepie91>can't say I agree...
12:03:56  <hipsterslapfight>if you go back up the examples directory you'll see the ES5 version
12:04:19  <joepie91>hipsterslapfight: that's still essentially using classes
12:04:22  <joepie91>but through constructors
12:04:35  * shrikrishnaquit (Ping timeout: 276 seconds)
12:04:36  <hipsterslapfight>yes
12:04:37  <joepie91>of course class syntax is going to look nicer for something that was designed around classes
12:04:38  <joepie91>:p
12:04:47  * lumusjoined
12:04:48  * jeff_hquit (Ping timeout: 244 seconds)
12:04:49  <hipsterslapfight>it's still a lot nicer than bookshelf's weird bootstrap-like setup
12:05:09  <joepie91>I don't really like how bookshelf does it, but it's a lot saner with the registry plugin
12:05:10  <hipsterslapfight>bootstrap ...
12:05:17  <joepie91>and honestly I don't really want to be passing around models manually
12:05:19  * bronsonjoined
12:05:19  * BobGneuquit (Read error: Connection reset by peer)
12:05:20  <hipsterslapfight>i mean, what's the thing people were using before react
12:05:21  * mihokjoined
12:05:23  <joepie91>gets very messy very quickly
12:05:26  * cart_manjoined
12:05:38  * gamelasterquit (Quit: Page closed)
12:05:43  <hipsterslapfight>backbone!
12:05:44  * MrSamuelquit (Remote host closed the connection)
12:05:48  <joepie91>lol
12:06:10  <lumus>-1
12:06:10  <lumus>down vote
12:06:10  <lumus>favorite
12:06:10  <lumus>hello im trying to build an web mobile friendly app that uses the server side REST API which will provide routes for recording user reports into a server side database and provide appropriate error handling/validation.. as i am very new at this can anyone point me to the right direction on how to achieve that?
12:06:10  <lumus>im using nodejs and sqlite3
12:06:11  <hipsterslapfight>but yeah passing models around is okay when there's just a few, but i imagine for very large apps you're going to need a saner way to manage them
12:06:29  <joepie91>yeah, that's why I'm not a fan of the lack of a registry
12:06:35  * lhdcquit (Remote host closed the connection)
12:06:36  <joepie91>same complaint I have about Bookshelf defaults really
12:07:01  * BobGneujoined
12:07:03  <cart_man>If I am working with MongoDB and I want to find something in my Database using (Example from MongoDocs) db.bios.find( { _id: 5 } ) I get an error saying Cannot read property
12:07:09  <joepie91>your models aren't going to be stateless -anyway- so it seems pointless to try and shoehorn it into a "here you have an object to pass around" type model to begin with
12:07:10  * mmmveggiesjoined
12:07:20  <joepie91>just makes things harder
12:07:21  * magicantlerjoined
12:07:44  <cart_man>If I am working with MongoDB and I want to find something in my Database using (Example from MongoDocs) db.bios.find( { _id: 5 } ) I get an error saying Cannot read property 'find' of unidentified. I do not know what BIOS is suppose to be? What does "bios" refer too?
12:09:03  * scippiojoined
12:09:14  * shouvikjoined
12:09:19  * macabrejoined
12:09:36  * zwaragquit (Ping timeout: 276 seconds)
12:09:52  * bronsonquit (Ping timeout: 252 seconds)
12:10:16  * duckpuppyjoined
12:11:54  * mmmveggiesquit (Ping timeout: 246 seconds)
12:12:04  * magicantlerquit (Ping timeout: 252 seconds)
12:12:47  * pringlescanjoined
12:13:35  * _MysTquit (Ping timeout: 244 seconds)
12:13:43  * macabrequit (Ping timeout: 252 seconds)
12:15:18  * jr3joined
12:16:02  * temucciojoined
12:16:11  * tejasvajoined
12:17:04  <temuccio>Hello. I habe one question. I have on server all in one file. It is possible to separate the server in more file for manage the section?
12:17:13  * djmaxjoined
12:17:35  * cobquit (Ping timeout: 276 seconds)
12:17:58  <damjan>temuccio: sure. see 'modules'
12:18:31  <temuccio>ok
12:18:37  * liamonadequit (Quit: This computer has gone to sleep)
12:19:01  * cobjoined
12:20:38  * jannehjoined
12:20:57  * lennymjoined
12:21:25  * djmaxquit (Ping timeout: 250 seconds)
12:21:32  <lumus>hello im trying to build an web mobile friendly app that uses the server side REST API which will provide routes for recording user reports into a server side database and provide appropriate error handling/validation.. as i am very new at this can anyone point me to the right direction on how to achieve that?
12:21:32  <lumus>im using nodejs and sqlite3
12:21:54  * dopesongquit (Remote host closed the connection)
12:22:34  * dopesongjoined
12:23:25  * DragonPunchquit (Quit: My Mac has gone to sleep. ZZZzzz…)
12:23:40  * graffixquit (Quit: I have quit...)
12:23:40  * graffix222changed nick to graffix
12:24:00  * Karasujoined
12:24:23  * dopesong_joined
12:25:15  * dopesong_quit (Read error: Connection reset by peer)
12:25:18  * jannehquit (Ping timeout: 250 seconds)
12:26:09  * BigBangUDRjoined
12:26:48  * nilsijoined
12:27:19  * dopesongquit (Ping timeout: 260 seconds)
12:27:20  * DragonPunchjoined
12:27:24  * jasnelljoined
12:27:36  * DragonPunchquit (Client Quit)
12:27:54  * nilsi_quit (Ping timeout: 260 seconds)
12:29:14  * wtrockiquit (Quit: Sleeping.)
12:29:45  * noserjoined
12:30:18  * RLajoined
12:31:29  * horseyquit (Remote host closed the connection)
12:31:40  * jasnellquit (Ping timeout: 244 seconds)
12:33:44  * kakashiALquit (Ping timeout: 260 seconds)
12:34:05  * zumba_addictquit (Remote host closed the connection)
12:34:10  * wtrockijoined
12:34:23  * panpainterquit (Remote host closed the connection)
12:34:29  * panpainterjoined
12:34:44  * Jobavajoined
12:34:44  * temuccioquit (Quit: Sto andando via)
12:34:52  * dopesongjoined
12:34:57  * shouvikquit (Ping timeout: 276 seconds)
12:35:53  * inukshuk_joined
12:36:23  * inukshuk_quit (Client Quit)
12:36:29  <hipsterslapfight>any developers in india? i need a recommendation for a restaurant booking api/plugin that serves the country. is there anything popular i should be looking iat?
12:37:13  * jphasejoined
12:37:17  <RLa>not seen many web-based restaurant booking solutions
12:37:44  <RLa>maybe there are, restaurant-specific and only for high-end places
12:37:53  * horseyjoined
12:38:10  * shrikrishnajoined
12:38:20  <hipsterslapfight>yeah i haven't really found anything in my searches
12:39:25  * horseyquit (Remote host closed the connection)
12:39:30  * Karasuquit (Ping timeout: 276 seconds)
12:39:41  * dopesongquit (Ping timeout: 276 seconds)
12:40:00  * redoPopjoined
12:40:08  <lumus>hello im trying to build an web mobile friendly app that uses the server side REST API which will provide routes for recording user reports into a server side database and provide appropriate error handling/validation.. as i am very new at this can anyone point me to the right direction on how to achieve that?
12:40:10  <lumus>im using nodejs and sqlite3
12:41:27  <RLa>use express for handling routing/body parsing/responding
12:41:30  * Karasujoined
12:41:44  * wtrockiquit (Quit: Sleeping.)
12:41:51  * thinkt4nkjoined
12:42:05  <RLa>there are tons of express guides how to do api with it
12:42:18  * thinkt4nkquit (Client Quit)
12:42:29  * Crystersjoined
12:42:32  * lumusquit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
12:42:44  * the_antjoined
12:43:26  * dopesongjoined
12:43:36  * mbwejoined
12:43:38  * RobinMjoined
12:43:39  * ceaucariquit (Quit: My Mac has gone to sleep. ZZZzzz…)
12:44:13  * panpainterquit (Remote host closed the connection)
12:44:27  * redoPopquit (Ping timeout: 246 seconds)
12:44:44  * panpainterjoined
12:44:48  * ahmedelgabrijoined
12:45:05  * jon_xjoined
12:45:59  * Ravenjoined
12:46:00  * skroonquit (Ping timeout: 276 seconds)
12:46:57  * liamonadejoined
12:47:00  * Karasuquit (Read error: Connection reset by peer)
12:47:26  * concertijoined
12:48:08  * dopesongquit (Ping timeout: 276 seconds)
12:48:13  * djmaxjoined
12:49:34  * r0r0lulzjoined
12:50:40  * concertiquit (Client Quit)
12:51:25  * Karasujoined
12:51:53  * solf1re2joined
12:52:12  * dopesongjoined
12:52:20  * Ravenquit (Ping timeout: 244 seconds)
12:52:33  * r0r0haquit (Ping timeout: 240 seconds)
12:52:56  * davijoined
12:53:34  * waz-changed nick to waz--
12:53:42  * waz--changed nick to waz-
12:54:06  * italoacasasjoined
12:54:18  * dopesong_joined
12:54:22  * PiotrekRquit (Ping timeout: 260 seconds)
12:54:33  * bapalmjoined
12:54:38  * lance|afkchanged nick to lanceball
12:54:51  * glijoined
12:55:44  * dopesong_quit (Remote host closed the connection)
12:55:54  * solf1requit (Ping timeout: 260 seconds)
12:56:03  * dopesong_joined
12:56:19  * cidicjoined
12:56:29  * dopesongquit (Ping timeout: 260 seconds)
12:56:57  * uber-hulkjoined
12:57:33  * BeerLoverquit (Ping timeout: 240 seconds)
12:59:39  * Karasuquit (Ping timeout: 276 seconds)
12:59:40  * Sendoushiquit (Remote host closed the connection)
13:00:19  * Karasujoined
13:00:55  * ldiamondjoined
13:01:01  * harryhjoined
13:01:08  * kiran_quit (Ping timeout: 276 seconds)
13:01:21  * jeff_hjoined
13:01:43  * RobinMquit (Quit: RobinM)
13:02:21  * RobinMjoined
13:02:24  * ikcerogjoined
13:02:24  * RobinMquit (Client Quit)
13:02:50  * nnyk_quit (Read error: No route to host)
13:02:57  <merpnderp>If I've got an TypedArary, should I load that into a buffer to zip up?
13:03:08  * nnyk_joined
13:03:35  * RobinMjoined
13:03:44  * uber-hulkquit (Ping timeout: 276 seconds)
13:05:04  * MrSnappingTurtlejoined
13:05:29  * sankhaquit (Remote host closed the connection)
13:05:33  * jeff_hquit (Ping timeout: 240 seconds)
13:07:26  * tlaxkitquit (Quit: ¡Adiós!)
13:07:47  * wrainboltjoined
13:08:03  * tejasvaquit (Remote host closed the connection)
13:08:04  * uber-hulkjoined
13:08:09  * mmmveggiesjoined
13:08:23  * EyePulpjoined
13:08:42  * magicantlerjoined
13:09:21  * algaejoined
13:09:32  * mbwequit (Ping timeout: 260 seconds)
13:10:30  * RLaquit (Quit: Leaving)
13:10:39  * ConspiratorXjoined
13:10:47  * Sendoushijoined
13:11:26  * tejasmanoharjoined
13:11:29  * kripodjoined
13:11:54  <tejasmanohar>https://github.com/substack/hyperquest -> i have a stream setup here & it looks like .on('end') is being called multiple times. how does that work?
13:12:24  <tejasmanohar>is the connection opening and closing in b/w a single request (hyperstream#get call)?
13:12:30  * DragonPunchjoined
13:12:32  * karmahac_quit (Read error: Connection reset by peer)
13:12:49  * the_antquit (Ping timeout: 260 seconds)
13:12:58  * kripodquit (Read error: Connection reset by peer)
13:13:28  * graffix_joined
13:13:29  * magicantlerquit (Ping timeout: 265 seconds)
13:13:29  * mmmveggiesquit (Ping timeout: 276 seconds)
13:13:43  * foEsjoined
13:14:22  * kripodjoined
13:14:22  * MarcoGLjoined
13:15:40  * vincentcrjoined
13:15:54  * fenneszjoined
13:15:55  * karmahackerjoined
13:17:07  * phorloopquit (Quit: My laptop go to sleep. ZZZzzz…)
13:18:09  * leehambleyjoined
13:18:14  * thinkdogejoined
13:19:22  * leehambleyquit (Client Quit)
13:19:43  * Karasuquit (Ping timeout: 244 seconds)
13:19:44  * leehambleyjoined
13:19:45  * pickelsjoined
13:19:49  * daviquit (Ping timeout: 260 seconds)
13:20:14  * shrikrishnaquit (Ping timeout: 244 seconds)
13:20:15  * vincentcrquit (Ping timeout: 265 seconds)
13:20:17  * dandamanjoined
13:21:04  * mezodquit (Remote host closed the connection)
13:22:41  * pol123456quit (Remote host closed the connection)
13:24:07  * mvenquit (Ping timeout: 252 seconds)
13:24:15  * shrikrishnajoined
13:24:50  * Karasujoined
13:25:46  * abovequit (Remote host closed the connection)
13:25:50  * ravi_sun66joined
13:26:00  * sankhajoined
13:26:03  * abovejoined
13:26:18  * panpainterquit (Remote host closed the connection)
13:26:24  * panpainterjoined
13:26:25  * UniOnjoined
13:28:30  * sankhaquit (Remote host closed the connection)
13:28:46  * sankhajoined
13:28:55  <UniOn>What would be the best way to let node download a file from a URL, and instead of saving the content, stream it directly to the browser of the requesting user.
13:28:59  <UniOn>Like a proxy kinda
13:29:12  * Muskjoined
13:29:27  <netameta>joepie91, Say i have billing table, and there are different gateways, i need to persist different data for different gateway, how would you accomodate that ?
13:29:50  <joepie91>netameta: define 'different data' - what kind of data?
13:30:13  * sankhaquit (Remote host closed the connection)
13:30:17  <netameta>well, let look at paypal for example,
13:30:42  * shouvikjoined
13:30:52  <netameta>paypal has several gate way, normal checkout for example/ credit card checkout (these are just example)
13:31:12  * sankhajoined
13:31:24  * phil23joined
13:31:29  * nnyk_quit (Ping timeout: 260 seconds)
13:31:39  <netameta>for normal checkout for example i will need to keep the email/ address of the client, for credit card, i will have to keep a token/ card expiration ...
13:32:22  * rhojoined
13:32:53  * mezodjoined
13:33:48  <joepie91>netameta: right. so you'd probably want to keep this as a separate table for each gateway, since each is a distinctly different kind of object/row - PaypalGatewayLink, 2checkoutGatewayLink, etc.
13:33:50  * ecuanasojoined
13:33:56  <joepie91>netameta: and one user may have multiple billing profiles
13:34:01  * shrikrishnaquit (Ping timeout: 252 seconds)
13:34:55  * Augerjoined
13:34:59  * wtrockijoined
13:35:08  <netameta>yea thought about that but then how will you reference it ?
13:35:53  <joepie91>netameta: each gateway table has either a customerId or a subscriptionId column depending on how you are defining your billing profiles
13:35:58  <joepie91>and you combine them
13:35:59  * rhoquit (Client Quit)
13:36:03  <joepie91>that's one approach
13:36:08  * mccricardojoined
13:36:12  * mccricardopart
13:36:33  * mccricardojoined
13:36:57  <netameta>another approach will be ?
13:37:48  * petershawjoined
13:37:56  <joepie91>it all depends on the usecase :)
13:37:59  * msafijoined
13:38:00  * shouvikquit (Ping timeout: 276 seconds)
13:38:06  <christo_m>joepie91: broo
13:38:14  <christo_m>i trusted you.
13:38:15  * tejasvajoined
13:38:16  <christo_m>trust certificate.
13:38:46  <joepie91>mmm?
13:39:16  * sankhaquit (Remote host closed the connection)
13:39:26  * shrikrishnajoined
13:39:48  * Crystersquit (Quit: Leaving)
13:40:30  * tubuliferousjoined
13:40:58  * redoPopjoined
13:41:10  <christo_m>bhttp
13:41:53  <joepie91>christo_m: it is still being worked on :P schedule did not work out..
13:42:09  <christo_m>rewrite?
13:42:10  <christo_m>:D
13:42:13  <joepie91>aye
13:42:24  <joepie91>but my internet access and free time over the weekend was... different from how I'd expected
13:42:26  <joepie91>lol
13:42:53  * hosttorjoined
13:43:12  * msafiquit (Ping timeout: 276 seconds)
13:44:33  * shrikrishnaquit (Ping timeout: 240 seconds)
13:44:35  * dami0part
13:44:37  * ThePendulumquit (Quit: leaving)
13:44:59  * RobinMquit (Quit: RobinM)
13:45:08  * shouvikjoined
13:45:33  * d0nn1equit (Ping timeout: 240 seconds)
13:45:36  * dunpealquit (Quit: leaving)
13:45:42  * redoPopquit (Ping timeout: 260 seconds)
13:46:13  * dopesong_quit (Remote host closed the connection)
13:46:45  * sankhajoined
13:47:56  * RobinMjoined
13:48:21  * relipse2joined
13:48:22  * d0nn1ejoined
13:48:24  * MrSnappingTurtlequit (Ping timeout: 276 seconds)
13:48:45  * dandamanquit (Quit: Leaving.)
13:48:51  * sankhaquit (Remote host closed the connection)
13:49:40  * diamondsjoined
13:50:11  * sankhajoined
13:50:12  * tubuliferousquit (Ping timeout: 244 seconds)
13:50:16  * thefourtheye___quit (Quit: Connection closed for inactivity)
13:51:15  * tuxawyquit (Quit: Konversation terminated!)
13:51:17  * RobinMquit (Client Quit)
13:52:08  * ahmed_elgabrijoined
13:52:10  * Sendoushiquit (Remote host closed the connection)
13:53:09  * zchrykngjoined
13:53:22  * Industrialjoined
13:53:49  * Karasuquit (Ping timeout: 244 seconds)
13:53:59  * davijoined
13:54:00  * daviquit (Changing host)
13:54:00  * davijoined
13:54:07  * momoterrawjoined
13:54:32  * shrikrishnajoined
13:54:49  * ahmedelgabriquit (Ping timeout: 260 seconds)
13:55:50  * MilenFromjoined
13:56:06  * blessYahujoined
13:56:07  * max_datajoined
13:56:24  * blessYahuquit (Remote host closed the connection)
13:56:45  * jdennjoined
13:56:57  * macabrejoined
13:58:27  * Sendoushijoined
13:58:36  * stelarcfquit (Quit: stelarcf)
13:58:36  * dopesong_joined
13:58:43  * jrmgjoined
13:58:54  * momoterrawquit (Ping timeout: 260 seconds)
13:59:05  * ajf-joined
13:59:17  * macabrequit (Remote host closed the connection)
14:00:48  * Lymiaquit (Quit: Hugs~ <3)
14:01:08  * kakashiALjoined
14:01:58  * sankhaquit (Remote host closed the connection)
14:02:06  * jeff_hjoined
14:02:12  * Lymiajoined
14:02:13  * yosuke_furukawajoined
14:02:19  * sankhajoined
14:02:33  * dopesong_quit (Ping timeout: 240 seconds)
14:03:33  * Zarutianjoined
14:03:37  * Zarutianpart
14:03:48  * dandamanjoined
14:04:18  * ThePendulumjoined
14:04:35  * al1ojoined
14:04:42  * fenneszquit (Remote host closed the connection)
14:05:05  * gliquit (Quit: Leaving)
14:05:38  * jkridnerjoined
14:06:21  * jeff_hquit (Ping timeout: 246 seconds)
14:06:31  * bronsonjoined
14:06:45  * sankhaquit (Remote host closed the connection)
14:06:58  * stelarcfjoined
14:07:09  * ravi_sun66quit (Quit: Leaving...)
14:07:17  * grilljoined
14:07:30  * XenophonFjoined
14:07:34  * doodadjs_quit (Quit: Leaving)
14:08:33  * jrmgquit (Ping timeout: 240 seconds)
14:08:53  * bdunavantjoined
14:09:07  * mmmveggiesjoined
14:09:33  * Fishrock123joined
14:09:56  * trangjoined
14:09:59  * trangquit (Client Quit)
14:10:16  * MY123joined
14:10:19  <cidic>has anyone used node inspection on a cli process that runs then ends? I cannot figure out a sane workflow to reuse the same inspector window
14:10:36  * lhdcjoined
14:10:45  * joshonthewebquit (Quit: Computer has gone to sleep.)
14:10:46  * MY123quit (Changing host)
14:10:46  * MY123joined
14:10:56  <MY123>hi
14:11:25  * bronsonquit (Ping timeout: 252 seconds)
14:11:25  * shouvikquit (Ping timeout: 252 seconds)
14:11:50  * nofacadejoined
14:12:14  <merpnderp>Is this how you compress a typedarray? var data = zlib.gzipSync(new Buffer(array));
14:12:36  * djmaxquit (Remote host closed the connection)
14:12:54  * shrikrishnaquit (Ping timeout: 260 seconds)
14:13:25  * ozettequit (Ping timeout: 265 seconds)
14:13:34  * djmaxjoined
14:14:24  * mmmveggiesquit (Ping timeout: 276 seconds)
14:14:38  * stelarcfquit (Quit: stelarcf)
14:14:51  * djmax_joined
14:15:26  * phalethjoined
14:16:25  * petershawquit
14:16:32  * jvolkmanquit (Ping timeout: 276 seconds)
14:16:34  * mvenjoined
14:16:55  * tejasvaquit (Remote host closed the connection)
14:17:59  * djmaxquit (Ping timeout: 250 seconds)
14:18:09  * morenoh149joined
14:18:21  * RobinMjoined
14:20:13  * uni`pcquit (Read error: Connection reset by peer)
14:20:44  * Mamutquit (Quit: I cna ytpe 300 wrods pre mniuet!!!)
14:20:49  * uniacid_pcjoined
14:21:05  * jvolkmanjoined
14:21:36  * BigBangUDRquit (Quit: BigBangUDR)
14:21:49  * joshonthewebjoined
14:22:09  * lumusjoined
14:22:10  * jannehjoined
14:23:57  * kaidenjoined
14:24:38  * sankhajoined
14:24:46  * BillCriswelljoined
14:26:04  * cart_manquit (Quit: Page closed)
14:26:09  * BigBangUDRjoined
14:26:16  * jKaideNquit (Ping timeout: 252 seconds)
14:26:17  * djmax_quit (Ping timeout: 276 seconds)
14:26:39  * Sabrinkquit (Ping timeout: 250 seconds)
14:27:04  * jannehquit (Ping timeout: 250 seconds)
14:27:28  * dmarrquit (Ping timeout: 264 seconds)
14:28:23  * Klumbenquit (Ping timeout: 250 seconds)
14:28:36  * shouvikjoined
14:29:00  * BigBangUDRquit (Client Quit)
14:29:04  * al1oquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
14:29:11  * Karasujoined
14:29:18  * IPA`joined
14:30:54  * macabrejoined
14:30:57  * wtrockiquit (Quit: Sleeping.)
14:31:07  * FooMunkiquit (Quit: FooMunki)
14:31:50  * RobinMquit (Quit: RobinM)
14:31:50  * L8Djoined
14:32:02  * scarygelatinjoined
14:32:35  * smokeojoined
14:32:47  * BobGneuquit (Ping timeout: 276 seconds)
14:33:29  * djmaxjoined
14:33:34  * dmarrjoined
14:33:39  * sankhaquit (Remote host closed the connection)
14:33:45  * BobGneujoined
14:34:24  * GreenDogjoined
14:34:26  * k3rryquit (Ping timeout: 250 seconds)
14:34:31  * sankhajoined
14:34:33  * lumusquit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
14:34:41  * wsierociquit (Remote host closed the connection)
14:34:59  * danielemmquit (Quit: My Mac has gone to sleep. ZZZzzz…)
14:35:33  * wtrockijoined
14:35:45  * weemsledeuxjoined
14:36:43  * miquijoined
14:36:53  * craigtaoquit (Remote host closed the connection)
14:37:16  * tejasmanoharquit (Ping timeout: 250 seconds)
14:37:50  * dandamanquit (Quit: Leaving.)
14:38:04  * muthuquit (Quit: Leaving)
14:38:41  * wtrockiquit (Client Quit)
14:38:43  * ozettejoined
14:38:57  * wtrockijoined
14:38:59  * lumusjoined
14:39:00  * emchampjoined
14:39:01  * idefinejoined
14:39:13  * sankhaquit (Remote host closed the connection)
14:39:33  * ozettequit (Client Quit)
14:39:34  * fractingjoined
14:40:11  * ForSparePartsjoined
14:40:16  * FooMunkijoined
14:40:28  * acdarekarjoined
14:40:38  * Sendoushiquit
14:41:03  * jasnelljoined
14:41:21  * leehambleyquit (Ping timeout: 244 seconds)
14:41:43  * harryhquit (Quit: My Mac has gone to sleep. ZZZzzz…)
14:41:46  * sankhajoined
14:41:47  * redoPopjoined
14:41:49  * Swizecjoined
14:41:53  * Swizecquit (Client Quit)
14:41:58  * DevBoxjoined
14:42:01  * MY123quit (Quit: Do fish get thirsty?)
14:42:07  * Swizecjoined
14:42:14  * italoacasasquit (Quit: My Mac has gone to sleep. ZZZzzz…)
14:42:36  * MY123joined
14:42:52  * italoacasasjoined
14:44:10  <acdarekar>I can't register Handlebars helper at https://goo.gl/p2rhNR I'm using grunt for sprite generation using sprity module. Error I receive: >> less-mod not found. error
14:44:11  <acdarekar>>> PluggableError: less-mod not found.
14:44:11  <ecmabot>acdarekar: SyntaxError: missing ; before statement
14:44:12  * dopesongjoined
14:44:33  * dopesongquit (Remote host closed the connection)
14:44:47  * dopesongjoined
14:46:21  * liamonadequit (Quit: Leaving)
14:46:25  * grillchanged nick to g____
14:46:54  * redoPopquit (Ping timeout: 276 seconds)
14:47:08  * lordjancsoquit (Quit: Leaving)
14:47:10  * lumusquit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
14:47:30  * zwaragjoined
14:47:32  * mven_joined
14:47:44  * shouvikquit (Ping timeout: 265 seconds)
14:47:46  * lumusjoined
14:47:59  * k3rryjoined
14:48:24  * dandamanjoined
14:48:34  * mvenquit (Ping timeout: 240 seconds)
14:48:58  * ForSparePartsquit (Quit: ForSpareParts)
14:49:10  * danielemmjoined
14:49:22  * shouvikjoined
14:50:18  * geofflanjoined
14:50:24  * diamondsquit (Read error: Connection reset by peer)
14:50:44  * khushildepquit (Remote host closed the connection)
14:51:00  * jjidoquit (Remote host closed the connection)
14:51:07  * bit2017quit (Ping timeout: 265 seconds)
14:51:08  * Muimijoined
14:51:24  * diamondsjoined
14:52:13  * k3rryquit (Ping timeout: 250 seconds)
14:52:57  * ForSparePartsjoined
14:53:28  * Mantas7776_changed nick to Mantas7776
14:53:45  * shouvikquit (Ping timeout: 244 seconds)
14:54:40  * aregeejoined
14:55:13  * BobGneuquit (Remote host closed the connection)
14:55:53  * jjidojoined
14:56:04  * DevBoxquit (Ping timeout: 260 seconds)
14:57:08  * lumusquit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
14:58:47  * shrikrishnajoined
14:58:55  * scippioquit (Ping timeout: 244 seconds)
14:59:12  * panpainterquit (Remote host closed the connection)
14:59:44  * panpainterjoined
14:59:44  * shouvikjoined
15:00:01  * bhughesquit (Ping timeout: 250 seconds)
15:00:22  * italoacasasquit (Quit: My Mac has gone to sleep. ZZZzzz…)
15:00:31  * bhughesjoined
15:01:00  * panpainterquit (Remote host closed the connection)
15:01:06  * panpainterjoined
15:01:13  * thinkt4nkjoined
15:01:35  * italoacasasjoined
15:01:50  * dopesongquit (Remote host closed the connection)
15:02:34  * nnyk_joined
15:02:43  * khushildepjoined
15:02:51  * jphasequit (Remote host closed the connection)
15:02:54  * jeff_hjoined
15:03:28  * RobinMjoined
15:04:06  * shouvikquit (Ping timeout: 246 seconds)
15:05:45  * jphasejoined
15:06:29  * xalljoined
15:06:33  * ecuanasoquit (Quit: My Mac has gone to sleep. ZZZzzz…)
15:07:11  * K4Tquit (Ping timeout: 244 seconds)
15:07:32  * drptbljoined
15:07:33  * jeff_hquit (Ping timeout: 265 seconds)
15:07:40  * ecuanasojoined
15:07:50  * scippiojoined
15:09:26  * rmgjoined
15:09:32  * diegoaguilarjoined
15:10:01  * mmmveggiesjoined
15:10:02  * RobinMquit (Quit: RobinM)
15:10:10  * solf1re2quit (Quit: Leaving)
15:10:13  * oconnorct1joined
15:10:25  * diegoaguilarquit (Max SendQ exceeded)
15:10:38  * kegsterquit (Quit: Shiner, TX makes good beer.)
15:10:45  * drptbl_quit (Ping timeout: 246 seconds)
15:10:58  * jkridnerquit (Remote host closed the connection)
15:11:00  * diegoaguilarjoined
15:11:02  * magicantlerjoined
15:11:17  * kegsterjoined
15:11:25  * xallquit (Ping timeout: 265 seconds)
15:11:37  * IPA`quit (Remote host closed the connection)
15:12:43  * idefine_joined
15:12:47  * ecuanasoquit (Quit: My Mac has gone to sleep. ZZZzzz…)
15:13:07  * al1ojoined
15:13:23  * aregeequit (Ping timeout: 244 seconds)
15:14:22  * rmgquit (Ping timeout: 260 seconds)
15:14:25  * idefinequit (Ping timeout: 244 seconds)
15:14:27  * magicantlerquit (Remote host closed the connection)
15:14:40  * magicantlerjoined
15:14:56  * mmmveggiesquit (Ping timeout: 244 seconds)
15:15:08  * ecuanasojoined
15:15:50  * idefinejoined
15:16:31  * vincentcrjoined
15:17:27  * idefine_quit (Ping timeout: 276 seconds)
15:17:38  * shrikrishnaquit (Ping timeout: 276 seconds)
15:17:44  * asteelejoined
15:18:10  * horseyjoined
15:18:41  * shouvikjoined
15:19:04  * dmtojoined
15:19:11  * liamonadejoined
15:19:25  * JarFullofWainThrquit (Read error: Connection reset by peer)
15:19:52  * JarFullofWainThrjoined
15:19:56  * jjidoquit (Remote host closed the connection)
15:20:19  * pfg_quit (Read error: Connection reset by peer)
15:20:24  * liuwenhaojoined
15:20:30  * lumusjoined
15:20:42  * _xorquit (Read error: Connection reset by peer)
15:20:47  * pfg_joined
15:20:49  * vincentcrquit (Ping timeout: 250 seconds)
15:20:56  * boogaquit (Read error: Connection reset by peer)
15:20:59  * Swizecquit (Read error: Connection reset by peer)
15:21:09  * _xorjoined
15:21:20  * jr3quit (Read error: Connection reset by peer)
15:21:30  * boogajoined
15:21:32  * Swizecjoined
15:21:45  * jr3joined
15:21:58  * kevireillyquit (Read error: Connection reset by peer)
15:21:58  * pringlescanquit (Read error: Connection reset by peer)
15:22:16  * pringlescanjoined
15:22:30  * neanderslobquit (Quit: No Ping reply in 180 seconds.)
15:22:36  * mourajoined
15:22:41  <christo_m>joepie91: you around?
15:22:41  * wtrockiquit (Quit: Sleeping.)
15:22:45  <christo_m>how exactly does bhttp session work
15:22:56  * wtrockijoined
15:23:16  <christo_m>im getting an issue with { [Error: Parse Error] bytesParsed: 117, code: 'HPE_INVALID_HEADER_TOKEN' }
15:23:18  * matt_mquit (Ping timeout: 276 seconds)
15:23:22  * DragonPunchquit (Read error: Connection reset by peer)
15:23:25  <christo_m>im not sure whats modifying the headers to break the node http parser.
15:23:43  * __main__quit (Ping timeout: 260 seconds)
15:23:43  * Deeewaynequit (Ping timeout: 244 seconds)
15:23:53  * fractingquit (Read error: Connection reset by peer)
15:23:57  * githogoriquit (Ping timeout: 276 seconds)
15:24:01  * neanderslobjoined
15:24:04  * phil23quit (Ping timeout: 260 seconds)
15:24:36  * Deeewaynejoined
15:24:39  * matt_mjoined
15:24:42  * staticshockjoined
15:25:00  * __main__joined
15:25:26  * mmmveggiesjoined
15:25:34  * shouvikquit (Ping timeout: 240 seconds)
15:25:36  * NashDevjoined
15:25:39  * NashDevpart
15:25:56  * noethicsquit (Remote host closed the connection)
15:26:18  * daviquit (Ping timeout: 244 seconds)
15:26:22  * knksmith57joined
15:26:28  * kevireillyjoined
15:26:34  * githogorijoined
15:26:35  * githogoriquit (Max SendQ exceeded)
15:26:39  * noethicsjoined
15:27:15  * panpainterquit (Remote host closed the connection)
15:27:45  * panpainterjoined
15:27:51  <joepie91>christo_m: around-ish, and can you show code?
15:28:08  <joepie91>the session is just some merging and cookie jar creation
15:28:17  <joepie91>not a lot of bug surface
15:28:38  <al-damiri>Any resources that explains how to work with event emitters and promises?
15:28:49  * dodobrainquit (Ping timeout: 265 seconds)
15:28:50  * mvenjoined
15:29:00  <al-damiri>Is the proper way to promisify the event emitter?
15:29:17  <joepie91>al-damiri: what kind of event emitter? promises and event emitters fulfill different roles, generally
15:29:28  <joepie91>where a promise is for stuff that resolves or rejects precisely once
15:29:35  <joepie91>and an event emitter is for stuff that happens zero or more times
15:29:39  <uber-hulk>yeah^
15:29:48  * Deeewaynequit (Ping timeout: 276 seconds)
15:29:53  <joepie91>of course -some- stuff like core `http` does this wrong.. :P
15:30:02  <al-damiri>joepie91: the module csv-parse has Stream API for pasing CSVs.
15:30:03  * mven_quit (Ping timeout: 240 seconds)
15:30:05  * fcanelajoined
15:30:05  * fcanelaquit (Changing host)
15:30:05  * fcanelajoined
15:30:48  <al-damiri>this one: http://csv.adaltas.com/parse/
15:30:59  <al-damiri>I don't know kind of event emitter that is. : )
15:31:01  <joepie91>okay, and you are trying to...?
15:31:13  <al-damiri>Parse CSV, then insert into DB.
15:31:23  <joepie91>so what you're looking for is 'stream ended'?
15:31:27  * sankhaquit (Remote host closed the connection)
15:31:30  <al-damiri>Yes.
15:31:51  <joepie91>hold
15:32:04  * zumba_addictjoined
15:32:19  * Ululusjoined
15:32:37  <al-damiri>I'll probably be doing the inserts in batches and linearly because the DynamoDB throughput capacity would exceed etc. so there will be some rate limiting logic thrown in between.
15:32:39  <al-damiri>ok.
15:32:56  * Venemo_jjoined
15:32:59  * yosuke_furukawaquit (Read error: Connection reset by peer)
15:33:03  * zchrykngquit (Ping timeout: 240 seconds)
15:33:14  * jdennquit (Quit: Leaving)
15:33:24  <joepie91>al-damiri: you could promisify https://www.npmjs.com/package/end-of-stream
15:33:30  * Venemoquit (Quit: Communi 3.5.0 - http://communi.github.com)
15:33:35  <joepie91>there's probably a native promises version also
15:33:37  <joepie91>but no idea where
15:33:50  <al-damiri>native promises version for what?
15:33:58  * telegajoined
15:34:05  <joepie91>al-damiri: "return promise that resolves/rejects when stream is done"
15:34:12  <al-damiri>understood.
15:34:14  * Mikeysaucequit (Remote host closed the connection)
15:34:19  <joepie91>but promisifying this should work either way
15:34:32  <joepie91>al-damiri: also, potentially useful: https://www.npmjs.com/package/promise-task-queue
15:34:39  <joepie91>for the rate limiting stuff
15:34:44  * Mikeysaucejoined
15:35:00  * idefinequit (Read error: Connection reset by peer)
15:35:03  <al-damiri>joepie91: That's fantastic : )
15:35:04  * wsierocijoined
15:35:04  * Arguejoined
15:35:06  <al-damiri>Thanks.
15:35:13  * Ryukenjoined
15:35:51  * idefinejoined
15:36:46  <Ryuken>Hello anyone know why my array won't map even though it shows up on the console log as an array? It's a resolved promise returned from a restful ajax get
15:37:56  <hipsterslapfight>is it definitely not a string that looks like an array?
15:38:06  <Ryuken>Yes
15:38:20  <hipsterslapfight>without seeing the code i can't make more guesses
15:38:29  <joepie91>me is betting on JSON
15:38:30  <joepie91>er
15:38:32  * joepie91is betting on JSON
15:38:59  * hextileXjoined
15:38:59  * SuperHansjoined
15:39:04  * edavisquit (Remote host closed the connection)
15:39:12  * SuperHansquit (Remote host closed the connection)
15:39:27  * wsierociquit (Ping timeout: 250 seconds)
15:39:43  * SuperHansjoined
15:39:55  * asdf12z_joined
15:40:20  * yosuke_furukawajoined
15:40:49  <Ryuken>joepie91, can that still be JSON? http://i.imgur.com/VWYOFUf.png
15:40:51  * GreenDogquit (Remote host closed the connection)
15:41:00  * SuperHansquit (Remote host closed the connection)
15:41:30  * panpainterquit (Remote host closed the connection)
15:41:36  * panpainterjoined
15:41:47  * Literphorjoined
15:42:01  <joepie91>Ryuken: hm, no.
15:42:03  * emchampquit (Ping timeout: 250 seconds)
15:42:09  <joepie91>Ryuken: so you said it "won't map"
15:42:12  <joepie91>but what do you mean with that?
15:42:16  <joepie91>what *does* it do?
15:42:17  * Deeewaynejoined
15:42:19  <Ryuken>Yes when I try to map it says Cannot read property 'map' of undefined promise
15:42:20  * lumusquit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
15:42:33  * redoPopjoined
15:42:36  <joepie91>can you gist the code and the full error with stacktrace?
15:42:42  <Ryuken>ie if the var is "data" that I'm console logging, if I do data.map it won't map
15:42:50  <Ryuken>It's a big codebase
15:43:01  <joepie91>that should hopefully not matter :)
15:43:05  * asdf12z_part
15:43:11  <joepie91>unless it's all in one giant file...
15:43:13  * fractingjoined
15:43:36  <christo_m>joepie91: i dont have any code
15:43:56  * GreenDogjoined
15:43:59  <joepie91>christo_m: then you don't have an error :P
15:44:17  * wtrockiquit (Quit: Sleeping.)
15:44:44  * GreenDogquit (Remote host closed the connection)
15:44:46  * telegaquit (Ping timeout: 265 seconds)
15:44:47  <christo_m>joepie91: the thing is there are so many variables
15:44:48  <christo_m>including rackspace
15:44:55  <christo_m>i suspect their load balancer is doing something fucked
15:45:05  <joepie91>christo_m: regardless, something is causing the issue
15:45:10  * diegoaguilarquit (Remote host closed the connection)
15:45:11  <joepie91>some code somewhere
15:45:18  <myndzi>such insight :P
15:45:20  <joepie91>I can't say anything useful without seeing that code
15:45:25  <Ryuken>joepie91: Is it okay if I PM you the link?
15:45:33  <joepie91>Ryuken: sure, if necessary
15:45:48  * roflmyeggojoined
15:46:16  * horseyquit (Remote host closed the connection)
15:46:20  <joepie91>okay, so where is the error occurring in that code?
15:46:22  * stelarcfjoined
15:46:28  <joepie91>@ Ryuken
15:46:45  <joepie91>line 43?
15:47:27  * whathappensjoined
15:47:37  * redoPopquit (Ping timeout: 260 seconds)
15:47:47  <Ryuken>joepie91: Well I took out the code that passed that, but yes
15:48:06  <christo_m>joepie91: googilng that error leads to nothing though
15:48:11  <Ryuken>Lets say nothing was in that function and I did the data that was passed and .map
15:48:22  <christo_m>i was just curious if using session can manipulate the headers aside from what you specify yourself.
15:48:25  <Ryuken>it would return Cannot read property 'map' of undefined promise
15:48:36  <Ryuken>But if I console.log it, it will show up fine on console
15:48:42  * wtrockijoined
15:48:53  <joepie91>Ryuken: if you console.log what variable, specifically?
15:48:55  <Ryuken>joepie91: There is a loading check in line 97
15:48:57  * FunnyLookinHatjoined
15:48:58  * FunnyLookinHatquit (Changing host)
15:48:58  * FunnyLookinHatjoined
15:49:12  <Ryuken>Fetched.resource
15:49:15  * Tennisquit (Read error: Connection reset by peer)
15:49:40  <joepie91>Ryuken: but that isn't what line 43 is operating on
15:49:44  * Tennisjoined
15:49:57  * idefinequit (Ping timeout: 246 seconds)
15:50:00  <joepie91>in fact that method isn't being called from anywhere
15:50:02  <joepie91>as far as I can tell
15:50:04  <Ryuken>joepie91: It's not, at the moment, it's not even being called, I took that code out
15:50:11  <Ryuken>And replaced it with console the log
15:50:21  <joepie91>... ok, so can you show me the code that is causing the actual problem
15:50:29  <joepie91>there's no point in me trying to debug code that isn't broken :P
15:50:50  * idefinejoined
15:51:23  * magicantlerquit (Remote host closed the connection)
15:51:27  * SET001quit (Read error: Connection reset by peer)
15:51:37  * horseyjoined
15:51:53  * SET001joined
15:52:17  * magicantlerjoined
15:52:19  * idefinequit (Remote host closed the connection)
15:52:30  * sehropejoined
15:52:36  <Ryuken>joepie91: Okay, now line 97 and 43
15:53:22  <joepie91>christo_m: anyhow, session just merges in the session-specified headers and the request-specific headers, plus a cookie header if there are any to send. that's it
15:53:38  <christo_m>joepie91: hmm, so its possible something is returning some malformed shit
15:54:04  * Coldblackicejoined
15:54:12  <joepie91>Ryuken: where does the ...Fetched.isLoading come from?
15:54:13  * robh71joined
15:54:24  <christo_m>actually no that would be response headers
15:54:26  * scippioquit (Quit: Leaving.)
15:54:39  <Ryuken>joepie91: Redux reducer
15:54:39  * jphasequit (Remote host closed the connection)
15:54:39  <joepie91>man, so many levels of indirection here :/
15:54:44  <joepie91>okay...
15:55:03  * momoterrawjoined
15:55:07  * jphasejoined
15:55:50  <joepie91>Ryuken: `townshipObjects instanceof Promise` -> what does this log?
15:56:23  * tvwquit (Remote host closed the connection)
15:57:07  * idefinejoined
15:57:18  * idefinequit (Remote host closed the connection)
15:57:45  * idefinejoined
15:57:58  * robertmaxreesjoined
15:57:58  * sbellinajoined
15:58:27  <Ryuken>joepie91: false, I think
15:58:34  <joepie91>Ryuken: you.. think?
15:59:24  <Ryuken>joepie91: Well not that I've gotten rid of the other console logs, I'm sure
15:59:32  <Ryuken>now*
15:59:46  * momoterrawquit (Ping timeout: 252 seconds)
15:59:51  <joepie91>then I have no idea what's going on
15:59:55  * brainproxyjoined
16:00:06  * GreenDogjoined
16:01:03  * jonnybrojoined
16:01:06  <Ryuken>joepie91: It doesn't make any logical sense to me :(
16:01:08  * brandon1joined
16:01:16  * GreenDogquit (Remote host closed the connection)
16:01:21  * panpainterquit
16:02:51  * panpainterjoined
16:03:39  * jeff_hjoined
16:04:01  * rmgjoined
16:04:06  * acdarekarquit (Quit: Leaving)
16:06:09  * _MysTjoined
16:06:19  * antiPoPjoined
16:06:55  * wsierocijoined
16:07:02  * Swizecquit (Quit: Computer has gone to sleep.)
16:07:19  <Ryuken>clear
16:07:44  * Swizecjoined