00:00:00  * ircretaryquit (Remote host closed the connection)
00:00:09  * ircretaryjoined
00:05:44  * jcrugzz_joined
00:06:08  <isaacs>whoa, request is bigger than express: https://gist.github.com/isaacs/5733238
00:06:28  <mbalho>lol
00:08:27  * jcrugzzquit (Ping timeout: 256 seconds)
00:10:25  * fallsemojoined
00:11:07  * jxsonquit (Ping timeout: 276 seconds)
00:18:27  * mikealquit (Quit: Leaving.)
00:25:09  * jcrugzz_quit (Ping timeout: 248 seconds)
00:31:55  * jcrugzzjoined
00:38:09  * kesslerjoined
00:38:27  <kessler>howdy :)
00:40:25  * tilgoviquit (Remote host closed the connection)
00:43:16  * jcrugzzquit (Ping timeout: 260 seconds)
00:45:51  * thl0joined
00:48:48  * mikealjoined
00:50:03  * kevino80joined
00:52:53  * jcrugzzjoined
00:53:04  * ednapiranhajoined
00:54:42  * fallsemoquit (Quit: Leaving.)
00:57:26  * dguttmanquit (Quit: dguttman)
00:57:45  * mikealquit (Ping timeout: 256 seconds)
01:06:48  * vitorpachecoquit (Quit: Saindo)
01:11:47  * nicholasfjoined
01:11:50  * ednapiranhaquit (Remote host closed the connection)
01:24:23  * kevino80quit (Ping timeout: 256 seconds)
01:30:22  * jxsonjoined
01:30:47  * jxsonquit (Remote host closed the connection)
01:39:19  * kevino80joined
01:46:44  * jcrugzzquit (Ping timeout: 260 seconds)
01:46:59  * jcrugzzjoined
01:51:19  * tilgovijoined
01:51:24  * tilgoviquit (Remote host closed the connection)
01:53:34  * kevino80quit (Remote host closed the connection)
01:54:29  * vitorpachecojoined
02:00:22  * kevino80joined
02:08:55  * ralphtheninjaquit (Ping timeout: 264 seconds)
02:09:45  * kevino80quit (Remote host closed the connection)
02:10:02  * ralphtheninjajoined
02:14:16  * ralphtheninjaquit (Ping timeout: 256 seconds)
02:15:33  * defunctzombie_zzchanged nick to defunctzombie
02:28:06  * defunctzombiechanged nick to defunctzombie_zz
02:28:15  * jcrugzzquit (Ping timeout: 252 seconds)
02:28:51  * jcrugzzjoined
02:30:02  * defunctzombie_zzchanged nick to defunctzombie
02:50:31  * vitorpachecoquit (Ping timeout: 256 seconds)
02:54:10  * defunctzombiechanged nick to defunctzombie_zz
03:01:33  * mikealjoined
03:04:14  * mikealquit (Client Quit)
03:11:14  * thl0quit (Remote host closed the connection)
03:32:12  <jesusabdullah>man, everyone's doing shit friday night aren't they?
03:32:15  <jesusabdullah>maaaan
03:32:22  <jesusabdullah>kessler: How's stuff? o/
03:44:01  <owen1>chapel: what's your opinion of hapi?
03:44:14  <owen1>just watched a video my eran
03:53:08  * defunctzombie_zzchanged nick to defunctzombie
03:59:10  <jesusabdullah>owen1: What's *your* opinion of hapi?
04:33:03  <owen1>jesusabdullah: so far i just did hello world, so it's hard to tell
05:01:42  * defunctzombiechanged nick to defunctzombie_zz
05:03:48  * defunctzombie_zzchanged nick to defunctzombie
05:05:09  * defunctzombiechanged nick to defunctzombie_zz
05:09:20  * defunctzombie_zzchanged nick to defunctzombie
05:14:01  * jcrugzzquit (Ping timeout: 276 seconds)
05:18:06  * defunctzombiechanged nick to defunctzombie_zz
05:18:43  <rch>owen1: what's hapi?
05:19:38  <jesusabdullah>rch: https://github.com/spumko/hapi
05:19:58  <rch>oh ok so it's not the shader language thing
05:20:11  <rch>got it, thx
05:20:25  <rch>i guess i was hoping for a new programming language
05:48:25  * ins0mniajoined
05:51:32  * jcrugzzjoined
05:51:42  <jesusabdullah>substack: I just mostly-ported a sinatra app to express. I've decided I hate ruby.
05:51:55  <jesusabdullah>substack: like why the fuck would you write code that evaluates and redefines itself on the fly??
05:52:25  <jesusabdullah>substack: Why would you need like 3 or 4 concepts just to handle instance properties??
05:52:25  <substack>hahaha yes
05:52:34  <jesusabdullah>this is ascinine
05:52:50  <substack>jesusabdullah: because closure scope is exotic to ruby programmers
05:52:56  <substack>only used for lambdas/procs
05:52:56  <jesusabdullah>http://stackoverflow.com/questions/4370960/what-is-attr-accessor-in-ruby#4371458
05:53:01  <jesusabdullah>This ^^ is bullshit
05:53:17  <substack>there are a lot of classical oo-isms built into the language
05:53:29  <substack>jesusabdullah: what are you porting sinatra apps for? o_O
05:53:33  <jesusabdullah>and if https://github.com/aphyr/riemann-dash/blob/master/lib/riemann/dash/config.rb#L45 is doing what I THINK it is, it is 100x more bullshit
05:53:37  <jesusabdullah>substack: sweet sweet money
05:53:53  <jesusabdullah>substack: and it's just one sinatra app, and 99% of the heavy lifting is on the client
05:54:09  <jesusabdullah>substack: most of the server code is for managing its own config so you can CRUD it on the fly
05:54:36  <jesusabdullah>of course I ripped out 90% of that, and will probably rip the rest of it out in due time
05:55:17  <jesusabdullah>seriously, why would you change where your controller code is getting loaded from via config?
05:55:48  <rch>suddenly sounds like a java app
05:55:57  <rch>oh wait you meant a yaml config
05:56:06  <jesusabdullah>no I don't
05:56:21  <rch>xml?
05:56:23  * jcrugzzquit (Ping timeout: 260 seconds)
05:56:35  <jesusabdullah>rch: example "config" for this app https://github.com/aphyr/riemann-dash/blob/master/example/config.rb
05:56:52  <rch>ag, a config that can execute arbitrary code
05:56:55  * kesslerquit (Ping timeout: 250 seconds)
05:57:06  <jesusabdullah>yeah, it's just
05:57:08  <jesusabdullah>why??
05:57:35  <jesusabdullah>okay, calling it good for today, I'll let this experience "percolate"
05:57:51  <jesusabdullah>tomorrow maybe I'll port the dynamically-generated SASS to not-so-dynamically generated lesscss
05:58:06  <jesusabdullah>or just compile to css and call it a day, either way
05:58:18  <jesusabdullah>but an all-node toolchain would be nice
05:58:34  <jesusabdullah>substack: also why does gem require like 3 manifest files plus a Rakefile
05:58:44  <jesusabdullah>substack: plus a big folder of env scripts
05:59:11  <jesusabdullah>substack: can't decide if it's worse than python or, well, about the same XD
05:59:32  <jesusabdullah>substack: cause python packages have one manifest but there are like 30 ways to write it and the docs are terrible-to-nonexistent
06:01:32  * jcrugzzjoined
06:04:01  <owen1>rch: i am requiring modules in my configs - https://github.com/oren/groups/blob/master/config/development.js
06:04:11  <owen1>is it not cool?
06:07:18  <rch>i mean, we have json for static data … and index.js for like module.exports = { db: require('./db') … } type stuff
06:07:46  <rch>owen1: totally do what you want, otoh someday someone might put something in there you didn't expect
06:10:12  <owen1>rch: true, but by doing that i can require('./db.js') in config/dev.js and require('./mockDB.js') in config/test.js
06:12:58  <owen1>i guess i can do this in server.js - require('./config/' + NODE_ENV + '.js')
06:13:36  <owen1>wait, i can't, forget about the last one.
06:28:41  <rch>owen1: another aspect to this is config generation, it's easy to write json to a file, i'd be sad to see like 'require('db')' templated in somewhere
06:28:58  <rch>owen1: have you seen rewire? good for mock injection like you describe
06:29:11  <rch>owen1: you can also do classic dependency injection into a constructor
06:31:43  <rch>i like rewire though, you just require('db') everywhere and then you selectively inject mocks into the modules you want to have use mocks
06:33:44  * shamaquit (Remote host closed the connection)
06:40:23  <owen1>rch: let me see..
06:50:27  <owen1>looks a bit complex but nice to know about other options
07:00:28  * mikealjoined
07:04:37  * ins0mniaquit (Ping timeout: 248 seconds)
07:07:52  * ins0mniajoined
07:10:36  * jcrugzz_joined
07:13:18  * jcrugzzquit (Ping timeout: 264 seconds)
07:20:05  * nicholasfquit (Ping timeout: 252 seconds)
07:21:47  * jcrugzz_quit (Ping timeout: 260 seconds)
07:25:39  * jcrugzzjoined
07:33:57  * jcrugzzquit (Ping timeout: 248 seconds)
07:43:39  * jcrugzzjoined
07:49:26  * jcrugzz_joined
07:50:17  * jcrugzzquit (Ping timeout: 256 seconds)
07:54:01  <jesusabdullah>yo, anti-framework people, who's alive?
07:54:15  <jesusabdullah>https://gist.github.com/jesusabdullah/f8fdb6be39ba130f039a Someone has to have basically written this already
07:54:17  <xyxne>I'M HERE
07:54:18  <LOUDBOT>THIS WAS A GOOD YEAR. A LOT OF COCK THIS YEAR. YES, THIS WAS A GOOD YEAR.
07:54:32  <xyxne>GODS DAMNED RIGHT, LOUDBOT
07:54:32  <LOUDBOT>WHEN I'M ACTING I THINK ABOUT GLENN BECK IF I WANT TO BE SAD, ANGRY, HAPPY, FURIOUS, GIDDY, UPSET, VENGEFUL OR EUPHORIC
07:54:38  <jesusabdullah>I don't want anything crazy here, just a library that takes a single filename and gives crud methods to it
07:54:41  <jesusabdullah>nothing more, nothing less
07:54:47  <jesusabdullah>has anyone written this?
07:54:56  <xyxne>fs
07:54:59  <jesusabdullah>if not I'll probably have to hack it up, I've written this waaay too many times
07:55:01  <xyxne>module
07:55:11  <xyxne>kinda *is* that
07:55:11  <jesusabdullah>yeah you didn't read the gist did you xyxne
07:55:16  <jesusabdullah>*kinda*
07:55:16  <xyxne>no
07:55:18  <xyxne>I don't read
07:55:27  <jesusabdullah>So it's for "config management"
07:55:39  <xyxne>load save get
07:55:44  <jesusabdullah>yeah exactly
07:55:52  * jcrugzz_quit (Ping timeout: 276 seconds)
07:55:55  <xyxne>readFileSync, writeFileSync
07:56:03  <jesusabdullah>ohoho, I don't think so
07:56:14  <jesusabdullah>a) sync? no. b) JSON-specific
07:56:20  <xyxne>lol
07:59:27  <jesusabdullah>https://gist.github.com/jesusabdullah/76c4d8349d568a96921c
07:59:43  <jesusabdullah>Maybe more like that so I don't have to have "getters" and "setters"
08:03:44  <jesusabdullah>yeah
08:03:52  <jesusabdullah>there we go
08:03:53  <jesusabdullah>g2g
08:19:31  * jcrugzzjoined
08:21:21  * kenperkinsquit (Read error: Connection reset by peer)
08:22:11  * kenperkinsjoined
08:24:17  * jcrugzzquit (Ping timeout: 256 seconds)
08:29:32  * jcrugzzjoined
08:45:42  * jcrugzzquit (Ping timeout: 264 seconds)
08:55:55  * jcrugzzjoined
09:03:33  * ins0mniaquit (Ping timeout: 248 seconds)
09:20:30  * nicholasfjoined
09:25:55  * jcrugzzquit (Ping timeout: 260 seconds)
09:26:35  * jcrugzzjoined
09:32:27  * jcrugzzquit (Ping timeout: 260 seconds)
09:34:20  * rannmannquit (Ping timeout: 260 seconds)
09:45:16  * rannmannjoined
09:45:18  * rannmannquit (Changing host)
09:45:18  * rannmannjoined
09:53:41  * calvinfoquit (Ping timeout: 240 seconds)
09:54:10  * calvinfojoined
10:11:43  * dominictarrjoined
10:34:18  * ins0mniajoined
10:40:36  <substack>jesusabdullah: so you basically enumerated exactly all the reasons why I like node+npm so much earlier
10:40:54  <substack>simple, stupid packages that are trivially easy to publish
10:40:58  <substack>so people publish more packages
11:05:01  * no9quit (Ping timeout: 276 seconds)
11:17:38  * no9joined
11:31:49  * kesslerjoined
11:32:13  <kessler>hi :-)
11:32:24  <substack>ahoy
11:33:09  <kessler>anybody had a chance to mess around with airbnb's chronos?
11:33:10  <kessler>(https://github.com/airbnb/chronos#chronos-ui)
11:33:16  <kessler>https://github.com/airbnb/chronos
11:34:33  * dominictarrquit (Quit: dominictarr)
11:35:14  <kessler>jesusabdullah: yo! :)
11:47:56  * vitorpachecojoined
12:00:59  * ralphtheninjajoined
12:16:38  * kesslerquit (Quit: Page closed)
12:17:26  * Kesslerjoined
12:22:13  * nicholasfquit (Read error: Connection reset by peer)
12:22:45  * nicholasfjoined
12:33:48  * ralphtheninjaquit (Remote host closed the connection)
12:47:34  * yorickjoined
12:58:50  * ralphtheninjajoined
13:13:43  * vitorpachecoquit (Ping timeout: 276 seconds)
13:43:08  * AvianFlujoined
13:43:37  * AvianFluquit (Remote host closed the connection)
13:49:18  * st_lukejoined
13:53:34  * thl0joined
13:53:46  * thl0quit (Remote host closed the connection)
13:54:00  * thl0joined
13:57:41  * dominictarrjoined
14:06:58  * kevino80joined
14:07:47  <dominictarr>Raynos: thinking i'll change pull stream to be pull(s1, s2, s3) instead of s1.pipe(s2).pipe(s3)
14:07:47  <dominictarr>less syntax that way
14:10:18  * nicholasfquit (Read error: Connection reset by peer)
14:10:44  * nicholasfjoined
14:12:55  * nicholas_joined
14:13:00  * nicholasfquit (Read error: Connection reset by peer)
14:23:27  * kevino80quit (Read error: Connection reset by peer)
14:24:06  * jcrugzzjoined
14:25:17  * nicholas_quit (Read error: Connection reset by peer)
14:25:44  * nicholasfjoined
14:42:46  * ins0mniaquit (Ping timeout: 276 seconds)
14:43:07  * st_lukequit (Remote host closed the connection)
15:03:04  <thl0>jesusabdullah: do you have any numbers how ecstatic compares to nginx for specific node versions?
15:09:23  * ralphtheninjaquit (Read error: Operation timed out)
15:11:01  * vitorpachecojoined
15:17:09  * dominictarrquit (Quit: dominictarr)
15:17:28  * ins0mniajoined
15:18:18  * fallsemojoined
15:20:11  * dominictarrjoined
15:23:17  * Kesslerquit (Read error: Connection reset by peer)
15:24:41  * Kesslerjoined
15:27:20  * jcrugzzquit (Ping timeout: 252 seconds)
15:37:11  * kevino80joined
15:38:36  * defunctzombie_zzchanged nick to defunctzombie
15:46:10  * defunctzombiechanged nick to defunctzombie_zz
15:46:44  * vitorpachecoquit (Ping timeout: 260 seconds)
15:52:25  * defunctzombie_zzchanged nick to defunctzombie
15:52:36  * brianloveswordsquit (Excess Flood)
15:52:59  * brianloveswordsjoined
15:53:20  * jcrugzzjoined
16:07:16  * kevino80quit (Remote host closed the connection)
16:16:48  * whit537quit (Read error: Connection reset by peer)
16:17:21  * whit537joined
16:21:57  * mikolalysenkojoined
16:26:01  * fallsemoquit (Quit: Leaving.)
16:36:48  * dominictarrquit (Quit: dominictarr)
16:36:54  <mikolalysenko>man all this outrage over the nsa wiretapping suggests a really great opportunity
16:37:13  <mikolalysenko>why not take peer-to-peer video via webrtc and do in browser encryption?
16:37:27  <mikolalysenko>that way you get skype/video chat without any fear of government eavesdropping
16:38:13  <mikolalysenko>and nothing has to be stored on a server so there would be no risk of government eavesdropping
16:38:28  <mikolalysenko>(I am sure someone must have already done this...)
16:39:15  <mikolalysenko>also this all assumes you trust your browser and os...
16:41:24  * jolissjoined
16:46:50  * jolissquit (Quit: joliss)
16:50:27  * jolissjoined
16:53:14  * vitorpachecojoined
16:57:39  * vitorpachecoquit (Remote host closed the connection)
16:58:22  * ralphtheninjajoined
17:06:16  * defunctzombiechanged nick to defunctzombie_zz
17:10:46  * defunctzombie_zzchanged nick to defunctzombie
17:10:58  * jcrugzzquit (Ping timeout: 276 seconds)
17:25:27  * fallsemojoined
17:27:09  * Kesslerquit (Ping timeout: 256 seconds)
17:30:50  * defunctzombiechanged nick to defunctzombie_zz
17:34:52  * ralphtheninjaquit (Quit: Lost terminal)
17:35:10  * thl0quit (Remote host closed the connection)
17:38:39  * ralphtheninjajoined
17:46:39  * Kesslerjoined
17:49:19  * mikolalysenkoquit (Ping timeout: 276 seconds)
17:51:45  * dguttmanjoined
17:53:28  * defunctzombie_zzchanged nick to defunctzombie
17:53:36  * shamajoined
17:55:06  * defunctzombiechanged nick to defunctzombie_zz
18:08:49  * vitorpachecojoined
18:14:10  * fallsemoquit (Quit: Leaving.)
18:17:52  * Kesslerquit (Ping timeout: 256 seconds)
18:18:15  * fallsemojoined
18:22:03  * Kesslerjoined
18:26:26  * fallsemoquit (Quit: Leaving.)
18:28:46  * mikealquit (Quit: Leaving.)
18:30:06  * Kesslerquit (Ping timeout: 264 seconds)
18:32:58  * ralphthe1injajoined
18:41:19  * ELLIOTTCABLEjoined
18:41:36  * ELLIOTTCABLEquit (Client Quit)
18:42:00  * ELLIOTTCABLEjoined
18:43:25  * tilgovijoined
18:52:57  * defunctzombie_zzchanged nick to defunctzombie
19:02:05  * thl0joined
19:08:29  * defunctzombiechanged nick to defunctzombie_zz
19:11:47  * ralphtheninjaquit (Quit: Lost terminal)
19:26:38  * st_lukejoined
19:35:28  * vitorpachecoquit (Ping timeout: 246 seconds)
19:45:41  * ins0mniaquit (Ping timeout: 248 seconds)
19:56:52  <jjjohnny>So your solution to callbacks... uses callbacks. Tell me, can you recommend a module system for NPM?
19:57:32  * whit537quit (Ping timeout: 246 seconds)
19:57:43  * whit537joined
20:02:33  * py1honjoined
20:03:49  * ralphtheninjajoined
20:04:08  * ELLIOTTCABLEchanged nick to ELLIOTTCABLE^
20:06:08  * rvagg_joined
20:07:59  * jaz303quit (Ping timeout: 246 seconds)
20:07:59  * rvaggquit (Ping timeout: 246 seconds)
20:07:59  * ralphthe1injaquit (Ping timeout: 246 seconds)
20:08:00  * xyxnequit (Ping timeout: 246 seconds)
20:08:00  * py1hon_quit (Ping timeout: 246 seconds)
20:08:00  * jolissquit (Ping timeout: 246 seconds)
20:08:01  * rvagg_changed nick to rvagg
20:09:45  * ryanseddonquit (Ping timeout: 258 seconds)
20:10:52  * jaz303joined
20:11:44  * xyxnejoined
20:11:44  * xyxnequit (Changing host)
20:11:44  * xyxnejoined
20:12:03  * yorickquit (Ping timeout: 269 seconds)
20:12:03  * jibayquit (Ping timeout: 269 seconds)
20:12:03  * mint_xianquit (Ping timeout: 269 seconds)
20:12:21  * yorickjoined
20:12:53  * ryanseddonjoined
20:13:33  * mint_xianjoined
20:14:46  * jibayjoined
20:16:50  * mikolalysenkojoined
20:25:04  * st_lukequit (Remote host closed the connection)
20:29:54  <thl0>Raynos: another mystery solved :) and a solution exists too: https://github.com/substack/node-browserify/issues/410#issuecomment-19154942
20:35:47  <jesusabdullah>blergh
20:36:34  <jesusabdullah>thl0: I've never benchmarked ecstatic
20:40:37  * ins0mniajoined
20:41:48  <thl0>jesusabdullah: ok, not a problem, cool thing with ecstatic is it's so simple that the switch to nginx would be trivial if it was needed
20:47:43  <jesusabdullah>yeah thl0 I just did that myself XD
20:48:01  <thl0>ah, so it's trivial right?
20:48:43  <jesusabdullah>I mean, what I had was a few ecstatic processes and a hand-rolled proxy, I just set up nginx to serve up the static assets instead, not bad at all
20:51:26  <thl0>yeah and reverse proxy to the JSON API? - I did that before when I implemented this web site in Haskell
20:52:57  <thl0>jesusabdullah: https://github.com/thlorenz/WebToInk/blob/master/etc/nginx/sites-available-webtoink
20:54:31  <jesusabdullah>thl0: Yeah, though in my case I didn't have anything dynamic on the server XD
20:54:38  <jesusabdullah>someday...
20:56:27  <jesusabdullah>so here's a question for the browserify crowd: Any of you mash that up with backbone?
20:56:36  <mbalho>wat
20:56:47  <thl0>jesusabdullah: browserify-shim
20:57:18  <thl0>jesusabdullah: https://github.com/thlorenz/browserify-shim
20:58:15  <jesusabdullah>YOU READ ME CORRECTLY
20:58:15  <LOUDBOT>WHAT A FUCKING SQUARE. TELL HIM YOU'LL OMIT THE AUTOKICK BUT LEAVE IT ACTIVE.
20:58:16  <jesusabdullah>mbalho:
20:58:59  <jesusabdullah>TO BE FAIR, I'm thinking about refactoring an existing backbone app to use browserify to organize the app code but it uses a lot of not-so-browserify libraries including backbone
20:59:28  * jcrugzzjoined
20:59:32  <jesusabdullah>thl0: Very cool.
20:59:44  <jesusabdullah>jcrugzz: got your pms about godot
21:00:05  <thl0>jesusabdullah: thanks, I ran into the same problem before ;)
21:00:27  <jesusabdullah>jcrugzz: I found them halpful
21:00:43  <thl0>jesusabdullah: even figures out dependents (in case backbone plugins are in play as well) https://github.com/thlorenz/browserify-shim#dependents
21:00:43  <jesusabdullah>I may end up writing that godot logs tailer
21:01:52  <jesusabdullah>thl0: interesting
21:02:02  <thl0>jesusabdullah: btw just remembered there is a backbone node module that knows commonJS, so you can use that
21:02:06  <jesusabdullah>aha
21:02:10  <jesusabdullah>well that's cool
21:02:56  <jesusabdullah>I might not bother to browserifyalate the code, or I might just script in a browserify bundle after the backbone/friends ones and just be like, "THEY'RE GLOBAL ALRITE"
21:03:19  <jcrugzz>jesusabdullah: word :)
21:04:27  <jesusabdullah>I should do that browserify cdn app too
21:04:34  <jesusabdullah>but I'm stuck on how to do the api for it
21:04:41  <jesusabdullah>like, what's the post payload?
21:04:50  <jesusabdullah>Maybe I needs to gist
21:05:14  <thl0>jesusabdullah: yeah I have thrown around the browserify as a service idea for a while
21:05:44  <thl0>would be nice if we could figure this out, so people could use script tags pointing to proper modules and get a bundled version
21:06:12  * ins0mniaquit (Ping timeout: 245 seconds)
21:06:36  <jesusabdullah>thl0: I've written it twice
21:06:58  <thl0>jesusabdullah: haven't seen it - is it running somewhere?
21:07:07  <jesusabdullah>thl0: not anymore, used to be on nodejitsu
21:07:23  <jesusabdullah>thl0: https://github.com/jesusabdullah/browserify-cdn
21:07:46  <jesusabdullah>thl0: first time it took a list of npm deps and returned a bundle that would let you require them in another <script> block
21:08:03  <jesusabdullah>thl0: second time you POSTed a single js file and it detected which modules it needed from npm
21:08:13  <thl0>jesusabdullah: cool, would have to be upgraded to v2
21:08:15  <jesusabdullah>thl0: this time I want to pass in both files and deps lists
21:08:20  <jesusabdullah>thl0: yes definitely
21:08:33  <jesusabdullah>thl0: I have half of a third rewrite but I'm stuck on what the correct API should be
21:09:02  <jesusabdullah>thl0: Would gladly host on jesusabdullah.net, at least until it got too big for its britches
21:09:14  <thl0>jesusabdullah: here is what I would want, i.e. if I wanna pull in https://github.com/thlorenz/get-style-property without using browserify
21:09:40  <thl0>I'd do: jesusabdulla.net/bundle/get-style-property
21:09:50  <jesusabdullah>hmmm
21:09:52  <thl0>i.e. I could put that in a script tag
21:10:17  <thl0>then it npm installs it and runs browserify over the main file and returns that bundle
21:10:40  <jesusabdullah>What Max wants is { "file": "var foo = require('foo'); /* more code */", "dependencies": { "foo": "v0.1.2" }}
21:10:42  <thl0>you could cache bundles of course
21:10:43  <jesusabdullah>or similar
21:10:48  <jesusabdullah>Oh yeah that was always there
21:11:02  <jesusabdullah>before I used couch as my cache
21:11:02  <thl0>jesusabdullah: don't need deps, they are defined in package.json
21:11:04  <jesusabdullah>this time, leveldb
21:11:13  <thl0>leveldb \o/
21:11:16  <jesusabdullah>thl0: unless I'm passing in an arbitrary entry point
21:11:25  <thl0>I'm using it for valuepack as well
21:11:27  <jjjohnny>AW|
21:11:31  <jesusabdullah>thl0: If I want to just get a browserified module that already exists it's different
21:11:44  <jesusabdullah>v1 worked kinda like what you're saying
21:11:57  <thl0>jesusabdullah: it only needs to be able to bundle things that have a package json
21:12:05  <thl0>either on npm or at least on github
21:12:16  <jesusabdullah>v2 worked where the payload was "var foo = require('foo'); /* more code */" and it used node-detective to pick out that it needed "foo"
21:12:42  <thl0>jesusabdullah: but deps would be in package
21:12:45  <jesusabdullah>thl0: the use case is writing voxeljs scripts in the browser, so you'd have your own js file plus a list of which modules you were using
21:13:09  <thl0>and if you run browserify over the main file it will pull all those in from the node_modules to which they were installed
21:13:42  <thl0>jesusabdullah: oh, so you want to do this dynamically
21:13:46  <jesusabdullah>yeah, yeah
21:14:00  <thl0>I'm talking about serving packages prebundled
21:14:12  <jesusabdullah>mmhmm
21:14:13  <thl0>which is a lot easier, but also very much needed
21:14:21  <jesusabdullah>the same machinery can more or less do both
21:14:34  * kenperkinsquit (Quit: Textual IRC Client: http://www.textualapp.com/)
21:14:34  <jesusabdullah>might support a few different ways
21:14:48  <thl0>since then all you do is publish as a normal package and put a link for people who haven't caught up yet
21:14:56  <jesusabdullah>yeah
21:14:59  <thl0>and are still not using browserify
21:15:05  <thl0>I'd love that - make it ;)
21:15:23  <jesusabdullah>like I said, once I figure out what the API should look like
21:15:27  <jesusabdullah>I should just start a gist
21:15:41  <thl0>you could even do something like travis and prebundle when I push a new version, so you always have it ready
21:16:05  <thl0>jesusabdullah: yeah let me know when the gist is ready, would like to have a look
21:17:21  <Raynos>Anyone want to recommend something for writing a ES6 -> ES5 transpiler other then esprima or falafel?
21:17:24  <thl0>jesusabdullah: you could even do a kickstarter or bounty for this
21:17:40  <thl0>Raynos: node-traceur?
21:17:51  <Raynos>no I'm writing one :D
21:17:52  <Raynos>not using one
21:17:56  <thl0>ah, acorn
21:18:08  <thl0>very fast somehwat smaller than esprima
21:18:18  <Raynos>acorn is an alternative to esprima?
21:18:21  <Raynos>I think I'll just esprima
21:18:25  <thl0>yes, but is missing tokens
21:18:26  * kenperkinsjoined
21:18:50  <thl0>well, what are you looking for then
21:18:54  * kenperkinsquit (Client Quit)
21:19:25  <thl0>Raynos: good luck building the state machine to implement generators ;)
21:19:33  <Raynos>nah
21:19:37  <Raynos>ill implement a subset
21:19:42  <thl0>meh
21:20:00  <thl0>will it have scoped let and const?
21:20:01  <jesusabdullah>https://gist.github.com/jesusabdullah/5736633
21:20:05  <jesusabdullah>^^^
21:20:14  <jesusabdullah>substack: mbalho thl0 ^^^^ plz2b comment
21:20:16  <thl0>Raynos: good luck with that too especially in a for loop
21:20:30  <Raynos>fuck for loop
21:20:36  <Raynos>screw let & const
21:20:41  <Raynos>I'm just doing generators and only generators
21:20:49  <Raynos>if you want let & const there is already a module for that
21:21:09  <jesusabdullah>arright dudes I gotta go do stuff, I'll check in moar laters
21:21:21  <Raynos>Even then I'm only transpiling generators which yield continuables
21:23:10  * mikolalysenkoquit (Ping timeout: 256 seconds)
21:24:43  * jcrugzzquit (Ping timeout: 245 seconds)
21:34:06  * mikealjoined
21:35:02  <thl0>jesusabdullah: https://gist.github.com/jesusabdullah/5736633#comment-842414
21:35:34  <thl0>Raynos: so you are doing a generatorify/continueify ?
21:35:42  <Raynos>yes
21:35:47  <thl0>I agree that yield looks tempting
21:36:13  <Raynos>well I'm using it in https://github.com/Raynos/process-dashboard
21:36:13  <thl0>I looked at your lib and co and it cleans up the code quite a bit
21:36:17  <Raynos>and dear god do I love it
21:36:29  <Raynos>so I want to transpile it to readable ES5
21:36:45  <thl0>Raynos: generators are the hardest I thinkg
21:36:54  <Raynos>hardest what?
21:36:56  <Raynos>to transpile?
21:36:58  <Raynos>yes.
21:37:08  <thl0>traceur produces a shitload of code (complicated state machine)
21:37:15  <thl0>impossible to read
21:37:32  <thl0>let me know once you have something up, I'd like to help
21:38:34  <Raynos>:)
21:38:38  <thl0>Raynos: btw what I'd suggest is to produce an AST with esprima and then pull out the yields with that JSON CSS selector thing
21:39:03  <Raynos>nah
21:39:07  <Raynos>im walking the AST manually
21:39:17  <thl0>ok - also lots of fun
21:39:32  <Raynos>:D
21:39:34  <thl0>I basically wrote redeyed so I wouldn't have to do that all the time :)
21:40:04  <thl0>Raynos: https://github.com/thlorenz/redeyed
21:40:26  <Raynos>I need to do this by hand
21:40:33  <Raynos>to get maximum readable output
21:40:54  <thl0>Raynos: I started implementing this by walking the AST, but switched to tokens pretty quick since it became a pain
21:41:12  <Raynos>have you started generatify already?
21:41:22  <thl0>?
21:41:42  <thl0>not sure what that is
21:41:58  <Raynos>never mind
22:02:42  * mikolalysenkojoined
22:09:15  * thl0quit (Remote host closed the connection)
22:12:20  * thl0joined
22:14:30  * Kesslerjoined
22:15:08  * mikolalysenkoquit (Ping timeout: 245 seconds)
22:17:07  * thl0quit (Ping timeout: 276 seconds)
22:29:51  * kenperkinsjoined
22:30:41  <jjjohnny>mbalho: how did you do bside requires?
23:08:49  * ELLIOTTCABLE^quit (Remote host closed the connection)
23:08:57  * ELLIOTTCABLEjoined
23:11:11  * AvianFlujoined
23:13:40  * Kesslerquit (Ping timeout: 276 seconds)
23:20:52  * fallsemojoined
23:25:47  <mbalho>jjjohnny: https://github.com/maxogden/snuggie but i wanna see this succeed https://github.com/grncdr/browserify-as-a-service/issues/3
23:29:39  * nicholasfquit (Read error: Connection reset by peer)
23:29:51  * nicholasfjoined
23:43:56  * thl0joined
23:46:33  * jibayquit (Remote host closed the connection)