similar to: mongrel process stopped listening but "phantom thread" still going

Displaying 20 results from an estimated 200 matches similar to: "mongrel process stopped listening but "phantom thread" still going"

2006 Mar 13
7
Wilcard search
Hello, I''m writing a search function for my application, but I am unsure on how to search for all results that contain my search string; here''s what I''ve got: def search @products = Product.find(:all, :conditions => "date_available < now()", :conditions => [ "title ilike ?",
2013 Mar 05
4
searching model and has_one association
Howdy. I have these models: User, field "mundane_name" user has_one :instructor_profile (may or may not exist) instructor_profile, field "sca_name" belongs_to :user I would like to craft a search on these fields, which is effectively this, but in one go: matching_users = User.where("mundane_name ILIKE ?", "%#{target}%") matching_profiles =
2013 Apr 19
0
Question marks in SQL string literals
Hi all! Recently I discovered that AR tries to treat question marks inside SQL string literals as parameters, however this behaviour shows in very rare cases, for example (very odd, but...): User.where("NOT EXISTS (#{ Comment.where(''user_id = users.id AND body ILIKE ?'', ''%?'').to_sql }) AND created_at > ?", Date.yesterday).to_sql It will fail,
2017 Jun 06
0
integrating 2 lists and a data frame in R
Reproducible example, please. -- In particular, what exactly does C look ilike? (You should know this by now). -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Mon, Jun 5, 2017 at 6:45 PM, Bogdan Tanasa <tanasa at gmail.com>
2017 Jun 06
1
integrating 2 lists and a data frame in R
Here's another approach: N <- data.frame(N=c("n1","n2","n3","n4")) M <- data.frame(M=c("m1","m2","m3","m4","m5")) C <- data.frame(n=c("n1","n2","n3"), m=c("m1","m1","m3"), I=c(100,300,400)) # Rebuild the factors using M and N C$m <-
2017 Jun 06
4
integrating 2 lists and a data frame in R
Dear Bert, thank you for your response. here it is the piece of R code : given 3 data frames below --- N <- data.frame(N=c("n1","n2","n3","n4")) M <- data.frame(M=c("m1","m2","m3","m4","m5")) C <- data.frame(n=c("n1","n2","n3"),
2017 Jun 06
0
integrating 2 lists and a data frame in R
Hi Bogdan, Kinda messy, but: N <- data.frame(N=c("n1","n2","n3","n4")) M <- data.frame(M=c("m1","m2","m3","m4","m5")) C <- data.frame(n=c("n1","n2","n3"), m=c("m1","m1","m3"), I=c(100,300,400))
2017 Jun 06
0
integrating 2 lists and a data frame in R
Thank you David. Using xtabs operation simplifies the code very much, many thanks ;) On Tue, Jun 6, 2017 at 7:44 AM, David Winsemius <dwinsemius at comcast.net> wrote: > > > On Jun 6, 2017, at 4:01 AM, Jim Lemon <drjimlemon at gmail.com> wrote: > > > > Hi Bogdan, > > Kinda messy, but: > > > > N <-
2017 Jun 06
2
integrating 2 lists and a data frame in R
> On Jun 6, 2017, at 4:01 AM, Jim Lemon <drjimlemon at gmail.com> wrote: > > Hi Bogdan, > Kinda messy, but: > > N <- data.frame(N=c("n1","n2","n3","n4")) > M <- data.frame(M=c("m1","m2","m3","m4","m5")) > C <-
2017 Jun 06
1
integrating 2 lists and a data frame in R
Simple matrix indexing suffices without any fancier functionality. ## First convert M and N to character vectors -- which they should have been in the first place! M <- sort(as.character(M[,1])) N <- sort(as.character(N[,1])) ## This could be a one-liner, but I'll split it up for clarity. res <-matrix(NA, length(M),length(N),dimnames = list(M,N)) res[as.matrix(C[,2:1])] <-
2011 Nov 26
1
32 vs 64 bit difference?
I've spent the last few hours baffled by a test suite inconsistency. The exact same library code gives slightly different answers on the home and work machines - found in my R CMD check run. I've recopied the entire directory to make sure it's really identical code. The data set and fit in question has a pretty flat "top" to the likelihood. I put print statements in to
2006 Mar 10
5
case insensitive search
I am having trouble with a simple gallery search. I type in a segment of the address and i only seem to be getting results if I use the correct case. This is in my Gallery controller: def search @gallery = Gallery.find(:all, :include => :property, :conditions => "address LIKE ''%#{@params[:keywords]}%''") end On a different note: I am having
2006 Jun 19
2
fuzzy search
This may be offtopic to Rails, but what are people doing to find records based on fuzzy string matches? For example, if you wanted to find a Person with name "David Heinemeier Hansson" but searched using the string "Dave Hansson". Currently I am find_by_sql that calls the PostgreSQL function "levenshtein(string1, string2)" which returns results with a score
2006 Apr 20
7
Rails + postgres case insensitive searches.
Hello all I am wondering how rails handles case sensitivity in databases. If I do a Person.find_all_by_name("tim") in mysql I would expect to get tim, TIm, and Tim. Do I only get tim in postgres? How do other people deal with this? Do you resort to find_by_sql for all your postgres queries to get case insensitive results?
2008 May 17
1
nmbd using 80-90% cpu for name reg from phantom
nmbd is using a lot of cpu: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 22681 root 20 0 10080 1520 1084 R 99.0 0.3 146:30.78 nmbd log.nmbd logs 30-40 messages per second:: [2008/05/17 12:56:41, 0] nmbd/nmbd_incomingrequests.c:process_name_registration_request(212) process_name_registration_request: unicast name registration request received for name
2008 Oct 28
0
[PATCH] Fix typo in waitForBackend() for phantom VBDs
Hi, I believe that a value of "result[''status'']" is an integer, isn''t a character string. diff -r 8d41996e6897 tools/python/xen/xend/server/DevController.py --- a/tools/python/xen/xend/server/DevController.py Mon Oct 27 18:51:52 2008 +0000 +++ b/tools/python/xen/xend/server/DevController.py Tue Oct 28 09:14:53 2008 +0900 @@ -542,7 +542,7 @@ class
2009 Jul 15
1
Phantom CallerID on transfers
Hi Gang, Running Asterisk 1.4SVN using Polycom 501 phones. Just enabled CallerID and for the most part it works as good as you'd expect anything to from the phone company to. Except: on about 1 out of 10 transfers, instead of getting a callerid of "joe cool <100>" or "abc company <205-555-1212>" I just get "asterisk". Here is what
2005 Jun 09
1
Phantom (ghost) Calls with Wildcard TDM400P
We have a client that has a single Wildcard TDM400P with 3 FXO ports on Asterisk 1.0.7. Occasionally the system seems to loose its mind and starts originating calls from that Zap channels that don't exist. The receptionist picks up the phone and nobody is there. This can happen repeatedly over and over again within a few minutes. As far as we can tell these are definitely not real calls as
2005 Jun 13
0
Phantom incoming calls on x100p
Hi! I have a problem with one box running asterisk, one pots line and an X100P. Almost every night the phones give 2-3 rings and then stop. There are no actual incoming calls, I verified by putting a device that lists the incoming telephone numbers parallell to the X100p and it doesn't list any calls. This is the output on the console for a real incoming call: ? == Spawn extension
2005 Jun 17
0
Phantom problem authenticating IAX2 with RSA
I'm getting exactly the same behavior as was posted about in http://lists.digium.com/pipermail/asterisk-users/2004-March/040380.html I've upgraded (both ends) to CVS stable (CVS-v1-0-06/17/05-13:15:49). Jun 17 13:46:17 NOTICE[15942]: chan_iax2.c:4053 authenticate: No way to send secret to peer 'a.b.c.d' (their methods: 4) Immediately after that, I'll see frames go by with