Hi Team,
I would like to compare conversion funnels from multiple sites. Is there a straight forward way of doing this in google analytics?
Thanks,
Jackson
Say I want a certain block of bash script execute only if it is between 8 am (8:00) and 5 pm (17:00), and do nothing otherwise. The script is running continuously
So far I am using date command.
How to use it compare it current time within the range?
Thanks
I have to compare a class object against a list of pre defined classes. Is it safe to use == or should I use equals()?
if (klass == KlassA.class) {
} else if (klass == KlassB.class) {
} else if (klass == KlassC.class) {
} else {
}
Note: I cannot use instanceof, I don't have an object, I just have the class object. I (mis)use it like an enum in this situation!
Thanks!
Hello,
In my iPhone application, I need to calculate the time difference between the time a message was created on the server, and the time my phone received it.
The server (Java) puts in a number returned by System.currentTimeMillis() as metadata along with the message.
How do I compare this number with the current time on the device? Could not find a suitable NSDate method to do this comparison.
Thanks in advance!
I need to import either csv or excel file into a dbase. The column headers will match but I will want to compare the file against the dbase using an ItemID field, list the rows to be affected and the differences, then allow an update to all the rows with the matching ID.
Well i have a WCF service and has to methods one that gives a list of a object and one that gives a list of objects..
the object returned from method one is part of the list from method two.
Im using wpf and binding a combo box to the two the results..
but the problem is that the combo box dosent know how to compare the objects as WCF did not generate this for me.. is there some way to fix this??
If I have a directory of files (with subdirectories) that is not under source control (no .svn directories), is there any way to compare it with a revision in svn (i.e. "svn diff")?
Similar question: if I have a directory of files that is under source control, can I do a diff with to a different URL than the one it was checked out from?
Iam quite new to functions in SQL and I would like to create a function to compare values in a MySQL table against previous and I am not sure how to do this.
For example (iId is the input value)
DECLARE pVal INT(20);
DECLARE val INT(20);
SELECT price INTO pVal FROM products WHERE Id=iId;
SELECT price FROM products;
IF price == pVal THEN
SET val = price;
END IF;
Thanks
Hi,
I have an app which is downloading several plist-files when starting the app and storing them in the NSHomeDirectory/Documents/ path. This will take some time and often there is only one file that changed.
My questions are:
-how can I get the date of the files (the stored one and the file on my webserver)?
-how can I compare the date of the stored file with the date of the file on my webserver?
I need perl script to compare line from file1 with file2 and copy to final file, something like this:
File1.txt:
ASPO01
ASPO02
ASPO03
File2.txt:
ASPO01 2013-11-10 19hrs
ASPO10 2013-11-09 24hrs
ASPO02 2013-11-08 10hrs
ASPO16 2013-11-05 9hrs
ASPO17 2013-11-06 6hrs
ASPO03 2013-11-07 15hrs
ASPO18 2013-11-02 25hrs
...
Search into File2 and copy to final file called final.log, like this:
final.txt:
ASPO01 2013-11-10 19hrs
ASPO02 2013-11-08 10hrs
ASPO03 2013-11-07 15hrs
Thanks for all good friends can help me!!!
Hi, I have defined my class:
public class Host
{
public string Name;
}
then a strongly-typed dictionary:
Dictionary<string, Host> HostsTable;
then I try to compare a value:
if (HostsTable.Values.Where(s => s.Name == "myhostname") != null) { doSomething }
and the problem is, nothing is found, even I'm sure the item is on the list. What I'm doing wrong ?
suppose i have taken one picture from my iphone camera and now i want to compare this image with other images and find best match image from that.
is it possible or not?
how to
compare the values of same table(say for eg: Order table) each and every time the record get inserted ,
if the record with same values get inserted already in same table i should not insert the new record with same values. how to do that exactly in sql server 2008
Hi, I am working on a project to capture images via webcam in a predefined time interval, and continuously compare the images to a template (good image) and give an error if the difference is tolerance set.
I working out using OpenCV. Would like to have advice how should I do it, e.g. best method, etc.
Appreciate if any one can help me on this. Thanks.
I have a STL container full of billions of the following objects
pair
I need some function of the following form
/*returns items sorted biggest first */
bool sortPredicate (SomeClass *two, SomeClass *one)
{
return ???;
}
Is there some trick I can use to very quickly compare pairs of pointers?
Scenario
I have a C# application compiled as a DLL.
I have a build from last week and a build from this week.
There has been a significant change in performance so I want to compare the the two builds to see what has changed.
ANY IDEAS?........SUGGESTIONS?
Cheers
var a=$('#start > div:last-child');
var b=$('#start > div.live')[0];
alert(a==b)
alert(a==$(b))
it always false,
how to compare two element in jquery,
thanks
I want to synchronize two directories. And I use
file_get_content($source) === file_get_content($dest)
to compare two files. Is there any problem to do this?
This is my code:
#include <algorithm>
void f() {
int[] a = {1, 2, 3, 4};
int[] b = {1, 2, 100, 101};
// I want to do something like this:
// int* found = compare(a[0], a[3], b[0]);
// in order to get a pointer to a[2]
}
Maybe I missed this algorithm in the manual… Please help :)
Hi, I have defined my class:
public class Host
{
public string Name;
}
then a strobgly-typed dictionary:
Dictionary<string, Host> HostsTable;
then I try to compare a value:
if (HostsTable.Values.Where(s => s.Name == "myhostname") != null) { doSomething }
and the problem is, nothing is found, even I'm sure the item is on the list. What I'm doing wrong ?
I want to synchronize two directories. And I use
file_get_contents($source) === file_get_contents($dest)
to compare two files. Is there any problem to do this?
Hi all !
I have a plist in my document folder of the app with one string, an int value. An another plist is on my server with also a string, an int value.
How can i compare the two int value and then do something if one is bigger than the other thanks to all