00:01:33  * ralphtheninjajoined
00:04:18  * esundahlquit (Ping timeout: 256 seconds)
00:24:26  * rudjoined
00:29:16  * thlorenzjoined
00:33:43  <rvagg>brycebaril, justicefries: be aware that we'll be shifting to gt / gte / lt /lte as the recommended options in future, start / end will stay but the new ones are more flexible
00:33:49  <rvagg>so opt for them if you're doing new stuff
00:34:02  <rvagg>I think level.js needs them implemented but mostly they're working with the main backends
00:34:10  <rvagg>node-lmdb might need em too
00:39:10  * julianduquequit (Read error: Operation timed out)
00:43:28  * mikealquit (Quit: Leaving.)
00:49:05  * michaelrhodesjoined
00:53:26  * mikealjoined
00:55:42  * esundahljoined
00:57:56  * esundahlquit (Remote host closed the connection)
01:01:39  * esundahl_joined
01:04:37  * esundahl_quit (Remote host closed the connection)
01:05:11  * esundahljoined
01:05:31  * timoxleyjoined
01:09:57  * esundahlquit (Ping timeout: 265 seconds)
01:10:35  * mikealquit (Quit: Leaving.)
01:12:06  * mikealjoined
01:16:50  * mikealquit (Ping timeout: 256 seconds)
01:21:13  * dguttmanquit (Quit: dguttman)
02:19:17  * sneakynessjoined
02:20:03  <sneakyness>here beacuse of meatspace :3
02:26:52  * kenansulaymanquit (Ping timeout: 264 seconds)
02:27:17  * kenansulaymanjoined
02:36:09  * jmartinsquit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
02:41:31  * kenansulaymanquit (Quit: ≈ and thus my mac took a subtle yet profound nap ≈)
02:42:29  * kenansulaymanjoined
02:43:44  * kenansulaymanquit (Client Quit)
02:55:02  * julianduquejoined
03:34:26  * thlorenzquit (Remote host closed the connection)
03:48:48  * DTrejojoined
03:52:34  <chilts>looking for a best pattern for latest updated. e.g. if A was updated 10 mins ago, B updated 8 mins ago, A updated 6 mins ago, C updated 5 mins ago and A updated again 4 mins ago, it would give me 'A, C, B' as the last three but A isn't repeated
03:53:08  <chilts>I tried "last:isotime:A" but that'll give me A twice ... unless I read a load of them and de-duplicate in code
03:53:38  <chilts>but then I don't know how many to read to get 3 of them (well, let's say 25 of them for example)
03:54:19  <chilts>I guess Redis could be used with sorted sets and using the epoch as the score, but I already have LevelDB :D
03:54:19  <brycebaril>So you're keeping a log of updates?
03:54:25  <chilts>yeah
03:54:37  <brycebaril>You could do a reverse stream with a limit, maybe?
03:54:45  <chilts>so I'm updating things every now and again, sometimes the same thing
03:54:54  <brycebaril>gotcha
03:55:09  <chilts>I guess my question is, what should I do for my keys to get a de-duplicated list
03:55:29  <brycebaril>well, you could do a reverse stream without a limit and remove duplicates until you have the desired count
03:55:29  <chilts>am already streamin with a limit, but I realised I get duplicates with what I'm doing
03:55:34  <chilts>true
03:55:42  <chilts>ah, I guess I could just keep going ...
03:55:50  <chilts>and then just kill the stream?
03:55:53  <brycebaril>Yeah
03:56:00  <chilts>that probably works really well
03:56:00  <brycebaril>it should kill the iterator if you do
03:56:04  <chilts>yup
03:56:05  <chilts>awesome
03:56:14  * chiltswas in the SQL mindset then, thinking of a LIMIT
03:56:22  <chilts>but NOWAI! we're not in SQL land now :D
03:56:27  <brycebaril>maybe a good use for through2-reduce :)
03:56:37  <chilts>ah right, I could try that
03:56:42  <chilts>brycebaril: thanks :)
03:56:47  <brycebaril>Sure thing!
03:57:03  <chilts>I love it when someone just gets the solution as soon as you explain :)
03:57:11  <chilts>good work soldier
03:57:13  <brycebaril>haha
03:57:27  <brycebaril>I originally came from a redis mindset as I'm so often answering redis questsions
03:57:42  <brycebaril>where zsets are definitely the right answer
03:58:01  <brycebaril>Hmm, I wonder how you might implement a level-sorted-set
03:59:01  <chilts>yeah, I'd love to see an article on doing Redis-type stuff in LevelDB
03:59:27  <chilts>one thing I always think about is unique usernames .. and I've not quite figured out how to do that yet
03:59:28  <brycebaril>there is a new feature coming to redis that would possibly enable a RedisDOWN, that could be interesting
03:59:36  <chilts>ie. if someone types a username, to check if it's available
04:00:00  <chilts>and not have someone else take it in the middle of checking, then adding
04:00:01  * mikealjoined
04:00:19  <chilts>brycebaril: I started a RedisDown a while ago, but never finished it
04:00:51  <brycebaril>yeah, there is a new feature coming soon called SCAN that gives a cursor on keyspace (or sets or hash keys etc.)
04:00:54  <chilts>brycebaril: is that the SCAN stuff? I haven't read too much about it yet
04:00:56  <chilts>aha
04:01:02  <brycebaril>so you can theoretically do the readstream
04:01:15  <brycebaril>the issue is though it is unordered :(
04:01:23  <chilts>hmm
04:01:32  <chilts>but that makes sense in Redis land I guess
04:02:25  <brycebaril>Yeah, since they don't use a b-tree or other index for keyspaces, just raw hash stables
04:02:32  <brycebaril>heh *tables
04:06:04  <chilts>brycebaril: ok, that works really well. Just did a hash to keep track of 'seen', then an array of 'latest' to push to if not already seen :)
04:06:07  <chilts>thanks
04:06:14  * thlorenzjoined
04:06:15  <brycebaril>chilts: awesome
04:06:27  * mikealquit (Quit: Leaving.)
04:06:33  <chilts>funny how using a different tools means you have to think differently :)
04:06:34  * ednapiranhajoined
04:06:41  <chilts>well, not funny, just interesting
04:06:46  <brycebaril>Yeah
04:07:04  <brycebaril>A lot of people come into #redis and ask how to set up their table structure to hold their data
04:07:28  <brycebaril>Takes a completely different approach
04:11:30  <chilts>heh
04:13:21  * esundahljoined
04:14:05  * esundahlquit (Remote host closed the connection)
04:18:30  * mikealjoined
04:30:25  <ednapiranha>brycebaril: yo
04:30:32  <brycebaril>hey
05:08:09  * ednapiranhaquit (Remote host closed the connection)
05:11:32  <rvagg>brycebaril: can you talk to wolfeidau about highWaterMark in through2 in objectMode? you're tweaking that a fair bit I believe
05:11:41  * rvaggkind of distracted
05:13:04  <wolfeidau>brycebaril: heya just had a question in regard to through2 and weather highWaterMark applies in object mode?
05:14:02  <brycebaril>wolfeidau: it does, though how it does changed recently... would have to look which version
05:14:31  <wolfeidau>brycebaril: I just want it to not buffer unless it is being read
05:14:49  <brycebaril>it used to be that the highWaterMark would be the *number* of records buffered, i.e. 14k records I think it is much lower now
05:15:22  <brycebaril>It should only buffer if the destination stream tells it to hold up
05:15:31  <brycebaril>and then it will buffer up to the highWaterMark and then stop
05:15:48  <brycebaril>If you set it to a very small number it will pause pretty quickly
05:16:10  <brycebaril>The best way to play with this is a pipeline without a WriteStream at the end, e.g.
05:16:20  <brycebaril>var spigot = require("stream-spigot")
05:16:33  <brycebaril>var through2 = require("through2")
05:17:01  <brycebaril>then spigot([{some: "stuff}, ...]).pipe(through2(yourTransform))
05:17:13  <brycebaril>If you don't pipe that to anywhere else, it will stop at the highWaterMark
05:17:59  * thlorenzquit (Ping timeout: 272 seconds)
05:19:54  <wolfeidau>yeah i am using through2 as an end point which transforms to an RPC
05:20:17  <brycebaril>through2 can't really be an endpoint
05:20:33  <brycebaril>look at npm.im/terminus for an analagous thing for Writable streams
05:24:04  <wolfeidau>brycebaril: does it still take { objectMode: true },
05:24:18  <brycebaril>wolfeidau: yep
05:24:31  <wolfeidau>and highwatermark?
05:24:45  <brycebaril>I don't think highWaterMark is appliccable for Writable streams
05:24:51  <wolfeidau>kk
05:24:53  <wolfeidau>make sense
05:26:24  <wolfeidau>brycebaril: yeah looks like i am using the the wrong tool for the job
05:27:44  <wolfeidau>brycebaril: I wrote this to go from AMQP (rabbitmq messaging) to a stream https://github.com/wolfeidau/queue-stream
05:27:58  <wolfeidau>Which so it transforms messages into objects
05:28:01  <wolfeidau>essentiall
05:28:02  <wolfeidau>y
05:28:23  <wolfeidau>Then I pipe that into terminus (now) which calls out to an RPC
05:28:38  <wolfeidau>This looks to be more in line with the examples
05:28:45  <brycebaril>Cool
05:31:40  <wolfeidau>brycebaril: cheers for your help, much appreciated
05:31:45  <brycebaril>Sure thing!
05:34:05  * DTrejoquit (Remote host closed the connection)
05:34:31  * DTrejojoined
05:38:38  * ednapiranhajoined
05:39:12  * DTrejoquit (Ping timeout: 256 seconds)
05:40:13  * thlorenzjoined
05:42:23  <wolfeidau>brycebaril: that spy looks very handy
05:44:20  * thlorenz_joined
05:44:55  * DTrejojoined
05:44:55  * julianduquequit (Read error: Connection reset by peer)
05:44:59  * DTrejoquit (Read error: Connection reset by peer)
05:46:51  * ednapiranhaquit (Ping timeout: 240 seconds)
05:48:11  * thlorenzquit (Ping timeout: 240 seconds)
05:56:59  * thlorenz_quit (Ping timeout: 272 seconds)
05:57:54  * DTrejojoined
05:58:13  * DTrejoquit (Read error: Connection reset by peer)
06:15:27  * jcrugzzjoined
06:28:22  * jcrugzzquit (*.net *.split)
06:28:23  * chrisdickinsonquit (*.net *.split)
06:29:48  * chrisdickinsonjoined
06:30:00  * jcrugzzjoined
07:22:47  * jxsonquit (Remote host closed the connection)
07:23:16  * jxsonjoined
07:23:23  * jcrugzzquit (Ping timeout: 272 seconds)
07:27:56  * jxsonquit (Ping timeout: 265 seconds)
07:50:44  * jcrugzzjoined
07:58:36  * jcrugzzquit (Ping timeout: 256 seconds)
08:23:13  * thlorenzjoined
08:31:26  * thlorenzquit (Ping timeout: 240 seconds)
08:32:13  * michaelrhodesquit (Ping timeout: 265 seconds)
08:47:35  * DTrejojoined
08:47:41  * DTrejoquit (Read error: Connection reset by peer)
08:54:51  * thlorenzjoined
09:06:50  * kenansulaymanjoined
09:08:35  * frankblizzardjoined
09:16:05  * kenansulaymanquit (Quit: ≈ and thus my mac took a subtle yet profound nap ≈)
09:17:02  * kenansulaymanjoined
09:17:22  * thlorenzquit (Ping timeout: 256 seconds)
09:17:48  * thlorenzjoined
09:22:27  * thlorenzquit (Ping timeout: 272 seconds)
10:06:34  * ralphtheninjaquit (Quit: leaving)
10:14:15  * thlorenzjoined
10:16:51  * ralphtheninjajoined
10:18:14  * thlorenz_joined
10:19:42  * thlorenzquit (Ping timeout: 256 seconds)
10:22:59  * thlorenz_quit (Ping timeout: 272 seconds)
10:37:36  * tarrudajoined
10:48:49  * ralphtheninjaquit (Quit: leaving)
11:16:21  * thlorenzjoined
11:18:46  * thlorenz_joined
11:20:59  * thlorenzquit (Ping timeout: 272 seconds)
11:23:25  * thlorenz_quit (Ping timeout: 272 seconds)
11:39:13  * timoxleyquit (Remote host closed the connection)
11:39:30  * timoxleyjoined
11:48:09  * DTrejojoined
11:48:13  * DTrejoquit (Read error: Connection reset by peer)
12:09:08  * DTrejojoined
12:09:16  * DTrejoquit (Read error: Connection reset by peer)
12:17:02  * thlorenzjoined
12:19:16  * thlorenz_joined
12:21:48  * thlorenzquit (Ping timeout: 265 seconds)
12:23:23  * thlorenz_quit (Ping timeout: 240 seconds)
12:35:14  * kenansulaymanquit (Quit: ≈ and thus my mac took a subtle yet profound nap ≈)
12:36:00  * kenansulaymanjoined
12:41:34  * ralphtheninjajoined
13:12:35  * thlorenzjoined
13:19:47  * thlorenz_joined
13:22:38  * ednapiranhajoined
13:23:22  <ednapiranha>sneakyness: yo
13:24:14  * thlorenz_quit (Ping timeout: 264 seconds)
13:29:57  <sneakyness>here
13:30:04  <ednapiranha>sneakyness: i merged but refactored
13:30:10  <ednapiranha>just need you to verify it's ok?
13:30:13  <sneakyness>ok
13:31:13  <sneakyness>ya tat's perf
13:31:17  <ednapiranha>cool
13:31:18  <sneakyness>idk why i didn't do that
13:31:42  <ednapiranha>sneakyness: you're going to make the header pink lolol
13:32:05  <ednapiranha>sneakyness: in your readme for the app, can you make sure to add instructions for people on how to put it on their phone?
13:32:22  <ednapiranha>i believe they don't need a developer acct yeah? they can just drag and drop from itunes
13:32:45  <sneakyness>lol nope
13:32:53  * michaelrhodesjoined
13:34:12  <ednapiranha>sneakyness: was that you posting the 'omg'?
13:34:18  <sneakyness>yeah
13:34:22  <ednapiranha>hahah
13:34:26  <ednapiranha>post a gif! of the .. window
13:34:27  <ednapiranha>o rsomething
13:35:53  * thlorenzquit (Remote host closed the connection)
13:37:01  <sneakyness>boom
13:37:17  <ednapiranha>sweet!
13:37:18  <ednapiranha>:D
13:37:22  <ednapiranha>publish!!!!
13:37:44  <sneakyness>it's not ready yet
13:37:54  <ednapiranha>haha ok
13:41:19  * thlorenzjoined
13:55:24  * brianloveswordsquit (Excess Flood)
13:56:37  * brianloveswordsjoined
13:57:28  * kenansul_joined
13:57:59  * kenansul_part
13:59:31  * kenansulaymanquit (Quit: ≈♡≈)
13:59:41  * kenansulaymanjoined
14:00:47  * tmcwjoined
14:04:17  * tmcwquit (Client Quit)
14:20:15  * thlorenz_joined
14:25:04  * thlorenz_quit (Ping timeout: 256 seconds)
14:32:51  * tarrudaquit (Quit: WeeChat 0.4.2)
14:34:19  * tmcwjoined
14:36:28  * jjmalinajoined
14:43:11  * jcrugzzjoined
14:48:21  * jcrugzzquit (Ping timeout: 272 seconds)
15:01:53  * thlorenz_joined
15:05:57  * ryan_ramagejoined
15:20:54  * mikealquit (Quit: Leaving.)
15:28:55  * mikealjoined
15:31:24  * mikealquit (Client Quit)
15:34:18  * jcrugzzjoined
15:43:52  * DTrejojoined
15:44:53  * dguttmanjoined
15:45:57  * rudquit (Quit: rud)
15:48:29  * mikealjoined
15:50:33  * mikealquit (Client Quit)
16:02:29  * lepahcjoined
16:02:44  * justicefries_joined
16:06:33  * justicefriesquit (Ping timeout: 240 seconds)
16:06:33  * chapelquit (Ping timeout: 240 seconds)
16:06:33  * lepahcchanged nick to chapel
16:06:51  * justicefries_changed nick to justicefries
16:14:04  * esundahljoined
16:39:03  * kenansulaymanquit (Quit: ≈♡≈)
16:58:15  * frankblizzardquit (Remote host closed the connection)
16:58:42  * frankblizzardjoined
17:03:53  * frankblizzardquit (Ping timeout: 272 seconds)
17:07:22  * frankblizzardjoined
17:07:36  * mikealjoined
17:08:47  * thlorenzquit (Remote host closed the connection)
17:10:02  * thlorenzjoined
17:13:06  * frankblizzardquit (Read error: Connection reset by peer)
17:13:21  * frankblizzardjoined
17:20:00  * thlorenzquit (Remote host closed the connection)
17:22:23  * thlorenzjoined
17:22:43  * thlorenzquit (Remote host closed the connection)
17:22:54  * tarrudajoined
17:36:48  * mikealquit (Quit: Leaving.)
17:43:08  * jxsonjoined
17:47:14  * thlorenzjoined
17:48:13  * Acconutjoined
17:50:53  * frankblizzardquit (Remote host closed the connection)
17:51:52  * Acconutquit (Client Quit)
18:07:24  * frankblizzardjoined
18:09:06  * julianduquejoined
18:13:55  * michaelrhodesquit (Ping timeout: 272 seconds)
18:23:54  * DTrejoquit (Remote host closed the connection)
18:24:20  * DTrejojoined
18:28:52  * thlorenzquit (Remote host closed the connection)
18:29:09  * DTrejoquit (Ping timeout: 265 seconds)
18:30:33  * thlorenzjoined
18:31:04  * thlorenzquit (Remote host closed the connection)
18:31:06  * thloren__joined
18:47:55  * mikealjoined
18:51:48  * tarrudaquit (Quit: WeeChat 0.4.2)
18:51:52  * Acconutjoined
18:52:13  * Acconutquit (Client Quit)
19:56:04  * frankblizzardquit (Remote host closed the connection)
20:22:27  * tarrudajoined
20:33:25  * alessioalexjoined
20:33:40  <alessioalex>hey guys
20:34:01  <alessioalex>does anybody have an example / gist of multilevel && sublevel?
20:47:26  * ramitosquit (Quit: Textual IRC Client: www.textualapp.com)
20:48:11  * Acconutjoined
20:48:16  * Acconutquit (Client Quit)
20:56:37  * Acconutjoined
21:03:21  * tmcw_joined
21:07:36  * jxsonquit (*.net *.split)
21:07:36  * tmcwquit (*.net *.split)
21:07:37  * chiltsquit (*.net *.split)
21:08:21  * tmcw_quit (Ping timeout: 272 seconds)
21:09:21  * jxsonjoined
21:14:02  * tmcwjoined
21:14:25  * chiltsjoined
21:18:31  * rudjoined
21:26:17  * Acconutquit (Quit: Acconut)
21:29:53  * alessioalexquit (Quit: Page closed)
21:30:36  * kenansulaymanjoined
21:36:28  * tmcwquit (Read error: Connection reset by peer)
21:37:00  * tmcwjoined
21:52:34  * jcrugzzchanged nick to jcrugzz|afk
21:53:19  * ryan_ramagequit (Ping timeout: 272 seconds)
21:53:32  * ryan_ramagejoined
21:58:38  * Acconutjoined
21:58:43  * Acconutquit (Client Quit)
22:04:31  * Acconutjoined
22:05:11  * Acconutquit (Client Quit)
22:24:12  * thloren__quit (Remote host closed the connection)
22:36:00  * thlorenz_quit (Remote host closed the connection)
22:36:36  * thlorenz_joined
22:36:36  * thlorenzjoined
22:41:08  * thlorenz_quit (Ping timeout: 268 seconds)
22:47:02  * brianloveswordsquit (Excess Flood)
22:47:10  * brianloveswordsjoined
22:51:29  * thlorenzquit (Remote host closed the connection)
22:55:47  * mikealquit (Quit: Leaving.)
23:00:56  * tmcwquit (Remote host closed the connection)
23:01:32  * tmcwjoined
23:05:04  * ryan_ramagequit (Quit: ryan_ramage)
23:05:52  * tmcwquit (Ping timeout: 246 seconds)
23:06:49  * thlorenzjoined
23:15:39  * thlorenzquit (Ping timeout: 272 seconds)
23:17:04  * tarrudaquit (Ping timeout: 246 seconds)
23:21:43  * esundahlquit (Ping timeout: 272 seconds)
23:22:35  * thlorenzjoined
23:23:03  * zz_eugenewarechanged nick to eugeneware
23:27:03  * ednapiranhaquit (Quit: Leaving...)
23:31:04  * thlorenzquit (Ping timeout: 264 seconds)
23:31:32  * jjmalinaquit (Quit: Leaving.)
23:34:08  <chapel>does leveldb work on nodejitsu?
23:34:39  <kenansulayman>chapel nope
23:34:44  <chapel>hrm
23:34:59  <chapel>I was hoping I could use leveldb for nodeknockout :(
23:35:08  <kenansulayman>well it works
23:35:21  <kenansulayman>but only if you accept losing your data on deployment
23:38:03  * rudquit (Ping timeout: 248 seconds)
23:38:15  * rudjoined
23:39:43  <chapel>hmm
23:39:46  <chapel>I see what you mean
23:40:06  <chapel>then again for nko, it wouldn't be too bad
23:40:26  <chapel>since once the dev period is done, you can't deploy again
23:40:55  * ryan_ramagejoined
23:41:03  * ryan_ramagequit (Client Quit)
23:41:31  * sneakynessquit (Remote host closed the connection)
23:41:45  * thlorenzjoined
23:43:28  <rvagg>chapel: nko is hosted on joyent directly this year not nodejitsu so you'll be able to use it
23:43:50  <chapel>okay
23:43:56  <chapel>guess they should update the docs then
23:44:10  <chapel>rvagg: are you participating, judge or comp?
23:44:30  <rvagg>probably judging but certainly manning support during parts of the comp
23:44:42  <chapel>support as in, leveldb?
23:44:48  <rvagg>as in #nodeknockout
23:44:51  <chapel>oh
23:44:53  <rvagg>general support
23:49:17  * rud_joined
23:49:17  * rud_quit (Changing host)
23:49:17  * rud_joined
23:50:12  * thlorenzquit (Ping timeout: 268 seconds)
23:50:25  * mesch_joined
23:56:59  * brianloveswords_joined
23:57:38  * Punnajoined
23:58:10  * rudquit (*.net *.split)
23:58:10  * brianloveswordsquit (*.net *.split)
23:58:11  * Pwnnaquit (*.net *.split)
23:58:11  * meschquit (*.net *.split)
23:58:11  * rud_changed nick to rud
23:58:16  * Punnachanged nick to Pwnna
23:58:23  * mesch_changed nick to mesch