search for: evalu

Displaying 20 results from an estimated 6731 matches for "evalu".

Did you mean: eval
2009 Feb 09
XML package- accessing nodes based on attributes
Hi, I have a rather complex xml document that I am attempting to parse based on attributes: <Manifest xmlns:xsi=""> <!-- eName : name of the element. eValue : value of the element. --> <OutputFilePath>D:\CN_data\Agilent\Results\</OutputFilePath> <FilesList> <File> <Characteristic Type="File" eName="FileTypeId" eValue="10"/> <Characteristic T...
2007 Sep 24
Custom type
Hi. I have a small problem with the custom type I am working on. I define method ''evaluate'' which is called after all data is been collected. Here it is: module Puppet newtype(:test) do newparam(:name) do end newparam(:listen) do defaultto "silent" end def evaluate puts "evaluating..." return super.evaluate e...
2007 Nov 13
`eval' and environment question
my understanding of `eval' behaviour is obviously incomplete. my question: usually `eval(expr)' and `eval(expr, envir=parent.frame())' should be identical. why does the last `eval' (yielding `r3') in this code _not_ evaluate in the local environment of function `f' but rather in the global environment (if `f' is called from there)? #---------------------------------------------------------- f <- function () { a <- 1 x <- 1 model <- y ~ a * x fitfunc <- deriv(mod...
2018 May 03
The stages of standard function evaluation
Dear R Help folks -- I have been trying to put together a list of the steps or stages of R function evaluation, with particular focus on those that have "standard" or "nonstandard" forms. This is both for my own edification and also because I am thinking of joining the world of R bloggers and have been trying to put together some draft posting that might be useful. I seem to have an...
2016 Jul 24
Weighting Schemes: Evaluation results
Hi all, I have evaluated new weighting schemes along with their existing counterparts in Xapian to compare and see which one does better job. Also, I have put together all the results files for easy access here: and a README fo...
2017 Jan 05
OpenSCAP failures to to OS version?
...module is not accepting CentOS 7 as RHEL 7 for rules purposes, despite an early check for "Community Enterprise Operating System 7? which succeeds. 1. Am I correct in why it?s failing? 2. Is this a bug, or an accepted behavior given that CentOS isn?t actually RHEL? Noam I: oscap: Evaluating XCCDF rule 'accounts_password_pam_retry'. I: oscap: Evaluating definition '': Red Hat Enterprise Linux 7. I: oscap: Definition '' evaluated as false. I: oscap: Evaluating definition '
2006 Nov 20
undefined method `stringify_keys!' for "4":String - Meaning of this?
Hi, I have the following on a view <% for evaluation in @evaluations %> <td><%=h evaluation[0].name %></td> <td><%=evaluation[1].object_id %></td> <td><%= link_to( "Start", :action =>''evaluatie'', :id => evaluation[1].object_id) %></t...
2011 Sep 08
"Could not evaluate: Not a directory" errors with pluginsync
...2ubuntu2 on Ubuntu 11.04 to be precise), and after enabling pluginsync on the agents to make our custom facts available, all puppet runs start with the output: info: Retrieving plugin err: /File[/var/lib/puppet/lib/puppet/parser/functions/basename.rb]: Could not evaluate: Not a directory - /var/lib/puppet/lib/puppet/ parser/functions/basename.rb err: /File[/var/lib/puppet/lib/puppet/parser/functions/dirname.rb]: Could not evaluate: Not a directory - /var/lib/puppet/lib/puppet...
2009 Jan 23
XML package help
Please consider this: <Manifest xmlns:xsi="" > <!-- eName : name of the element. eValue : value of the element. --> <OutputFilePath>./XYZ</OutputFilePath> <FilesList> <File> <FileTypeId>10</FileTypeId> <FilePath>./XYZ/</FilePat...
2016 Apr 12
formula argument evaluation
...t;Error", testit)) { return(call$x) } } and I would like to detect a formula when x is not an object: # this works > foo(A + B) [1] "A + B" # but this doesn't > foo(A + B => C) Error: unexpected '=' in "foo(A + B =" Can I prevent it from evaluating the "=" sign? The addition sign "+" hasn't been evaluated, and I was hoping the "=" would not get evaluated either. The "=>" sign is important for other purposes, not related to this example. Thank you in advance, Adrian -- Adrian Dusa Universit...
2011 Oct 27
[LLVMdev] ConstantExpr Evaluation
Hi, What I'm currently working on is a translation from LLVM IR to a register transfer list format used in VPO. If my understanding of ConstantExpr is correct, that they can be evaluated at compile-time, how can I simply have them be evaluated but have the code still remain in IR format? For example, in: store i32 1, i32* getelementptr [6 x i32]* @arr, i32 0, i32 0 the getelementptr ConstantExpr can be evaluated at compile-time, so is there a way to run a pass and end up...
2006 Feb 24
Shortcircuit evaluations
...record.errors.add( attribute, value.errors.full_messages[0]) end end I''m getting a ''nil object when you didn''t expect it error'' because the condition is evaluating value.valid?. I was under the impression that if the first condition (value.nil?) returned True then the second condition would not be evaluated. Does anyone know what I''m missing here? If I rewrite it as: validates_each :thumbnail, :regular do |record, attribute, value|...
2013 Jul 20
[Bug 834] New: nft crash when invalid meta proto is used
...ignedTo: pablo at ReportedBy: eric at Estimated Hours: 0.0 The following operation causes a crash: nft add rule ip6 filter input position 4 meta protocol icmpv6 accept 1035 switch ((*expr)->ops->type) { (gdb) bt #0 0x0000000000409225 in expr_evaluate (ctx=ctx at entry=0x7fffffffd8c0, expr=expr at entry=0x639638) at src/evaluate.c:1035 #1 0x00000000004093ee in expr_evaluate_symbol (expr=0x639638, ctx=0x7fffffffd8c0) at src/evaluate.c:216 #2 expr_evaluate (ctx=ctx at entry=0x7fffffffd8c0, expr=expr at entry=0x639638) at src/evalu...
2015 Jan 02
[LLVMdev] Evaluation of offsetof() macro
On Fri, Jan 2, 2015 at 2:20 AM, David Majnemer <david.majnemer at> wrote: > > > On Fri, Jan 2, 2015 at 1:58 AM, Vadim Chugunov <vadimcn at> wrote: > >> Hi! >> LLVM has a class, ConstantExpr, that is very handy for compile-time >> evaluation of const expressions. Unfortunately I cannot find any methods >> in it that would be helpful in evaluation of expressions similar to this: >> (uintptr_t)(&(*(TYPE*)0).FIELD), which is basically the implementation of >> the offsetof(TYPE, FIELD) macro. >> > >...
2016 Jul 25
Weighting Schemes: Evaluation results
Hi James, > We probably don't want them committed in git where they're evaluation > runs (because we can recreate them); a gist might be more appropriate. Sorry, I have moved results files over to gist for each individual weighting scheme. Link: > I can't tell, but are some of those files from FIRE? If so, t...
2011 Apr 20
[LLVMdev] Is this a bug in clang?
> It's the evaluation of the expression "i++ + i++" that result in undefined > behavior. If you merely compile a program that contains the expression, the > expression is never evaluated. You need to execute the program to have the > expression be evaluated and behavior be undefined. I don't...
2006 May 31
Creating Multiple Child objects on a single form now but I''m curious if there isn''t a better ''right'' way to do it since this seems a bit of a cludge to me, but I haven''t find a better way to make it work. The models are as follows: Goals, which have multiple objectives. Goals also have multiple evaluations of those objectives through status models. So, I''m trying to create a form for doing the evaluations, which ideally would allow you to set the status of all objectives in a single view. My view looks like this (trimmed down a bit for easier posting): <% for objective in @...
2012 Aug 13
Variables and scope with inherits
...#39;) %> <%= scope.lookupvar("foo::foofoo") %> When I run puppet on the class I get: puppet apply --modulepath=/modules/ foo/test/init.pp warning: Scope(Class[Foo::Params]): Could not look up qualified variable ''foo::bar''; class foo has not been evaluated at /modules/foo/manifests/params.pp:3 warning: Scope(Class[Foo::Params]): Could not look up qualified variable ''foo::bar''; class foo has not been evaluated at /modules/foo/manifests/params.pp:3 notice: Finished catalog run in 0.02 seconds and th...
2013 Feb 07
puppetlabs-nova puppetlabs-keystone modules got the following error
...kind of issue, how to debug and how to figure out where the issue is? *err: Could not prefetch keystone_service provider ''keystone'': undefined method `collect'' for nil:NilClass err: /Stage[main]/Nova::Keystone::Auth/Keystone_service[nova_volume]: Could not evaluate: undefined method `collect'' for nil:NilClass err: Could not prefetch keystone_endpoint provider ''keystone'': undefined method `collect'' for nil:NilClass err: /Stage[main]/Nova::Keystone::Auth/Keystone_endpoint[RegionOne/nova]: Could not evalua...
2006 Feb 06
Evaluate output after each rep()
Hi R-Help, I'm trying a develop a test simulation where i evaluate the probability of not getting a value of 100 from the function rbinom(6000, 200, .5) [indeed, a very small probability]. At the end of each rep, I would like to evaluate the output, continue with the loop if the output contains the value 100, stop if the output lacks a 100. How do I get R...