Displaying 20 results from an estimated 100 matches similar to: "Routing through dummy interfaces?"
2015 Mar 15
3
how to get disk snapshot size
Hi,guys
I wanna to get the disk snapshot size, but found nothing libvirt commands
related,except qemu-img.
I create two disk snapshots, but nothing return its' size
[root@cskvm01 qcow2]# qemu-img info
/mnt/e6758700-af68-3c06-ade3-53f5f9b93507/e2cf6551-0d2c-4382-a86c-8ba633954ff2
image:
/mnt/e6758700-af68-3c06-ade3-53f5f9b93507/e2cf6551-0d2c-4382-a86c-8ba633954ff2
file format: qcow2
virtual
2011 Jan 11
5
A question on dummy variable
Dear all, I would like to ask one question related to statistics, for
specifically on defining dummy variables. As of now, I have come across 3
different kind of dummy variables (assuming I am working with Seasonal
dummy, and number of season is 4):
> dummy1 <- diag(4)
> for(i in 1:3) dummy1 <- rbind(dummy1, diag(4))
> dummy1 <- dummy1[,-4]
>
> dummy2 <- dummy1
>
2005 May 01
0
dll symbol loading: possible bug
Dear R-devel,
I think the following describes a bug in R. It seems to be associated with
dyn.load() and/or something that happens at start-up. I have not filed a
bug report yet (because I doubt my ability to rule out other explanations)
but would happily do so if requested.
Observation:
If two dlls are loaded as a result of dyn.load() calls in .Rprofile,
subsequent calls to dyn.load()
2013 Mar 21
4
easy way of paste
Hello,
Is there a better way to use paste such as:
a = paste(colnames(list.indep)[1],colnames(list.indep)[2],colnames(list.indep)[3],colnames(list.indep)[4],colnames(list.indep)[5],sep="+")
> a
[1] "aa+dummy1+dummy2+bb+cc"
I tried
a = paste(colnames(list.indep)[1:5],sep="+")
> a
[1] "aa" "dummy1" "dummy2"
2011 Apr 27
3
setting options only inside functions
Dear list members,
is it possible to set some options only inside a function so that the original options are restored once the function is finished or aborted due to an error? Until now I do something like:
dummy=function()
{
old.options=options(error=dummy1())
....
options(old.options)
}
This works for most cases but when the function terminates because of an error and its last
2007 Apr 18
2
[Bridge] aoe/vblade on "localhost"
hello !
i try to use a network technology on one single host, which wasn`t designed for that.
to give a short overview of what i`m talking about:
AoE is just like a "networked blockdevice" (just like nbd/enbd) - but without tcp/ip.
AoE kernel driver is the "client end" (see this like an iSCSI initiator) - and an etherblade storage appliance is the "server end"
2002 Jul 02
1
Strange behaviour in plot and points?
Hello R-users
I was puzzled by some strange results of an analysis and I found out what is
for me a strange behaviour (I won't dare to say a bug) in both plot and
points (and I suspect lines and other kind of lower level plots). If you try
the following code:
> data<-data.frame(dummy1=c(1:10),dummy2=c(1:10))
> plot(data$dummy1,data$dummy3)
A plot of the values of dummy1 against
2015 Mar 16
0
Re: how to get disk snapshot size
On Sun, Mar 15, 2015 at 10:28:30PM +0800, Yitao Jiang wrote:
> Hi,guys
> I wanna to get the disk snapshot size, but found nothing libvirt commands
> related,except qemu-img.
> I create two disk snapshots, but nothing return its' size
The below does not seem like snapshots. They're *internal* qcow2
snapshots (original and delta are on the same file).
A quick example of disk
2013 Mar 21
2
How to store data frames into pdf file and csv file.
Hello,
I have a data frame
> mdl.summary
est.coef std.err t.stat
intercept 0.0011625517 0.0002671437 4.351784
aa -0.0813727439 0.0163727943 -4.969997
dummy1 -0.0002534873 0.0001204000 -2.105376
dummy2 -0.0007784864 0.0001437537 -5.415417
bb -0.0002856727
2001 Mar 13
1
.C-calls
Dear all,
(sorry I got the wrong button for subscribing a minute ago)
At the moment I'm writing on a package for random field
simulation that I'd like to make publically availabe
in near future.
To this end I've asked Martin Maechler to have a look
at my R-code. He was very surprised about how
I perform the ".C"-calls, and encouraged me to
make this request for comments.
2013 Feb 24
2
[LLVMdev] How to measure the overhead of instrumented code
Hello all,
I have developed a instrumented pass which insert some variables between
the original variables,
as well as insert some code into the original source code. just like:
============= original source code =============
int a[10];
void fun1 () {
// some source code here
}
=========================================
============= instrumented source code =============
int
2015 Jun 17
1
Re: [PATCH v4 1/3] do_btrfs_qgroup_show: fix a bad return value
On Wednesday 17 June 2015 16:19:31 Chen Hanxiao wrote:
> We should not use tmp lines buffer as return value,
> for lines buffer will be freed.
s/tmp/temporary/
> Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
> ---
> v4: take advantage of sscanf's '%m'.
> v3: fix test case failure
>
> daemon/btrfs.c | 40
2015 May 27
2
dummy interface shenanigans - CentOS6
tl;dr - a renamed dummy interface is not persisting across reboots on Cent6.
I have a situation where I need to rename a dummy interface on my system.
I have a total of 3 dummy interfaces:
dummy0
dummy1
adummy0
I've been doing some puppet testing in a vbox VM to get this all
sorted out to deploy to a group of boxes. Every time I reboot my VM,
it comes up WITHOUT adummy0, but I notice
2015 Jun 17
6
[PATCH v4 0/3] btrfs: use CLEANUP_FREE_STRING_LIST for list free
As Pino's comment, we should take advantage of
macro CLEANUP_FREE_STRING_LIST
v4: remove some redundant strdup
v3: fix test case failure
v2: properly initialize lines
Chen Hanxiao (3):
do_btrfs_qgroup_show: fix a bad return value
do_btrfs_subvolume_list: fix a bad return value
btrfs: use CLEANUP_FREE_STRING_LIST for list free
daemon/btrfs.c | 70
2005 Jul 19
3
Predict
When I callculate a linear model, then I can compute via confint the
confidencial intervals. the interval level can be chosen. as result, I get
the parameter of the model according to the interval level.
On the other hand, I can compute the prediction-values for my model as well
with predict(object, type=c("response") etc.). Here I have also the
possibility to chose a level for the
2007 Dec 04
1
Xen not applying custom network script on startup
I'm seeing an issue with xend not running a custom network script
automatically, but works when I run it manually.
In /etc/xen/xend-config.sxp I've changed:
(network-script network-bridge)
TO:
(network-script network-custom)
Here is /etc/xen/scripts/network-custom:
# !/bin/bash
# network-custom
script=/etc/xen/scripts/network-bridge
case $1 in
start)
$script start vifnum=0
2015 Jun 17
0
[PATCH v4 1/3] do_btrfs_qgroup_show: fix a bad return value
We should not use tmp lines buffer as return value,
for lines buffer will be freed.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
---
v4: take advantage of sscanf's '%m'.
v3: fix test case failure
daemon/btrfs.c | 40 ++++++++++++++++++----------------------
1 file changed, 18 insertions(+), 22 deletions(-)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index
2015 Jun 23
1
[PATCH] btrfs: remove redundant whitespace
s/ =/ =
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
---
daemon/btrfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index 8b5779a..306cade 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@ -512,7 +512,7 @@ do_btrfs_subvolume_list (const mountable_t *fs)
goto error;
}
- struct
2008 Feb 19
2
Confidence Interval for SMR
Hello,
I am looking for a function which allows to calculate the confidence
interval for a standard mortality ratio. I do have vectors with the
number of observed and expected death. Has anybody a hint where to
look?
Best,
Stefan
2013 Feb 25
0
[LLVMdev] How to measure the overhead of instrumented code
On 2/24/13 10:07 AM, Lu Mitnick wrote:
> Hello all,
>
> I have developed a instrumented pass which insert some variables
> between the original variables,
> as well as insert some code into the original source code. just like:
>
> ============= original source code =============
>
> int a[10];
>
> void fun1 () {
> // some source code here
> }
>
>