search for: evaluate

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

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>
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 end...
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(model[...
2018 May 03
The stages of standard function evaluation
...gned a logical vector showing the ways that it is and is not standard. One thing I think is conceptually or procedurally difficult about this project is that I think ?standardness? should be determined by what a function does, rather than by how it does it, so that a primitive function that takes unevaluated arguments positionally could still have standard matching, scoping, etc., by internal emulation. A related goal is to identify which evaluation steps most often use an alternative form, and perhaps determine if there is more than one such alternative. Finally, an easier short-term goal is simply t...
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 for g...
2017 Jan 05
OpenSCAP failures to to OS version?
...vior 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 '': Community Enterprise Operating System 7. I: oscap: Definition '' evaluated as true. I: oscap: Adding external variable oval:ssg-var_password_pam_retry:var:1. I: osc...
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) %></td> <%end%> When I click on the link, I
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>
2016 Apr 12
formula argument evaluation
...t 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 University of Bucharest Romanian Social Data Archive Soseaua Panduri nr.90 050663 Bucharest sec...
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 wi...
2006 Feb 24
Shortcircuit evaluations
...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| unless value.nil? record.errors.add( attribute, value.errors.full_messa...
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/evaluate...
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
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, they >
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 think this is correct. The standard does not make much of a distinction between compile time and run time, there is merely a "C implementation." > For example, also, i...
2006 May 31
Creating Multiple Child objects on a single form
I''ve been trying to solve this for the last few hours and I have something that is working 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
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 the f...
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 evaluate:...
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 to...