Displaying 20 results from an estimated 9000 matches similar to: "If commands in a while loop"
2010 Dec 03
10
Kernel DomU 2.6.36.1 dont boot PVonHVM
Hi all,
I try to use kernel 2.6.36.1 in HVM but building the drivers xen-blkfront,
xenfs, platform-pci. I used Xen 4.0.2-rc1-pre and a DomU is a ubuntu 10.04
and I try with ubuntu 10.10.
In boot I receive error "Cannot find a root partition /dev/xvda2" and a
prompt (initramfs) appear.
In dmesg (initramfs) appear:
blkfront: xvda: barriers enabled (tag)
xvda: xvda1
vbd vbd-51712: 16
2010 Dec 03
10
Kernel DomU 2.6.36.1 dont boot PVonHVM
Hi all,
I try to use kernel 2.6.36.1 in HVM but building the drivers xen-blkfront,
xenfs, platform-pci. I used Xen 4.0.2-rc1-pre and a DomU is a ubuntu 10.04
and I try with ubuntu 10.10.
In boot I receive error "Cannot find a root partition /dev/xvda2" and a
prompt (initramfs) appear.
In dmesg (initramfs) appear:
blkfront: xvda: barriers enabled (tag)
xvda: xvda1
vbd vbd-51712: 16
2007 Nov 01
5
monster method (too hard for my skill level)
I need to write a method for calculating the fee for medical
procedures with respect to area. I have all the tables and data but
its hard to give that here. Can someone take a look at this ''stub''
method and help me out?
def calculate_fee
# strip out the first 3 numbers of the user entered zip code
# use those 3 numbers to identify row in [zipcodes table] (between
upper and
2003 Apr 14
2
A statistical problem.Anybody can help me?
Sorry for the contents not relating to R.
Assume there are N i.i.d zero-mean complex gaussian random
variables(RVs),as w(i),0<=i<N} with known variance,from which one
can generate another N RVs,as
R(0)=sum over i {w(i)*w'(i)}
R(1)=sum over i {w(i+1)*w'(i)}
...
up to
R(N-1)= w(N-1)w'(i)
where w'(i) is the complex conjugate of w(i).
(from viewpoint of signal
2003 Sep 23
1
what does the sum of square of Gaussian RVs with different variance obey?
>From basic statistics principle,we know,given several i.i.d Gaussian RVs with zero or nonzero mean,the sum of square of them is a central or noncentral Chi-distributed RV.However if these Gaussian RVs have different variances,what does the sum of square of them obey?
Thanks in advance.
2003 Jul 06
1
Conditional Distribution of MVN variates
Hi Folks,
Given k RVs with MVN distribution N(mu,S) (S a kxk covariance matrix),
let (w.l.o.g.) X1 denote the first r of them, and X2 the last (k-r).
Likewise, let mu1 and mu2 denote their respective expectations.
Then, of course, the expectation of X2 given X1=x1 is
mu2 + S21*inv(S22)*(x1 - mu1)
and the covariance matrix of X2 given X1=x2 is
S22 - S21*inv(X11)*S12
where Sij is the
2007 Jul 03
3
generating correlated Bernoulli random variables
Hi all,
I was wondering how to generate samples for two RVs X1 and X2.
X1 ~ Bernoulli (p1)
X2 ~ Bernoulli (p2)
Also, X1 and X2 are correlated with correlation \rho.
Regards,
Vineet
[[alternative HTML version deleted]]
2007 Aug 18
1
[LLVMdev] Soft floating point support
This patch supplies software IEEE floating point support.
The comment from the patch reproduced below says all there is
to say.
This patch contains the prior "cleanup" patch; please don't apply
that one.
Please let me know of any bugs. It is tested reasonably well,
but until I put together random tests it's hard to have 100%
confidence.
Neil.
/* A self-contained host- and
2013 Feb 04
2
Contract Syntactic Sugar
## the following is a dream: add some sugar syntax to allow for
contracts with teeth (in and out checking)
> is.positive <- function(x) (all(x>0))
> exponentiate <- function( x ::is.data.frame , exponent ::is.numeric is.positive) :: is.vector is.numeric {
x$base :: is.positive ## error also if base does not exist
in x; may need some special IQ
x$base^exponent
}
2014 Mar 18
1
Developing the UPS side of the UPS-NUT equation (via usbhid)
Things are going along well, but there is one remaining area of confusion...."units". I understand exponents now...it's basically how you pass decimal values. That's easy enough.
But "units"....in other words, I have a voltage I want to put in a report. If I include in the report descriptor the fact that it is actually a voltage, with units of "volts",
2012 Mar 21
5
Socomec sicon Netys 2000 PR ups USb driver for ubuntu
Hello i tried to connect my netys 2000 pr ups to ubuntu 11.10 and i have a problem connecting it. After readin a few post i realized to dianosse the connection.
I need help resolving the connextion issue
So here is the response to??/lib/nut/usbhid-ups -u root -DDDDD -a netys:
Network UPS Tools - Generic HID driver 0.35 (2.6.1)
USB communication driver 0.31
? ?0.000000 ? ? send_to_all: SETINFO
2012 Jun 22
2
Boxplot with Log10 and base-exponent axis
Dear all,
I would like to (i) produce boxplot graphs with axis in logarithm in base 10
and (ii) showing the values on the axis in 10^exponent format rather than
10E+exponent.
To illustrate with an example, I have some widely spread data that I chart
plot using boxplot() [figure on the left]; the log="y" option of boxplot()
I obtained the natural logarithm conversion of the data and
2009 Mar 13
7
Weird Load and Battery Temp Readings
I've acquired and installed NUT 2.4.1 on a D-Link DNS323 NAS. With
exception of Load and Battery Temp readings all works well. A upsc
ups at localhost command returns;
battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 50
battery.date: 2001/09/25
battery.mfr.date: 2008/06/05
battery.runtime: 2122
battery.runtime.low: 120
battery.temperature: 3022999999999998800
battery.type:
2006 Feb 03
5
pbinom with size argument 0 (PR#8560)
Full_Name: Uffe H?gsbro Thygesen
Version: 2.2.0
OS: linux
Submission from: (NULL) (130.226.135.250)
Hello all.
pbinom(q=0,size=0,prob=0.5)
returns the value NaN. I had expected the result 1. In fact any value for q
seems to give an NaN. Note that
dbinom(x=0,size=0,prob=0.5)
returns the value 1.
Cheers,
Uffe
2006 Jan 08
8
Cisco 801 and rcapi
(This is an extension of an email I sent earlier, but I'm not sure if it
made it to the list or not.... I never saw it!)
We seem to be accumulating Cisco 8XX series ISDN routers as DSL becomes
more and more available in Australia and our clients upgrade.
Does anyone know if those routers can make the ISDN channels available
in a way that can be used by Asterisk? Preferably in a fairly raw
2003 Jul 18
3
Problem indexing into array
Hi Folks,
Can anyone give me the tip I've been groping for with the
following question:?
mu: kx2x2x2 array of reals corresponding to means of k RVs
at the combinations of values (1,2)x(1,2)x(1,2)
of dichotomous variables F1,F2,F3
mu prints out as k rows (one for each Xi) of 8 numbers
M: N x (3+k) matrix of cases. The first 3 cols are values
of
2003 Sep 03
5
OT - Headsets for Cisco 7940/7960
This is Off-Topic for Asterisk, but I wanted to get some feedback on headsets for Cisco 7940/7960 phones.
We have about 10-20 people who wants/needs a headset for their phone & was hoping to collect some real-world input.
Thanks!!
2008 Nov 01
2
sampling from Laplace-Normal
Hi,
I have to draw samples from an asymmetric-Laplace-Normal distribution:
f(u|y, x, beta, phi, sigma, tau) \propto exp( - sum( ( abs(lo) +
(2*tau-1)*lo )/(2*sigma) ) - 0.5/phi*u^2), where lo = (y - x*beta) and
y=(y_1, ..., y_n), x=(x_1, ..., x_n)
-- sorry for this huge formula --
A WinBUGS Gibbs sampler and the HI package arms sampler were used with the
same initial data for all parameters. I
2009 May 15
1
Matrix package,solve() errors and crashes Please help
>
> Hello All,
>
Please help me with this problem.I have been having this problem for over a
month now and I could not find any information.I later realised that error
is with MATRIX package.
I am working on graph object using IGRAPH version 0.5.2-2 package & wanted
to do Bonacich Power.
What I have is undirected GRAPH.
This is my graph object.
The file 'Bonacich
2004 Mar 05
3
Lyapunov exponent code for time series
Dear all,
Has anyone worked on coding for calculating Lyapunov Exponent for a time
series data? or any package is available for computing Lyapunov?
Please advice and many thanks in advance.
Catherine X Wang