search for: emin

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

Did you mean: emil
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
...ine.txt, which was saved from R function .Machine. For convenience, the source file machine.f is listed below, along with machine.txt from a non Mac system (the last line NA was added for a test version of cts). CCC READ MACHINE INFORMATION SAVED WITH R CODE SUBROUTINE MACHINE(EPS, BASE, T, EMIN, RMIN) DOUBLE PRECISION EPS, RMIN INTEGER BASE, T, EMIN OPEN(UNIT=3,FILE='machine.txt',STATUS='OLD') READ(3,*)EPS READ(3,*)BASE READ(3,*)T READ(3,*)EMIN READ(3,*)RMIN CLOSE(UNIT=3) RETURN END machine.txt: 1....
2012 Mar 16
1
Segfault while calling fexact in C
...mes (with same parameters) a segmentation fault occurs! Eliminating the possibility that my interfacing code has any problem, I wrote a piece of code in C to call the fexact multiple times: int main(){ int nr = 3, nc = 2; int x[6] = {3, 1, 5, 1, 3, 6}; double expect = -1, percnt = 100, emin = 0, prt = 1; double p; int workspace = 200000, mult = 30; int i; for (i=0; i<100000; i++){ fexact(&nr, &nc, x, &nr, &expect, &percnt, &emin, &prt, &p, &workspace, &mult); printf("%d %f\n", i, p); }...
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
...odel2 I have defined center effect as a random effect. Then how come I got center effects and trt*center interactions under the fixed effects list on the output? Probably I didn't understand how to set up these models in lmer. Could anyone help me about this? Thanks a lot for your help... Emine model1 <- try(lmer(cbind( yvect, nvect-yvect) ~ 1 + (1 | center), family = binomial, niter = 25, method = "Laplace", control = list(usePQL = FALSE) )) >summary(model1) Generalized linear mixed model fit using Laplace Formula: cbind(yvect, nvect - yvect) ~ 1 + (1 | center) Fami...
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 1...
2007 Sep 25
0
R lmer with problem of 'sd slot has negative entries'
...cases. Could someone please help me? Which, if any, of the estimates for the intercept is the best one? And why are they different? I think the error occurs because the MLE for the between group variance is zero and somehow the estimate becomes negative. I appreciate any help. Thanks, Emine install.packages("nlme") install.packages("Matrix") install.packages("lme4") install.packages("car") library(nlme) library(Matrix) library(lme4) library(car) library(arm) y <- c(14, 9, 19, 12, 10, 12, 8, 11, 15, 4, 14, 13, 8, 3) n &...
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 a...
2010 May 18
3
About option U in Dial Ast version 1.6.2
...in conjunction with this option. Also, pbx services are not run on the peer (called) channel, so you will not be able to set timeouts via the TIMEOUT() function in this routine. Thanks -- Vardan Harutyunyan, Senior System Administrator Enterprise Incubator Foundation 123 Hovsep Emin Street, Yerevan 0051, Republic of Armenia Tel: + 374 10 219735 Fax: + 374 10 219777 E-mail: info at eif.am www.eif-it.com
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 pedagogical purposes? Tim C
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