00:10:00  * rudjoined
00:10:01  * rudquit (Changing host)
00:10:01  * rudjoined
00:26:47  * cwmmaquit (Quit: cwmma)
00:54:52  * stagasquit (Ping timeout: 245 seconds)
01:36:16  * thlorenzquit (Remote host closed the connection)
02:10:51  * stagasjoined
02:17:01  * mafintoshjoined
02:47:33  * TehShrikejoined
02:47:56  <TehShrike>Anyone here used level-sublevel in the browser via browserify?
02:49:09  <TehShrike>Actually, looks like it's level-hooks where the issue is happening
02:50:46  <substack>TehShrike: pretty sure that should work
02:50:52  <substack>but maybe there was a regression
02:53:14  <TehShrike>I'm still debugging, getting more details - looks like level-js isn't an event emitter, and level-sublevel is assuming that it is? I'll check some more to make sure I'm not doing something wrong
02:55:09  <TehShrike>Pretty sure that's it: "TypeError: Object #<Level> has no method 'on'"
02:55:28  <TehShrike>Surprised nobody's tried combining those two libraries before
02:57:30  * Sorellaquit (Quit: It is tiem!)
02:57:35  <ggreer>maybe they tried, but gave up and didn't post about it. a lot of node leveldb modules/libraries/utils have rough edges
03:02:15  <TehShrike>dominictarr: how would you feel about a pull request to level-hooks that would turn input dbs into EventEmitters if they weren't already?
03:05:12  <rvagg>TehShrike: I think what you're missing is levelup
03:05:20  <rvagg>level.js + levelup + level-sublect
03:05:24  <rvagg>sublevel sorry
03:05:44  <rvagg>level-sublevel expects a levelup object, level.js is a leveldown-compatible object to be plugged in to levelup
03:06:56  <TehShrike>urgh, you're right
03:08:01  <TehShrike>I've been too spoiled with sublevel and the level-mem wrapper, I expect a levelup object right away
03:08:08  <TehShrike>Thank you for saving me from further stupidity
03:08:51  <ggreer>I'd never seen sublevel before. that's neat
03:09:12  <TehShrike>It's quite a handy thing
03:09:34  * thlorenzjoined
03:09:46  * ralphtheninjaquit (Ping timeout: 246 seconds)
03:09:56  <ggreer>is each sublevel a different leveldb?
03:10:00  <TehShrike>I'm looking forward to seeing the rewrite https://github.com/dominictarr/level-sublevel/issues/46
03:10:12  <TehShrike>ggreer: programmatically, yes
03:10:23  <TehShrike>Though they're all abstractions on the original store
03:10:47  <ggreer>I mean on disk. basically I want to know if I'm going to end up with huge sstables
03:11:02  <TehShrike>Sublevel doesn't create any new dbs
03:11:07  <ggreer>ah
03:11:10  <TehShrike>You create one db (on-disk, or whereever)
03:11:13  <ggreer>got it
03:11:24  <rvagg>sst files are limited to 2mb so you're just going to have lots of them, not huge ones
03:11:27  <TehShrike>And sublevel adds prefixes and whatnot, and gives you new objects that you can treat like levelup dbs
03:11:43  <ggreer>rvagg: err, I mean huge leveldbs. yeah the default is 2MB
03:12:10  <ggreer>so it's doing the grunt-work of sticking prefixes on things and making handy event emitters and whanot
03:12:11  <ggreer>*whatnot
03:14:15  <rvagg>ggreer: it's shared between levelup, level-hooks and level-sublevel
03:14:34  <rvagg>the prefixing isn't hard, there's some nice magic for doing atomic operations across sublevels which can be very handy
03:14:42  <ggreer>ah. that does sound handy
03:14:55  <rvagg>overall it's just a really nice way of organising an app
03:15:30  <rvagg>var userDb = db.sublevel('user'); var cacheDb = db.sublevel('cache'); cacheDb = levelTtl(cacheDb);
03:15:32  <rvagg>etc. etc.
03:15:49  <rvagg>pass them around as if they were discrete data stores
03:16:30  <dominictarr>TehShrike, I'm not sure what you mean, can you post an issue describing how, why, and what you hope to gain by changing dbs to event emitters?
03:17:16  * dguttmanquit (Quit: dguttman)
03:17:53  <TehShrike>dominictarr: sorry, rvagg pointed me at my error - I was passing a level backend into sublevel/hooks, not an actual levelup object
03:18:25  <ggreer>completely unrelated question: if I have a levelup db with a _status of "closing", does that mean the "close" event has already fired?
03:19:15  <ggreer>(as opposed to status "closed")
03:19:38  <rvagg>ggreer: no, it comes before 'closed'
03:19:52  <rvagg>it's before the async Close() call to the underlying db, after that returns and is successful then you get a 'close' event and a 'closed' status
03:20:07  <rvagg>ggreer: look in levelup.js, it's fairly clear
03:20:53  <ggreer>https://github.com/rvagg/node-levelup/blob/master/lib/levelup.js#L130
03:20:55  <ggreer>hmm
03:20:56  <ggreer>yeah
03:21:23  <ggreer>sorry. next time I'll check the source before wasting your time
03:21:44  <dominictarr>TehShrike, sweet.
03:28:42  * mafintoshquit (Quit: Leaving...)
03:44:24  <ggreer>ahhh that took me a while
03:44:30  <ggreer>I was listening for "close", not "closed"
03:44:35  <ggreer>no wonder the handler wasn't firing
04:54:46  * dominictarrquit (Ping timeout: 246 seconds)
05:42:46  * thlorenzquit (Remote host closed the connection)
07:16:14  * dominictarrjoined
08:02:48  * wolfeidaujoined
08:18:18  * mikealjoined
08:25:26  * wolfeidauquit (Remote host closed the connection)
08:36:55  * ramitosquit (Quit: Computer has gone to sleep.)
08:37:53  * ramitosjoined
08:39:47  * dominictarrquit (Ping timeout: 265 seconds)
08:49:01  * ramitosquit (Quit: Computer has gone to sleep.)
08:51:13  * ramitosjoined
09:14:06  * stagasquit (Ping timeout: 265 seconds)
09:14:19  * ramitosquit (Quit: Textual IRC Client: www.textualapp.com)
10:35:49  <levelbot>[npm] [email protected] <http://npm.im/livelystream>: Stream changes to and from a lively database as a node.js stream. (@eugeneware)
10:40:50  <levelbot>[npm] [email protected] <http://npm.im/livelystream>: Stream changes to and from a lively database as a node.js stream. (@eugeneware)
10:57:38  * mafintoshjoined
10:59:03  * ralphtheninjajoined
11:22:19  <levelbot>[npm] [email protected] <http://npm.im/angularjs-lively>: Use lively object-syncing with angularjs (@eugeneware)
11:27:17  * mafintoshquit (Quit: Leaving...)
11:28:56  * freealljoined
11:39:00  * wolfeidaujoined
11:52:07  * mafintoshjoined
11:57:55  * Sorellajoined
12:15:56  * daviddiasjoined
12:15:57  * wolfeidauquit (Remote host closed the connection)
12:47:19  * freeallquit (Quit: Leaving...)
13:11:56  * tarrudajoined
13:21:00  * mafintoshquit (Quit: Leaving...)
13:21:52  <levelbot>[npm] [email protected] <http://npm.im/daily>: daily - A LevelDB based logging system (@andreasmadsen)
13:33:51  * ehdquit (Ping timeout: 264 seconds)
13:36:04  * ehdjoined
13:53:15  * rudquit (Quit: rud)
14:10:23  * book`quit (Ping timeout: 265 seconds)
14:13:05  * book`joined
14:36:37  * gildean_joined
14:37:14  * gildean_quit (Client Quit)
14:56:56  * cwmmajoined
15:30:58  * cwmmaquit (Quit: cwmma)
16:49:52  * dguttmanjoined
17:04:27  * ralphtheninjaquit (Ping timeout: 252 seconds)
17:04:36  * thlorenzjoined
17:06:06  * ralphtheninjajoined
17:13:48  * cwmmajoined
17:51:37  * tarrudaquit (Read error: Connection reset by peer)
18:27:57  * stagasjoined
18:49:57  * freealljoined
18:52:53  * kenan|afkquit (Quit: ZNC - http://znc.in)
18:53:31  * kenansulaymanjoined
18:59:19  <levelbot>[npm] [email protected] <http://npm.im/cercle>: anything in anything out pub/sub (@tjkrusinski)
19:02:22  * cwmmaquit (Quit: cwmma)
19:03:58  * dguttmanquit (Quit: dguttman)
19:05:49  <levelbot>[npm] [email protected] <http://npm.im/pair>: Encode key/value pairs for LevelDB-style database storage in a Strata b-tree. (@bigeasy)
19:09:05  * kenansulaymanquit (Quit: Textual IRC Client: www.textualapp.com)
19:09:23  * kenansulaymanjoined
19:10:50  * dguttmanjoined
19:12:59  * thlorenzquit (Remote host closed the connection)
19:23:59  * kenansulaymanquit (Quit: ZNC - http://znc.in)
19:26:13  * kenansulaymanjoined
19:31:06  * rvaggquit (Ping timeout: 246 seconds)
19:31:06  * ogdquit (Ping timeout: 246 seconds)
19:31:15  * ogdjoined
19:37:09  * rvaggjoined
19:53:29  * daleharveyquit (*.net *.split)
19:53:29  * ELLIOTTCABLE__quit (*.net *.split)
19:53:30  * savardcquit (*.net *.split)
19:53:30  * chapelquit (*.net *.split)
19:54:20  * jez0990joined
19:57:45  * book`quit (Ping timeout: 260 seconds)
19:57:46  * jez0990_quit (Ping timeout: 260 seconds)
20:02:02  * freeall_joined
20:02:07  * book`joined
20:02:36  * mikealquit (Quit: Leaving.)
20:08:21  * freeallquit (Ping timeout: 265 seconds)
20:23:32  * jez0990_joined
20:23:44  * stagas_joined
20:26:01  * stagasquit (Ping timeout: 264 seconds)
20:26:05  * jez0990quit (Ping timeout: 264 seconds)
20:26:07  * eugenewarequit (Ping timeout: 264 seconds)
20:26:07  * julianduquequit (Ping timeout: 264 seconds)
20:26:07  * hughskquit (Ping timeout: 264 seconds)
20:26:07  * JasonSmithquit (Ping timeout: 264 seconds)
20:26:37  * julianduquejoined
20:26:59  * eugenewarejoined
20:36:18  * juliangruber_joined
20:36:48  * juliangruberquit (Write error: Broken pipe)
20:36:49  * ralphtheninjaquit (*.net *.split)
20:36:53  * leptonixquit (*.net *.split)
20:36:57  * juliangruber_changed nick to juliangruber
20:38:40  * ralphtheninjajoined
20:38:41  * leptonixjoined
20:45:20  * cwmmajoined
20:57:36  * thlorenzjoined
21:20:41  * sneakynessjoined
21:22:17  * wolfeidaujoined
21:22:57  * cwmmaquit (Quit: cwmma)
21:25:18  * kenansulaymanquit (Quit: ZNC - http://znc.in)
21:25:32  * kenansulaymanjoined
21:26:41  * wolfeidauquit (Ping timeout: 246 seconds)
21:30:51  * wolfeidaujoined
21:34:42  * sneakynessquit (Quit: ยก)
21:35:06  * sneakynessjoined
21:37:32  * sneakynessquit (Remote host closed the connection)
22:00:55  * ramitosjoined
22:14:53  * dguttmanquit (Quit: dguttman)
22:21:53  * ednapiranhajoined
22:41:55  * jcrugzzjoined
22:58:39  * ednapiranhaquit (Quit: Leaving...)
23:00:07  * ramitosquit (Quit: Textual IRC Client: www.textualapp.com)
23:05:10  * ramitosjoined
23:05:32  * mikealjoined
23:09:19  * eugenewarequit (Remote host closed the connection)
23:19:07  * stagas_quit (Ping timeout: 272 seconds)
23:29:41  * rudjoined
23:29:50  * mikealquit (Quit: Leaving.)
23:44:07  * rudquit (Quit: rud)
23:45:29  * rudjoined
23:49:18  * eugenewarejoined
23:49:21  * mikealjoined
23:55:43  * rudquit (Quit: rud)