What I'm trying to do this is writing a simple parser for the following case in .NET
( [PART3]function1() AND [PART4]function7() ) OR [PART2]function90()
[PART] indicates the evaluation location, (assume that this is huge text file, PART separates text files into large chunks)
function() s are my documented function which can be call...
I have this code in my cfm, which works
<cfif not StructIsEmpty(form)>
<cfset larray = user.getArray() />
<cfloop collection="#form#" item="key">
<cfif left(key,4) eq "UPD_">
<cfset x = listLast(key,"_") />
<cfset y = evaluate(0,key) />
<cfloop index="j" from="1" to="#arrayLen(larray)#">
<cfif (larray[j][1] eq x) and (l...
Hello,
when you (or your company) comes to the point to choose a technology for
a new product to develop: What are your basic steps/approaches to evaluate it's
use?
To make it more clearer:
Which factors should an architect/cto
consider (e.g. costs, integration in
exisiting system...)?
Which methods are available (e.g.
prototyping)?
...
Coming from an IT background, I've been involved with software projects but I'm not a programmer. One of my biggest challenges is that having a lot of experience in IT, people often turn to me to manage projects that include software development. The projects are usually outsourced and there isnt a budget for a full time architect or P...
Does any one know how to evaluate an empty item using the standard KPI creation form in SharePoint. For instance, I have a content type called "StaffPositions". The type defines the staff position title, salary for the position, when the position must be filled by and finally, has a cell (that can be empty) for an employee (Contact typ...
I have a project in which my client is asking me to use portlets 1.0 spec and Websphere Portal Server 6.0. I haven't worked with portlets before but what I've heard of them always have been bad critiques. What are the reasons besides the obvious of using them? If not reasons, what arguments could I use to avoid them?
...
Updating by @Cesar's request. Hope I understood what you want, if not, please revert. Quassnoi.
If I make an SQL query like this: SELECT * FROM TABLE_NAME WHERE b IN (2, 7) AND c IN (3, 9), can I assume that MySQL will match only pairs from elements with same number in each list?
That is, (2, 3), (7, 9), ...?
For example, suppose we h...
Is it possible to evaluate the following in C# at runtime
I have a class that contains 3 properties (Field,Operator,Value)
rule.Field;
rule.Operator;
rule.Value;
this is my rule class...
Now I have a loop
foreach(item in items)
{
// here I want to create a dynamic expression to evaluate at runtime
// something l...
As you may know C/C++ does not specified expression evaluation order. What are the reasons to left them undefined.
...
I seem to end up evaluating a lot of software. This requires me to constantly install all kinds of things on my system. It creates a huge clutter and I spend a lot of time during the install process, and if I don't like it, then removing everything I've done. Much of my evaluation tends away from the features of the software being eva...
I'm curious what the impact on the server is when PHP if statements are evaluated, i.e. memory consumption and CPU usage and if this could become a major issue as traffic grows?
For example, if I use a lot of PHP IF statements in the theme for each post summary on a WordPress blog, is this going to require a great deal more server resou...
Hi,
I wonder why evaluate function doesn't work in gdb? In my source file I include, when debugging in gdb, these examples are wrongly evaludations.
(gdb) p pow(3,2)
$10 = 1
(gdb) p pow(3,3)
$11 = 1
(gdb) p sqrt(9)
$12 = 0
Thanks and regards!
...
I know there are many algorithms to evaluate expressions, for example
By Recursive Descent
Shunting-yard algorithm
Reverse Polish notation
But is there any way to evaluate any mathematical expression using C# .net reflection? or other modern .net technology?
Thanks a lot
...
I have to start doing technical evaluations of web applications, mostly ecommerce. I'm just looking for some good points to touch on in terms of
Server Configuration,
Security,
How to evaluate current features and implementations,
Shopping Cart,
Checkout,
Third party integrations,
Coding Style
Site speed performance
just basic stuff ...
I'm considering trying to get more granular analytics for my sites than the free plan on my current provider, Clicky, provides.
Piwik looks like a strong contender in the analytics space (and I'm surprised I haven't heard about it before) but I want to be sure I'm not throwing the baby out with the bathwater by swapping to it.
Does any...
Is if ( c ) the same as if ( c == 0 ) in C++?
...
I'm still working on a tiny parser for a tiny language defined in a task at school. The parser that generates an AST(Abstract syntax tree) is working. What I want is to check the defined variables, they must be bounded by the let expression. First the method that is defined in the task(suggestion, not needed):
checkVars :: Expr -> Char...
I know that the Eclipse Foundation has a Program withhin Eclipse (I guess it's a Plugin) that can Monitor the User behaviour. E.g. what Window was used how many times.
I forgot the Name of that Program and wonder if it's possible to use the Plugin in a Company to monitor how the Programers use Eclipse?
...
Java and .NET are two languages targeted at removing platform dependence. This is achieved by adding a virtual machine/framework between the code and the OS.
So, what is the point in using it on the server side, as all websites are accessible via browser, and that is platform independent? Is there any special reason for using them?
...
Here is code of very simple expression evaluator using IronRuby
public class BasicRubyExpressionEvaluator
{
ScriptEngine engine;
ScriptScope scope;
public Exception LastException
{
get; set;
}
private static readonly Dictionary<string, ScriptSource> parserCache = new Dictionary<string, ScriptSource>();
public BasicRubyExpressio...