search for: eminent

Displaying 20 results from an estimated 105 matches for "eminent".

2006 Mar 24
4
validate if different?
Hi, I seem to remember seeing the equivalent of saving only if all attributes are different. I can''t seem to find that now in the API or the agile book. I''m using the acts_as_versioned and only want to save if the input is different. Thanks, Steve http://www.smarkets.net -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Apr 12
6
distinguishing mapped urls from ordinary action urls
I want to present different view depending on the url. example below: http://myapp/start/show?url=xZq http://myapp/xZq both addresses are controlled by a single controller and the same action. the second url is only mapped in routes.rb how can I distinguished the mapped url and present a slightly different view in it? Sabon -------------- next part -------------- An HTML attachment was
2006 Mar 18
9
How do I write this SQL the Rails way?
I''m trying to find all the unique bill_number, status records in Bills table. I can do it with a find_by_sql statement like this: @records = Bill.find_by_sql( "select distinct bill_number, status from bills group by bill_number, status;") How would I rewrite it using ''find :all
2011 Nov 21
1
Fortran runtime error with package cts on CRAN/Mac
Hello, As the author of package cts, I hope somebody on this list can kindly help (perhaps off-list) to resolve the build/check issue with package cts for Mac. The error occurred on Mac machines only: http://cran.r-project.org/web/checks/check_results_cts.html. Here is the error message: At line 10 of file machine.f Fortran runtime error: Range error during floating point read The source
2012 Mar 16
1
Segfault while calling fexact in C
Hi folks, I'm trying to call an R function (fisher.test) in my program for like a billion times! Though my program is in Python and I feel that using rpy2 to interface R to python doesn't give me satisfactory performance. So I looked into R code and found out that fisher.test is actually a wrapper around another function called fexact which is implemented in C. Using Cython I managed to
2006 Apr 20
5
How to find the last SQL statement executed in ActiveRecord
Is there a method for retrieving the last SQL statement executed by ActiveRecord? I realize I can open the log file, but I''m looking for a programmatic way. -- Posted via http://www.ruby-forum.com/.
2006 Mar 24
6
login forms , redirect_to and ajax-scaffold problems
Hi, I have a standard type authentication technique direct from AWDWR, so there is a before_filter :authorize_employee, :except => :login in my employees_controller.rb the authorize_employee is in application.rb def authorize_employee unless session[:employee_id] flash[:notice] = "Please log in" # save the URL the user requested so we can hop
2006 Mar 18
16
fixrbconfig - does it work on intel macs?
I''m trying now to do "sudo fixrbconfig" in the terminal, and I get this: /usr/lib/ruby/1.8/powerpc-darwin8.0/ruby.h does not exist. This probably means you haven''t yet installed Xcode from the Tiger DVD. You won''t be able to compile Ruby extensions without it. Please install it then rerun this program. I''m on an intel mac. Am I unable to use
2007 Jun 01
2
Interaction term in lmer
Dear R users, I'm pretty new on using lmer package. My response is binary and I have fixed treatment effect (2 treatments) and random center effect (7 centers). I want to test the effect of treatment by fitting 2 models: Model 1: center effect (random) only Model 2: trt (fixed) + center (random) + trt*center interaction. Then, I want to compare these 2 models with Likelihood Ratio Test.
2006 May 13
0
Fwd: дополнение
any news? ---------- Forwarded message ---------- From: Emin Hasanov <emin@hasanov.com> Date: May 10, 2006 11:50 AM Subject: Fwd: ?????????? To: Rovshan Baghirov <rovshanb@gmail.com> Rovshan, how would you estimate this work in terms of manhours? ---------- Forwarded message ---------- From: Anar Ibrahimov < anar@autostar.az> Date: May 10, 2006 11:22 AM Subject: ??????????
2007 Sep 25
0
R lmer with problem of 'sd slot has negative entries'
Dear R Users, I want to fit GLMM with lmer with binomial data and a one-way random effects model with an overall mean and random effects. From R help, Laplace is slower than PQL, but more accurate. When I fit my model with Laplace method with control = list (usePQL = FALSE)), for most data sets it works well, but for some I get an error message (Error in if (any(sd < 0))
2006 Mar 22
3
Something wrong with content_columns
I have a database with a couple of tables. One table called spares has foreign keys in another called equipment. When I create a new record, it is added to the spares table however the list action does not show all the columns in the table. It only shows those columns that are not foreign keys. I am using the default action generated by scaffold for list. Why is that so? Do i need to re-write my
2007 Sep 28
0
lmer giving negative, or no, estimated standard errors
R Users, Emine Bayman sent this out earlier and we do not think it went through. Appologies if it did. We want to fit GLMM with lmer with binomial data and a one-way random effects model (overall mean is a fixed effect and there are random effects for each binomial). We are using the Laplace method. We are simulating multiple data sets and use the Laplace method with control = list
2010 May 18
3
About option U in Dial Ast version 1.6.2
Has any one used this? U(x[^arg[^...]]): x - Name of the subroutine to execute via Gosub arg - Arguments for the Gosub routine Execute via Gosub the routine <x> for the *called* channel before connecting to the calling channel. Arguments can be specified to the Gosub using '^' as a delimiter. The Gosub routine can set the variable ${GO
2006 Mar 18
5
How would I get the previous id from the database?
I''m trying to get the id of the previous row prior to what would be input and then rename an uploaded image to that row number. So say the previous row was 19 and the image in that row was named 19.jpg, I''m wanting to name the next uploaded image as 20.jpg since the row that would be added then would be 20. Right now I''ve just got: @new_tutorial =
2016 Dec 28
2
DEFAULT_PKCS11_WHITELIST on 64-bit Linux systems
Hello, On RHEL 6/amd64, the stock value for DEFAULT_PKCS11_WHITELIST is not very useful. On such systems, /usr/lib64/* would need to be added to the pattern list. Although users can specify the -P option every time they launch ssh-agent, it might be nice to provide a means to specify a default whitelist at build-time. It's tempting to suggest that configure should automatically supply a
2006 Apr 12
1
acts_as_list problem with records coming in and out
I have the model that acts as list acts_as_list :scope => ''featured=1'' As you can see, I only need to order the records that are featured. However, from time to time I switch some featured items off and mark others as featured. When this is done, I start getting dublicate numbers on the list and ordering starts getting problem... What would be the good approach to
2007 Feb 19
2
Google, hard disc drives and R
A recent paper from Google Labs, interesting in many respects, not the least the exclusive use of R for data analysis and graphics (alas not cited in the approved manner): http://labs.google.com/papers/disk_failures.pdf Perhaps some of the eminences grises of the R Foundation could prevail upon Google to make some the data reported in the paper available for inclusion in an R library or two, for
2006 Sep 16
2
Traffic Control in a bridge
Normally when we talk about traffic control, we are talking about doing traffic control (tc) using a router, ie packets into an interface and based on routing, they goes out to somewhere else. However I have a box with two interfaces, eth0 and eth1 added to a bridge br0 and I would like to perform traffic control via the two interfaces. Is that supposed to work the same as the router
2010 Dec 20
5
DIALSTATUS on CANCEL
Hello, We have a strange situation (asterisk 1.6.2.14), where we get a result for DIALSTATUS for BUSY and No-ANSWER, but nothing for CANCEL. This is the (relevant) test dialplan: -------------------------------- [incoming-private] exten => _X., n, Dial(SIP/1001,30) exten => _X., n, NoOp(${DIALSTATUS}) exten => _X., n, Gosub(incoming-status,s-${DIALSTATUS},1) [incoming-status] exten