00:00:01  * ircretaryquit (Remote host closed the connection)
00:00:09  * ircretaryjoined
00:00:14  * stagasquit (Ping timeout: 245 seconds)
00:00:16  * acidandyjoined
00:00:21  * NodeNagantquit (Remote host closed the connection)
00:00:28  * ericfquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:00:44  <jumanji>i am using celery right now
00:00:53  * NodeNagantjoined
00:02:03  <tracker1>I don't know enough about celery to be honest.
00:02:46  * spoluquit (Ping timeout: 265 seconds)
00:02:50  * genediazjrjoined
00:03:07  * thekeyjoined
00:03:33  * JohnBealesjoined
00:03:37  <tracker1>would celery groups/chains work?
00:04:02  <j4s0n>Do you give gifts on Christmas?
00:04:07  * jmar777joined
00:04:09  * shadok_joined
00:04:14  <jumanji>tracker1 i think so im asking on there right now
00:04:17  * ADreWilliamsquit (Ping timeout: 240 seconds)
00:04:43  * settingheadquit (Read error: Connection reset by peer)
00:04:46  * genediazjrquit (Read error: Connection reset by peer)
00:05:06  * genediazjrjoined
00:05:15  * jduhlsjoined
00:05:20  * RainbDedjoined
00:05:31  * Mart112358quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:05:33  * NodeNagantquit (Ping timeout: 250 seconds)
00:05:40  * Rainbquit (Read error: Connection reset by peer)
00:05:46  <j4s0n>Is ludvic on channel?
00:06:06  * NBhostingjoined
00:06:29  * ADreWilliamsjoined
00:07:22  * alinoujoined
00:07:23  * it0ajoined
00:07:47  * shadokquit (Ping timeout: 245 seconds)
00:08:32  * Mart112358joined
00:08:36  * shampinejoined
00:09:07  * settingheadjoined
00:09:14  * shakinhandzjoined
00:09:17  * genediazjrquit (Ping timeout: 240 seconds)
00:09:30  * prbcjoined
00:09:44  * shadok_changed nick to shadok
00:10:05  * rhoquit (Ping timeout: 258 seconds)
00:10:17  * jmar777quit (Ping timeout: 240 seconds)
00:10:20  <j4s0n>ends do not justify the means
00:10:42  * it0aquit (Client Quit)
00:10:44  * dshaw_quit (Remote host closed the connection)
00:11:01  * Guest71475quit (Remote host closed the connection)
00:11:01  * it0ajoined
00:11:02  * tuxgabopart
00:11:06  * iarnajoined
00:11:08  * dshaw_joined
00:11:38  * dshaw_quit (Remote host closed the connection)
00:11:43  * systemfaultjoined
00:11:48  <regreddit>aitiba, NMI
00:11:56  * mattmcclurequit (Quit: Connection closed for inactivity)
00:12:03  * dshaw_joined
00:12:36  * mlovelessjoined
00:12:46  * mlovelessquit (Remote host closed the connection)
00:12:49  * athanjoined
00:12:52  * tiglionabbitjoined
00:13:02  * mlovelessjoined
00:13:07  <JamieDimon>Is there a way to use Moment to represent time of day with timezone?
00:13:46  <regreddit>JamieDimon, wat
00:14:17  * settingheadquit (Remote host closed the connection)
00:14:25  * EhevuTovquit (Quit: This computer has gone to sleep)
00:15:00  <gildean>JamieDimon: http://momentjs.com/timezone/
00:15:06  * settingheadjoined
00:15:39  <JamieDimon>regreddit: I'd like a library (or to use moment itself) to handle time with timezone, allowing me to convert local time (10:00) to UTC time 5:00. So exactly like moment-timezone, but without having a date.
00:15:55  * mndyncljoined
00:15:58  <RLa>you can use js's Date too
00:16:10  * JohnBealesquit (Quit: Computer has gone to sleep.)
00:16:34  * JohnBealesjoined
00:16:46  * RainbDedquit (Ping timeout: 255 seconds)
00:16:46  * jumanjipart ("(Byrd IRC Client // haxed.net)")
00:16:50  * JohnBealesquit (Client Quit)
00:17:14  <RLa>just set some fixed date for year/month/day
00:17:19  * antons_quit (Quit: This computer has gone to sleep)
00:17:25  * gurke_quit (Quit: Textual IRC Client: www.textualapp.com)
00:17:32  <JamieDimon>Actually, this seems impossible because without the date, how can it know the offset? (DST rules).
00:17:45  * cocoadaemonquit (Ping timeout: 265 seconds)
00:17:48  <RLa>hm, lol, indeed
00:18:03  <regreddit>yeah, you have to have date
00:18:17  * settingheadquit (Read error: Connection reset by peer)
00:18:25  * pmooneyjoined
00:18:28  <JamieDimon>So I will have to store the local time, then not do the conversion to UTC until I know the date.
00:18:40  <regreddit>'store local time'
00:18:50  <regreddit>do you not know date when that happens?
00:19:11  * vassagusquit
00:19:14  <RLa>JamieDimon, is there a reason you cannot store full dates?
00:19:18  <regreddit>or is this a user entered field?
00:19:40  <RLa>JamieDimon, i would store all dates in UTC and then convert when displaying
00:20:22  * mtsrjoined
00:20:48  * ctorpquit (Remote host closed the connection)
00:21:15  * mspierchanged nick to mspier|away
00:21:22  <JamieDimon>RLa: I am storing a time of day, by itself, in a column on the table. The date is determined differently based on which user it is being sent to, so I don't know the full date.
00:21:26  * pickelsquit (Read error: Connection reset by peer)
00:21:32  * Rainbjoined
00:22:08  <JamieDimon>So I think I should store the time of day with in its local timezone, then do the conversion to UTC when I know the date.
00:22:10  * lloyddejoined
00:22:19  * dshaw_quit (Remote host closed the connection)
00:22:38  * dshaw_joined
00:22:39  * jaequeryquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:22:54  <RLa>JamieDimon, was there a reason for such design?
00:23:17  * antons_joined
00:23:23  * tkuchikijoined
00:23:42  * dshaw_quit (Client Quit)
00:24:09  * akivajoined
00:24:27  <gildean>if you store the dates as ms from epoch and then create Date-objects out of them on the client-side, the resulting date will be in the timezone of the client
00:24:47  * iarnaquit (Remote host closed the connection)
00:25:30  <JamieDimon>RLa: Well, we have a message that is supposed to go out at a certain time of day on day X, where X could be any date. I don't see how I can store the full date in advance.
00:26:07  * captain_morganquit (Ping timeout: 245 seconds)
00:26:10  * r3nd_quit (Read error: Connection reset by peer)
00:26:25  * gratimax|awaychanged nick to gratimax
00:26:26  * lloyddequit (Ping timeout: 250 seconds)
00:26:34  * cultherojoined
00:26:34  * genediazjrjoined
00:26:40  * harthurquit (Remote host closed the connection)
00:27:15  <RLa>JamieDimon, but timezone is not known when date is entered?
00:27:27  * kid_icarusjoined
00:27:34  * jjmalinaquit (Quit: Textual IRC Client: www.textualapp.com)
00:27:35  <RLa>i can imagine it's some kind of scheduling system
00:27:59  <JamieDimon>RLa: Timezone is known when date is entered, yes.
00:28:05  * tkuchikiquit (Ping timeout: 255 seconds)
00:28:11  <JamieDimon>Yes, it is.
00:28:47  * mtsrquit (Quit: This computer has gone to sleep)
00:28:50  * Geekingfrogjoined
00:28:52  * kriskowaljoined
00:29:05  * ctorpjoined
00:29:09  * phishyquit (Quit: Connection closed for inactivity)
00:29:22  * Mart112358quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:29:26  * Aerosparkquit (Remote host closed the connection)
00:29:38  * cakirkequit (Quit: cakirke)
00:29:54  <JamieDimon>So I guess I interpret the timezone and convert to UTC when I get the date (which could be months after the desired time of day was entered).
00:30:20  * cagedwisdomquit (Remote host closed the connection)
00:30:40  * r3ndjoined
00:30:48  * cultheroquit (Remote host closed the connection)
00:30:49  * t1joined
00:31:01  * ren_hoekjoined
00:31:07  * bender_unitquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:31:13  * NodeNagantjoined
00:31:39  * genediazjrquit (Remote host closed the connection)
00:32:18  * kriskowalquit (Client Quit)
00:32:28  * drawingthesunjoined
00:33:13  * ncthom91joined
00:33:47  <ncthom91>hey all. Is it possible to stream data over the IPC channel that node automatically create with `child_process.fork` without manually passing data chunks via `process.send` and `process.on('message'`?
00:33:47  * drawingthesunquit (Max SendQ exceeded)
00:34:14  * sunsonjoined
00:34:19  * Lingosjoined
00:34:39  * drawingthesunjoined
00:35:03  * prbcquit (Remote host closed the connection)
00:35:23  * mtsrjoined
00:35:33  <RLa>ncthom91, what's wrong with those?
00:35:41  * Rchristianijoined
00:35:46  * weiluquit (Ping timeout: 256 seconds)
00:35:53  * ren_hoekquit (Ping timeout: 264 seconds)
00:35:58  <ncthom91>RLa nothing, it
00:36:05  * j4s0nmchr1st0sjoined
00:36:11  <ncthom91>it would just be nice to include it in `pipe` chains
00:36:15  <RLa>process.on creates multiple events for single message?
00:36:19  <RLa>hm
00:36:26  * kriskowaljoined
00:36:28  * iarnajoined
00:36:28  * wallerdevquit (Quit: wallerdev)
00:36:33  <ningu>ncthom91: "Please note that the send() method on both the parent and child are synchronous - sending large chunks of data is not advised (pipes can be used instead, see child_process.spawn)."
00:37:06  * _yoy_quit (Ping timeout: 255 seconds)
00:37:13  * Peder_quit (Remote host closed the connection)
00:37:14  * brianloveswordsquit (Quit: Computer has gone to sleep.)
00:37:28  <ncthom91>ningu hm good catch. I guess the docs are suggesting pipe over stdio?
00:37:30  * forssjoined
00:37:32  <ningu>yes
00:38:11  * Xatenevquit (Quit: Leaving.)
00:38:37  * Bonuspunktjoined
00:38:46  * prbc_joined
00:38:56  * lloydde_quit (Remote host closed the connection)
00:38:57  <ncthom91>yea, `send` also automatically JSON encodes/decodes
00:38:57  * Lingosquit (Ping timeout: 265 seconds)
00:38:58  <RLa>ningu, cant you also send custom sockets/file descriptors over ipc?
00:39:01  <ncthom91>that's synchronous and can be slow
00:39:21  <RLa>would open separate file besides stdio
00:39:30  * _yoy_joined
00:39:38  <RLa>hm, but if stdio is not used for anything else then why not use it
00:39:43  * Aerosparkjoined
00:40:09  <RLa>for stdio you would have to convert to json too
00:40:14  * Rchristianiquit (Ping timeout: 245 seconds)
00:40:14  * brianloveswordsjoined
00:40:22  * Bonuspunkquit (Ping timeout: 258 seconds)
00:40:30  * manuelbiehquit (Read error: Connection reset by peer)
00:40:44  * NoNMaDDeNjoined
00:40:45  * SergioFilhowjoined
00:40:55  <ncthom91>RLa well i could use my own encoding/decoding format, or, for example, if I know the result is just one big string or something, I don't have to encode/decode at all
00:41:04  * Zyrriquit (Ping timeout: 255 seconds)
00:41:23  <merobertsjr>@sehrope, spoke too soon, now I cant access the variables with process.env.VARIABLENAME
00:42:02  * forssquit (Ping timeout: 250 seconds)
00:42:10  <merobertsjr>I can see the variable is set using export, but node sees the variable as undefined...
00:42:25  * didpulquit (Quit: Saliendo)
00:42:32  * KennyLeequit
00:42:33  * Mart112358joined
00:42:41  * Mart112358quit (Client Quit)
00:43:18  * richiebkrquit (Remote host closed the connection)
00:43:57  * mrwakkojoined
00:44:13  * prbc_quit (Remote host closed the connection)
00:44:16  * t1quit
00:44:23  * Zyrrijoined
00:44:44  <mrwakko>What is faster node or ruby
00:44:51  * wraithgarquit (Quit: Leaving)
00:45:13  * Swizecquit (Quit: Computer has gone to sleep.)
00:45:14  * SergioFilhowquit (Ping timeout: 265 seconds)
00:45:32  * tranzfusequit (Remote host closed the connection)
00:45:33  <RLa>google for benchmarks
00:45:33  * oieesahquit (Quit: EliteBNC - http://elitebnc.org (Auto-Removal: idle account/not being used))
00:45:57  * genediazjrjoined
00:47:17  * cellviaquit
00:47:32  * joaofelixjoined
00:47:35  * ncthom91quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:48:01  * Mart112358joined
00:48:09  * alinouquit (Quit: Leaving)
00:48:17  * sputnik13quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…)
00:48:21  * phuhquit (Read error: Connection reset by peer)
00:48:23  * tracker1quit
00:48:28  * Mart112358quit (Client Quit)
00:48:39  <ningu>mrwakko: I doubt you can answer that question in the abstract. my impression is that node is faster for i/o-bound tasks (not too surprising, as that's what it's designed for)
00:48:46  * phuhjoined
00:49:09  * prbcjoined
00:49:21  <mrwakko>cool i don't like ruby for loops but the block mode is nice
00:49:38  <ningu>huh?
00:50:02  <Streemo>wont es6 have blocks or am i completley wrong
00:50:39  <Streemo>oh maybe im thinking of those wierd string template tihngys
00:50:42  <Streemo>nvm
00:50:42  <mrwakko>I have just switched from ruby
00:50:57  <mrwakko>i will look it up thanks
00:51:08  <Streemo>me? dude i dont know what im talking about
00:51:44  * danemacmillanjoined
00:51:46  * iAmerikanjoined
00:51:58  <athan>mrwakko: What performance needs do you have? Are you running rails?
00:52:20  <athan>rails is usually pretty slow and you have to compensate with caching layers. Node is pretty fast, but single threaded
00:52:38  <athan>you might want to dig into Go or some futuristic PHP stuff like laravel
00:52:57  * prbcquit (Remote host closed the connection)
00:53:13  <mrwakko>I used to run a site for my sister online bookings etc
00:53:18  * leprosysquit (Quit: exit0)
00:53:23  <giuseppesolinas>I'm declaring some global variables inside a config file, they are available in some files and not in others, what could it be?
00:53:24  * sputnik13joined
00:53:33  * Tugjoined
00:53:42  * reqsharkquit (Quit: Be back later ...)
00:53:50  * chindleyquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:54:02  <ningu>giuseppesolinas: use exports, not globals
00:54:32  <giuseppesolinas>the files are included in the same way
00:54:39  * ^Denisquit (Quit: This computer has gone to sleep)
00:54:44  * joaofelixquit (Quit: Textual IRC Client: www.textualapp.com)
00:55:01  <giuseppesolinas>ningu, do I have to type myfile.var everytime?
00:55:03  * ^Denisjoined
00:55:05  * kriskowalquit (Ping timeout: 255 seconds)
00:55:32  * ^Denisquit (Client Quit)
00:55:49  * captain_morganjoined
00:56:02  * Starduster_joined
00:56:23  * jarrod_quit (Remote host closed the connection)
00:56:30  <giuseppesolinas>ningu, if I use exports I get Cannot find module
00:56:34  <ningu>giuseppesolinas: that is the norm, yes
00:56:38  <ningu>well then you are doing something wrong :P
00:56:49  * brianloveswordsquit (Quit: Computer has gone to sleep.)
00:57:18  * Lingosjoined
00:57:21  * night-owlchanged nick to zz_night-owl
00:57:26  <giuseppesolinas>ningu, does the file that exports have to feature some special code?
00:57:27  * settingheadjoined
00:57:30  * bopart ("Leaving")
00:57:36  <giuseppesolinas>apart from exports.myVar
00:57:41  <ningu>no
00:57:45  * lloyddejoined
00:57:45  <jesusabdullah>Friends, what does TC stand for?
00:57:50  * ryan_stevensjoined
00:57:59  <giuseppesolinas>ningu, it just doesn't find the file
00:58:14  <ningu>giuseppesolinas: then maybe you are require'ing the wrong path
00:58:21  <giuseppesolinas>is there a limit to the files in which I can use the same variable?
00:58:22  <athan>is there a way to create unlabeled options for optparse-applicative?
00:58:26  <ningu>no
00:58:28  * mrwakkoquit (Quit: Leaving)
00:58:30  <athan>oop, sorry wrong chan
00:58:31  * merobertsjrquit (Quit: Be back later ...)
00:58:50  * Mart112358joined
00:58:57  * Stardusterquit (Ping timeout: 240 seconds)
00:59:11  * xiinotulpchanged nick to plutoniix
00:59:12  <giuseppesolinas>ningu, the path is the same in another file and I don't get the error
00:59:23  <ningu>giuseppesolinas: you have to use the relative path to the file
00:59:31  <ningu>the two files could be in different places
00:59:33  * Mart112358quit (Client Quit)
00:59:37  * zz_night-owlchanged nick to night-owl
00:59:38  <giuseppesolinas>I require it in two files in the same directory, in one works, in the other not
00:59:55  <ningu>you must be doing something different
00:59:56  * gsd_joined
01:00:09  * netjquit (Ping timeout: 250 seconds)
01:00:12  <giuseppesolinas>ningu, I know, but I can't figure out what
01:00:17  <ningu>giuseppesolinas: gist the code?
01:00:32  <giuseppesolinas>ningu, I would have to gist the whole application
01:00:41  <ningu>that doesn't make sense
01:00:41  * netjjoined
01:00:48  * robbyoconnorquit (Read error: Connection reset by peer)
01:00:48  * forssjoined
01:00:49  <ningu>just gist the two or three files you are talking about
01:00:50  <ningu>and their paths
01:00:50  <giuseppesolinas>I use a relative path like ('../myfile.js')
01:00:58  * prbcjoined
01:01:17  * gsdquit (Read error: Connection reset by peer)
01:01:17  * mtsrquit (Quit: This computer has gone to sleep)
01:01:42  * wallerdevjoined
01:01:49  * weilujoined
01:01:51  * settingheadquit (Ping timeout: 255 seconds)
01:01:51  * forssquit (Remote host closed the connection)
01:01:55  * Underbytejoined
01:01:57  * kazupon_joined
01:02:10  * lloyddequit (Ping timeout: 244 seconds)
01:02:24  * chrisshattuckquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:02:37  * forssjoined
01:03:07  * rayaslokasquit (Remote host closed the connection)
01:03:40  * forssquit (Remote host closed the connection)
01:04:28  <Geekingfrog>jesusabdullah, a bit of context maybe?
01:04:34  * forssjoined
01:04:48  * NodeNagantquit (Remote host closed the connection)
01:04:57  * prbcquit (Ping timeout: 240 seconds)
01:05:18  * NodeNagantjoined
01:05:23  * wartdevquit
01:05:30  * forssquit (Remote host closed the connection)
01:05:52  * tmh1999joined
01:06:01  * kazupon_quit (Remote host closed the connection)
01:06:13  * brianloveswordsjoined
01:06:16  * rawGemjoined
01:06:18  * r01010010quit (Quit: r01010010)
01:06:23  * forssjoined
01:06:40  * cultherojoined
01:06:46  * bbankesjoined
01:07:06  * rawGemchanged nick to sliceberg
01:07:19  * forssquit (Remote host closed the connection)
01:07:52  * aitibaquit (Remote host closed the connection)
01:08:07  * rayaslok_joined
01:08:10  * forssjoined
01:08:33  <jesusabdullah>Geekingfrog: from suggested governance guidelines
01:08:45  * kazuponjoined
01:08:58  * TheEddyFerreiraquit (Quit: TheEddyFerreira)
01:09:07  * forssquit (Remote host closed the connection)
01:09:14  <Geekingfrog>governance guidelines: you mean political regulations?
01:09:25  <ningu>I am thinking he means project governance
01:09:30  * ^Denisjoined
01:09:33  * IrishGringoquit (Quit: ChatZilla 0.9.91 [Firefox 32.0.3/20140923175406])
01:09:37  <Geekingfrog>(I'm not native speaker and not familiar with this field -_-)
01:09:40  * acidandyquit (Quit: acidandy)
01:09:53  <Geekingfrog>Then I have no idea :/
01:09:54  * vampi-the-frogjoined
01:09:59  * forssjoined
01:10:02  <ningu>me neither
01:10:07  * NodeNagantquit (Ping timeout: 250 seconds)
01:10:39  * brianloveswordsquit (Ping timeout: 258 seconds)
01:10:45  * settingheadjoined
01:10:56  * forssquit (Remote host closed the connection)
01:11:23  * SergioFilhowjoined
01:11:41  * forssjoined
01:11:54  * TheEddyFerreirajoined
01:11:55  <Geekingfrog>Is there any active project merging node.js with mozilla's engine (spidermonkey)?
01:12:07  <Geekingfrog>There was a project called spidernode but it's dead
01:12:25  <Geekingfrog>I really really really want to get the latest es6 in node, and natively as much as possible
01:12:28  * sdwragejoined
01:12:34  * genediazjrquit (Ping timeout: 255 seconds)
01:12:44  * forssquit (Remote host closed the connection)
01:12:51  * kid_icarusquit (Ping timeout: 265 seconds)
01:13:30  * forssjoined
01:13:47  * mary5030joined
01:14:29  * rayaslok_quit (Remote host closed the connection)
01:14:32  * forssquit (Remote host closed the connection)
01:14:34  * Lingosquit (Quit: Be back later ...)
01:14:58  <ningu>Geekingfrog: not that I know of.
01:15:07  * Lingosjoined
01:15:18  * byprdctjoined
01:15:19  * Lingosquit (Client Quit)
01:15:25  * forssjoined
01:15:50  * KennyLeejoined
01:16:20  * forssquit (Remote host closed the connection)
01:16:56  * ncthom91joined
01:17:11  * rayaslok_joined
01:17:15  * forssjoined
01:17:29  * tmh1999quit (Ping timeout: 250 seconds)
01:18:08  * forssquit (Remote host closed the connection)
01:18:13  * ryan_stevensquit (Quit: ryan_stevens)
01:18:17  * orikjoined
01:18:28  * settingheadquit (Read error: Connection reset by peer)
01:18:28  * sputnik13quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…)
01:18:32  * slicebergpart
01:18:51  * forssjoined
01:19:20  * cultheroquit (Remote host closed the connection)
01:19:24  * orikquit (Client Quit)
01:19:48  * ryan_stevensjoined
01:19:55  * orikjoined
01:19:56  * forssquit (Remote host closed the connection)
01:20:00  * ed209quit (Remote host closed the connection)
01:20:18  * ed209joined
01:20:32  * settingheadjoined
01:20:36  * prbcjoined
01:20:42  * forssjoined
01:21:08  * srl295joined
01:21:14  * noobeejoined
01:21:17  * rayaslok_quit (Ping timeout: 240 seconds)
01:21:33  * Zolmeisterquit (Ping timeout: 265 seconds)
01:21:45  * forssquit (Remote host closed the connection)
01:22:21  * forssjoined
01:22:33  * settingheadquit (Read error: Connection reset by peer)
01:23:01  * lloyddejoined
01:23:29  * TehShrikejoined
01:23:32  * cultherojoined
01:23:32  <RLa>Geekingfrog, or have node with ie backend, ie preview seems to have quite impressive es6 support
01:23:34  * forssquit (Remote host closed the connection)
01:23:35  * MistahKurtzjoined
01:23:40  * aslantquit (Quit: Leaving...)
01:23:49  * ryanxcharlesquit (Ping timeout: 255 seconds)
01:24:06  * Jarboejoined
01:24:16  * Fishrock123quit (Quit: Leaving...)
01:24:27  * forssjoined
01:24:28  <Geekingfrog>ie backend?
01:24:42  * antons_quit (Quit: This computer has gone to sleep)
01:24:53  * sputnik13joined
01:24:55  * towski_quit (Remote host closed the connection)
01:25:02  * antons_joined
01:25:06  * settingheadjoined
01:25:16  * ren_hoekjoined
01:25:24  * forssquit (Remote host closed the connection)
01:25:43  * araujoquit (Ping timeout: 250 seconds)
01:26:11  * SergioFilhowquit (Quit: Be back later ...)
01:26:19  * forssjoined
01:26:32  * araujojoined
01:26:46  <RLa>yeah, whatever their js implementation is called
01:27:06  * phuhquit (Read error: Connection reset by peer)
01:27:12  * forssquit (Remote host closed the connection)
01:27:24  * phuhjoined
01:27:30  * lloyddequit (Ping timeout: 255 seconds)
01:27:46  <RLa>might not be impossible given how much m$ open sources lately
01:27:52  * cultheroquit (Remote host closed the connection)
01:27:58  * akivaquit (Ping timeout: 250 seconds)
01:27:58  * j4s0npart
01:28:05  * forssjoined
01:28:35  * markasoftwarejoined
01:28:51  * NoNMaDDeNquit (Remote host closed the connection)
01:29:00  * forssquit (Remote host closed the connection)
01:29:04  <Geekingfrog>Is there a way to easily switch the js engine used in node?
01:29:13  <markasoftware>porobably not
01:29:15  <markasoftware>why do you want to do that?
01:29:19  * byprdctquit
01:29:22  <Geekingfrog>mozilla's engine is pretty good at es6 support
01:29:25  * fadingjoined
01:29:27  * mjp_joined
01:29:27  <markasoftware>yeah
01:29:33  <bazineta>IE with decent JS? Cats and dogs living together; mass hysteria.
01:29:35  <markasoftware>and there's js1.8, which is nice
01:29:36  * ren_hoekquit (Ping timeout: 256 seconds)
01:29:50  * forssjoined
01:29:52  <markasoftware>but I think it's probably not psosible without a lot of source code modification
01:29:54  <Geekingfrog>1.8 == es6??
01:29:57  <markasoftware>no
01:30:04  <markasoftware>they added lots fo features themselves, mozilla did
01:30:04  * octetcloudquit (Ping timeout: 244 seconds)
01:30:05  * sunsonquit (Remote host closed the connection)
01:30:08  * orikquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
01:30:11  * fadingquit (Client Quit)
01:30:18  <markasoftware>es6 implements lots of it, but not nearly all
01:30:25  * tmh1999joined
01:31:06  <markasoftware>but v8 seems to be a pretty integral part of node, I'm almost sure you can't change it
01:31:10  * settingheadquit (Remote host closed the connection)
01:31:24  * forssquit (Read error: Connection reset by peer)
01:31:41  * forssjoined
01:32:32  <Geekingfrog>I'm still confused by js1.8, what is it? A standard?
01:32:33  * byprdctjoined
01:32:36  * byprdctquit (Max SendQ exceeded)
01:32:37  * forssquit (Remote host closed the connection)
01:33:02  <markasoftware>it's not a standard
01:33:08  * kriskowal_joined
01:33:15  <markasoftware>it's just extra javascript features that ar epresent in the gecko engine
01:33:21  <markasoftware>(the one tha tpowers firefox)
01:33:31  * forssjoined
01:33:32  <markasoftware>they aren't standardized or anything
01:33:34  * sputnik13quit (Ping timeout: 245 seconds)
01:33:36  <markasoftware>they're just...mozilla
01:33:37  * mjp_quit (Ping timeout: 240 seconds)
01:33:50  <Geekingfrog>oh, ok
01:34:01  <markasoftware>look it up, some features of it are very nice
01:34:05  <markasoftware>but, it didn't catch on
01:34:17  <markasoftware>just like that awesome XML parsing thing that came with es5 that eventually died
01:34:24  <Geekingfrog>I would prefer to stick to the standards, and add polyfills if required
01:34:33  <bazineta>Geekingfrog have you seen the harmony features in 0.11? https://github.com/joyent/node/wiki/ES6-(a.k.a.-Harmony)-Features-Implemented-in-V8-and-Available-in-Node
01:34:35  * AaronMTquit (Quit: Textual IRC Client: www.textualapp.com)
01:34:41  <markasoftware>E4X
01:34:42  * bbankesquit (Ping timeout: 256 seconds)
01:34:42  * forssquit (Read error: Connection reset by peer)
01:34:45  <markasoftware>it would've been amazing
01:34:50  <Geekingfrog>yeah, but it's **very** incomplete
01:34:53  <markasoftware>if E4X caught on
01:34:57  * forssjoined
01:35:03  * Underbytequit (Quit: Leaving...)
01:35:05  <markasoftware>then, we'd also have it for just normal DOm
01:35:08  * Zolmeisterjoined
01:35:34  * robertmaxreesquit
01:35:34  * MistahKurtzquit (Ping timeout: 258 seconds)
01:35:47  <Geekingfrog>most notably on all the sugar syntax. There is no destructuring, comprehension, rest&spread nor default args, which is what I'm longing for
01:35:51  * automataquit (Quit: This computer has gone to sleep)
01:35:51  <pastry>maybe we'd be in a world where XML did win instead of json
01:35:54  <Geekingfrog>it makes the code much clearer
01:36:04  * Geekingfrogis happy with json
01:36:12  <markasoftware>how did you type that?
01:36:13  * prbcquit (Remote host closed the connection)
01:36:15  <markasoftware>I'm new to IRC
01:36:16  * oxhakquit (Ping timeout: 244 seconds)
01:36:22  <markasoftware>i also like json
01:36:29  <markasoftware>i think it's probably better off than xml
01:36:36  * MrBaboonquit (Remote host closed the connection)
01:36:51  * rigor789changed nick to rigor789|away
01:36:56  * rendar_quit
01:37:18  <bazineta>Geekingfrog sounds like you want Coffeescript ;)
01:37:19  <RLa>Geekingfrog, for those features you could use transpiling
01:37:19  <Geekingfrog>markasoftware, start your message with /me
01:37:27  * markasoftwarehi?
01:37:32  <Geekingfrog>I am using transpiling, but native support would be cool
01:37:42  <RLa>Geekingfrog, unless you like ruby you do not want Coffeescript
01:37:54  <Geekingfrog>and I tried coffeescript, but went back to js
01:37:59  * j4s0njoined
01:38:01  <Geekingfrog>I actually wrote coffeescript full time for a year
01:38:05  <markasoftware>coffeescript is an improvement of js, but I don't use it anyway
01:38:06  * MitchWquit (Ping timeout: 256 seconds)
01:38:14  <markasoftware>what unit tests do you guys use (framework)/
01:38:15  <markasoftware>?
01:38:19  * j4cknewtjoined
01:38:19  <Geekingfrog>But I think vanilla js using the standards are way more portable
01:38:22  <j4s0n>I want this to update the DNS records http://codepad.org/LNM9TWQw
01:38:28  <Geekingfrog>mocha + chai + sinon
01:38:35  * MistahKurtzjoined
01:38:36  <RLa>mocha is nice
01:38:45  <snowinferno|work>I'm not sure how coffeescript is an improvement of js
01:39:07  * UniOnquit (Remote host closed the connection)
01:39:17  * joshonthewebquit (Quit: Textual IRC Client: http://www.textualapp.com/)
01:39:27  <markasoftware>it's an improvement cause of nicer syntax, classes,
01:39:35  * Foxandxssquit (Quit: Textual IRC Client: www.textualapp.com)
01:39:43  <RLa>Geekingfrog, what code editor you use for ES6 code?
01:39:43  * harthjoined
01:39:45  <markasoftware>i discovered a rather obscure js testing framework, but I like it a lot
01:39:49  <markasoftware>it's called jstestr
01:39:58  <Geekingfrog>vim, I transpile with 6to5
01:39:59  <markasoftware>I am the first one to star on github :(
01:40:10  <ningu>we need a word that means the opposite of improvement
01:40:18  <Geekingfrog>markasoftware, look at jest from facebook
01:40:23  <Geekingfrog>it seems super nice
01:40:29  <bazineta>ningu here we call that word government
01:40:41  * forssquit (Remote host closed the connection)
01:40:43  <ningu>bazineta: where is that? :P
01:41:02  * MitchWjoined
01:41:12  <bazineta>ningu I've been all around the world, and as far as I can see...anywhere ;)
01:41:26  * forssjoined
01:41:34  * cuadramanquit (Remote host closed the connection)
01:41:38  * dimetronquit (Quit: My Mac has gone to sleep. ZZZzzz…)
01:42:29  * forssquit (Remote host closed the connection)
01:43:06  * cuadramanjoined
01:43:15  * forssjoined
01:43:17  * bazinetaquit (Quit: Be back later ...)
01:43:37  <RLa>one offtopic question, how you guys include metainfo in markdown?
01:43:37  * reqsharkjoined
01:43:56  <pastry> ningu: outprovement
01:44:09  <hdon>hi all :) npm question: i have this dependency: "express": "~4.9.0" -- my question is, what does the tilde do, and is there a rule or convention by which i can find the corresponding git revision?
01:44:09  <RLa>afaik markdown has no comments
01:44:16  * forssquit (Remote host closed the connection)
01:44:31  <pastry>it has HTML <!-- --> ones
01:44:36  <hdon>i guessed the "4.9.0" git tag would be it: https://github.com/strongloop/express/blob/4.9.0/ but it's not the identical to what npm installed for me :(
01:44:44  <pastry>not truly markdown
01:44:55  <pastry>but when html code is accepted, they work the same
01:45:08  * forssjoined
01:45:23  <ningu>hdon: read about semver
01:45:24  <pastry>RLa: but the most common thing is to have a frontmatter
01:45:30  <pastry>on top of the document
01:45:32  <Geekingfrog>hdon, this has nothing to do with git tag. It's the version published on npm
01:45:36  <pastry>it's a yaml block around ---s
01:45:40  * byprdctjoined
01:45:42  * markasoftwarequit (Read error: Connection reset by peer)
01:45:57  <RLa>opposite of improvement is deterioration :)
01:46:04  * forssquit (Remote host closed the connection)
01:46:07  * mcleequit (Ping timeout: 245 seconds)
01:46:13  * byprdctquit (Max SendQ exceeded)
01:46:14  <j4s0n>vox
01:46:16  * prbcjoined
01:46:24  <ningu>deterioration is gradual. you wouldn't say "coffeescript is a deterioration of javascript"
01:46:26  <j4s0n>The days are evil
01:46:26  * teatsjoined
01:46:40  * mcleejoined
01:46:41  * ^Denisquit (Ping timeout: 264 seconds)
01:46:42  <ningu>although I guess it would at least mean something meaningful
01:46:49  * forssjoined
01:46:50  * byprdctjoined
01:46:59  <RLa>hm
01:47:14  * ^Denisjoined
01:47:24  <RLa>pastry, html comments might do it!
01:47:25  * byprdctquit (Max SendQ exceeded)
01:47:28  * cuadramanquit (Ping timeout: 250 seconds)
01:47:31  <j4s0n>I want this to update the DNS records http://codepad.org/LNM9TWQw
01:47:42  <j4s0n>Where do I get the API key?
01:47:52  * forssquit (Remote host closed the connection)
01:47:58  * byprdctjoined
01:48:01  <ningu>j4s0n: from whoever's api you are using
01:48:01  * cuadramanjoined
01:48:33  * byprdctquit (Max SendQ exceeded)
01:48:38  * forssjoined
01:48:56  <j4s0n>python phase out is going slower than expected
01:48:58  <ningu>gandi.net I guess
01:49:01  * dstarnesquit
01:49:11  * hdonquit (Ping timeout: 244 seconds)
01:49:16  <RLa>j4s0n, api manual is not saying it?
01:49:17  * byprdctjoined
01:49:26  * PointBlankquit (Ping timeout: 256 seconds)
01:49:39  * kid_icarusjoined
01:49:40  * forssquit (Remote host closed the connection)
01:49:43  <j4s0n>node.js is headed for restructure
01:49:52  * byprdctquit (Max SendQ exceeded)
01:49:58  <j4s0n>RLa: Not as far as I've read.
01:50:30  * forssjoined
01:50:33  <ningu>j4s0n: first google hit for "gandi api key": http://wiki.gandi.net/en/xml-api/activate
01:50:38  * byprdctjoined
01:50:58  <j4s0n>I was searching the gandi docs
01:51:05  * byprdctquit (Max SendQ exceeded)
01:51:07  * corpixquit (Ping timeout: 245 seconds)
01:51:15  * caitp-joined
01:51:29  * forssquit (Remote host closed the connection)
01:51:36  * hdonjoined
01:51:39  * byprdctjoined
01:51:44  <hdon>hi all :) kicked out the power cable :(
01:51:46  <RLa>it is but not the code it seems but politics around it
01:51:57  * d10n-workquit (Quit: Connection closed for inactivity)
01:52:12  * forssjoined
01:52:16  * byprdctquit (Max SendQ exceeded)
01:52:47  <GreenJello>hdon, do you know how many innocent processes you killed by doing that?
01:53:04  * ncthom91quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:53:09  * byprdctjoined
01:53:10  <hdon>GreenJello, won't somebody think of the child processes?
01:53:15  <j4s0n>hdon: APS
01:53:16  * forssquit (Remote host closed the connection)
01:53:25  <hdon>j4s0n, i like to live on the edge
01:53:25  <GreenJello>:-D
01:53:26  * JVizjoined
01:53:32  * cuadramanquit (Remote host closed the connection)
01:53:45  * byprdctquit (Max SendQ exceeded)
01:54:02  * forssjoined
01:54:20  <j4s0n>hdon: APS comes in handy when brute forcing
01:54:21  * caitpquit (Ping timeout: 265 seconds)
01:54:23  * byprdctjoined
01:54:54  * CorySimmonsjoined
01:54:58  * byprdctquit (Max SendQ exceeded)
01:55:16  <j4s0n>hdon: where did you kick it out from?
01:55:38  * byprdctjoined
01:55:42  * morenoh149quit (Ping timeout: 264 seconds)
01:55:48  * kazuponquit
01:55:56  <hdon>the wall
01:56:04  * byprdctquit (Max SendQ exceeded)
01:56:18  <j4s0n>APS could have prevented it.
01:56:22  * j4cknewtquit (Read error: Connection reset by peer)
01:56:28  <hdon>somebody (me, most likely) moved a waste bin in front of the outlet and when i bumped it, it jiggled the power cable enough to lose contact
01:56:37  * byprdctjoined
01:57:04  * shakerjoined
01:57:13  * byprdctquit (Max SendQ exceeded)
01:57:14  * forss_joined
01:57:22  * it0aquit (Quit: WeeChat 1.0.1)
01:57:23  * iarnaquit (Remote host closed the connection)
01:57:29  <j4s0n>hdon: You like to live on the 'edge' I like that if it means that you are willing to leave comfort zones.
01:57:40  * night-owlchanged nick to zz_night-owl
01:57:47  * it0ajoined
01:57:49  * byprdctjoined
01:58:13  * zz_night-owlchanged nick to night-owl
01:58:18  * forssquit (Ping timeout: 250 seconds)
01:58:28  * byprdctquit (Max SendQ exceeded)
01:58:40  * forss_quit (Remote host closed the connection)
01:58:41  <j4s0n>ningu: Where can a cup of java be obtained?
01:59:04  * byprdctjoined
01:59:09  * jaequeryjoined
01:59:24  * lloyddejoined
01:59:26  * forssjoined
01:59:32  <giuseppesolinas>best android emulator for web design?
01:59:37  <j4s0n>I want to take over a local data center.
01:59:40  * byprdctquit (Max SendQ exceeded)
02:00:15  * antons_quit (Quit: This computer has gone to sleep)
02:00:19  * byprdctjoined
02:00:28  * forssquit (Remote host closed the connection)
02:00:53  * byprdctquit (Max SendQ exceeded)
02:00:55  <j4s0n>The API key takes a while to vreate.
02:01:22  * forssjoined
02:01:29  * byprdctjoined
02:01:57  <j4s0n>hdon: Do you want to work on the client?
02:01:59  * genediazjrjoined
02:02:03  * hemanthjoined
02:02:05  * byprdctquit (Max SendQ exceeded)
02:02:16  * forssquit (Remote host closed the connection)
02:02:17  <j4s0n>There are machine in the middle attacks.
02:02:28  * AlexZanquit (Ping timeout: 256 seconds)
02:02:45  <hdon>i would not even dream of arranging such a thing with a stranger on freenode
02:02:48  * byprdctjoined
02:02:50  * prbcquit (Remote host closed the connection)
02:02:59  * forssjoined
02:03:16  * shampinequit
02:03:17  * kriskowal_quit (Quit: kriskowal_)
02:03:18  <j4s0n>hdon: Why not?
02:03:25  * byprdctquit (Max SendQ exceeded)
02:03:34  <j4s0n>Live on the edge?
02:03:38  <GreenJello>giuseppesolinas, probably the official one :-)
02:03:49  * teatsquit (Quit: teats)
02:03:52  * lloyddequit (Ping timeout: 255 seconds)
02:03:57  <j4s0n>What is the moler constant?
02:03:59  * byprdctjoined
02:04:03  * forssquit (Remote host closed the connection)
02:04:05  <giuseppesolinas>GreenJello, have you used one?
02:04:11  <GreenJello>giuseppesolinas, if you're asking which build to use, that depends on your requirements
02:04:13  * mridgwayjoined
02:04:24  * Guest27128quit (Ping timeout: 245 seconds)
02:04:29  <GreenJello>giuseppesolinas, yeah
02:04:30  <giuseppesolinas>GreenJello, I need something reliable browser-wise
02:04:35  * byprdctquit (Max SendQ exceeded)
02:04:45  * genediaz_joined
02:04:45  <giuseppesolinas>and possibly with as many devices as possible
02:04:48  * forssjoined
02:04:51  * TehShrikepart
02:05:11  * byprdctjoined
02:05:14  * Guest43284joined
02:05:16  * genediazjrquit (Read error: Connection reset by peer)
02:05:19  <GreenJello>giuseppesolinas, get the android sdk, install emulators for the versions you need to support, and you can customize things like the resolution, etc.
02:05:26  <giuseppesolinas>GreenJello, now I'm trying this one but it's slow as hell https://www.manymo.com/emulators/86/connect
02:05:42  * phpnodequit (Remote host closed the connection)
02:05:45  * byprdctquit (Max SendQ exceeded)
02:05:47  <GreenJello>giuseppesolinas, use the official one lol
02:05:50  * forssquit (Remote host closed the connection)
02:05:55  <giuseppesolinas>thanks
02:05:58  <giuseppesolinas>xD
02:06:15  * cagedwisdomjoined
02:06:16  * Foujoined
02:06:17  * jaequeryquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:06:26  * byprdctjoined
02:06:30  <GreenJello>it takes a long time to start up, but after that it's fast for me
02:06:36  * forssjoined
02:06:56  * artisangoosequit (Quit: Textual IRC Client: www.textualapp.com)
02:07:01  * byprdctquit (Max SendQ exceeded)
02:07:16  * genediaz_quit (Read error: Connection reset by peer)
02:07:35  * byprdctjoined
02:07:38  * forssquit (Remote host closed the connection)
02:07:39  * TheEddyFerreiraquit (Quit: TheEddyFerreira)
02:07:45  * gsd_quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
02:07:48  * genediazjrjoined
02:07:54  * sputnik13joined
02:08:07  * rellingquit (Quit: relling)
02:08:12  * byprdctquit (Max SendQ exceeded)
02:08:17  * Starduster_quit (Ping timeout: 240 seconds)
02:08:21  * forssjoined
02:08:29  * rellingjoined
02:08:39  * bazinetajoined
02:08:46  * byprdctjoined
02:09:18  * knownasilyaquit (Quit: Connection closed for inactivity)
02:09:21  * byprdctquit (Max SendQ exceeded)
02:09:25  * forssquit (Remote host closed the connection)
02:09:52  * byprdctjoined
02:10:09  * forssjoined
02:10:28  * byprdctquit (Max SendQ exceeded)
02:10:59  * byprdctjoined
02:11:12  * forssquit (Remote host closed the connection)
02:11:14  <j4s0n>What is an invalid ELF header?
02:11:37  * byprdctquit (Max SendQ exceeded)
02:11:56  * forssjoined
02:12:06  * ncthom91joined
02:12:11  * byprdctjoined
02:12:11  * mary5030quit (Remote host closed the connection)
02:12:23  * kid_icarusquit (Ping timeout: 240 seconds)
02:12:23  <systemfault>ELF is an executable format.
02:12:34  <systemfault>So, there has to be something invalid about its header.
02:12:48  * byprdctquit (Max SendQ exceeded)
02:12:57  * Guest43284quit (Ping timeout: 240 seconds)
02:13:03  <j4s0n>systemfault: theres nothing about elf headers in the code
02:13:06  * forssquit (Read error: Connection reset by peer)
02:13:13  <ningu>invalid elves are a serious problem indeed.
02:13:19  * byprdctjoined
02:13:23  <systemfault>AND MY AXE!!!
02:13:42  * rellingquit (Ping timeout: 264 seconds)
02:13:43  * forssjoined
02:13:55  * byprdctquit (Max SendQ exceeded)
02:13:59  * ApexApejoined
02:14:27  * mclenithanquit (Quit: Leaving)
02:14:27  * byprdctjoined
02:14:47  * forssquit (Remote host closed the connection)
02:15:03  * byprdctquit (Max SendQ exceeded)
02:15:14  * k1ngquit (Ping timeout: 245 seconds)
02:15:32  * forssjoined
02:15:42  * maschinenmenschquit (Read error: Connection reset by peer)
02:15:43  * byprdctjoined
02:16:09  * Lingosjoined
02:16:12  * byprdctquit (Max SendQ exceeded)
02:16:12  * cultherojoined
02:16:34  * forssquit (Remote host closed the connection)
02:16:49  * byprdctjoined
02:17:19  * forssjoined
02:17:24  * byprdctquit (Max SendQ exceeded)
02:17:55  * byprdctjoined
02:18:21  * forssquit (Remote host closed the connection)
02:18:30  * byprdctquit (Max SendQ exceeded)
02:18:31  * thecobblerjoined
02:19:05  * byprdctjoined
02:19:07  * forssjoined
02:19:17  <j4s0n>I want this to update the DNS records http://codepad.org/LNM9TWQw
02:19:26  <j4s0n>Is this using the correct syntax?
02:19:27  * ConspiratorXjoined
02:19:32  * ren_hoekjoined
02:19:43  * byprdctquit (Max SendQ exceeded)
02:20:09  * forssquit (Remote host closed the connection)
02:20:11  * athanquit (Ping timeout: 244 seconds)
02:20:18  * byprdctjoined
02:20:42  * Lingosquit (Ping timeout: 244 seconds)
02:20:55  * byprdctquit (Max SendQ exceeded)
02:20:57  * athanjoined
02:21:08  <j4s0n>Any node coders in here at all?
02:21:11  * ConspiratorXquit (Client Quit)
02:21:25  * byprdctjoined
02:21:31  <j4s0n>I can try perl.
02:21:33  * sputnik13quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…)
02:21:34  * Rainbquit (Ping timeout: 258 seconds)
02:21:39  * harthquit (Remote host closed the connection)
02:22:00  <ningu>j4s0n: of course there are node coders in here but we won't just write your program for you
02:22:01  * byprdctquit (Max SendQ exceeded)
02:22:04  * hextileXjoined
02:22:31  * byprdctjoined
02:22:44  * vampi-the-frogquit (Quit: Leaving)
02:22:53  * forssjoined
02:22:57  * woahjoined
02:23:08  * byprdctquit (Max SendQ exceeded)
02:23:18  * thecobblerquit (Ping timeout: 264 seconds)
02:23:38  * jareddlcquit (Quit: Leaving...)
02:23:45  * forssquit (Remote host closed the connection)
02:23:48  * byprdctjoined
02:23:52  * lloyddejoined
02:23:53  * ren_hoekquit (Ping timeout: 240 seconds)
02:24:19  <RLa>j4s0n, and that's just code mixed with repl output, not a valid js file
02:24:22  * tkuchikijoined
02:24:25  * byprdctquit (Max SendQ exceeded)
02:24:40  * forssjoined
02:24:55  * byprdctjoined
02:25:29  * Rainbjoined
02:25:30  * byprdctquit (Max SendQ exceeded)
02:25:33  * forssquit (Remote host closed the connection)
02:26:00  * byprdctjoined
02:26:16  * vlnxquit (Ping timeout: 256 seconds)
02:26:17  * weiluquit (Remote host closed the connection)
02:26:25  * forssjoined
02:26:35  * byprdctquit (Max SendQ exceeded)
02:26:56  * Starduster_joined
02:27:01  * SergioFilhowjoined
02:27:05  * byprdctjoined
02:27:12  * Milkweedjoined
02:27:14  * phuhquit (Read error: Connection reset by peer)
02:27:21  * forssquit (Remote host closed the connection)
02:27:24  * MistahKurtzquit (Ping timeout: 256 seconds)
02:27:41  * phuhjoined
02:27:42  * byprdctquit (Max SendQ exceeded)
02:27:43  * nyanzjoined
02:28:12  * byprdctjoined
02:28:14  * forssjoined
02:28:23  * cultheroquit (Remote host closed the connection)
02:28:28  * lloyddequit (Ping timeout: 258 seconds)
02:28:48  * byprdctquit (Max SendQ exceeded)
02:28:55  * hextileXquit (Quit: hextileX)
02:28:58  * tkuchikiquit (Ping timeout: 244 seconds)
02:29:09  * forssquit (Remote host closed the connection)
02:29:28  * byprdctjoined
02:29:33  * psdnjoined
02:29:59  * forssjoined
02:30:04  * byprdctquit (Max SendQ exceeded)
02:30:25  <psdn>Can I ask why a _csrf token would contain a "+" sign? It is killing me.
02:30:26  * cultherojoined
02:30:39  * byprdctjoined
02:30:41  * mridgwayquit (Quit: mridgway)
02:30:53  * genediazjrquit (Ping timeout: 240 seconds)
02:30:55  * brettjacksonjoined
02:30:57  * forssquit (Remote host closed the connection)
02:31:01  <psdn>I don't know how to keep the plus sign as a plus sign when it is in a variable.
02:31:22  * genediazjrjoined
02:31:22  * byprdctquit (Max SendQ exceeded)
02:31:37  * JVizquit (Read error: Connection reset by peer)
02:31:41  * pseldenjoined
02:31:50  * forssjoined
02:31:52  * byprdctjoined
02:31:54  * ryan_stevensquit (Quit: ryan_stevens)
02:31:58  * SergioFilhowquit (Ping timeout: 272 seconds)
02:31:58  * looperquit (Ping timeout: 272 seconds)
02:32:27  * byprdctquit (Max SendQ exceeded)
02:32:45  * forssquit (Remote host closed the connection)
02:32:57  * byprdctjoined
02:33:00  * bender_unitjoined
02:33:14  * ncthom91quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
02:33:23  * bender_unitquit (Remote host closed the connection)
02:33:31  <hdon>hi all :) does anyone know if EJS supports template inheritance, or any similar feature?
02:33:33  * byprdctquit (Max SendQ exceeded)
02:33:37  * forssjoined
02:33:56  * merobertsjrjoined
02:34:08  * byprdctjoined
02:34:31  * looperjoined
02:34:33  * rellingjoined
02:34:33  * forssquit (Remote host closed the connection)
02:34:45  * byprdctquit (Max SendQ exceeded)
02:34:56  * Cyph3rquit (Read error: Connection reset by peer)
02:35:02  * ctorpquit (Remote host closed the connection)
02:35:06  * forssjoined
02:35:07  * meandi_1joined
02:35:10  * brettjacksonquit (Ping timeout: 244 seconds)
02:35:17  * Rainbquit (Read error: Connection reset by peer)
02:35:35  * Rainbjoined
02:35:37  * byprdctjoined
02:35:47  * RLaquit (Quit: Leaving)
02:36:08  * byprdctquit (Max SendQ exceeded)
02:36:16  * Lecheritoquit (Quit: Connection closed for inactivity)
02:36:31  * ryanxcharlesjoined
02:36:49  * byprdctjoined
02:36:57  * eBureaujoined
02:37:32  * byprdctquit (Max SendQ exceeded)
02:37:40  <hdon>or a way to include a sub-template?
02:38:08  * byprdctjoined
02:38:12  <hdon>these are analogous to the "extends," "block," and "include" directives
02:38:15  <hdon>in Jade
02:38:44  <mscdex>hdon: ejs has includes
02:38:45  * byprdctquit (Max SendQ exceeded)
02:38:57  * atatsuquit (Ping timeout: 240 seconds)
02:38:59  * GreenDogjoined
02:39:03  * meandiquit (Ping timeout: 255 seconds)
02:39:18  <hdon>thanks mscdex. any idea about template inheritance?
02:39:18  * byprdctjoined
02:39:22  * rellingquit (Ping timeout: 265 seconds)
02:39:29  * bender_unitjoined
02:39:31  <mscdex>inheritance how?
02:39:40  * woebtzquit
02:39:45  * elspru_joined
02:39:52  <mscdex>i'm not familiar with non-ejs templating systems
02:39:53  * byprdctquit (Max SendQ exceeded)
02:39:54  <hdon>mscdex, in the Jade sense, using "extends" and "block"
02:40:05  <hdon>oh, then maybe i should change my question :)
02:40:24  * byprdctjoined
02:40:35  <elspru_>hey, what's the best way to implement a global messaging system? I need to keep track of errors and warnings, without breaking recoverable control flow with exceptions.
02:40:52  * night-owlchanged nick to zz_night-owl
02:41:01  * byprdctquit (Max SendQ exceeded)
02:41:10  * Cyph3rjoined
02:41:31  * byprdctjoined
02:41:36  * Cyph3rquit (Remote host closed the connection)
02:41:38  * ^Denisquit (Quit: Leaving)
02:41:49  <Geekingfrog>elspru_, process.on('uncaughException', function(err) {...}) may be what you're looking for
02:41:52  * genediaz_joined
02:41:52  * vlnxjoined
02:41:58  * Cyph3rjoined
02:42:06  * byprdctquit (Max SendQ exceeded)
02:42:26  <mscdex>elspru_: domains?
02:42:29  <Geekingfrog>or just process.on('errorToLog', function(err) {...}) and you emit the event when required
02:42:36  * byprdctjoined
02:43:03  * thekeyquit (Remote host closed the connection)
02:43:12  * byprdctquit (Max SendQ exceeded)
02:43:25  * Rainbquit (Ping timeout: 258 seconds)
02:43:30  <elspru_>oh and also, one of my main things is that it has to be portable to browser with browserify.
02:43:31  * tiglionabbitquit (Quit: tiglionabbit)
02:43:42  * byprdctjoined
02:43:54  * rellingjoined
02:43:55  <ningu>eventemitters work in the browser
02:44:13  * maletorjoined
02:44:19  * byprdctquit (Max SendQ exceeded)
02:44:28  * genediazjrquit (Ping timeout: 244 seconds)
02:44:44  * zz_night-owlchanged nick to night-owl
02:44:52  * jarrod_joined
02:44:59  * byprdctjoined
02:45:03  <elspru_>so would I still be throwing exceptions?
02:45:08  <ningu>no
02:45:14  <ningu>exceptions don't work well in async code
02:45:21  <mscdex>there's a domain module for browserify, but it's a pretty simple implementation. i'm not sure of the negative implications of something like that though
02:45:36  * byprdctquit (Max SendQ exceeded)
02:46:16  * byprdctjoined
02:46:25  * nonksjoined
02:46:53  * byprdctquit (Max SendQ exceeded)
02:47:24  * byprdctjoined
02:47:25  <athan>hdon: Those are variables, my friend :)
02:47:27  * ctorpjoined
02:47:39  <athan>I'm actually working on a lambda-calc based templating engine right now
02:48:00  * byprdctquit (Max SendQ exceeded)
02:48:02  <GreenJello>exceptions work great with promises :-)
02:48:09  * pseldenquit (Quit: pselden)
02:48:10  * genediaz_quit (Read error: Connection reset by peer)
02:48:26  <GreenJello>athan, have a link so I can see that when it's done?
02:48:31  * byprdctjoined
02:48:36  * genediazjrjoined
02:49:06  * byprdctquit (Max SendQ exceeded)
02:49:17  * cultheroquit (Remote host closed the connection)
02:49:19  <athan>GreenJello: https://github.com/athanclark/ltext :3
02:49:27  * forssquit (Remote host closed the connection)
02:49:36  * byprdctjoined
02:49:56  * jarrod_quit (Ping timeout: 258 seconds)
02:50:01  * forssjoined
02:50:12  * byprdctquit (Max SendQ exceeded)
02:50:20  * top4ojoined
02:50:41  <athan>so, for instance in your javascript, you'll make a "header" with comments, and declare variables like \%foo %bar, and in the body of your js, (%foo %bar) means "apply whatever %bar is into %foo"
02:50:42  <hdon>athan, hm?
02:50:47  * byprdctjoined
02:50:48  * shakerquit (Remote host closed the connection)
02:51:03  * k1ngjoined
02:51:04  <athan>GreenJello: The fun part is now the templates are polymorphic :)
02:51:15  <elspru_>so for instance, i have some code like {transl = getTranslation(word); if (transl === null) { warn("no translation for "+word); transl = word;}}
02:51:20  <athan>hdon: Sorry, umm. Hmm. Can't you wrap an EJS template in a function?
02:51:23  * dman777_1lterjoined
02:51:24  * byprdctquit (Max SendQ exceeded)
02:51:35  * rellingquit (Ping timeout: 272 seconds)
02:51:47  <athan>by using the parameter `content` in your main EJS, you can simply apply the actual content to the function
02:51:49  * sunsonjoined
02:51:53  * ctorpquit (Ping timeout: 240 seconds)
02:52:04  * byprdctjoined
02:52:17  * thecobblerjoined
02:52:22  <elspru_>so warn(message) would be some kind of event emitter?
02:52:27  <hdon>athan, i don't know, i've never used EJS. wanted someone's perspective who knew what I was talking about, but who also knew EJS :) i'm not using EJS, but i would like to know what its capabilities are, compared to its alternatives
02:52:43  * byprdctquit (Max SendQ exceeded)
02:52:44  <ningu>ejs is pretty basic
02:53:01  <GreenJello>athan, fyi, the haskell dependency will probably turn off most potential users :-)
02:53:02  * benjamin_joined
02:53:10  * sgen_joined
02:53:23  * athanlaughs moniacally
02:53:24  * byprdctjoined
02:53:30  <ningu>monadically?
02:53:37  <athan>:V!
02:53:38  <hdon>hahaha
02:53:42  * NBhostingquit
02:53:48  <elspru_>oh like warn, so then I have a warn catcher. I think I kinda get it :-).
02:54:02  * byprdctquit (Max SendQ exceeded)
02:54:12  <athan>hdon: Yeah I can't say I use it as much anymore :/
02:54:20  * night-owlchanged nick to zz_night-owl
02:54:34  * byprdctjoined
02:54:38  * forssquit (Ping timeout: 250 seconds)
02:54:39  * sgen_quit (Client Quit)
02:54:46  * atatsujoined
02:55:12  * byprdctquit (Max SendQ exceeded)
02:55:49  * byprdctjoined
02:56:25  * byprdctquit (Max SendQ exceeded)
02:56:37  * AciD``quit (Ping timeout: 240 seconds)
02:56:49  * sgen_joined
02:56:55  * byprdctjoined
02:56:58  * benjamin_quit (Remote host closed the connection)
02:57:32  * byprdctquit (Max SendQ exceeded)
02:57:41  * ryan_stevensjoined
02:57:44  * barneybook_8joined
02:57:46  * iarnajoined
02:58:12  * byprdctjoined
02:58:49  * byprdctquit (Max SendQ exceeded)
02:58:58  * CorySimmonsquit (Quit: Bye!)
02:59:24  * ryan_stevensquit (Client Quit)
02:59:29  * byprdctjoined
02:59:48  * siahjoined
02:59:57  <siah>!
03:00:03  * siahpart
03:00:05  * satazor_quit (Remote host closed the connection)
03:00:06  * byprdctquit (Max SendQ exceeded)
03:00:40  * dsiahjoined
03:00:44  * byprdctjoined
03:00:56  <dsiah>hello
03:01:14  * byprdctquit (Max SendQ exceeded)
03:01:46  * byprdctjoined
03:01:52  * ncthom91joined
03:02:18  * shadokquit (Ping timeout: 264 seconds)
03:02:24  * byprdctquit (Max SendQ exceeded)
03:02:25  * ctorpjoined
03:02:30  * Diquit (Quit: Leaving.)
03:02:37  * de_henne_joined
03:02:54  * byprdctjoined
03:02:59  * ncthom91quit (Client Quit)
03:03:30  * byprdctquit (Max SendQ exceeded)
03:04:00  * byprdctjoined
03:04:02  * de_hennequit (Ping timeout: 245 seconds)
03:04:18  * morenoh149joined
03:04:38  * byprdctquit (Max SendQ exceeded)
03:04:52  <j4s0n>What is the command to run phant?
03:05:18  * byprdctjoined
03:05:21  * bender_unitquit (Ping timeout: 244 seconds)
03:05:23  * top4oquit (Ping timeout: 240 seconds)
03:05:36  * danemacmillanquit (Ping timeout: 255 seconds)
03:05:55  * byprdctquit (Max SendQ exceeded)
03:06:03  * rayaslokasjoined
03:06:35  * byprdctjoined
03:06:49  * Elishaquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
03:07:11  * byprdctquit (Max SendQ exceeded)
03:07:12  * ctorpquit (Ping timeout: 250 seconds)
03:07:45  * byprdctjoined
03:08:21  * byprdctquit (Max SendQ exceeded)
03:08:26  * chrisshattuckjoined
03:08:52  * byprdctjoined
03:09:10  * jasonkuhrtjoined
03:09:31  * byprdctquit (Max SendQ exceeded)
03:10:06  * byprdctjoined
03:10:28  * iarnaquit (Ping timeout: 255 seconds)
03:10:31  * rayaslokasquit (Ping timeout: 244 seconds)
03:10:33  * kid_icarusjoined
03:10:44  * byprdctquit (Max SendQ exceeded)
03:10:49  * rellingjoined
03:11:24  * byprdctjoined
03:12:01  * byprdctquit (Max SendQ exceeded)
03:12:15  * ctorpjoined
03:12:32  * byprdctjoined
03:12:42  * standoojoined
03:12:50  * thekeyjoined
03:12:52  * jaequeryjoined
03:13:08  * byprdctquit (Max SendQ exceeded)
03:13:26  * ren_hoekjoined
03:13:27  * Fouquit (Quit: Textual IRC Client: www.textualapp.com)
03:13:45  * byprdctjoined
03:14:10  * tiglionabbitjoined
03:14:21  * byprdctquit (Max SendQ exceeded)
03:15:09  * dsiahpart
03:15:18  * jmar777joined
03:15:27  * merobertsjrquit (Quit: Be back later ...)
03:15:46  * wallerdevquit (Quit: wallerdev)
03:15:51  * Rainbjoined
03:16:02  <j4s0n>Isn't it node phant
03:16:10  * GreenDogquit (Remote host closed the connection)
03:17:16  * Milkweedquit (Ping timeout: 256 seconds)
03:17:33  * thekeyquit (Ping timeout: 265 seconds)
03:17:39  <dman777_1lter>You know....I am wondering... Gulp using orchestrator for it's tasks sync/async. It's really just it's own promise library implementation, correct?
03:18:01  * Milkweedjoined
03:18:11  * ren_hoekquit (Ping timeout: 272 seconds)
03:18:42  * byprdctjoined
03:18:48  * KicStartjoined
03:19:18  * byprdctquit (Max SendQ exceeded)
03:19:28  * ryan_stevensjoined
03:19:34  * orikjoined
03:19:43  <GreenJello>dman777_1lter, nope
03:19:48  * byprdctjoined
03:20:16  <merpnderp>Is there a text editor like webstorm that has JS autocomplete and runs on mac/linux?
03:20:24  * byprdctquit (Max SendQ exceeded)
03:20:35  <merpnderp>and it must have VIM mode support
03:20:54  * byprdctjoined
03:21:00  <dman777_1lter>GreenJello: hmmm.... there is sync/async going on
03:21:10  * jmar777quit (Remote host closed the connection)
03:21:15  <GreenJello>dman777_1lter, sure, but it's unrelated to promises
03:21:26  * Guest24joined
03:21:30  * byprdctquit (Max SendQ exceeded)
03:21:37  <GreenJello>promises are a specific thing, this is a task runner with dependency managment
03:21:40  * Guest24quit (Max SendQ exceeded)
03:21:52  * jasonkuhrtquit (Quit: Lingo: www.lingoirc.com)
03:21:58  <tacoshellmcgee>I don't make promises I can't keep
03:21:58  * ctorpquit (Remote host closed the connection)
03:22:00  * byprdctjoined
03:22:22  * fatalhaltjoined
03:22:36  * byprdctquit (Max SendQ exceeded)
03:22:45  * mary5030joined
03:22:51  <dman777_1lter>GreenJello: I don't see the difference between running tasks and promises, both run something(tasks)
03:23:25  * tiglionabbitquit (Quit: tiglionabbit)
03:23:26  * byprdctjoined
03:23:28  * rud_joined
03:23:32  * Guest24joined
03:23:36  <dman777_1lter>GreenJello: the lirbary names say it all https://github.com/phated/bach/blob/master/index.js
03:23:46  * SergioFilhowjoined
03:23:46  * giuseppesolinasquit (Quit: This computer has gone to sleep)
03:24:02  * byprdctquit (Max SendQ exceeded)
03:24:31  * lloyddejoined
03:24:33  * byprdctjoined
03:24:49  <GreenJello>dman777_1lter, huh?
03:24:50  * octetcloudjoined
03:25:09  * byprdctquit (Max SendQ exceeded)
03:25:10  * tacoshellmcgeepart
03:25:46  <dman777_1lter>did you read the export names?
03:25:57  * byprdctjoined
03:26:01  <GreenJello>this is a different library...
03:26:21  <GreenJello>but the export names in that file have nothing to do with promises...
03:26:23  <dman777_1lter>GreenJello: well, yes and no...this is going to be for gulp 4.0 which replaces orcherstra
03:26:34  * byprdctquit (Max SendQ exceeded)
03:26:37  * rudquit (Ping timeout: 250 seconds)
03:26:37  * rud_changed nick to rud
03:26:42  * Guest24quit (Client Quit)
03:27:05  * byprdctjoined
03:27:16  * phuhquit (Read error: Connection reset by peer)
03:27:30  * mary5030quit (Ping timeout: 258 seconds)
03:27:41  * phuhjoined
03:27:45  * byprdctquit (Max SendQ exceeded)
03:27:52  <dman777_1lter>GreenJello: on the lowest level, the only way to control async/sync are the js event loop functions/methods. there is nothing magical about promises or task runners
03:28:16  * byprdctjoined
03:28:22  <GreenJello>dman777_1lter, what's your point?
03:28:38  * cultherojoined
03:28:41  * aib_233quit (Quit: aib_233)
03:28:42  <GreenJello>that doesn't make every library that deals with async code a promise library
03:28:52  * byprdctquit (Max SendQ exceeded)
03:28:53  * Argue_joined
03:29:01  * busticatedquit (Quit: gone to sleep. ZZZzzz…)
03:29:02  * ctorpjoined
03:29:02  * lloyddequit (Ping timeout: 258 seconds)
03:29:23  * byprdctjoined
03:29:27  * benjah1joined
03:29:36  <GreenJello>orchestrater and batch support promises, but they don't implement promises
03:29:59  * byprdctquit (Max SendQ exceeded)
03:30:30  * kid_icarusquit (Ping timeout: 264 seconds)
03:30:30  * byprdctjoined
03:30:36  <dman777_1lter>GreenJello: how do you think orchestrater will implmenet series/parallel on the lowest level?
03:30:52  * tiglionabbitjoined
03:31:02  <GreenJello>there are a number of ways it could be implemented
03:31:13  * byprdctquit (Max SendQ exceeded)
03:31:33  * Milk_weedjoined
03:31:43  * tristanpjoined
03:31:44  * byprdctjoined
03:31:45  * harrisonmjoined
03:31:46  <dman777_1lter>GreenJello: there's only setTimeout, setInterval, setImmediate, and process.nextTick()
03:32:01  <GreenJello>no...
03:32:13  * harthurjoined
03:32:15  <GreenJello>there's also http, fs, etc.
03:32:19  * byprdctquit (Max SendQ exceeded)
03:32:35  * thecobblerquit (Read error: Connection reset by peer)
03:32:46  * thecobblerjoined
03:32:49  * byprdctjoined
03:32:55  * fexilaljoined
03:33:15  <dman777_1lter>GreenJello: yes, but those are specific to diff. uses
03:33:24  * byprdctquit (Max SendQ exceeded)
03:33:28  * dbackslashjoined
03:33:35  * tiglionabbitquit (Client Quit)
03:33:38  * Milkweedquit (Ping timeout: 258 seconds)
03:33:48  <GreenJello>I have no idea what you're talking about
03:33:54  * byprdctjoined
03:34:10  * byprdctquit (Client Quit)
03:34:23  * byprdctjoined
03:34:32  * Asiajeyjoined
03:34:47  * jmar777joined
03:34:52  * Lingosjoined
03:34:58  * byprdctquit (Max SendQ exceeded)
03:35:01  * _ritchie_quit (Quit: _ritchie_)
03:35:16  * Asiajeyquit (Read error: Connection reset by peer)
03:35:28  * byprdctjoined
03:35:51  * pmooneyquit (Ping timeout: 265 seconds)
03:35:55  * benjah1quit (Quit: Leaving.)
03:36:03  * byprdctquit (Max SendQ exceeded)
03:36:31  <dman777_1lter>GreenJello: Well, my point is that gulp...vinyl streams with orcherstrator could be also be done with vinyl streams and blueBird.
03:36:33  * byprdctjoined
03:36:44  * fexilalquit (Client Quit)
03:37:06  * harthurquit (Ping timeout: 264 seconds)
03:37:08  * byprdctquit (Max SendQ exceeded)
03:37:11  <GreenJello>orchestrator is a library that can use promises, but it solves a more specific problem
03:37:38  * byprdctjoined
03:38:13  * byprdctquit (Max SendQ exceeded)
03:38:42  * xuanjoined
03:38:43  * byprdctjoined
03:38:50  * byprdctquit (Client Quit)
03:39:10  * ctorpquit (Remote host closed the connection)
03:39:29  * Lingosquit (Ping timeout: 264 seconds)
03:39:32  * P1RATEZjoined
03:39:33  * woahquit (Read error: Connection reset by peer)
03:39:37  <dman777_1lter>I see the problem the same... run next job.
03:39:46  * antons_joined
03:40:32  * weilujoined
03:40:35  <dman777_1lter>so...bluebird's handling of nextTick() maybe more efficient and utilized than bach's module being used called next-tick
03:40:49  <dman777_1lter>GreenJello: anyways, just a thought.
03:41:37  <dman777_1lter>GreenJello: plus, brach is using events emitted to tasks done. Not sure this is ideal...again, I think blueBird would handle task completion better without events emitting.
03:41:43  <dman777_1lter>s/brach/bash
03:41:48  <dman777_1lter>s/brach/bach
03:42:16  <dman777_1lter>these are just thoughts that crossed my mind. no big deal.
03:42:26  * zz_night-owlchanged nick to night-owl
03:44:27  * lpghatguyquit (Read error: Connection reset by peer)
03:44:51  * lpghatguyjoined
03:44:55  * xuanquit (Ping timeout: 246 seconds)
03:45:27  * towski_joined
03:47:06  * ctorpjoined
03:47:33  * sgen_quit (Quit: Leaving)
03:49:05  * antons_quit (Quit: This computer has gone to sleep)
03:49:12  * Stardusterjoined
03:49:22  * mhernandez1quit (Remote host closed the connection)
03:50:14  * mikenamequit (Remote host closed the connection)
03:50:45  * kid_icarusjoined
03:51:07  * rellingquit (Ping timeout: 245 seconds)
03:51:22  * NoNMaDDeNjoined
03:51:43  <TheAceOfHearts>so, if I wanna use s3 in a small project, but I wanna be able to test without sending data to s3… is https://github.com/nephics/noxmox this my best choice?
03:51:45  * ctorpquit (Ping timeout: 250 seconds)
03:51:51  * night-owlchanged nick to zz_night-owl
03:51:59  * antons_joined
03:51:59  * GreenDogjoined
03:52:03  <TheAceOfHearts>rather, development + test env don't need to actually connect to s3
03:52:18  <TheAceOfHearts>I could use fakes3 gem too, but then that'd require adding Ruby as a dependency D:
03:52:19  * dra_quit (Ping timeout: 255 seconds)
03:52:37  * Starduster_quit (Ping timeout: 240 seconds)
03:53:08  * boooquit (Ping timeout: 250 seconds)
03:53:41  * Geekingfrogquit (Quit: Leaving)
03:53:59  <dman777_1lter>TheAceOfHearts: I think Rackspace has tools in JS also
03:54:02  * booojoined
03:54:29  <TheAceOfHearts>is it cheaper?
03:54:42  * harrisonmquit (Ping timeout: 265 seconds)
03:54:56  <dman777_1lter>Not Sure, they have really good developers discount though
03:55:01  <TheAceOfHearts>I see
03:55:16  <dman777_1lter>TheAceOfHearts: https://developer.rackspace.com/sdks/node-js/ here's thier node.js tools
03:55:27  <TheAceOfHearts>ty, I'll take a look
03:56:07  <dman777_1lter>TheAceOfHearts: https://developer.rackspace.com/signup/
03:56:53  <dman777_1lter>TheAceOfHearts: I've used thier performance one cloud server...it's incrediably powerfull. Especially for network bandwith. No issues with neighbors taking resources.
03:57:04  * ludquit (Excess Flood)
03:57:14  * Milkweedjoined
03:57:23  <TheAceOfHearts>so, it doesn't really matter since it's just for a toy app lol; but it looks like you'd have to do actual requests during testing
03:57:27  <TheAceOfHearts>which is what I wanna avoid :(
03:57:44  * cotkojoined
03:58:01  <dman777_1lter>TheAceOfHearts: ya, thats why I use a performance 1GB flavor server for my website. I never have those issues.
03:58:19  <dman777_1lter>TheAceOfHearts: it's so powerfull I don't even put a dent in the resources.
03:58:38  * Milk_weedquit (Ping timeout: 256 seconds)
03:58:44  * ludkillerjoined
04:00:17  * Nijikokunquit (Read error: Connection reset by peer)
04:00:18  * Nijikoku_joined
04:00:19  * antons_quit (Quit: This computer has gone to sleep)
04:00:48  * KenanYpart ("undefined")
04:00:55  * satazorjoined
04:00:57  * KenanYjoined
04:01:06  * genericjoined
04:01:12  * frecelquit (Quit: No Ping reply in 180 seconds.)
04:01:24  * tristanpquit (Remote host closed the connection)
04:02:03  * tristanpjoined
04:02:08  * pmooneyjoined
04:02:21  * byprdctjoined
04:02:27  * ctorpjoined
04:02:33  * octetcloudquit (Quit: WeeChat 1.0.1)
04:02:36  * byprdctpart
04:02:43  <dman777_1lter>TheAceOfHearts: I wrote this bulk uploader cloud files script in python....multi-threaded. I bench tested it on a performance 1GB server. I had like 200 concurent uploads and it before it hitting a bottleneck in bandwith, which is really good. System resources barely had any dents.
04:02:56  <TheAceOfHearts>sweet
04:03:07  * Latros-OSjoined
04:03:10  * j4s0nmchr1st0squit (Ping timeout: 256 seconds)
04:03:21  * freceljoined
04:03:34  * noj2joined
04:04:27  * shansequit (Ping timeout: 245 seconds)
04:04:28  * genericchanged nick to shanse
04:05:04  * recidivejoined
04:05:22  * satazorquit (Ping timeout: 240 seconds)
04:05:36  * braincrashquit (Quit: bye bye)
04:06:37  * tristanpquit (Ping timeout: 244 seconds)
04:06:43  * iarnajoined
04:07:01  * woahjoined
04:07:05  * weiluquit (Remote host closed the connection)
04:07:05  * ctorpquit (Ping timeout: 264 seconds)
04:07:31  * rellingjoined
04:07:38  * ren_hoekjoined
04:08:12  * assia_tjoined
04:08:14  * pmooneyquit (Ping timeout: 265 seconds)
04:09:10  * braincrashjoined
04:09:36  * ctorpjoined
04:09:52  * jduhlsquit (Ping timeout: 240 seconds)
04:10:32  * P1RATEZquit
04:10:49  * dman777_1lterquit (Ping timeout: 250 seconds)
04:11:12  * iarnaquit (Ping timeout: 258 seconds)
04:11:16  * gsdjoined
04:11:59  * williamcottonjoined
04:12:14  * ren_hoekquit (Ping timeout: 256 seconds)
04:12:52  * dman777_1lterjoined
04:13:21  * enoexjoined
04:13:27  * ludkillerchanged nick to lud
04:13:30  * sunsonquit (Read error: Connection reset by peer)
04:13:39  * antons_joined
04:14:20  * jduhlsjoined
04:14:32  * enoexquit (Client Quit)
04:14:54  * GreenDogquit (Remote host closed the connection)
04:15:24  * Damn3dquit (Ping timeout: 244 seconds)
04:15:35  * recidivequit (Quit: recidive)
04:17:26  * gnrlbzikjoined
04:17:36  * j4s0nquit (Ping timeout: 255 seconds)
04:18:42  * Zolmeisterquit (Ping timeout: 250 seconds)
04:18:53  * MrBaboonjoined
04:18:54  * towski_quit (Remote host closed the connection)
04:19:05  * petschmquit (Disconnected by services)
04:19:06  * petschm_joined
04:19:10  * petschm_changed nick to petschm
04:19:21  * ctorpquit (Remote host closed the connection)
04:20:09  * systemfaultquit (Remote host closed the connection)
04:20:30  * Damn3djoined
04:21:06  * rmgquit (Remote host closed the connection)
04:21:18  * jduhlsquit (Ping timeout: 244 seconds)
04:22:19  * iarnajoined
04:22:23  * towski_joined
04:23:38  * promethquit (Quit: Leaving...)
04:23:58  * towski_quit (Remote host closed the connection)
04:24:11  * sinclairquit (Ping timeout: 244 seconds)
04:24:16  * mary5030joined
04:24:32  * stephenjoined
04:24:59  * j4s0njoined
04:25:24  * lloyddejoined
04:26:32  * psdnquit (Quit: Leaving)
04:27:17  * phuhquit (Read error: Connection reset by peer)
04:27:23  * dman777_1lterquit (Quit: Lost terminal)
04:27:33  * weilujoined
04:27:43  * phuhjoined
04:29:46  * chovy2joined
04:29:49  * lloyddequit (Ping timeout: 245 seconds)
04:29:52  <chovy2>anyone at node.conf in japan?
04:31:56  * jarcosmonautjoined
04:32:06  * ctorpjoined
04:32:17  * genediazjrquit (Remote host closed the connection)
04:32:20  * Milk_weedjoined
04:33:17  * Milkweedquit (Ping timeout: 240 seconds)
04:33:45  * towski_joined
04:33:52  * kid_icarusquit (Ping timeout: 250 seconds)
04:34:14  * Sil3ntR4v3njoined
04:34:31  * j4s0nquit (Ping timeout: 244 seconds)
04:34:38  * Zolmeisterjoined
04:35:01  * rosskquit
04:35:40  * thecobblerquit (Remote host closed the connection)
04:36:38  * gabeiojoined
04:36:38  * gabeioquit (Changing host)
04:36:38  * gabeiojoined
04:36:48  * ctorpquit (Ping timeout: 244 seconds)
04:38:18  * jaequeryquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:38:52  * mkoskarquit (Ping timeout: 244 seconds)
04:38:54  * towski_quit (Remote host closed the connection)
04:40:11  * rodrigo__joined
04:40:11  * dbackslashquit (Read error: Connection reset by peer)
04:40:32  * Levitechanged nick to Levite_nachos
04:40:42  * McMontquit (Ping timeout: 264 seconds)
04:40:48  * Levite_nachoschanged nick to Nacho_levite
04:41:06  * rellingquit (Ping timeout: 265 seconds)
04:42:29  * Andrevanjoined
04:42:51  * thibaultcha_joined
04:43:17  * four33_joined
04:43:36  * towski_joined
04:43:50  * Lee1092joined
04:43:56  <four33_>I have a "problem" with a node app i'm writing - i'm trying to write a self-contained chat client which connects to an external server, but when I push the app to heroku and load it into two clients, they're both seeing the same actions
04:44:21  * thecobblerjoined
04:44:23  * mkoskarjoined
04:44:44  * genediazjrjoined
04:44:46  * Trendrrrrjoined
04:44:49  <GreenJello>four33_, you're probably sharing state between clients, e.g. using global variables
04:44:58  * jmar777quit (Ping timeout: 265 seconds)
04:45:10  <chovy2>four33_: ^ this
04:45:19  <chovy2>i had same problem w/ my chat app
04:45:24  <four33_>hmmm
04:45:43  * jmar777joined
04:45:48  <chovy2>your code online somewhere?
04:45:49  <GreenJello>four33_, put "use strict"; at the top of all of your files
04:45:58  <GreenJello>(with the quotes)
04:46:00  * mridgwayjoined
04:46:01  * towski_quit (Remote host closed the connection)
04:46:40  * GreenDogjoined
04:46:55  * Guest60253joined
04:47:14  <four33_>i'll give it a whirl
04:47:25  * ctorpjoined
04:48:06  <four33_>hmmm no dice
04:48:31  <four33_>that's so weird
04:48:31  * nonksquit (Ping timeout: 250 seconds)
04:48:47  <four33_>it's like when one user joins a server, and the other does nothing, both are seeing the exact same output
04:49:13  * jmar777quit (Remote host closed the connection)
04:50:00  <ningu>four33_: how are you sending the chat messages to the clients? are you using rooms etc.?
04:50:42  <four33_>no i'm just using net to connect to an external server
04:50:49  <four33_>and then socket.io for it's emit events
04:50:56  <four33_>its*
04:51:00  * jmar777joined
04:51:21  <GreenJello>four33_, https://gist.github.com/
04:51:36  <GreenJello>put your code there, assuming it's just a few files
04:52:05  * Milk_weedquit (Ping timeout: 244 seconds)
04:52:10  * ctorpquit (Ping timeout: 255 seconds)
04:52:13  * Rainbquit (Ping timeout: 258 seconds)
04:52:20  * thecobblerquit (Remote host closed the connection)
04:53:00  * Rainbjoined
04:53:05  * ncthom91joined
04:53:07  <four33_>hmm
04:53:10  <four33_>it's a bunch of code
04:53:17  * GreenDogquit (Ping timeout: 264 seconds)
04:53:23  * mlovelessquit (Remote host closed the connection)
04:53:23  <GreenJello>we can't help without seeing the code
04:53:52  <four33_>it's odd that each instance of the app is not self-contained, and they're all sharing output
04:54:03  * McMontjoined
04:54:56  * rayaslokasjoined
04:55:08  * tolmaskyquit (Quit: Connection closed for inactivity)
04:55:28  * EyePulpquit (Remote host closed the connection)
04:55:50  <GreenJello>four33_, if you're coming from php or other cgi, it doesn't start a new process for each request
04:56:32  <four33_>that seems very odd
04:56:41  <GreenJello>so isolation depends on variable scope and creating new instances/connections for each user
04:57:15  * williamcottonquit (Ping timeout: 244 seconds)
04:57:23  <GreenJello>four33_, that depends on your background :-)
04:58:18  <GreenJello>it's just different, like php would be weird for people using a platform like node or go
04:58:24  <four33_>yeah for sure
04:58:25  * jergasonjoined
04:58:34  <ningu>without seeing the code we really can't help
04:58:38  <four33_>how would I go about serving each request in its own process?
04:58:46  <ningu>you should definitely not do that
04:58:59  * Trendrrrrquit (Ping timeout: 265 seconds)
04:59:09  * NormySanquit (Read error: Connection reset by peer)
04:59:11  <GreenJello>it also doesn't make sense if you're using socket.io
04:59:12  * Trendrrrrjoined
04:59:16  <four33_>so take webchat.freenode.net for example - when you and I both connect to a server, we don't see the same output
04:59:21  * Axyjoined
04:59:26  * rayaslokasquit (Ping timeout: 250 seconds)
04:59:27  <four33_>(I just happen to be using it)
04:59:29  <ningu>four33_: we're just talking in circles unless we can see your code
04:59:34  <GreenJello>four33_, you're doing something wrong in your code
04:59:52  * sw1tchMXjoined
05:00:03  * Miaquit (Ping timeout: 244 seconds)
05:00:15  <GreenJello>webchat.freenode isn't making that mistake
05:00:18  * KicStartquit (Quit: Leaving.)
05:00:21  <four33_>:D
05:00:25  * ctorpjoined
05:00:50  * NormySanjoined
05:01:02  * Guest60253quit (Ping timeout: 258 seconds)
05:01:15  * NormySanquit (Read error: Connection reset by peer)
05:01:49  * ren_hoekjoined
05:02:11  * Nacho_levitechanged nick to Levite
05:03:34  * dguttmanquit (Quit: dguttman)
05:05:30  * cotkoquit (Ping timeout: 250 seconds)
05:06:29  * barneybook_8quit (Ping timeout: 245 seconds)
05:06:29  * ren_hoekquit (Ping timeout: 272 seconds)
05:06:31  * Shayne_joined
05:07:08  <Shayne_>Is sending hashed password and username over socket.io a security risk? I am reading through some code trying to understand how this project https://github.com/nickjanssen/IronbaneClient/ intergrates php login with socket.io authentication and it seems thats how they do it.
05:07:33  <Shayne_>Seems they allow login on a prior page save the "safe_name" "safe_pass" (hashed) in a cookie and then when the on the page using socket.io they send the php hashed username/password via socket.io to node.js that connects to a mySql database
05:07:37  * scrollbackquit (Remote host closed the connection)
05:08:10  <GreenJello>I wouldn't say that's a good idea...
05:08:24  * rellingjoined
05:08:28  <GreenJello>but if it's over https and the cookie has a short expiration, it's not terrible
05:08:43  * scrollbackjoined
05:09:26  <GreenJello>what they should do is make an ajax request to login, and get back a session secret which they store in a cookie or similar
05:09:46  * rodrigo__quit (Remote host closed the connection)
05:09:49  * modcurequit (Quit: Leaving)
05:09:52  <Shayne_>Ok so more like a token based system?
05:10:50  <GreenJello>yeah, that's how every web based auth system has worked until very recently, but it's still by far the most popular
05:11:19  * JoshGlzBrkjoined
05:11:22  * iarnaquit (Read error: Connection reset by peer)
05:11:24  * JamieDimonquit (Quit: Page closed)
05:11:26  * rellingquit (Client Quit)
05:12:27  <Shayne_>Gotcha, i actually talked you last night GreenJello thanks for all your help pointing me to some NoSQL alternatives led to my productivity at work being 0 and learning way to much :)
05:12:30  * Trendrrrrquit (Ping timeout: 255 seconds)
05:12:45  <GreenJello>:-)
05:12:46  * Trendrrrrjoined
05:12:53  <GreenJello>happy to (not) help
05:13:34  <GreenJello>I spent most of today watching aws reinvent videos, so I'm in the same place...
05:13:50  <Shayne_>So when you refer to until recently are you saying alternatives like 0auth or no-password?
05:13:58  <GreenJello>yeah
05:14:50  <GreenJello>I don't know anything about no-password, but the part of oauth2 I really like is json web tokens
05:15:36  <GreenJello>normal login flow: send user/pass -> verifies password -> stores session in db -> returns session info
05:15:48  * logan_ejoined
05:16:00  <GreenJello>jwt flow: send user/pass -> verifies password -> creates and return signed session token
05:16:28  <GreenJello>which means you don't need to check with the DB to see if a session is valid, it's encoded in the token
05:16:36  <Shayne_>I was actually refering to this when i said no-password https://passwordless.net/
05:17:34  * charurujoined
05:18:07  <GreenJello>ah cool
05:18:10  * dbdii407quit (Read error: No route to host)
05:18:37  <GreenJello>add push notifications and that's a great solution
05:19:29  * harrisonmjoined
05:19:56  * yvemathquit (Remote host closed the connection)
05:19:56  * Geertje123quit (Remote host closed the connection)
05:20:46  * wilco-JDquit (Quit: Page closed)
05:20:56  <Shayne_>Ah to push to apps?
05:21:18  * jdewaldquit (Remote host closed the connection)
05:21:41  <GreenJello>well so you can verify a login from your phone
05:21:42  * rmgjoined
05:21:44  * jdewaldjoined
05:22:31  * Geertje123joined
05:22:36  <GreenJello>request login -> notification goes to phone with the location of the computer -> click okay -> the computer is sent the token
05:22:40  <GreenJello>something like that
05:23:27  <GreenJello>or it could text you a short code, and then you type it in to verify the login
05:23:39  * Lingosjoined
05:23:44  * four33_quit (Quit: Page closed)
05:23:49  * enaqxquit (Ping timeout: 244 seconds)
05:23:51  <GreenJello>request login -> code goes to phone -> type code into computer -> login success
05:24:32  <GreenJello>that solves the problem of using someone else's computer, and having to type in your email password
05:24:49  * harrisonmquit (Ping timeout: 245 seconds)
05:24:59  <Shayne_>Yeah i can see the short comings now :)
05:26:08  * BigBangUDRjoined
05:26:09  * lloyddejoined
05:26:27  <ningu>hrm... I'm trying to open an html file locally in chrome, but it refers to assets that are on the web and the server is hanging or something. is there any way to tell chrome to just ignore all non-local assets?
05:26:39  * rmgquit (Ping timeout: 250 seconds)
05:26:57  <chovy2>GreenJello: that passwordless.net is pretty sweet
05:27:00  <chovy2>super simple
05:27:10  <chovy2>i wish they would add sms support via twilio
05:27:18  * phuhquit (Read error: Connection reset by peer)
05:27:25  <GreenJello>Shayne_ mentioned it, not me
05:27:29  * kexquit (Remote host closed the connection)
05:27:29  * Latros-OSquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
05:27:44  * phuhjoined
05:27:47  * Lingosquit (Ping timeout: 245 seconds)
05:28:00  <athan>ningu: Go offline?
05:28:08  * athanshrugs
05:28:11  <athan>er offline-mode
05:28:17  <ningu>ahh does that exist? :P
05:28:23  <athan>probably not anymore
05:28:28  * mattattaquequit (Ping timeout: 265 seconds)
05:28:31  * Sil3ntR4v3nquit (Remote host closed the connection)
05:28:37  * Trendrrrrquit (Ping timeout: 255 seconds)
05:28:39  <athan>File > Work Offline!
05:28:41  <athan>woooo
05:28:41  * noj2quit (Ping timeout: 264 seconds)
05:28:54  * Trendrrrrjoined
05:28:57  <GreenJello>ningu, you have to remove them from the html
05:29:06  <ningu>athan: firefox?
05:29:07  <athan>now we're at a blazing fast 3.4Mb/s!
05:29:09  * patrickarltquit (Quit: Leaving...)
05:29:11  <GreenJello>images shouldn't be a problem
05:29:15  <athan>ningu: oop, yeah sorry
05:29:20  <athan>hmm, it should be in there somewhere
05:29:22  <Shayne_>I guess tommrow after 2 days of researching its time for me to implement this php<=>mysql<=>node.js authentication then. I don't have the balls to try an alternative DB yet :)
05:29:32  * stagasjoined
05:29:41  <ningu>GreenJello: I can't edit the html (for other reasons)... I guess I could edit it and then change it back later but that seems silly
05:29:42  * NoNMaDDeNquit (Remote host closed the connection)
05:29:57  <athan>There's a google development plugin that lets you disable arbitrary javascript & css additions, I'm sure it has something for networking
05:29:59  <GreenJello>Shayne_, alternative: php -> auth service
05:30:01  <ningu>I'll just go with ff's thing
05:30:03  <GreenJello>node -> auth service
05:30:06  * athanbrushes the dust off chromium
05:30:12  <GreenJello>auth service -> mysql
05:30:19  * tmh1999quit (Quit: Leaving)
05:30:19  * lloyddequit (Ping timeout: 244 seconds)
05:30:27  <ningu>does ff have its own dev tools or you still need to download firebug?
05:30:28  <GreenJello>and auth service would just be a private http server, written in node or php
05:30:35  <ningu>sorry for asking off-topic questions :P
05:30:39  * enoexjoined
05:30:45  <athan>ningu: I think firebug adds some stuff, but you've got inspector & console!
05:30:51  * rahul_jjoined
05:30:56  <GreenJello>ningu, it does, ff dev tools have been getting better too
05:30:57  <ningu>cool
05:31:01  * MistahKurtzjoined
05:31:17  <ningu>I've been using chrome for a long time now, rarely if ever use ff
05:31:45  <athan>ningu: That's how I used to be until I buried myself in tabs
05:32:04  <ningu>what do you mean?
05:32:17  * hdonquit (Ping timeout: 250 seconds)
05:32:17  * scythe__quit (Ping timeout: 250 seconds)
05:32:42  <ningu>huh. looks like ff doesn't fail to render this file anyway, even though I'm in online mode. cool
05:32:43  * rahul_jquit (Client Quit)
05:32:54  <athan>ningu: Chrome's tabs load eagerly, and firefox's load lazilly - so if I have like 5 windows with 50+ tabs each, I can just let them mellow out and load them on demand with ff. Chrome just loads them all every boot :/
05:33:02  * j4s0njoined
05:33:11  * Trendrrrrquit (Ping timeout: 255 seconds)
05:33:13  <ningu>ahh I see
05:33:26  * Trendrrrrjoined
05:33:37  * TheAceOfHeartsquit (Quit: Leaving.)
05:34:25  <Shayne_>GreenJello, when you say auth service what would you be referring to like what would it provide (im a network engineer and code as a hobby thanks for answering my crazy questions)
05:34:39  * harrisonmjoined
05:35:11  * mlovelessjoined
05:35:19  * rahul_jjoined
05:35:22  * watildejoined
05:35:24  <GreenJello>Shayne_, it'd be a http api that manages auth
05:35:51  <GreenJello>so your main code doesn't have to care about the internals of how authentication works
05:35:56  * genediazjrquit (Remote host closed the connection)
05:36:23  * genediazjrjoined
05:36:31  <GreenJello>it'd just have a few apis, like create session, verify session token, kill session, change password, etc.
05:36:36  <ningu>ff's inspector is not so bad
05:37:19  * jdewaldquit (Remote host closed the connection)
05:37:21  * atatsuquit (Quit: WeeChat 1.0.1)
05:37:33  * CIDICquit (Ping timeout: 244 seconds)
05:39:50  * harrisonmquit (Ping timeout: 244 seconds)
05:40:03  * chrisshattuckquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
05:40:13  * dguttmanjoined
05:40:43  * logan_equit (Quit: logan_e)
05:40:57  <chovy2>i love chrome now. unfortunately.
05:43:26  * jdewaldjoined
05:44:27  * Trendrrrrquit (Ping timeout: 255 seconds)
05:44:38  * Trendrrrrjoined
05:45:34  * nonksjoined
05:46:11  * CIDICjoined
05:46:26  * jdewaldquit (Remote host closed the connection)
05:46:35  * bazinetaquit (Ping timeout: 250 seconds)
05:46:58  * jdewaldjoined
05:47:12  * bazinetajoined
05:48:11  * n4l_quit (Ping timeout: 258 seconds)
05:48:19  * araujoquit (Quit: Leaving)
05:48:54  * n4ljoined
05:49:00  * Cache_Moneyjoined
05:49:20  * captain_morganquit (Ping timeout: 258 seconds)
05:49:40  * satazorjoined
05:50:31  * yvemathjoined
05:51:16  * shakerjoined
05:51:29  * jdewaldquit (Ping timeout: 264 seconds)
05:51:47  * nonksquit (Ping timeout: 250 seconds)
05:52:42  * orikquit (Quit: Textual IRC Client: www.textualapp.com)
05:53:06  * jdewaldjoined
05:53:36  * j201quit (Ping timeout: 265 seconds)
05:54:14  * Zolmeisterquit (Ping timeout: 256 seconds)
05:54:24  * satazorquit (Ping timeout: 245 seconds)
05:55:14  * m4riojoined
05:55:47  <stephen>Hear Here!
05:55:51  * Trendrrrrquit (Ping timeout: 258 seconds)
05:56:04  * Trendrrrrjoined
05:56:13  <chovy2>its so awesome. i am worried.
05:56:17  * shakerquit (Ping timeout: 264 seconds)
05:56:20  * jdewaldquit (Remote host closed the connection)
05:56:53  * jdewaldjoined
05:58:03  * NoNMaDDeNjoined
06:00:51  * jduhlsjoined
06:00:56  * tuanquynetjoined
06:01:10  * orikjoined
06:01:13  <Dramors>hey quick question, do I need to call fs.close after fs.readFile?
06:01:19  <ningu>no
06:01:22  <Dramors>ok thanks
06:01:34  * assia_tquit (Remote host closed the connection)
06:01:42  * jdewaldquit (Ping timeout: 264 seconds)
06:01:49  * tuanquynetquit (Client Quit)
06:03:21  * m4riopart ("Be back later ...")
06:03:22  * Aerosparkquit
06:03:25  * EyePulpjoined
06:03:37  * j4s0nquit (Ping timeout: 245 seconds)
06:04:55  * jdewaldjoined
06:04:57  * Nijikoku_quit (Read error: Connection reset by peer)
06:05:06  * thibaultcha_quit (Remote host closed the connection)
06:05:15  * n^izzojoined
06:05:17  * mary5030quit (Remote host closed the connection)
06:05:49  * j4s0njoined
06:06:02  * Zolmeisterjoined
06:06:22  * Nijikokunjoined
06:06:25  * Nijikokunquit (Max SendQ exceeded)
06:06:30  * caitp-quit (Ping timeout: 264 seconds)
06:07:00  * Nijikokunjoined
06:07:32  * antons_quit (Quit: Leaving)
06:07:56  <n^izzo>I have an interesting issue; I want to map over an array but I want map to jump 4 positions each time
06:08:15  * srl295quit (Ping timeout: 250 seconds)
06:08:35  <chovy2>n^izzo: now why would you want to do taht?
06:08:43  <chovy2>sounds like your data is not in a good format
06:08:57  * spydeeequit
06:09:13  * rahul_jquit (Quit: rahul_j)
06:09:39  * Trendrrrrquit (Ping timeout: 258 seconds)
06:09:54  <chovy2>n^izzo: either way, the map callback takes `item, i`
06:09:55  * Trendrrrrjoined
06:10:01  * jduhlsquit (Ping timeout: 255 seconds)
06:10:09  <chovy2>so just check if `i` is divisible by 4
06:10:11  <n^izzo>my first thought was just to check if the current position is the fourth and return the value
06:10:15  <chovy2>before you process it
06:10:16  * stephenquit (Quit: Leaving)
06:10:30  * ncthom91quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
06:10:34  <n^izzo>chovy2:ok
06:10:59  <n^izzo>chovy2: and I agree it is a bad format, canvas is a bitch
06:11:19  * jdewaldquit (Remote host closed the connection)
06:11:34  * rahul_jjoined
06:11:53  * jdewaldjoined
06:11:55  * zivesterjoined
06:12:05  * iarnajoined
06:12:09  * j4s0nquit (Ping timeout: 250 seconds)
06:12:13  <athan>n^izzo: Not looking forward to it :/ why every 4th?
06:12:22  <shoerain>n^izzo: r,g,b,a?
06:12:32  * j4s0njoined
06:12:38  * tixzjoined
06:13:37  <chovy2>n^izzo: http://jsfiddle.net/7evyjksn/
06:14:07  * topriddyjoined
06:14:14  <topriddy>hi guys
06:14:38  <topriddy>newbie here and i am trying to set up nodejs and probably the npm (sp?) on my mac the right way
06:14:44  <topriddy>would appreciate guidance
06:15:14  <topriddy>using the *.pkg bundle for mac at the moment
06:15:31  <chovy2>topriddy: just install brew
06:15:39  <chovy2>$ brew install node
06:15:41  <chovy2>done
06:15:53  <topriddy>chovy2: i have brew
06:15:58  <chovy2>http://brew.sh
06:16:00  * jdewaldquit (Ping timeout: 244 seconds)
06:16:05  * kid_icarusjoined
06:16:16  <topriddy>chovy2: was impatient and already installed the pkg bundle…is there a way of going back?
06:16:26  <topriddy>chovy2: uninstall and then install back?
06:16:27  <chovy2>uninstall it?
06:16:37  <topriddy>chovy2: how ?
06:16:43  <chovy2>how did you install it?
06:16:48  * dguttmanquit (Quit: dguttman)
06:17:02  <chovy2>what .pkg bundle?
06:17:06  <chovy2>do you have a link?
06:17:16  <topriddy>chovy2: from the nodejs site
06:17:18  * joltsquit (Ping timeout: 264 seconds)
06:17:26  <topriddy>chovy2: here http://nodejs.org
06:17:37  * jdewaldjoined
06:17:49  <topriddy>when i clicked install it downloaded a pkg file i insitalled from
06:17:53  <topriddy>installed*
06:17:54  <chovy2>yeah
06:17:56  <chovy2>i see
06:18:06  <topriddy>chovy2: are you on a mac? should i just ignore and continue?
06:18:07  <chovy2>type `which node`
06:18:20  <chovy2>topriddy: i'm on a mac. but i use brew whenever possible
06:18:27  <chovy2>because you can uninstall easily.
06:18:38  <chovy2>it also has casks for desktop apps
06:18:44  <chovy2>like chrome or whatever
06:18:48  <topriddy>output: /usr/local/bin/node
06:18:59  * j4s0nquit (Ping timeout: 245 seconds)
06:19:11  <chovy2>topriddy: you can probably just mv that out of there and then install with brew. That's where brew will put it
06:19:52  * tacoshellmcgeejoined
06:20:05  * jmar777quit (Remote host closed the connection)
06:20:05  * cagedwisdomquit (Remote host closed the connection)
06:20:40  * Shayne_quit (Ping timeout: 246 seconds)
06:20:51  * thecobblerjoined
06:20:57  * zivesterquit (Ping timeout: 240 seconds)
06:21:08  <topriddy>chovy2: okay
06:21:09  * Jarboequit
06:21:22  * Nikeshjoined
06:21:28  <topriddy>chovy2: meanwehile, i am looking for a javascript server side mentor…i seem lost .
06:21:39  <chovy2>topriddy: ask away
06:21:58  <chovy2>are you building a web app/rest api?
06:22:12  <topriddy>vetenary java developer…just mastered javascript (like read a book and completed the codeacademy javascript trail)…
06:22:12  * Trendrrrrquit (Ping timeout: 244 seconds)
06:22:15  * n^izzoquit (Ping timeout: 255 seconds)
06:22:24  <chovy2>:)
06:22:24  * jarrod_joined
06:22:28  * Trendrrrrjoined
06:22:31  <topriddy>chovy2: found expressjs, sailsjs, and meanjs.org
06:22:44  <chovy2>depends on what you want to build with it.
06:22:48  <ningu>I would start basic like with express
06:22:52  <chovy2>i like daftmonk's angular-fullstack-generator
06:22:54  <ningu>and see if you need more or not
06:22:55  <Nikesh>Can anyone suggest a guide to node that is current? I have found some guides but so far they all use old versions of node and/or examples that no longer apply
06:23:12  <ningu>but at least that way you understand how it fits together
06:23:14  <chovy2>Nikesh: what are you looking to learn?
06:23:17  <topriddy>i am looking for an alternative paradigm really for developing crud like webapps so i can choose which to use
06:23:36  * assia_tjoined
06:23:40  <chovy2>topriddy: express is the battle tested solution.
06:23:43  <chovy2>there are others.
06:23:55  <chovy2>koajs i just found out about. looks promising.
06:24:12  <chovy2>sails i looked into about 2 years ago. it was not ready back then.
06:24:18  <Nikesh>chovy2: overall to understand mvc/mv* web app creation. so learning express on top of node, too. or another kind of framework. but i would like to have a good understanding of node underneath that
06:24:34  <chovy2>there's also loopback.io which can build your entire CRUD interface just by modifying a few json files.
06:24:40  * tacoshellmcgeepart
06:24:48  <Nikesh>chovy2: and to get a good handle on rest
06:25:00  * rahul_jquit (Quit: rahul_j)
06:25:05  * toothrotquit (Ping timeout: 264 seconds)
06:25:08  <chovy2>Nikesh: i learned a lot from using the daftmonk generator
06:25:22  <shoerain>can I output color-coded JSON from node.js? I just want keys, strings, integers, and arrays to be different colors on stdout
06:25:24  <chovy2>it was recently rewritten and follows pretty good architecture for front and back.
06:25:26  <shoerain>for a grunt task
06:25:28  * rahul_jjoined
06:25:35  * j4s0njoined
06:25:50  <chovy2>shoerain: perhaps there's a plugin for that. have you looked on npmjs.org?
06:26:01  <Nikesh>DaftMonk/generator-angular-fullstack ?
06:26:20  * iarnaquit (Ping timeout: 244 seconds)
06:26:39  * TheAceOfHeartsjoined
06:26:41  * CIDIC_joined
06:26:59  * lloyddejoined
06:27:00  <shoerain>i mean, i've seen stuff like underscore-cli on the terminal, but I wouldn't know what to search on npmjs. I use chalk, so if I could keep using that, that would be nice
06:27:06  <chovy2>shoerain: i'm curious what a color coded object would look like
06:27:11  * jarrod_quit (Ping timeout: 255 seconds)
06:27:25  <chovy2>shoerain: "json color"
06:27:28  <chovy2>heh
06:27:38  <chovy2>why is beyond me
06:27:49  <topriddy>chovy2: what “IDE” do you use?
06:27:51  <chovy2>usually i look at json in a viewier or debugger. not on console.
06:27:54  <shoerain>er I did do 'json color' I should mention
06:27:59  <chovy2>topriddy: webstorm for sure
06:28:00  * TheAceOfHeartspart
06:28:26  <ogd>shoerain: on the CLI type `npm search json` and then in the output do CTRL+F (or CMD+F on Mac) and search for 'color' or 'pretty' in the results, there might be somethign there
06:28:28  * CIDICquit (Ping timeout: 265 seconds)
06:28:28  * CIDIC_changed nick to CIDIC
06:28:29  * TKHjoined
06:28:30  <chovy2>webstorm has a built in node debugger that is pretty slick.
06:28:32  <topriddy>paid*…prolly worth it from thos jetbrains guys?
06:28:39  <shoerain>chovy2: well here's color coded JSON on the commandline: https://github.com/ddopson/underscore-cli
06:28:41  <Nikesh>shoerain: what about require('colors'); ?
06:28:55  <chovy2>topriddy: $50/year is nothing considering what you get.
06:28:57  <Nikesh>shoerain: then.. console.log('yay!'.rainbow);
06:29:06  * CIDICquit (Client Quit)
06:29:15  <chovy2>i used colors before
06:29:24  <shoerain>I should mention I want object keys to be colored in one color, integers another, strings a third, and everything else as is
06:29:33  <chovy2>shoerain: why?
06:29:43  <GreenJello>unfortunately you don't know if you like webstorm for 2-4 months
06:29:49  <chovy2>heh
06:30:17  <shoerain>i'd be outputting a bit of JSON for other developers, and it would be nice?
06:30:17  * enoexquit (Ping timeout: 240 seconds)
06:30:18  <chovy2>i had coworker shoe me the ropes right off the bat. I told him I would try webstorm for 30 days after using vim for 20 years.
06:30:24  <chovy2>show*
06:30:57  <shoerain>chovy2: you've been using vim since '94?
06:30:59  <chovy2>shoerain: i dont' care what color the data is. I care if its inspectable or not.
06:31:15  * lloyddequit (Ping timeout: 255 seconds)
06:31:15  <chovy2>can i get a tree view of an object in my editor/debugger?
06:31:29  <chovy2>it can be whatever color they want it to be as far as i'm concerned.
06:31:36  * Nijikokunquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
06:31:42  * mndynclquit (Ping timeout: 255 seconds)
06:31:52  * joltsjoined
06:31:59  <shoerain>fair enough, color isn't really important, but I figure if I can get it, then why not
06:32:53  * thecobblerquit (Remote host closed the connection)
06:34:35  * tixzquit (Remote host closed the connection)
06:34:52  * thecobblerjoined
06:35:07  <chovy2>hehh
06:35:29  * jdewaldquit (Remote host closed the connection)
06:35:33  <chovy2>maybe there is a rainbow of flavors...and you could pick which color you want your keys to be. I think we should spend the next week building that. :)
06:35:40  * Trendrrrrquit (Ping timeout: 255 seconds)
06:35:56  * Trendrrrrjoined
06:36:03  * jdewaldjoined
06:36:37  <Nikesh>chovy2: so do you use web storm now?
06:36:45  <Nikesh>i love vim. i just started using it a few weeks ago
06:36:59  <chovy2>shoerain: it would be a pita though. you would have to intercept the string output before its logged to console and wrap color codes around everything.
06:37:07  * cultheroquit
06:37:35  <chovy2>Nikesh: yeah. i'm much faster with it.
06:37:45  <chovy2>i was getting neck/shoulder pain from vim
06:37:54  <Nikesh>oh really?
06:38:03  <Nikesh>why? and how are you faster with web storm?
06:38:31  <chovy2>its just much quicker to jump around your code base in webstorm than it is in vim.
06:38:56  <chovy2>i watch my buddy use vim and i cringe now. think "i used to be like that"
06:39:13  <chovy2>1000x key presses to do what you can do in like 2 mouse clicks in webstorm.
06:39:32  <Nikesh>ah interesting
06:39:40  <Nikesh>is webstorm open source?
06:40:00  <GreenJello>Nikesh, no, but it's based on inelij which is
06:40:03  <chovy2>don't get me wrong. i love vim. i still use it for editing on servers and shit and will bust out ack occassionally. but web storm makes all that unnecessary.
06:40:15  <GreenJello>intellij*
06:40:16  <ningu>ack?
06:40:19  <chovy2>Nikesh: intellij is open source but webstorm is not.
06:40:31  <chovy2>ningu: ack > grep
06:40:34  <ningu>oh, right
06:40:41  * jdewaldquit (Ping timeout: 264 seconds)
06:40:59  <chovy2>There's a trial version. you can play with it for 30 days.
06:41:07  <chovy2>i jsut expense it anyway. so no big deal.
06:41:10  * ndreijoined
06:41:10  * watildequit (Remote host closed the connection)
06:41:28  * mndyncljoined
06:41:47  * watildejoined
06:42:13  <ningu>apparently there is a ms plugin for sublime that gives it intellisense-like capabilities
06:42:16  * EyePulpquit (Remote host closed the connection)
06:42:40  * Piteljoined
06:43:11  * rahul_jquit (Quit: rahul_j)
06:43:22  * GreenDogjoined
06:43:48  * rayaslokasjoined
06:43:52  <chovy2>i use submlim too, but not for coding. i only use it as a scratchpad.
06:44:05  <chovy2>when i don't feel like creating an entire project in webstorm.
06:44:06  <ningu>I use sublime for coding
06:44:32  <chovy2>can you follow your code in submlime?
06:44:43  <ningu>not sure what you mean by "follow your code"
06:44:57  <chovy2>like if you come across "doSomething()" can you jump to its definition.
06:44:59  <chovy2>?
06:45:10  * assia_tquit
06:45:11  <ningu>I don't know. maybe with the right plugin.
06:45:32  <ningu>I tried webstorm a year or two ago and it seemed too heavyweight for my poor laptop
06:45:38  <ningu>but maybe things have changed
06:46:16  <topriddy>chovy2: do you want to recommend an express guide for me?
06:46:22  <chovy2>ningu. yeah. it helps to have a 16gig ram
06:46:37  <chovy2>i have a 6 year old mac. websorm 9 works, but is a little slow loading.
06:46:41  * mkoskarquit (Ping timeout: 264 seconds)
06:46:45  <topriddy>chovy2: currently just following what they put here: http://expressjs.com/starter/generator.html
06:46:48  <ningu>topriddy: isn't there a guide on the expressjs.com site?
06:47:04  <ningu>oh, it's not a complete guide, I see.
06:47:10  <ningu>but there is 'getting started'
06:47:20  <ningu>I would start there
06:47:20  <topriddy>Trying to complete Getting Started, and then Guide. doenst really look “complete”
06:47:48  <topriddy>if you look at their Getting Started link thats the next thing http://expressjs.com/starter/generator.html
06:47:53  * gv1222joined
06:47:54  * alvaro_oquit (Read error: Connection reset by peer)
06:48:06  <ningu>topriddy: honestly express is so simple I'd just read the api docs
06:48:15  <topriddy>okay
06:48:20  * joel_tuxjoined
06:48:21  * rayaslokasquit (Ping timeout: 255 seconds)
06:48:21  <ningu>but there might be a good guide somewhere
06:48:29  * harleyjoined
06:48:30  <topriddy>i would need sleek things like routing, accessing database, etc
06:48:32  <ningu>"using middleware" is helpful I'm sure
06:48:38  <ningu>and "using template engines"
06:48:45  * nonksjoined
06:48:45  * harleychanged nick to Harley642
06:48:49  <ningu>routing is the core of express, it doesn't have any special facilities for db engines
06:48:59  <ningu>express is basically a router with pluggable middleware
06:49:00  <Nikesh>i have yet to find something like jade actually useful
06:49:01  <ningu>and template engines
06:49:39  <ningu>topriddy: if you want a full(er) stack go with sails, I guess, but I haven't used it
06:49:52  * phuhquit (Read error: Connection reset by peer)
06:50:09  * mlovelessquit (Remote host closed the connection)
06:50:17  * phuhjoined
06:50:18  * morenoh149quit (Ping timeout: 264 seconds)
06:50:30  <topriddy>express is just for routing and template generation? grrr…wont allow me build my example crud application with only just that
06:50:44  <ningu>topriddy: right but you can hook it together with other things easily enough
06:50:59  <ningu>in the node ecosystem people tend to use lots of small modules
06:51:03  <chovy2>topriddy: imo, you should use angular for client and express for api
06:51:31  <ningu>express is more like sinatra than rails
06:51:49  <Harley642>hi guys.. kinda a stupid question but.. i have created a button: <button type="test"><%= var1 %></button> and in /javascripts/global.js i added var var1 = "test" along with adding <script src="/javascripts/global.js"></script>
06:51:57  * mndynclquit (Ping timeout: 244 seconds)
06:52:14  <ningu>Harley642: you need to understand the difference between the server and the client, I suspect :P
06:52:23  <Harley642>but i get undefined variable
06:52:28  <ningu>or is that a client-rendered template?
06:52:35  <Harley642>yeah. im thinking thats so lol
06:52:42  * watildequit (Quit: Leaving...)
06:52:53  <ningu>either way templates don't take global variables
06:53:04  <topriddy>chovy2: and for saving the data in db?
06:53:08  <topriddy>mogodb*
06:53:19  * nonksquit (Ping timeout: 250 seconds)
06:53:23  <Harley642>honestly im not sure, i was just trying to go at it.. i created a project w/ webstorm with express and ejs ningu
06:53:24  <topriddy>guess this is where MEAN or SAILS eventually still comes in…shouldnt i just start from there
06:53:42  <ningu>topriddy: I am just encouraging you to understand how it fits together so it doesn't seem like magic
06:54:00  <ningu>Harley642: ok, well if your template is rendered on the server side you need to pass the locals to it there
06:54:31  <chovy2>Harley642: are you using express to render your route?
06:54:34  <Nikesh>can someone briefly explain app.use() such as in express ?
06:54:35  * Argue__joined
06:54:39  * fatalhaltquit (Quit: fatal halt)
06:54:45  * Trendrrrrquit (Ping timeout: 244 seconds)
06:54:54  <ningu>Nikesh: http://expressjs.com/guide/using-middleware.html
06:54:59  * Trendrrrrjoined
06:55:05  <chovy2>Nikesh: it a way to execute code
06:55:18  <Harley642>chovy2: yea
06:55:28  <Nikesh>aha
06:55:35  <chovy2>Harley642: res.render('index', { foo: 'foobar' });
06:55:41  <chovy2>then in index put <%= foo %>
06:55:49  <topriddy>ah okay. thanks guys
06:55:50  * jduhlsjoined
06:55:50  * topriddyquit (Quit: topriddy)
06:56:04  <Harley642>well thats easy enough i guess
06:56:28  <Harley642>so there is a difference between the server and client
06:56:34  <ningu>Harley642: yep, that's basic server-side template rendering, and it shows up on the client (browser) just as a blob of html
06:56:43  <Harley642>ok
06:56:47  * ren_hoekjoined
06:56:48  <chovy2>Harley642: yeah
06:56:53  <ningu>if you want the client to have access to the structure of the data you need to provide it somehow
06:57:19  <chovy2>Harley642: you can render you pages server side, like PHP. or use an api and fetch via ajax to populate your page w/ data.
06:57:51  * Argue_quit (Ping timeout: 244 seconds)
06:58:04  * chindleyjoined
06:58:12  <Nikesh>angular ngRoute vs uiRouter ?
06:58:13  <Harley642>ok so to do server side i would be using routes/index.js?
06:58:36  <Harley642>i think ill search for a few examples
06:58:36  <chovy2>Nikesh: i'm liking uiRouter more.
06:58:50  <chovy2>i didn't like it at first. but once you want to pass state to a view its pretty nice.
06:58:52  * chindleyquit (Client Quit)
06:59:02  <chovy2>state to a route i mean
06:59:24  <chovy2>plus it autogenerates a valid link based on your setup
06:59:26  * mndyncljoined
06:59:32  <Nikesh>i didn't realise angular had two options
06:59:40  <Nikesh>is ngRoute the default ?
06:59:54  * Cache_Moneyquit (Quit: Cache_Money)
06:59:57  * jduhlsquit (Ping timeout: 240 seconds)
06:59:59  <chovy2>if you have html5 mode you do <a ui-sref="show-edit-page"> and it will generate <a href=/thing/:id/edit>
07:00:10  <chovy2>it you htm5l mode off, it will produce a valid link.
07:00:18  * j4s0nquit (Ping timeout: 265 seconds)
07:00:26  <chovy2>Nikesh: yeah. ngRoute is what angular ships with.
07:00:45  <chovy2>angular-ui has a bunch of plugins, one of which is angular-ui-router
07:00:51  <Nikesh>wow, awesome example
07:01:42  * ren_hoekquit (Ping timeout: 264 seconds)
07:01:50  * rahul_jjoined
07:01:56  <chovy2>its also nice if you change yoru path or something, you just update the route (it takes a url attribute) and you're done. no searching/replacing in views to update the new path
07:02:04  * p15_joined
07:03:02  <chovy2>actually in my example you would do <a ui-sref="show-edit-page(134)"> and you'll get /thing/134/edit
07:03:15  * Piotrasjoined
07:03:15  * NormySanjoined
07:03:46  <Nikesh>chovy2: what have you built with angular + node? anything cool i could look at on github? :P
07:03:57  <chovy2>i have a job site
07:04:04  <chovy2>http://offsite.careers
07:04:11  <chovy2>nothing on github for angular though.
07:04:27  <gv1222>chovy2, do people get confused and do stuff like offsite.careers.com
07:05:22  <chovy2>gv1222: i don't know. nobody has signed up yet. i haven't marketed it yet. I was building it out and decided i needed to use angular fulltime so i quit my old job using backbone and found one where i can use angular. since then i haven't really had time to work on offsite.
07:05:50  <gv1222>ah.
07:06:16  <chovy2>i should probably button it up and submit it to some telecommuter sites
07:06:56  <chovy2>i wanted to add a logo to job postings. then its ready to go
07:07:33  * nveselinovquit (Quit: Connection closed for inactivity)
07:08:21  * damir__joined
07:08:48  * steezejoined
07:09:09  * morenoh149joined
07:09:17  * ryan_stevensquit (Quit: ryan_stevens)
07:09:23  * d4rklit3quit (Quit: My Mac Pro has gone to sleep. ZZZzzz…)
07:09:32  * genediazjrquit (Remote host closed the connection)
07:10:59  * caitp-joined
07:11:15  * MistahKurtzquit (Ping timeout: 272 seconds)
07:11:25  * Trendrrrrquit (Ping timeout: 265 seconds)
07:11:39  * Trendrrrrjoined
07:12:15  * windsurf_joined
07:12:16  * rahul_jquit (Quit: rahul_j)
07:12:23  * Lingosjoined
07:12:46  <windsurf_>My first project with mongodb was using mongoskin. it’s OK. Mongoose looks good from a cursory glance – should I use that?
07:13:05  <chovy2>windsurf_: i like mongoose
07:13:06  <ningu>mongoose is fine, if you really want to use mongodb :P
07:13:13  <windsurf_>i do
07:13:14  <windsurf_>ok thanks
07:13:15  <chovy2>its like using training wheels.
07:13:24  <chovy2>and has validators, virtual attributes. etc
07:13:31  * Harley642quit (Ping timeout: 246 seconds)
07:13:36  <chovy2>you can do some cool things in a few lines of code
07:14:02  <windsurf_>thank you
07:14:19  * rahul_jjoined
07:14:37  * nyanzquit
07:15:37  * Trendrrrrquit (Ping timeout: 240 seconds)
07:15:41  <chovy2>https://gist.github.com/anthonyettinger/9d9b82ca292ab2a5019e
07:15:57  <chovy2>and you just return user.profile whenever you mention a user on public pages.
07:16:06  <chovy2>obviously you don't want to output the full user object
07:16:11  <chovy2>just the public attributes
07:16:17  * mary5030joined
07:16:19  * kexjoined
07:16:26  * Trendrrrrjoined
07:16:28  <chovy2>like email, password, salt, etc.
07:16:35  <chovy2>woudl not be present
07:16:40  * kexquit (Read error: Connection reset by peer)
07:16:41  * tonist_joined
07:16:42  * caitp-quit (Ping timeout: 264 seconds)
07:16:44  * Lingosquit (Ping timeout: 258 seconds)
07:16:49  * dominic1134joined
07:16:58  <windsurf_>chovy2: so… what’s the virtual part for?
07:17:12  <steeze>in express, is bodyParser.json of type 'application/vnd.api+json just referring to the json api media type?
07:17:23  <chovy2>it just allows you do this video.creator = video.creator.profile; res.send(video);
07:17:45  <steeze>app.use(bodyParser.json({ type: 'application/vnd.api+json' })); and this is middleware for parsing that mediatype?
07:17:47  <chovy2>so you only get the public attribtues
07:17:58  * hactorjoined
07:18:14  <chovy2>steeze: looks likei it
07:18:50  <windsurf_>chovy2: i see, thanks
07:18:55  <ningu>steeze: it's saying to assume that content type is in json and to parse it as such
07:19:11  <chovy2>windsurf_: or like on our app.get('/api/user/:id') route you can do res.send(user.profile);
07:19:15  <steeze>is using that mediatype just a design choice?
07:19:28  <chovy2>steeze: what is that media type for?
07:19:41  * mlovelessjoined
07:20:00  <chovy2>looks like some newish replacement for application/json?
07:20:45  * p15_quit (Ping timeout: 272 seconds)
07:20:53  * mary5030quit (Ping timeout: 244 seconds)
07:20:56  <steeze>i'm just seeing it in tutorials and in trying to more fully understand bodyParser just wanted to know more about it
07:21:17  <chovy2>got a link?
07:21:21  <steeze>ahh
07:21:27  <steeze>its for building APIs
07:21:31  <steeze>in JSON
07:21:49  * mlovelessquit (Remote host closed the connection)
07:21:51  <steeze>http://scotch.io/bar-talk/setting-up-a-mean-stack-single-page-application
07:21:53  * hemanthquit (Quit: This computer has gone to sleep)
07:21:54  <chovy2>usually the client would ask for the type it wants
07:22:03  <chovy2>i don't know if that is necessary.
07:22:03  * BigBangUDRquit (Ping timeout: 265 seconds)
07:22:05  * dominic1134quit (Quit: Verlassend)
07:22:21  * dominic1134joined
07:22:27  <steeze>http://jsonapi.org/format/
07:22:28  <ningu>chovy2: it is for the request, not the response
07:22:31  <steeze>JSON API requires use of the JSON API media type (application/vnd.api+json) for exchanging data.
07:22:52  <ningu>and that's how you tell bodyParser.json to recognize something as json, if it isn't application/json
07:23:01  * Damioxquit (Ping timeout: 265 seconds)
07:23:25  * iarnajoined
07:23:49  <chovy2> app.use(bodyParser.urlencoded({ extended: false }));
07:23:50  <chovy2> app.use(bodyParser.json());
07:23:53  <chovy2>that's what my app uses
07:23:59  * mattattaquejoined
07:24:18  <ningu>your app is not the same as steeze's app :P
07:24:22  * snowinferno|workquit (Remote host closed the connection)
07:24:25  <steeze>mine has those as well
07:24:41  <chovy2>i don't know what he's doing.
07:24:45  <steeze>extended true for bP.urlencoded though
07:25:02  <steeze>following what i hope is a decent tutorial haha
07:26:38  <chovy2>what is JSON API?
07:26:40  * ADreWilliamsquit (Quit: Lost terminal)
07:27:08  <steeze>http://jsonapi.org/
07:27:31  <steeze>JSON API is a specification for how a client should request that resources be fetched or modified and how a server should respond to those requests.
07:27:48  * lloyddejoined
07:27:51  * iarnaquit (Ping timeout: 258 seconds)
07:28:07  * Piotrasquit (Ping timeout: 244 seconds)
07:28:18  * Havvy[Hex]joined
07:28:54  * tonist_quit (Quit: tonist_)
07:29:13  * Havvyquit (Ping timeout: 255 seconds)
07:29:13  * j4s0njoined
07:29:15  <chovy2>so its a way to notify the front end about where to find data?
07:29:57  * Trendrrrrquit (Ping timeout: 240 seconds)
07:30:10  * Trendrrrrjoined
07:32:09  * lpghatguyquit (Quit: Leaving)
07:32:19  * lloyddequit (Ping timeout: 250 seconds)
07:33:51  <chovy2>steeze: are there any express plugins that will build a JSON api for you?
07:34:05  <chovy2>seems like it would be a nightmare to code
07:35:06  * doug64kquit (Remote host closed the connection)
07:35:16  * sccjoined
07:35:43  * sccchanged nick to Guest19843
07:35:59  * genediazjrjoined
07:37:28  * petschmquit (Disconnected by services)
07:37:30  * petschm_joined
07:37:34  * petschm_changed nick to petschm
07:37:45  * ctorpquit (Remote host closed the connection)
07:38:38  * satazorjoined
07:40:44  * hactorquit
07:41:46  * genediazjrquit (Ping timeout: 244 seconds)
07:42:03  * genediazjrjoined
07:42:25  * GreenDogquit (Remote host closed the connection)
07:43:06  * satazorquit (Ping timeout: 264 seconds)
07:44:25  * caisahjoined
07:44:25  * Mateon1joined
07:44:25  * caisahquit (Changing host)
07:44:25  * caisahjoined
07:46:31  * dominic1134quit (Quit: This computer has gone to sleep)
07:46:56  * Trendrrrrquit (Ping timeout: 244 seconds)
07:47:09  * Trendrrrrjoined
07:47:23  * woahquit (Read error: Connection reset by peer)
07:47:24  * ctorpjoined
07:47:31  <chovy2>steeze: JSON API could be like rss for json
07:47:54  <chovy2>looks pretty sweet. but i wonder whats in development. if angular 2.0 will support it out of the box.
07:48:10  * netjquit (Ping timeout: 258 seconds)
07:48:28  * netjjoined
07:49:17  * nonksjoined
07:49:55  * phuhquit (Read error: Connection reset by peer)
07:50:22  * phuhjoined
07:51:02  * TKHquit (Remote host closed the connection)
07:51:09  * ren_hoekjoined
07:51:11  <steeze>chovy2, dont scare me with that talk!
07:51:42  <steeze>im pretty new to angular and not sure how much more i should bother learning before 2.0 comes out
07:51:57  * ctorpquit (Ping timeout: 240 seconds)
07:52:04  <steeze>just worried i could possibly be wasting my time
07:52:24  * thecobblerquit (Remote host closed the connection)
07:52:54  <chovy2>steeze: 2.0 is a long ways off.
07:52:58  <chovy2>like perl 6
07:53:04  <chovy2>don't wait for perl 6, just use perl 5
07:53:25  <Nikesh>chovy2: offsite.careers is nice
07:53:36  <chovy2>Nikesh: thanks
07:53:41  <Nikesh>what stack is behind it?
07:53:53  <chovy2>I use that nasty MEAN stack
07:53:58  <Nikesh>yes very clean and classy
07:53:59  * nonksquit (Ping timeout: 250 seconds)
07:54:10  <Nikesh>chovy2: ha
07:54:24  <Nikesh>did you use MEAN.js/io or your own boilerplate
07:54:42  * braincra-joined
07:55:14  <chovy2>i used daftmonk's yeoman generator
07:55:22  * ren_hoekquit (Ping timeout: 250 seconds)
07:55:32  <chovy2>https://github.com/DaftMonk/generator-angular-fullstack
07:55:37  * thibaultcha_joined
07:55:51  <Nikesh>oh cool
07:55:58  <Nikesh>i am playing with that right now
07:56:15  <Nikesh>are you sincere you find it nasty ?
07:56:18  <steeze>chovy2, small typo in job description for the front end dev
07:56:19  <steeze>line 2
07:56:27  * jduhlsjoined
07:56:34  <steeze>says Frnt-end
07:56:35  <chovy2>Nikesh: no i was just joking. "nasty ~ mean?"
07:56:53  <chovy2>i think next stack we all adopt should be called "nasty"
07:57:15  <chovy2>node angular sockets ty
07:57:20  <Nikesh>haha
07:57:24  <steeze>haha
07:57:36  <chovy2>we need a backend frame work that starts with t or y and a database.
07:57:44  <chovy2>t can be reThink
07:57:56  * genediazjrquit (Remote host closed the connection)
07:58:12  <chovy2>and koa can be y
07:58:15  <steeze>that seems to be pushing it
07:58:20  * braincrashquit (Ping timeout: 256 seconds)
07:58:27  <chovy2>node, angular, sockets, koa, rethinkdb
07:58:32  <chovy2>that's my next stack
07:58:39  <steeze>taffyDB
07:58:53  * hemanthjoined
07:58:53  <chovy2>i used taffy. we ended up eradicating it on our rewrite
07:58:58  <chovy2>rethink looks legit
07:59:06  <chovy2>http://www.rethinkdb.com/
07:59:24  <steeze>t is no r
07:59:25  * Trowjoined
07:59:25  <steeze>haha
07:59:26  * PaulCapestanyquit
07:59:28  * hemanthquit (Max SendQ exceeded)
07:59:33  <chovy2>nastier
07:59:37  <chovy2>that would work!
07:59:50  <Trow>morning
07:59:59  <chovy2>sup Trow
08:00:03  * hemanthjoined
08:00:04  <chovy2>it is 12am
08:00:10  <chovy2>on a friday.
08:00:14  <chovy2>night. in here.
08:00:19  <steeze>YUI framework
08:00:21  * phuhquit (Remote host closed the connection)
08:00:24  <Trow>:)
08:00:26  <chovy2>oh god
08:00:27  <steeze>node angular sockets taffydb yui
08:00:38  <chovy2>we used that once
08:00:39  * thibault-joined
08:00:40  * jduhlsquit (Ping timeout: 244 seconds)
08:00:44  <chovy2>haha
08:00:49  * Trendrrrrquit (Ping timeout: 258 seconds)
08:00:54  <chovy2>that is a nasty stack for sure
08:01:01  * Trendrrrrjoined
08:01:16  <steeze>these stacks are just going to get more and more crazy so their acronyms can be more and more awesome
08:01:24  <Trow>im getting data from a form with express now i need to send these data to a js file client side how should i do this ??
08:01:26  * morenoh149quit (Ping timeout: 250 seconds)
08:01:30  <chovy2>i wonder how many down votes you would get on SO if you posted about using angular with yui.
08:01:53  * phuhjoined
08:01:55  <chovy2>Trow: are you serving templates server side?
08:02:26  * ctorpjoined
08:02:27  * root3djoined
08:02:36  * PaulCapestanyjoined
08:02:52  <Trow>chovy2, yes with ejs
08:03:18  <Nikesh>daftmonk angular fullstack seems interesting.. trying to understand how it all works together
08:03:19  * phuhquit (Remote host closed the connection)
08:03:42  <chovy2>Trow: then you just do res.render('page', { myVar: 'foo' });
08:03:42  * phuhjoined
08:03:51  <chovy2>and in page.ejs do <%= myVar %>
08:04:09  <chovy2>we just talked about this like 2 hours ago
08:04:23  * windsurf_quit (Quit: windsurf_)
08:04:35  <Trow>well actually it loads the page without loading javascript css ...
08:04:37  * Streemoquit (Ping timeout: 246 seconds)
08:04:47  <ningu>Trow: that is an entirely different issue
08:05:14  <ningu>are you using express.static? that will serve your static files
08:05:21  <chovy2>Trow: usually you have a layout.ejs which loads all your scripts and css
08:05:28  * thibaultcha_quit (Remote host closed the connection)
08:05:40  <chovy2>and your pages yield blocks that the layout.ejs reads.
08:05:59  * TheEddyFerreirajoined
08:06:21  * genediazjrjoined
08:06:39  <Trow>do i need to use express.static to the .ejs fileS ???
08:07:03  <chovy2>haha
08:07:05  * ctorpquit (Ping timeout: 244 seconds)
08:07:11  <chovy2>who was that dude asking about color coding json?
08:07:15  <chovy2>i just found a plugin for him
08:07:17  <chovy2>http://darul75.github.io/ng-prettyjson/
08:07:23  * nfroidurejoined
08:07:59  * genediazjrquit (Remote host closed the connection)
08:08:26  * davijoined
08:08:27  * balazsquit (Ping timeout: 255 seconds)
08:08:42  * genediazjrjoined
08:08:51  <Trow>do i need to use express.static to the .ejs fileS ???
08:09:31  <chovy2>no
08:09:33  * hemanthquit (Quit: This computer has gone to sleep)
08:09:39  <chovy2>you need that for your client side files. like js, css, images
08:09:59  <chovy2>usually you create a ./public folder and server static stuff out of there.
08:10:03  * morenoh149joined
08:10:40  * thibault-quit (Quit: Quit)
08:10:43  * sw1tchMXquit
08:11:09  <Trow>chovy2, when the user post the form i need to redirect to a dynamic page exp /user/1556
08:11:40  <Trow>so i did smthg i think it s weird
08:11:45  <chovy2>is this like signup form and you want to redirect them to a profile page?
08:12:18  <Trow>not exactly but yeah something like this
08:12:25  * IvailoStoianovjoined
08:12:49  * rahul_jquit (Quit: rahul_j)
08:12:56  <chovy2>do you have an api or are you doing it all server side
08:13:05  * Guest19843quit (Remote host closed the connection)
08:13:07  * Lingosjoined
08:13:23  <chovy2>Trow: its been awhile, but you can look here: https://github.com/chovy/express-template-demo
08:13:26  <Trow>im using express that all
08:13:37  * kid_icarusquit (Quit: WeeChat 0.4.2)
08:13:50  <Trow>im using express 4
08:14:04  <chovy2>principles are still the same
08:14:27  <Trow>are you the one in the photo ?
08:14:31  <Trow>:)
08:14:41  <chovy2>photo?
08:14:43  <Trow>you need a big HI
08:15:17  <Trow>yeah in github
08:15:19  <Trow>anyway
08:15:39  <Nikesh>whoever suggested reading the express api a little while ago..
08:15:42  <Nikesh>what a great idea!
08:15:50  * rahul_jjoined
08:15:52  <chovy2>Trow: a big HI?
08:15:52  * hemanthjoined
08:15:53  <Trow>Nikesh, really ?
08:16:14  * hactorjoined
08:16:17  <chovy2>docs?
08:16:17  <GreenJello>Nikesh, you mean reading the docs?
08:16:19  <GreenJello>sounds silly
08:16:26  <chovy2>"the code is the doc"
08:16:28  * Trendrrrrquit (Ping timeout: 255 seconds)
08:16:42  * Trendrrrrjoined
08:16:55  * dominic1134joined
08:16:55  * dominic1134quit (Changing host)
08:16:55  * dominic1134joined
08:16:59  <GreenJello>I just write unit tests, and then try all possible combinations of characters until it passes
08:17:11  * dominic1134quit (Remote host closed the connection)
08:17:22  <GreenJello>I believe that's called 'declarative programming'
08:17:26  * ctorpjoined
08:17:42  * Lingosquit (Ping timeout: 265 seconds)
08:18:25  <Nikesh>yes i am actually feeling learned
08:18:39  * jergasonquit (Quit: Connection closed for inactivity)
08:18:51  <chovy2>anyone in here would consider paying for training videos?
08:18:52  <Trow>im using app.get inside ann app.post is that ok ?
08:19:02  <chovy2>Trow: no.
08:19:05  <chovy2>why are you doing that?
08:19:17  <chovy2>app.get specifies your route handler
08:19:45  <steeze>woah, was reading about the mean.io stack and came across this on the site for the owners of mean.io
08:19:46  <steeze>http://www.linnovate.net/about
08:20:05  <steeze>looks like they got hacked
08:20:12  <Nikesh>process.env.NODE_ENV ?
08:20:17  <Nikesh>what sets that?
08:20:40  <chovy2>Nikesh: you pass that to your app: `node NODE_ENV=dev app.js` when you start it.
08:20:51  <Trow>chovy2, i found a good example
08:20:58  <Trow>you know jsfiddle ?
08:21:12  <GreenJello>steeze, probably because they were on the mean.io site
08:21:18  <Trow>user type code submit it and it generates it a link to its code
08:21:27  <Trow>that exactly what i need
08:21:29  <steeze>GreenJello, what do you mean?
08:21:32  <GreenJello>steeze, "these developers are using a stack? they have no idea what they're doing"
08:21:32  <chovy2>wow, they even got audio in their defacement.
08:21:39  <steeze>GreenJello, lol
08:22:09  * ctorpquit (Ping timeout: 250 seconds)
08:22:11  * Damn3dquit (Ping timeout: 272 seconds)
08:22:34  <Nikesh>chovy2: so, the app would check what env is set to, and adjust accordingly?
08:22:36  <steeze>their message doesnt make much sense on a website that provides opensource sw
08:22:45  <Trow>so i dont have many dynamic views you see ? chovy2
08:22:49  <GreenJello>seriously though, using the mean stack for building arbitrary sites, is like using a screwdriver set for arbitrary construction projects
08:23:04  <chovy2>Trow: if you want authentaication look at nopassword.net
08:23:17  <chovy2>GreenJello: what do you mean?
08:23:18  <Trow>i dont need it chovy2
08:23:30  <chovy2>Why not use a mean stack for a web app?
08:23:53  <Trow>whats that ?
08:24:01  * Levitechanged nick to Leave_ite
08:24:05  <GreenJello>chovy2, the chance that the combination of mongo, angular, and express being the ideal software for your application is somewhat low
08:24:10  * thecobblerjoined
08:24:11  * ph88joined
08:24:27  <chovy2>GreenJello: why?
08:24:40  <GreenJello>chovy2, because different applications have different needs
08:24:45  <genediazjr>agree with green
08:24:58  <steeze>GreenJello, what are the good use cases for MEAN?
08:25:20  * Damn3djoined
08:25:20  * mjp_joined
08:25:22  <GreenJello>many applications use more pieces than that, also
08:25:30  * j201joined
08:25:35  * thibaultcha_joined
08:25:42  * j201quit (Changing host)
08:25:43  * j201joined
08:25:45  <GreenJello>steeze, you're building a site on your own and don't feel like spending much time on it
08:25:50  <genediazjr>for me, I think it would suffice for ecommerce sites similar to magento
08:26:01  <GreenJello>genediazjr, heh not at all
08:26:02  <Trow>does anyone tried to display a page containing data getted from a form with expresS ?
08:26:12  <GreenJello>you need server side rendering for ecommerce
08:26:14  <Nikesh>do app.get() s need next(); ?
08:26:41  <GreenJello>server side rendering and angular is a bad combination
08:26:44  <genediazjr>so maybe for blogging? like ghost?
08:26:56  <GreenJello>you also need server side rendering for blogs
08:27:04  <GreenJello>and angular is too heavy for most blog needs
08:27:09  <genediazjr>yah
08:27:16  <GreenJello>mongo is a good database for blogs, though
08:27:20  <genediazjr>they have recently updated right
08:27:26  <GreenJello>but the problem is that the other components aren't :-)
08:27:27  <steeze>so that picture the hackers used is hosted on a photobucket account
08:27:31  <steeze>user Jonathon Ibrahim haha
08:27:37  * edyjoined
08:28:37  * lloyddejoined
08:28:44  <genediazjr>what is a good tool for server side rendering
08:28:53  <genediazjr>this is for seo and cache right?
08:29:22  * TheEddyFerreiraquit (Quit: TheEddyFerreira)
08:29:22  <GreenJello>yes, and that depends on what your client side requirements are
08:29:51  <genediazjr>lets say your client is full rest using backbone and underscore
08:29:53  * mjp_quit (Ping timeout: 264 seconds)
08:29:56  * eschnoujoined
08:30:07  <genediazjr>what tool would be a good match
08:30:12  <GreenJello>then you'd just use templates
08:30:15  <genediazjr>for server side rendering
08:30:22  <genediazjr>would that suffice?
08:30:28  <genediazjr>how about seo
08:30:42  <GreenJello>you'd use templates that you can run on the client and server
08:31:08  <genediazjr>what tool would you prefer?
08:31:17  <genediazjr>for templates
08:31:28  <GreenJello>I don
08:31:37  <GreenJello>I don't really have an opinion
08:31:39  * j201quit (Quit: Leaving)
08:31:44  <GreenJello>they're all more or less the same
08:32:05  <GreenJello>an alternative to backbone would be React which supports server side rendering in node
08:32:06  <genediazjr>ic ic
08:32:17  * Trendrrrrquit (Ping timeout: 240 seconds)
08:32:20  * steezepart ("Leaving")
08:32:22  <genediazjr>i'll check that out
08:32:27  * ctorpjoined
08:32:29  * Trendrrrrjoined
08:32:41  * rayaslokasjoined
08:32:52  * lloyddequit (Ping timeout: 240 seconds)
08:32:53  <GreenJello>it's a very different mindset from backbone, but it'd accomplish the same goal
08:32:59  * TheEddyFerreirajoined
08:33:18  <genediazjr>oh its by facebook
08:33:19  <GreenJello>for a blog you could probably just do jQuery + server side templates with partial html loading
08:33:22  <genediazjr>do they use it?
08:33:29  <GreenJello>yeah
08:33:39  <genediazjr>in what module?
08:34:11  <GreenJello>several places, there's their analytics stuff which is all react, and then smaller pieces like the chat and the like button
08:34:29  * sccjoined
08:34:36  <Trow>does render redirect to a page ?
08:34:40  <Trow>with express
08:34:51  <chovy2>render renders a page
08:34:52  * sccchanged nick to Guest43326
08:35:13  <GreenJello>instagram is entirely react; there are some sites like khan academy that use react with backbone
08:35:21  <chovy2>so you have a route, like app.get('/user/:id')
08:35:32  <chovy2>and you render the user object there in a template
08:36:19  * rayaslokasquit (Read error: Connection reset by peer)
08:36:32  <Trow>chovy2, look to this
08:36:32  <Trow>http://stackoverflow.com/questions/25099519/how-to-handle-get-post-in-express-4-nodejs-from-app-js-passing-data-from-form-to
08:36:58  * Trendrrrrquit (Ping timeout: 265 seconds)
08:37:10  <genediazjr>nice
08:37:14  * Trendrrrrjoined
08:37:20  * koderokjoined
08:37:23  * ctorpquit (Ping timeout: 272 seconds)
08:38:22  <Trow>i didnt understand how i should pass the posted data (that i got them in the server side) to the resultpage chovy2
08:38:25  * captain_morganjoined
08:38:48  * thibaultcha_changed nick to thibaultcha
08:39:21  * satazorjoined
08:40:13  * gingermusketeerquit (Remote host closed the connection)
08:40:30  * gingermusketeerjoined
08:40:32  * captain_morganquit (Remote host closed the connection)
08:40:32  * rahul_jquit (Quit: rahul_j)
08:42:29  * hemanthquit (Quit: This computer has gone to sleep)
08:43:05  * eschnouquit (Ping timeout: 272 seconds)
08:43:48  * satazorquit (Ping timeout: 265 seconds)
08:44:11  * eschnoujoined
08:47:25  * ctorpjoined
08:48:20  * mlovelessjoined
08:48:39  * genediazjrquit (Remote host closed the connection)
08:51:33  * thecobblerquit (Remote host closed the connection)
08:51:39  * thibaultchaquit (Quit: Quit)
08:52:10  * ctorpquit (Ping timeout: 256 seconds)
08:52:36  * zz_night-owlchanged nick to night-owl
08:54:48  * genediazjrjoined
08:55:37  * root3dquit (Remote host closed the connection)
08:56:33  * aib_233joined
08:56:59  * jduhlsjoined
08:57:03  * eschnouquit (Ping timeout: 255 seconds)
08:57:12  * Nookjoined
08:57:37  * Lingo_joined
08:58:40  * saschagehlichjoined
08:58:43  * Trendrrrrquit (Ping timeout: 265 seconds)
08:58:59  * Trendrrrrjoined
08:59:36  * intellixjoined
09:00:00  * cagedwisdomjoined
09:01:41  * jduhlsquit (Ping timeout: 264 seconds)
09:02:00  * Nookquit (Ping timeout: 255 seconds)
09:02:27  * ctorpjoined
09:02:30  * rendarjoined
09:02:58  * Lecheritojoined
09:03:17  * mridgwayquit (Quit: mridgway)
09:03:25  * phuhquit (Read error: Connection reset by peer)
09:03:50  * phuhjoined
09:04:08  * genediazjrquit (Read error: Connection reset by peer)
09:04:27  * genediazjrjoined
09:04:53  * basicdaysquit (Quit: I'm out)
09:05:54  * dangerousdavejoined
09:07:00  * r3ndquit (Read error: Connection reset by peer)
09:07:08  * ctorpquit (Ping timeout: 258 seconds)
09:08:07  * r3ndjoined
09:08:17  * j4s0nquit (Ping timeout: 258 seconds)
09:08:29  * Lingo_quit (Quit: Be back later ...)
09:08:38  * bazinetaquit (Quit: Be back later ...)
09:10:36  * cocoadaemonjoined
09:10:42  * Lcfvsjoined
09:11:04  <Lcfvs>hi all
09:12:23  * koderokquit (Ping timeout: 240 seconds)
09:12:27  * eschnoujoined
09:12:53  * cocoadaemon_joined
09:13:28  * hactorquit
09:13:47  <ningu>hi one
09:14:42  * mlovelessquit (Remote host closed the connection)
09:15:01  <Lcfvs>hey ningu :)
09:15:19  * Lee1092quit (Quit: Connection closed for inactivity)
09:16:27  * kazuponjoined
09:16:36  * cocoadaemonquit (Ping timeout: 265 seconds)
09:17:22  * ctorpjoined
09:17:58  * aslantjoined
09:18:50  <Lcfvs>got a problem on socket.io install (error MSB4025)
09:19:01  <Lcfvs>any idea to solve it, please?
09:19:06  * Trendrrrrquit (Ping timeout: 255 seconds)
09:19:20  * Trendrrrrjoined
09:19:33  * instence_joined
09:19:52  * Tugquit (Ping timeout: 250 seconds)
09:20:01  * elaijuhjoined
09:20:56  * instencequit (Ping timeout: 258 seconds)
09:21:57  * ctorpquit (Ping timeout: 240 seconds)
09:22:22  * agent47joined
09:22:33  * kazuponquit (Remote host closed the connection)
09:24:00  * raptasticsquit (Ping timeout: 258 seconds)
09:24:38  * iarnajoined
09:25:01  * captain_morganjoined
09:26:59  * raghuquit (Remote host closed the connection)
09:27:24  * sunsonjoined
09:27:57  * sdwragequit (Quit: Leaving)
09:28:56  * Lingosjoined
09:29:00  * iarnaquit (Ping timeout: 256 seconds)
09:29:16  * omejoined
09:29:20  * lloyddejoined
09:29:21  <Trow>is this correct to use ejs ?
09:29:22  <Trow>http://pastebin.com/TqkSfFsQ
09:29:32  * r3ndquit (Ping timeout: 244 seconds)
09:29:56  * it0aquit (Quit: WeeChat 1.0.1)
09:30:31  * thibaultchajoined
09:31:16  * r3ndjoined
09:31:56  <ningu>Trow: you don't need line 2, if you name your templates .ejs
09:32:26  * ctorpjoined
09:32:51  * raptasticsjoined
09:33:03  * raghujoined
09:33:35  * Lingosquit (Ping timeout: 265 seconds)
09:34:01  * genediazjrquit (Remote host closed the connection)
09:34:04  * lloyddequit (Ping timeout: 265 seconds)
09:34:46  * Trendrrrrquit (Ping timeout: 255 seconds)
09:35:02  * stagasquit (Ping timeout: 250 seconds)
09:35:02  * Trendrrrrjoined
09:35:25  <Trow>ningu, look once i got data from a form then in the if(err)else{*} block i need to redirect to a resultpage
09:35:28  * tixzjoined
09:35:37  <Trow>in the else should i redirect to that page ?
09:35:38  * weilu_joined
09:35:41  * weiluquit (Read error: Connection reset by peer)
09:35:41  * shakerjoined
09:36:57  * ctorpquit (Ping timeout: 245 seconds)
09:37:07  * shakerquit (Remote host closed the connection)
09:37:09  * raghuquit (Remote host closed the connection)
09:37:35  * j4s0njoined
09:37:58  * nonksjoined
09:38:51  * hemanthjoined
09:39:19  * ren_hoekjoined
09:39:46  * tixzquit (Ping timeout: 256 seconds)
09:39:57  * orikquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
09:40:14  * orikjoined
09:40:42  * orikquit (Client Quit)
09:41:30  * Elishajoined
09:42:24  * fn00dlequit (Ping timeout: 250 seconds)
09:42:45  * nonksquit (Ping timeout: 250 seconds)
09:42:50  * eschnouquit (Ping timeout: 250 seconds)
09:43:02  * gsdquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
09:43:14  * raghujoined
09:43:26  * thibaultchaquit (Quit: Quit)
09:43:40  * b_dquit (Quit: Textual IRC Client: www.textualapp.com)
09:43:42  * ren_hoekquit (Ping timeout: 244 seconds)
09:43:45  * STRMLjoined
09:44:51  * thibaultchajoined
09:45:01  * fn00dlejoined
09:45:57  * coinerjoined
09:46:25  * lloyddejoined
09:46:37  <ningu>Trow: why not just render the result page? why do you want to redirect?
09:47:06  * ShekarSirijoined
09:47:19  * Trendrrrrquit (Ping timeout: 244 seconds)
09:47:26  * ctorpjoined
09:47:35  * Trendrrrrjoined
09:47:41  <Trow>because i want that once the user submit the form it will redirect it to the resultpage does render do this ? ningu
09:47:43  * tiglionabbitjoined
09:49:15  <ningu>usually you just render the results on the form url
09:49:21  <ningu>redirect is much more complicated
09:50:13  * len_quit (Read error: Connection reset by peer)
09:50:24  <Trow>ok i should add res.render inside the app.post success block ? ningu
09:50:42  <ningu>yes
09:50:55  * lloyddequit (Ping timeout: 265 seconds)
09:51:15  * hemanthquit (Quit: This computer has gone to sleep)
09:51:17  * morenoh149quit (Ping timeout: 240 seconds)
09:51:57  * ctorpquit (Ping timeout: 245 seconds)
09:52:15  <Trow>ok thanks
09:52:43  * shakerjoined
09:53:18  * FernandoBassojoined
09:54:05  * thibaultchaquit (Quit: Quit)
09:54:10  * orikjoined
09:54:15  * Elishaquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
09:54:35  * thibaultchajoined
09:55:50  * laurensvanpouckejoined
09:56:08  * genediazjrjoined
09:56:12  * j4s0nquit (Ping timeout: 258 seconds)
09:56:30  * j4s0njoined
09:57:44  * jduhlsjoined
09:58:17  * Elishajoined
09:58:59  * phuhquit (Remote host closed the connection)
09:59:22  * sigma_joined
09:59:40  * phuhjoined
09:59:45  <sigma_>hi
10:00:22  * sigma_part
10:01:10  * Keanu73joined
10:01:20  * Keanu73quit (Remote host closed the connection)
10:01:20  * sigma_joined
10:01:51  <sigma_>i am new in nodejs world
10:02:15  * shesekquit (Ping timeout: 250 seconds)
10:02:23  * AciD``joined
10:02:26  * ctorpjoined
10:02:44  <Trow>welcome sigma_
10:02:53  * jduhlsquit (Ping timeout: 272 seconds)
10:02:56  <sigma_>hello all
10:03:13  <sigma_>hi trow
10:03:21  * dizzywarejoined
10:03:22  <Trow>hi
10:03:37  * Swizecjoined
10:03:41  <dizzyware>hi
10:03:46  <sigma_>can you suggest me a good way to approch ?
10:03:54  <sigma_>*approach
10:04:06  * phuhquit (Ping timeout: 264 seconds)
10:04:07  <Trow>to what im new too to node :)
10:04:20  <sigma_>ohh he he same pinch
10:04:27  <sigma_>any experts here ?? :)
10:04:30  * Argue__quit (Read error: Connection reset by peer)
10:04:56  * platonicquit (Remote host closed the connection)
10:05:01  * sigma_quit (Client Quit)
10:05:14  <dizzyware>good way to approach?
10:05:22  * Trendrrrrquit (Ping timeout: 255 seconds)
10:05:37  * Trendrrrrjoined
10:05:48  * dangerousdavequit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:06:35  * iapainquit (Quit: iapain)
10:06:54  <gildean>Swizec: approach what?
10:07:05  * ctorpquit (Ping timeout: 264 seconds)
10:07:48  * Nottejoined
10:08:44  * night-owlchanged nick to zz_night-owl
10:08:50  * genediazjrquit (Remote host closed the connection)
10:09:06  * bazinetajoined
10:10:02  * Nottequit (Client Quit)
10:10:05  * satazorjoined
10:10:10  * karlmikkoquit
10:11:40  * karlmikkojoined
10:12:04  * aib_233quit (Quit: aib_233)
10:12:07  * captain_morganquit (Ping timeout: 244 seconds)
10:13:06  * MLMquit (Quit: Connection closed for inactivity)
10:14:07  * sunsonquit (Remote host closed the connection)
10:14:16  * robbyoconnorjoined
10:14:23  * satazorquit (Ping timeout: 250 seconds)
10:14:28  * julien-fquit (Quit: WeeChat 1.0.1)
10:14:44  <gildean>oh, i mistabbed, meant to ask a person who had already left
10:14:53  * karlmikkoquit (Remote host closed the connection)
10:15:05  * Versalityjoined
10:16:57  * SuperPhlyquit (Ping timeout: 245 seconds)
10:17:00  * eschnoujoined
10:17:25  * ctorpjoined
10:17:49  * gnshkamathjoined
10:17:51  * AvianFluquit (Ping timeout: 250 seconds)
10:18:39  * shesekjoined
10:18:53  * Nainajoined
10:18:59  <Naina>Hi
10:19:11  <juliangruber>Naina: olah!
10:19:29  <Naina>Can you please help me in node.js issue which i am facing?
10:20:00  * ed209quit (Remote host closed the connection)
10:20:04  * Lcfvsquit (Ping timeout: 246 seconds)
10:20:12  * ed209joined
10:20:24  <Naina>?
10:20:28  * Nikeshquit (Quit: Lost terminal)
10:21:24  <Naina>please tell me if someone can tell that i want to search the links in html page by href or <a href in node.js
10:21:31  <Naina>how can i do so
10:21:31  * rayaslokasjoined
10:21:55  <ningu>you want to scrape a page?
10:22:05  <ningu>sounds like you want to use cheerio
10:22:16  * ctorpquit (Ping timeout: 258 seconds)
10:22:48  <Naina>yes
10:22:58  <Naina>different differnt webpages
10:23:06  <Naina>yes Cheerio is not properly working
10:23:16  * eschnouquit (Ping timeout: 244 seconds)
10:23:39  * hemanthjoined
10:23:48  <Naina>or may be dnt know how to filter href or any link associated with the loaded webpage html file
10:23:48  <ningu>what is not working?
10:23:49  <dizzyware>you could event-stream and inspect the buffer for Greg
10:24:20  <Naina>can anyone just ping me the code i should give to filter the links in the loaded html page of any website
10:24:27  <ningu>$('a').each
10:24:31  <ningu>it's just like jquery
10:24:43  <dizzyware>request(url).pipe(your-event-stream)
10:24:54  * zz_night-owlchanged nick to night-owl
10:25:05  * nonksjoined
10:25:20  * bazinetaquit (Ping timeout: 258 seconds)
10:25:37  * Trendrrrrquit (Ping timeout: 255 seconds)
10:25:51  * Trendrrrrjoined
10:26:04  * rayaslokasquit (Ping timeout: 244 seconds)
10:26:10  * night-owlchanged nick to zz_night-owl
10:26:22  * Versalityquit (Quit: Lingo: www.lingoirc.com)
10:26:41  * mjp_joined
10:26:45  * Lingosjoined
10:26:57  <Naina>var fruits = "" $('href').each(function(i, elem) { fruits[i] = $(this).text(); console.log(fruits[i]); });
10:27:04  <Naina>this is not working at all
10:27:16  <Naina>i want the text
10:27:24  <ningu>Naina: use $('a')
10:27:28  * elaijuhquit (Ping timeout: 250 seconds)
10:27:32  <ningu>href is an attribute
10:27:37  * tmh1999joined
10:27:58  * sunoanojoined
10:28:03  * jedwatsonjoined
10:28:10  <ningu>also is fruits a string or an array?
10:28:16  <dizzyware>that's jQuery?
10:28:20  * ^esc_quit (Ping timeout: 250 seconds)
10:28:28  * gnshkamathquit (Ping timeout: 246 seconds)
10:28:28  <ningu>no, cheerio, but it's almost the same
10:28:57  <Naina>but in console its coming undefined
10:29:57  <Naina>suppose take example of google html loaded page
10:30:11  * lloyddejoined
10:30:14  <Naina>in that its not searching $('a')
10:30:33  <ningu>huh?
10:30:39  * djootquit (Read error: Connection reset by peer)
10:30:41  * infynyxxjoined
10:31:05  * mjp_quit (Ping timeout: 258 seconds)
10:31:12  * dojoVaderjoined
10:31:56  <Naina>link i am not able to search ningu
10:32:05  * karlmikkojoined
10:32:22  * ctorpjoined
10:32:58  <ningu>then you are doing something wrong
10:33:02  <ningu>I don't know what else to tell you
10:33:27  * morenoh149joined
10:33:30  * ren_hoekjoined
10:33:34  <dizzyware>why would you use jQuery in nodejs?
10:33:44  <Naina>tell wht something wrong i m doing
10:33:55  <ningu>dizzyware: to scrape a website
10:34:17  * lloyddequit (Ping timeout: 240 seconds)
10:34:21  <ningu>Naina: I would need to see your code for that
10:34:57  <Naina>var $ = cheerio.load(body); console.log("inside cheerio"); var urls = ""; $('a').each(function(i, elem) { urls[i] = $(this).text(); console.log(urls[i]); });
10:35:13  <Naina>instead of fruits now its urls
10:35:25  <Naina>also in body I am getting html body of google website
10:35:31  <dizzyware>interesting, I would stream it in and search for Greg
10:35:42  * adrianlangjoined
10:35:43  * adrianlangquit (Changing host)
10:35:43  * adrianlangjoined
10:35:44  <ningu>Naina: you should do: var urls = [];
10:35:55  <ningu>you want an array, not a string
10:36:10  * Nyarlajoined
10:36:23  <Nyarla>Hello!
10:36:36  * Aeqjoined
10:36:46  * tiglionabbitquit (Quit: tiglionabbit)
10:37:00  * ctorpquit (Ping timeout: 250 seconds)
10:37:44  <Naina>hey Ningu I am getting names of the link
10:37:47  * nonksquit (Ping timeout: 250 seconds)
10:38:02  <Naina>but i want the links associated with them so that i can redirect to those link
10:38:15  <ningu>$(this).attr('href')
10:38:17  <Naina>I did array thnks for that
10:38:18  * ren_hoekquit (Ping timeout: 264 seconds)
10:38:18  * TheEddyFerreiraquit (Quit: TheEddyFerreira)
10:38:29  <Nyarla>I'm fairly new with node, could someone help me with a couple of questions regarding static website building?
10:38:41  * oxhakjoined
10:38:57  <ningu>Nyarla: sure, but node isn't really meant for that, unless you mean just using jade from the commandline or something
10:39:17  <Nyarla>Basically yeah, just the node-based tools that let me utilize Jade / Stylus
10:39:26  * Swizecquit (Quit: Computer has gone to sleep.)
10:39:27  * TheEddyFerreirajoined
10:39:31  * Trendrrrrquit (Ping timeout: 258 seconds)
10:39:38  <ningu>yep, that should work fine
10:39:47  * Trendrrrrjoined
10:40:11  <Nyarla>I'm building a website using these tools, but I have some less tech-savvy friends who will most likely as to update said website
10:40:24  <Nyarla>I don't feel like guiding them in the installation of node/npm/dependencies
10:40:56  <Nyarla>Is there a cool way of packaging whatever tools im using so that the can just run a batch file or such to rebuild everything
10:41:04  <Nyarla>so that they can*
10:41:09  * Frivilligjoined
10:41:12  * spike-joined
10:41:19  <ningu>I don't know, but you could use a commit hook to do it on the server
10:41:42  * STRMLquit (Remote host closed the connection)
10:42:28  <Naina>Ningu I am getting the links
10:42:33  <dizzyware>nyarla: you could make a grunt project
10:42:34  <Naina>associated with them
10:43:09  <ningu>gulp > grunt although I dunno if gulp has support for jade/stylus per se, maybe it does
10:43:16  * r3ndquit (Read error: Connection reset by peer)
10:43:23  <Naina>can i open all links in different tab of browsers
10:43:30  <ningu>ah yeah, https://www.npmjs.org/package/gulp-jade
10:43:48  * r3ndjoined
10:44:31  <Naina>?
10:44:38  <Nyarla>So Grunt/Gulp projects can be packaged so that I could just give them the files and they can use it
10:44:44  <Nyarla>without having to install anything
10:44:57  <Nyarla>As I said, they'll probably look at me weird if I ask them to start installing node/npm
10:45:01  * D-Boyquit (Excess Flood)
10:45:06  <ningu>Naina: I think so if you do target="_blank"
10:45:12  * karlmikkoquit (Remote host closed the connection)
10:45:19  <ningu>Naina: but I don't really understand your question
10:45:43  * Pitelquit (Quit: (ノಠ益ಠ)ノ彡┻━┻)
10:45:51  <dizzyware>nyarla: they need nodejs and npm
10:45:55  <ningu>Nyarla: I don't know of any good solution to what you're asking but I've also never looked for one
10:45:57  * maheshjoined
10:46:05  <Naina>suppose i got all links in an arrray now i want to open them in once , can i open them using open module at once?
10:46:08  <Nyarla>:/
10:46:26  <ningu>Naina: huh?
10:47:02  <ningu>Naina: what about the commit hook idea?
10:47:06  <ningu>s/Naina/Nyarla/
10:47:23  * ctorpjoined
10:47:42  <ningu>or is the goal to have them each edit the site on their own machines?
10:48:14  * rmgjoined
10:48:26  <Nyarla>Maybe I'll just ask them to use Prepros and give them a pre-setup config file. Might be the simplest method since they're not that familiar with node/cli stuff
10:48:37  * Sebmasterjoined
10:49:03  * chalinxjoined
10:49:23  * djootjoined
10:50:35  <Naina> var urls = []; $('a').each(function(i, elem) { urls[i] = $(this).attr('href'); console.log(urls[i]); }); response.open(urls[2]);
10:50:44  <Naina>i am not able to open the url
10:50:57  * Trendrrrrquit (Ping timeout: 240 seconds)
10:51:13  * Trendrrrrjoined
10:51:22  <ningu>Naina: I have no idea what you are trying to do
10:51:30  * adrianlangquit (Ping timeout: 264 seconds)
10:51:35  * Begottenjoined
10:51:44  * ctorpquit (Ping timeout: 250 seconds)
10:52:02  * nveselinovjoined
10:52:03  * MrBaboonquit (Remote host closed the connection)
10:52:10  * zz_night-owlchanged nick to night-owl
10:52:11  <Naina>see i got the different links name
10:52:13  <ningu>if you want to do an http request then you can use the 'request' module
10:52:29  <Naina>yes i hv that module
10:52:44  * rmgquit (Ping timeout: 245 seconds)
10:52:47  <dizzyware>naina: you want launch a browser?
10:53:47  * hemanthquit (Quit: This computer has gone to sleep)
10:53:57  * kexjoined
10:54:09  <Naina>no
10:54:12  <Naina>yes
10:54:22  <Naina>i am doing that through open module
10:54:24  <Naina>or request
10:54:27  * sgenjoined
10:54:30  <Naina>both are gud
10:55:27  * Nyarlaquit (Quit: Page closed)
10:56:27  * drninjabatmanchanged nick to drninjabuttman
10:56:49  * MuffinMan`quit (Remote host closed the connection)
10:57:05  * STRMLjoined
10:57:14  <Naina>One more
10:57:16  <Naina>thing
10:57:22  <Naina>please tell if you can
10:57:48  * platonicjoined
10:58:05  * kevinxujoined
10:58:05  <Naina>i want to filter if link is starting with http:// thn redirect to this or i will add the link to the given path by /
10:58:06  * coinerquit (Ping timeout: 244 seconds)
10:58:11  * ludquit (Excess Flood)
10:58:30  * kevinxuchanged nick to Guest74221
10:58:44  * ludkillerjoined
10:58:48  * jduhlsjoined
10:58:50  * kexquit (Read error: Connection reset by peer)
10:58:54  <Naina>are you there ? Ningu
10:59:04  <dizzyware>using indexof and an if statement
10:59:05  * bhughesquit (Remote host closed the connection)
10:59:26  * Merccyjoined
10:59:46  <Naina>how ?
10:59:53  <Naina>dizzy?
11:00:44  <Merccy>I have a mongoose question, is it correct that the document returned by find does not have the save method...?
11:00:51  * weilu_quit (Remote host closed the connection)
11:00:55  * ^escjoined
11:01:31  * xonevjoined
11:01:43  * bhughesjoined
11:02:00  <dizzyware>if urls[I].indexOf('http')!=-1
11:02:23  * Swizecjoined
11:02:24  * ctorpjoined
11:02:42  * Leatesjoined
11:02:42  * skywritergrjoined
11:03:14  * mahdijoined
11:03:23  * jduhlsquit (Ping timeout: 240 seconds)
11:03:37  * BigBangUDRjoined
11:03:52  * skywritergrpart
11:03:52  * eschnoujoined
11:03:58  * skywrite_joined
11:04:14  <Naina>I m tryng
11:04:46  * Trendrrrrquit (Ping timeout: 255 seconds)
11:05:02  * Trendrrrrjoined
11:05:09  * kiranjoined
11:05:17  <Naina>unexpected identifir
11:05:52  * infynyxxquit (Remote host closed the connection)
11:06:08  <Trow>i couldnt dispaly passed values with express anyone could help me plz
11:06:09  <Trow>http://pastebin.com/4uWTi9Ur
11:06:27  * Guest74221quit (Quit: My Mac has gone to sleep. ZZZzzz…)
11:06:28  * xonevquit (Ping timeout: 256 seconds)
11:06:53  * ctorpquit (Ping timeout: 240 seconds)
11:08:15  * skywrite_changed nick to skywritergr
11:08:50  * STRMLquit (Remote host closed the connection)
11:09:01  * D-Boyjoined
11:09:29  <gildean>Naina: instead of describing the singular problems you're having, describe what you're trying to accomplish, that way it's so much easier to help
11:10:02  <Trow>ningu,
11:10:16  <Trow>any idea ?
11:10:50  * satazorjoined
11:11:42  <Naina>?
11:12:37  <Trow>naina did you worked with express ?
11:13:23  * bberryquit (Ping timeout: 240 seconds)
11:13:33  <Naina>yes
11:13:35  * jontesehlinjoined
11:13:44  * dypsilonjoined
11:13:56  <Trow>look at this http://pastebin.com/4uWTi9Ur
11:14:04  <Trow>i couldnt dispaly passed values with express
11:14:06  <Trow>Naina,
11:14:34  <gildean>Trow: you're missing at least one closing }) in your code
11:14:52  <gildean>that shouldn't even run
11:15:01  <Trow>due to copy paste
11:15:02  * weilujoined
11:15:09  * eschnouquit (Ping timeout: 244 seconds)
11:15:32  * satazorquit (Ping timeout: 256 seconds)
11:15:34  <Trow>actually the upload is ok and i got values from form
11:15:44  <Naina>wht error u r getting
11:15:46  <gildean>Trow: you're not checking errors on the validation either, are you sure you the 'fields' is set? have you tried logging it?
11:15:51  <Trow>only the redirecting with the passed values doesnt work
11:16:01  * karlmikkojoined
11:16:21  * weiluquit (Remote host closed the connection)
11:16:25  * TheEddyFerreiraquit (Quit: TheEddyFerreira)
11:16:28  * Foxandxssjoined
11:16:42  <Trow>i dont get any errors it redirects but it doesnt display the values on the variables
11:16:49  <Trow>gildean, Naina
11:17:24  * ctorpjoined
11:17:49  * agent47quit (Quit: Lingo: www.lingoirc.com)
11:18:36  <Trow>im using express 4 by the way
11:20:31  <gildean>Trow: your ejs syntax is incorrect, it needs to be: <%= username %> (you're missing the =)
11:20:51  * nonksjoined
11:21:05  <Merccy>When I am using this.save() in a method defined in schema.methods (mongoose) I get TypeError: Object #<Object> has no method save
11:21:30  * kypsequit (Quit: Connection closed for inactivity)
11:21:45  <Trow>thats crazy
11:21:52  * ctorpquit (Ping timeout: 255 seconds)
11:21:54  <Trow>thank you very much gildean
11:22:33  * kevinxu_joined
11:22:51  * Trendrrrrquit (Ping timeout: 255 seconds)
11:22:56  * dojoVaderquit (Ping timeout: 250 seconds)
11:23:08  * Trendrrrrjoined
11:23:30  * gozalaquit (Quit: Connection closed for inactivity)
11:23:43  <gildean>Merccy: you're calling .toObject to the document or you're using .lean on the query, i think we went over this yesterday?
11:23:46  <gildean>Trow: np
11:24:06  <Merccy>gildean: Nope did not ask anything related to this yesterday
11:24:22  * spike-quit (Ping timeout: 240 seconds)
11:25:03  * maheshquit (Quit: Leaving)
11:25:09  <Merccy>I get the mongoose object using schema.findOne({name: ...}, function(err, doc) { doc = new schema(doc); })
11:25:22  <Merccy>but when I use doc.save() I am getting the error i mentioned
11:25:56  <gildean>Merccy: oh, it was someone else, sorry
11:26:07  * iarnajoined
11:26:13  * elaijuhjoined
11:27:37  * ren_hoekjoined
11:27:54  <gildean>Merccy: shouldn't you use the model to do the queries and not the schema: http://mongoosejs.com/docs/api.html#model_Model.findOne
11:28:24  <Merccy>gildean yeah I do use the model
11:28:26  <gildean>the schema is used to describe the models
11:28:34  <Merccy>gildean: Switch schema with model :P
11:29:04  <gildean>well the returning doc should alredy be a document then
11:29:09  * DiegoMax_quit (Quit: My Mac has gone to sleep. ZZZzzz…)
11:29:43  <Merccy>gildean: But why does this.save in the schema.methods.mySave not work
11:30:21  * spike-joined
11:30:25  <gildean>Merccy: i have no idea as i haven't seen your code
11:30:55  * iarnaquit (Ping timeout: 272 seconds)
11:30:58  * Trowquit (Ping timeout: 265 seconds)
11:31:00  * lloyddejoined
11:31:09  <Merccy>http://pastebin.com/QyBEqtbF
11:31:25  * laurensclaessenjoined
11:31:25  * DiegoMaxjoined
11:31:52  * ren_hoekquit (Ping timeout: 240 seconds)
11:32:01  <Axy>Hello channel
11:32:17  <gildean>Merccy: 'this' inside the callback isn't what you think it is
11:32:21  <Axy>I have two instances in my current project, and I want to auto minify code from one instance to the other one (development to production)
11:32:27  * ctorpjoined
11:32:27  <Axy>is there a quick way to do this
11:32:56  <gildean>Merccy: you need to do something like: var self = this; above doing the api-call, then in the callback reference to 'self' instead of 'this'
11:33:33  <Merccy>gildean: Oh yeah ofcourse
11:33:34  * drag0niusjoined
11:33:40  <Merccy>gildean: I m so dumb, thanks
11:33:46  <gildean>Merccy: np
11:33:57  * danemacmillanjoined
11:33:58  <drag0nius>how can i "compile" module with all dependencies into single file?
11:34:07  <drag0nius>i've some node library and i want to use it in browser
11:34:23  * pickelsjoined
11:34:49  <gildean>drag0nius: check this http://browserify.org/
11:35:00  * DiegoMaxquit (Client Quit)
11:35:22  * lloyddequit (Ping timeout: 256 seconds)
11:35:41  * rmichnikjoined
11:37:03  * williamcottonjoined
11:37:15  * ctorpquit (Ping timeout: 272 seconds)
11:37:35  <drag0nius>hmm i guess i need to convert node module to AMD module, since i'll be using it with dojo toolkit (which uses AMD loader)
11:38:35  * Trendrrrrquit (Ping timeout: 255 seconds)
11:38:48  * Trendrrrrjoined
11:39:44  * mattattaquequit (Ping timeout: 265 seconds)
11:40:05  * williamcottonquit (Max SendQ exceeded)
11:40:42  * netjquit (Ping timeout: 250 seconds)
11:41:01  * netjjoined
11:41:12  * dojoVaderjoined
11:44:28  * eschnoujoined
11:45:34  * night-owlchanged nick to zz_night-owl
11:46:09  * guyjoined
11:46:21  <guy>I am confused.. I cannot find a simple way to get stack trace?
11:46:23  <guy>https://www.npmjs.org/package/stack-trace
11:46:28  * laurensvanpouckequit (Remote host closed the connection)
11:46:32  <guy>There are packages, sure.. but doesn't node support it?
11:47:21  <gildean>drag0nius: i'd really suggest checking out browserify tho', using require also in the clientside is so much nicer
11:47:25  * ctorpjoined
11:47:56  * shakerquit (Remote host closed the connection)
11:48:01  <drag0nius>the main problem is, i am loading AMD modules with require client side ;D
11:48:08  <gildean>guy: an error will have a .stack if there is one
11:48:24  <guy>gildean: string..
11:48:50  * jarrod_joined
11:49:41  * DiegoMaxjoined
11:50:02  <mmalecki>guy: new Error().stack does that
11:50:13  <guy>mmalecki: it returns string.
11:50:17  <mmalecki>guy: or do you not want a string?
11:50:21  <guy>not string..
11:50:30  <mmalecki>well, new Error().stack.split('\n')
11:50:40  * danecandoquit (Ping timeout: 250 seconds)
11:50:40  <guy>I see
11:50:51  * guydeep huh
11:51:18  * shakerjoined
11:51:36  * mtsrjoined
11:51:41  * omequit (Quit: Connection closed for inactivity)
11:51:50  * ctorpquit (Ping timeout: 244 seconds)
11:52:37  * eschnouquit (Ping timeout: 240 seconds)
11:53:05  * MrBaboonjoined
11:53:07  * shakerquit (Remote host closed the connection)
11:53:37  * jarrod_quit (Ping timeout: 245 seconds)
11:53:40  * shakerjoined
11:53:49  * shakerquit (Remote host closed the connection)
11:54:22  * epappasjoined
11:54:43  * Lingosquit (Quit: Be back later ...)
11:56:31  * Trendrrrrquit (Ping timeout: 255 seconds)
11:56:46  * Trendrrrrjoined
11:57:18  * MrBaboonquit (Ping timeout: 244 seconds)
11:58:53  * rafagomesjoined
11:58:54  * standooquit (Ping timeout: 250 seconds)
11:59:37  * jduhlsjoined
12:00:39  * shakerjoined
12:00:57  * harimaronchanged nick to alvinhochun
12:02:26  * ctorpjoined
12:02:33  * rmichnikquit (Quit: Leaving...)
12:03:59  * jduhlsquit (Ping timeout: 245 seconds)
12:05:12  * saschagehlichquit (Quit: saschagehlich)
12:05:28  * tristanpjoined
12:05:37  * laurensclaessenquit
12:06:49  * ctorpquit (Ping timeout: 244 seconds)
12:07:02  * nonksquit (Remote host closed the connection)
12:08:46  * YaManicKilljoined
12:09:26  * STRMLjoined
12:10:01  * bazinetajoined
12:10:23  * rayaslokasjoined
12:10:27  * hemanthjoined
12:11:03  * acidandyjoined
12:11:03  * laurensvanpouckejoined
12:12:35  * shakerquit (Remote host closed the connection)
12:13:11  * goto-bus-stopjoined
12:13:29  * tristanpquit
12:13:34  * kiranquit (Ping timeout: 245 seconds)
12:13:34  * manuelbiehjoined
12:13:57  * IvailoStoianovquit (Read error: Connection reset by peer)
12:14:05  * Guest43326quit (Remote host closed the connection)
12:14:25  * renekooiquit (Disconnected by services)
12:14:27  * goto-bus-stopchanged nick to renekooi
12:14:27  * bazinetaquit (Ping timeout: 245 seconds)
12:14:30  * JoshGlzBrkquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
12:14:36  * Trendrrrrquit (Ping timeout: 255 seconds)
12:14:49  * Trendrrrrjoined
12:15:17  * mlovelessjoined
12:15:26  * rayaslokasquit (Ping timeout: 265 seconds)
12:15:42  * basiclaser_joined
12:16:04  * williamcottonjoined
12:16:05  * jedwatsonquit (Ping timeout: 264 seconds)
12:17:04  * FernandoBassoquit (Remote host closed the connection)
12:17:16  <Axy>Hey all
12:17:24  <Axy>what should I use to minify my scripts for production?
12:17:25  * ctorpjoined
12:17:27  * spike-quit (Ping timeout: 244 seconds)
12:17:27  * boberoberjoined
12:17:50  * jedwatsonjoined
12:19:06  * Trendrrrrquit (Ping timeout: 255 seconds)
12:19:11  * r3ndquit (Ping timeout: 250 seconds)
12:19:19  * Trendrrrrjoined
12:19:25  * hemanthquit (Quit: This computer has gone to sleep)
12:20:08  * mlovelessquit (Ping timeout: 256 seconds)
12:20:30  * jontesehlinpart
12:20:33  * shakerjoined
12:20:41  * enaqxjoined
12:21:23  * kiranjoined
12:21:48  * ctorpquit (Ping timeout: 244 seconds)
12:22:10  * ren_hoekjoined
12:22:50  * Axychanged nick to Mia
12:23:30  <guy>anyway
12:23:36  * Trendrrrrquit (Ping timeout: 255 seconds)
12:23:39  <guy>used stack-trace library for what I needed
12:23:40  <guy>https://github.com/gajus/require-new
12:23:49  * Trendrrrrjoined
12:24:10  * Mothershipjoined
12:24:29  * Axyjoined
12:24:40  * Axychanged nick to undream
12:24:45  * dojoVaderquit (Ping timeout: 272 seconds)
12:25:09  * undreamchanged nick to Guest24450
12:25:40  * Guest24450part
12:26:17  * rmichnikjoined
12:26:22  * ren_hoekquit (Ping timeout: 256 seconds)
12:26:32  * blubberbopquit (Ping timeout: 245 seconds)
12:27:27  * sgenquit (Quit: Leaving)
12:27:28  * iarnajoined
12:28:03  * mjp_joined
12:28:38  * McMontquit (Quit: Saindo)
12:30:07  * Lingosjoined
12:30:23  * rhonabwyquit (Quit: Leaving)
12:30:49  * rhonabwyjoined
12:31:03  * tixzjoined
12:31:46  * lloyddejoined
12:31:55  * iarnaquit (Ping timeout: 244 seconds)
12:32:19  * tonistjoined
12:32:24  * ctorpjoined
12:32:43  * Grebrezjoined
12:32:54  * mjp_quit (Ping timeout: 264 seconds)
12:34:46  * danemacmillanquit (Ping timeout: 255 seconds)
12:36:47  * ctorpquit (Ping timeout: 244 seconds)
12:36:47  * lloyddequit (Ping timeout: 272 seconds)
12:36:50  * dojoVaderjoined
12:37:06  * Trendrrrrquit (Ping timeout: 255 seconds)
12:37:06  * tonistquit (Client Quit)
12:37:19  * Trendrrrrjoined
12:37:41  * ShekarSiriquit
12:40:20  * recidivejoined
12:41:40  * kasperti_joined
12:42:24  * Ix-Xitanjoined
12:42:24  * Ix-Xitanchanged nick to PointBlank
12:43:09  * dojoVaderquit (Ping timeout: 245 seconds)
12:44:19  * stagasjoined
12:44:54  * rafagomesquit (Remote host closed the connection)
12:44:57  * KicStartjoined
12:45:00  * Aeqquit
12:45:37  * Stardusterquit (Ping timeout: 240 seconds)
12:46:06  * j4s0nquit (Ping timeout: 255 seconds)
12:47:25  * ctorpjoined
12:47:51  * PointBlankquit (Read error: Connection reset by peer)
12:47:58  * Ix-Xitanjoined
12:47:58  * Ix-Xitanchanged nick to PointBlank
12:48:07  * mhernandez1joined
12:49:42  * PointBlankchanged nick to Ix-Xitan
12:49:50  <drag0nius>how do i actually use stuff compiled with browserify?
12:50:03  <drag0nius>does it enable require client-side or what?
12:50:37  * Trendrrrrquit (Ping timeout: 240 seconds)
12:50:40  * poseidjoined
12:50:53  * Trendrrrrjoined
12:50:54  <poseid>anyone here good with sreams?
12:51:24  <poseid>I want to use findit to read files and then pipe those into a single file, with some transformation
12:51:34  <drag0nius>i put the compiled code in script tag, but cannot reference it in any way
12:51:52  * ctorpquit (Ping timeout: 255 seconds)
12:54:10  * charuruquit (Ping timeout: 265 seconds)
12:54:13  <gildean>drag0nius: what do you mean? you write your clientside code and the bundle it up with browserify, drop the script tag to your page and that's it
12:54:30  <drag0nius>the thing is i want to use that browserified code as a library
12:54:36  <drag0nius>in my normal JS code
12:54:37  * charurujoined
12:54:54  <drag0nius>the thing that compiled code exports
12:55:01  <gildean>drag0nius: why can't you just write your whole clientside and then bundle it as one?
12:55:09  * karlmikkoquit (Ping timeout: 272 seconds)
12:55:24  <drag0nius>and compile it every single time i make a change?
12:55:38  * dojoVaderjoined
12:55:47  * xdarklightquit (Ping timeout: 272 seconds)
12:56:07  * Lingosquit (Read error: Connection reset by peer)
12:56:27  <gildean>drag0nius: https://github.com/substack/watchify
12:56:43  * Lingosjoined
12:56:50  * intellixquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
12:56:57  * playjaxjoined
12:57:02  * nicknjoined
12:57:07  * urubujoined
12:57:19  <urubu>#haraka
12:58:11  * Guest9680joined
12:58:23  * danemacmillanjoined
12:58:41  * rigor789|awaychanged nick to rigor789
12:58:56  * charuru_joined
12:59:08  * chavezguquit (Remote host closed the connection)
12:59:18  * urubuquit (Remote host closed the connection)
12:59:18  * charuruquit (Ping timeout: 244 seconds)
12:59:18  * charuru_changed nick to charuru
12:59:50  * urubujoined
12:59:52  * urubuquit (Remote host closed the connection)
13:00:07  <drag0nius>ok i found the '-s' option
13:00:23  * jduhlsjoined
13:00:27  * urubujoined
13:00:52  * spike-joined
13:01:05  * blinequit (Ping timeout: 264 seconds)
13:01:54  * shreddingjoined
13:01:57  * Trendrrrrquit (Ping timeout: 240 seconds)
13:02:10  * Trendrrrrjoined
13:02:27  * ctorpjoined
13:02:57  * shadokjoined
13:03:10  * xonevjoined
13:03:11  * Tugjoined
13:03:29  * Guest9680quit
13:03:39  * Guest9680joined
13:03:46  * Trystanrjoined
13:04:33  * zeronquit (Ping timeout: 255 seconds)
13:04:34  * Trystanrquit (Client Quit)
13:05:17  * jduhlsquit (Ping timeout: 265 seconds)
13:05:30  * zeronjoined
13:06:44  * Guest9680quit (Client Quit)
13:07:06  * ctorpquit (Ping timeout: 258 seconds)
13:07:43  * xonevquit (Ping timeout: 250 seconds)
13:07:46  * cocoadaemon_quit (Remote host closed the connection)
13:08:33  * acidandyquit (Quit: acidandy)
13:09:11  * dojoVaderquit (Remote host closed the connection)
13:10:34  * tixzquit (Remote host closed the connection)
13:10:36  * BigBangUDRquit (Quit: BigBangUDR)
13:11:44  * sul_joined
13:12:12  * TyrfingMjolnirquit (Ping timeout: 255 seconds)
13:12:36  * blinejoined
13:12:53  * spike-quit (Ping timeout: 272 seconds)
13:13:42  * danemacmillanquit (Ping timeout: 264 seconds)
13:13:49  * spike-joined
13:15:22  * ryanxcharlesquit (Ping timeout: 265 seconds)
13:15:55  * zaaljoined
13:16:09  * j4s0njoined
13:16:20  * ryanxcharlesjoined
13:16:34  * Trendrrrrquit (Ping timeout: 244 seconds)
13:16:48  * Trendrrrrjoined
13:17:24  * ctorpjoined
13:19:02  * oncenulljoined
13:19:12  * jjmbjoined
13:20:10  * skywritergrquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:22:06  * ctorpquit (Ping timeout: 250 seconds)
13:22:49  * jaequeryjoined
13:22:56  * epappasquit (Remote host closed the connection)
13:23:01  * intellixjoined
13:23:30  * epappasjoined
13:23:33  * iarnajoined
13:23:48  * spike-quit (Ping timeout: 244 seconds)
13:24:54  * iarnaquit (Remote host closed the connection)
13:24:54  * urubuquit (Read error: Connection reset by peer)
13:25:51  * bazinetajoined
13:26:31  * epappasquit (Read error: No route to host)
13:26:53  * epappasjoined
13:27:17  * red_horned_rihnojoined
13:27:25  * hswolffquit (Ping timeout: 258 seconds)
13:27:27  * Trowjoined
13:27:57  * Zolmeisterquit (Ping timeout: 255 seconds)
13:28:02  * jjmbquit (Quit: Leaving.)
13:28:05  * hswolffjoined
13:28:06  * playjaxquit (Read error: Connection reset by peer)
13:29:25  * Nainaquit (Ping timeout: 246 seconds)
13:29:29  * Trendrrrrquit (Ping timeout: 244 seconds)
13:29:43  * Trendrrrrjoined
13:30:18  * bazinetaquit (Ping timeout: 244 seconds)
13:30:21  * STRMLquit (Remote host closed the connection)
13:30:36  * spike-joined
13:30:57  * STRMLjoined
13:31:46  * tonistjoined
13:32:26  * ctorpjoined
13:32:33  * lloyddejoined
13:33:46  * iarnajoined
13:34:34  * adrianlangjoined
13:35:37  * kexjoined
13:35:40  * sul_quit (Ping timeout: 265 seconds)
13:35:52  * radiomarkjoined
13:36:18  * red_horned_rihnoquit (Quit: Leaving)
13:36:25  * tbrockjoined
13:36:31  * mattattaquejoined
13:36:56  * lloyddequit (Ping timeout: 255 seconds)
13:37:00  * iarnaquit (Read error: Connection reset by peer)
13:37:06  * ctorpquit (Ping timeout: 264 seconds)
13:37:27  * tbrockquit (Client Quit)
13:38:48  * recidivequit (Quit: recidive)
13:39:52  * kexquit (Read error: Connection reset by peer)
13:40:13  * Cormickjoined
13:40:21  * yoshiharujoined
13:40:22  * Grebrezpart
13:40:38  * jjmbjoined
13:40:48  * kexjoined
13:41:10  * jjmbquit (Client Quit)
13:41:38  * STRMLquit (Remote host closed the connection)
13:41:45  * MrBaboonjoined
13:41:49  * son0pjoined
13:41:54  <Cormick>hello would someone help me out installing node?
13:42:05  <Cormick>I'm a bit confused
13:42:48  * STRMLjoined
13:43:08  <Cormick>I believe I currently have different versions installed but I get an error when I type node in the command line
13:43:17  * Trendrrrrquit (Ping timeout: 240 seconds)
13:43:26  * lpinjoined
13:43:30  * Trendrrrrjoined
13:44:02  * iarnajoined
13:44:50  * STRMLquit (Remote host closed the connection)
13:45:31  * superusrquit (Quit: Verlassend)
13:46:01  * superusrjoined
13:46:17  * MrBaboonquit (Ping timeout: 240 seconds)
13:46:17  * paperManu_joined
13:47:13  * STRMLjoined
13:47:18  * cagedwisdomquit (Remote host closed the connection)
13:47:27  * ctorpjoined
13:47:45  * Trendrrrrquit (Ping timeout: 255 seconds)
13:47:56  * recidivejoined
13:48:00  * Trendrrrrjoined
13:49:13  * laurensvanpouckequit (Remote host closed the connection)
13:49:27  * nicknquit (Quit: WeeChat 1.0)
13:50:00  <ogd>Cormick: try installing node from node.js and use the default command line shell for your os
13:50:05  * ADreWilliamsjoined
13:50:31  <Cormick>it seems to be working now
13:50:49  <Cormick>I used nvm to install v0.10.33
13:51:12  <Cormick>but I don't understand why it stopped working
13:51:32  <Cormick>do I have to set the version of node I want to use everything I boot up a shell?
13:51:46  * IvailoStoianovjoined
13:52:15  * ctorpquit (Ping timeout: 255 seconds)
13:53:36  * kazuponjoined
13:55:08  * imLinderjoined
13:56:03  * superusrquit (Quit: Verlassend)
13:56:26  * superusrjoined
13:56:43  * hactorjoined
13:59:00  * Trendrrrrquit (Ping timeout: 255 seconds)
13:59:15  * Trendrrrrjoined
13:59:17  * rayaslokasjoined
14:00:03  * DiegoMax_joined
14:00:14  * ndreiquit (Ping timeout: 250 seconds)
14:00:26  * AlexZanjoined
14:00:41  * iarnaquit (Read error: Connection reset by peer)
14:00:50  * Lingosquit (Quit: Be back later ...)
14:00:56  * iarna_joined
14:01:06  * jduhlsjoined
14:01:09  * TheEddyFerreirajoined
14:02:23  * ctorpjoined
14:02:24  * rayaslokasquit (Read error: Connection reset by peer)
14:02:29  * lpinquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
14:03:05  * lpinjoined
14:03:31  * oncenullquit
14:03:35  * DiegoMaxquit (Ping timeout: 244 seconds)
14:03:40  * tvwjoined
14:03:51  * nonksjoined
14:03:59  * xonevjoined
14:05:20  * scythe__joined
14:05:21  * jduhlsquit (Ping timeout: 250 seconds)
14:06:05  * iarnajoined
14:06:17  * Trow1joined
14:06:21  * instence_changed nick to instence
14:06:36  * geirhaquit (Ping timeout: 265 seconds)
14:06:54  * iarna_quit (Read error: Connection reset by peer)
14:07:00  * satazorjoined
14:07:17  * ctorpquit (Ping timeout: 258 seconds)
14:08:22  * xonevquit (Ping timeout: 256 seconds)
14:08:23  * nonksquit (Ping timeout: 250 seconds)
14:08:45  * geirhajoined
14:09:31  * yannickoo_joined
14:09:47  * hdonjoined
14:10:18  * Trowquit (Ping timeout: 244 seconds)
14:10:44  * Trendrrrrquit (Ping timeout: 258 seconds)
14:10:45  * Arguejoined
14:10:57  * eighty4quit (Changing host)
14:10:57  * eighty4joined
14:11:00  * Trendrrrrjoined
14:11:13  * Stardusterjoined
14:11:17  * giuseppesolinasjoined
14:11:55  * spike-quit (Ping timeout: 265 seconds)
14:12:32  * instence_joined
14:12:33  * surlydevjoined
14:12:54  * orion1111joined
14:13:02  * instencequit (Ping timeout: 258 seconds)
14:13:22  * cocoadaemonjoined
14:13:52  * poseidquit (Ping timeout: 246 seconds)
14:13:54  * coinerjoined
14:14:34  * dbackslashjoined
14:15:08  * mchelenquit (Remote host closed the connection)
14:15:33  * p15quit (Max SendQ exceeded)
14:17:07  * Keanu73joined
14:17:23  * ctorpjoined
14:17:48  * n^izzojoined
14:18:31  * Lingosjoined
14:19:37  * orion1111quit (Ping timeout: 240 seconds)
14:20:35  * mihokjoined
14:21:24  * n^izzoquit (Read error: Connection reset by peer)
14:21:37  * ctorpquit (Ping timeout: 240 seconds)
14:21:41  * n^izzojoined
14:22:14  * Trendrrrrquit (Ping timeout: 258 seconds)
14:22:29  * Trendrrrrjoined
14:22:33  * p15joined
14:22:39  * spike-joined
14:23:23  * sccjoined
14:23:46  * sccchanged nick to Guest20370
14:24:57  * nathan7quit (Ping timeout: 240 seconds)
14:25:02  * CIDICjoined
14:26:22  * n^izzoquit (Ping timeout: 272 seconds)
14:26:37  * orion1111joined
14:26:39  * bazinetajoined
14:26:59  * giuseppesolinasquit (Quit: This computer has gone to sleep)
14:27:11  * johnstoreyjoined
14:27:52  * Guest20370quit (Ping timeout: 240 seconds)
14:28:07  * surlydevpart
14:28:36  * epappasquit (Remote host closed the connection)
14:28:50  * qdkquit (Ping timeout: 265 seconds)
14:29:05  * fexilaljoined
14:29:19  * epappasjoined
14:29:33  * fexilalquit (Client Quit)
14:30:28  * nathan7joined
14:30:56  * bazinetaquit (Ping timeout: 255 seconds)
14:31:01  * giuseppesolinasjoined
14:31:03  * cotkojoined
14:31:26  * Trendrrrrquit (Ping timeout: 258 seconds)
14:31:42  * Trendrrrrjoined
14:32:03  * j4s0nquit (Ping timeout: 272 seconds)
14:32:22  * ctorpjoined
14:33:20  * lloyddejoined
14:33:40  * radiomarkquit (Ping timeout: 265 seconds)
14:34:06  * epappasquit (Ping timeout: 264 seconds)
14:34:14  * Argue_joined
14:34:22  * dangerousdavejoined
14:34:22  * dangerousdavequit (Client Quit)
14:34:58  * caitp-joined
14:35:10  * iarna_joined
14:35:15  * eBureauquit (Quit: Textual IRC Client: www.textualapp.com)
14:35:33  * dangerousdavejoined
14:35:33  * platonicquit (Remote host closed the connection)
14:35:59  * dangerousdavequit (Client Quit)
14:36:21  * iarnaquit (Read error: Connection reset by peer)
14:36:57  * ctorpquit (Ping timeout: 240 seconds)
14:37:17  * Arguequit (Ping timeout: 240 seconds)
14:37:21  * sul_joined
14:37:29  * dbackslashquit (Read error: Connection reset by peer)
14:37:59  * mhernandez1quit (Remote host closed the connection)
14:38:09  * danecandojoined
14:38:09  * dbackslashjoined
14:38:14  * bazinetajoined
14:38:18  * lloyddequit (Ping timeout: 264 seconds)
14:38:31  * karlmikkojoined
14:38:34  * rmichnikquit (Quit: Leaving...)
14:39:17  * iarnajoined
14:39:17  * cliffstah_joined
14:39:32  * caitp-quit (Ping timeout: 265 seconds)
14:39:45  * Voochjoined
14:39:55  * iarna_quit (Read error: Connection reset by peer)
14:40:53  * cliffstah_quit (Client Quit)
14:41:19  * caitp-joined
14:42:37  * Trendrrrrquit (Ping timeout: 240 seconds)
14:42:49  * Trendrrrrjoined
14:42:54  * spacegh0stjoined
14:43:06  * dt3kjoined
14:43:11  * dt3kpart
14:43:32  * kazuponquit (Remote host closed the connection)
14:43:41  * IvailoStoianovquit (Read error: Connection reset by peer)
14:44:05  * karlmikkoquit (Ping timeout: 272 seconds)
14:44:07  * iarnaquit (Read error: Connection reset by peer)
14:44:08  * toothrotjoined
14:44:29  * maletorquit (Quit: Textual IRC Client: http://www.textualapp.com/)
14:44:42  * jaequeryquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:47:24  * ctorpjoined
14:48:25  <Mia>how can I reate a node app in a way that I will be able to start it with additional commands?
14:48:39  <Mia>like node myapp.js -production would set certain settings to it
14:48:50  <Mia>and node myapp.js -dev would start it in a differnt way
14:50:18  * orion1111quit (Ping timeout: 264 seconds)
14:50:37  * Sebastien-Ljoined
14:51:03  * vampi-the-frogjoined
14:51:25  * c00ljsjoined
14:52:08  * ctorpquit (Ping timeout: 258 seconds)
14:52:49  * Discoveryjoined
14:52:49  * IlNominePatrejoined
14:52:53  * kazuponjoined
14:53:11  * Trendrrrrquit (Ping timeout: 244 seconds)
14:53:23  * Trendrrrrjoined
14:53:30  * jmvergesjoined
14:54:49  * koldirgquit (Ping timeout: 258 seconds)
14:56:04  * jas-_joined
14:56:05  * Darryl_quit (Quit: Connection closed for inactivity)
14:56:23  * satazorquit (Remote host closed the connection)
14:56:44  * orion1111joined
14:56:57  * spacegh0stquit (Quit: This computer has gone to sleep)
14:57:21  * kazuponquit (Ping timeout: 265 seconds)
14:57:37  * Trendrrrrquit (Ping timeout: 240 seconds)
14:57:41  * koldirgjoined
14:57:52  * Trendrrrrjoined
14:58:12  * FernandoBassojoined
14:58:42  * spacegh0stjoined
14:59:08  * satazorjoined
15:00:03  * prbcjoined
15:00:07  * giuseppesolinaschanged nick to Gsolinas
15:00:56  * soomro786joined
15:01:14  * Aeqjoined
15:01:49  * jduhlsjoined
15:01:59  * j4s0njoined
15:02:17  * yoshiharupart
15:02:18  * GreenDogjoined
15:02:19  * Gsolinaschanged nick to giuseppesolinas
15:02:24  * ctorpjoined
15:02:36  <elaijuh>process.argv
15:02:44  * NoNMaDDeNquit (Remote host closed the connection)
15:03:07  * giuseppesolinaschanged nick to Gsolinas
15:03:40  * GreenDogquit (Remote host closed the connection)
15:04:18  * epappasjoined
15:04:20  * CIDICpart
15:04:41  * ren_hoekjoined
15:04:46  * xonevjoined
15:05:17  * rawGemjoined
15:05:24  * epappasquit (Remote host closed the connection)
15:05:58  * epappasjoined
15:06:05  * rawGemchanged nick to bhook
15:06:06  * jduhlsquit (Ping timeout: 244 seconds)
15:06:07  * TKHjoined
15:06:37  * Trendrrrrquit (Ping timeout: 240 seconds)
15:06:53  * Trendrrrrjoined
15:07:18  * ctorpquit (Ping timeout: 256 seconds)
15:07:34  * j4s0nquit (Ping timeout: 265 seconds)
15:07:53  * thecobblerjoined
15:09:11  * xonevquit (Ping timeout: 255 seconds)
15:09:13  * shreddingquit (Quit: shredding)
15:09:30  * ren_hoekquit (Ping timeout: 264 seconds)
15:10:12  * ze_flqjoined
15:10:24  * epappasquit (Ping timeout: 265 seconds)
15:10:29  <Aria>Yes, Cormick.
15:10:37  <Aria>But you can add that to your shell config.
15:10:42  <Aria>That's how nvm works, though.
15:11:41  * nonksjoined
15:12:28  * lloyddejoined
15:12:49  * adrianlangquit (Ping timeout: 265 seconds)
15:14:23  * shreddingjoined
15:14:45  * bhookpart
15:14:50  * ze_flqquit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
15:14:53  * NoNMaDDeNjoined
15:14:55  * j4s0njoined
15:14:58  * spike-quit (Ping timeout: 255 seconds)
15:15:59  * nonksquit (Ping timeout: 250 seconds)
15:17:24  * ctorpjoined
15:17:31  * hextileXjoined
15:17:32  * ericandrewlewisjoined
15:17:39  * lloyddequit (Ping timeout: 272 seconds)
15:17:44  * petka_joined
15:18:15  * qdkjoined
15:19:02  * umib0zujoined
15:20:00  * manuelbiehquit (Read error: Connection reset by peer)
15:20:18  * Foxandxssquit (Quit: Textual IRC Client: www.textualapp.com)
15:21:10  * zivesterjoined
15:21:57  * ctorpquit (Ping timeout: 245 seconds)
15:22:02  * ElectronicFerocjoined
15:22:14  * FernandoBassoquit (Ping timeout: 255 seconds)
15:25:17  * caitp-quit (Ping timeout: 240 seconds)
15:26:08  * spike-joined
15:26:31  * mtscout6joined
15:26:33  * jarrod_joined
15:26:38  * satazorquit (Remote host closed the connection)
15:27:09  * caitp-joined
15:27:16  * Shaynejoined
15:27:27  * FernandoBassojoined
15:27:56  * ndreijoined
15:28:07  * automatajoined
15:28:55  * j4s0nquit (Ping timeout: 255 seconds)
15:29:27  * prbcquit (Remote host closed the connection)
15:29:42  * Trendrrrrquit (Ping timeout: 258 seconds)
15:29:58  * Trendrrrrjoined
15:30:02  * rmgjoined
15:30:42  * Sebastien-Lquit (Ping timeout: 265 seconds)
15:30:56  * MrBaboonjoined
15:31:14  * jarrod_quit (Ping timeout: 255 seconds)
15:31:32  * CIDICjoined
15:32:22  * ctorpjoined
15:32:23  <soomro786>Does passport require email or user?
15:32:33  <soomro786>Or can i use just a name to login
15:32:38  <soomro786>No username or pass
15:32:59  * pseldenjoined
15:33:45  * n^izzojoined
15:34:12  * lloyddejoined
15:35:17  * rmgquit (Ping timeout: 264 seconds)
15:35:23  * MrBaboonquit (Ping timeout: 272 seconds)
15:35:51  * thecobblerquit (Remote host closed the connection)
15:36:01  * nainajoined
15:36:26  * Voochquit (Ping timeout: 250 seconds)
15:36:35  * shakerquit (Remote host closed the connection)
15:36:36  <naina>urls[i] = url+urls[i];
15:36:47  <naina>is this the write way to change the name ?
15:36:52  <naina>in node.js
15:36:57  * corpixjoined
15:37:20  * ctorpquit (Ping timeout: 256 seconds)
15:37:31  * cloudbenderjoined
15:38:07  * headrxjoined
15:38:16  <naina>anyone can tell ?
15:38:36  * lloyddequit (Ping timeout: 250 seconds)
15:39:09  * Aswebbjoined
15:39:14  <cloudbender>So, ES6 attempts to unify features found in CommonJS versus RequireJS
15:39:28  <cloudbender>(modules systems)
15:40:17  * Trow1quit (Ping timeout: 245 seconds)
15:40:33  * unclechujoined
15:40:44  <elaijuh>ES6 has AMD things?
15:41:16  <cloudbender>Asynchronous Module Definition (AMD) ... RequireJS
15:41:24  * epappasjoined
15:41:42  * Xatenevjoined
15:42:17  * platonicjoined
15:42:22  <cloudbender>ES6 will support async loading
15:42:41  <elaijuh>how? by define again?
15:43:44  * spacegh0stquit (Quit: This computer has gone to sleep)
15:43:52  <elaijuh>i wonder if any channel ES6 dedicated?
15:44:23  <elaijuh>not much into ES6 yet
15:44:34  * tuskkk___joined
15:44:44  * spacegh0stjoined
15:47:24  * ctorpjoined
15:48:03  <Aria>soomro786: You can use any IDs. Authentication schemes vary!
15:48:12  * rayaslokasjoined
15:48:16  <Aria>naina: To change what name?
15:48:39  <Aria>elaijuh: with a loader defined. It's a layer lower than define, kinda.
15:48:47  * chalinxquit (Quit: Page closed)
15:49:02  * platonicquit (Remote host closed the connection)
15:49:19  * IvailoStoianovjoined
15:49:28  <Aria>There's always ##javascript for ES6, but ... it's spread across the web.
15:50:21  * EyePulpjoined
15:50:29  * intellixquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
15:50:52  * Trowjoined
15:50:53  * FernandoBassoquit (Quit: leaving)
15:51:54  * mlovelessjoined
15:51:57  * ctorpquit (Ping timeout: 245 seconds)
15:52:48  * sunoano1joined
15:52:48  * sunoano1quit (Changing host)
15:52:48  * sunoano1joined
15:53:18  * rayaslokasquit (Ping timeout: 264 seconds)
15:53:18  * sebllll_joined
15:53:22  <cloudbender>A decent read ... http://www.2ality.com/2014/09/es6-modules-final.html
15:53:28  * topwobblejoined
15:54:41  * mtscout6quit (Remote host closed the connection)
15:55:00  * Trendrrrrquit (Ping timeout: 258 seconds)
15:55:04  * sunoanoquit (Ping timeout: 250 seconds)
15:55:14  * Trendrrrrjoined
15:55:17  * mtscout6joined
15:55:22  * ivere27joined
15:55:33  * Venemojoined
15:55:52  * sebllllquit (Ping timeout: 240 seconds)
15:56:54  * Ix-Xitanquit (Ping timeout: 245 seconds)
15:58:34  * TheEddyFerreiraquit (Quit: TheEddyFerreira)
15:58:52  * orikquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
15:58:53  * mihokquit (Ping timeout: 250 seconds)
15:58:56  * ren_hoekjoined
15:59:17  * coinerquit (Ping timeout: 265 seconds)
15:59:23  * ren_hoekquit (Read error: Connection reset by peer)
15:59:34  * TheEddyFerreirajoined
15:59:46  * ren_hoekjoined
16:00:01  * EyePulpquit (Remote host closed the connection)
16:00:07  * harrisonmjoined
16:00:17  * ctorpjoined
16:00:18  <naina>Hi Aria
16:00:24  <naina>to change the path name
16:00:24  <Aria>Hey
16:00:28  <Aria>The path of what?
16:00:30  * mtscout6quit (Ping timeout: 264 seconds)
16:00:39  <naina>like in array urls[i] = url+urls[i];
16:00:44  * nyaquit (Remote host closed the connection)
16:00:45  <naina>urls[]
16:01:01  <naina>i am getting so many links with path only without http
16:01:12  <naina>is this is the right way urls[i] = url+urls[i];
16:01:18  <naina>but its showing error
16:01:43  <naina>as var url = "http://"+name;
16:01:53  * rmichnikjoined
16:02:00  <naina>i want to add this url to urls[i]
16:02:02  <naina>for every i
16:02:41  * jduhlsjoined
16:03:26  * kasperti_quit
16:03:30  * stagas_joined
16:03:32  <naina>name is another variable like google
16:03:49  * recidivequit (Quit: recidive)
16:03:57  <marktraceur>naina: What error does it show?
16:04:06  * stagasquit (Ping timeout: 255 seconds)
16:04:11  * Gsolinasquit (Quit: This computer has gone to sleep)
16:04:13  <naina>when opening the file showing the url name
16:04:28  * stagas_changed nick to stagas
16:04:31  * scythe__quit (Ping timeout: 272 seconds)
16:04:42  <marktraceur>naina: Oh, so whatever URL it constructs is wrong somehow? Can you show us a full example?
16:04:44  * BigBangUDRjoined
16:05:04  * Gsolinasjoined
16:05:30  * BigBangUDRquit (Client Quit)
16:05:31  * xonevjoined
16:06:10  * doug64kjoined
16:06:54  * jduhlsquit (Ping timeout: 245 seconds)
16:06:56  <Aria>That should work, then, naina. Simple string concatenation should suffice.
16:07:04  <Aria>So + is good. It won't break.
16:07:51  * jangidjoined
16:09:22  * dguttmanjoined
16:09:26  * n^izzoquit (Ping timeout: 265 seconds)
16:09:57  * xonevquit (Ping timeout: 244 seconds)
16:10:59  * mattattaquequit (Ping timeout: 244 seconds)
16:11:05  * bigyellowjoined
16:11:30  * drawingthesunquit (Ping timeout: 244 seconds)
16:11:32  * mihokjoined
16:11:38  * zaalquit (Quit: zzz)
16:12:08  * nonksjoined
16:12:19  * sccjoined
16:12:42  * sccchanged nick to Guest87941
16:13:17  * Trendrrrrquit (Ping timeout: 240 seconds)
16:13:29  * Trendrrrrjoined
16:14:11  * spydeeejoined
16:14:22  * spike-quit (Ping timeout: 240 seconds)
16:14:31  * Bludotjoined
16:14:49  <cloudbender>I'm worried that 'this' will become even more ambiguous ...
16:14:52  <cloudbender>import * as metaData from this module;
16:15:01  * shreddingquit (Read error: Connection reset by peer)
16:16:39  * nonksquit (Ping timeout: 250 seconds)
16:16:51  * Guest87941quit (Ping timeout: 258 seconds)
16:17:51  * mlovelessquit (Remote host closed the connection)
16:18:06  <marktraceur>cloudbender: Tech interviewers everywhere are excited at the prospect
16:18:33  <naina>but its not working
16:18:43  * eschnoujoined
16:18:55  * shreddingjoined
16:19:16  <marktraceur>naina: We need more information to help you debug. Can you post your code, please?
16:19:24  <marktraceur>Use e.g. dpaste.de
16:19:29  * recidivejoined
16:20:17  * logan_ejoined
16:20:19  * MLMjoined
16:20:31  * coinerjoined
16:22:09  * cocoadaemonquit (Remote host closed the connection)
16:22:19  <naina>if (urls[i].indexOf('http')!=-1) { urls[i]; } else { urls[i] = url+urls[i]; }
16:22:19  * DiegoMaxjoined
16:22:23  <naina>getting error in this
16:22:30  <naina>cannot find indexOf
16:23:48  <Aria>naina: urls[i]; as a statement on its own won't do anything. And if urls[i] isn't a string, it won't have indexOf. What is the source of urls?
16:24:31  * yannickoo_quit (Quit: Connection closed for inactivity)
16:24:32  <naina>urls[i] = $(this).attr('href');
16:24:34  <cloudbender>naina sign up for pastebin.com and post your code there.
16:25:17  <marktraceur>All of your code, not just the part *you* think is broken
16:25:39  <cloudbender>... and use less white space :)
16:25:40  * lsvquit (Ping timeout: 244 seconds)
16:26:15  * renklafquit (Remote host closed the connection)
16:26:19  <cloudbender>2 spaces per tab stop
16:26:21  * DiegoMax_quit (Ping timeout: 265 seconds)
16:26:23  <gildean>pastebin isn't that good for code tho' imo. something like gist is better
16:26:47  <cloudbender>I like gist also, but it's a bit heavy for quick and dirty posts.
16:26:51  * epappasquit (Remote host closed the connection)
16:26:58  * cotkoquit (Ping timeout: 255 seconds)
16:27:11  * marktraceuralready suggested dpaste.de which is super nice
16:27:17  <cloudbender>saw that
16:27:24  * prbcjoined
16:27:26  * satazorjoined
16:27:36  * epappasjoined
16:27:48  * sul_quit (Ping timeout: 265 seconds)
16:28:08  <naina>wht can i do ?
16:28:39  * bigyellowquit
16:29:01  * karlmikkojoined
16:29:10  <cloudbender>write a combiner function which returns the full url instead of changing the array elements themselves.
16:29:28  * zeronquit (Ping timeout: 256 seconds)
16:29:54  * williamcottonquit (Read error: Connection reset by peer)
16:30:00  * williamc_joined
16:30:14  <marktraceur>naina: Or post your code like we've asked you repeatedly
16:30:20  <cloudbender>^^^
16:30:21  * spike-joined
16:30:23  * lsvjoined
16:30:46  <naina>hi
16:30:48  <naina>please help
16:30:51  <naina>https://gist.github.com/anonymous/f103fa5d4815f1c3a8b3
16:31:00  * mahdiquit (Remote host closed the connection)
16:31:11  * donbittojoined
16:31:24  <naina>If anyone knows
16:31:31  <marktraceur>naina: OK, can you also give us an example of what URLs come out of this code?
16:31:41  * ndreiquit (Ping timeout: 264 seconds)
16:31:52  * epappasquit (Ping timeout: 244 seconds)
16:32:11  <naina>My html file is like this
16:32:13  <naina><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>MySQL GUI Tools. MySQL Monitor and Manager</title> <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name=
16:32:18  <marktraceur>No
16:32:21  <marktraceur>Never that
16:32:23  * satazorquit (Ping timeout: 272 seconds)
16:32:41  <marktraceur>naina: And one example of what the console.log on line 6 shows you would also help
16:32:45  * logan_equit (Quit: logan_e)
16:32:50  * stagas_joined
16:32:59  * ndreijoined
16:33:08  <cloudbender>naina line 12 is bad
16:33:12  * stagasquit (Ping timeout: 250 seconds)
16:33:15  * stagas_changed nick to stagas
16:33:40  * Guest60253joined
16:33:43  * karlmikkoquit (Ping timeout: 255 seconds)
16:33:54  <marktraceur>cloudbender: But it wouldn't do anything
16:33:57  * Trendrrrrquit (Ping timeout: 240 seconds)
16:34:11  * Trendrrrrjoined
16:34:27  * rudquit (Ping timeout: 244 seconds)
16:34:55  * Darryl_joined
16:34:55  * Shaynequit (Ping timeout: 246 seconds)
16:35:00  * lloyddejoined
16:35:30  <cloudbender>In line 16 your a changing the array element value permanently, loosing the original value
16:36:07  <marktraceur>But that's what you want to do...isn't it?
16:36:24  <naina>showing error
16:36:32  <naina>cannot call method indexOf ???
16:36:34  * edy_joined
16:36:37  <naina>Any solution?
16:36:54  * rho_joined
16:36:55  * rho_quit (Changing host)
16:36:55  * rho_joined
16:36:58  <marktraceur>naina: We know about that. What does the console.log on line 6 give you in the console?
16:36:58  * shakerjoined
16:37:05  * `Nefquit (Ping timeout: 264 seconds)
16:37:27  * nainaquit (Quit: Page closed)
16:37:39  * MuffinMan`joined
16:37:42  * nainajoined
16:37:44  <naina>hi
16:37:49  <naina>anybody ?
16:37:50  <marktraceur>naina: We know about that. What does the console.log on line 6 give you in the console?
16:38:23  <naina>its printing the links
16:38:24  * edyquit (Ping timeout: 250 seconds)
16:38:40  <marktraceur>naina: What's the last thing it prints? Copy and paste it, please.
16:38:42  * Trendrrrrquit (Ping timeout: 258 seconds)
16:38:58  * Trendrrrrjoined
16:39:20  <naina>last thing?
16:39:22  <marktraceur>Yes.
16:39:25  <naina>code or output?
16:39:26  <marktraceur>The last line before the error.
16:39:27  * lloyddequit (Ping timeout: 245 seconds)
16:40:05  <marktraceur>In the output.
16:40:19  * jebemijoined
16:40:28  * pseldenquit (Quit: pselden)
16:40:29  <naina>i dnt know y urls[i] is printing undefined
16:40:39  * hactorquit
16:40:45  <marktraceur>OK, that's helpful
16:40:50  <gildean>naina: because the function is returning undefined
16:40:54  <naina>yes
16:41:00  <naina>but i want the links
16:41:03  <cloudbender>line 5 is bad
16:41:07  <naina>wait i will paste the html response
16:41:11  <gildean>'the function' as in the function above that tries to get the 'href'
16:41:16  * jarrodpaynejoined
16:41:25  * bradgignacjoined
16:41:28  * bradgignacquit (Remote host closed the connection)
16:41:37  * `Nefjoined
16:41:40  <marktraceur>So maybe there's an anchor tag without an href in the page.
16:41:57  * ctorpquit (Remote host closed the connection)
16:41:59  * pseldenjoined
16:42:01  * `Nefchanged nick to Guest71993
16:42:19  * Guest71993changed nick to `Nef
16:42:29  * `Nefquit (Changing host)
16:42:29  * `Nefjoined
16:42:37  <naina>https://gist.github.com/anonymous/11da7a3b29668599c6c0
16:42:42  * koderokjoined
16:42:50  * koderokquit (Client Quit)
16:42:57  <naina>no there is a href without an anchor
16:42:59  <marktraceur>naina: <a class="wy-link-color" id="my-minicart">
16:43:16  <marktraceur>naina: So just check for undefined, and if the a tag doesn't have an href, skip it
16:43:18  * Trendrrrrquit (Ping timeout: 258 seconds)
16:43:28  <naina>but i want to check for href
16:43:29  <naina>also
16:43:30  * Trendrrrrjoined
16:43:32  <gildean>yeah, anchors without href is also invalid html (tho' browsers will still render it)
16:43:35  <naina>if its given
16:43:42  * williamc_quit (Ping timeout: 264 seconds)
16:43:45  <marktraceur>naina: That's what if statements are for
16:43:47  <naina>or some other websites its working properly
16:43:56  <gildean>naina: if (!urls[i]) return;
16:44:14  <naina>how to edit
16:44:20  <naina>if anchor is ther
16:44:26  <naina>or if only href is ther
16:44:31  * shakerquit (Ping timeout: 255 seconds)
16:44:38  <naina>or without anchor href is ther
16:45:03  * williamcottonjoined
16:45:09  * shreddingquit (Quit: shredding)
16:45:11  <marktraceur>naina: If an <a> tag doesn't have an href, there's no reason to deal with it.
16:45:20  <gildean>naina: put that line below the one where you set urls[i] with the href and your code should (probably) work
16:46:40  * zaaljoined
16:46:40  <jebemi>.join #sailsjs
16:47:26  * ctorpjoined
16:47:40  * Trendrrrrquit (Ping timeout: 255 seconds)
16:47:42  <naina>yup gildean its working now
16:47:52  <naina>thanks !! let me check for other one also
16:47:56  * rellingjoined
16:48:09  * logan_ejoined
16:48:42  * surlydevjoined
16:48:49  * johnstoreyquit (Quit: Nodding off now.)
16:49:03  * forssjoined
16:49:40  * ndreiquit (Ping timeout: 250 seconds)
16:49:42  * prbcquit (Remote host closed the connection)
16:50:59  <naina>again one issue
16:51:06  <naina>for other website
16:51:10  * donbittoquit (Quit: Leaving.)
16:51:11  <cloudbender>marktraceur dpaste is pretty slick. Will use it for quickies.
16:51:24  <marktraceur>naina: OK, you know the drill: Can we see the code, what is the error, etc.
16:51:26  <cloudbender>Will use gist for long term issues
16:51:57  * ctorpquit (Ping timeout: 240 seconds)
16:52:11  <naina>when opening the saved file its giving the url name
16:52:18  <naina>only
16:52:23  <naina>this is the error
16:52:39  <naina>in the same code
16:52:54  <naina>just after adding theat code if (!urls[i]) return;
16:52:55  * jarrodpaynequit (Remote host closed the connection)
16:52:56  * netjquit (Ping timeout: 265 seconds)
16:53:21  * orion1111quit (Quit: Make it idiot proof and someone will make a better idiot.)
16:53:22  * netjjoined
16:53:28  * williamcottonquit (Read error: Connection reset by peer)
16:53:46  <marktraceur>naina: What's the error?
16:53:54  * williamcottonjoined
16:54:04  * chrisshattuckjoined
16:54:09  * pseldenquit (Quit: pselden)
16:54:18  <naina>when the file is getting saved
16:54:20  * recidivequit (Quit: recidive)
16:54:39  <naina>when i am opening that saved file i am getting the response as http://website.com
16:54:49  <naina>whtever website i am giving
16:54:58  <marktraceur>naina: And what's the error?
16:55:25  * satazorjoined
16:55:34  * ConspiratorXjoined
16:55:45  * it0ajoined
16:55:48  <naina>error is nothing
16:56:05  <naina>this is the issue only that in file i am getting website name instead of the response
16:56:07  <marktraceur>2014-11-15 - 10:52:23 <naina> this is the error
16:56:09  <marktraceur>OK then
16:57:00  * satazor_joined
16:57:19  * rmichnikquit (Quit: Leaving...)
16:57:28  * sharaxjoined
16:57:57  * QianXjoined
16:58:19  * pseldenjoined
16:58:29  <marktraceur>naina: I'm not familiar with "reqi", what is that from?
16:58:31  * pseldenpart
16:58:41  * williamcottonquit (Ping timeout: 264 seconds)
16:58:45  <cloudbender>The vacuum cleaner is giving me the 'stink eye' this morning. I am neglecting my chores. Again.
16:58:56  * QianXquit (Client Quit)
16:59:08  <naina>that is the variable of request
16:59:10  <naina>module
16:59:24  * cloudbenderquit (Quit: ChatZilla 0.9.91 [Firefox 33.0.3/20141105223254])
16:59:50  * platonicjoined
16:59:59  * ConspiratorXquit (Ping timeout: 250 seconds)
17:00:35  * chrisshattuckquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
17:00:38  * kasperti_joined
17:00:51  * satazorquit (Ping timeout: 250 seconds)
17:00:51  * Guest60253quit (Ping timeout: 250 seconds)
17:01:05  * sccjoined
17:01:29  * sccchanged nick to Guest51192
17:01:37  * regredditquit (Quit: Leaving)
17:01:44  <marktraceur>naina: then I'm not sure why you're having trouble, this seems pretty straightforward to me
17:01:48  * harethjoined
17:02:16  <marktraceur>naina: You said the file you write to winds up containing the URL of the page, right?
17:02:21  <hareth>hello!
17:02:24  * ctorpjoined
17:02:33  <marktraceur>naina: Can you share with us one such URL?
17:02:33  * platonicquit (Read error: Connection reset by peer)
17:02:36  <marktraceur>hareth: Hi there!
17:02:43  * tomenglandquit (Read error: Connection reset by peer)
17:02:44  * platonicjoined
17:02:47  <naina>indiabix.com
17:02:52  * Argue_quit (Ping timeout: 244 seconds)
17:03:11  <marktraceur>Hm.
17:03:18  * tomenglandjoined
17:04:05  * jebemichanged nick to kokotakus
17:04:14  * Arguejoined
17:04:19  * ConspiratorXjoined
17:04:35  * mhernandez1joined
17:04:41  * tvwquit (Ping timeout: 264 seconds)
17:05:19  * Guest51192quit (Read error: Connection reset by peer)
17:05:29  <marktraceur>naina: Try doing reqi(urls[i]).pipe(fs.createWriteStream(linkedname[i] + chance.natural({min: 1, max: 100})) instead of lines 20 and belowe.
17:05:33  <marktraceur>below.
17:05:49  <marktraceur>Simplicity may solve the problem.
17:05:59  <marktraceur>Magically™.
17:06:20  * orikjoined
17:06:21  * xonevjoined
17:06:47  * tvwjoined
17:06:52  * laurensvanpouckejoined
17:07:05  * ctorpquit (Ping timeout: 264 seconds)
17:08:18  * spike-quit (Ping timeout: 250 seconds)
17:08:28  * jeffreylevesquejoined
17:08:43  * epappasjoined
17:08:53  * ConspiratorXquit (Ping timeout: 264 seconds)
17:08:57  * epappasquit (Remote host closed the connection)
17:09:13  <naina>instead of all line 20
17:09:15  * bluesmjoined
17:09:40  * epappasjoined
17:09:50  * donbittojoined
17:10:07  <marktraceur>naina: Line 20 and *everything below it*
17:10:16  * nfroidurequit (Ping timeout: 265 seconds)
17:10:17  * epappasquit (Remote host closed the connection)
17:10:31  * epappasjoined
17:10:36  * brianloveswordsjoined
17:11:08  * tvwquit (Ping timeout: 244 seconds)
17:11:17  * xonevquit (Ping timeout: 264 seconds)
17:11:32  * tuelzjoined
17:11:51  <tuelz>what's up JS geeks! Anyone here at the nodevember in nashvegas?
17:12:07  * maheshjoined
17:12:55  * nonksjoined
17:12:58  * petersrjoined
17:13:10  * Latros-OSjoined
17:13:21  * athanquit (Remote host closed the connection)
17:13:24  * tvwjoined
17:14:57  * tripujoined
17:14:58  * mlpugjoined
17:15:07  * jarrodpaynejoined
17:15:57  <LouisT>tuelz: yea, check out #nodevember
17:16:16  <tuelz>damn, it has its own channel
17:16:18  <tuelz>legit.
17:16:27  * MrBaboonjoined
17:17:17  * harrisonmquit (Ping timeout: 264 seconds)
17:17:24  * ctorpjoined
17:17:45  * nonksquit (Ping timeout: 250 seconds)
17:17:48  * infynyxxjoined
17:18:45  * recidivejoined
17:18:47  * rahul_jjoined
17:19:41  * laurensvanpouckequit
17:19:44  * shreddingjoined
17:19:47  * drag0niuspart ("Leaving")
17:20:43  * zaalquit (Quit: zzz)
17:20:52  * MrBaboonquit (Ping timeout: 250 seconds)
17:21:52  * ctorpquit (Ping timeout: 240 seconds)
17:22:04  * EyePulpjoined
17:22:15  * platonicquit (Remote host closed the connection)
17:23:21  * brianloveswordsquit (Quit: Computer has gone to sleep.)
17:23:31  * satazor_quit (Remote host closed the connection)
17:24:13  * brianloveswordsjoined
17:24:51  * dimetronjoined
17:24:52  * rho_quit (Ping timeout: 240 seconds)
17:25:01  * satazorjoined
17:25:04  * infynyxxquit (Remote host closed the connection)
17:26:08  <Aria>It's good!
17:26:23  * dimetronquit (Client Quit)
17:26:32  * ConspiratorXjoined
17:26:41  <IvailoStoianov>js sucks
17:26:44  * IvailoStoianovhides
17:26:46  <IvailoStoianov>:D
17:27:05  <naina>its not writing in html
17:27:41  * RLajoined
17:28:12  * CIDICquit (Quit: CIDIC)
17:28:30  * aslantquit (Remote host closed the connection)
17:28:51  * shreddingquit (Quit: shredding)
17:28:55  * Rainbquit (Ping timeout: 258 seconds)
17:29:00  * jaequeryjoined
17:29:53  * coinerquit (Ping timeout: 264 seconds)
17:30:42  * ConspiratorXquit (Ping timeout: 245 seconds)
17:31:15  * son0pquit (Quit: Lost terminal)
17:31:17  * donbittoquit (Quit: Leaving.)
17:31:53  * basichashjoined
17:32:04  <basichash>What's a good node stack alternative to rails?
17:32:25  * ctorpjoined
17:32:26  * hextileXquit (Quit: hextileX)
17:33:08  <TheMoonMaster>basichash: No such thing
17:33:14  * _ritchie_joined
17:33:28  * Klumbenquit (Ping timeout: 265 seconds)
17:33:38  <TheMoonMaster>I guess the closest would be Sails, but nothing that I've seen node wise compares.
17:33:38  * Fuzzierjoined
17:33:48  * hemanthjoined
17:34:14  * Aartsiequit (Quit: ZNC - http://znc.in)
17:34:14  <Fuzzier>hullo folks
17:34:51  * b_djoined
17:35:25  * kokotakusquit (Quit: Leaving.)
17:35:31  * rmichnikjoined
17:35:45  * lloyddejoined
17:35:47  <basichash>TheMoonMaster: is sails similar to meteor? I've been doing some research on meteor, but there seem to be some scaling issues which could be problematic. Any idea if sails scales effectively?
17:36:23  <marktraceur>naina: Did you make the change I suggested?
17:36:38  <marktraceur>naina: And can you copy the code again?
17:36:54  * ctorpquit (Ping timeout: 250 seconds)
17:36:57  <TheMoonMaster>basichash: You can't scale until you have an application, focus on that first.
17:37:00  * rayaslokasjoined
17:37:09  * rho_joined
17:37:09  * rho_quit (Changing host)
17:37:09  * rho_joined
17:37:10  <TheMoonMaster>And no.
17:37:22  * mtscout6joined
17:37:26  <naina>I did change
17:37:32  * orikquit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
17:37:36  <naina>but it was not giving correct output
17:37:40  <marktraceur>naina: Yeah, let me see the code again
17:37:44  <naina>as the files are not saving
17:37:52  * mridgwayjoined
17:37:53  <naina>in html in writefilestream
17:38:00  <naina>again i ctrl Z
17:38:00  <naina>it
17:38:20  <naina>no error in the brackets or some other syntax
17:38:27  * zaaljoined
17:38:50  <marktraceur>naina: I'm asking you to PASTE. THE. CODE.
17:38:52  * c00ljsquit (Remote host closed the connection)
17:39:20  <TheMoonMaster>marktraceur: But I thought you were a wizard?
17:39:24  <TheMoonMaster>You should just know, right?
17:39:46  <marktraceur>TheMoonMaster: With MediaWiki I might be, but random node.js code is not in my domain yet
17:40:17  * lloyddequit (Ping timeout: 250 seconds)
17:40:26  * ncthom91joined
17:40:37  * spacegh0stquit (Quit: This computer has gone to sleep)
17:40:39  <TheMoonMaster>Not sure if I'd ever want node code to be my domain
17:41:49  * Klumbenjoined
17:41:53  * rayaslokasquit (Ping timeout: 264 seconds)
17:41:58  * benjah1joined
17:42:05  <Fuzzier>anyone use child processes a lot?
17:42:12  <Fuzzier>like running a python script from node
17:42:43  * kasperti_quit
17:42:58  * ndreijoined
17:43:39  * platonicjoined
17:44:08  <marktraceur>Fuzzier: What do you need to know?
17:44:18  * monbrojoined
17:44:23  * epappasquit (Remote host closed the connection)
17:44:53  * kevinxu_quit (Quit: My Mac has gone to sleep. ZZZzzz…)
17:44:55  * jangidquit (Quit: This computer has gone to sleep)
17:45:11  * epappasjoined
17:46:04  * cuadramanjoined
17:46:07  * manuelbiehjoined
17:46:09  * ren_hoekquit (Remote host closed the connection)
17:46:10  * jergasonjoined
17:46:14  * iarnajoined
17:46:43  * ren_hoekjoined
17:46:48  * j201joined
17:47:05  <Gsolinas>I need to feature e-mail send in my app and test it
17:47:13  * Ix-Xitanjoined
17:47:13  * Ix-Xitanchanged nick to PointBlank
17:47:13  <Gsolinas>in lamp I use mailcatcher
17:47:23  <Gsolinas>how does it work with node?
17:47:26  * ctorpjoined
17:47:36  * martintrojerquit (Ping timeout: 255 seconds)
17:48:02  * Klumbenquit (Ping timeout: 265 seconds)
17:48:03  * mtscout6quit (Remote host closed the connection)
17:48:14  * rahul_jquit (Quit: rahul_j)
17:48:46  * rahul_jjoined
17:48:49  * mtscout6joined
17:48:50  * Klumbenjoined
17:49:46  * epappasquit (Ping timeout: 255 seconds)
17:50:33  * martintrojerjoined
17:50:46  * cuadramanquit (Ping timeout: 258 seconds)
17:50:54  * iarnaquit (Ping timeout: 264 seconds)
17:51:07  * ren_hoekquit (Ping timeout: 250 seconds)
17:51:13  * ivere27quit (Ping timeout: 244 seconds)
17:51:54  * ctorpquit (Ping timeout: 245 seconds)
17:51:58  * monbroquit (Quit: monbro)
17:52:24  * topwobblequit (Quit: topwobble)
17:52:33  * topwobblejoined
17:52:39  * topwobblepart
17:52:42  <gildean>Gsolinas: why can't you use mailcatcher with node as well?
17:53:12  * hrsfaiezjoined
17:53:17  * mtscout6quit (Ping timeout: 244 seconds)
17:53:34  * coinerjoined
17:53:35  <gildean>Gsolinas: it's a separate program acting as a local smtp server, the only thing you need to do is use it as the sending server instead of a "real" one
17:53:58  * spike-joined
17:54:32  * Alfred_joined
17:54:37  * mtscout6joined
17:54:59  * orsotoquit (Ping timeout: 258 seconds)
17:55:33  <Gsolinas>gildean, I asked the wrong question, I need to set up a local testing environment for e-mails in node, how can I do that?
17:56:18  * Kaimeijoined
17:56:19  <naina>can anyone tell me
17:56:33  <naina>why we should choose node.js for some of our project ?
17:56:38  <gildean>Gsolinas: idk, mailcatcher sounds fine, it has a json api
17:56:56  * tmh1999quit (Quit: Leaving)
17:57:05  * VisionVhjoined
17:57:21  <gildean>naina: do you like javascript? (or some language that compiles into javascript)
17:57:23  * platonicquit (Remote host closed the connection)
17:57:36  <TheMoonMaster>naina: You shouldn't
17:57:53  * Klumbenquit (Ping timeout: 272 seconds)
17:57:59  <naina>yes
17:58:08  <gildean>TheMoonMaster: that's not helpful
17:58:08  <naina>can you tell me the answer
17:58:25  <hrsfaiez>Hello, i am new, i would like to have some startup documentations about node js internals (c files, how it handle & process requests ...), should i learn them by the code ?
17:58:26  * tuelzquit (Ping timeout: 256 seconds)
17:58:40  <gildean>naina: the real question you need to ask is "what is the best tool to do this thing?"
17:58:45  <Mia>Hello channel. I'm making a single page node/express app, where each /:name is roted to the very same html page. In the page, I have a js which gets window.location.pathname and sets the page title accordingly (so each path has a differnt title). Now, since this happens on clientside, facebook does not see it.
17:58:45  <TheMoonMaster>gildean: Neither is their question
17:58:51  <naina>no not that
17:58:53  <Mia>How can I make this work with facebook opengraph tags?
17:58:55  <naina>you know my project
17:58:59  * hemanthquit (Ping timeout: 245 seconds)
17:59:03  <naina>y node.js is better thn all other
17:59:11  <naina>like php or dotnet
17:59:16  <naina>just want this answer
17:59:20  <TheMoonMaster>lol
17:59:22  <TheMoonMaster>See
17:59:26  <naina>comparison to any other
17:59:28  <TheMoonMaster>naina: It's not, it's a choice.
17:59:51  <naina>there must be some gud points
17:59:59  <TheMoonMaster>That's for you to determine
18:00:01  <TheMoonMaster>Not us
18:00:02  <naina>for every programming language there are some gud points
18:00:09  * donbittojoined
18:00:18  <naina>i just want some gud points y we should use it
18:00:21  <marktraceur>naina: And bad points! You have to make the decision for each project.
18:00:46  <gildean>naina: node isn't a language tho', you can use multiple different languages (as long as they compile to js)
18:00:55  <naina>yeah i knw
18:01:02  <naina>just asking the best features
18:01:04  <naina>of it
18:01:10  * scythe__joined
18:01:21  <TheMoonMaster>Help vampire?
18:01:44  <marktraceur>naina: Flexible paradigms, single-threadedness, asynchronous programming...they're pretty well documented
18:01:45  * lloyddejoined
18:02:13  * spacegh0stjoined
18:02:16  * jaequeryquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
18:02:21  <gildean>naina: also the modules work great and there are huge collection out there and npm is good
18:02:27  * ctorpjoined
18:02:35  * VisionVhquit (Ping timeout: 244 seconds)
18:02:52  <TheMoonMaster>wat
18:03:07  * donbitto1joined
18:03:25  * aslantjoined
18:03:35  * spike-quit (Ping timeout: 272 seconds)
18:03:47  * hrsfaiezquit (Quit: Page closed)
18:04:06  * Lingosquit (Quit: Be back later ...)
18:04:24  * satazorquit (Ping timeout: 245 seconds)
18:05:18  * donbittoquit (Ping timeout: 264 seconds)
18:05:20  * Nicolabjoined
18:06:22  * lloyddequit (Ping timeout: 240 seconds)
18:06:48  * Fishrock123joined
18:07:03  * ncthom91quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
18:07:03  * fexilaljoined
18:07:05  * xonevjoined
18:07:22  * ctorpquit (Ping timeout: 265 seconds)
18:07:40  * fexilalquit (Max SendQ exceeded)
18:07:49  * EyePulpquit (Remote host closed the connection)
18:08:46  * cuadramanjoined
18:09:22  * Klumbenjoined
18:09:25  * donbitto1quit (Quit: Leaving.)
18:09:50  * mtscout6quit (Remote host closed the connection)
18:09:58  * Kaimeiquit (Quit: ZNC - http://znc.sourceforge.net)
18:10:00  * chomwitt_joined
18:10:23  * mtscout6joined
18:10:48  * fatalhaltjoined
18:10:59  * SomeKittensjoined
18:11:00  * Fuzzierquit (Read error: Connection reset by peer)
18:11:04  * mattattaquejoined
18:11:20  * Fuzzyjoined
18:11:31  * rudjoined
18:11:49  * xonevquit (Ping timeout: 255 seconds)
18:12:08  * ncthom91joined
18:12:37  * cuadramanquit (Remote host closed the connection)
18:13:05  * cuadramanjoined
18:13:23  * skaagjoined
18:13:35  * nonksjoined
18:13:38  * bender_unitjoined
18:13:39  * elaijuhquit (Ping timeout: 265 seconds)
18:13:39  * tvwquit
18:14:14  * aslantquit (Remote host closed the connection)
18:14:24  * cuadramanquit (Remote host closed the connection)
18:14:36  * mtscout6quit (Ping timeout: 250 seconds)
18:14:45  * mhernandez1quit (Remote host closed the connection)
18:14:49  <Mia>Hey channel, I route everything to a static file using res.sendFile on my server -- how can I change the title of the seved file?
18:14:53  <Mia>*served
18:15:03  <Mia>I guess I need res.render --- but I don't use any templating at all
18:15:07  <Mia>I just need to change the pagetitle
18:15:09  * d11e9quit (Quit: AFK)
18:15:11  * jarrodpaynequit (Remote host closed the connection)
18:15:43  <marktraceur>Mia: The page title in the HTML?
18:16:01  * Kaimeijoined
18:16:04  <Mia>hey, and the og meta tag (so that facebook can lint properlt)
18:16:34  * paperManu_quit (Ping timeout: 256 seconds)
18:16:39  * Alfred_quit
18:17:06  <marktraceur>Mia: I guess you could load the file, find the tags you need to change in a DOM library, and then change them before serving the file
18:17:13  <marktraceur>But that seems a bit overkill. Just use templating.
18:17:18  * rafagomesjoined
18:17:26  * ctorpjoined
18:17:49  * karlmikkojoined
18:17:52  <Mia>marktraceur, I tink templating would break my project now, I mean it's working properly, all I need is to facebook to lint it properly
18:18:01  <Mia>and templating from scratch is like - starting it fro mscratch
18:18:17  * s00pcanquit (Remote host closed the connection)
18:18:25  * nonksquit (Ping timeout: 250 seconds)
18:18:27  <Mia>or is there a quick way?
18:18:32  <Mia>marktraceur, ?
18:18:36  * tvwjoined
18:18:38  <marktraceur>Mia: Except that most template engines accept pure HTML as valid, so you'd only need to change the parts that need changing
18:18:38  * ginson0joined
18:18:48  <marktraceur>As long as you don't use Jade
18:18:54  * captain_morganjoined
18:19:01  * Grebrezjoined
18:19:04  <Mia>no, I use pure html. What would you suggest me using in this case?
18:19:58  * weilujoined
18:20:34  <marktraceur>Mia: http://garann.github.io/template-chooser/
18:20:35  * TKHquit (Remote host closed the connection)
18:22:10  * ctorpquit (Ping timeout: 255 seconds)
18:22:26  * karlmikkoquit (Ping timeout: 244 seconds)
18:23:32  * SergioFilhowquit (Quit: Be back later ...)
18:23:46  * noobeequit (Remote host closed the connection)
18:24:30  * weiluquit (Ping timeout: 244 seconds)
18:25:13  * williamcottonjoined
18:25:37  * Rainbjoined
18:25:54  * ren_hoekjoined
18:26:10  * recidivequit (Quit: recidive)
18:26:11  * dypsilonquit (Quit: q)
18:26:35  * jaequeryjoined
18:26:35  * rmichnikquit (Quit: Leaving...)
18:26:36  <ningu>if you just need a minimal template module use ejs
18:26:47  * ciwolseyjoined
18:26:51  * bender_unitquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
18:27:19  * cuadramanjoined
18:27:43  <gildean>Mia: or if you really don't want to use templates, here's a function for you https://dpaste.de/T6aN
18:27:52  * TheEddyFerreiraquit (Quit: TheEddyFerreira)
18:29:17  * platonicjoined
18:29:24  * dshaw_joined
18:29:43  <Mia>thank you very much gildean!
18:29:46  * _yoy_quit (Ping timeout: 250 seconds)
18:29:57  <gildean>Mia: oh, it's missing an opening bracket on the first line
18:30:01  <Mia>gildean, is it more heavy to use somethig like this, or templating?
18:30:16  * ren_hoekquit (Ping timeout: 255 seconds)
18:30:16  * williamcottonquit (Ping timeout: 255 seconds)
18:30:20  <Mia>I mean I don't want to start designing from scratch, if there is any way I can directly read and render my existing file, I may prefer to use templating.
18:30:28  * skywritergrjoined
18:30:35  <Mia>I see it, no worries :) I2ll open the bracket :)
18:31:48  * phuhjoined
18:31:53  <gildean>Mia: templating engines generally do much more than that, but they also can cache the files etc.
18:31:57  * Arguequit (Ping timeout: 265 seconds)
18:32:12  <Mia>hmmm
18:32:12  * ginson0quit (Quit: Saliendo)
18:32:25  * ctorpjoined
18:32:47  * peterpjoined
18:33:07  * mjp_joined
18:33:35  * weilujoined
18:34:02  * nainaquit (Quit: Page closed)
18:34:02  * skywrite_joined
18:34:03  * skywrite_quit (Client Quit)
18:34:29  * skywrite_joined
18:34:30  <ningu>Mia: ejs is very simple
18:34:50  * skywritergrquit (Ping timeout: 244 seconds)
18:34:51  * Foxandxssjoined
18:35:39  * Trow1joined
18:36:19  * tvwquit
18:36:34  * lloyddejoined
18:36:42  * Swizecquit (Quit: Computer has gone to sleep.)
18:36:44  * s00pcanjoined
18:36:57  * ctorpquit (Ping timeout: 245 seconds)
18:36:58  <marktraceur>gildean: regexes and XML :((((
18:36:59  <Merccy>Mia: EJS is just like Smarty for PHP
18:37:12  <Merccy>Mia: You can keep your html and just insert javascript to output variables
18:37:13  <stride>https://garann.github.io/template-chooser/ <- are those buttons supposed to do something?
18:37:19  * phuhquit (Read error: Connection reset by peer)
18:37:20  * diosneyjoined
18:37:32  <stride>oh. nevermind, just not working on https
18:37:34  * mjp_quit (Ping timeout: 250 seconds)
18:37:46  * phuhjoined
18:37:55  * weiluquit (Ping timeout: 255 seconds)
18:38:03  * Venemoquit (Quit: Communi 3.3.0 - http://communi.github.com)
18:38:29  * donbittojoined
18:38:55  * woahjoined
18:38:58  <Mateon1>Is there any node module for PCRE regexes?
18:38:59  <gildean>marktraceur: it's just a simple string replace, no xml anywhere
18:39:20  <marktraceur>gildean: <title>
18:39:29  * Trowquit (Ping timeout: 244 seconds)
18:39:59  <gildean>marktraceur: well yeah, that's the string that needed a part of it replaced
18:40:07  <marktraceur>And XML.
18:40:08  <gildean>doesn't make it xml
18:40:13  * Rainbquit (Ping timeout: 258 seconds)
18:40:14  <marktraceur><title> is XML.
18:40:21  <gildean>marktraceur: and html?
18:40:27  <marktraceur>Yes, both.
18:40:48  <gildean>marktraceur: and the question was: "how to replace a title in a html document"
18:40:53  * lloyddequit (Ping timeout: 240 seconds)
18:41:35  <stride>with vim
18:41:43  <stride>:p
18:41:47  <gildean>lol
18:41:48  <marktraceur>gildean: And I'm frowning that your suggested solution involved regexes, because regexes and XML is usually a Bad Plan™
18:42:03  * Axyjoined
18:42:15  * HairAndBeardGuy_joined
18:42:18  <gildean>marktraceur: i can't see much harm in that function tho'
18:42:29  <ningu>Mateon1: I think so, just do a search for it
18:42:36  <marktraceur>Yes, this time it seems fine, especially since HTML forbids nesting <title>s
18:43:00  * Lingosjoined
18:43:10  <marktraceur>I'm not sure multiple <title> elements is forbidden, though. So it may still be a bit strange.
18:43:18  <Axy>thank you Merccy and ningu --- this is Mia just disconencted
18:43:25  * donbittoquit (Quit: Leaving.)
18:43:35  <Axy>I'll check ejs
18:43:55  * erikg_joined
18:43:55  * wwicks_joined
18:44:18  * donbittojoined
18:44:25  * rhodesjason_joined