00:00:01  * ircretaryquit (Remote host closed the connection)
00:00:09  * ircretaryjoined
00:03:55  * dominictarrquit (Quit: dominictarr)
00:08:01  * thlorenzjoined
00:09:48  * st_lukejoined
00:11:14  * fotoveritejoined
00:12:14  * thlorenzquit (Ping timeout: 240 seconds)
00:16:40  * DTrejoquit (Remote host closed the connection)
00:19:45  * thlorenzjoined
00:19:55  * AvianFluquit (Read error: Connection reset by peer)
00:22:29  * mikealjoined
00:22:36  <mikeal>really strange browserify issue
00:23:14  <mikeal>https://gist.github.com/mikeal/6693250
00:23:37  <mikeal>fresh npm install of browserify and brfs
00:24:28  * AvianFlujoined
00:27:32  <Raynos>mikeal: try `npm ls` ?
00:28:17  <mikeal>invalid version of through
00:28:22  <mikeal>i *just* installed this fucked, how!
00:28:31  <nexxy>LOLSEMVER
00:29:27  <mikeal>added npm ls to https://gist.github.com/mikeal/6693250
00:30:32  * defunctzombiechanged nick to defunctzombie_zz
00:31:52  <substack>mikeal: npm has a bug, I've gotten this before too
00:32:41  <substack>especially if you install over top already installed packages
00:33:49  <mikeal>how do i get rid of it? :)
00:33:54  <mikeal>i tried re-installing
00:35:02  * fotoveritequit (Quit: fotoverite)
00:36:19  * AvianFluquit (Read error: Connection reset by peer)
00:37:01  * AvianFlujoined
00:37:40  * defunctzombie_zzchanged nick to defunctzombie
00:38:09  <st_luke>what happens if you manually delete the invalid through
00:39:02  <defunctzombie>installing anything on npm is always broken
00:39:04  <defunctzombie>npm does not make your tree correct
00:41:31  * venjoined
00:42:05  <Domenic_>these lodash dependency trees are the like reducto-ad-absurdum of the everything-should-be-a-package philosophy.
00:42:32  * venchanged nick to evbogue
00:44:03  <Raynos>mikeal: I've run into issues with npm ls before
00:44:16  <Raynos>mikeal: `npm cache clear && rm ./node_modules -rf && npm i`
00:44:20  <mikeal>i fixed it
00:44:26  <st_luke>the lodash custom builds arent really worth the time in my experience. still pretty big
00:44:38  <mikeal>went in to browserif/node_modules/insert_blahblah
00:44:38  <Raynos>lodash is pretty cool
00:44:43  <defunctzombie>lodash is dumb
00:44:50  <mikeal>rm'd node_modules
00:44:53  <mikeal>npm install
00:44:55  <mikeal>that cleared it up
00:45:06  <defunctzombie>substack: any thoughts on that testling issue? if you are still poking at it
00:45:08  <Raynos>well its cool they published all of lodash on npm
00:45:17  <defunctzombie>sure, that is cool
00:45:20  <mikeal>lodash is absurdly optimized
00:45:31  <mikeal>like, silly, painfully, totally unreadably optimized
00:46:33  <mikeal>honestly
00:46:48  <mikeal>i just don't want to write map/reduce for old browsers
00:46:54  <mikeal>and i don't want to write my own deep clone
00:47:00  * fotoveritejoined
00:47:06  <mikeal>i was using regular lodash, which is fucking GIANT
00:47:12  <mikeal>loving the new modularized versions
00:47:40  <Raynos>oh wow
00:47:44  <Raynos>lodash.map is crazy
00:48:13  <Raynos>ok that shit is annoying as hell
00:48:28  * st_lukequit (Remote host closed the connection)
00:50:09  <jesusabdullah>lodash is a'ight
00:50:15  <jesusabdullah>it does what it's supposed to do
00:55:04  * jcrugzzquit (Ping timeout: 246 seconds)
00:58:03  * DTrejojoined
01:05:37  * fotoveritequit (Quit: fotoverite)
01:05:40  <AvianFlu>jesusabdullah: YOU DO WHAT YOU'RE SUPPOSED TO DO
01:06:08  <defunctzombie>wow
01:10:53  <jesusabdullah>sometimes!
01:11:45  * tilgovijoined
01:16:48  * mikealpart
01:16:54  <thlorenz>substack: defunctzombie am I missing something or is this really broken? https://github.com/substack/browser-pack/issues/21
01:19:09  <substack>thlorenz: https://github.com/substack/browser-pack/blob/master/package.json#L24
01:19:19  * DTrejoquit (Remote host closed the connection)
01:19:24  <substack>https://github.com/substack/browser-pack/blob/master/bin/prepublish.js
01:19:51  <substack>so it's in the npm version but not the git version that travis is using
01:20:12  * st_lukejoined
01:20:19  <rowbit>/!\ ATTENTION: (default-local) paid account successfully upgraded /!\
01:20:19  <rowbit>/!\ ATTENTION: (default-local) info@....jp successfully signed up for developer browserling plan ($20). Cash money! /!\
01:20:25  <substack>yay
01:20:33  * DTrejojoined
01:21:03  <thlorenz>substack: got it, that sucks, since I'm trying to test against my forks before we publish anything ;)
01:21:05  * DTrejoquit (Read error: Connection reset by peer)
01:21:17  <substack>thlorenz: yeah it's perhaps not ideal
01:21:21  <substack>but you can `npm run prepublish`
01:21:35  * DTrejojoined
01:21:36  <Domenic_>you could put that in the travis.yml
01:21:55  <thlorenz>substack: ok will do, but i.e. my browserify fork which uses browser-pack repo fork is now broken :(
01:22:06  * DTrejoquit (Read error: Connection reset by peer)
01:22:22  <thlorenz>gotta manually go in the dep and run prepublish
01:22:32  * DTrejojoined
01:23:27  * DTrejoquit (Read error: Connection reset by peer)
01:23:43  * DTrejojoined
01:24:16  * jcrugzzjoined
01:24:16  * DTrejoquit (Read error: Connection reset by peer)
01:24:45  * DTrejojoined
01:25:44  * DTrejo_joined
01:25:44  * DTrejoquit (Read error: Connection reset by peer)
01:26:13  * DTrejo_quit (Read error: Connection reset by peer)
01:26:44  * DTrejojoined
01:27:15  * DTrejoquit (Read error: Connection reset by peer)
01:27:41  * DTrejojoined
01:28:10  * DTrejoquit (Read error: Connection reset by peer)
01:28:39  * DTrejojoined
01:29:16  * DTrejoquit (Read error: Connection reset by peer)
01:30:05  * DTrejojoined
01:31:10  * jcrugzzquit (Ping timeout: 268 seconds)
01:36:58  <defunctzombie>substack: why is that prepublish needed?
01:39:59  <substack>defunctzombie: because the _prelude.js is generated code
01:40:21  <defunctzombie>why not just generate it when needed then?
01:40:41  <defunctzombie>or better yet.. why even minify it there?
01:40:42  <substack>because that would impact startup times too much
01:40:53  <defunctzombie>I am gonna minify my code myself in production anyway
01:40:56  <defunctzombie>so why bother?
01:41:02  <substack>because people like to see their code right away and shouldn't have to scroll past a lot of boilerplate
01:41:22  <defunctzombie>I just use sourcemaps :)
01:41:28  <substack>also when the code is minified you can easily visually distinguish between the boilerplate and the native code
01:42:45  <thlorenz>substack: this is good to pull then: https://github.com/substack/browser-pack/pull/22
01:42:56  <thlorenz>I tested this all over the place
01:43:19  <defunctzombie>any changes on the testling stuff?
01:43:32  <defunctzombie>really wanna make that testling server work :)
01:43:38  <substack>yes same!
01:43:52  <defunctzombie>I love testling
01:43:54  <substack>the plan is to get the hosted service using the `testling` command that is already on npm
01:43:57  <defunctzombie>nothing else is as easy to use
01:43:59  <substack>so that the parity is 1:1
01:44:02  <defunctzombie>ah
01:44:48  <substack>thlorenz: ok, merging it
01:45:23  <thlorenz>substack: cool , thanks
01:50:49  * jxsonquit (Remote host closed the connection)
01:51:19  * DTrejoquit (Remote host closed the connection)
01:53:15  <defunctzombie>substack: are you working on testling fulltime?
01:55:04  * DTrejojoined
01:55:37  * DTrejoquit (Read error: Connection reset by peer)
01:55:59  * DTrejojoined
01:56:26  <thlorenz>substack: let me know when the newer browserify (with upgraded browser-pack) is out
01:56:36  * DTrejoquit (Read error: Connection reset by peer)
01:56:57  <thlorenz>btw this sourcemap thing is hard to test at times cause even chrome is sometimes not consistently handling them
01:56:58  * DTrejojoined
01:57:06  <thlorenz>i.e. it broke in the latest canary
01:57:45  * DTrejoquit (Read error: Connection reset by peer)
01:57:57  * DTrejojoined
01:58:32  * DTrejoquit (Read error: Connection reset by peer)
01:59:09  <substack>ping paul_irish about that?
02:02:23  <substack>thlorenz: it's published now
02:02:54  <thlorenz>cool, thanks!
02:04:02  <thlorenz>substack: and I did ping paul_irish - I narrowed it down to about 5 patches in between which it broke due to my canary installs on different machines
02:04:02  <thlorenz>https://twitter.com/thlorenz/status/382310943411429376
02:04:09  <thlorenz>I suppose they'll fix it soon
02:05:47  * DTrejojoined
02:06:28  * DTrejoquit (Read error: Connection reset by peer)
02:10:39  * DTrejojoined
02:14:56  * dguttmanquit (Quit: dguttman)
02:22:12  * jergasonquit (Quit: jergason)
02:28:10  <brianloveswords>rvagg: did a curriculum review of functional javascript by your friend! https://github.com/timoxley/functional-javascript-workshop/issues/7
02:30:59  <brianloveswords>It'd be rad if someone else went through it and did one so it's not just my opinion on there :)
02:32:10  * st_lukequit (Remote host closed the connection)
02:38:29  * tilgoviquit (Remote host closed the connection)
02:51:16  * thlorenz_joined
03:09:05  * defunctzombiechanged nick to defunctzombie_zz
03:37:32  * fallsemojoined
04:11:31  * mikolalysenkoquit (Ping timeout: 260 seconds)
04:14:55  * thlorenzquit (Remote host closed the connection)
04:16:40  * fallsemoquit (Ping timeout: 246 seconds)
04:36:54  * thlorenz_quit (Remote host closed the connection)
04:37:02  * mikolalysenkojoined
04:42:20  * defunctzombie_zzchanged nick to defunctzombie
04:45:15  * mikolalysenkoquit (Ping timeout: 248 seconds)
04:50:34  * DTrejoquit (Remote host closed the connection)
04:51:09  * DTrejojoined
04:51:26  * DTrejoquit (Read error: Connection reset by peer)
04:59:49  * dguttmanjoined
05:07:21  * thlorenzjoined
05:08:57  * mikolalysenkojoined
05:09:38  * maksimlinjoined
05:14:43  * thlorenzquit (Ping timeout: 245 seconds)
05:21:58  * DTrejojoined
05:30:26  * DTrejoquit (Ping timeout: 268 seconds)
05:32:09  * shamaquit (Remote host closed the connection)
05:36:06  * jcrugzzjoined
05:41:37  * thlorenzjoined
05:45:50  * thlorenzquit (Ping timeout: 240 seconds)
05:52:10  * AvianFluquit (Remote host closed the connection)
05:55:05  * dguttmanquit (Quit: dguttman)
05:55:40  * mikolalysenkoquit (Ping timeout: 240 seconds)
06:26:42  * fotoveritejoined
06:48:54  * rowbitquit (Ping timeout: 256 seconds)
06:50:01  * pkruminsquit (Ping timeout: 245 seconds)
06:54:16  * maksimlinquit (Quit: ChatZilla 0.9.90.1 [Firefox 24.0/20130911164256])
07:02:10  * mikolalysenkojoined
07:06:51  * mikolalysenkoquit (Ping timeout: 245 seconds)
07:08:02  * djcoinjoined
07:13:57  <juliangruber>rvagg substack: do you remember the resolution of the projector at nodeconf eu?
07:50:22  * dominictarrjoined
08:37:39  * defunctzombiechanged nick to defunctzombie_zz
08:46:19  <dominictarr>substack: jjjohnny mbalho check out the latest from by buddies at skyranch video! http://www.youtube.com/watch?v=6b-gcUqrejI
08:49:20  <djcoin>nice :)
09:37:12  <substack>dominictarr: pretty great
09:37:22  * substackabout to take a bus to OAK airport
09:51:54  * yoosufjoined
09:53:05  <dominictarr>substack: sweet! I get to lisbon next tuesday
09:57:08  * Jan_____joined
10:05:28  * frankblizzardjoined
10:06:13  * spionjoined
10:17:09  * Jan_____quit (Quit: Textual IRC Client: http://www.textualapp.com/)
10:28:43  * spionquit (Ping timeout: 246 seconds)
10:32:18  * spionjoined
10:50:26  <substack>waiting for the us airways kiosks to power on
10:52:12  <dominictarr>creationix: http://www.kickstarter.com/projects/48651611/espruino-javascript-for-things
10:52:26  <dominictarr>^ has a custom low memory javascript implementation
10:52:41  <dominictarr>that is to be open sourced when the kickstarter completes
10:55:04  <dominictarr>wow, apparently it has only 48k of ram!
10:59:00  <substack>native npm support!
10:59:17  <substack>maybe it compiles the js to something tinier?
11:00:16  <substack>the graphical code editor is silly though
11:13:42  <dominictarr>we can just make an npm mesh, with tiny robots that sneak around, clasp onto power cables and inductively leech powers
11:14:15  <dominictarr>or solar powered robots, that bask in the sun and seek out free wifi
11:27:11  * ferossquit (Quit: feross)
11:28:28  * yoosufquit
11:39:01  <ralphtheninja>dominictarr: cool
11:46:38  <juliangruber>substack: do you remember the resolution of the projector at nodeconf eu?
11:48:10  <dominictarr>juliangruber I think it was 10?? by 768?
11:48:26  * mcollinajoined
11:48:39  <juliangruber>dominictarr: I remember it not being the standard aspect ratio?
11:48:55  <dominictarr>that was the worst projector
11:49:12  <juliangruber>next time just bring a chalk board
11:49:21  <juliangruber>:)
11:49:57  <dominictarr>THE INTERPERTIVE DANCE OF JAVASCRIPT
11:49:57  <LOUDBOT>I DON'T KNOW, DO YOU WANT THEM IN PICAS INSTEAD
11:50:46  <dominictarr>SOMETIMES I SAY THINGS IS CAPS JUST TO GET INTO LOUDBOTS DATABASE
11:50:47  <LOUDBOT>THIS CHANNEL HAS BEEN TAKEN OVER MY COMMUNISTS
11:56:44  <juliangruber>:D
11:57:23  <juliangruber>from now on music will be published as npm packages with pre-install scripts that download from youtube
11:57:52  <substack>juliangruber: it was just 1024x768 but I had to set my screen size to 800x600 to trigger that resolution
11:58:06  <juliangruber>substack: ok
11:59:40  <substack>juliangruber: your talk was so good too
12:01:01  <juliangruber>substack: =)
12:01:43  <juliangruber>substack: I've just been so thankful that I could be at a node conference around people that I've learned so much from
12:09:05  * frankblizzardquit (Remote host closed the connection)
12:29:54  * timoxleyquit (Remote host closed the connection)
12:40:19  * yorickjoined
12:42:15  * timoxleyjoined
12:49:48  * AvianFlujoined
12:50:13  * fallsemojoined
12:56:13  * timoxleyquit (Remote host closed the connection)
13:02:44  * thlorenzjoined
13:09:28  * fallsemoquit (Quit: Leaving.)
13:09:37  * timoxleyjoined
13:15:57  * tmcwjoined
13:23:01  * pkruminsjoined
13:23:02  * pkruminsquit (Changing host)
13:23:02  * pkruminsjoined
13:23:39  * AvianFluquit (Remote host closed the connection)
13:24:52  * thlorenzquit (Remote host closed the connection)
13:27:25  * Maciek416joined
13:34:54  * fallsemojoined
13:47:14  * fallsemoquit (Quit: Leaving.)
13:52:52  * kevino80joined
14:01:20  * mcollina_joined
14:02:08  * thlorenzjoined
14:04:06  * mcollinaquit (Ping timeout: 256 seconds)
14:06:18  * mcollina_quit (Read error: Operation timed out)
14:09:37  * fallsemojoined
14:14:18  * mikolalysenkojoined
14:16:20  * AvianFlujoined
14:17:09  * AvianFlu_joined
14:17:51  <jjjohnny>dominictarr: excellent vdieo. Can't say the same about the lyrics!
14:18:30  <dominictarr>jjjohnny: the bits I can remember are funny, though.
14:18:37  * wolfeida_joined
14:18:44  * AvianFluquit (Disconnected by services)
14:18:47  * AvianFlu_changed nick to AvianFlu
14:20:53  * wolfeidauquit (Ping timeout: 248 seconds)
14:21:35  <jjjohnny>dominictarr: evolution vs creation how quaint
14:23:56  <dominictarr>this is not exactly new zealands most interesting band
14:29:20  * wolfeidaujoined
14:29:33  <AvianFlu>yeah
14:29:36  * jergasonjoined
14:29:40  <AvianFlu>that barbershop quartet of sheep is way more interesting
14:29:42  <AvianFlu>ZING!
14:29:48  * wolfeida_quit (Ping timeout: 240 seconds)
14:31:02  * kevino80quit (Remote host closed the connection)
14:31:08  <jjjohnny>link pls
14:32:09  * kevino80joined
14:33:07  <dominictarr>AvianFlu: you might like this, new zealand's most famous sheep http://www.youtube.com/watch?v=9Ck3gaEEHhc
14:34:04  <AvianFlu>LOLOLOLOLOL
14:34:05  <AvianFlu>epic
14:36:01  <jjjohnny>substack: shrek feelin guten
14:36:17  <jjjohnny>ooops
14:36:23  <jjjohnny>well thats for you
14:45:35  * mcollinajoined
14:50:18  * dguttmanjoined
15:05:34  * frankblizzardjoined
15:06:52  * toddselfjoined
15:13:42  * wolfeida_joined
15:16:38  * wolfeidauquit (Ping timeout: 240 seconds)
15:25:00  * frankblizzardquit (Remote host closed the connection)
15:26:57  <substack>dominictarr: angular eh?
15:27:10  <substack>now boarding my flight &
15:27:19  <juliangruber>dominictarr: what's the fastest way to move data into level-merkle?
15:30:19  * shamajoined
15:35:43  * kevino80quit (Remote host closed the connection)
16:00:00  <dominictarr>juliangruber: you just do var mDb = Merkle(db, 'm'); mDb.put(hash(v), v, cb)
16:00:16  <dominictarr>then you can do mDb.createStream()
16:00:31  <dominictarr>or maybe mDb.createReplicateStream()
16:00:46  <dominictarr>I forget, there is probably an example in the readme.
16:24:46  * jcrugzzquit (Ping timeout: 245 seconds)
16:25:47  * kevino80joined
16:26:54  <juliangruber>dominictarr: i got it to work, it's just slow (maybe)
16:27:08  * ednapiranhajoined
16:27:13  <dominictarr>juliangruber: yes. that was the first stab.
16:27:27  <juliangruber>ok :)
16:27:40  <dominictarr>the new one, with the merkle module will be more optimized
16:27:47  <juliangruber>so are you going to work on that? then I'll just continue using that and swap it out later
16:28:33  <dominictarr>yes, this stuff is all part of the cyphernet project
16:29:38  * defunctzombie_zzchanged nick to defunctzombie
16:31:02  <juliangruber>sweet
16:32:45  * toddselfquit (Remote host closed the connection)
16:34:27  * jergasonquit (Quit: jergason)
16:36:07  * defunctzombiechanged nick to defunctzombie_zz
16:47:18  * mikolalysenkoquit (Ping timeout: 256 seconds)
16:57:21  * jergasonjoined
17:02:36  * evboguequit (Read error: Connection reset by peer)
17:12:16  * venjoined
17:12:53  * defunctzombie_zzchanged nick to defunctzombie
17:18:34  * AvianFluquit (Remote host closed the connection)
17:18:38  * jxsonjoined
17:30:20  <dominictarr>juliangruber: have a look at merkle, it's much closer to how it will work in the future
17:33:31  * mikolalysenkojoined
17:46:06  * yorick_joined
17:46:48  * yorickquit (Ping timeout: 240 seconds)
17:48:55  * AvianFlujoined
17:49:44  * spionquit (Ping timeout: 246 seconds)
17:54:14  * timoxleyquit (Remote host closed the connection)
17:54:46  * timoxleyjoined
17:57:31  * AvianFluquit (Ping timeout: 260 seconds)
17:59:18  * timoxleyquit (Ping timeout: 245 seconds)
18:05:11  * djcoinquit (Quit: WeeChat 0.4.1)
18:11:09  * jergason_joined
18:12:26  * AvianFlujoined
18:13:18  * soldairjoined
18:13:28  * jergasonquit (Ping timeout: 245 seconds)
18:13:28  * jergason_changed nick to jergason
18:17:03  * DTrejojoined
18:18:21  * nk109quit (Ping timeout: 252 seconds)
18:21:17  * yorick_quit (Remote host closed the connection)
18:21:47  <soldair>tried in #node.js but npm install -g seems broken in 0.10.19 anyone else having the issue? https://gist.github.com/soldair/6703702 "cb() never called"
18:30:30  <mikolalysenko>is there a browserify compatible modules that does streaming http requests both in node & in the browser?
18:30:49  <mikolalysenko>am working on updating my shapeways module and would like to make a version that works both client side and server side
18:32:32  <mikolalysenko>theoretically anyway there should be some way to get it to work in a browser with a suitably configured CORS policy...
18:33:28  * AvianFlu_joined
18:34:08  * AvianFluquit (Disconnected by services)
18:34:10  * AvianFlu_changed nick to AvianFlu
18:36:57  * yorickjoined
18:49:09  <dominictarr>mikolalysenko: I think you want hyperquest
18:54:32  * kevino80quit (Remote host closed the connection)
18:55:16  * kevino80joined
18:55:24  * timoxleyjoined
18:56:07  <mikolalysenko>dominictarr: does hyperquest work in the browser?
18:56:16  <dominictarr>yes
18:56:19  <mikolalysenko>oh duh, yes.
18:56:22  <dominictarr>that is the hyperpart
18:56:35  <dominictarr>also, request@<2 works
18:56:45  <mikolalysenko>awesome, I will use hyperquest
18:57:18  <mikolalysenko>the new shapeways api is much better than their old soap based system
18:57:36  <mikolalysenko>I am pretty sure that you can write 3d printing apps that run completely within a browser using it
18:57:42  <mikolalysenko>assuming you set all the cors stuff properly
18:58:19  * spionjoined
18:58:36  <mikolalysenko>also are there any good pure js libraries for working with zip files?
19:00:28  * timoxleyquit (Ping timeout: 264 seconds)
19:01:08  * DTrejoquit (Remote host closed the connection)
19:08:41  <tmcw>mikolalysenko: https://github.com/Stuk/jszip/ for one
19:08:49  * jxsonquit (Remote host closed the connection)
19:09:58  <mikolalysenko>tmcw: looks good, though was hoping for something with streaming support
19:10:16  <tmcw>yeah, I don't think there is currently
19:10:22  <mikolalysenko>hmm
19:10:41  <mikolalysenko>there are nodejs native solutions though, (at least I think)
19:36:19  <jaz303>dominictarr: https://npmjs.org/package/sparkjs-launcher
19:39:35  <dominictarr>jaz303: install, or install -g ?
19:39:42  <jaz303>just install
19:39:47  <jaz303>which is preferable?
19:40:13  * jcrugzzjoined
19:40:24  <dominictarr>I'm just a little confused what it's gonna do to my computer
19:40:51  <dominictarr>cos I figure it needs to add a command, right?
19:41:13  <jaz303>not yet, it just lets you run it via `npm start` for now
19:41:34  <jaz303>just followed the examples in the nodewebkit module
19:41:53  <dominictarr>so, I install it, and then do cd node_module/sparkjs-launcher ?
19:42:14  <jaz303>you're right i haven't really thought this through have i
19:42:42  <jaz303>but yes that's how it works for now
19:43:35  <dominictarr>it's really easy to add a command
19:44:33  <dominictarr>making a pull request...
19:48:43  * spionquit (Ping timeout: 246 seconds)
19:52:27  <dominictarr>jaz303: https://github.com/jaz303/sparkjs-launcher/pull/1
19:54:33  <thlorenz>jaz303: also spark has the entire ace-editor source code in the repo, you should have a look at brace which you can npm install properly
19:54:34  <thlorenz>https://github.com/thlorenz/brace
19:54:43  <thlorenz>I'll help you set it up if you want
19:55:36  <dominictarr>jaz303: cool! it works!
19:55:37  <thlorenz>jaz303: but it's quite simple really https://github.com/thlorenz/browserify-markdown-editor/blob/master/init-brace.js
19:56:05  * timoxleyjoined
19:59:26  <jaz303>ooh thanks
20:00:37  * timoxleyquit (Ping timeout: 248 seconds)
20:02:04  <thlorenz>dominictarr: installed your fork, but am getting /Users/thlorenz/npm-global/bin/sparkjs: line 3: ./node_modules/nodewebkit/bin/nodewebkit: No such file or directory
20:02:39  <dominictarr>did you do install -g?
20:02:42  <thlorenz>yep
20:02:52  <thlorenz>npm i -g dominictarr/sparkjs-launcher
20:03:06  <dominictarr>hmm
20:03:47  <dominictarr>the problem is how it symlinks stuff
20:04:22  <dominictarr>when you symlink a bash script, it think it is at the symlink
20:04:29  <dominictarr>not at the symlink's target
20:04:44  <thlorenz>probably, cause the file is there:
20:04:49  <thlorenz>ls /Users/thlorenz/npm-global/lib/node_modules/sparkjs-launcher/node_modules/nodewebkit/bin/nodewebkit
20:04:49  <thlorenz>/Users/thlorenz/npm-global/lib/node_modules/sparkjs-launcher/node_modules/nodewebkit/bin/nodewebkit
20:05:09  <dominictarr>can you do: which sparkjs
20:05:42  <thlorenz>=> /Users/thlorenz/npm-global/bin/sparkjs
20:06:26  <thlorenz>really wanted to try this :(
20:06:30  <thlorenz>looks cool
20:06:48  * st_lukejoined
20:08:14  * mikolalysenkoquit (Ping timeout: 240 seconds)
20:09:02  <jaz303>brace looks cool
20:09:09  <jaz303>i'll integrate it tonight
20:09:28  <jaz303>is it easy to keep it in sync with the upstream ace editor?
20:09:30  <thlorenz>jaz303: it's must refactored ace -- made commonjs compat and inlined webworker script into a blob
20:09:32  <thlorenz>yep
20:09:57  <thlorenz>jaz303: you just run this script ;) https://github.com/thlorenz/brace/blob/master/build/update.js
20:10:21  <thlorenz>and do a PR and I publish the new version
20:10:32  <jaz303>what's the +function syntax?
20:10:32  <dominictarr>thlorenz: try my latest push
20:11:30  <thlorenz>/Users/thlorenz/npm-global/bin/sparkjs: line 3: cd: ../lib/node_modules/sparkjs-launcher/: No such file or directory
20:11:30  <thlorenz>/Users/thlorenz/npm-global/bin/sparkjs: line 5: ./node_modules/nodewebkit/bin/nodewebkit: No such file or directory
20:11:36  <dominictarr>jaz303: that makes it into an expression
20:11:45  <dominictarr>you can also do (function () {…})()
20:11:59  <dominictarr>I havn't actually seen +function before
20:12:05  <thlorenz>jaz303: yeah, just a nerdy way of doing a immediately invoking fn
20:12:23  <thlorenz>dominictarr: it's shorter than the other way and looks nicer IMO
20:12:27  <jaz303>like it, it's actually more readble
20:12:28  <dominictarr>technically, it coearses it into a number
20:12:30  <jaz303>*readable
20:12:42  <dominictarr>thlorenz: yes! and you also don't have to do ;(function () {…})()
20:12:51  <dominictarr>incase it looks like a function call
20:13:05  <thlorenz>dominictarr: yes, which makes it an expression and thus valid, and that number is discarded
20:13:09  <dominictarr>less semicolons!
20:13:25  <thlorenz>unless you forget your semicolons ;) then it may try to add it to the line above ;)
20:14:07  <dominictarr>you can also use !
20:14:20  <dominictarr>which might work better in that situation
20:14:25  <thlorenz>yes or `-,*` as well I think
20:14:52  <thlorenz>the + to me looks like the editor expanded the function body
20:15:57  <dominictarr>thlorenz: yeah, you need a semicolon
20:16:00  <dominictarr>but you can use !
20:16:04  <dominictarr>without one
20:16:32  <dominictarr>and the ! also suggests execution
20:16:35  <thlorenz>ah, b/c it is less likely to merge into the line above
20:16:39  <thlorenz>makes sense
20:16:53  <jaz303>what about require('sparkjs-launcher') and have its index.js exec() node-webkit
20:17:44  <dominictarr>jaz303: you could do that too, although, that would start an extra node process
20:19:00  <dominictarr>thlorenz: hmm, in that example, you are essentially using the functions as comments
20:19:13  <thlorenz>and closures
20:19:28  <thlorenz>in order to create vars without worrying about duplicates
20:19:49  <thlorenz>although actually not creating many vars, so yes comments
20:20:10  <thlorenz>it also made debugging easier since I could just skip a step by commenting the () in the end
20:20:47  <thlorenz>instead of having to comment an entire block (I remember now that was the main reason I did this in the first place)
20:20:57  <dominictarr>oh, it adds a name to the stack trace!
20:21:13  <dominictarr>so it's a comment the appears in the stacktrace...
20:21:30  <thlorenz>that also, but main concern was ability to quickly comment out a step via //()
20:21:33  <dominictarr>that is kinda helpful
20:21:48  <dominictarr>right
20:21:54  <dominictarr>sometimes I do comments like this
20:21:58  <dominictarr> ///*
20:22:04  <dominictarr>blah blah blah
20:22:07  <dominictarr>/*/
20:22:13  <dominictarr> //*/
20:22:15  <dominictarr>I mean
20:22:36  <thlorenz>ah, that's a nice idea
20:22:49  <thlorenz>so you comment the comment to disable it - neat
20:23:03  <dominictarr>yeah
20:23:14  * jxsonjoined
20:23:16  <dominictarr>can also do if(false) {……………}
20:23:42  * jxsonquit (Remote host closed the connection)
20:23:49  * jxson_joined
20:25:42  * jxson_quit (Remote host closed the connection)
20:29:25  <thlorenz>dominictarr: yeah, I use that to isolate tests: https://github.com/thlorenz/dotfiles/blob/master/vim/bundle/snipmate-mine/snippets/javascript/tst_.snippet#L1-L3
20:30:01  <thlorenz>then I name the test in querstion 'test_(..' instead of 'test(..'
20:30:16  <thlorenz>all the others get ignored that way
20:31:54  <jaz303>thlorenz: with brace i'm getting this error: Uncaught TypeError: Object #<Object> has no method 'acequire'
20:32:09  <thlorenz>whew
20:32:39  <thlorenz>never seen this
20:32:53  <jaz303>could it be node-webkit specific?
20:33:28  <thlorenz>jaz303: can you clone https://github.com/thlorenz/browserify-markdown-editor and try to npm install && npm start
20:33:39  <thlorenz>that uses brace as wekk
20:33:42  <thlorenz>well*
20:34:39  * tilgovijoined
20:34:40  <thlorenz>jaz303: but basically brace replaced all ace 'require's with 'acequire's cause they screw up browserify otherwise
20:41:19  * timoxleyjoined
20:44:19  <st_luke>ugh https://github.com/isaacs/npm/issues/3933
20:45:09  <jaz303>ok so what's happening is acquire() is assigned to something that ace calls `global`
20:45:25  <jaz303>worked out by (function() { return this; })()
20:45:41  <jaz303>which in a node-webkit context returns node's own global object
20:46:06  <jaz303>but at the bottom of the ace source code it's explicitly trying to call acequire() on `window`
20:46:18  * timoxleyquit (Ping timeout: 264 seconds)
20:51:53  <jaz303>thlorenz: are the final 10 lines or so of https://github.com/thlorenz/brace/blob/master/index.js modifiable?
20:52:47  <thlorenz>you could try, but I think they are essential to initialize ace
20:53:39  <thlorenz>the fact that ace.acequire is not defined is the actual bug - you did npm i brace and var ace = require('brace') right?
20:54:02  <jaz303>yes but it's trying to call window.acequire()
20:54:30  * DTrejojoined
20:54:36  <jaz303>but exportAce() on line 141 is using something ace calls `global`
20:54:51  <jaz303>which as it happens will actually be the node context's global object
20:55:30  <jaz303>so acequire is being exported to the wrong place
20:55:37  <thlorenz>jaz303: ah, this is meant to only run in the browser, so maybe you are running into issues due to webkit
20:55:47  <jaz303>yes thats what i thought
20:55:50  <jaz303>hmmm
20:56:01  <thlorenz>make an issue and we can discuss how to solve this
20:56:20  <jaz303>i reckon i could hack it for now by doing global.window = global before require('brace')
20:56:25  <thlorenz>maybe make a small sample that exposes the problem - I'd love to make this work for webkit as well
20:56:31  <jaz303>then restoring afterwards
20:56:34  <jaz303>will do
20:56:34  * jxsonjoined
20:56:53  <thlorenz>jaz303: if that works, you could make that hack part of the update.js refactor script - then it'd be fixed forever
20:56:59  <thlorenz>I'll take a PR
20:57:46  <thlorenz>I have tests you can run to ensure that the hack doesn't break anything (npm test)
20:58:02  <thlorenz>it's manual inspection, but good enough ;)
20:58:30  <thlorenz>actually most are automated https://github.com/thlorenz/brace/blob/master/test/error-annotations.js
21:01:26  * wolfeida_changed nick to wolfeidau
21:01:41  * jxsonquit (Ping timeout: 245 seconds)
21:09:04  <jaz303>i tricked it into working
21:09:22  <jaz303>predefined window.ace.acequire and proxied it to global.ace.acequire
21:09:33  <jaz303>i feel a bit sick
21:10:00  <jaz303>will try and find a cleaner way to do it later
21:10:53  * Maciek416quit (Remote host closed the connection)
21:23:07  * tilgoviquit (Ping timeout: 248 seconds)
21:31:43  <substack>thlorenz: this might be an issue for your lib https://github.com/substack/node-browserify/issues/494#issuecomment-25120777
21:32:25  * kevino80quit (Remote host closed the connection)
21:32:56  <thlorenz>substack: I saw that - will try to help when I got time - to me it looks like a jquery - jquery-ui issue
21:33:12  <substack>could be yeah
21:37:22  * jxsonjoined
21:41:58  * timoxleyjoined
21:46:08  * timoxleyquit (Ping timeout: 240 seconds)
21:50:04  * thlorenzquit (Remote host closed the connection)
21:52:23  <defunctzombie>shims jesus
21:52:47  <AvianFlu>I'LL KICK YOU IN THE SHIMS
21:52:48  <LOUDBOT>ALL MY DAD DOES IS YELL AND YELL
21:53:24  * mcollinaquit (Ping timeout: 268 seconds)
21:53:49  <tmcw>man, loudbot is so on point
21:54:12  <tmcw>GOOD JOB KID
21:54:12  <LOUDBOT>IT WAS ON THE NEWS THIS MROING, A CLIMATOLOGIST IN ENGLAND WHO HAD LOST THEIR THREE RUNS
22:02:53  <st_luke>defunctzombie: are you using fibers?
22:04:51  * tmcwquit (Remote host closed the connection)
22:06:28  * dominictarrquit (Ping timeout: 240 seconds)
22:20:16  * thlorenzjoined
22:27:07  * AvianFluquit (Remote host closed the connection)
22:27:13  * jergasonquit (Quit: jergason)
22:28:34  * jergasonjoined
22:28:39  * thlorenzquit (Ping timeout: 260 seconds)
22:29:32  <defunctzombie>st_luke: no
22:29:45  <defunctzombie>st_luke: I kinda want to be, but too busy with many other more important things
22:33:42  * jergasonquit (Ping timeout: 264 seconds)
22:42:41  * timoxleyjoined
22:47:02  * timoxleyquit (Ping timeout: 240 seconds)
22:55:12  <st_luke>defunctzombie: cool, if you ever get around to it let me know how it goes
22:55:25  <st_luke>the guy who maintains it is a really smart guy
22:59:16  * kevino80joined
23:16:05  * fallsemoquit (Quit: Leaving.)
23:16:05  * dstokesjoined
23:16:16  * dguttman_joined
23:17:19  * dguttmanquit (Ping timeout: 246 seconds)
23:17:20  * dguttman_changed nick to dguttman
23:17:20  * tilgovijoined
23:21:23  <defunctzombie>st_luke: I bet, it is not a simple thing
23:22:53  * dguttman_joined
23:25:26  * dguttmanquit (Ping timeout: 240 seconds)
23:25:27  * dguttman_changed nick to dguttman
23:26:15  * ednapiranhaquit (Remote host closed the connection)
23:29:04  * AvianFlujoined
23:34:16  * dstokesquit (Quit: dstokes)
23:39:47  * DTrejoquit (Remote host closed the connection)
23:40:38  * DTrejojoined
23:43:36  * timoxleyjoined
23:48:23  * timoxleyquit (Ping timeout: 260 seconds)
23:57:26  * jxsonquit (Remote host closed the connection)