[00:04:13] pierrooo (~pierrooo@AGrenoble-257-1-34-48.w86-206.abo.wanadoo.fr) joined #redis. [00:04:22] hi [00:04:38] what's the complexity of creating a sorted set with all scores equal (to 0) ? [00:07:30] Given a first sorted set with non-zero scores, I want to get the sorted set resulting in keeping just the members I've in an array. I wanted to create another sorted set with all scores equal to 0, and then use ZINTERSTORE. Dunno if it's the best way to do it though... [00:08:46] martincozzi (~martincoz@c-67-180-194-70.hsd1.ca.comcast.net) left irc: Quit: martincozzi [00:08:57] http://groups.google.com/group/redis-db/browse_thread/thread/9f1797f6e2e984ab/557b794a7df7fa1f ! we can ZINTERSECT a set and a sorted set ! Great [00:11:46] rittyan (~rittyan@176.14.223.175) joined #redis. [00:12:56] Net_RoY (~NetRoY@nat/yahoo/x-bowvsiwhsuhfxjon) joined #redis. [00:13:22] Net_RoY_ (~NetRoY@nat/yahoo/x-hkqauohpiquhakwt) joined #redis. [00:16:12] NetRoY (~NetRoY@nat/yahoo/x-mxnzlqrtxufcgeqj) left irc: Ping timeout: 244 seconds [00:17:07] Net_RoY (~NetRoY@nat/yahoo/x-bowvsiwhsuhfxjon) left irc: Ping timeout: 240 seconds [00:18:57] Brend_ (~brend@220-136-176-4.dynamic.hinet.net) joined #redis. [00:19:22] p1d (~p1d@ns1.vonaffenfels.de) joined #redis. [00:22:49] kushal (~kdas@116.203.204.164) joined #redis. [00:22:49] kushal (~kdas@116.203.204.164) left irc: Changing host [00:22:49] kushal (~kdas@fedora/kushal) joined #redis. [00:28:32] kuko (~quassel@158.193.99.77) left irc: Remote host closed the connection [00:28:44] kuko (~quassel@158.193.99.77) joined #redis. [00:37:06] Jrz (~jrz@87.239.184.141) joined #redis. [00:39:49] kushal (~kdas@fedora/kushal) left irc: Ping timeout: 248 seconds [00:48:17] rittyan (~rittyan@176.14.223.175) left irc: Remote host closed the connection [00:56:58] kushal (~kdas@116.203.192.21) joined #redis. [00:56:58] kushal (~kdas@116.203.192.21) left irc: Changing host [00:56:58] kushal (~kdas@fedora/kushal) joined #redis. [01:01:35] hackband (~hackband@83.89.211.130) joined #redis. [01:02:59] dropdrive (~dropdrive@cpe-72-227-159-70.nyc.res.rr.com) left irc: Read error: Operation timed out [01:04:21] dropdrive (~dropdrive@cpe-72-227-159-70.nyc.res.rr.com) joined #redis. [01:04:57] Wombert (~Wombert@dslb-088-067-188-199.pools.arcor-ip.net) left irc: Quit: Wombert [01:06:14] Net_RoY_ (~NetRoY@nat/yahoo/x-hkqauohpiquhakwt) left irc: Quit: Net_RoY_ [01:06:30] NetRoY (~NetRoY@nat/yahoo/x-yfyatpeqierdluhz) joined #redis. [01:15:31] dougx (~doug@196.214.44.226) joined #redis. [01:17:23] Brend_ (~brend@220-136-176-4.dynamic.hinet.net) left irc: Remote host closed the connection [01:17:35] d0k (~d0k@p50921D2C.dip.t-dialin.net) joined #redis. [01:17:35] bmizerany (~bmizerany@204.28.124.126) left irc: Remote host closed the connection [01:19:06] thehodge (~thehodge@2001:470:1f09:13a3:8c05:22d4:26a6:ece7) left irc: Read error: Connection reset by peer [01:19:09] thehodge_ (~thehodge@cpc5-seac20-2-0-cust310.7-2.cable.virginmedia.com) joined #redis. [01:32:56] dribdrab (~dribdrab@c-24-5-88-169.hsd1.ca.comcast.net) left irc: Quit: dribdrab [01:34:11] jrydberg_ (~jrydberg@c-2c08e253.1137-1-64736c10.cust.bredbandsbolaget.se) left irc: Quit: This computer has gone to sleep [01:42:38] io_syl (~io_syl@unaffiliated/steph021) left irc: Quit: Computer has gone to sleep. [01:43:30] drbobbeaty (~drbobbeat@c-67-184-75-162.hsd1.il.comcast.net) joined #redis. [01:49:40] nopz___ (~nopz___@8.14.117.35) joined #redis. [02:06:58] saschagehlich (~saschageh@p5DD55901.dip.t-dialin.net) joined #redis. [02:10:06] rittyan (~rittyan@dhcp-216-33-wifi.yandex.net) joined #redis. [02:11:15] Hasegeli (~emre_hase@212.156.129.218) left irc: Ping timeout: 240 seconds [02:18:23] daniel_karlsson (~kardan@c83-254-118-140.bredband.comhem.se) left irc: Quit: daniel_karlsson [02:19:22] drbobbeaty (~drbobbeat@c-67-184-75-162.hsd1.il.comcast.net) left irc: Quit: drbobbeaty [02:20:43] Wombert (~Wombert@munich.bitextender.net) joined #redis. [02:20:51] JeremyWei (~textual@122.193.209.13) left irc: Quit: Computer has gone to sleep. [02:33:51] thehodge_ (~thehodge@cpc5-seac20-2-0-cust310.7-2.cable.virginmedia.com) left irc: Remote host closed the connection [02:34:15] thehodge (~thehodge@cpc5-seac20-2-0-cust310.7-2.cable.virginmedia.com) joined #redis. [02:38:35] thehodge (~thehodge@cpc5-seac20-2-0-cust310.7-2.cable.virginmedia.com) left irc: Ping timeout: 240 seconds [03:37:23] martincozzi (~martincoz@67.180.194.70) joined #redis. [03:39:43] cdepue (~cdepue@host214.190-137-172.telecom.net.ar) joined #redis. [03:43:11] martincozzi (~martincoz@67.180.194.70) left irc: Quit: martincozzi [03:45:53] dvirsky (~dvirsky@31.168.0.52) joined #redis. [03:47:28] martincozzi (~martincoz@c-67-180-194-70.hsd1.ca.comcast.net) joined #redis. [03:48:44] drbobbeaty (~drbobbeat@38.98.137.29) joined #redis. [03:50:02] martincozzi (~martincoz@c-67-180-194-70.hsd1.ca.comcast.net) left irc: Client Quit [03:53:12] dvirsky (~dvirsky@31.168.0.52) left irc: Remote host closed the connection [03:54:08] sreeix (~sreeix@122.166.231.238) left irc: Quit: sreeix [03:56:03] sreeix (~sreeix@59.97.1.67) joined #redis. [03:56:05] versicolor (~quassel@90.154.202.86) joined #redis. [03:57:29] jano (~djanowski@190.245.30.40) joined #redis. [04:05:41] nicholasf (~nicholasf@ppp196-159.static.internode.on.net) left irc: Remote host closed the connection [04:05:43] seppo0010 (~Adium@200.69.194.105) joined #redis. [04:11:23] seppo0010 (~Adium@200.69.194.105) left #redis. [04:14:20] wam (~wam@unaffiliated/wam) joined #redis. [04:17:20] kushal (~kdas@fedora/kushal) left irc: Ping timeout: 252 seconds [04:22:15] tilgovi (~randall@couchdb/developer/tilgovi) joined #redis. [04:22:38] tilgovi (~randall@couchdb/developer/tilgovi) left irc: Remote host closed the connection [04:31:57] brunov (~bruno@74-154-89-200.fibertel.com.ar) joined #redis. [04:32:40] brunov (~bruno@74-154-89-200.fibertel.com.ar) left irc: Client Quit [04:32:53] brunov (~bruno@74-154-89-200.fibertel.com.ar) joined #redis. [04:35:44] elcuervo (~elcuervo@r186-48-200-126.dialup.adsl.anteldata.net.uy) joined #redis. [04:36:20] elcuervo (~elcuervo@r186-48-200-126.dialup.adsl.anteldata.net.uy) left irc: Read error: Connection reset by peer [04:36:49] elcuervo (~elcuervo@r186-48-200-126.dialup.adsl.anteldata.net.uy) joined #redis. [04:55:39] sreeix_ (~sreeix@59.97.1.67) joined #redis. [04:56:07] sreeix (~sreeix@59.97.1.67) left irc: Ping timeout: 240 seconds [04:56:07] Nick change: sreeix_ -> sreeix [04:58:17] jano (~djanowski@190.245.30.40) left irc: Remote host closed the connection [05:00:21] cdepue (~cdepue@host214.190-137-172.telecom.net.ar) left irc: Read error: Connection reset by peer [05:00:45] cdepue (~cdepue@host214.190-137-172.telecom.net.ar) joined #redis. [05:00:55] cdepue (~cdepue@host214.190-137-172.telecom.net.ar) left irc: Read error: Connection reset by peer [05:01:20] cdepue (~cdepue@host214.190-137-172.telecom.net.ar) joined #redis. [05:01:31] cdepue (~cdepue@host214.190-137-172.telecom.net.ar) left irc: Read error: Connection reset by peer [05:02:00] cdepue (~cdepue@host214.190-137-172.telecom.net.ar) joined #redis. [05:05:45] cdepue (~cdepue@host214.190-137-172.telecom.net.ar) left irc: Read error: Connection reset by peer [05:07:25] jano (~djanowski@190.245.30.40) joined #redis. [05:12:47] brianseeders (~BS@108-216-88-132.lightspeed.bcvloh.sbcglobal.net) joined #redis. [05:24:44] jonesy (~jonesy@68.64.144.221) joined #redis. [05:31:19] moos3 (~rgenthner@cpe-72-224-121-41.maine.res.rr.com) joined #redis. [05:32:25] old_sound (~old_sound@77-58-253-248.dclient.hispeed.ch) left irc: Quit: old_sound [05:42:28] ceej_ (~anonymous@72.190.40.203) joined #redis. [05:43:57] sreeix (~sreeix@59.97.1.67) left irc: Quit: sreeix [05:45:25] sreeix (~sreeix@122.166.231.238) joined #redis. [05:46:02] NetRoY (~NetRoY@nat/yahoo/x-yfyatpeqierdluhz) left irc: Quit: NetRoY [05:47:41] sreeix (~sreeix@122.166.231.238) left irc: Client Quit [05:52:12] __alex (~alex@tmo-102-18.customers.d1-online.com) joined #redis. [05:54:59] fanjie (~fanjie@c-67-180-77-58.hsd1.ca.comcast.net) left irc: Quit: fanjie [05:56:30] soveran (~soveran@186.19.214.247) joined #redis. [05:57:14] fanjie (~fanjie@c-67-180-77-58.hsd1.ca.comcast.net) joined #redis. [05:59:49] brianseeders (~BS@108-216-88-132.lightspeed.bcvloh.sbcglobal.net) left irc: Ping timeout: 248 seconds [06:05:14] jano (~djanowski@190.245.30.40) left irc: Remote host closed the connection [06:07:50] Geffy (~geoffgars@2a02:40:2:0:30c3:ae5f:56b8:3b8f) joined #redis. [06:09:29] seppo00101 (~Adium@200.69.194.105) joined #redis. [06:09:49] seppo00101 (~Adium@200.69.194.105) left #redis. [06:10:29] xetorthio (~jleibiusk@200.41.238.50) joined #redis. [06:14:09] Nick change: ceej_ -> ceej [06:15:51] dougx (~doug@196.214.44.226) left #redis. [06:17:02] seppo0010 (~Adium@200.69.194.105) joined #redis. [06:28:35] xetorthio (~jleibiusk@200.41.238.50) left irc: Ping timeout: 240 seconds [06:28:44] rb2k (~rb2k@HSI-KBW-134-3-0-160.hsi14.kabel-badenwuerttemberg.de) joined #redis. [06:29:00] NetRoY (~NetRoY@122.178.222.95) joined #redis. [06:33:13] daelious (~daelious@ip-12-157-188-198.kindredhealthcare.com) joined #redis. [06:33:44] xetorthio (~jleibiusk@200.41.238.50) joined #redis. [06:36:28] seppo0010 (~Adium@200.69.194.105) left #redis. [06:37:58] jano (~djanowski@host101.181-4-35.telecom.net.ar) joined #redis. [06:46:47] muhqu (~Adium@pD958118A.dip.t-dialin.net) left irc: Ping timeout: 240 seconds [06:52:44] muhqu (~Adium@pD951F7BE.dip.t-dialin.net) joined #redis. [06:57:52] io_syl (~io_syl@adsl-69-105-118-125.dsl.pltn13.pacbell.net) joined #redis. [06:57:52] io_syl (~io_syl@adsl-69-105-118-125.dsl.pltn13.pacbell.net) left irc: Changing host [06:57:52] io_syl (~io_syl@unaffiliated/steph021) joined #redis. [07:02:58] martincozzi (~martincoz@c-67-180-194-70.hsd1.ca.comcast.net) joined #redis. [07:04:24] lux___ (~lux@adsl-220-164.37-151.net24.it) joined #redis. [07:04:26] lux___ (~lux@adsl-220-164.37-151.net24.it) left #redis. [07:04:58] martincozzi (~martincoz@c-67-180-194-70.hsd1.ca.comcast.net) left irc: Client Quit [07:06:36] Geffy (~geoffgars@2a02:40:2:0:30c3:ae5f:56b8:3b8f) left irc: Quit: hurty brain :( [07:09:24] io_syl (~io_syl@unaffiliated/steph021) left irc: Quit: Computer has gone to sleep. [07:11:08] jano (~djanowski@host101.181-4-35.telecom.net.ar) left irc: Ping timeout: 252 seconds [07:11:37] jano (~djanowski@host101.181-4-35.telecom.net.ar) joined #redis. [07:14:20] el_kevino (~el_kevino@216.249.7.209.tor.pathcom.com) joined #redis. [07:16:51] NetRoY (~NetRoY@122.178.222.95) left irc: Quit: NetRoY [07:18:52] h0bbit (~vedang@121.243.225.226) left irc: Ping timeout: 240 seconds [07:21:14] kenperkins (~textual@50-47-18-37.evrt.wa.frontiernet.net) left irc: Quit: Computer has gone to sleep. [07:24:41] Swimming_Bird (~textual@64.70.114.89) joined #redis. [07:26:30] NetRoY (~NetRoY@122.178.222.95) joined #redis. [07:27:37] jtsnow (~jtsnow@75-169-84-216.slkc.qwest.net) joined #redis. [07:27:45] Sarevok (~locke@rrcs-98-101-176-143.midsouth.biz.rr.com) joined #redis. [07:37:50] rittyan (~rittyan@dhcp-216-33-wifi.yandex.net) left irc: Remote host closed the connection [07:40:03] wmage (~wmage@nat-88-212-40-142.antik.sk) joined #redis. [07:43:04] radiocats (~chatzilla@h-64-236-128-42.nat.aol.com) joined #redis. [07:49:09] Sarevok (~locke@rrcs-98-101-176-143.midsouth.biz.rr.com) left irc: Quit: Leaving. [07:52:23] Sarevok (~locke@rrcs-98-101-176-143.midsouth.biz.rr.com) joined #redis. [07:52:55] axl__ (~axl@173-11-52-113-Minnesota.hfc.comcastbusiness.net) joined #redis. [07:55:24] NetRoY (~NetRoY@122.178.222.95) left irc: Quit: NetRoY [07:56:02] axl_ (~axl@173-11-52-113-Minnesota.hfc.comcastbusiness.net) left irc: Ping timeout: 244 seconds [07:58:00] wmage (~wmage@nat-88-212-40-142.antik.sk) left irc: Read error: Connection timed out [07:58:27] p1d (~p1d@ns1.vonaffenfels.de) left irc: Ping timeout: 240 seconds [07:58:52] andymccurdy (~andymccur@c-67-188-242-100.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep. [07:59:08] nicholasf (~nicholasf@ppp196-159.static.internode.on.net) joined #redis. [07:59:30] hackband (~hackband@83.89.211.130) left irc: Remote host closed the connection [08:10:11] RedisBot joined #redis. [08:10:57] daelious (~daelious@ip-12-157-188-198.kindredhealthcare.com) joined #redis. [08:15:26] io_syl (~io_syl@66.201.45.155) joined #redis. [08:15:26] io_syl (~io_syl@66.201.45.155) left irc: Changing host [08:15:26] io_syl (~io_syl@unaffiliated/steph021) joined #redis. [08:18:29] Tuxist (~quassel@dslb-092-077-028-120.pools.arcor-ip.net) left irc: Read error: Connection reset by peer [08:18:48] axl_ (~axl@173-11-52-113-Minnesota.hfc.comcastbusiness.net) joined #redis. [08:20:03] axl_ (~axl@173-11-52-113-Minnesota.hfc.comcastbusiness.net) left irc: Read error: Connection reset by peer [08:21:38] Jrz (~jrz@87.239.184.141) left irc: Quit: Computer has gone to sleep. [08:22:58] pharkmillups (~markphill@70-36-146-239.dsl.dynamic.sonic.net) joined #redis. [08:28:50] thehodge (~thehodge@leeds.simpleusability.com) joined #redis. [08:33:40] martincozzi (~martincoz@c-67-180-194-70.hsd1.ca.comcast.net) joined #redis. [08:35:12] jano (~djanowski@host101.181-4-35.telecom.net.ar) left irc: Remote host closed the connection [08:36:25] kenperkins (~textual@174-24-164-49.tukw.qwest.net) joined #redis. [08:45:05] seppo0010 (~Adium@200.69.194.105) joined #redis. [08:45:42] kenperkins (~textual@174-24-164-49.tukw.qwest.net) left irc: Read error: Connection reset by peer [08:45:51] kenperkins (~textual@174-24-164-49.tukw.qwest.net) joined #redis. [08:47:30] seppo0010 (~Adium@200.69.194.105) left #redis. [08:47:42] _macro (~Neil@c-67-169-183-90.hsd1.ca.comcast.net) joined #redis. [08:47:43] ank (~ank@c-67-172-16-188.hsd1.pa.comcast.net) joined #redis. [08:51:40] KevBurnsJr (~KevBurnsJ@50.0.103.39) joined #redis. [08:54:25] p1d (~p1d@ns1.vonaffenfels.de) left irc: Ping timeout: 244 seconds [08:56:02] _macro (~Neil@c-67-169-183-90.hsd1.ca.comcast.net) left irc: Quit: Computer has gone to sleep [08:59:48] Geffy (~geoffgars@78-86-18-187.zone2.bethere.co.uk) joined #redis. [08:59:49] thehodge_ (~thehodge@82.109.33.196) joined #redis. [08:59:54] wam (~wam@unaffiliated/wam) left irc: Quit: Ex-Chat [09:00:57] Nick change: NuckOff -> Nuck [09:01:12] elcuervo_ (~elcuervo@r186-48-200-126.dialup.adsl.anteldata.net.uy) joined #redis. [09:03:08] thehodge (~thehodge@leeds.simpleusability.com) left irc: Ping timeout: 252 seconds [09:04:00] xcbt (~xcbt@208-100-139-67.bendbroadband.com) joined #redis. [09:04:18] grampajoe (~grampa@97-95-65-8.dhcp.stpt.wi.charter.com) joined #redis. [09:04:26] elcuervo (~elcuervo@r186-48-200-126.dialup.adsl.anteldata.net.uy) left irc: Ping timeout: 252 seconds [09:05:51] sreeix (~sreeix@122.167.124.196) joined #redis. [09:07:37] sreeix (~sreeix@122.167.124.196) left irc: Client Quit [09:10:33] perezd (~derek@108-71-92-105.lightspeed.sntcca.sbcglobal.net) joined #redis. [09:18:44] andymccurdy (~andymccur@69.12.160.66) joined #redis. [09:21:15] nicholasf (~nicholasf@ppp196-159.static.internode.on.net) left irc: Remote host closed the connection [09:22:25] thehodge_ (~thehodge@82.109.33.196) left irc: Remote host closed the connection [09:22:31] andymccurdy (~andymccur@69.12.160.66) left irc: Remote host closed the connection [09:22:49] thehodge (~thehodge@82.109.33.196) joined #redis. [09:23:04] andymccurdy (~andymccur@69.12.160.66) joined #redis. [09:23:24] Jrz (~jrz@d152222.upc-d.chello.nl) joined #redis. [09:23:30] awksed2greep (~awksedgre@c-24-98-243-58.hsd1.ga.comcast.net) left irc: Quit: This computer has gone to sleep [09:24:16] muhqu (~Adium@pD951F7BE.dip.t-dialin.net) left irc: Quit: Leaving. [09:27:08] thehodge (~thehodge@82.109.33.196) left irc: Ping timeout: 245 seconds [09:30:08] radiocats (~chatzilla@h-64-236-128-42.nat.aol.com) left irc: Ping timeout: 240 seconds [09:38:52] blackdog_ (~blackdog@pc-116-208-164-190.cm.vtr.net) joined #redis. [09:41:37] wmage (~wmage@nat-88-212-40-142.antik.sk) joined #redis. [09:42:02] jtsnow (~jtsnow@75-169-84-216.slkc.qwest.net) left irc: Quit: jtsnow [09:43:00] nopz___ (~nopz___@8.14.117.35) left irc: Quit: This computer has gone to sleep [09:43:13] h0bbit (~vedang@59.95.2.40) joined #redis. [09:43:38] blackdog_ (~blackdog@pc-116-208-164-190.cm.vtr.net) left #redis. [09:44:42] jtsnow (~jtsnow@75-169-84-216.slkc.qwest.net) joined #redis. [09:48:42] Jrz (~jrz@d152222.upc-d.chello.nl) left irc: Quit: Computer has gone to sleep. [09:49:35] Jrz (~jrz@d152222.upc-d.chello.nl) joined #redis. [09:50:15] dribdrab (~dribdrab@c-24-5-88-169.hsd1.ca.comcast.net) joined #redis. [09:51:11] rittyan (~rittyan@176.14.223.175) joined #redis. [09:55:24] xcbt (~xcbt@208-100-139-67.bendbroadband.com) left irc: Remote host closed the connection [09:59:05] chrisjones (~chrisjone@ip68-224-245-47.lv.lv.cox.net) joined #redis. [10:02:03] wmage (~wmage@nat-88-212-40-142.antik.sk) left irc: Read error: Connection timed out [10:03:47] thehodge (~thehodge@cpc5-seac20-2-0-cust310.7-2.cable.virginmedia.com) joined #redis. [10:07:12] radiocats (~chatzilla@h-64-236-128-42.nat.aol.com) joined #redis. [10:08:22] Jrz (~jrz@d152222.upc-d.chello.nl) left irc: Quit: Computer has gone to sleep. [10:12:25] mactenchi (~anonymous@173.227.6.108) joined #redis. [10:14:12] Jrz (~jrz@d152222.upc-d.chello.nl) joined #redis. [10:16:15] martincozzi (~martincoz@c-67-180-194-70.hsd1.ca.comcast.net) left irc: Quit: martincozzi [10:19:16] ceej (~anonymous@72.190.40.203) left irc: Quit: ceej [10:19:56] ceej (~anonymous@cpe-72-190-40-203.tx.res.rr.com) joined #redis. [10:20:56] ceej (~anonymous@cpe-72-190-40-203.tx.res.rr.com) left irc: Remote host closed the connection [10:22:42] Hello. I think i need an advice how to use redis for this application, since i can't find prefix-scan GET foo* [10:23:47] need to store a running window of N last versions of string, each with custom expiration time [10:24:04] _macro (~Neil@accessnat4.mochimedia.net) joined #redis. [10:25:05] jano (~djanowski@host108.186-111-122.telecom.net.ar) joined #redis. [10:25:13] temoto: foos = conn.smembers('foo_index'); pipe = conn.pipeline(); for foo in foos: pipe.get(foo); pipe.execute() [10:25:21] My first guess would be to store N string keys. But at some point i need to retrieve all of strings which seems to require O(n) KEYS command [10:26:36] rb2k (~rb2k@HSI-KBW-134-3-0-160.hsi14.kabel-badenwuerttemberg.de) left irc: Quit: rb2k [10:27:11] rittyan, MGET would be better then? [10:27:32] temoto: yep, forgot about it [10:27:43] Now i have a problem with expiration of foo_index memebers, though. [10:27:56] No you don't [10:28:07] How? [10:28:16] if MGET returns null for some key - it has expired [10:28:40] Yep, great. But foo_index still contains all previous key names. [10:28:41] rurufufuss (~rurufufus@115-64-27-246.static.tpgi.com.au) joined #redis. [10:29:09] wait, you said you need to keep N items [10:29:22] axl_ (~axl@173-11-52-113-Minnesota.hfc.comcastbusiness.net) joined #redis. [10:29:27] keep a list (not a set), and keep it N elements long [10:30:00] axl_ (~axl@173-11-52-113-Minnesota.hfc.comcastbusiness.net) left irc: Client Quit [10:30:13] axl_ (~axl@173-11-52-113-Minnesota.hfc.comcastbusiness.net) joined #redis. [10:30:56] rittyan, thank you, Mr. Redis, you saved me again. [10:31:07] k, hope it helps [10:34:56] insin (~insin@host31-53-248-180.range31-53.btcentralplus.com) joined #redis. [10:40:48] daelious (~daelious@ip-12-157-188-198.kindredhealthcare.com) left #redis. [10:41:47] elcuervo_ (~elcuervo@r186-48-200-126.dialup.adsl.anteldata.net.uy) left irc: Remote host closed the connection [10:42:04] tmm1 (~agupta@208-75-84-157.slicehost.net) left irc: Ping timeout: 240 seconds [10:42:27] shawn_ (~shawn@208-78-98-92.slicehost.net) left irc: Ping timeout: 240 seconds [10:42:27] elcuervo (~elcuervo@r186-48-200-126.dialup.adsl.anteldata.net.uy) joined #redis. [10:43:26] elcuervo (~elcuervo@r186-48-200-126.dialup.adsl.anteldata.net.uy) left irc: Read error: Connection reset by peer [10:44:04] elcuervo (~elcuervo@r186-48-200-126.dialup.adsl.anteldata.net.uy) joined #redis. [10:48:34] Uh, not directly redis related but I hope I can find an answer here (its a ruby issue). I have the redis gem (2.2.2), and doing exactly as the docs say I get a argumenterror [10:56:10] tmm1 (~agupta@208-75-84-157.slicehost.net) joined #redis. [11:00:46] wmage (~wmage@nat-88-212-40-142.antik.sk) joined #redis. [11:01:06] awksed2greep (~awksedgre@66.6.147.87) joined #redis. [11:02:05] pharkmillups (~markphill@70-36-146-239.dsl.dynamic.sonic.net) left irc: Quit: pharkmillups [11:03:00] xcbt (~xcbt@bc98121.bendcable.com) joined #redis. [11:05:23] Geffy (~geoffgars@78-86-18-187.zone2.bethere.co.uk) left irc: Quit: leaving [11:06:52] awksed2greep (~awksedgre@66.6.147.87) left irc: Ping timeout: 252 seconds [11:08:05] __alex (~alex@tmo-102-18.customers.d1-online.com) left irc: Ping timeout: 248 seconds [11:08:51] xcbt (~xcbt@bc98121.bendcable.com) left irc: Remote host closed the connection [11:09:47] elcuervo (~elcuervo@r186-48-200-126.dialup.adsl.anteldata.net.uy) left irc: Remote host closed the connection [11:10:27] gtuhl (~gtuhl@12.166.56.146) left irc: Ping timeout: 240 seconds [11:11:02] martincozzi (~martincoz@209.66.114.6) joined #redis. [11:11:28] awksed2greep (~awksedgre@glo3.manheim.com) joined #redis. [11:18:08] nopz___ (~nopz___@8.14.117.35) joined #redis. [11:19:48] So this is quite odd. I'm missing what conf param controls what user redis drops perms to [11:21:04] oh nvm, seems its debian [11:22:15] Nick change: Nuck -> NuckOff [11:24:29] dribdrab (~dribdrab@c-24-5-88-169.hsd1.ca.comcast.net) left irc: Quit: dribdrab [11:24:47] rb2k (~rb2k@HSI-KBW-134-3-0-160.hsi14.kabel-badenwuerttemberg.de) joined #redis. [11:38:46] is there a web page, man page etc that documents redis.conf ? [11:42:46] sigmonsay: the default redis.conf ships with a bunch of documentation [11:44:33] unixsockperm is not in there but still mentioned [11:44:38] but ok [11:44:54] axl_ (~axl@173-11-52-113-Minnesota.hfc.comcastbusiness.net) left irc: Read error: Connection reset by peer [11:45:01] Wombert (~Wombert@munich.bitextender.net) left irc: Quit: Wombert [11:48:18] axl_ (~axl@173-11-52-113-Minnesota.hfc.comcastbusiness.net) joined #redis. [11:52:41] __alex (~alex@g225249239.adsl.alicedsl.de) joined #redis. [11:52:50] Nick change: io_syl -> io_syl_away [11:54:27] Nick change: wmoss|away -> wmoss [11:57:04] axl__ (~axl@173-11-52-113-Minnesota.hfc.comcastbusiness.net) joined #redis. [11:59:34] Nick change: wmoss -> wmoss|away [12:00:47] axl_ (~axl@173-11-52-113-Minnesota.hfc.comcastbusiness.net) left irc: Ping timeout: 252 seconds [12:01:26] paatrick1123 (~paatrick1@cpe-24-160-179-157.columbus.res.rr.com) left irc: Ping timeout: 248 seconds [12:04:02] Jrz (~jrz@d152222.upc-d.chello.nl) left irc: Ping timeout: 244 seconds [12:04:45] Jrz (~jrz@d152222.upc-d.chello.nl) joined #redis. [12:04:49] Nick change: hoodow_ -> hoodow [12:05:22] hoodow (~hoodow@2001:41d0:2:b214:20::5) left irc: Changing host [12:05:22] hoodow (~hoodow@pdpc/supporter/active/hoodow) joined #redis. [12:11:29] Nick change: wmoss|away -> wmoss [12:17:02] Nick change: wmoss -> wmoss|away [12:18:05] kuko (~quassel@158.193.99.77) left irc: Remote host closed the connection [12:20:25] Nick change: wmoss|away -> wmoss [12:22:59] rb2k (~rb2k@HSI-KBW-134-3-0-160.hsi14.kabel-badenwuerttemberg.de) left irc: Quit: rb2k [12:29:44] pharkmillups (~markphill@70-36-146-239.dsl.dynamic.sonic.net) joined #redis. [12:30:24] elcuervo (~elcuervo@r186-48-200-126.dialup.adsl.anteldata.net.uy) joined #redis. [12:31:07] Nick change: io_syl_away -> io_syl [12:31:56] brunov (~bruno@74-154-89-200.fibertel.com.ar) left irc: Quit: Ex-Chat [12:39:06] rb2k (~rb2k@HSI-KBW-134-3-0-160.hsi14.kabel-badenwuerttemberg.de) joined #redis. [12:43:32] rb2k (~rb2k@HSI-KBW-134-3-0-160.hsi14.kabel-badenwuerttemberg.de) left irc: Ping timeout: 248 seconds [12:44:10] bmizerany (~bmizerany@204.14.152.118) joined #redis. [12:44:48] petercooper (~petercoop@host-2-97-191-20.as13285.net) joined #redis. [13:00:03] pharkmillups (~markphill@70-36-146-239.dsl.dynamic.sonic.net) left irc: Quit: pharkmillups [13:01:29] jano (~djanowski@host108.186-111-122.telecom.net.ar) left irc: Ping timeout: 252 seconds [13:01:42] rurufufuss (~rurufufus@115-64-27-246.static.tpgi.com.au) left irc: Read error: Connection reset by peer [13:01:52] wam (~wam@unaffiliated/wam) joined #redis. [13:03:56] nopz___ (~nopz___@8.14.117.35) left irc: Quit: This computer has gone to sleep [13:04:56] nopz___ (~nopz___@8.14.117.35) joined #redis. [13:05:18] h0bbit (~vedang@59.95.2.40) left irc: Read error: Operation timed out [13:06:03] grampajoe (~grampa@97-95-65-8.dhcp.stpt.wi.charter.com) left irc: Quit: Bye! [13:06:54] dribdrab (~dribdrab@70-36-146-235.dsl.dynamic.sonic.net) joined #redis. [13:08:25] axl_ (~axl@173-11-52-113-Minnesota.hfc.comcastbusiness.net) joined #redis. [13:09:02] Jrz (~jrz@d152222.upc-d.chello.nl) left irc: Quit: Computer has gone to sleep. [13:10:09] petercooper (~petercoop@host-2-97-191-20.as13285.net) left irc: Remote host closed the connection [13:10:47] __alex (~alex@g225249239.adsl.alicedsl.de) left irc: Ping timeout: 240 seconds [13:11:23] axl__ (~axl@173-11-52-113-Minnesota.hfc.comcastbusiness.net) left irc: Ping timeout: 252 seconds [13:18:49] d0k (~d0k@p50921D2C.dip.t-dialin.net) left irc: Quit: he does that [13:19:31] xetorthio (~jleibiusk@200.41.238.50) left irc: Quit: Ex-Chat [13:23:30] awksed2greep (~awksedgre@glo3.manheim.com) left irc: Quit: This computer has gone to sleep [13:28:05] paatrick1123 (~paatrick1@cpe-24-160-179-157.columbus.res.rr.com) joined #redis. [13:30:42] dribdrab (~dribdrab@70-36-146-235.dsl.dynamic.sonic.net) left irc: Quit: dribdrab [13:32:56] PiotrSikora (~none@nginx/adept/piotrsikora) left irc: Excess Flood [13:35:27] PiotrSikora (~none@nginx/adept/piotrsikora) joined #redis. [13:36:27] elcuervo (~elcuervo@r186-48-200-126.dialup.adsl.anteldata.net.uy) left irc: Ping timeout: 240 seconds [13:44:43] dirtmcgirt (~dirtmcgir@24-104-69-46-ip-static.hfc.comcastbusiness.net) joined #redis. [13:46:30] jonesy (~jonesy@68.64.144.221) left irc: Quit: Computer has gone to sleep. [13:51:45] bmizerany (~bmizerany@204.14.152.118) left irc: Remote host closed the connection [13:52:27] martincozzi (~martincoz@209.66.114.6) left irc: Quit: martincozzi [13:54:21] petercooper (~petercoop@82.144.254.2) joined #redis. [13:55:59] pharkmillups (~markphill@70-36-146-239.dsl.dynamic.sonic.net) joined #redis. [14:00:03] bmizerany (~bmizerany@204.14.152.118) joined #redis. [14:03:16] ceej (~anonymous@cpe-72-190-40-203.tx.res.rr.com) joined #redis. [14:13:09] saschagehlich (~saschageh@p5DD55901.dip.t-dialin.net) left irc: Remote host closed the connection [14:24:08] Nick change: wmoss -> wmoss|away [14:26:39] lux___ (~lux@ppp-73-14.24-151.libero.it) joined #redis. [14:27:22] wmage (~wmage@nat-88-212-40-142.antik.sk) left irc: Quit: Leaving... [14:28:47] wam (~wam@unaffiliated/wam) left irc: Quit: Ex-Chat [14:32:44] bmizerany (~bmizerany@204.14.152.118) left irc: Remote host closed the connection [14:36:16] Nick change: wmoss|away -> wmoss [14:36:24] martincozzi (~martincoz@209.66.114.6) joined #redis. [14:37:28] lux___ (~lux@ppp-73-14.24-151.libero.it) left irc: Read error: Operation timed out [14:37:48] lux___ (~lux@ppp-73-14.24-151.libero.it) joined #redis. [14:41:43] drbobbeaty (~drbobbeat@38.98.137.29) left irc: Quit: drbobbeaty [14:53:35] martincozzi (~martincoz@209.66.114.6) left irc: Quit: martincozzi [14:58:40] radiocats (~chatzilla@h-64-236-128-42.nat.aol.com) left irc: Remote host closed the connection [15:09:21] fedesilva (~fedesilva@r200-40-68-22.ae-static.anteldata.net.uy) joined #redis. [15:12:19] martincozzi (~martincoz@209.66.114.6) joined #redis. [15:14:14] brianseeders (~BS@108-216-88-132.lightspeed.bcvloh.sbcglobal.net) joined #redis. [15:14:57] martincozzi (~martincoz@209.66.114.6) left irc: Client Quit [15:19:11] martincozzi (~martincoz@209.66.114.6) joined #redis. [15:20:38] arek_deepinit (~arek@esposa.patyk.net.pl) joined #redis. [15:24:52] el_kevino (~el_kevino@216.249.7.209.tor.pathcom.com) left irc: Read error: Connection reset by peer [15:25:39] el_kevino (~el_kevino@216.249.7.209.tor.pathcom.com) joined #redis. [15:27:05] martincozzi (~martincoz@209.66.114.6) left irc: Ping timeout: 244 seconds [15:30:32] bmizerany (~bmizerany@adsl-99-35-129-239.dsl.pltn13.sbcglobal.net) joined #redis. [15:31:59] bmizerany (~bmizerany@adsl-99-35-129-239.dsl.pltn13.sbcglobal.net) left irc: Remote host closed the connection [15:36:18] nopz___ (~nopz___@8.14.117.35) left irc: Quit: This computer has gone to sleep [15:46:12] Wombert (~Wombert@dslb-092-074-120-056.pools.arcor-ip.net) joined #redis. [15:47:01] pharkmillups_ (~markphill@70-36-146-239.dsl.dynamic.sonic.net) joined #redis. [15:47:20] pharkmillups (~markphill@70-36-146-239.dsl.dynamic.sonic.net) left irc: Read error: Connection reset by peer [15:47:21] Nick change: pharkmillups_ -> pharkmillups [15:51:14] clizzin (~clizzin@208-90-212-253.PUBLIC.monkeybrains.net) joined #redis. [15:51:24] can a 2.2 redis be a slaveof a 2.4 redis? [15:52:34] fedesilva (~fedesilva@r200-40-68-22.ae-static.anteldata.net.uy) left irc: Quit: gone [15:55:39] martincozzi (~martincoz@209.66.114.6) joined #redis. [15:59:15] clizzin: I remember reading that it's okay temporarily for a live upgrade, but won't work for a long run because of new commands unsupported on the 2.2 side [15:59:45] Swimming_Bird (~textual@64.70.114.89) left irc: Quit: Computer has gone to sleep. [15:59:48] Kosma: cool, thanks [16:00:20] also, do you or anyone else happen to know how the slave promotion process works? it sounds like you point the application to start using the former slave, and then run SLAVEOF NO ONE [16:00:38] yep, exactly [16:00:47] but if a slave is listening to the master *and* taking new commands from clients, how does the slave resolve those? [16:01:12] well, I'm not entirely sure as I've not tested this [16:01:16] does a slave obey any client's operations even though it's a slave? [16:01:26] but IIRC, it accepts both the commands from master and from the clients [16:03:09] Kosma: hum, okay [16:03:23] that seems strange to me since i'm used to master/slave replication on mysql databases, which is set up such that the slave is read-only [16:03:24] so, well... it does introduce inconsistency [16:04:09] but from the slave's point of view, there's no real distinction between write commands received from the master and from the clients [16:05:03] i see [16:05:13] so the slave doesn't sync the value of keys, it just replays commands issued to the maste [16:05:14] master* [16:05:23] yep [16:05:57] btw, the big difference between mysql and redis replication is that redis downloads the entire database snapshot during every sync, while mysql keeps it on-disk so it needs to stay in sync [16:07:18] jonesy (~jonesy@pool-173-71-115-162.cmdnnj.fios.verizon.net) joined #redis. [16:19:47] martincozzi (~martincoz@209.66.114.6) left irc: Read error: Connection reset by peer [16:20:16] martincozzi (~martincoz@209.66.114.6) joined #redis. [16:26:44] soveran (~soveran@186.19.214.247) left irc: Remote host closed the connection [16:30:54] tilgovi (~randall@c-98-210-155-124.hsd1.ca.comcast.net) joined #redis. [16:30:54] tilgovi (~randall@c-98-210-155-124.hsd1.ca.comcast.net) left irc: Changing host [16:30:54] tilgovi (~randall@couchdb/developer/tilgovi) joined #redis. [16:36:27] nicholasf (~nicholasf@ppp196-159.static.internode.on.net) joined #redis. [16:39:46] thehodge (~thehodge@cpc5-seac20-2-0-cust310.7-2.cable.virginmedia.com) left irc: Read error: Connection reset by peer [16:40:10] thehodge (~thehodge@2001:470:1f09:13a3:e588:cfdd:6ad6:39c3) joined #redis. [16:41:55] thehodge (~thehodge@2001:470:1f09:13a3:e588:cfdd:6ad6:39c3) left irc: Remote host closed the connection [16:42:22] thehodge (~thehodge@cpc5-seac20-2-0-cust310.7-2.cable.virginmedia.com) joined #redis. [16:44:50] dribdrab (~dribdrab@70-36-146-235.dsl.dynamic.sonic.net) joined #redis. [16:46:18] awksed2greep (~awksedgre@c-24-98-243-58.hsd1.ga.comcast.net) joined #redis. [16:52:38] kenperkins (~textual@174-24-164-49.tukw.qwest.net) left irc: Ping timeout: 252 seconds [16:58:38] perezd (~derek@108-71-92-105.lightspeed.sntcca.sbcglobal.net) left irc: Ping timeout: 240 seconds [17:01:23] arek_deepinit (~arek@esposa.patyk.net.pl) left irc: Remote host closed the connection [17:01:49] Swimming_Bird (~textual@cpe-68-173-86-46.nyc.res.rr.com) joined #redis. [17:01:54] axl_ (~axl@173-11-52-113-Minnesota.hfc.comcastbusiness.net) left irc: Quit: axl_ [17:05:18] Sarevok (~locke@rrcs-98-101-176-143.midsouth.biz.rr.com) left #redis. [17:15:57] lux___ (~lux@ppp-73-14.24-151.libero.it) left irc: Read error: Connection timed out [17:16:09] dirtmcgirt (~dirtmcgir@24-104-69-46-ip-static.hfc.comcastbusiness.net) left irc: Quit: dirtmcgirt [17:16:58] lux___ (~lux@ppp-73-14.24-151.libero.it) joined #redis. [17:18:17] soveran (~soveran@186.19.214.247) joined #redis. [17:25:28] lux___ (~lux@ppp-73-14.24-151.libero.it) left irc: Read error: Connection reset by peer [17:25:52] lux___ (~lux@ppp-73-14.24-151.libero.it) joined #redis. [17:28:18] Is it valid to SORT foo LIMIT 0 1 STORE foo ? [17:38:18] hackband (~hackband@1385159443.dhcp.dbnet.dk) joined #redis. [17:41:20] jtsnow (~jtsnow@75-169-84-216.slkc.qwest.net) left irc: Quit: jtsnow [17:48:34] hackband (~hackband@1385159443.dhcp.dbnet.dk) left irc: Remote host closed the connection [17:50:59] pharkmillups (~markphill@70-36-146-239.dsl.dynamic.sonic.net) left irc: Quit: pharkmillups [17:55:50] lux___ (~lux@ppp-73-14.24-151.libero.it) left irc: Read error: Connection timed out [17:56:37] __alex (~alex@g230197095.adsl.alicedsl.de) joined #redis. [17:57:05] lux___ (~lux@ppp-73-14.24-151.libero.it) joined #redis. [17:59:35] clizzin (~clizzin@208-90-212-253.PUBLIC.monkeybrains.net) left irc: Ping timeout: 252 seconds [18:00:52] jtsnow (~jtsnow@75-169-84-216.slkc.qwest.net) joined #redis. [18:02:51] jtsnow (~jtsnow@75-169-84-216.slkc.qwest.net) left irc: Client Quit [18:04:53] soveran (~soveran@186.19.214.247) left irc: [18:07:01] Swimming_Bird (~textual@cpe-68-173-86-46.nyc.res.rr.com) left irc: Quit: Computer has gone to sleep. [18:14:48] brianseeders (~BS@108-216-88-132.lightspeed.bcvloh.sbcglobal.net) left irc: Ping timeout: 252 seconds [18:19:13] chrisjones (~chrisjone@ip68-224-245-47.lv.lv.cox.net) left irc: Quit: Textual IRC Client: http://www.textualapp.com/ [18:20:08] chrisjones (~chrisjone@ip68-224-245-47.lv.lv.cox.net) joined #redis. [18:24:19] insin (~insin@host31-53-248-180.range31-53.btcentralplus.com) left irc: Quit: What's the point in giving us haaaaannnds? [18:26:31] _macro (~Neil@accessnat4.mochimedia.net) left irc: Ping timeout: 252 seconds [18:27:19] Wombert (~Wombert@dslb-092-074-120-056.pools.arcor-ip.net) left irc: Quit: Wombert [18:27:51] thehodge (~thehodge@cpc5-seac20-2-0-cust310.7-2.cable.virginmedia.com) left irc: Read error: Connection reset by peer [18:28:15] thehodge (~thehodge@cpc5-seac20-2-0-cust310.7-2.cable.virginmedia.com) joined #redis. [18:46:09] Nick change: wmoss -> wmoss|away [18:50:10] chrisjones (~chrisjone@ip68-224-245-47.lv.lv.cox.net) left irc: Quit: Textual IRC Client: http://www.textualapp.com/ [18:57:27] brianseeders (~BS@108-216-88-132.lightspeed.bcvloh.sbcglobal.net) joined #redis. [19:02:56] senderista (~senderist@c-50-135-89-122.hsd1.wa.comcast.net) joined #redis. [19:04:26] bmizerany (~bmizerany@204.28.124.126) joined #redis. [19:09:26] andymccurdy (~andymccur@69.12.160.66) left irc: Ping timeout: 252 seconds [19:23:49] lux___ (~lux@ppp-73-14.24-151.libero.it) left irc: Read error: Connection timed out [19:24:21] lux___ (~lux@ppp-73-14.24-151.libero.it) joined #redis. [19:40:46] io_syl (~io_syl@unaffiliated/steph021) left irc: Quit: Computer has gone to sleep. [19:42:43] lux___ (~lux@ppp-73-14.24-151.libero.it) left irc: Quit: This computer has gone to sleep [19:48:23] martincozzi (~martincoz@209.66.114.6) left irc: Read error: Connection reset by peer [19:48:23] martincozzi_ (~martincoz@209.66.114.6) joined #redis. [19:48:24] Nick change: martincozzi_ -> martincozzi [19:55:12] martincozzi (~martincoz@209.66.114.6) left irc: Quit: martincozzi [19:56:16] kushal (~kdas@fedora/kushal) joined #redis. [20:08:04] dribdrab (~dribdrab@70-36-146-235.dsl.dynamic.sonic.net) left irc: Quit: dribdrab [20:18:59] kenperkins (~textual@50-47-18-37.evrt.wa.frontiernet.net) joined #redis. [20:24:03] io_syl (~io_syl@adsl-69-105-118-125.dsl.pltn13.pacbell.net) joined #redis. [20:24:03] io_syl (~io_syl@adsl-69-105-118-125.dsl.pltn13.pacbell.net) left irc: Changing host [20:24:03] io_syl (~io_syl@unaffiliated/steph021) joined #redis. [20:31:38] KevBurnsJr (~KevBurnsJ@50.0.103.39) left irc: [20:33:31] andymccurdy (~andymccur@c-67-188-242-100.hsd1.ca.comcast.net) joined #redis. [20:35:02] synk (~synk@ugate.dwango.co.jp) joined #redis. [20:44:06] jtsnow (~jtsnow@75-169-84-216.slkc.qwest.net) joined #redis. [20:44:45] jtsnow (~jtsnow@75-169-84-216.slkc.qwest.net) left irc: Client Quit [20:45:21] senderista (~senderist@c-50-135-89-122.hsd1.wa.comcast.net) left irc: Ping timeout: 244 seconds [20:48:54] senderista (~senderist@c-50-135-89-122.hsd1.wa.comcast.net) joined #redis. [20:49:53] dribdrab (~dribdrab@c-24-5-174-76.hsd1.ca.comcast.net) joined #redis. [21:10:34] Swimming_Bird (~textual@cpe-68-173-86-46.nyc.res.rr.com) joined #redis. [21:13:30] JeremyWei (~textual@122.193.209.13) joined #redis. [21:29:14] norman_ (8c609e64@gateway/web/freenode/ip.140.96.158.100) joined #redis. [21:30:43] dougx (~doug@mail.virtuosa.co.za) joined #redis. [21:33:16] brianseeders (~BS@108-216-88-132.lightspeed.bcvloh.sbcglobal.net) left irc: Ping timeout: 240 seconds [21:35:41] NetRoY (~NetRoY@nat/yahoo/x-fxryefrevyegfoei) joined #redis. [21:37:35] norman_ (8c609e64@gateway/web/freenode/ip.140.96.158.100) left irc: Quit: Page closed [21:37:44] Swimming_Bird (~textual@cpe-68-173-86-46.nyc.res.rr.com) left irc: Quit: Computer has gone to sleep. [21:39:18] dribdrab (~dribdrab@c-24-5-174-76.hsd1.ca.comcast.net) left irc: Quit: dribdrab [21:42:19] perezd (~derek@99-105-56-161.lightspeed.sntcca.sbcglobal.net) joined #redis. [21:49:03] bmizerany (~bmizerany@204.28.124.126) left irc: Remote host closed the connection [22:13:32] senderista (~senderist@c-50-135-89-122.hsd1.wa.comcast.net) left irc: Quit: senderista [22:13:58] ruser_ (7be71288@gateway/web/freenode/ip.123.231.18.136) joined #redis. [22:15:25] xcbt (~xcbt@bc98121.bendcable.com) joined #redis. [22:18:05] S1kx (~S1kx@pdpc/supporter/monthlybyte/s1kx) left irc: Quit: Leaving [22:19:10] does anyone have any idea about how I can do the following in Redis : store a set of number ranges like (1 - 5, 10 - 20, 50 - 60) and figure out the range identifier when entering a random number? [22:19:34] example: for the set of number ranges above, if I enter 2, it should return (1 - 5) [22:20:55] the best (hacky) solution I can come up with is a sorted list of numbers (with indices stored separately). When I get a new number, I insert in order and then check the members immediately before and after [22:29:11] MarcelT3 (~MarcelT3@sub17.rz-zw.fh-kl.de) left irc: Read error: Connection reset by peer [22:29:45] MarcelT3 (~MarcelT3@sub17.rz-zw.fh-kl.de) joined #redis. [22:30:45] to put it in another way, what's the best way to implement the equivalent of a BETWEEN in a relational database query? [22:32:10] Heh, this is a interview question I had exactly. [22:32:49] hahah. no interview here :) [22:33:10] also, I think I found some good solutions here: http://groups.google.com/group/redis-db/browse_thread/thread/96b61b91bc5f4224/9acfe6d265aa2185?lnk=gst&q=between#9acfe6d265aa2185 [22:34:33] from reading that, it seems like my idea of indexing only the end of the range doesn't seem too terrible [22:34:37] Nick change: wmoss|away -> wmoss [22:35:00] I always keep wondering if I am missing some obvious best practice, though [22:38:04] _macro (~Neil@c-67-169-183-90.hsd1.ca.comcast.net) joined #redis. [22:38:06] bmizerany (~bmizerany@204.28.124.126) joined #redis. [22:39:49] ceej (~anonymous@cpe-72-190-40-203.tx.res.rr.com) left irc: Quit: ceej [22:47:15] rittyan (~rittyan@176.14.223.175) left irc: Remote host closed the connection [22:47:44] nicholasf (~nicholasf@ppp196-159.static.internode.on.net) left irc: Remote host closed the connection [22:56:08] yank (~Yank@c-24-16-39-22.hsd1.wa.comcast.net) joined #redis. [22:57:53] synk (~synk@ugate.dwango.co.jp) left irc: Quit: Leaving... [23:00:00] perezd (~derek@99-105-56-161.lightspeed.sntcca.sbcglobal.net) left irc: Quit: perezd [23:01:32] xcbt (~xcbt@bc98121.bendcable.com) left irc: Remote host closed the connection [23:04:47] versicolor (~quassel@90.154.202.86) left irc: Ping timeout: 240 seconds [23:05:15] versicolor (~quassel@90.154.202.86) joined #redis. [23:05:39] xcbt (~xcbt@bc98121.bendcable.com) joined #redis. [23:06:39] yank (~Yank@c-24-16-39-22.hsd1.wa.comcast.net) left irc: Quit: yank [23:08:36] Tuxist (~quassel@dslb-092-077-014-198.pools.arcor-ip.net) joined #redis. [23:18:40] wmage (~wmage@nat-88-212-40-142.antik.sk) joined #redis. [23:19:56] xcbt (~xcbt@bc98121.bendcable.com) left irc: Remote host closed the connection [23:29:45] ruser_ (7be71288@gateway/web/freenode/ip.123.231.18.136) left irc: Quit: Page closed [23:31:37] Nick change: wmoss -> wmoss|away [23:39:13] bmizerany (~bmizerany@204.28.124.126) left irc: Ping timeout: 245 seconds [23:40:03] Tuxist (~quassel@dslb-092-077-014-198.pools.arcor-ip.net) left irc: Quit: No Ping reply in 180 seconds. [23:40:25] Tuxist (~quassel@dslb-092-077-014-198.pools.arcor-ip.net) joined #redis. [23:41:17] wam (~wam@unaffiliated/wam) joined #redis. [23:42:02] h0bbit (~vedang@121.243.225.226) joined #redis. [23:43:23] rittyan (~rittyan@dhcp-216-33-wifi.yandex.net) joined #redis. [23:46:30] I have different hehaviors on different machines with a transaction [23:47:10] reso (~reso@94.30.43.205) left irc: Remote host closed the connection [23:47:36] reso (~reso@94.30.43.205) joined #redis. [23:51:31] petercooper (~petercoop@82.144.254.2) left irc: Remote host closed the connection [00:00:00] --- Wed Dec 14 2011