Displaying 20 results from an estimated 100 matches similar to: "BlackBox testing"
2009 Sep 16
2
I want to get a reference to this time series object
I'm trying to get a reference to this object in C
SWX.RET[1:6,c("SBI,"SPI","SII")]
While i am able to access and use a plain SWX.RET object, I'm getting
confused on how to create an object with the array subscripts like above.
Here is what I tried to do. It doesn't work because "[" is obviously not an
operation or function on SWX.RET. So how do I
2009 Aug 25
2
Clarifications please.
Hi
I think I have asked these questions earlier, but I been able to find
answers from the documentation (which I found poorly written in several
places). Will someone be kind enough to give me answers and enlighten me?
(as in explain with CODE?)
I want to embed R in my application and use the fPortfolio package for
carrying out risk management computations. Right now I'm reading the
Rmetrics
2012 Nov 28
3
error, R commends cannot show the expected output
Hi,
I am working on R 2.15.2 on Win. 7.
I am trying to run some simple commends.
>class(SWX.RET) # SWX.RET is a data file that has been loaded.
But, I cannot see the expected output.
I have deselected "buffered output". Still it does not work.
Any help will be appreciated.
Thanks
[[alternative HTML version deleted]]
2007 Nov 16
1
continusync issue
I am experimenting with Matt McCutchen's excellent continusync script,
and I'm having an issue. (My copy of continusync has been modified from
the original
http://mattmccutchen.net/utils/continusync by adding this @ line 227:
<$fromInwt>;
as suggested by Matt.)
The problem is easily reproduced:
# mkdir ~/foo
# continusync ~/foo root@remotehost:~/foo &
# vi
2009 Aug 25
1
R command line behaving funny
Hi
I am unable to try out examples from the Rmetrics Ebook from the R command
prompt. Below is an example of what happens:
> Covariance<-cov(SWX.RET)
Error in cov.timeSeries(SWX.RET) :
no slot of name "Data" for this object of class "timeSeries"
I have loaded Rmetrics and fPortfolio using the library function but still I
get these errors.
However, if I embed the R
2009 Sep 07
1
Rmetrics: Problem with "align"
Hi there!
I'm stuck with a problem aligning financial timeseries and haven't found
a cue how to fix it...
When I run that simple script, everything goes well until the
"align"-command:
------
rm(list=ls())
x <- yahooSeries("^GDAXI")
head(x)
xAligned <- align(x = x, by = "1d", method = "before", include.weekends
= FALSE)
------
Here's
2009 Sep 29
3
How do I access class slots from C?
Hi
I'm trying to implement something similar to the following R snippet using
C. I seem to have hit the wall on accessing class slots using C.
library(fPortfolio)
lppData <- 100 * LPP2005.RET[, 1:6]
ewSpec <- portfolioSpec()
nAssets <- ncol(lppData)
setWeights(ewSpec) <- rep(1/nAssets, times = nAssets)
ewPortfolio <- feasiblePortfolio(
data = lppData,
spec = ewSpec,
2011 Sep 01
0
qqplot for count data
Dear list,
I just tried to do the same thing, and did not find anything on a
weighted qqplot. My weights are actually counts (positive integers).
Here is a modification of qqplot, following Duncan Murdoch's
suggestion. Any feedback would be welcome!
Thanks,
Jean-Christophe
weighted.qqplot <- function (x, y,
plot.it = TRUE, xlab = deparse(substitute(x)),
ylab = deparse(substitute(y)),
2009 Nov 11
1
Help with fPortfolio
Hi
I'm getting the following errors while using the efficientPortfolio function
even though I'm setting the target return to the mean of the TargetReturn I
obtain from the portfolio object created by the feasiblePortfolio function.
First Error:
Error: targetReturn >= min(mu) is not TRUE
Second Error:
Error in .rquadprog(Dmat = args$Dmat, dvec = args$dvec, Amat = args$Amat, :
2013 Sep 16
0
tdb idmap returns different GID's for the same SID from time to time
Greetings!
I have a samba 3.6.18 acts as a domain member.
I'm using a samba nss and creating local groups for a domain users.
Here part of my nsswitch.conf:
group: files winbind
passwd: files winbind
The problem is that the tdb unix GID mappings returns different ID from time to time for the same SIDs.
Suppose we have a local group "samba_svn1", created with "NET SAM
2011 Jun 21
4
Using umask
Grasping a full understanding of setting default Users, Groups
and Masks has alluded me over the years, but now I find myself in
a situation where manually "setting" the file/directory
attributes is becoming a pain.
I understand the fundamentals of the file attributes, though from
time to time I have to review the "sticky bit"; what I do not
understand is where/how the
2005 Mar 31
0
blackbox win32
Have anybody managed to get blackbox running on wine ?
I have an old installation and no internet on my home computer and just wanted to check if it would run, it really makes windows look nice :-) .. so I figured I'd give it a spin and check if it would be able to round up some wine bugs.
However the installation failed, so I can't even run it, this is the reason for asking, is it
2015 Nov 06
2
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
On Tue, Nov 3, 2015 at 2:50 PM, Diego Novillo <dnovillo at google.com> wrote:
> I don't see how this is any different from volatile markers on
> loads/stores or memory barriers or several other optimizer blocking
> devices. They generally end up crippling the optimizers without much added
> benefit.
>
Volatile must touch memory (right?). Memory is slow.
> Would it
2015 Nov 10
2
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
One thing that volatile doesn't do is escape results that have been written
to memory.
The proposed blackbox intrinsic is modeled as reading and writing any
pointed to memory, which is useful.
I also think blackbox will be a lot easier for people to use than empty
volatile inline asm and volatile loads and stores. That alone seems worth
something. :)
On Mon, Nov 9, 2015 at 6:04 PM, Daniel
2015 Nov 17
2
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
On Mon, Nov 16, 2015 at 6:59 PM, Dmitri Gribenko via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> On Mon, Nov 16, 2015 at 10:03 AM, James Molloy via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > You don't appear to have addressed my suggestion to not require a perfect
> > external world, instead to measure the overhead of an imperfect world (by
> >
2015 Nov 16
2
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
Hi Richard,
You don't appear to have addressed my suggestion to not require a perfect
external world, instead to measure the overhead of an imperfect world (by
using an empty benchmark) and subtracting that from the measured benchmark
score.
Besides which, absolute benchmark results are more than often totally
useless - the really important part of benchmarking is relative
differences.
2015 Nov 10
2
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
On Fri, 06 Nov 2015 09:27:32 -0800, Daniel Berlin via llvm-dev wrote:
<snip>
>
> Great!
>
> You should then test that this happens, and additionally write a test
> that can't be optimized away, since the above is apparently not a useful
> microbenchmark for anything but the compiler ;-)
>
> Seriously though, there are basically three cases (with a bit of
>
2015 Nov 11
2
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
I think the idea is to model the intrinsic as a normal external function
call:
- Can read/write escaped memory
- Escapes pointer args
- Functionattrs cannot infer anything about it
- Returns a pointer which may alias any escaped data
It's obvious how this works at the IR level, but I'm not sure what would
happen in the backend. If you compile the intrinsic to nothing but a
virtual
2015 Nov 03
3
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
The common use case I've seen for a black box like construct is when
writing microbenchmarks. In particular, you're generally looking for a
way to "sink" the result of a computation without having that sink
outweigh the cost of the thing you're trying to measure.
Common alternate approaches are to use a volatile store (so that it
can't be eliminated or sunk out of
2015 Nov 03
3
[RFC] A new intrinsic, `llvm.blackbox`, to explicitly prevent constprop, die, etc optimizations
On Mon, Nov 2, 2015 at 7:19 PM, Sanjoy Das <sanjoy at playingwithpointers.com>
wrote:
> Why does this need to be an intrinsic (as opposed to generic "unknown
> function" to llvm)?
>
> Secondly, have you looked into a volatile store / load to an alloca? That
> should work with PNaCl and WebAssembly.
>
> E.g.
>
> define i32 @blackbox(i32 %arg) {
>