00:18:35  * fsalgoquit (Quit: Textual IRC Client: www.textualapp.com)
00:59:37  <mezod>danneu: are you around?
00:59:50  <danneu>mezod: sup
01:00:33  <mezod>do you know how can I yield a value from within a callback function?
01:01:28  <mezod>I have http://pastie.org/10568710 but I can't yield from within the arrow function
01:02:04  <danneu>mezod: check out https://www.npmjs.com/package/co-each
01:02:30  <mezod>thanks!
01:02:45  <danneu>pretty sure everyone that's ever used koa has tried doing that
01:02:52  <danneu>including myself
01:02:55  <mezod>hehe
01:03:07  <mezod>I'm a total newb, still need some practice with the generators
01:03:49  <danneu>yeah. you end up at least getting familiar with the idioms that work even if you don't quite understand how it works :p
01:04:17  <mezod>x)
01:09:58  * rivertamquit (Quit: rivertam)
01:11:42  <mezod>they could be more generous with the examples :|
01:11:57  <danneu>yeah
01:12:40  <mezod>that pkg is too minimal
01:12:53  <mezod>doesn't even iterate over the array lol
01:13:19  <danneu>in general, too. entire koa/co ecosystem is so minimal. readme just shows you how to import the module and do the most trivial thing possible with it
01:13:42  <danneu>post your code
01:13:45  <danneu>if you need help
01:19:46  <mezod>danneu: yeah, I guess it's for real pros... fortunately I could solve my problem with a for instead of forEach
01:19:56  <mezod>http://www.2ality.com/2015/03/es6-generators.html part 3.5
01:19:58  <mezod>was helpful
01:20:02  <mezod>:D
01:20:09  <mezod>thanks though =)
01:29:27  * macwinnerquit (Remote host closed the connection)
01:30:03  * macwinnerjoined
01:35:14  * macwinnerquit (Ping timeout: 276 seconds)
01:59:50  <mezod>i need a variable that can mutate, let!, can't use let in strict mode, var!, linter wants let instead, yay!
02:00:00  <mezod>catch-22
02:06:12  <danneu>thought you could *only* use `let` in strict mode
02:06:22  <danneu>you sure?
02:28:16  <mezod>yeah the other way around
02:28:34  <mezod>i need to be in strict mode to use let
02:28:47  <mezod>but the linter won't let me use strict mode, nor vars
02:30:10  * macwinnerjoined
02:34:35  * macwinnerquit (Ping timeout: 240 seconds)
02:55:43  <danneu>mezod: sounds like the linter needs to be fixed
02:55:48  <danneu>btw, use eslint if you aren't already
02:56:01  <danneu>much better than jshint, especially for es6
02:56:05  <danneu>, babel, etc
03:01:11  <mezod>yeah
03:01:15  <mezod>im using eslint
03:01:26  <mezod>but looks like airbnb guidelines are fucked up
03:01:42  <mezod>they want you to use let but don't let you to use strict mode
03:02:15  <mezod>I posted an issue asking, will continue tomorrow, it's 4am already >.< lost a lot of time with this stupid endpoint hehe
03:07:57  <danneu>mezod: oh, they do that because they use babel and babel injects it for them
03:08:04  <danneu>so they're just ruling out extraneous 'use strict'
03:08:06  <danneu>just turn it off
03:09:33  <danneu>i think `"rules": { "strict": [2, "global"] }` will make you use it once per file
03:09:43  <danneu>which is what you should prob do unless you're using babel
03:10:03  <danneu>https://github.com/airbnb/javascript/blob/88d508400941600a71f45a245748346af9e62d1d/packages/eslint-config-airbnb/rules/strict.js#L3
03:28:59  * mezodquit (Remote host closed the connection)
03:36:26  * joshonthewebquit (Read error: Connection reset by peer)
03:40:21  * joshonthewebjoined
05:36:29  * TheThingquit (Remote host closed the connection)
05:51:48  * joshonth_joined
05:52:03  * joshonthewebquit (Read error: Connection reset by peer)
06:05:52  * jxvquit (Ping timeout: 250 seconds)
07:17:56  * joshonth_quit (Quit: Computer has gone to sleep.)
08:41:48  * TheThingjoined
09:17:44  * TheThingquit (Remote host closed the connection)
09:46:00  * TheThingjoined
10:13:38  * TheThingquit (Remote host closed the connection)
10:21:51  * TheThingjoined
10:49:38  * jinsjoined
10:52:20  * jinsquit (Client Quit)
11:41:33  * sciominijoined
11:41:56  * sciominipart
12:08:54  * mezodjoined
12:13:37  <mezod>danneu: thanks, I decided to install Babel though, I'll probably run into other issues otherwise!
13:30:32  * rivertamjoined
13:54:47  * mezodquit (Remote host closed the connection)
14:06:07  * jxvjoined
14:37:48  * macwinnerjoined
15:14:02  * TheThingquit (Remote host closed the connection)
15:14:27  * macwinnerquit (Remote host closed the connection)
16:42:55  * solenoidsquit (Ping timeout: 265 seconds)
16:56:47  * solenoidsjoined
17:37:40  * joshonthewebjoined
17:52:55  * joshonthewebquit (Quit: Computer has gone to sleep.)
17:56:34  * joshonthewebjoined
17:57:19  * joshonthewebquit (Remote host closed the connection)
17:59:39  * joshonthewebjoined
18:29:00  * mezodjoined
19:42:06  * solenoidsquit (Ping timeout: 260 seconds)
19:58:28  * solenoidsjoined
20:03:33  * macwinnerjoined
20:04:52  * macwinnerquit (Client Quit)