search for: ident

Displaying 20 results from an estimated 15366 matches for "ident".

Did you mean: indent
2006 Mar 29
2
save related models from one form
I have three tables customers, indentities and people. I hav ecreated models for them. The are connected with foreign keys and has_many/belongs_to in this fashion: customers has_many: identities identities belongs_to: customer identities has_many: people people belongs_to: identities Now, I have a form in which I would like to create db entries for the three tables. customers have a password field that needs to be equal to the params[:passwordconfirm], otherwise none of the models sh...
2006 Mar 06
1
Wins Installation problem on solairs x86 version 5.10
...../../dlls/libwinecrt0.a(exe_main.o) WinMain ../../dlls/libwinecrt0.a(exe_main.o) ld: warning: Symbol referencing errors In file included from x11drv.h:30, from bitblt.c:33: /usr/openwin/include/X11/Xlib.h:38: warning: ignoring #pragma ident In file included from x11drv.h:32, from bitblt.c:33: /usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident In file included from x11drv.h:47, from bitblt.c:33: /usr/openwin/include/X11/Xmd.h:51: warning: ignoring #pragma ident In file included fro...
2000 Dec 21
1
Patch to allow DSA as well as RSA identities to be specified on the command line
This patch allows DSA identities to be specified on the command line. Previously, only RSA identities were allowed. ------------------------------------------------------------------------ diff -U2 openssh-2.2.0p1/ssh.0 openssh-2.2.0p1.nigelw/ssh.0 --- openssh-2.2.0p1/ssh.0 Sat Sep 2 10:08:46 2000 +++ openssh-2.2.0p1.nigelw...
2008 Aug 04
0
Help needed: strange issue with share mapping at logon
.... There is no reason I can see why this wouldn't work as intended, but it's failing, and I have no idea why. Here's the smb.conf: # # Configuration file for the Samba suite for Debian GNU/Linux. # #======================= Global Settings ======================= [global] ## Browsing/Identification ### netbios name = PHSSERVER workgroup = PHSDOMAIN server string = Primary Domain Controller (Samba %v) wins support = yes dns proxy = no ; name resolve order = lmhosts host wins bcast #### Debugging/Accounting #### log file = /var/log/samba/log.%U max log size...
2008 Mar 31
0
what''s the purpose of line page table (PML4 entry 258)
...en I read the code of do_update_va_mapping, I find that it update the pte entry in the line page table by looking up the line page table via guest_map_l1e() : 2998 <http://lxr.xensource.com/lxr/source/xen/arch/x86/mm.c?a=x86_64#L2998> int do_update_va_mapping <http://lxr.xensource.com/lxr/ident?a=x86_64;i=do_update_va_mapping>(unsigned long va, u64 <http://lxr.xensource.com/lxr/ident?a=x86_64;i=u64> val64, 2999 <http://lxr.xensource.com/lxr/source/xen/arch/x86/mm.c?a=x86_64#L2999> unsigned long flags <http://lxr.xensource.com/lxr/ident?a=x86_64;i...
2013 Apr 16
1
testInstalledBasic / testInstalledPackages
...> res <- try(as.ts( x ), silent = TRUE) > if(!inherits(res, 'try-error')) + report({if(is.ts(x)) { cat('IS: ');all.equal(x, res, tol=0) + } else !isall.equal(x, res)}) > f <- try(as.Date( x ), silent = TRUE) > if(!inherits(f, 'try-error')) report(identical(f, as.Date( f ))) > f <- try(as.POSIXct( x ), silent = TRUE) > if(!inherits(f, 'try-error')) report(identical(f, as.POSIXct( f ))) > f <- try(as.POSIXlt( x ), silent = TRUE) > if(!inherits(f, 'try-error')) report(identical(f, as.POSIXlt( f ))) > f <-...
2010 Jul 17
1
bug in identical()? [Was: [R-sig-ME] Failure to load lme4 on Mac]
Daniel, thanks for the test case. I did run it in valgrind but nothing showed up, however ... I'm starting to have a suspicion that this has something to do with identical() - look at this: > identical(M1,M2) [1] FALSE > all(serialize(M1,NULL)==serialize(M2,NULL)) [1] TRUE > identical(unserialize(serialize(M1,NULL)),unserialize(serialize(M2,NULL))) [1] FALSE > identical(unserialize(serialize(M1,NULL)),unserialize(serialize(M1,NULL))) [1] FALSE So I...
2009 Jul 29
3
Object equality for S4 objects
To test two environments for object equality (Lisp EQ), I can use 'identity': > e1 <- environment(local(function()x)) > e2 <- environment(local(function()x)) > identical(e1,e2) # compares object identity [1] FALSE > identical(as.list(e1),as.list(e2)) # compares values as name->value mapping [1] TRUE...
2017 Apr 12
1
[PATCH] mllib: Bind %identity C primitive to Common_utils.identity.
...ged, 5 insertions(+), 5 deletions(-) diff --git a/mllib/common_utils.ml b/mllib/common_utils.ml index 63d8dd92e..6a9b08973 100644 --- a/mllib/common_utils.ml +++ b/mllib/common_utils.ml @@ -282,6 +282,8 @@ let ( /^ ) = Int64.div let ( &^ ) = Int64.logand let ( ~^ ) = Int64.lognot +external identity : 'a -> 'a = "%identity" + let roundup64 i a = let a = a -^ 1L in (i +^ a) &^ (~^ a) let div_roundup64 i a = (i +^ a -^ 1L) /^ a diff --git a/mllib/common_utils.mli b/mllib/common_utils.mli index ec41a8ff8..0669a42bf 100644 --- a/mllib/common_utils.mli +++ b/mllib/co...
2010 Aug 16
4
identical()
Hi, I am really puzzled by this. hope someone can help me I have a 2 small data frames "a" and "b" derived from a larger data frames. They look exactly the same to me, but identical() always returns FALSE. > a a b 2 10011048 L 4 10011048 R 6 10011049 L 8 10011049 R > b a b 1 10011048 L 3 10011048 R 5 10011049 L 7 10011049 R > identical(a,b) [1] FALSE some information about the attributes of the 2 data frames: > class(a) [1] "data.fram...
2005 Dec 05
3
Specification of identity for ssh client to use
Is there any way to tell the openssh client exactly which identity to use for an outgoing commection? I know about "-i identityfile", but it doesn't do what I want. I want to precisely specify the identity to use, not just add an identity to a list of things to try. Whatever mechanism is used should work both for local files and for identities...
2012 Mar 02
4
Noob question - Identity argument within aggregate function?
>aggregate(z, identity, mean) 1 2 3 4 5 1.0 3.0 5.0 6.0 7.5 > aggregate(z, mean) Error: length(time(x)) == length(by[[1]]) is not TRUE Can someone help me understand the error above and why "identity" is necessary to satisfy the error -- View this message in context: http://r.789695.n4.na...
2013 Dec 28
2
[Bug 2191] New: Feature Proposal: Add an identity to the agent automatically when loading the identity
https://bugzilla.mindrot.org/show_bug.cgi?id=2191 Bug ID: 2191 Summary: Feature Proposal: Add an identity to the agent automatically when loading the identity Product: Portable OpenSSH Version: 6.4p1 Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: ssh-agent...
2012 Nov 22
1
Data Extraction - benchmark()
...I have tried to run your code (slightly tweaked) involving the benchmark function, and I am getting the following error message. What am I doing wrong? Error in benchmark(d1 <- s1(df), d2 <- s2(df), d3 <- s3(df), d4 <- s4(df), : could not find function "s1" > > identical (d1,d2), identical (d1,d3), identical (d1,d4), identical (d1,d5), identical (d1,d6) Error: unexpected ',' in "identical (d1,d2)," > sessionInfo () R version 2.15.1 (2012-06-22) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=English_United States.1252 LC_C...
2016 Apr 08
2
identical() versus sapply()
Sorry if this has been answered elsewhere, but I can't find any discussion of it. Wondering why the following situation occurs (duplicated on 3.2.2 CentOS6 and 3.0.1 Win2k, so I don't think it is a bug): > sapply(1, identical, 1) [1] TRUE > sapply(1:2, identical, 1) [1] FALSE FALSE > sapply(1:2, function(i) identical(as.numeric(i),1) ) [1] TRUE FALSE > sapply(1:2, function(i) identical(as(i,"numeric"),1) ) [1] FALSE FALSE I have been unable to find anything different about the versions of &qu...
2007 Aug 31
1
Consistency of serialize(): please enlighten me
Hi, I am puzzled with serialize(). It comes down generating identical hash codes for (apparently) identical objects using digest::digest(), which in turn relies on serialize(). Here is an example illustration the issue: ser <- function(object, ...) { list( names = names(object), namesRaw = charToRaw(names(object)), ser = serialize(names(object)...
2005 May 20
4
issues with identical()
Hi all, hope you having a nice day, I ahve this weird results with identical (probably I am not understanding correctly what it does ...) I have these two data frames and I issue : > identical(temp, temp1) [1] FALSE However, these data frames are Nx2 and when I issue: > identical(temp[,2], temp1[,2]) [1] TRUE > identical(temp[,1], temp1[,1]) [1] TRUE and th...
2013 Mar 28
6
How to delete Identical columns
...18), x.1 = c(15, 21, 14, 21, 14, 38), z = c("D", "B", "A", "F", "H", "P")) > df   id  x  y    x.1 z 1  1 15 36  15 D 2  2 21 38  21 B 3  3 14 55  14 A 4  4 21 11  21 F 5  5 14  5  14 H 6  6 38 18  38 P Clearly columns x and x.1 are identical. In reality, I have a large data.frame and can't make out which columns are identical, but I am sure that column with name say x is repeated as x.1, x.2 etc. How to automatically identify and retain only one column (in this example column x) among the identical columns besides other non-id...
2008 Oct 26
4
odd behaviour of identical
given what ?identical says, i find the following odd: x = 1:10 y = 1:10 all.equal(x,y) [1] TRUE identical(x,y) [1] TRUE y[11] = 11 y = y[1:10] all.equal(x,y) [1] TRUE identical(x,y) [1] FALSE y [1] 1 2 3 4 5 6 7 8 9 10 length(y) [1] 10 looks like a bug. platform i686-pc-linux-gnu arch...
2013 May 28
3
R-3.0.1 - "transient" make check failure in splines-EX.r
...wer to his last question. Briefly, I am trying to compile an Rblas for Windows NT 32bit using OpenBlas (successor to GotoBlas) (Nehalem - corei7), and the compiled version passes all tests except for the "splines-Ex" test in the exact same place that Paul had issues: ~~~~ > stopifnot(identical(ns(x), ns(x, df = 1)), + identical(ns(x, df = 2), ns(x, df = 2, knots = NULL)), # not true till 2.15.2 + !is.null(kk <- attr(ns(x), "knots")), # not true till 1.5.1 + length(kk) == 0) Error: identical(ns(x, df = 2), ns(x, df = 2, knots = NULL)) is not...