00:00:00  * ircretaryquit (Remote host closed the connection)
00:00:08  * ircretaryjoined
00:00:27  <jjjjohnnny>is there a repo of browserifiable front end modules yet?
00:01:14  <mbalho>that would be a big repo
00:01:18  <mbalho>raynos has a gist or something
00:08:14  <substack>yay signups
00:08:16  <mbalho>mikolalysenko: there were people working on node kalman filters at a drone meetup i went to recently, not sure if they ever published it though
00:08:33  <mbalho>guybrush_: i dont do prediction yet, gonna hack on that soon
00:08:47  <mbalho>guybrush_: i just lerp server updates
00:08:58  * ryanclosnerjoined
00:09:15  <substack>jjjjohnnny: all these repos have testling tests which is a really good indicator that they work with browserify http://ci.testling.com/commits.json
00:09:40  <substack>the commits.json data is fed into this: http://browserify.org/search
00:09:58  * yorickquit (Remote host closed the connection)
00:10:03  <substack>the best way to solve this problem is to prove that modules work in browsers by writing tests demonstrating as much!
00:10:28  <guybrush_>mbalho: gotcha
00:11:55  <mbalho>substack: heres an interesting writeup, check out the 1.2.3.4 https://sites.google.com/site/letsmakeavoxelengine/home/collision-detection
00:14:05  <substack>mbalho: oh sweet
00:14:21  <substack>need a reusable module for this stuff
00:14:26  <substack>with independent tests
00:14:40  <mbalho>yea
00:15:35  <mbalho>substack: also http://stackoverflow.com/questions/4694759/collision-detection-by-sliding-against-a-plane-in-xna
00:18:25  <chrisdickinson>i think the tile based thing i'm working on might prove useful
00:19:39  <chrisdickinson>(basically, walk each axis separately in the direction of movement, walking the other two axises in a predetermined fashion)
00:20:04  <chrisdickinson>then if there's a collision on an axis, modify the vector on that axis
00:20:10  <chrisdickinson>then walk the other axises
00:20:40  <chrisdickinson>the biggest part is walking the other two access in a reliably "clockwise" fashion
00:21:08  <mbalho>i just want collisions to be solved
00:21:08  <mbalho>:D
00:21:24  <chrisdickinson>for real
00:21:43  <chrisdickinson>bonus points, if this collide-3d module works it'd be really easy to plop it into any number of other minecraft-ish simulations
00:22:17  <mbalho>yea
00:31:23  <substack>plop
00:32:44  * ryanclosnerquit (Read error: Operation timed out)
00:33:07  <jjjjohnnny>neat
00:38:58  <chrisdickinson>oooh
00:39:32  <chrisdickinson>game.controls.velocity isn't in world space yet
00:39:44  <chrisdickinson>mbalho: is there a worldspace version of the velocity vector?
00:40:42  <chrisdickinson>or is there a way to get that vector?
00:41:53  <mbalho>chrisdickinson: hmm i dunno
00:42:17  <mbalho>chrisdickinson: you could pass it through Chunker.prototype.voxelVector maybe
00:43:17  <jez0990_>Hey folks. Where's a good place I can discuss philosophy with other programming geeks like us?
00:43:45  <mbalho>your local hackerspace
00:44:14  <jez0990_>you mean I have to leave my house?? :(
00:55:16  <chrisdickinson>wooo it works but really slows down
00:56:01  <mbalho>lol
00:56:17  <chrisdickinson>like it slides around boxes and everything
00:56:23  <chrisdickinson>but the timestep is wrong, somehow
00:57:16  <chrisdickinson>mbalho: i'll be online later and put up a demo
00:57:27  <mbalho>chrisdickinson: cool!!
00:59:51  <chrisdickinson>it's kind of ugly since i need to get a world vec then reapply it to the player
01:00:52  <ryanseddon>can anyone help me, have I done anything wrong to get testling-ci working https://github.com/ryanseddon/H5F/commit/975e8fbfe524e88160c53f2c912acc92b5adae0f
01:02:26  <substack>ryanseddon: we were getting a bug pushing your repo with github-push-receive :/
01:03:59  <ryanseddon>oh so i didn't do anything wrong or something i did made it fail?
01:04:19  <substack>it's a bug on our end we haven't figured out yet
01:04:41  * AvianFluquit (Remote host closed the connection)
01:04:46  <ryanseddon>substack: ok cool so everything in my commit looks good to you otherwise?
01:05:04  <substack>well not sure yet because of the bug
01:05:40  <ryanseddon>right, well i'
01:05:49  <ryanseddon>right, well i'll be lurking so let me know if I need to change anything
01:07:54  * devaholicquit (Ping timeout: 252 seconds)
01:12:27  <jez0990_>mbalho: here's an idea for voxel.js - mmo (or p2p mmo) works by clients (or web-rtc'd peers) connecting their meta-voxel worlds through adjacency in two dimensions
01:13:15  <jez0990_>how much would you say is left to build before that is feasible?
01:14:27  * ryanclosnerjoined
01:18:51  <Raynos>mbalhbo: ?
01:19:47  <Raynos>jjjjohnny: https://gist.github.com/4350728
01:21:33  * pkruminsquit (Quit: Changing server)
01:21:56  * pkruminsjoined
01:21:57  * pkruminsquit (Changing host)
01:21:57  * pkruminsjoined
01:22:09  <Raynos>please mention any extra modules to be added in a comment
01:22:21  * pkruminsquit (Client Quit)
01:22:40  * pkruminsjoined
01:22:40  * pkruminsquit (Changing host)
01:22:41  * pkruminsjoined
01:23:19  <jez0990_>Raynos: these lists are awesome by the way, not enough people publish them - thanks!
01:28:47  * AvianFlujoined
01:42:40  <jez0990_>chrisdickinson: how did the dates on your neversaw.us blog manage to get two years out of sync?!
01:45:38  * tilgoviquit (Ping timeout: 255 seconds)
01:57:23  <substack>Raynos: do you have a module for taking a readable/writable stream and only making it writable?
02:09:26  * AvianFluquit (Remote host closed the connection)
02:25:51  * defunctzombie_zzchanged nick to defunctzombie
02:28:38  * defunctzombiechanged nick to defunctzombie_zz
02:28:41  * defunctzombie_zzchanged nick to defunctzombie
02:29:05  * ralphtheninjaquit (Ping timeout: 260 seconds)
02:29:58  * dguttmanquit (Quit: dguttman)
02:31:33  * ralphtheninjajoined
02:32:08  * st_lukejoined
02:35:39  <Raynos>substack: no
02:36:00  <Raynos>substack: but (stream.read = null && stream.pipe = null) should work
02:36:16  <Raynos>substack, mbalho: whats this event tongiht at 8pm?
02:36:36  <substack>Raynos: http://www.5mof.net/
02:36:41  <Raynos>substack: actually `return WriteStream(stream.write, stream.end)` might work
02:37:55  * devaholicjoined
02:38:25  <Raynos>substack `npm docs write-stream`
02:38:29  <mbalho>jez0990_: i dont know enough about webrtc to make it happen but i am using scuttlebutt for world data sync in the voxel-server demo
02:38:37  <mbalho>jez0990_: so if you can get scuttlebutt to work over webrtc it can happen
02:39:07  <Raynos>mbalho, jez0990_: https://github.com/Raynos/painter/blob/master/examples/paint/index.js#L47
02:39:41  <Raynos>that's not real webrtc though. That's emulated webrtc
02:40:02  <mbalho>yea i want real webrtc
02:41:02  * ryanclosnerquit (Ping timeout: 244 seconds)
02:41:09  * xyxnechanged nick to Nexxy
02:42:18  <Raynos>mbalho: real webrtc is nightly builds of firefox / chrome and it's UDP and there's no firefox - chrome interop
02:42:45  <Raynos>The nice thing about the emulate webrtc is that it has the same API
02:42:59  <Raynos>once chrome beta channel has data channels ill make it work
02:43:42  <mbalho>ah
02:44:56  <Raynos>https://github.com/Raynos/peer-connection-shim <- that's a RTCPeerConnection object which uses relays
02:51:22  <guybrush_>substack, is glog broken currently? i get an error when i push on glog/index.js:53 TypeError: Object blog.git has no method 'once'
02:51:33  <guybrush_>though didnt read any code yet or looked deeper
02:51:43  <substack>it's running browserify.org
02:55:45  * xerverjoined
02:58:11  * rolnaabaquit (Ping timeout: 248 seconds)
02:58:12  * xerverchanged nick to rolnaaba
03:05:31  <substack>guybrush_: maybe the pushover version is out of sync?
03:06:12  <guybrush_>0.1.6
03:07:36  <guybrush_>oh i think npm i pushover@latest fixed it
03:10:26  <chrisdickinson>jez0990_: it's statically generated, and i haven't paid any attention to it :)
03:12:11  * tilgovijoined
03:14:40  <substack>jjjjohnnny: rec -t s16 -
03:14:41  * tphummelquit (Quit: tphummel)
03:16:18  <guybrush_>ah sweeeet yes glog is cool
03:16:52  <guybrush_>pretty much best blogging-thing ever
03:17:16  * st_lukequit (Remote host closed the connection)
03:17:57  <guybrush_>though i think this has to be upgraded https://github.com/substack/glog/blob/master/package.json#L10
03:20:05  <substack>it should install the latest pushover on a fresh install
03:23:21  <chrisdickinson>mbalho: you around?
03:23:41  * st_lukejoined
03:28:45  <chrisdickinson>mbalho: http://neversaw.us/voxel/ so, be careful around seams (wherever voxel chunks are joined), they're still wonky
03:28:50  <chrisdickinson>jump physics are a bit jerky
03:29:00  <chrisdickinson>but the voxel collisions seem pretty solid otherwise
03:29:39  <chrisdickinson>welp maybe not lol.
03:30:05  <chrisdickinson>still a few bugs :D
03:33:18  * LOUDBOTquit (Remote host closed the connection)
03:33:32  * LOUDBOTjoined
03:36:14  <substack>chrisdickinson: a bit fast
03:36:26  <chrisdickinson>yeah
03:36:34  <substack>chrisdickinson: whoa is that your collision detection?
03:36:38  * chrisdickinsonnods
03:36:45  <chrisdickinson>it's definitely buggy
03:36:48  * ryanclosnerjoined
03:36:48  <substack>that is so good
03:37:08  * LOUDBOTquit (Read error: Connection reset by peer)
03:37:14  <substack>soooo much better than my crappy thing
03:37:22  <chrisdickinson>it's basically https://github.com/chrisdickinson/collide-2d-tilemap in 3d
03:37:39  <substack>sweet
03:37:45  <chrisdickinson>also thanks!
03:37:57  <chrisdickinson>there are definitely some cases that are… very very broken
03:38:05  <chrisdickinson>seams, and some weirdness with being in tight spaces
03:38:15  <substack>feels like the field of view is too narrow
03:38:27  <substack>oh and the camera is on the floor
03:38:33  <substack>not at eye-level
03:38:44  <substack>the position should be up at 1.5 block units or so
03:39:04  <substack>for the player camera I mean
03:39:13  <substack>that's the biggest reason why it feels weird I think
03:39:13  <chrisdickinson>ah
03:39:19  * ryanclosnerquit (Client Quit)
03:39:24  <chrisdickinson>lemme check in firefox really quick
03:40:20  <substack>I'm getting teleported a strange distance away when I fall in a hole
03:40:22  <chrisdickinson>yeah
03:40:26  <chrisdickinson>that's the biggest issue
03:40:33  <chrisdickinson>well, aside from seams
03:41:01  <defunctzombie>substack: your resolve module, the basedir that I give it, what is that meant to be? do I need to have node_modules folder at that location?
03:41:04  <defunctzombie>or up from that location?
03:41:09  <chrisdickinson>i'll push up the changes to a fork and publish the modules
03:41:18  <chrisdickinson>(collide-3d-tilemap and aabb-3d)
03:41:29  <substack>defunctzombie: the basedir is just the directory from which you want the path resolution algorithm to start
03:41:37  <substack>because require.resolve() is always in the __dirname
03:41:43  <defunctzombie>gotcha, and it will go up from there right?
03:41:47  <substack>so you can't pass a dirname as an argument
03:41:51  <substack>defunctzombie: exactly
03:41:55  <defunctzombie>k, thx
03:42:18  <defunctzombie>cause I am trying to resolve something based on that notion
03:42:22  <defunctzombie>but it can't seem to find it
03:42:33  <defunctzombie>oh
03:42:37  <defunctzombie>fucking relative paths
03:49:12  <mbalho>im about to give a talk on voxeljs then ill look at collisions
03:50:15  <substack>mbalho: I started a portal gun repo and once I get this tap-parser thing working I'll hack on it a little more
03:52:34  <chrisdickinson>substack: how are you implementing physics on your end?
03:54:22  * jibayquit (Remote host closed the connection)
03:55:03  * LOUDBOTjoined
03:57:30  <defunctzombie>Raynos: https://github.com/shtylman/npm-css/blob/master/index.js
03:57:49  <defunctzombie>yes, I know I changed quite a bit of stuff, but I made tests actually start working :)
03:57:51  <substack>chrisdickinson: seeing if points along a rectangular prism are inside the geometry
03:57:59  <defunctzombie>and figured this could be some sort of starting point
03:58:08  * chrisdickinsonnods
03:58:42  <substack>chrisdickinson: you should be able to just pos.y -= self.cubeSize * 1.5 to boost the player height up enough
03:59:04  <defunctzombie>Raynos: it is all sync currently (too many parts of this are sync right now to be async efficiently)
04:00:39  <Raynos>:p
04:00:45  <Raynos>you changed the code
04:00:48  <Raynos>from a complex chain
04:00:50  <Raynos>to a single function
04:01:10  <mbalho>substack: hellllll yeaaaaa portals!!
04:01:38  <fotoverite>awesome dominictarr
04:04:26  * fotoveritequit (Read error: Connection reset by peer)
04:04:36  <chrisdickinson>https://github.com/chrisdickinson/aabb-3d
04:04:39  * fotoveritejoined
04:08:11  <defunctzombie>Raynos: yes
04:08:20  <defunctzombie>you are correct in that I made the code simpler :p
04:08:31  <chrisdickinson>substack: http://npm.im/aabb-3d and https://npmjs.org/package/collide-3d-tilemap
04:08:41  <defunctzombie>and actually work
04:08:42  <defunctzombie>:D
04:08:49  <substack>hooray!
04:09:36  <substack>chrisdickinson: planning on ripping out the collision detection in voxel-engine?
04:09:43  <chrisdickinson>ideally
04:11:11  <chrisdickinson>at least for colliding with the voxel map itself!
04:11:25  <chrisdickinson>object-object collisions could be handled by more traditional aabb-aabb collisions
04:13:29  * xerverjoined
04:17:14  * rolnaabaquit (Ping timeout: 272 seconds)
04:17:14  * xerverchanged nick to rolnaaba
04:19:03  <defunctzombie>Raynos: let me know what you think of the changes and such, ideally I am good with that package name and like the approach
04:28:01  * tilgoviquit (Ping timeout: 240 seconds)
05:19:46  <substack>Raynos, defunctzombie: tape@0.2.0 now has an `at` field https://gist.github.com/4562523#file-gistfile1-txt-L15
05:20:46  <defunctzombie>substack: is that where the assert was called from that failed?
05:21:03  <substack>yes
05:21:39  <defunctzombie>substack: does it also capture in the browser? or is this node side?
05:22:19  <substack>it should work in chrome and maybe ff
05:22:35  <substack>it just parses the err.stack from a new Error
05:22:43  <defunctzombie>ah
05:22:43  <substack>for the first file not in __dirname
05:23:06  <substack>it'll just skip setting this in browsers that don't have err.stack
05:23:26  <guybrush_>substack: so with glog every article is a tag with 1 file? or can i push multiple files and `glog publiish file` is just the entry-file?
05:24:03  <substack>guybrush_: glog publish just creates tags
05:24:05  <guybrush_>im pretty sleepy and lazy so i just ask instead of reading the code :P
05:24:14  <substack>it doesn't push
05:24:22  <guybrush_>ahhh i see
05:24:36  * mikealquit (Quit: Leaving.)
05:24:37  <guybrush_>so i just push everything, like folders pictures and stuff
05:25:09  <guybrush_>and than i glog publish which creates tags
05:25:18  <substack>sure
05:25:22  <guybrush_>niiice
05:25:30  <defunctzombie>substack: still not sure I buy into the whole always output tap stuff :/ kinda think the runner should just do whatever it wants and output tap if it wants
05:25:37  <defunctzombie>I thought about the notion of plan and such
05:25:44  <guybrush_>git-database for blogs is just awesome
05:25:47  <substack>guybrush_: I'm not sure if ecstatic serves the static content from the git repo yet though for pictures
05:25:56  <substack>you might need to hack that in and send me a pull request
05:26:02  <guybrush_>well i can hack arround that anyway
05:26:04  <defunctzombie>but not sure it is really that important :/
05:26:12  <guybrush_>sure
05:26:37  <substack>defunctzombie: sure but then TAP gets neglected
05:26:40  <defunctzombie>you can just have any assertion whatever throw in a test (and since tests are run in series) you know waht test just failed
05:26:45  <substack>and then tooling because crappier
05:26:49  <substack>that's what happened in mocha
05:27:01  <substack>I would rather just have only TAP so it gets first-class treatment
05:27:13  <substack>s/because/becomes/
05:27:28  <substack>defunctzombie: throwing is really bad for browser tests
05:27:38  <defunctzombie>is it? you can just do onerror right?
05:27:39  <substack>don't throw please
05:27:46  <substack>defunctzombie: that is pretty unreliable
05:28:00  <defunctzombie>ah, ok, fair enough. I was under the impression it was reliable
05:28:04  <substack>throwing too often breaks the transport layer to get the data out of browsers
05:28:18  <defunctzombie>transport layer?
05:28:18  <guybrush_>woah that sucks
05:28:26  <substack>so the browsers just go completely dark
05:28:29  <guybrush_>just shim assert right?
05:28:41  <substack>because throwing stops the javascript execution context
05:28:41  <defunctzombie>that is unfortunate indeed :(
05:28:49  <substack>you can do it in node because you get an exit code
05:28:54  <substack>but there is no such thing in browsers
05:29:13  <substack>just don't assert things and you'll be a lot better off
05:29:14  <defunctzombie>and no domains either to try and handle that issue :(
05:29:18  <substack>yes
05:30:14  <substack>another problem with not treating TAP as first-class is that your tests won't map to TAP output 1:1
05:30:18  <defunctzombie>so do some browsers just not continue script execution after anything throws?
05:30:39  <defunctzombie>that is ghetto, but understandable from their standpoint I guess
05:30:48  <defunctzombie>they just want to stop the script
05:30:49  <substack>so your tooling that consumes tap won't necessarily pick up on all the things that tap is designed to prevent
05:30:55  <substack>certain classes of false positives
05:31:10  <substack>defunctzombie: pretty much that's the case
05:31:17  <substack>it's really unpredictable what will happen
05:31:21  <substack>even if you have an onerror handler
05:31:32  <substack>it's really context-dependent on what the code exactly does
05:32:36  <defunctzombie>gotcha
05:33:06  <substack>cool, disabling css acceleration seems to have fixed some of my browsing woes ever since changing some chrome flags to get webgl working
05:34:32  * perlbotquit (Quit: ZNC - http://znc.sourceforge.net)
05:36:14  * perlbotjoined
05:36:48  * simcop2387quit (Ping timeout: 276 seconds)
05:39:44  <defunctzombie>substack: does tape do test timeouts or global var leak detection?
05:40:14  * simcop2387joined
05:45:52  <substack>defunctzombie: no
05:46:20  <substack>out of scope I think
05:47:40  <defunctzombie>hard to say, I can see both sides of it
05:47:50  <defunctzombie>ideally static analysis can catch the common leaks
05:48:08  <defunctzombie>but that might not be true in some instances
05:48:42  <defunctzombie>timeouts I can also see both ways since the runner is in a good position to provide a nice interface for that
05:50:25  <defunctzombie>for me, testing is about ensuring my program is behaving properly
05:50:28  <substack>use a different tool for those
05:50:54  <defunctzombie>generally that means not leaky and runs within certain time constraints as side effects
05:50:58  <substack>a runner program like `tap` should care about timeouts
05:51:15  <substack>and another tool entirely should concern itself with detecting global leaks
05:51:33  <defunctzombie>tape does not act as a runner? just the harness?
05:51:42  <defunctzombie>it doesn't come with a tool for doing any sort of running?
05:51:54  <substack>tape only outputs TAP data to console.log()
05:51:56  <substack>that is its job
05:52:43  <substack>it does some rudimentary other kinds of things but I would like to limit the scope of those activities
05:53:57  <defunctzombie>how does that interface with tap then?
05:54:04  <defunctzombie>if tape is defining the test function
05:54:12  <defunctzombie>it is controlling how the test are run I presume
05:55:50  <substack>they interface via process.stdout
05:56:11  <substack>if you use `tap` to run your tests
05:57:06  <defunctzombie>so tap will just exit for long running tests and test timeout conditions (or a tool like tap) ?
05:57:24  <defunctzombie>if tape is doing the output, would I ever see test timings even
06:03:15  <substack>see test timings?
06:03:44  <substack>even if the runner did nothing you would see that your test suite hung at a certain point in its output
06:03:57  <substack>I would think that should be sufficient for most cases
06:06:05  * mikealjoined
06:11:16  <defunctzombie>yea, that is true, could still be nice to have test runtime info in tap output for tracking
06:11:41  <defunctzombie>some fancy places track runtime of tests
06:13:35  <defunctzombie>substack: any particular reason you don't provide the full stacktrace and just provide 'at' ?
06:14:25  * mikealquit (Ping timeout: 248 seconds)
06:15:12  * mikealjoined
06:19:28  <substack>the whole stack trace has test harness internals in it
06:19:34  * tilgovijoined
06:19:41  * tilgoviquit (Remote host closed the connection)
06:36:43  * thatguydan_joined
06:40:01  * thatguydanquit (Ping timeout: 248 seconds)
06:41:11  * thatguydan_quit (Ping timeout: 255 seconds)
06:54:20  <st_luke>testing leveldb with gigantic disjoint-sets to see how fast it is
07:00:58  * defunctzombiechanged nick to defunctzombie_zz
07:29:51  * AvianFlujoined
07:29:57  * thatguydanjoined
07:48:00  * dominictarrjoined
08:04:07  * mirkokjoined
08:04:32  * dominictarrquit (Quit: dominictarr)
08:05:26  * mikolalysenkoquit (Ping timeout: 255 seconds)
08:10:39  * dominictarrjoined
08:24:17  * dominictarrquit (Quit: dominictarr)
08:30:43  * thatguydanquit (Quit: thatguydan)
08:31:30  * mikolalysenkojoined
08:40:59  * mikolalysenkoquit (Ping timeout: 255 seconds)
08:45:21  * jaekwon1joined
08:53:06  * No9quit (Ping timeout: 276 seconds)
08:53:48  * No9joined
08:53:53  * dominictarrjoined
08:58:36  <jesusabdullah>leveldb sounds fun
09:07:18  * mikolalysenkojoined
09:17:38  * dominictarr_joined
09:18:04  * mikolalysenkoquit (Ping timeout: 272 seconds)
09:20:45  * dominictarrquit (Ping timeout: 276 seconds)
09:20:56  * dominictarr_changed nick to dominictarr
09:24:52  <mirkok>dominictarr: if you are interested in the results of my canonical JSON.stringify solutions
09:24:54  <mirkok>https://github.com/mirkok/canonical-json
09:25:05  <dominictarr>cool
09:27:10  <mirkok>oh and interestingly native JSON.stringify is only twice as fast as crockford's implementation in pure js
09:27:25  <mirkok>so V8 is really damn fast
09:36:55  * dominictarrquit (Ping timeout: 256 seconds)
09:43:53  * mikolalysenkojoined
09:52:01  * st_lukequit (Remote host closed the connection)
09:54:29  * mikolalysenkoquit (Ping timeout: 256 seconds)
10:06:23  * mirkokquit (Quit: mirkok)
10:07:15  * mirkokjoined
10:15:00  * devaholicquit (Ping timeout: 240 seconds)
10:20:52  * mikolalysenkojoined
10:31:14  * mikolalysenkoquit (Ping timeout: 255 seconds)
10:49:34  * dominictarrjoined
10:57:52  * mikolalysenkojoined
11:02:22  * cianomaidin_joined
11:08:35  * mikolalysenkoquit (Ping timeout: 255 seconds)
11:11:41  * jibayjoined
11:34:47  * mikolalysenkojoined
11:44:32  * ins0mniajoined
11:45:00  * mikolalysenkoquit (Ping timeout: 240 seconds)
11:54:52  * thatguydanjoined
12:11:51  * mikolalysenkojoined
12:15:23  * cianomaidin_quit (Quit: cianomaidin_)
12:20:33  <jesusabdullah>interesting for sure
12:22:00  * mikolalysenkoquit (Ping timeout: 240 seconds)
12:22:44  * No9quit (Ping timeout: 248 seconds)
12:25:14  * No9joined
12:36:31  <dominictarr>jesusabdullah: hey whats up?
12:36:36  <dominictarr>hows india?
12:48:46  * mikolalysenkojoined
12:52:11  <substack>powered through some testling-ci bugs, now time for voxel-engine fun
12:53:54  <substack>chrisdickinson: oh sweet, a testling-ci badge for aabb-3d!
12:56:30  <substack>dominictarr: plane tickets are all set!
12:56:39  <dominictarr>sweet!
12:56:40  <substack>looks like I need to buy some $20 e-visa thing though
12:57:04  <jesusabdullah>dominictarr: not bad!
12:57:35  <dominictarr>cool, tell marak I say hi
13:00:04  * mikolalysenkoquit (Ping timeout: 248 seconds)
13:00:12  <dominictarr>jesusabdullah are you gonna merge this https://github.com/jesusabdullah/node-ecstatic/pull/58
13:00:25  <dominictarr>hij1nx: ping?
13:06:35  * ralphtheninjaquit (Ping timeout: 256 seconds)
13:06:41  <jesusabdullah>dominictarr: uhh
13:06:46  <jesusabdullah>dominictarr: lemme take a look here
13:07:03  <jesusabdullah>dominictarr: I must've missed this with the crazy internet outages here
13:07:18  <dominictarr>just adds a command so you can start a static server without writing any code
13:07:25  <jesusabdullah>dominictarr: I approve of the concept, I was considering writing such a thing myself (probably copy-paste from nodejitsu's http server)
13:07:30  <dominictarr>and you can npm install -g
13:09:28  <dominictarr>oh fuck, have you guys seen the new mega upload?
13:09:51  <dominictarr>I've been hearing a bit about it, but I just discovered what it actually is...
13:10:04  <jesusabdullah>i have not
13:10:06  <dominictarr>ENCRYPTED FILE SHARING
13:10:06  <LOUDBOT>I'M SO ANGRY I OVERFLOWED MY HATE BITS AND I'M HAPPY AGAIN
13:10:23  <dominictarr>http://mega.co.nz/#/mega
13:10:23  <jesusabdullah>I'm checking out the ole' http-server to make sure there isn't any killer feature you forgot or something XD
13:10:59  <jesusabdullah>I approve of the relative simplicity of your PR dominic
13:11:17  <dominictarr>it encrypts it in the browser, and they never even know what you have uploaded
13:11:22  <dominictarr>jesusabdullah: thanks
13:12:25  <jesusabdullah>I didn't know ecstatic still supported the (dir, opts) api XD
13:12:31  <jesusabdullah>did I backwards compat that? I honestly don't remember
13:12:49  <jesusabdullah>oh hell yeah I did lol
13:12:52  <jesusabdullah>nice
13:14:16  <dominictarr>all the features and options fallthrough via optimist, the only thing I added was the convienience option for dir, as first arg, or current dir
13:15:45  <jesusabdullah>Yeah
13:15:57  <jesusabdullah>I'm hoping I chose sane defaults for ecstatic's options
13:16:00  <jesusabdullah>I'm sure I did ;)
13:16:17  <jesusabdullah>Am I the only one that promptly forgets his own api's?
13:16:19  <jesusabdullah>or hers
13:16:21  <jesusabdullah>I suppose
13:17:24  <dominictarr>who cares they are already documented
13:17:31  * thatguydanquit (Quit: thatguydan)
13:17:59  <dominictarr>jesusabdullah: I forget what features I've implemented all the time!
13:18:33  <jesusabdullah>that's half of why I document it tbh
13:18:49  <dominictarr>AGREE
13:19:35  <substack>I would have to be one of those savants to remember all my apis
13:19:38  <jesusabdullah>dominictarr: published
13:19:39  <substack>so many
13:19:45  <dominictarr>sweet!
13:19:51  <substack>dominictarr has nearly as many modules as I do so it's probably similar
13:19:56  <jesusabdullah>Yeah, if it's urgent you have to flag me down lol
13:20:15  <jesusabdullah>I guess ecstatic surprises me just because it's one of my more polished modules
13:20:30  <jesusabdullah>you'd think having spent that much time with it I'd remember a thing or two
13:20:30  <substack>jesusabdullah: I use ecstatic so much
13:20:33  <substack>pretty much all the time
13:20:43  <jesusabdullah>Hah!
13:20:45  <dominictarr>I want a fast way to npm depreciate all the modules I'm I know I'm never gonna use/touch again
13:20:46  <substack>I don't even know what the api is aside from ecstatic(dir)
13:20:53  <substack>since that's the only api endpoint I ever use
13:21:02  <jesusabdullah>It *is* like the only reasonably okay static middleware module that isn't bundled with a bunch of other stuff
13:21:37  <jesusabdullah>That's funny substack because I'm like 80% sure I "deprecated" that api, as in, it's undocumented
13:21:50  <dominictarr>jesusabdullah: does everyone ride motoscooters in goa?
13:21:59  <jesusabdullah>I was all like, "here I'll make it backwards compat because it's easy and it won't break everything"
13:22:14  <jesusabdullah>dominictarr: scooters, and lots of 150cc-250cc motorcycles
13:22:20  <jesusabdullah>"motorbikes" I guess
13:22:21  <dominictarr>cool
13:22:24  <jesusabdullah>Yeah
13:22:31  <jesusabdullah>I'm rollin' around on a 150cc hondog
13:22:33  <dominictarr>the step-though kind?
13:22:35  <jesusabdullah>a "hero honda"
13:22:42  <jesusabdullah>no, like a "real" motorcycle
13:22:52  <jesusabdullah>there are the step-throughs though, that's what I meant by "scooter"
13:23:05  <dominictarr>there is two levels
13:23:26  <dominictarr>there is like, scooter type, where you can touch your ankels
13:24:18  <dominictarr>then there is another type that doesn't go down all the way, but you can stiff step through
13:24:44  <dominictarr>with enough room for a bag of stuff, or a small child, etc to stand there
13:25:14  <dominictarr>this is the type that seems most popular here in veitnam
13:25:34  <dominictarr>but you have a regular "man style" motorbike?
13:26:08  <jesusabdullah>dominictarr: http://www.tuffcitypowersports.com/assets/uploads/images/scooters/Saga-Quest-Scooter-white.JPG like this but shittier
13:26:24  <jesusabdullah>and yeah it's a "regular man style motorbike" whatever that means XD
13:27:27  <dominictarr>right
13:27:42  <dominictarr>I mean petrol tank is between your thighs
13:29:55  <jesusabdullah>I think I might have put process.logging support in ecstatic??
13:30:56  * mikolalysenkojoined
13:36:23  * mikolalysenkoquit (Ping timeout: 252 seconds)
13:41:38  * rolnaaba_quit (Quit: Page closed)
13:46:55  <jesusabdullah>oh good, that was a different project
13:47:23  <jesusabdullah>I've spent an obnoxious amount of time hooking into the request module's logging mechanism ;)
14:02:47  * mikolalysenkojoined
14:04:29  * fotoveritequit (Quit: fotoverite)
14:08:09  <dominictarr>http://dominictarr.github.com/r-edit/
14:08:10  <pikpik>Goood moooooorning!
14:08:22  * cianomaidin_joined
14:09:42  <dominictarr>cianomaidin_: http://dominictarr.github.com/r-edit/
14:13:08  * mikolalysenkoquit (Ping timeout: 248 seconds)
14:21:08  * AvianFluquit (Remote host closed the connection)
14:39:58  * mikolalysenkojoined
14:42:37  * cianomaidin_quit (Quit: cianomaidin_)
14:49:17  * fotoveritejoined
14:50:26  * mikolalysenkoquit (Ping timeout: 255 seconds)
14:58:54  * paul_irishquit (*.net *.split)
15:00:53  * paul_irishjoined
15:05:56  <dominictarr>todo: create a socket.io2stream module
15:06:22  <dominictarr>to present the socket.io api, with events and callback craph
15:06:30  <dominictarr>but streamable
15:06:43  <dominictarr>to make it easy to port socket.io apps to streams
15:07:47  * cianomaidin_joined
15:16:59  * mikolalysenkojoined
15:21:02  <dominictarr>in particular, I want this for tty.js
15:27:57  * mikolalysenkoquit (Ping timeout: 272 seconds)
15:28:02  * cianomaidin_quit (Ping timeout: 252 seconds)
15:32:55  <jesusabdullah>in a sense the opposite of your stream interface for socket.io
15:32:57  <jesusabdullah>or the counterpart
15:32:58  <jesusabdullah>yeah?
15:36:02  * cianomaidin___joined
15:37:25  <pkrumins>yo
15:37:41  <dominictarr>so like you would go io.connect()
15:38:00  <dominictarr>and then sock.pipe(io.createStream()).pipe(sock)
15:38:20  <dominictarr>so it's socket.io without the socket.io
15:38:40  <dominictarr>so it works over any stream
15:38:59  <dominictarr>hmm, this is a great troll module, I think I'll do this tomorrow!
15:39:54  * cianomaidin_joined
15:41:43  * dguttmanjoined
15:42:13  * cianomaidin_quit (Remote host closed the connection)
15:43:16  * cianomaidin___quit (Ping timeout: 244 seconds)
15:49:12  * defunctzombie_zzchanged nick to defunctzombie
15:51:50  * dominictarrquit (Quit: dominictarr)
15:54:05  * mikolalysenkojoined
15:55:09  <jesusabdullah>a'ight I'm peacin' out for the night I think
15:55:13  <jesusabdullah>gnight erryone
15:55:16  <jesusabdullah>or good day as it may be
15:57:07  * ralphtheninjajoined
16:04:31  * mikolalysenkoquit (Ping timeout: 252 seconds)
16:04:45  <defunctzombie>substack: with tap-parser are you capturing the test name information?
16:06:19  <substack>yes
16:08:05  * ins0mniaquit (Ping timeout: 260 seconds)
16:10:29  * dominictarrjoined
16:11:00  * ins0mniajoined
16:13:26  * dominictarrquit (Client Quit)
16:15:24  <defunctzombie>substack: didn't see that in the sample js output in the readme, (thus I wondered)
16:16:05  <defunctzombie>also, damn you are up early
16:17:12  * fotoveritequit (Quit: fotoverite)
16:17:25  * mikolalysenkojoined
16:19:03  * Madarsquit (Quit: reboot)
16:28:16  <defunctzombie>substack: seen this? https://github.com/eriwen/javascript-stacktrace
16:29:27  * mikealquit (Quit: Leaving.)
16:46:57  * fotoveritejoined
16:48:09  * cianomaidinjoined
16:49:37  * exit2joined
16:50:21  <defunctzombie>isaacs: found another issue with npm (me thinks)
16:50:35  <isaacs>defunctzombie: oh?
16:51:04  <defunctzombie>when using the shortform github style urls in dependencies, npm seems to check the registry and fails if it cannot find the module
16:51:19  <defunctzombie>and doesn't continue and try the install from github
16:51:34  <defunctzombie>if I use the longform url style it works no problem
16:52:10  <defunctzombie>this is a problem since my module doesn't exist in the registry yet but I still want to install from github (ideally with shortform url)
16:54:15  <isaacs>defunctzombie: seems ot work fine on 1.2.2
16:54:20  <isaacs>what version of npm are you using?
16:54:24  <defunctzombie>let me check
16:54:35  <defunctzombie>1.1.70
16:54:42  <defunctzombie>with node 0.8.16
16:54:56  <defunctzombie>let me bump to node 0.8.17 and see if it still fails
16:55:32  <isaacs>defunctzombie: npm i -g npm
16:56:13  <defunctzombie>yea, but if it doesn't work with a shipped node version I am less inclined to use it :)
16:56:31  <defunctzombie>and will just use the longer form
17:04:23  * fotoveritequit (Quit: fotoverite)
17:04:24  <isaacs>defunctzombie: it'll work with 0.8.18
17:04:31  <defunctzombie>k
17:04:42  <isaacs>defunctzombie: npm updates are not quite 100% in sync with node updates.
17:04:45  <isaacs>they're a bit more frequent
17:05:03  <defunctzombie>yea, however most people will just use the bundled npm
17:05:13  <defunctzombie>unless they *must* have some feature
17:06:21  <tanepiper>ZOMG http://www.amazon.co.uk/Ready-Player-One-Ernest-Cline/dp/0099560437
17:06:39  <tanepiper>Like most of humanity, Wade Watts escapes this depressing reality by spending his waking hours jacked into the OASIS, a sprawling virtual utopia where you can be anything you want to be, where you can live and play and fall in love on any of ten thousand planets. And like most of humanity, Wade is obsessed by the ultimate lottery ticket that lies concealed within this alternate reality: OASIS founder *James Hallid
17:06:39  <tanepiper>ay*, who dies with no heir, has promised that control of the OASIS - and his massive fortune - will go to the person who can solve the riddles he has left scattered throughout his creation.
17:07:13  <tanepiper>AND SO IT WAS FORETOLD
17:07:13  <LOUDBOT>AT THE END OF IT ALL, YOU'RE STILL MY BEST FRIEND
17:12:06  <isaacs>tanepiper: substack WWOOOOAAWWWW
17:12:41  <tanepiper>isaacs: apparently another character in the book.....
17:12:44  <tanepiper>Ogden Morrow
17:12:49  <isaacs>nice!
17:12:49  <tanepiper>*MIND BLOWN*
17:12:49  <LOUDBOT>JESUS CHRIST IF THIS QA GUY WAS AT GOOD AT COMING UP WITH TESTS AS HE IS AT SUGGESTING BUG FIXES, WE'D NEVER SHIP A BUG
17:13:01  <isaacs>OMG IS OASIS A VOXEL UNIVERSE!?!!?
17:13:02  <LOUDBOT>HELLO I WILL DANCE FOR MONEY$$$$$$
17:13:37  <isaacs>if so, i'm so gonna rock that shit because it'll be in JavaScript and i'm a JavaScripter
17:17:34  <ralphtheninja>isaacs: +1 for npm i -g npm, perfect dogfooding :)
17:17:39  * shamajoined
17:18:16  * intabulasjoined
17:19:51  * mikealjoined
17:29:10  <tanepiper>Yo Dawg....
17:34:11  * mirkokquit (Quit: mirkok)
17:40:01  * defunctzombiechanged nick to defunctzombie_zz
17:41:53  * cianomaidinquit (Quit: cianomaidin)
17:42:03  <rclosner>mbalho: ping
17:44:58  <rclosner>mbalho: seems like it would make sense to move block creation/deletion logic into game.js. were you planning on allowing other actions on 'mousedown'?
17:47:34  <rclosner>mbalho: block create/delete seems universal enough to make it a default (as opposed to having to specify it in each game file).
17:51:08  <rclosner>mbalho: also, the example in the README won't render by itself. there's an error in Game#showChunk. chunk.position is undefined?
17:51:58  <rclosner>mbalho: (the voxel-engine README)...
17:55:19  * AvianFlujoined
17:55:44  * mirkokjoined
18:02:48  * Madarsjoined
18:07:16  <isaacs>ralphtheninja: npm's first mission in life has always been to install npm
18:07:16  <rclosner>mbalho: also, would it make sense to extract voxel textures into its own module? it would be nice if textures came pre-packaged with the engine.
18:11:32  * tphummeljoined
18:14:09  * AvianFluquit (Remote host closed the connection)
18:15:08  * mikealquit (Quit: Leaving.)
18:15:37  * mikealjoined
18:18:50  <mbalho>rclosner: yea weve talked about texture modules
18:20:15  <mbalho>rclosner: not a bad suggestion about the events stuff, i think some defaults would be nice but its important to keep everything able to be overwritten
18:23:06  * ins0mniaquit (Ping timeout: 256 seconds)
18:24:31  <rclosner>mbalho: agreed. ease of installation is so-so atm. block create/delete should be a default. pointerLock should be called in the engine. also, i'll take a look at the default generator function in the engine. it doesn't work out the box yet.
18:25:27  <mbalho>rclosner: there isnt a default generator actually
18:25:49  <rclosner>mbalho: i mean game#showChunk.
18:25:53  <mbalho>rclosner: ohh right
18:25:54  <pkrumins>defunctzombie_zz: your range patch landed today in ci testling
18:26:44  <shama>rclosner: I imagine there will be a good deal of games that dont want to break blocks. For instance a fighter drone game... it wouldnt need clicking to break blocks.
18:26:44  * ins0mniajoined
18:27:00  <rclosner>mbalho: what do you think about using a default generator? setting a convention (in this case) seems worthwhile
18:27:24  <mbalho>rclosner: makes sense, a little 1 liner for the sphere world would make sense
18:28:01  <rclosner>shama: that's fair. i wouldn't be surprised if the predominant number of games are going to use block create/delete (given that it's a minecraft derivative). so long as it's overwritable, i don't see a problem with setting it as a default.
18:28:08  <mbalho>https://github.com/maxogden/voxel/blob/master/index.js#L37
18:28:43  <mbalho>rclosner: i also wanna make games where clicking edits multiple blocks based on scripting what happens
18:28:53  <mbalho>rclosner: but that will just override the default
18:30:12  <rclosner>mbalho: could we pull block creation/deletion into a module? if it's required it will override the 'mousedown' event, if not...
18:30:37  * defunctzombie_zzchanged nick to defunctzombie
18:30:39  <mbalho>rclosner: ooh interesting
18:30:44  <rclosner>mbalho: it's not that much code, but it would create a transparent override methodology.
18:31:05  <mbalho>rclosner: yea im thinking a module for interacting with blocks in general would be useful as a pattern
18:31:06  <defunctzombie>pkrumins: \o/ fuck yea
18:31:24  <defunctzombie>now for https badges and I will be all set for awesome :)
18:32:12  <rclosner>mbalho: how are you planning on handling textures?
18:32:38  <mbalho>rclosner: https://github.com/shama/voxel-texture and modules for texture packs that install the pngs
18:33:04  <rclosner>shama: awesome!
18:33:05  <shama>mbalho: just sent a PR for that :) https://github.com/maxogden/voxel-engine/pull/4
18:33:20  <mbalho>woooot
18:34:04  <mbalho>shama: was implementing that difficult?
18:34:08  <mbalho>shama: me and substack were stumped
18:34:18  <rclosner>pointerLock make sense as a default? trying to minimize the amount of code one needs to get off the ground.
18:34:58  <pkrumins>defunctzombie: i'll get https badges right after i launch ie10s for browserling
18:35:08  <defunctzombie>ooooo fancy
18:35:08  <mbalho>rclosner: yea for now its required
18:35:30  <mbalho>rclosner: we could do a mouse drag control for people without pointerlock but im gonna wait until we port all this to mobile to implement that
18:35:31  <shama>mbalho: it wasnt actually... I was pretty skeptical about it. Turns out each face has a Vector3 normal. The normal points in the direction the face is facing. So just a matter of selecting the correct materialIndex based on the normal.
18:35:43  <mbalho>shama: wow nice
18:36:10  <shama>Here is the line: https://github.com/shama/voxel-texture/commit/cd507cee624e2dd273b6608b435b5a32eac59d39#L2R64
18:36:46  <rclosner>mbalho: it would be awesome to get down to something like this: https://gist.github.com/4567043
18:37:07  <mbalho>rclosner: we could default to document.body :)
18:37:09  * mikealquit (Quit: Leaving.)
18:37:13  <mbalho>shama: that is awesome
18:38:37  <shama>still dont know why back and left are rotated though... at the very least I can use canvas to rotate those textures upon loading but I want to find out why they do that.
18:38:59  <mbalho>woot go to 30 seconds in http://www.ustream.tv/recorded/28597081
18:39:06  <mbalho>(voxel.js demo)
18:40:08  <shama>nice! :)
18:41:29  <rclosner>mbalho: word.
18:42:11  <CoverSlide>fuck yeah
18:42:27  <defunctzombie>pkrumins: you guys should hook up with sendgrid to give email notifications on failures
18:42:46  <CoverSlide>\o/
18:45:21  <pkrumins>awesome idea
18:45:41  <rclosner>mbalho: also, API weirdness? game.voxels.chunks (reverse hierarchy).
18:46:45  <defunctzombie>mbalho: have you run node on r-pi yet?
18:47:51  <defunctzombie>pkrumins: https://npmjs.org/package/emailjs I have used that for quite some time now to send text and html emails with great success
18:48:17  <defunctzombie>I have basic html email templates if you guys are interested (found them online at some point) and they seem to do well in most viewers
18:53:15  <pkrumins>cool, i'll add email sending!
18:53:36  <mbalho>defunctzombie: yep
18:54:23  <mbalho>rclosner: yea we put the chunking logic into the voxel module so that all that crap is in one place
18:54:43  <mbalho>rclosner: so game.voxels = require('voxels') and so you have to do game.voxels.chunks
18:54:47  <CoverSlide>oh yeah? how's the frame rate?
18:54:51  <mbalho>rclosner: there is probably a better way to represent that stuff
18:55:01  <mbalho>defunctzombie: i reallyr eally really really wanna get firefox os running on the rpi
18:55:09  <mbalho>defunctzombie: it was done back in august
18:55:14  <mbalho>defunctzombie: then i can run the voxel game on it!
18:57:39  <rclosner>mbalho: ah, duh. i figured out the bug. README example doesn't work because voxel and game.voxel are different. no chunk positions defined in voxel.
18:59:13  <rclosner>mbalho: works if you do something like this: https://gist.github.com/4567281
19:05:57  <defunctzombie>mbalho: nice, I want to run some raw http server nodejs benchmarks on an r-pi
19:06:09  <defunctzombie>mbalho: to see what type of cpu/network perf one can get out of it
19:06:15  <defunctzombie>for serving basic web apps
19:07:24  * mikealjoined
19:11:01  <rclosner>mbalho: thoughts on extracting functions like scale() into a voxel-utils repo?
19:12:00  * yorickjoined
19:12:01  * yorickquit (Changing host)
19:12:01  * yorickjoined
19:16:17  * mikealquit (Ping timeout: 248 seconds)
19:16:20  <ehd>defunctzombie: are you on raspbian?
19:16:59  * mikealjoined
19:17:55  <defunctzombie>ehd: I am on nothing yet, just got the r-pi from a friend, but he said to give raspbian a go
19:18:08  <defunctzombie>I will most likely do that since I run debian normally
19:18:20  <defunctzombie>I need it headless tho so need something with ssh out of the box
19:18:27  <CoverSlide>i suggest checking out arch
19:18:41  <defunctzombie>is that an rpm offshoot?
19:18:50  <CoverSlide>no, it's got its own package manager
19:18:53  <defunctzombie>I won't be switching away from debian systems anytime soon :)
19:18:54  <CoverSlide>so no deb
19:19:07  <CoverSlide>but the arch build system is awesome
19:19:18  <defunctzombie>little gain for too much relearning :/
19:19:40  <defunctzombie>is it like gentoo where I need to build everything? if so, no thanks :D
19:19:43  <CoverSlide>the gain is actually enormous
19:19:48  <CoverSlide>no, it has binary packages
19:20:00  <defunctzombie>debs such to make, but thankfully I don't have to make them anymore
19:20:33  <defunctzombie>I just run debian since that is what I run on my servers
19:20:45  <CoverSlide>but it's fairly easy to build your own if you want an updated version
19:20:51  <defunctzombie>maybe one day I will explore other things but for now it hasn't made it to the top of the list
19:20:57  <CoverSlide>alrighty
19:21:07  * AvianFlujoined
19:21:15  <defunctzombie>I kinda go with a good enough approach at the OS level these days :/
19:21:23  <defunctzombie>and only bring in updates of things I really need or want
19:22:31  * defunctzombiechanged nick to defunctzombie_zz
19:23:37  * mirkokquit (Quit: mirkok)
19:23:57  <CoverSlide>well if you have time, i recommend reading up on arch. it's different from deb, but i made the switch and am never looking back.
19:25:27  * exit2changed nick to niix
19:27:10  <Raynos>defunctzombie: make a PR and it should support the entire lookup algorithm
19:27:11  <CoverSlide>there is an issue with stability, which once in a blue moon there is a breaking change, which they will usually announce on the homepage, so for servers, it's definitely not a great choice, but for my laptop and toy boxes it's awesome
19:27:20  * No9quit (Ping timeout: 272 seconds)
19:27:22  <mbalho>rclosner: what else would be in a voxel-utils module
19:27:47  * No9joined
19:28:14  <mbalho>rclosner: we could also add stuff to the voxel module for now and spin out another module later if it makes sense
19:30:00  <rclosner>mbalho: sounds good to me. since you were talking about extracting lat/lng conversion logic into a separate module, i was thinking utils might be a good place for that.
19:30:36  <jaekwon1>lat/lng… could be its own module for geo logic, including maybe geo-quading in the future
19:32:50  * sorensen_joined
19:33:02  * sorensen_quit (Client Quit)
19:35:50  <rclosner>jaekwon1: geoquading? is that like creating a bounding box from a point of origin?
19:36:46  <jaekwon1>rclosner: it's tiling up the lat/lng of earth for simple indexing
19:37:38  <jaekwon1>then when you store some object or place, you can index both the lat/lng of the place as well as the geoquad identifier
19:38:21  <rclosner>jaekwon1: got it. thanks.
19:41:30  <mbalho>heres a module from 3 years ago that i made to do stuff with geojson https://github.com/maxogden/geojson-js-utils
19:43:56  <mbalho>rclosner: something like o/ would be useful i suppose
19:51:31  <Raynos>defunctzombie: https://github.com/Raynos/tools/issues/1
20:12:01  <mbalho>just did a venturebeat interview about voxel.js woowoo they said they wanted to feature the project
20:12:21  <CoverSlide>awersome
20:18:18  <jaekwon1>mbalho: what is checkBlock? why does it p.x -= 1.1 * d.x ?
20:18:48  <mbalho>jaekwon1: substack wrote that but it checks if you can place a block
20:19:31  <mbalho>jaekwon1: i think it looks adjacent to the block that you clicked on to see if you can place a block there and says no if the player is in the way etc
20:19:54  <jaekwon1>oh ok
20:23:09  * fotoveritejoined
20:26:25  <mbalho>copy paste this bad boy into a voxel demo https://gist.github.com/4499643
20:28:03  <mbalho>chrisdickinson: whoa your collision demo is awesome
20:28:10  <chrisdickinson>thanks!
20:28:22  <chrisdickinson>i'm gonna spend some more time on it this weekend and iron out the rest of the kinks
20:29:09  <mbalho>chrisdickinson: thats awesome. looking forward to the pull req
20:29:24  <mbalho>chrisdickinson: also gravity in your demo so funny ahahaha
20:29:44  <chrisdickinson>yeah, it's weird! jumps are instantaneous, but gravity isn't
20:29:57  <chrisdickinson>http://github.com/chrisdickinson/collide-3d-tilemap is the api i'm using to do the collisions
20:30:17  <chrisdickinson>i need to update the readme though, it's kind of a clone of collide-2d-tilemap
20:30:22  <chrisdickinson>https://github.com/chrisdickinson/collide-3d-tilemap/blob/master/index.js for the relevant code
20:32:47  <isaacs>defunctzombie_zz: 0.8.18 coming soon
20:35:19  * defunctzombie_zzchanged nick to defunctzombie
20:35:44  <defunctzombie>isaacs: \o/
20:36:14  <isaacs>compiling on the proprietary operating systems, still
20:36:16  <isaacs>they're the slowest
20:36:42  <isaacs>darwindows
20:38:51  * thatguydanjoined
20:42:09  <defunctzombie>haha
20:42:15  <defunctzombie>darwindows amazing
20:42:38  <defunctzombie>Raynos: am I meant to do something with this repo?
20:44:16  <CoverSlide>Linux++
20:45:25  <CoverSlide>why use something fast and simple like GCC when you can have XCode or VS take up 4G on your disk?
20:45:30  <defunctzombie>Raynos: looking at the issue for npm-css I would say that prefix-css, while interesting, is out of scope since the dev still has to prefix their stuff in their templates. Seems better to just be explicit in the css. Yes, it is a bit repetitive but :/
20:54:55  <defunctzombie>CoverSlide: why use something old and slow like gcc when you can have clang :p
21:00:29  * fotoveritequit (Quit: fotoverite)
21:02:11  <mbalho>WOOT https://twitter.com/voxeljs/status/292376278064037888
21:03:31  * fotoveritejoined
21:03:40  * Madarsquit (Remote host closed the connection)
21:03:47  <guybrush_>mbalho: which device?
21:04:15  <mbalho>guybrush_: galaxy nexus
21:04:27  <guybrush_>sweeeet
21:04:50  <guybrush_>i need to get such phones from somewhere
21:05:05  <mbalho>im gonna test on the nexus 7 as soon as mine charges
21:05:19  <guybrush_>basically i would need one without any contract
21:05:27  <CoverSlide>where you get bleding edge chrome?
21:05:34  <guybrush_>playstore :D
21:05:38  <CoverSlide>i just have beta chrome
21:05:46  <guybrush_>thats all you need
21:05:51  <CoverSlide>oic
21:06:03  <guybrush_>https://twitter.com/alteredq/status/292069924128563200
21:06:19  <jaekwon1>mbalho: player-phsyics is player coordinate centric. it should be world centric.
21:06:25  <CoverSlide>ohh nice
21:06:54  <jaekwon1>mbalho: freedom constraints should be constraints should be constraints on world coordinates
21:06:57  <guybrush_>basically nowadays we live in the future!
21:07:03  * ralphtheninjaquit (Quit: leaving)
21:07:20  * ralphtheninjajoined
21:07:24  <mbalho>jaekwon1: chrisdickinson is working on a new version
21:07:26  <guybrush_>its like everyday more is possible
21:07:42  <jaekwon1>oh cool. is there a demo?
21:07:52  <mbalho>jaekwon1: yea neversaw.us/voxel/
21:08:54  <CoverSlide>jumping is weird
21:08:55  <jaekwon1>jumping doesn't jump, it teleports back in time!
21:09:27  <mbalho>hehe
21:09:29  <mbalho>its a demo
21:09:35  <mbalho>not finished :)
21:09:49  <jaekwon1>ok sweet, it looks good
21:12:46  <defunctzombie>pkrumins: another feature idea, once you know what browsers the test will run under, make pending placeholders on the webpage
21:13:02  <defunctzombie>pkrumins: otherwise it isn't so clear to me if you are gonna run tests or if it is done
21:15:05  <rclosner>chrisdickinson: looks awesome!
21:17:53  <pkrumins>defunctzombie: noted
21:18:48  <defunctzombie>pkrumins: http://ci.testling.com/shtylman/dom <-- using ranges now :)
21:18:52  <defunctzombie>really awesome
21:18:59  <defunctzombie>package.json so much simpler
21:19:09  <defunctzombie>https://github.com/shtylman/dom/commit/8cf7b0e1d53ffe2444f1bdfba4de45ab65080543
21:22:08  <defunctzombie>substack: pkrumins: http://ci.testling.com/shtylman/dom.png seems there is an ordering issue on the badge
21:31:14  <substack>ranges aren't all the way fixed I think
21:31:51  * Madarsjoined
21:32:26  <defunctzombie>probably not, also, my tests seem to have hung :(
21:36:13  <pkrumins>it didnt run any tests past chrome 8
21:37:30  <pkrumins>and didnt attempt to run safari or opera tests
21:38:00  <defunctzombie>sadness
21:38:58  <defunctzombie>was it a failure with ranges or with something else?
21:39:12  <pkrumins>it didnt crash
21:39:17  <pkrumins>it just stopped after chrome 8
21:39:28  <pkrumins>i dont know why it stopped
21:40:00  * dominictarrjoined
21:40:28  <defunctzombie>the firefox range worked all the way, same with ie
21:40:43  <pkrumins>yeah
21:41:36  <pkrumins>can you run the same test again?
21:41:49  <pkrumins>just trigger the hoook
21:42:00  <pkrumins>i awnt to see if it gets past chrome 8
21:43:20  <defunctzombie>k
21:43:49  <pkrumins>seeing the commit
21:44:09  <pkrumins>following it
21:47:26  <Raynos>defunctzombie: prefix-css is about being able to import someone else's css under a namespace
21:47:40  <Raynos>which means you don't have to worry about them polluting your global css namespace because they may be naughty
21:47:59  <Raynos>defunctzombie: also that was my original idea about npm-css so talk about npm css related stuff there or on the repo
21:48:24  <Raynos>isaacs: Am I supposed to rebase the objects stuff yet?
21:48:41  <fotoverite>How goes the jitsu invasion this week mbalho?
21:48:53  <isaacs>Raynos: GO FOR IT! GO FOR THE GOLD!
21:48:59  <defunctzombie>Raynos: gotcha, yea, I could see that aspect
21:49:11  <isaacs>Raynos: it would be good to keep thatpull req focused on object streams, though. the other stuff makes it harder to evaluate.
21:49:24  <isaacs>Raynos: if there are other patches that need to land to make object streams work, then fine.
21:49:36  <isaacs>but if it's just generic stream bugs, it should be separate.
21:50:02  <Raynos>isaacs: i need to land those patches to get the tests to run. Didn't want a PR that didn't pass tests
21:50:13  <isaacs>sure
21:50:13  <defunctzombie>Raynos: maybe if there was a good way to test it and have the css stuff applied automatically during testing (manual) or such then it would be better
21:50:27  <Raynos>anyway
21:50:30  <isaacs>Raynos: also, don't do that silly tap-alike thing. i only did that to be able to more easily copyu over the tests i already had in readable-stream
21:50:40  <isaacs>Raynos: but now i regret it
21:50:41  <Raynos>I will rebase it this weekend
21:50:42  <defunctzombie>Raynos: I would like to explore the idea of required prefixes cause if you do that from the start
21:50:47  <defunctzombie>then no one can make mistakes
21:50:49  <isaacs>Raynos: awesome :)
21:50:49  <defunctzombie>by forgetting
21:50:56  <Raynos>isaacs: I like the tap-alike thing :p
21:51:01  <isaacs>yeah.
21:51:04  <isaacs>but it's overly cute.
21:51:07  <Raynos>i dont know how to async test without t.end()
21:51:09  <isaacs>node tests should just throw or not throw
21:51:21  <isaacs>Raynos: you just do a thing, and then it either throws or it doesn't.
21:51:30  <Raynos>then each test needs a seperate file
21:51:32  <isaacs>Raynos: and you have a process.on('exit',fn) that makes sure the test actually ran
21:51:35  <isaacs>yeah
21:51:40  <isaacs>well, you can do a bunch of tests in one file, still
21:51:41  <isaacs>we do that a lot
21:51:41  <Raynos>I dont know how to do MULTIPLE t.end()'s in one file
21:51:56  <isaacs>look at the other tests in test/simple/
21:52:01  <isaacs>almost all of them do multiple things
21:52:07  <Raynos>well its basically a counter thing
21:52:12  <Raynos>which is what the tap-alike does
21:52:31  <defunctzombie>how does that work when writing browser oriented tests? (whatever you guys are talking about)
21:52:35  <isaacs>foo(function() { fooRan = true }); process.on('exit', function() { assert(fooRan) }); bar(...)
21:52:38  <isaacs>etc.
21:52:42  <Raynos>defunctzombie: it doesn't
21:52:46  <isaacs>defunctzombie: we're not talking about browser-oriented tests at all :)
21:52:51  <defunctzombie>ah :)
21:53:05  <Raynos>defunctzombie: with browsers you need counters and tape
21:53:34  <pkrumins>defunctzombie: it looks like it stopped again at chrome 8.
21:53:46  <defunctzombie>pkrumins: fascinating
21:55:24  <defunctzombie>pkrumins: nope, seems to be going
21:55:31  <pkrumins>ah no it just run chrome 9
21:56:18  <defunctzombie>Raynos: actually, the more I think about it, the more I think auto prefix should be a requirement...
21:56:33  <defunctzombie>Raynos: just have to sell it right
21:57:06  <defunctzombie>pkrumins: maybe it was some one time issue?
21:58:00  <pkrumins>not sure
21:58:44  <Raynos>defunctzombie: you need some kind of namespacing.
21:58:58  <Raynos>defunctzombie: just like javascript exports a single function. CSS should only use a single global name
21:59:04  <defunctzombie>Raynos: yea, I would agree
21:59:06  <Raynos>then you can build a tool to verify no name conflicts
21:59:40  <Raynos>BUT
21:59:41  <defunctzombie>the idea of prefixing by name of module sounds reasonable
21:59:52  <Raynos>you want to be able to do `require "../lib/bootstrap.css" as PREFIX`
22:00:12  <defunctzombie>hm, would you?
22:00:53  <defunctzombie>I think that is a different case than the widget namespace issue
22:01:33  <defunctzombie>as a widget author you should be able to know what namespace will be used
22:01:33  <Raynos>well no
22:01:36  <Raynos>i dont want boostrap
22:01:39  <Raynos>bootstrap is a diaster
22:01:48  <Raynos>defunctzombie: if you use a different namespace for a widget
22:01:53  <defunctzombie>Raynos: yea, then you would not include it right?
22:02:03  <Raynos>then its your responsibility to do `addClass(widget.view, "namespace")`
22:02:16  <Raynos>but I think in the transitional thing
22:02:38  <defunctzombie>meh, I dunno seems like it is started to get more complex and involved
22:02:50  <defunctzombie>you may not be able to just addClass(widget.view) or whatever
22:02:55  <defunctzombie>user shouldn't have to do that :/
22:03:07  <Raynos>the transitional period
22:03:14  <pkrumins>looks like it stopped at chrome 22
22:03:19  <Raynos>I may want to prefix other peoples css
22:03:25  <Raynos>I guess I can just import their css and prefix it myself
22:03:32  <Raynos>meh this problem shouldnt be solved in this tool
22:03:34  <Raynos>just require is fine
22:04:42  <defunctzombie>I don't think general namespacing problems should be solved
22:05:09  <defunctzombie>the only namespace thing I think would be reasonable is the idea that all your stuff must be namespaced
22:05:30  <defunctzombie>and doing it for you with teh module name seems clear and consistent
22:05:36  * thatguydanquit (Quit: thatguydan)
22:06:03  <defunctzombie>in the widget I was playing around with I did it all manually
22:06:20  <defunctzombie>but imagine if someone decides to add "p { }"
22:06:22  <defunctzombie>or something
22:06:41  <defunctzombie>that is really annoying certainly, now we can educate and inform that you shouldn't do these things
22:06:54  <defunctzombie>but maybe auto namespacing is a nicer approach
22:07:47  <defunctzombie>pkrumins: again with no error?
22:07:53  <defunctzombie>pkrumins: chrome 22 worked before btw
22:07:53  <pkrumins>yes
22:08:06  <defunctzombie>so I am pretty sure it isn't an issue with failing tests
22:08:19  <pkrumins>it's not an issue with failing tests, it's something else
22:08:25  <pkrumins>they just stop being run
22:08:31  <defunctzombie>haha
22:08:34  <defunctzombie>maybe they get tired
22:08:36  <pkrumins>i've seen it before
22:08:44  <pkrumins>when lots of browsers are used then it happens
22:08:56  <pkrumins>probably they got tired yes.
22:09:15  <pkrumins>i think we forgot to require('redbull')
22:10:17  * niixquit (Remote host closed the connection)
22:13:22  <defunctzombie>haha
22:13:58  * mirkokjoined
22:16:20  <defunctzombie>Raynos: basically, if you know your stuff will be namespaced by module name then you make templates and such accordingly
22:16:28  <defunctzombie>also, simulated shadow dom a bit better I think
22:16:44  <Raynos>defunctzombie: yes BUT you still need a way to enforce that two modules cant use smae namespace
22:16:48  <Raynos>but that's a seperate tool!
22:16:54  <Raynos>maybe it belongs in npm-css though
22:17:11  <defunctzombie>Raynos: seems less likely to happen.. you would have to install both of them with the same name
22:17:17  <Raynos>oh wait!
22:17:18  <defunctzombie>they don't get a choice in namespace
22:17:21  <Raynos>AUTO NAMESPACE WITH PACKAGE NAMe
22:17:24  <defunctzombie>yes
22:17:26  <Raynos>NPM ENFORCES ZERO CONFLICTS
22:17:26  <LOUDBOT>DAMN IT WHY DO ALL THE HOT WOMEN HAVE TO BE OVER 40?
22:17:27  <Raynos>FUCK YES
22:17:28  <LOUDBOT>GUYS I THINK YOU SHOULD KNOW THAT I HAVE HAD 6 OF SANTA'S REINDEER LOCKED UP IN MY BASEMENT FOR THREE MONTHS NOW SO... YOU KNOW. SHUT IT DOWN.
22:17:28  <defunctzombie>that is what I have been saying :)
22:17:33  <Raynos>GLOBAL NAMESPACE FUCK YES.
22:17:34  <LOUDBOT>JOHNMMMMMMM
22:17:57  <Raynos>defunctzombie: DO IT. LAND IT
22:18:07  <Raynos>isaacs: the fact that npm has a global namespace is best thing ever.
22:18:10  <defunctzombie>hahaha
22:18:35  <defunctzombie>substack: is css-prefix still alive?
22:18:59  <defunctzombie>or is there an alternate lib?
22:19:13  <Raynos>defunctzombie: theres an alternative
22:19:30  <Raynos>defunctzombie: https://github.com/visionmedia/rework#prefixselectorsstring
22:19:36  * mirkokquit (Quit: mirkok)
22:22:03  <defunctzombie>Raynos: any reason to use that over just css-prefix which does that one thing?
22:22:17  <defunctzombie>rework is cool in the general case
22:22:38  <Raynos>css-prefix prefixes EVERYTHING
22:22:40  <Raynos>which is bullshit
22:22:47  <Raynos>you just want to prefix the selectors with another class selector
22:22:58  <Raynos>prefixing all your classes in your template sucks
22:23:08  <defunctzombie>Raynos: you have to prefix everything
22:23:11  <Raynos>all you want to do is add one class to your root
22:23:12  <Raynos>no
22:23:16  <Raynos>you add one class to your root
22:23:21  <defunctzombie>?
22:23:36  <Raynos><div class="my-module">{{ANYTHING}}</div>
22:23:48  <Raynos>and you any css selector for anything in {{ANYTHING}} will work
22:23:53  <Raynos>because of prefixselectorstring
22:23:56  <defunctzombie>and for that to be correct you need to prefix everything
22:24:08  <defunctzombie>otherwise if I define "p { ... }" in my css
22:24:12  <defunctzombie>I will mess up your page
22:24:31  <Raynos>no it wont
22:24:33  <Raynos>because if you prefix it
22:24:40  <Raynos>then its .my-module p { ... }
22:24:54  <defunctzombie>yes.. which means you need to prefix everything
22:24:59  <defunctzombie>with .my-module
22:25:06  <Raynos>yes agreed
22:25:10  <Raynos>thats not what css-prefix does
22:25:15  <Raynos>it prefixes every class and id with a string
22:25:21  <defunctzombie>oh.. yea
22:25:21  <Raynos>and doesn't prefix every selector with a string
22:25:22  <defunctzombie>shit
22:25:23  <defunctzombie>that is wrong
22:25:30  <defunctzombie>I thought it did the other way
22:25:33  <defunctzombie>teh way we needed :)
22:25:42  <Raynos>just steal the prefixSelector out of rework
22:25:44  <Raynos>make it a module
22:25:46  <Raynos>and PR rework
22:25:47  <defunctzombie>haha
22:25:51  <Raynos>and leave some kind of comment to TJ
22:25:56  <Raynos>telling him he is doing it wrong
22:26:23  <defunctzombie>maybe substack is not using css-prefix and wouldn't mind the change I dunno
22:26:26  <defunctzombie>he is probably using it
22:30:28  * ins0mniaquit (Ping timeout: 248 seconds)
22:32:45  <chrisdickinson>rclosner: belatedly, thanks!
22:33:07  <chrisdickinson>jaekwon1: yep, the player-physics being in model space is a pain. rewrite will put it in world space, ideally
22:33:54  <Raynos>dominictarr: https://github.com/dominictarr/crdt/pull/18
22:33:59  * mikealquit (Quit: Leaving.)
22:34:08  <Raynos>defunctzombie: I think the parentClass property might work as we expect
22:34:17  * mikealjoined
22:34:18  * fotoveritequit (Quit: fotoverite)
22:34:40  <defunctzombie>Raynos: of rework? or something else?
22:35:16  <mbalho>chrisdickinson: i think playerphysics shouldnt translate the yawObject
22:35:26  * chrisdickinsonnods
22:35:26  <mbalho>chrisdickinson: that should be done by whatever is using player physics
22:35:49  <chrisdickinson>i haven't actually looked at how the yawObject is used in rendering
22:36:11  <mbalho>chrisdickinson: i implemented super simple collisions that arent as good as yours but they are very straightforward https://github.com/maxogden/voxel-engine/commit/72fed96c23167d8a0ab0b2318c4015d67336b20e
22:36:12  <Raynos>defunctzombie: https://github.com/substack/css-prefix#insertprefixopts-src parentClass
22:36:31  <mbalho>chrisdickinson: its just an experiment, im not gonna use it but it made me realize that the physics module should only set velocity
22:36:38  <mbalho>chrisdickinson: and whatever consumes the physics module should set position
22:37:04  <chrisdickinson>mbalho: if player physics can A) present a vector in world space and B) accept a world space vector and transform it back to model space, that would be ideal
22:37:27  <chrisdickinson>or yeah, manually setting position. that's what my demo does.
22:37:37  <chrisdickinson>(it actually zeroes out velocity and sets position manually)
22:37:52  <defunctzombie>Raynos: yep seems like it will
22:37:55  <defunctzombie>I will have to try it out
22:38:02  <defunctzombie>I think we are getting closer :)
22:38:18  <Raynos>FFFFFFFFFFFFFFFFFFFFf
22:38:36  <mbalho>chrisdickinson: if you clone the collisions branch and then comment out the last 3 lines of index.js in player physics (this.yawObject.translateX( this.velocity.x ) etc) then it should work
22:38:46  <mbalho>chrisdickinson: after npm installing
22:41:56  <Raynos>I installed a broken version of npm
22:42:01  <Raynos>I cant do npm i npm@1.1 :(
22:42:09  <Raynos>I have to like download shell scripts
22:43:47  <defunctzombie>haha
22:43:56  <defunctzombie>that is what you get for trying to mess with npm
22:48:14  <chrisdickinson>mbalho: these are the modifications to voxel-engine for my demo: https://gist.github.com/da55ec060160d0bf82b5
22:48:58  <defunctzombie>pkrumins: let me know if you want me to trigger tests at any point
22:50:24  <chrisdickinson>mbalho: actually, here's it with the patch to player-physics https://gist.github.com/3ec0445a4c8f3aed8084
22:51:09  <pkrumins>defunctzombie: ok!
22:51:34  <chrisdickinson>the nice bit is that for object->terrain collisions, we could implement a hook system for "tile-type" -> "function(worldObject)"
22:51:41  <chrisdickinson>so, if the player hits lava, or water, or something like that
22:51:56  <chrisdickinson>or if the player hits the ground, play a sound, etc
22:56:02  <Raynos>defunctzombie: your fork of npm-css seems ok. it just needs more tests
22:56:24  <defunctzombie>Raynos: agreed
22:56:30  <defunctzombie>I will add them after the css-prefix stuff
22:56:40  <defunctzombie>if you can think of specific ones make issues
22:56:44  <Raynos>also an async version would be nice
22:56:44  <defunctzombie>on the original project if you want
22:56:51  <Raynos>but for my use case I actually want a sync version :P
22:56:54  <defunctzombie>Raynos: I agree, however too many parts of this are sync
22:57:00  <defunctzombie>like resolve
22:57:02  <defunctzombie>and such
22:57:06  <defunctzombie>eventually we will do async
22:57:09  <defunctzombie>I thought about it
22:57:11  <Raynos>well resolve probably has an async version
22:57:39  <Raynos>but `append(document.head, Style(npmcss(require("./foo.css"))))`
22:57:41  <Raynos>is what I want
22:57:44  <Raynos>and woh LISP
22:58:01  <defunctzombie>haha
22:58:28  <Raynos>substack: https://github.com/substack/tape/pull/14 :(
23:01:51  <defunctzombie>Raynos: I basically got what I wanted, once I wrote the makeup module haha, but now with prefixes it will be even better
23:02:53  <Raynos>defunctzombie: I can't transfer the repo when you have a fork :(
23:03:06  <defunctzombie>:(
23:03:13  <defunctzombie>want me to delete the fork?
23:03:18  <defunctzombie>and then transfer
23:06:25  <Raynos>that works
23:08:08  <defunctzombie>Raynos: deleted
23:08:39  <Raynos>requested
23:09:55  <defunctzombie>do I need to do something now?
23:10:17  <mbalho>chrisdickinson: cool im gonna spend a couple of hours on voxel-engine now
23:11:05  <Raynos>defunctzombie: you should get a thing that says accept request
23:11:08  <Raynos>or I send it to wrong person
23:11:33  <Raynos>Oh
23:11:35  <Raynos>> This repository is awaiting GitHub staff approval to transfer ownership to shtylman.
23:11:37  <Raynos>lol.
23:12:36  * ins0mniajoined
23:12:45  <defunctzombie>haha
23:12:48  <defunctzombie>amazing
23:12:54  <defunctzombie>maybe it will be rejected :D
23:16:36  <chrisdickinson>mbalho: also, i've found it handy to hack voxel-engine into using browservefy instead of watch
23:17:04  <mbalho>chrisdickinson: cool
23:17:18  <mbalho>chrisdickinson: what would be a good npm script for it?
23:17:43  <chrisdickinson>npm install -g browservefy; browservefy demo.js 8000 -- -d
23:17:54  <mbalho>chrisdickinson: whats the -d do?
23:17:58  <chrisdickinson>turns on debug output
23:18:09  <chrisdickinson>i mean, sourceURL stuff
23:18:10  <mbalho>ahh yea
23:18:41  <chrisdickinson>(and you'll have to modify demo/index.html to point at "demo.js", not "/dist/browserify-bundle.js"
23:18:42  <chrisdickinson>)
23:19:28  <chrisdickinson>browservefy is basically just python -m SimpleHTTPServer, but with the ability to specify a single path as being a browserify entry point (and then after the "--" it forwards all of the following options to browserify cli)
23:19:55  <chrisdickinson>and it'd actually be `browservefy demo/demo.js 8000 -- -d`, run from the root of the project :D
23:20:19  <chrisdickinson>https://github.com/chrisdickinson/browservefy/blob/master/index.js#L23-L31
23:21:58  <pkrumins>wrote a new article guys - how to write testling-ci tests - http://www.catonmat.net/blog/howto-write-testling-ci-tests/
23:22:18  <mbalho>chrisdickinson: ahh i see so if you do browservefy foo/bar.js 800 you would request localhost:8000/bar.js ?
23:22:28  <pkrumins>next i'm deploying IE10s for browserling, then getting an ssl cert for testling-ci, then getting Mac OSX for testling and browserling!
23:22:57  <defunctzombie>\o/
23:23:00  <pkrumins>mac osx through mac mini colocation! http://macminicolo.net/
23:23:06  <mbalho>chrisdickinson: so instead of file watcher it just browserifies every time, i see
23:23:07  <defunctzombie>pkrumins: what is currently running through IE10?
23:23:26  <pkrumins>defunctzombie: whatcha mean?
23:23:31  <pkrumins>only testling has ie10 right now
23:23:41  <defunctzombie>oh.. browseriling.. my bad
23:23:49  <defunctzombie>:)
23:24:00  <chrisdickinson>yep!
23:24:31  <chrisdickinson>basically any request that would hit "foo/bar.js" really calls "browserify <args> foo/bar.js" in a child_process.spawn and pipes it to the response
23:24:36  <mbalho>chrisdickinson: i dig it, ill switch the npm run watch command to spawn browservefy
23:24:48  <mbalho>chrisdickinson: + put it in a devdependency
23:24:48  <mikolalysenko>chrisdickinson: browservefy?
23:24:59  <chrisdickinson>:D
23:25:09  <mikolalysenko>https://github.com/mikolalysenko/Serverify
23:25:21  <defunctzombie>chrisdickinson: why does it do a child process?
23:25:33  <chrisdickinson>just because it's easy.
23:25:41  <mikolalysenko>yeah
23:25:48  <defunctzombie>browserify has an api tho
23:25:56  <chrisdickinson>and it means that i can forward command line args to browserify
23:25:57  <chrisdickinson>oh i know
23:25:59  <mbalho>its doesnt have to be scalabe
23:26:03  <defunctzombie>ah ok
23:26:05  <mbalho>scalable*
23:26:06  <defunctzombie>just making sure you know :)
23:26:08  <chrisdickinson>this is just for local dev
23:26:45  <chrisdickinson>might add a switch that automatically spits out a fake index.html if it doesn't see one at the given url, but haven't really decided on that
23:26:56  <mikolalysenko>chrisdickinson: dang, somehow I missed your project
23:27:01  <defunctzombie>you totally should :p
23:27:10  <defunctzombie>chrisdickinson: basically sounds just like zuul
23:27:22  <defunctzombie>except more generic
23:27:26  <chrisdickinson>zuul?
23:27:39  <chrisdickinson>ah!
23:27:46  <defunctzombie>https://github.com/shtylman/zuul/
23:27:58  <defunctzombie>everything is run through browserify
23:28:07  <mbalho>haha everyone has a competing thing
23:28:08  <defunctzombie>and index.html is served for you since it is mocha specific
23:28:31  <defunctzombie>not really for "dev" but just to run tests locally before sending them off to testling :)
23:29:25  <defunctzombie>once this npm-css stuff irons out I will want a server that does npm-css and browserify :) as a test platform haha
23:29:43  <mbalho>chrisdickinson: the git link in browservefys package.json is wrong
23:30:01  <chrisdickinson>cripes!
23:30:17  <mbalho>the value is bad and you should feel bad!
23:31:11  <chrisdickinson>i do! now!
23:31:14  <chrisdickinson>will fix
23:31:45  <mbalho>chrisdickinson: only sucky thing is that its not compatible with workflows like substacks where it goes into bundle.js
23:32:05  <mbalho>chrisdickinson: but i can just force substack to use it :D
23:32:25  <chrisdickinson>haha
23:32:31  <chrisdickinson>yeah, it might be nice to alias
23:32:47  <chrisdickinson>browservefy path/to/thing.js:bundle.js or something like that
23:33:32  <mbalho>or just an option
23:36:35  <mbalho>chrisdickinson: hmm from voxel-engine root dir "browservefy demo/demo.js 8000 -- -d" results in "Not Found" for localhost:8000
23:38:10  <chrisdickinson>mbalho: remember, your demo is located in the demo/ directory
23:38:16  <chrisdickinson>so, "localhost:8000/demo/"
23:38:45  <mbalho>chrisdickinson: ahh. i am used to ecstatic which has a file browser built in
23:38:49  <chrisdickinson>aaah
23:40:38  <mbalho>chrisdickinson: can you set the base path?
23:41:16  <mbalho>chrisdickinson: oh wait nevermind
23:41:25  <mbalho>chrisdickinson: you have to do localhost:8000/demo/ not localhost:8000/demo
23:41:35  <mbalho>shama: omg new textures are awesome!
23:41:47  <mbalho>minecraft eat your heart out!
23:41:56  <mbalho>haha i should called voxel.js 'yourcraft'
23:42:16  <mbalho>maybe that will be the name of the voxel.js powered minecraft implementation
23:43:10  <mbalho>chrisdickinson: i think if browservefy used ecstatic rather than filed it would solve some n00b problems like i just encountered
23:47:39  * dominictarrquit (Quit: dominictarr)
23:50:25  * intabulasquit (Ping timeout: 248 seconds)
23:50:54  <mbalho>chrisdickinson: also i would like to add browserify to devDependencies and be able to give browservefy a path to the browserify bin e.g. ./node_modules/browserify/bin/browserify
23:51:19  <chrisdickinson>mbalho: could you open those up as issues on the browservefy github?
23:51:30  <mbalho>sure
23:51:30  <chrisdickinson>just so i can keep 'em in my head for later when i'm hacking
23:51:32  <chrisdickinson>thanks!
23:53:38  <mbalho>substack: whoa i never saw the gather.html demo with the little counters implemented till just now