00:10:10  * chapeljoined
00:24:26  * ralphtheninjaquit (Ping timeout: 252 seconds)
00:29:47  * thlorenzquit (Remote host closed the connection)
00:30:22  * thlorenzjoined
00:34:28  * thlorenzquit (Ping timeout: 246 seconds)
00:38:31  * wolfeidauquit (Read error: No buffer space available)
01:03:31  * Guest47861changed nick to prettyrobots_
01:21:59  * jiffe98joined
01:36:23  * ramitosquit (Ping timeout: 245 seconds)
01:39:18  * blessYahuquit (Ping timeout: 245 seconds)
01:39:32  * blessYahujoined
02:05:05  * thlorenzjoined
02:07:21  * blessYahuquit (Read error: Connection reset by peer)
02:07:36  * blessYahujoined
02:09:11  * blessYahuquit (Read error: Connection reset by peer)
02:10:27  * blessYahujoined
02:46:21  * mikealquit (Quit: Leaving.)
03:02:13  * kenansulaymanchanged nick to kenan|afk
03:19:06  * Sorellaquit (Remote host closed the connection)
03:24:24  * jcrugzzquit (Ping timeout: 246 seconds)
03:25:55  * contrahaxquit (Read error: Connection reset by peer)
03:26:45  * contrahaxjoined
03:40:01  * contrahaxquit (Quit: Sleeping)
04:01:01  * wolfeidaujoined
04:30:50  * jcrugzzjoined
04:36:09  * jcrugzzquit (Ping timeout: 272 seconds)
04:43:22  <rvagg>prettyrobots: https://github.com/rvagg/node-leveldown/pull/85
04:44:28  <rvagg>prettyrobots: re utf8, we've designed leveldown to handle either String or Buffer types (only), we can extract the raw data out of either so we don't do conversion in JS to save extra copies\
04:44:41  <rvagg>if you pass in a string then it goes all the way down into C++ land as a string
04:44:47  <rvagg>if you pass in a Buffer than same
04:45:00  <rvagg>if you pass in anything else then you incur a conversion cost somewhere, likely minimal
04:45:08  <prettyrobots>rvagg
04:45:25  <prettyrobots>rvagg: https://github.com/bigeasy/encode/blob/master/index.js
04:46:13  <prettyrobots>rvagg: That is my sketch of encoding for Locket. Indeed, it would be easy enough to store Strings if strings are present.
04:46:17  * contrahaxjoined
04:46:17  <rvagg>prettyrobots: so.. you have a string->buffer->leveldb slice copy cost going on there
04:46:28  <rvagg>for levelup/leveldown you only have string->leveldb slice
04:46:54  <rvagg>might be fine for your use case but we're trying to be efficient for the inevitable memcpys
04:46:58  <prettyrobots>rvagg: I'm not writing to LevelDB.
04:48:09  <prettyrobots>rvagg: I suppose I'll have to profile. Ultimately, I'm writing buffers or strings to a file using Node.js. If Node.js needs to convert the string anyway, then the sooner the better.
04:48:17  <prettyrobots>rvagg: Or it might not matter.
04:49:02  <prettyrobots>rvagg: But, what about collation? If use specify UTF8 and you do not convert to buffer, then how are keys ordered? Using a bytewise comparison or using JavasScript string < and >?
04:49:57  * contrahaxquit (Client Quit)
04:50:11  <rvagg>bytewise still
04:50:20  <prettyrobots>Oh, using bytewise, because the comparison is done by leveldb, it's been converted at that point.
04:50:31  <prettyrobots>So, hell yeah I need Buffers.
04:50:33  <rvagg>prettyrobots: https://github.com/rvagg/nan/blob/master/nan.h#L1014
04:51:01  <rvagg>so I think node core does the same here, it doesn't need to *convert to buffers* to write I/O, it just pulls the char array out of the string
04:51:26  <rvagg>for raw strings it'll do a full utf8 decode which is costly of course it's costing you that anyway in your conversion
04:53:06  <prettyrobots>A byte wise compare of UTF8 in JavaScript is going to require converting to UTF-8 to be compatible with LevelUP.
05:03:57  <prettyrobots>rvagg: So if JSON is a key encoding it converted to UTF-8 and then sorted byte wise?
05:15:32  * thlorenzquit (Remote host closed the connection)
05:24:22  * jcrugzzjoined
05:29:21  * jcrugzzquit (Ping timeout: 272 seconds)
05:41:23  <levelbot>[npm] [email protected] <http://npm.im/procede>: In-memory forward iterator for use with the Strata b-tree MVCC tool collection. (@bigeasy)
05:55:10  * jcrugzzjoined
06:02:20  <prettyrobots>My notes on implementing the key/value structure necessary to store a LevelUP key/value pair. https://github.com/bigeasy/pair
06:02:55  * jcrugzzquit (Ping timeout: 272 seconds)
06:22:58  * daviddiasjoined
06:34:00  <chapel>prettyrobots: no gh-pages branch
06:34:28  <prettyrobots>chapel: Not yet. Starting this just now.
06:46:58  * daviddiasquit
07:07:46  * Aredridelquit (Quit: Textual IRC Client: www.textualapp.com)
07:19:41  * blessYahuquit (Ping timeout: 252 seconds)
07:41:02  * daviddiasjoined
08:32:22  * eugenewarejoined
08:32:22  * mikealjoined
08:33:13  * contrahaxjoined
08:37:11  * mikealquit (Ping timeout: 272 seconds)
08:40:39  * mikealjoined
09:25:14  * jcrugzzjoined
09:29:26  * jcrugzzquit (Ping timeout: 240 seconds)
09:57:02  * ralphtheninjajoined
10:46:53  <levelbot>[npm] [email protected] <http://npm.im/pathdb>: Database built on levelup/leveldb that stores javascript objects as a series of paths and values. (@eugeneware)
11:25:38  * kenan|afkchanged nick to kenansulayman
11:38:28  * eugenewarequit (Remote host closed the connection)
12:02:22  * eugenewarejoined
12:07:27  * eugenewarequit (Ping timeout: 272 seconds)
12:09:39  * eugenewarejoined
12:18:29  * eugenewarequit (Ping timeout: 272 seconds)
12:25:23  * gildeanchanged nick to gildean_
12:25:32  * gildean_changed nick to gildean
12:41:39  * daviddiasquit (Read error: Connection reset by peer)
12:45:02  * Sorellajoined
12:45:13  * Sorellaquit (Changing host)
12:45:13  * Sorellajoined
13:13:11  * daviddiasjoined
13:48:53  * kenansulaymanchanged nick to kenan|afk
15:07:55  * jcrugzzjoined
15:17:12  * kenan|afkchanged nick to kenansulayman
16:01:24  * thlorenzjoined
16:09:53  * thlorenzquit (Ping timeout: 252 seconds)
16:59:32  * parshapquit (Ping timeout: 260 seconds)
17:00:54  * parshapjoined
17:01:35  * mikealquit (Quit: Leaving.)
17:15:28  * thlorenzjoined
17:34:56  * kenansulaymanchanged nick to kenan|afk
17:35:22  <levelbot>[npm] [email protected] <http://npm.im/pair>: Encode key/value pairs for database storage. (@bigeasy)
17:35:56  <prettyrobots>prettyrobots: That was me.
17:40:08  * kenan|afkchanged nick to kenansulayman
18:02:28  * thlorenzquit (Remote host closed the connection)
18:02:43  * thlorenzjoined
18:02:54  <levelbot>[npm] [email protected] <http://npm.im/revise>: Utilities for adding MVCC version numbers to Strata b-tree keys. (@bigeasy)
18:03:12  <prettyrobots>Me again. I'm @bigeasy on GitHub.
18:13:27  <kenansulayman>prettyrobots you don't have to say that everytime :)
18:13:59  <prettyrobots>kenansulayman: Great. Good to know it's catching on. :)
19:08:57  * thlorenzquit (Remote host closed the connection)
19:37:26  * daviddiasquit (Remote host closed the connection)
19:38:09  * daviddiasjoined
19:42:14  * daviddiasquit (Ping timeout: 240 seconds)
19:49:53  * jcrugzzquit (Ping timeout: 252 seconds)
19:55:37  * mikealjoined
20:09:20  * TehShrike1joined
20:20:43  * thlorenzjoined
20:23:53  * mikealquit (Quit: Leaving.)
20:25:15  * daviddiasjoined
20:26:02  <chapel>prettyrobots: if someone cares about the bot updates, they will go check it out. :)
20:36:01  * blessYahujoined
20:47:10  * mikealjoined
20:56:21  * jcrugzzjoined
21:01:01  * jcrugzzquit (Ping timeout: 252 seconds)
21:02:27  * mikealquit (Quit: Leaving.)
21:02:43  * mikealjoined
21:03:54  * kenansulaymanchanged nick to segfaukt
21:03:57  * segfauktchanged nick to kenansulayman
21:18:32  * mikealquit (Quit: Leaving.)
21:19:03  * perintjoined
21:20:06  * perintquit (Remote host closed the connection)
21:20:13  * perintjoined
21:21:42  * daleharvey_changed nick to daleharvey
21:24:25  * jcrugzzjoined
21:25:18  * perintquit (Remote host closed the connection)
21:25:24  * perintjoined
21:30:44  * kenansulaymantopic: http://logs.nodejs.org/leveldb/latest — http://r.va.gg/2013/11/leveldown-v0.10-managing-gc-in-native-v8-programming.html
21:37:33  * ramitosjoined
22:06:17  * jcrugzzquit (Ping timeout: 252 seconds)
22:19:43  * blessYahuquit (Ping timeout: 260 seconds)
22:34:11  * mikealjoined
22:36:00  * blessYahujoined
22:40:23  * blessYahuquit (Ping timeout: 252 seconds)
23:06:57  * daviddia_joined
23:09:27  * daviddiasquit (Ping timeout: 240 seconds)
23:11:11  * daviddia_quit (Ping timeout: 252 seconds)
23:12:35  * jcrugzzjoined
23:14:07  * eugenewarejoined
23:17:47  * jcrugzzquit (Ping timeout: 252 seconds)
23:18:20  * eugenewarequit (Ping timeout: 245 seconds)
23:26:52  <levelbot>[npm] [email protected] <http://npm.im/modella-level-count>: [![NPM version](https://badge.fury.io/js/modella-level-count.png)](http://badge.fury.io/js/modella-level-count) [![Dependency Status](https://gemnasium.com/ramitos/modella-level-count.png)](https://gemnasium.com/ramitos/modella-level-count) (@ramitos)
23:29:24  <levelbot>[npm] [email protected] <http://npm.im/modella-level-count>: keep a count index of the number of instances in a model (@ramitos)
23:38:04  * Aredrideljoined