00:02:39  * thlorenz_joined
00:03:27  * mcollinajoined
00:32:38  * julianduquequit (Ping timeout: 264 seconds)
00:33:25  * mikealquit (Quit: Leaving.)
00:34:21  * mikealjoined
00:34:37  * mikealquit (Client Quit)
00:35:28  * mikealjoined
00:38:55  * julianduquejoined
00:38:57  * julianduquequit (Changing host)
00:38:58  * julianduquejoined
00:43:57  * tmcwjoined
00:48:47  * tmcwquit (Ping timeout: 260 seconds)
00:48:55  * jxsonquit (Remote host closed the connection)
01:04:18  * jerrysvquit (Remote host closed the connection)
01:11:23  * mikealquit (Quit: Leaving.)
01:11:50  * timoxleyquit (Remote host closed the connection)
01:14:10  * mikealjoined
01:14:30  * mikealquit (Client Quit)
01:19:24  * timoxleyjoined
01:42:32  * tmcwjoined
01:49:12  * jxsonjoined
01:53:41  * jxsonquit (Ping timeout: 248 seconds)
01:58:36  * paulfryzelquit (Remote host closed the connection)
01:59:10  * paulfryzeljoined
01:59:12  <juliangruber>mcollina: i started using levelgraph and have a question
01:59:33  <mcollina>I'm merging in your patch right now :)
01:59:37  <mcollina>Yeah, ask
01:59:46  <juliangruber>mcollina: i want to store {}/objects in "objects"
01:59:53  <juliangruber>mcollina: should I only store strings as objects and make them be primary keys to the db having the whole object
02:00:07  <juliangruber>i mean
02:00:11  <juliangruber>as subject
02:00:26  <juliangruber>or can I just use any javascript object as subject
02:00:37  <mcollina>unfortunately only strings
02:01:20  <juliangruber>ok
02:01:21  <mcollina>Have a look at https://npmjs.org/package/levelgraph-jsonld
02:01:21  <juliangruber>hmmm
02:02:02  <mcollina>The key thing about a graph is being (S -> O)
02:02:22  <mcollina>But you can store arbitrary stuff inside a triple
02:02:42  <juliangruber>mcollina: how can i store arbitrary stuff?
02:02:49  <mcollina>(this is kind of undocumented and a little bit untested, but if it doesn't not work submit a patch)
02:03:01  <rvagg>msgpack, stringify buffers, ...
02:03:06  <juliangruber>ah I see
02:03:21  <mcollina>{ subject: "a", predicate: "b", object: "c", julianProperty: "d" }
02:03:26  * paulfryzelquit (Ping timeout: 240 seconds)
02:03:35  <juliangruber>yeah I guess it makes sense to just store the ids in levelgraph and then use level for the actual values
02:03:53  <juliangruber>{ subject: { 'id': 'foo', some: 'value' }, predi ...
02:04:01  <juliangruber>that would be exactly what I want
02:04:27  <juliangruber>maybe I should just roll my own thing
02:04:43  <mcollina>The best way to handle that is having something on top of it that uses two sublevels
02:05:25  <mcollina>internally is VERY hard to keep the objects, as debugging becomes quirky with bytewise
02:05:50  * timoxleyquit (Remote host closed the connection)
02:07:21  <mcollina>juliangruber: I have to go, feel free to open an issue to keep the discussion going.
02:07:37  * timoxleyjoined
02:08:00  <mcollina>BTW, if you want commit access just ask.
02:08:24  <juliangruber>mcollina: ok, thanks!
02:29:43  * paulfryzeljoined
02:37:53  * paulfryzelquit (Ping timeout: 240 seconds)
02:42:57  * tmcwquit (Remote host closed the connection)
03:10:59  * timoxleyquit (Remote host closed the connection)
03:13:33  <mbalho>lol wat https://twitter.com/AndyDentPerth/status/366003267106381825
03:14:21  * timoxleyjoined
03:15:21  * thlorenz_quit (Remote host closed the connection)
03:18:07  * thlorenz_joined
03:35:39  * dguttmanquit (Quit: dguttman)
03:36:57  * dguttmanjoined
03:44:00  * dguttmanquit (Quit: dguttman)
04:06:44  * mikealjoined
04:07:07  * mikealquit (Client Quit)
04:09:05  * mikealjoined
04:16:06  * mikealquit (Quit: Leaving.)
04:19:00  * wilmoore-dbjoined
04:34:28  * mikealjoined
04:55:26  * timoxleyquit (Remote host closed the connection)
05:23:39  * mikealquit (Quit: Leaving.)
05:53:48  * mikealjoined
06:00:53  * mcollinaquit (Remote host closed the connection)
06:01:36  * mcollinajoined
06:04:13  * mikealquit (Ping timeout: 246 seconds)
06:15:18  * eugenewarejoined
06:30:19  * mikealjoined
06:48:57  * eugenewarequit (Remote host closed the connection)
06:52:24  * eugenewarejoined
07:00:34  * eugenewarequit (Ping timeout: 246 seconds)
07:09:42  * mcollinaquit (Remote host closed the connection)
07:58:27  * dominictarrjoined
08:00:58  * wolfeidaujoined
08:03:04  * dominictarrquit (Client Quit)
08:26:07  * dominictarrjoined
08:55:01  * jcrugzzquit (Ping timeout: 256 seconds)
09:23:11  * jcrugzzjoined
09:29:35  * jcrugzzquit (Ping timeout: 245 seconds)
09:31:27  * wolfeidauquit (Ping timeout: 260 seconds)
09:33:22  * timoxleyjoined
10:00:14  <dominictarr>mbalho: okay, I've found the problem with level-replicate
10:00:21  <dominictarr>fixing it now
10:05:48  * wolfeidaujoined
10:15:47  * wilmoore-dbquit (Remote host closed the connection)
10:17:52  * wilmoor__joined
10:18:06  * timoxleyquit (Remote host closed the connection)
10:18:33  * timoxleyjoined
10:19:02  * timoxleyquit (Read error: Connection reset by peer)
10:19:05  * timoxley_joined
10:19:30  * wilmoor__quit (Read error: Connection reset by peer)
10:27:58  * wilmoore-dbjoined
10:31:51  * brycebaril1joined
10:40:35  * hij1nxquit (*.net *.split)
10:40:35  * brycebarilquit (*.net *.split)
10:47:40  * hij1nxjoined
10:57:13  * timoxley_quit (Remote host closed the connection)
10:57:40  * timoxleyjoined
11:02:30  * timoxleyquit (Ping timeout: 264 seconds)
11:05:38  * timoxleyjoined
11:16:00  * timoxleyquit (Remote host closed the connection)
11:22:54  <dominictarr>mbalho: about half there, I think...
11:28:07  * keslajoined
11:38:38  <dominictarr>mbalho: FIXED!
11:40:30  <dominictarr>… hmm
11:50:49  <dominictarr>mbalho: okay, it works with base64, looking into msgpack
11:56:34  * wolfeidauquit (Remote host closed the connection)
12:00:48  * keslaquit (Ping timeout: 260 seconds)
12:09:42  <dominictarr>mbalho: ball is in your court https://github.com/maxogden/websocket-stream/issues/18
12:19:08  * wilmoore-dbquit (Remote host closed the connection)
12:34:20  * num9joined
12:34:55  * num9quit (Remote host closed the connection)
12:35:31  * No9_joined
12:36:30  * No9_quit (Client Quit)
13:03:12  * ednapiranhajoined
13:05:50  * no9quit (Remote host closed the connection)
13:06:13  * no9joined
13:37:45  * thlorenzquit (Remote host closed the connection)
13:38:02  * thlorenzjoined
13:38:13  * thlorenzquit (Remote host closed the connection)
13:39:39  * thlorenzjoined
13:40:43  <thlorenz>is there a way to remove all entries from a sublevel instead of .del() for each key? dominictarr juliangruber?
13:41:09  <dominictarr>thlorenz: no. but there is a module to do that for you.
13:41:17  <dominictarr>Raynos/level-delete-range
13:41:24  <thlorenz>cool, thanks
13:41:26  <brycebaril1>you could also do sub.writeStream({type: "del"})
13:41:29  <dominictarr>or delete-range
13:41:36  * brycebaril1changed nick to brycebaril
13:42:07  <brycebaril>Hmm
13:42:27  <brycebaril>sub.readStream().pipe(sub.writeStream({type: "del"}) rather
13:43:02  <thlorenz>can it operate on sublevels or do I manually have to pass correct start and end? ^^ Raynos
13:49:11  <thlorenz>from reading the code I should just be able to do: deleteRange(subdb, { start: '', end: '\xff' }, function ..)
13:49:50  <brycebaril>If you have the sublevel defined, the stream method I put in there works (just tried it to confirm)
13:51:09  <thlorenz>brycebaril: thanks
13:51:10  * mikealquit (Quit: Leaving.)
13:51:44  <thlorenz>that's much simpler for my particular use case
13:51:54  * scttnlsnjoined
14:01:28  * tmcwjoined
14:09:02  * thlorenz_quit (Ping timeout: 240 seconds)
14:10:35  * mikealjoined
14:10:57  * mikealquit (Client Quit)
14:13:15  * thlorenz_joined
14:25:45  <dominictarr>rvagg: you there?
14:33:53  * julianduquequit (Quit: leaving)
14:34:53  * julianduquejoined
14:36:55  * Acconutjoined
14:37:54  * julianduquequit (Read error: Connection reset by peer)
14:39:12  * scttnlsnquit (Remote host closed the connection)
14:40:16  * julianduquejoined
14:41:10  * mikealjoined
14:41:24  * Acconutquit (Client Quit)
14:41:54  * Acconutjoined
14:42:03  * Acconutquit (Client Quit)
14:47:55  * paulfryzeljoined
14:52:54  * mikealquit (Ping timeout: 264 seconds)
14:55:56  * tmcw_joined
14:56:00  * tmcwquit (Ping timeout: 256 seconds)
14:56:59  * jcrugzzjoined
15:05:32  * dguttmanjoined
15:11:53  * julianduquequit (Quit: leaving)
15:21:30  <juliangruber>dominictarr: do you know what's up with the hangout?
15:22:27  * scttnlsnjoined
15:22:31  * fallsemojoined
15:26:29  <dominictarr>juliangruber: no
15:26:39  <juliangruber>meh
15:27:22  <mbalho>dominictarr: brilliant, good work
15:27:52  * mikealjoined
15:29:40  <dominictarr>mikeal: are we doing this thing?
15:30:27  <mikeal>bah, no, everything is fucked
15:30:30  <scttnlsn>i want to build a simple message queue with a dequeue timeout (i.e. if no ack is received before a certain timeout, the message is requeued) like Amazon SQS' "visibility timeout". does this seem like a good fit for leveldb?
15:30:53  <scttnlsn>i'm struggling to figure out the best way to organize entries in the db
15:36:22  * mikealquit (Quit: Leaving.)
15:36:59  * mikealjoined
15:38:17  * mikealquit (Client Quit)
15:39:36  <mbalho>scttnlsn: maybe look at this for inspiration https://github.com/iriscouch/cqs
15:40:05  <scttnlsn>oh cool! thanks mbalho
16:05:51  <hij1nx>just started extracting features out of node-admin so that i can actually work on levelweb again, first one is here https://github.com/hij1nx/level-users
16:06:29  <mbalho>lols https://github.com/maxogden/level-user
16:06:55  <mbalho>they can work together i think though
16:07:44  <hij1nx>mbalho: level-users (mine) uses bcrypt, so its bound to the server :(
16:08:13  <mbalho>laaaae
16:08:15  <mbalho>+m
16:09:22  <hij1nx>mbalho: yep, do you know if its possible to do something similar to bcrypt's hashing without bcrypt?
16:10:11  <hij1nx>mbalho: it would be awesome to generate a strong salt and hash it with a password in pure js
16:11:28  <mbalho>hij1nx: hmm not sure
16:11:28  <hij1nx>mbalho: but hey, not everything can work in all environments...
16:11:49  <mbalho>hij1nx: you should make the crypto pluggable so at least it can be swapped out easily
16:12:00  <mbalho>hij1nx: also do you use bops for your binary stuff yet?
16:12:04  <mbalho>hij1nx: that helps browser compatibility a lot
16:12:20  <hij1nx>mbalho: have you looked at node-forge?
16:12:25  <mbalho>nope
16:13:12  <hij1nx>its pretty good, its pure js rsa, and tests against the openssl tests
16:14:29  <hij1nx>i wonder if some code could be lifted from there to come up with a salt-like hash that satisfied the requirements of bcrypt
16:15:06  <hij1nx>mbalho: oh, and node-forge runs in the browser
16:17:04  <hij1nx>mbalho: actually, level-user is the perfect complement to level-users for client side support, i'll add a link to level-users
16:18:02  * ralphtheninjaquit (Quit: leaving)
16:18:54  * julianduquejoined
16:18:58  * julianduquequit (Changing host)
16:18:58  * julianduquejoined
16:21:30  <mbalho>hij1nx: the level-user api is a bit shaky right nowbut im open to suggestions. im using it in a project atm so it will probably change
16:22:17  <mbalho>hij1nx: also for server side auth check out https://github.com/maxogden/doorknob and https://github.com/maxogden/level-socket
16:22:26  <mbalho>hij1nx: i'd like to make these apis more generic too so you can do non-persona based log in
16:22:47  <mbalho>hij1nx: but have some decent extendable components for assembling your own auth server
16:23:58  * mcollinajoined
16:26:26  * scttnlsnquit (Remote host closed the connection)
16:27:20  * wilmoore-dbjoined
16:29:40  * scttnlsnjoined
16:36:00  * dguttmanquit (Quit: dguttman)
16:43:35  * julianduquequit (Quit: leaving)
16:44:34  * wilmoore-dbquit (Remote host closed the connection)
16:45:35  * ednapiranhaquit (Remote host closed the connection)
16:49:39  * jerrysvjoined
17:09:04  * ednapiranhajoined
17:13:34  * dguttmanjoined
17:16:42  * wilmoore-dbjoined
17:26:03  * mikealjoined
17:28:53  * scttnlsnquit (Remote host closed the connection)
17:45:53  * jxsonjoined
18:05:09  * mikealquit (Quit: Leaving.)
18:09:10  * mikealjoined
18:09:28  * mikealquit (Client Quit)
18:12:43  * mikealjoined
18:21:37  * mcollinaquit (Remote host closed the connection)
18:25:47  * jxsonquit (Remote host closed the connection)
18:38:49  * jxsonjoined
19:05:19  <dominictarr>levelup nearly has custom encodings! as soon as this is merged https://github.com/rvagg/node-levelup/pull/149
19:09:26  * jxsonquit (Remote host closed the connection)
19:21:25  * Acconutjoined
19:22:33  * Acconutquit (Client Quit)
19:24:19  * mikealquit (Quit: Leaving.)
19:29:35  * jcrugzzquit (Ping timeout: 245 seconds)
19:32:16  * mcollinajoined
19:32:36  <mbalho>w00t
19:36:34  * mcollinaquit (Ping timeout: 246 seconds)
19:43:35  * dominictarrquit (Quit: dominictarr)
19:52:28  * julianduquejoined
19:53:11  * mikealjoined
20:00:36  * wolfeidaujoined
20:02:28  * wolfeidauquit (Read error: Connection reset by peer)
20:11:49  * jxsonjoined
20:11:52  <jerrysv>when will levelup support 0.6.x of leveldown?
20:19:42  * mikealquit (Quit: Leaving.)
20:25:36  * mikealjoined
20:48:38  * jcrugzzjoined
20:56:22  <mbalho>in case anyone wants to play around with it... https://github.com/maxogden/level-replication-tests#level-replicate-tests
20:56:46  <mbalho>it streams binary data between client + server, just got it all working finally after months and months of stupid bugs
20:57:04  * mikealquit (Quit: Leaving.)
20:58:11  * mikealjoined
21:02:38  <chilts>mbalho++
21:02:48  <chilts>sounds like a it was a lot of fiddling
21:03:43  <mbalho>yea
21:03:45  * jxsonquit (Remote host closed the connection)
21:03:57  <mbalho>basically making all the level-* modules work with binary in both node + the browser
21:04:06  <mbalho>including the msgpack serialization stuff
21:06:06  * jxsonjoined
21:08:58  * wilmoore-dbquit (Read error: Connection reset by peer)
21:14:12  * wilmoore-dbjoined
21:14:40  * wilmoore-dbquit (Remote host closed the connection)
21:16:07  * wilmoore-dbjoined
21:23:38  * jxsonquit (Remote host closed the connection)
21:24:04  <jerrysv>mbalho: congrats on "binary compatibility"!
21:30:25  * Acconutjoined
21:30:31  * ednapiranhaquit (Remote host closed the connection)
21:31:26  * Acconutquit (Client Quit)
21:31:50  * alanhoffjoined
21:38:30  <jcrugzz>mbalho: awesome!
21:43:39  <alanhoff>Anyone could suggest a module dat daemonizes leveldb?
21:43:48  <alanhoff>*Could anyone, sry
21:56:45  * jxsonjoined
21:57:12  * jxsonquit (Remote host closed the connection)
21:57:22  <mbalho>alanhoff: leveldb doesnt have a server/process built in, thats what node is for
21:58:00  * jxsonjoined
22:00:30  <chilts>alanhoff: https://github.com/rvagg/node-levelup#multi-process-access
22:01:49  <rescrv>alanhoff: you can also checkout HyperDex which builds on LevelDB
22:07:17  * sveisveiquit (Quit: Connection closed for inactivity)
22:09:35  * jcrugzzquit (Ping timeout: 245 seconds)
22:23:08  * mikealquit (Quit: Leaving.)
22:28:09  * jxson_joined
22:31:36  * jxsonquit (Ping timeout: 256 seconds)
22:33:11  * tmcw_quit (Remote host closed the connection)
22:38:53  * thlorenzquit (Remote host closed the connection)
22:41:26  * thloren__joined
22:43:51  * thloren__quit (Read error: Connection reset by peer)
22:43:55  * thlore___joined
22:45:31  * thlore___quit (Read error: Connection reset by peer)
22:45:59  * thlorenzjoined
22:47:22  * Acconutjoined
22:47:22  * Acconutquit (Client Quit)
22:47:23  * thlorenzquit (Read error: Connection reset by peer)
22:47:30  * thlorenzjoined
22:49:35  * thloren__joined
22:49:50  * thlorenzquit (Read error: Connection reset by peer)
22:50:57  <no9>mbalho woot on level-replication
22:52:04  * thlorenzjoined
22:52:04  * thloren__quit (Read error: Connection reset by peer)
22:55:34  * thloren__joined
22:57:01  * thlore___joined
22:57:01  * thloren__quit (Read error: Connection reset by peer)
22:57:09  * thlorenzquit (Ping timeout: 276 seconds)
22:58:33  * thlore___quit (Read error: Connection reset by peer)
22:58:49  * thlorenzjoined
23:03:45  * thlorenzquit (Ping timeout: 264 seconds)
23:12:49  * jxson_quit (Remote host closed the connection)
23:14:55  * jxsonjoined
23:15:18  * jxsonquit (Remote host closed the connection)
23:16:10  * thlorenz_quit (Remote host closed the connection)
23:16:33  * jxsonjoined
23:29:20  * thlorenzjoined
23:37:38  * thlorenz_joined
23:37:54  * thlorenzquit (Ping timeout: 264 seconds)
23:38:24  * thlorenzjoined
23:40:19  * thlorenz_quit (Read error: Connection reset by peer)
23:40:25  * thlorenz_joined
23:41:48  * thloren__joined
23:41:48  * thlorenz_quit (Read error: Connection reset by peer)
23:42:58  * thlorenz_joined
23:42:58  * thloren__quit (Read error: Connection reset by peer)
23:43:11  * wilmoore-dbquit (Remote host closed the connection)
23:47:51  * thlorenz_quit (Ping timeout: 276 seconds)
23:48:52  * thlorenz_joined
23:53:32  * thlorenz_quit (Ping timeout: 268 seconds)
23:55:01  * thlorenz_joined
23:56:24  * thloren__joined
23:56:24  * thlorenz_quit (Read error: Connection reset by peer)
23:59:05  * paulfryzelquit (Remote host closed the connection)
23:59:41  * paulfryzeljoined