00:00:00  * ircretaryquit (Remote host closed the connection)
00:00:08  * ircretaryjoined
00:03:36  * thisandagainquit (Remote host closed the connection)
00:14:26  * kirbysayshijoined
00:19:38  * timoxleyjoined
00:19:57  <mikolalysenko>Ok. I just made my own file drag and drop listener: https://npmjs.org/package/drag-and-drop-files
00:25:20  * jcrugzzjoined
00:28:59  * st_lukequit (Remote host closed the connection)
00:34:02  * fallsemoquit (Quit: Leaving.)
00:36:41  * st_lukejoined
00:37:31  <dominictarr>fotoverite: did you see https://gist.github.com/dominictarr/5990143
00:38:03  <mikolalysenko>is there a module that automatically parses the document query string for you?
00:38:10  <mikolalysenko>kind of like optimist for the browser
00:38:21  <mikolalysenko>it seems like this must be done right?
00:42:43  * kirbysayshiquit (Quit: kirbysayshi)
00:44:28  * kirbysayshijoined
00:51:31  * st_lukequit (Remote host closed the connection)
00:55:01  * whit537joined
00:55:27  <dominictarr>mikolalysenko: just make one, and make it same api as optimist, and link to the optimist docs.
00:55:57  * tilgoviquit (Remote host closed the connection)
01:02:28  <Raynos>miko: nice :)
01:02:30  * kumavisjoined
01:02:40  <Raynos>miko: there is url.parse
01:02:47  <Raynos>miko: also qs
01:07:09  * jcrugzzquit (Ping timeout: 268 seconds)
01:08:32  * jcrugzzjoined
01:09:38  * thlorenzjoined
01:13:48  <mikolalysenko>dominictarr: that is what I was thinking about doing, but was feeling lazy and hoping that someone else had done it...
01:14:00  <mikolalysenko>oh well, might as well just do it and get it over with
01:14:58  <mbalho>require('url').parse(window.location.href, true)
01:15:07  * timoxleyquit (Remote host closed the connection)
01:16:00  <mikolalysenko>mbalho: that is probably simpler and better for now
01:17:44  <dominictarr>mikolalysenko: if you only support the subset of the main operations that everyone always uses, it will take about 10 minutes
01:17:51  <dominictarr>like, the minimist api
01:25:27  * jibayquit (Remote host closed the connection)
01:25:54  <mbalho>mikolalysenko: seems like this could benefit from ndarrays https://github.com/mourner/rbush/blob/master/test/test.js
01:27:34  <mikolalysenko>probably
01:27:52  <mikolalysenko>I think though that they could also benefit from using a range tree instead of an r-tree
01:28:02  <mikolalysenko>at least for 2D anyway range trees are far superior
01:28:22  <mikolalysenko>since the overhead is only O(log(n)) extra space, and the query time is orders of magnitude faster
01:28:41  <mikolalysenko>I actually saw this earlier and benchmarked it against static-range-query
01:28:54  <mikolalysenko>it has really fast construction time, but the queries are pretty slow
01:28:58  <mbalho>ah
01:29:14  <mikolalysenko>static-range-query takes a bit longer to build but it is much faster at querying
01:29:35  <mikolalysenko>also their library handles boxes and points, while static-range-query only does points
01:29:55  * jcrugzzquit (Ping timeout: 240 seconds)
01:32:02  <mikolalysenko>I think I could probably speed up static-range-query's construction quite a bit, but before I do that I need to make a library to sort ndarrays
01:35:09  <mikolalysenko>the basic problem with r-trees and generally any data structure that uses O(n) space is that no matter what all your range queries must have an overhead of at least O(n^{(d-1)/d})
01:35:30  <mikolalysenko>which in 2D is only sqrt(n), so it isn't terrible
01:35:56  <mikolalysenko>but compared to range trees that give you O(log^{d-2}(n)), it isn't even in the same league
01:37:32  <mikolalysenko>for example, here are the results I got running a benchmark against rbush compared to brute force and a naive range tree implementation:
01:37:35  <mikolalysenko>Running test for d= 2
01:37:38  <mikolalysenko>Testing uniform distribution, n= 100000 * brutal : 0.0851643672287515 average ms/query. Construction time 0 ms * static-range-query : 0.0048887085498623825 average ms/query. Construction time 2876 ms * rbush : 3.319502074688797 average ms/query. Construction time 18 ms
01:38:16  <mikolalysenko>it is hard to read because of the formatting, but basically static-range-query executes on the order of microseconds
01:38:27  <mikolalysenko>while they take about 3 milliseconds per query
01:39:00  <mikolalysenko>the downside is that the construction algorithm for static range query is not very efficient because it continually unboxes arrays and calls array.sort() to do the sorting
01:39:03  <mikolalysenko>which slows it down a lot
01:39:13  * kumavisquit (Ping timeout: 268 seconds)
01:39:15  <mikolalysenko>if I had a library to sort ndarrays directly, I could speed that up quite a bit I think
01:44:55  * jolissjoined
01:47:53  * timoxleyjoined
01:48:23  <mbalho>tshirt please http://i.imgur.com/9zJ56hE.png
02:00:13  * timoxleyquit (Remote host closed the connection)
02:01:49  <mikolalysenko>also mbalho, dominictarr : this is the solution I settled on: https://npmjs.org/package/parsed-url
02:02:04  <mikolalysenko>totally overthought that one. I must still be hungover
02:08:38  * ins0mniaquit (Ping timeout: 240 seconds)
02:28:16  * defunctzombie_zzchanged nick to defunctzombie
02:31:34  * evboguejoined
02:37:21  * gwenbelljoined
02:37:38  <Raynos>ETA ~1hour
02:42:19  <defunctzombie>isaacs: ping
02:44:05  <defunctzombie>can someone run an experiment for me against latest node.js?
02:44:06  <defunctzombie>https://gist.github.com/shtylman/6043631
02:44:17  <defunctzombie>put that file in a blank dir and do "npm install && npm ls"
02:44:24  <defunctzombie>tell me if you end up with an invalid install tree
02:45:41  * jcrugzzjoined
03:08:45  * timoxleyjoined
03:10:28  * thlorenzquit (Remote host closed the connection)
03:20:21  * kirbysayshiquit (Quit: kirbysayshi)
03:20:38  <py1hon_>substack!
03:20:43  * soldairquit (Quit: Page closed)
03:21:35  * gwenbellquit (Ping timeout: 268 seconds)
03:22:18  * calvinfoquit (Quit: Leaving.)
03:29:48  <substack>py1hon_: ahoy!
03:30:06  <py1hon_>substack: How goes it?
03:30:33  <substack>just built a bike rack out of old wooden crib parts
03:30:39  <py1hon_>nice
03:31:11  <py1hon_>i was wanting to ask you if you'd be interested in doing a bit of consulting type stuff at some point
03:31:22  <substack>for what kind of thing?
03:32:11  <substack>http://instagram.com/p/b-NlizQ70P/ <-- bike rack pix
03:32:33  <py1hon_>that distributed storage i'm designing, and the related stuff around it - it's gonna need user interfaces and whatnot
03:33:32  <py1hon_>we've got one guy currently (probably another later) tasked with that sort of thing
03:34:08  * timoxleyquit (Remote host closed the connection)
03:34:45  <py1hon_>but if you'd be interested, could maybe look over the design and see what could be improved, libraries/testing frameworks/who knows what
03:34:47  * timoxleyjoined
03:35:06  * py1hon_is full of belgian beer tonight
03:36:02  <substack>I'm pretty busy finishing testling-ci stuff right now
03:36:49  * ralphtheninjaquit (Ping timeout: 246 seconds)
03:37:04  <py1hon_>well we're still ramping up anyways, lots of meetings for hiring and design and whatnot
03:39:42  <py1hon_>but if at some point you have the time to lend your expertise a bit - well, i suspect that'd be pretty valuable to us
03:39:50  <py1hon_>knowing what you've pulled off :)
03:39:53  * py1hon_changed nick to py1hon
03:43:56  * defunctzombiechanged nick to defunctzombie_zz
03:44:40  * vitorpachecojoined
03:45:19  * vitorpachecoquit (Remote host closed the connection)
03:46:52  * evboguequit (Read error: Connection reset by peer)
03:47:13  * dominictarrquit (Quit: dominictarr)
03:56:00  * vitorpachecojoined
04:25:30  * vitorpachecoquit (Quit: Saindo)
04:28:11  * AvianFluquit (Remote host closed the connection)
04:33:22  <fotoverite>hello
04:33:27  <substack>ahoy
04:35:09  <fotoverite>dominictarr that a little beyond me. Need to read up on merle trees
04:48:46  * shamaquit (Read error: Connection reset by peer)
04:48:59  * shamajoined
05:07:01  * joliss_joined
05:09:04  * vitorpachecojoined
05:09:30  * jolissquit (Ping timeout: 268 seconds)
05:09:40  * jolissjoined
05:10:42  <jesusabdullah>hey y'all
05:11:23  * joliss_quit (Ping timeout: 240 seconds)
05:23:07  <chapel>hey jesusabdullah
05:23:18  <chapel>still in gods land?
05:33:11  <jesusabdullah>chapel: no, phoenix
05:36:16  <jesusabdullah>phoenix is stupid spread out
05:37:50  <jesusabdullah>fotoverite: what is a merle tree?
05:39:21  <chapel>did the i.tv guys offer you a job? would you take it?
05:42:00  * jolissquit (Quit: joliss)
05:46:24  <jesusabdullah>chapel: pretty much, and maybe
05:46:31  <jesusabdullah>chapel: I might take the ME job too
05:46:37  <jesusabdullah>chapel: which is one one I'm checking out right now
05:46:54  <jesusabdullah>chapel: not sure how long I can stall either
05:47:02  <jesusabdullah>chapel: I have no fucking idea what to do
05:53:41  <fotoverite>merkle tree
05:55:57  <jesusabdullah>aha
05:56:05  <jesusabdullah>fotoverite: what do you think? How do I solve this dilema?
06:09:51  * soldairjoined
06:10:46  * jxsonjoined
06:15:13  * kumavisjoined
06:20:13  * vitorpachecoquit (Ping timeout: 276 seconds)
06:21:08  * kirbysayshijoined
06:23:56  <chapel>jesusabdullah: well, how do the offers compare?
06:24:03  <chapel>what about locations, worthwhile?
06:24:33  <chapel>the other thing, don't take a relocation job unless you feel secure in the company/position
06:24:51  <chapel>I'm sure you know that, considering your experiences already
06:31:53  * mikolalysenkoquit (Ping timeout: 240 seconds)
06:33:40  <jesusabdullah>mmhmm
06:34:46  <jesusabdullah>chapel: well one's a job working on the infrastructure for multimedia integration, and the other is iterating on a line of measurements and testing equipment
06:35:08  <jesusabdullah>chapel: software makes more money but I could become partial owner of the latter
06:36:06  <jesusabdullah>chapel: it really comes down to, would I be happy making engineering equipment? Would I be happier? Or less happy?
06:37:21  * shamaquit (Remote host closed the connection)
06:39:47  * kumavisquit (Ping timeout: 256 seconds)
06:41:11  * kirbysayshiquit (Quit: kirbysayshi)
06:41:25  * orenjoined
06:47:38  * orenquit (Quit: WeeChat 0.3.8)
06:48:13  <chapel>only you can answer that :)
06:59:26  <jesusabdullah>yup
07:05:56  * jxsonquit (Remote host closed the connection)
07:37:19  <chrisdickinson>Raynos: re: eshint: https://github.com/chrisdickinson/jsl
07:37:34  <chrisdickinson>^^ also esprima-based linter, this one's designed around each rule being a module on npm
07:37:54  <chrisdickinson>(going to separate the built-in checks into packages soon)
07:43:01  <chapel>chrisdickinson: do you have any examples of standard lint functions?
07:43:22  <chapel>I like the idea of a custom linter btw
07:43:41  <chrisdickinson>https://github.com/chrisdickinson/jsl/blob/master/checks/if-return-early.js
07:43:59  <chrisdickinson>(and https://github.com/chrisdickinson/jsl/tree/master/checks in general)
07:44:17  <chapel>I see them now :)
07:44:19  <chrisdickinson>this is just my peculiar style guide -- these modules will get lifted out into separate packages
07:44:28  <chapel>its late, not looking hard enough, thanks :)
07:44:42  <chrisdickinson>no prob :) thanks for looking!
07:57:20  * itprojoined
07:57:20  * itprochanged nick to ITpro
08:05:57  * ITproquit (Ping timeout: 248 seconds)
08:11:25  <Raynos>chrisdickinson: interesting
08:15:36  * itprojoined
08:15:36  * itprochanged nick to ITpro