search for: rec

Displaying 20 results from an estimated 1829 matches for "rec".

Did you mean: rc
2012 Nov 03
1
Violin plot of categorical/binned data
...ks, Nate library(ggplot2) library(scales) p=ggplot(data2,(aes(vessel,values))) p+geom_violin()+ scale_y_log10(breaks = trans_breaks("log10", function(x) 10^x),labels = trans_format("log10", math_format(10^.x))) data2<-read.table(textConnection(" vessel values rec 0.0e+00 rec 0.0e+00 rec 0.0e+00 rec 0.0e+00 rec 0.0e+00 rec 0.0e+00 rec 0.0e+00 rec 5.5e+00 rec 5.5e+00 rec 5.5e+00 rec 5.5e+00 rec 5.5e+00 rec 5.5e+00 rec 5.5e+00 rec 5.5e+00 rec 5.5e+00 rec 5.5e+00 rec 5.5e+00 rec 5.5...
2004 Nov 17
1
Re: variations on the theme of survSplit
...s <- as.matrix(covs) }else{ n.covs <- 0 } } ordered.t <- t(apply(cbind(onset,time.dep),1,sort,na.last=TRUE)) tot.time.dep <- apply(ordered.t,1,function(x) sum(!is.na(x))) ordered.t <- cbind(rep(0, nrow(ordered.t)), ordered.t) npars <- 4+n.time.dep+n.covs nrecs <- sum(tot.time.dep) new.x <- as.data.frame(matrix(nr=nrecs, nc=npars)) names(new.x) <- c("start", "stop", "event", names(time.dep),names(covs),"episode") this.rec<-0 for(i in 1:length(onset)) { for(j in 1:tot.time.dep[i]) { thi...
2009 Jun 02
1
[PATCH] ocfs2: Adjust rightmost path in ocfs2_add_branch.
In ocfs2_add_branch, we use the rightmost rec of the leaf extent block to generate the e_cpos for the new added branch. In the most case, it is OK but if there is a gap between the the root(or branch) 's rightmost rec and the leaf, it will cause kernel panic if we insert some clusters in it. The message is something like: (7445,1):ocfs2_in...
2009 Nov 22
4
1.2.7: recs[i]->uid < rec-> uid
I'm getting this Panic with some users on dovecot-1.2.7: Panic: file maildir-uidlist.c: line 1242 (maildir_uidlist_records_drop_expunges): assertion failed: (recs[i]- >uid < rec-> uid) There's another dovecot-1.2.3 running on identical hardware accessing the same NFS mail storage without problems.
2011 Jul 06
3
Tables and merge
...I have 21 files which is common variable CODE. > Each file refers to a question. > > I would like to join the 21 files into one, to construct > tables for each question by CODE. > > I tried the command (8 files only): > > require(foreign) > q1 = read.epiinfo('Dados/Q1.rec') > q2 = read.epiinfo('Dados/Q2.rec') > q3 = read.epiinfo('Dados/Q3.rec') > q4 = read.epiinfo('Dados/Q4.rec') > q5 = read.epiinfo('Dados/Q5.rec') > q6 = read.epiinfo('Dados/Q6.rec') > q7 = read.epiinfo('Dados/Q7.rec') > q8 = r...
2011 May 24
4
Rails hates my recursive function
...nd have the results be returned based on the format of the query. I came up with the following code in my student model def self.insert_dashes(term) if /^([A-Z]|[a-z]|\d|-){11}$/.match(term) term.insert 3, ''-'' term.insert 6,''-'' end end def self.find_record(rec) if /^([A-Z]|[a-z]|\d|-){11}$/.match(rec) student=Student.where(:studentID=>rec).all elsif /^([A-Z\s]|[a-z\s])+$/.match(rec) split=rec.split '' '',2 f_name=split.first l_name=split.second student=Student.where(:fname=>f_name,:lname=>l_nam...
2013 Mar 07
2
Recording with MixMonitor and AGI
Hi, I am developing a call recording application on Asterisk 11.2 and have this configuration in my dialplan: [macro-ccdev2-rec] exten => s,1,MixMonitor(${ARG1},b) [outgoing-originate] exten => _X.,1,NoOp(Will send call to ${EXTEN}) exten => _X.,n,Dial(SIP/${EXTEN}@x.y.z) [outgoing-originate-rec] exten => h,1,Agi(...
2023 Jan 05
1
Does anyone know how to completely remove the Computer SID of a Demoted DC?
...ce, the system is >> down and offline, but if it rejoins, it will not get the SID entry it >> had before? >> > > > Samba-tool domain demote --remove-other-dead-server=DEAD_SERVER > > Rowland > tdb> open /var/lib/samba/private/secrets.tdb tdb> list hash=31 rec: hash=31 offset=0x0000ccc8 next=0x00000000 rec_len=116 key_len=20 data_len=68 full_hash=0x6344070e magic=0x26011999 hash=40 rec: hash=40 offset=0x0000cc48 next=0x00000000 rec_len=104 key_len=12 data_len=68 full_hash=0x2a4c7c2e magic=0x26011999 hash=81 rec: hash=81 offset=0x0000cb48 next=0x0000000...
2001 Mar 13
5
is this null block OK?
....h> #include <asm/segment.h> #include <asm/uaccess.h> #include <linux/string.h> #include <linux/intermezzo_fs.h> #include <linux/intermezzo_upcall.h> #include <linux/intermezzo_psdev.h> #include <linux/intermezzo_kml.h> int presto_rewrite_close(struct rec_info *rec, struct presto_file_set *fset, char *path, __u32 pathlen, int ngroups, __u32 *groups, __u64 ino, __u32 generation, struct presto_version *new_file_ver); static...
2009 Jun 12
2
[PATCH 0/2] ocfs2: Adjust rightmost path in ocfs2_add_branch.v2
Hi Mark/Joel, This is the v2 of bug fix for ocfs2_add_branch. Modification from V1 to V2: 1. Create a patch which return EROFS instead of BUG in ocfs2_insert_at_leaf. 2. Use ocfs2_adjust_rightmost_records to change the root and extent blocks in the rightmost path. Regards, Tao
2013 Oct 22
0
[PATCH] Btrfs-progs: add support for the no holes incompat flag
...+++ b/cmds-check.c @@ -50,6 +50,7 @@ static u64 data_bytes_referenced = 0; static int found_old_backref = 0; static LIST_HEAD(duplicate_extents); static int repair = 0; +static int no_holes = 0; struct extent_backref { struct list_head list; @@ -443,8 +444,9 @@ static void maybe_free_inode_rec(struct cache_tree *inode_cache, rec->errors |= I_ERR_FILE_NBYTES_WRONG; if (rec->extent_start == (u64)-1 || rec->extent_start > 0) rec->first_extent_gap = 0; - if (rec->nlink > 0 && (rec->extent_end < rec->isize || - rec->first_extent_gap &l...
2011 Feb 02
2
Indexing from two variables
Hello, thank you all for your patience and time I am essentially trying to get disorganised data into long form for linear modelling. I have 2 dataframes "rec" and "book" Each row in "book" needs to be pasted onto the end of several of the rows of "rec" according to two variables in the row:" MRN" and "COURSE" which match. I have tried the following and variations thereon to no avail: </code&gt...
2017 Oct 04
1
[RFC v3 20/27] x86/ftrace: Adapt function tracing for PIE support
...ctions.h> + extern void mcount(void); extern atomic_t modifying_ftrace_code; extern void __fentry__(void); @@ -24,9 +39,11 @@ extern void __fentry__(void); static inline unsigned long ftrace_call_adjust(unsigned long addr) { /* - * addr is the address of the mcount call instruction. - * recordmcount does the necessary offset calculation. + * addr is the address of the mcount call instruction. PIE has always a + * byte added to the start of the function. */ + if (IS_ENABLED(CONFIG_X86_PIE)) + addr -= 1; return addr; } diff --git a/arch/x86/include/asm/sections.h b/arch/x86/i...
2017 Feb 23
0
imap/pop3-login assertion failed in dovecot 2.2.27 (c0f36b0)
Hello, I have noticed few errors like this. I don't recall seeing that with version 2.2.10 Feb 23 05:20:03 mail21 dovecot[6569]: imap-login: Panic: file login-proxy-state.c: line 77 (login_proxy_state_deinit): assertion failed: (rec->num_waiting_connections == 0) Feb 23 05:50:03 mail21 dovecot[15044]: pop3-login: Panic: file login-proxy-state.c...
2013 Mar 03
4
Help searching a matrix for only certain records
...I am rather new to R and generally consider myself to be a novice programmer...so don't assume I know what I'm doing :) I have a large matrix, approximately 300,000 x 14. It's essentially a 20-year dataset of 15-minute data. However, I only need the rows where the column I've named REC.TYPE contains the string "SAO " or "FL-15". My horribly inefficient solution was to search the matrix row by row, test the REC.TYPE column and essentially delete the row if it did not match my criteria. Essentially... > j <- 1 > for (i in 1:nrow(dataset)) { >...
2012 Aug 07
2
Error using ddply inside user-defined function
Hi All, I *think* it's ddply because the function recognizes vr1, etc, in other parts of the function. Here's some code: # create dataset PROV.PM.FBCTS <- c(0.00 ,0.00, 33205.19, 25994.56, 23351.37, 26959.56 ,27632.58, 26076.24, 0.00, 0.00 , 6741.42, 18665.09 ,18129.59 ,21468.39 ,21294.60 ,22764.82, 26076.73) FBCTS.INV.TOT <- c(0 ,...
2023 Jan 05
1
Does anyone know how to completely remove the Computer SID of a Demoted DC?
...it rejoins, it will not get the SID entry it >>> had before? >>> >> >> >> Samba-tool domain demote --remove-other-dead-server=DEAD_SERVER >> >> Rowland >> > tdb> open /var/lib/samba/private/secrets.tdb > tdb> list > hash=31 > rec: hash=31 offset=0x0000ccc8 next=0x00000000 rec_len=116 key_len=20 > data_len=68 full_hash=0x6344070e magic=0x26011999 > hash=40 > rec: hash=40 offset=0x0000cc48 next=0x00000000 rec_len=104 key_len=12 > data_len=68 full_hash=0x2a4c7c2e magic=0x26011999 > hash=81 > rec: hash=81 of...
2015 Apr 01
2
[LLVMdev] Cast to SCEVAddRecExpr
Thanks Sanjoy. > To be pedantic, "var[i<<1]" is not an add recurrence, but "&var[i << > 1]" is an add recurrence. I'll assume that's that you meant. Yes, I meant the same. > I think that is because in C, multiplication is nsw but left shift is > not and so "i << 1" can legitimately sign-overflow but i * 2...
2008 Apr 21
1
rejecting I/O to offline device (PERC woes)
...ng time... but is now back. according to lintty, it reports controller firmware is: T0: Firmware version 352D build on Mar 19 2007 at 17:43:23 T0: MegaRAID Series 518 firmware version 352D using strings tty.log | grep 'MedErr on pd' | cut -c17- | sort | uniq -c | sort -n I see: 163 REC:log MedErr on pd[1] #retries=0 165 REC:log MedErr on pd[4] #retries=0 168 REC:log MedErr on pd[2] #retries=0 If I am to believe this, Patrol read is finding media errors on physical drives 1, 2, and 4 ! ? These drives are not even a year old, and to have an almost even distribution of err...
2009 Apr 16
1
Creating a list of database names for merge.rec
hello, I am trying to merge a large number of datasets into one using "merge.rec". > merge.rec(db, by.x = "X", by.y = "Y") > where "db" is my list of datasets. My problem is trying to create a code to create the list "db" for all the files without missing data: Currently my code looks like: if(any(is.na(X))){print(paste(&q...