evaluation

Expression Evaluation in C++

Hi, I'm writing some excel-like C++ console app for homework. My app should be able to accept formulas for it's cells, for example it should evaluate something like this: Sum(tablename\fieldname[recordnumber], fieldname[recordnumber], ...) tablename\fieldname[recordnumber] points to a cell in another table, fieldname[recordnumber] poi...

Evaluation of an IF statement in VB.NET

For the following If-statements in VB.NET, what will be the sequence in which the conditions will be evaluated? Case 1: If ( condition1 AND condition2 AND condition3 ) . . End If Case 2: If ( condition1 OR condition2 OR condition3 ) . . End If Case 3: If ( condition1 OR condition2 AND condition3 OR condition4) . . End If ...

SSIS Package fails on execute "Integration Services evaluation period has expired"

Hi all I have an issue executing a package via the API at Microsoft.SqlServer.Dts.Runtime. I have 4 SQL servers that can potentially execute my package in 2 clusters. On the passive nodes in each cluster, execution fails - reported error is that SSIS evaluation period has expired. On the active nodes, it works fine. I don't think it...

Evaluating software estimates: sure signs of unrealistic figures?

Whilst answering “Dealing with awful estimates” posted by Ash I shared a few tips that I learned and personally use to spot weak estimates. But I am certain there must be many more! What heuristics to use in the scenario when one needs to make a quick evaluation of software project estimate that has been compiled by a third-party (a col...

Database choice for large data volume?

I'm about to start a new project which should have a rather large database. The number of tables will not be large (<15), majority of data (99%) will be contained in one big table, which is almost insert/read only (no updates). The estimated amount of data in that one table is going to grow at 500.000 records a day, and we should keep...

Evaluate in T-SQL

I've got a stored procedure that allows an IN parameter specify what database to use. I then use a pre-decided table in that database for a query. The problem I'm having is concatenating the table name to that database name within my queries. If T-SQL had an evaluate function I could do something like eval(@dbname + 'MyTable') Current...

What are some useful criteria for deciding on which software package to go for?

How does one go about choosing a software vendor after having seen many presentations from many software vendors, from a user preference perspective? I ask this question on behalf of a friend who has been put in charge of making such an evaluation, without any prior experience. I thought the experience of the SO community might generat...

Should I use an expression parser in my Math game?

I'm writing some children's Math Education software for a class. I'm going to try and present problems to students of varying skill level with randomly generated math problems of different types in fun ways. One of the frustrations of using computer based math software is its rigidity. If anyone has taken an online Math class, you'll ...

Performance Evaluation of Linux Scheduler

Hi I have done some simple changes to the scheduler in the Linux Kernel. Now, I would like to see how those changes affect the response time of the system; in other words, I would like to know how long a context switch takes with my modifications compared to the original scheduler. A straightforward approach would be to use the time st...

Dynamic source code in C++

How to process dynamic source code in C++? Is it possible to use something like eval("foo")? I have some functions that need to be called depending on user's choice: void function1 (); void function2 (); ... void functionN (); int main (int argv, char * argv []) { char * myString = new char [100]...

How to interview dev / hosting shops?

We're looking at starting a new, specialized (customer facing) web app; there are a few paths we can take -- we can code and host in house, we can code in-house and host externally, we can have someone else do the coding and hosting, COTS, etc. Let's assume I've reasonable ways of estimating quality of COTS and in-house development effo...

Does Java have an "is kind of class" test method

I have a baseclass, Statement, which several other classes inherit from, named IfStatement, WhereStatement, etc... What is the best way to perform a test in an if statement to determine which sort of Statement class an instance is derived from? ...

Binding Time in Partial Evaluation

What does exactly "Binding Time" mean when we are speaking about Partial Evaluation? ...

Recommendations for evaluating potential employees?

I have the task to interview and hire a new web programmer for the company I work fo. Apart from the usual questions about previous employment and education, I've been using a SQL evaluation test to evaluate the candidate's technical abilities. For junior developers I ask them to code a simple CRUD page. What do you use as a fast test ...

Performing expression evaluation/reduction in Visual Studio 2008

Is it possible to get Visual Studio to do mathematical expression evaluation/reduction? For example if I type '-0.005 + -0.345' how do I get Visual Studio to reduce that (i.e. replace it with the reduction)? Do I have to write a macro? If so, are there any pre-existing macros to do this type of expression reduction? Just to be clear,...

How to assemble a project with software products and your own code

Hello, Let's say you have a specific project on hand, it can be divided to parts, and you are not completely sure about all the difficulties that will arise. Time is of the essence. How do you decide whether a part should use software product or your own code? (considering, that some tools are awesome, but will require much time to lea...

Streaming XPath evaluation

Are there any production-ready libraries for streaming XPath expressions evaluation against provided xml-document? My investigations show that most of existing solutions load entire DOM-tree into memory before evaluating xpath expression. ...

Is it possible to execute a string in MySQL?

I have to convert an MSSQL stored proc that passes a varchar that is a query. The proc has the following command: INSERT INTO Results EXEC (@Expresion); This isn't working. I'm pretty sure that EXEC and EXECUTE arent MySQL commands but CALL doesn't work either. Does anyone know if its even possible to have something like JavaScript'...

Options to Common Criteria

There are some critics about the international Common Criteria like [Under-attack].[1] What are in your opinion the pros and cons of developing IT products with CC? ...

Javascript parser for simple expression

I would like to find a javascript parser that can handle and evaluate simple expressions. The parser should be able to evaluate the regular mathematical expressions, and support custom functions with parameters. It also has to support strings handling. String concatenation with || operator support is preferred, but it is okay if + will d...