Displaying 20 results from an estimated 700 matches similar to: "Deletion of xattr don't sync"
2005 Aug 10
1
Why only a "" string for heading for row.names with write.csv with a matrix?
Consider:
> x <- matrix(1:6, 2,3)
> rownames(x) <- c("ID1", "ID2")
> colnames(x) <- c("Attr1", "Attr2", "Attr3")
> x
Attr1 Attr2 Attr3
ID1 1 3 5
ID2 2 4 6
> write.csv(x,file="x.csv")
"","Attr1","Attr2","Attr3"
"ID1",1,3,5
2012 Jan 04
1
AR update / create pattern: is there an easier way?
I find myself writing the following frequently:
r = MyActiveRecord.where(:attr1 => cond1, :attr2 => cond2, ...)
r.exists? ? r.first : r.create
... which has the effect of returning an instance of MyActiveRecord if
all the conditions are met, or creating one if it doesn''t. A variant of
this:
c = MyActiveRecord.new(:attr1 => val1, :attr2 => val2, ...)
r =
2009 Sep 18
1
inconsistency in attaching attributes to NULL
In R-devel (svn 49628) and back to at least R 2.7.0 we get
inconsistent results when attempting to attach attributes to
a variable with the value NULL.
If we use attributes<- it finishes but changes the value to list().
> a<-NULL
> attributes(a)<-list(attr1="First attribute", attr2=2+2i)
> a
list()
attr(,"attr1")
[1] "First
2010 Jul 02
3
Knowledge discovery
Hi,
I have 100000 units with 10 attributes (attr1, attr2, attr3, etc...)
For instance:
unit attr1 attr2 attr3 ...
1 a ww 12
2 a re 11
3 b ww 09
4 c yt 02
5 a qw 02
...
I'd like to answer to the question:
a) what are the most frequent combinations of attributes?
b) How could I describe the relations
2006 Jan 05
2
Confused...
Ok,
So, I''ve got two data tables associated through a foreign key.
class Child < ActiveRecord::Base
belongs_to :parent, :class => Parent, :foreign_key => "parent_id"
# also has attr1, attr2
end
class Parent < ActiveRecord::Base
has_many :children, :class => Child, :foreign_key => "parent_id"
end
So, I''m trying to build the new/edit
2010 Jun 01
2
Help on aggregate method
Dear R experts,
I would really appreciate if you had an idea on how to use more
efficiently the aggregate method:
More specifically, I would like to calculate the mean of certain
values on a data frame,? grouped by various attributes, and then
create a new column in the data frame that will have the corresponding
mean for every row. I attach part of my code:
matchMean <-
2011 Nov 12
1
With an example - Re: rbind.data.frame drops attributes for factor variables
When I use rbind() or rbind.data.frame() to add a row to an existing
dataframe, it appears that attributes for the column of type "factor" are
dropped. See the sample example below to reproduce the problem. Please
suggest How I can fix this.
Thanks,
Sammy
a=c("Male", "Male", "Female", "Male")
b=c(1,2,3,4)
c=c("great", "bad",
2006 May 17
6
ActiveRecord#to_param
Hello,
to implement some some kind of optimistic locking, I want to build a
view, where an object is displayed together with a link containing the
data of the displayed object. My first try looked something like
<%= object.object_discription %>
<%= link_to "action", :action => "take_action", :data => object %>
this won''t work because object is of
2007 Mar 08
3
[BUG] clear ACL-s on destination
Destroy ACL-s on destination when no ACL-s differens between source and destination.
Bug is somehow related with function send_file_name() called with negative file descriptor f. There is no such bug in 2.6.9 version, but there options "-X -A --deleted" can't be used (we have "Internal error: wrong write used in receiver."). If I fix this, avoid calling send_acl() &
2012 Feb 27
0
Suggestion on Model Def - reg in nlme
Dear RGroup
I have a data of the type shown below:
I am trying to use lme function followed by post hoc test as given in the
code below.
Am I right in my model definition, given the problem data structure.
in the example, i have used column names of my data frame so that it is
self explanatory.
library(reshape)
library(nlme)
library(multcomp)
2023 May 04
1
'error=No space left on device' but, there is plenty of space all nodes
Hi Strahil and Gluster users,
Yes I had checked but, checked again and only 1% inode usage. 99% free. Same every node.
Example:
[root at nybaknode1 ]# df -i /lvbackups/brick
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/vgbackups-lvbackups 3108921344 93602 3108827742 1% /lvbackups
[root at nybaknode1 ]#
I neglected to clarify in
2023 May 02
1
'error=No space left on device' but, there is plenty of space all nodes
Hi Gluster users,
We are seeing 'error=No space left on device' issue and hoping someone might
could advise?
We are using a 12 node glusterfs v10.4 distributed vsftpd backup cluster for
years (not new) and recently 2 weeks ago upgraded to v9 > v10.4. I do not
know if the upgrade is related to this new issue.
We are seeing a new issue 'error=No space left on device' error
2023 May 04
1
'error=No space left on device' but, there is plenty of space all nodes
Hi,Have you checked inode usage (df -i /lvbackups/brick ) ?
Best Regards,Strahil Nikolov
On Tuesday, May 2, 2023, 3:05 AM, brandon at thinkhuge.net wrote:
Hi Gluster users,
We are seeing 'error=No space left on device' issue and hoping someone might
could advise?
We are using a 12 node glusterfs v10.4 distributed vsftpd backup cluster for
years (not new) and recently 2 weeks ago
2007 Jul 18
2
Hash.from_xml
Hi,
I''ve started looking at ticket
90<http://merb.devjavu.com/projects/merb/ticket/90>and there are a
couple of situations that the current implementation doesn''t
cater for.
1. Tag Attributes are wiped out.
- <tag1 attr1=''1''>Content</tag1> #=> { "tag1" => "Content" }
- I think it should return
-
2013 Apr 25
1
[LLVMdev] Dynamic Type Lookup ...
Thanks for your feedback David....
Yes, the intention is to support duck-typing. In my code example,
a.attrB1 = 5 .... is probably more accurately stated as .....
a. attr1.attrB1 = 5
Certainly this would be an unsafe call because we would not know that attrB1
is an attribute of attr1 until runtime. I believe this type of call is
valid in a language like Python.
Are there any
2005 Nov 21
0
CentOS-announce Digest, Vol 9, Issue 13
Send CentOS-announce mailing list submissions to
centos-announce at centos.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-request at centos.org
You can reach the person managing the list at
centos-announce-owner at centos.org
When
2003 Jun 12
1
Regarding hashing, ext3, and kjournald
I've tried to find my answer to this question but I
have not (yet). Any assistance or expert knowledge is
greatly appreciated!
PROBLEM: mounting an ext3 volume 'read only' results
in a different md5sum hash value for the volume than
when the same volume is *not* mounted
SCENARIO:
- when I hash unmounted /dev/hda5 using 'md5sum
/dev/hda5' I get value XXX.
- when I hash
2010 Jan 21
1
/proc/mounts always shows "nobarrier" option for xfs, even when mounted with "barrier"
Ran into a confusing situation today. When I mount an xfs filesystem on
a server running centos 5.4 x86_64 with kernel 2.6.18-164.9.1.el5, the
barrier/nobarrier mount option as displayed in /proc/mounts is always
set to "nobarrier"
Here's an example:
[root at host ~]# mount -o nobarrier /dev/vg1/homexfs /mnt
[root at host ~]# grep xfs /proc/mounts
/dev/vg1/homexfs /mnt xfs
2009 May 26
2
[How-To?] Using Syslinux AltMBR + TrueCrypt System Encryption (RFE: swap drive ID's)
Just achieved success using syslinux to multi-OS boot, including a WinXP
System (boot) partition that's been encrypted with TrueCrypt (TC).
You'll need syslinux version 3.81-pre13 or newer to get a working
altmbr.bin file. I used:
http://www.kernel.org/pub/linux/utils/boot/syslinux/Testing/syslinux-3.81-pre13.zip
Background:
I started with a 'normal' multi-OS boot setup as
2015 Aug 06
1
xfs quota weirdness
Hi all,
I have a quota problem with xfs (xfsprogs 3.1.7+b1 on debian GNU/Linux 7
-- wheezy) and samba-4.1.19.
If I set a user quota to say 10GB, windows explorer reports a 20GB quota
of which none used.
If I change quota to x, windows explorer reports 2x space of which none
used.
So I assume samba is somehow getting (albeit incomplete and incorrect)
xfs quota info from operating system.
disks