Best unofficial Apache Server developers community |
| |||||
| Feb 8, 2012 | |||||
|
Милость |
|
||||
|
Predis and Sort March 19, 2011 10:08:26 PM I am using Predis and having problems with sorting an unsorted set... // Insert 100 integers with varying value from 0 to 1000 $count = 0; while ($count < 100) { $redis->sadd("list_a", rand(0,1000)); $count++; } // Sort the set and limit to… Predis pipelined HGET May 30, 2011 04:52:48 AM Hi there, I try to use the following code to do a pipelined HGET, but the result is complicated Predis Object, not a list of values I need: <? //g1~g3 are HASH with a field called tie. $conn = new Predis\Client(); $pipe = $conn->pipeline();… connection timeout and predis October 27, 2011 10:30:48 AM Hi All, I am writing an php object using redis as backend store. The object has a private variable which stores an predis connection object. My question is, if the connection is put idle for some time e.g. 3 min., redis will disconnect the client.… master-slave with predis June 23, 2011 08:24:17 AM Hi There, I plan to setup a pair of redis servers. My question is, can I use predis to connect to the *pair* of servers, so that write request are only sent to the master and read requests are sent to the slave (or to both servers)? Thanks,… multi/exec syntax in Predis November 30, 2010 04:24:02 AM Hi, Both of the following works, what's the difference? #1: $redis->multi(); $redis->hmset('test', array('name' => 'test', 'value' => 1)); $redis->expire('test', 60); $redis->exec(); #2: $pipe = $redis->multiExec();… Predis vs. phpRedis, pipelining, clustering and others November 26, 2010 05:09:11 PM Hi There, I wonder how Predis compare to phpRedis, in the following aspects: 1) which one support command pipelining better? 2) How about clustering support? Which one follows redis development faster? 3) Which one performs better? 4) And how… Predis - Removing server from the connection pool September 19, 2011 01:54:01 PM Say, I am having N servers in the predis connection pool. I found that when one of the server does down, predis does not work(i.e. new predis/client(s1,s2,...) does not return successfully if any of the server Si is down). First, the entry of that… Predis: Error while reading line from the server September 24, 2010 03:18:09 AM Hi all, I am using PHP library Predis - http://github.com/nrk/predis/, and I am seeing in log: [24-Sep-2010 10:11:31] PHP Fatal error: Uncaught exception 'Predis \CommunicationException' with message 'Error while reading line from the server' in… why wont my list function work!?!? July 16, 2010 12:09:17 AM i have a view: function(doc) {if (doc.docType == 'audit') { emit([doc.auditRecord.resourceType, doc.auditRecord.resourceId, doc.auditRecord.subResourceType, doc.auditRecord.subResource], [doc.auditRecord.auditStamp.createDateTime,… Web service return type List<T> doesn't work January 15, 2011 06:15:23 AM I have a requirement to return List of custom class(FeedMetaData) objects from a web service method. When I invoke this method from client, I am getting ClassCast Exception. FeedMetaData is simple bean class with 3 fields of type String. Below… Will include_docs still work when querying a list (couch 0.10.0)? July 18, 2010 10:54:54 PM Hi, I am using a list function to filter a view, basically the list function takes some parameters, filters the view and sends back JSON using the toJSON function to my application. I am just wondering if I add include_docs that I am still able to… Created: (VFS-310) FTP: improved 'LIST' command may work incorrectly with certain servers June 5, 2010 10:02:00 AM FTP: improved 'LIST' command may work incorrectly with certain servers Bug 1019] DKIM multiple signature generation does not work (dkim_domain list) February 1, 2011 04:38:30 PM ------- You are receiving this mail because: ------- You are on the CC list for the bug. http://bugs.exim.org/show_bug.cgi?id=1019 --- Comment #12 from Uwe Doering <gem### @geminix.org> 2011-02-01 22:03:05 --- Hi there, On 2010-09-30… Bug 1019] DKIM multiple signature generation does not work (dkim_domain list) February 21, 2011 12:17:37 AM ------- You are receiving this mail because: ------- You are on the CC list for the bug. http://bugs.exim.org/show_bug.cgi?id=1019 Git Commit <g### @exim.org> changed: What |Removed |Added Bug 1019] DKIM multiple signature generation does not work (dkim_domain list) February 21, 2011 12:12:57 AM ------- You are receiving this mail because: ------- You are on the CC list for the bug. http://bugs.exim.org/show_bug.cgi?id=1019 Phil Pennock <p### @exim.org> changed: What |Removed |Added Created] (THRIFT-1150) List Deserialization with jQuery doesnt work April 17, 2011 06:50:46 PM List Deserialization with jQuery doesnt work Commented] (DERBY-11) Recursive SQL and WITH A(col list) as (Select col list From Table List) Suppor September 14, 2011 02:34:34 PM [ https://issues.apache.org/jira/browse/DERBY-11?page=com.atlassian.jira .plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13 104811#comment-13104811 ] Rick Hillegas commented on DERBY-11: Created] (FELIX-3025) Add a configuration status list with a short bundle list July 7, 2011 01:59:57 AM Add a configuration status list with a short bundle list Created: (PIG-1907) replace use of TupleFactory.newTupleNoCopy(List) with newTuple(List) in some of March 15, 2011 11:28:00 AM replace use of TupleFactory.newTupleNoCopy(List) with newTuple(List) in some of the physical operators Instead of using 'java.util.List', what if using a special List, e.g., 'scala.collection.immutable.L February 7, 2011 06:20:57 PM Hello, I would like to ask about the one-to-many relationship in JDO. The below code is a actual working code. Instead of using 'java.util.List', what if I use a special List, for example 'scala.collection.immutable.List' as a collection? As my… Resharding with Predis and Redis October 15, 2010 Since redis hasn't released a cluster implementation yet (only master-slave support), I am looking into other horizontal scale solutions, such as… How do I install Predis on XAMPP windows? May 2, 2011 Hello all, I installed Predis on XAMPP windows machine using pearhub (pear install pearhub/predis). It installed without any error messages. But… How to determine the list of absentees(employees) with the list of present,and the master employee list in MySQL? April 4, 2011 I Have two tables employee(name,id) which consists of all the employees and another table reader(id,date) which gives the dates and which employee… Single SQL query that returns list of "most commented" relative to past 7 days, but the list always has to contain something June 21, 2011 What first seemed easy has now become a bit of a brain teaser. I'm building one of those "Most Commented" or "Most Emailed" lists that you see in… How Do I Achieve Mailchimp List + External Database List Status Synchronization? February 2, 2011 I'm new to the world of MailChimp and custom API integrations so please bear with me. I'm also an internet marketer (not a developer), so please… How to get list of mongodb databases and collections list from a ruby on rails app February 28, 2011 Hi; I am using Rails 3 and Mongoid gem. But I need to fill a combobox with the list of mongodb databases. In mongodb shell we can list databases… How convert type of List<System.IO.FileInfo> to List<string>?? April 14, 2011 I need to convert this type of List to List of string: var fileName = (new DirectoryInfo(filePath)).GetFiles(".",… Print hierarchy data(adjacency list model) in a list(ul/ol/li) January 3, 2011 I have an adjacency list model like here . I have made a full table containing all data ordered by level using this: SELECT t1.name AS lev1, t2.name… Linux shell utils: convert a list of hex to list of decimals December 27, 2010 Hello How can I convert a file with a lot hex numbers into the decimal? Example: file1 0x59999 0x5acdc 0xffeff I want to start $ cat file1 | util |… Mysql in list only validates first id in list. maybe a blob issue March 28, 2011 I work with a system that used comma separated values as a one-2-many relation. It is stored in as a blob. I try to use the MySQL IN (LIST), but… New to NoSQL, How do I get list of category names from a list of ids May 11, 2011 My structure cat:id:name -> name of category cat:id:subcats -> set of subcategories cat:list -> list of category ids The following gives me… Preg_replace help - need to replace [list]..[/list] with HTML May 22, 2011 Hi, I can't get my head around this and I could really use some help. I want to replace text like this [list]line 0 line 1 line 2 [/list] with… MySQL: How to select FROM table WHERE IN LIST and NOT IN another list February 17, 2011 Is it possible to select values from a table, where they don't exist in one list, but do exist in another... or they other way around? E.g. SELECT… Populate dropdown list with list of databases March 11, 2011 .Hi everyone i need a little help for my dropdown menu. .I already know how to populate a dropdown list from a database but what i want to do is to… Sed: How can I make this bash command work/work better? April 13, 2011 My objective is to simply to change a function call from one to another, anywhere the first one is found, recursively. In this case, mysql_error( to… Why does this :id in Rails not work with Postgresql but it does work with MySQL? February 25, 2011 I am using this method for search engine friendly URLs in Rails - http://jroller.com/obie/entry/seo_optimization_of_urls_in My model looks like… How to select value from a drop-down list, get the corresponding values from another table, then put those into another drop-down list? January 30, 2011 Ok, here's a database. http://i.imgur.com/j05AB.png Say I've inserted values into the database for each of these tables, although the IDs would be… How can I get a list of ordered rows from a list of ordered ids from a MySQL table? April 26, 2011 I'm working in PHP, and I have a list of ids, which are ranked, with the first being the most important. I'm retrieving the rows using something… My work laptop uses company DNS even when I'm not at work February 22, 2011 My company gave me a laptop for work and I've noticed that it is using my company's DNS servers even when I'm at home and not on a VPN. I noticed… PHP - FTP list files March 5, 2011 I am new to the FTP feature of PHP. I have a directory within my FTP location called documents. I need to get the folders/files within another… | |||||