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
I have an account with on Yahoo! Mail, another on Gmail. In Outlook 2007, I've set them up so that I can access them without having to go to their websites.
I've password protected my personal folder, but can't find a way to merge my accounts into one personal folder.
When I want to switch between my accounts, I must type my password again. Besides that, I can't check for new mail messages in both accounts at the same time.
How do I merge multiple email accounts into one single personal folder on Outlook 2007?
I was using a local account on a Windows 7 desktop that is not connected to any Active Directory.
After a while it was required to rename the local account.
Renaming the account was simple using Local users and groups management tool.
After renaming the user, the user home folder was not renamed and I could not find any information about how to change user home folder.
I found the ProfileList registry folder but maybe there is a command line for doing such changes.
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
Any help is much appreciated. Thanks!
I was using a local account on a Windows 7 desktop that is not connected to any Active Directory.
After a while it was required to rename the local account.
Renaming the account was simple using Local users and groups management tool.
After renaming the user, the user home folder was not renamed and I could not find any information about how to change user home folder.
I found the ProfileList registry folder but maybe there is a command line for doing such changes.
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
Any help is much appreciated. Thanks!
I've got to send a bulk email out to a bunch of people in reply to emails they sent me. I've got all the original emails stored in a single outlook folder. I want to extract all of the reply-to addresses from the emails in that folder so I can send an email to all of them.
http://thetechieguy.wordpress.com/2008/04/22/extracting-email-address-from-outlook-2007-folder/
shows you how to export the FROM address of these emails, however a large amount of them came from a web service that sends emails 'on behalf of' the person I'm trying to mail to. So I need the reply-to address, and the export wizard doesn't do that.
Does anyone have a tip on how to do this? This is Outlook 2007 on Exchange 2010.
I'm running nginx 1.3.5 under windows seven, I need to execute nginx directly from a read-only media (CD or DVD), but when I want to run it, it fails with this error:
nginx: [alert] could not open error log file: CreateFile() "logs/error.log" fail
ed (5: Access is denied)
2012/08/28 13:52:46 [emerg] 5604#2864: CreateDirectory() "J:\nginx-1.3.5/temp/client_body_temp" failed (5: Access is denied)
where J is my CD-ROM drive letter.
I've changed nginx.conf to disable logging completely, but seems anyway it still tries to build a file named 'error.log' in '/logs' folder & some extra temporary contents in '/temp' folder at the startup, so I want to change 'logs' & 'temp' directory path to windows temp folder (%temp%), but I dont have any idea that how can I do it.
Also I want to know why nginx still creates 'logs/error.log' after disableing error logging ?
On my Windows 2008 system, I've attached an external USB drive that's encrypted using Truecrypt. Once I mounted the Truecrypt drive, I share some of the directories from that drive using Windows file sharing. I tried sharing a folder called "media" and when I try to access that folder from a Vista client on my LAN via \myserver\media, I get this error:
\myserver\media is not accessible.
You might not have permission to use
this network resource. Contact the
administrator of this server to find
out if you have access permissions.
An unexpected network error occurred.
If I share the folder media under some name such as fizzbuzz then I can access \myserver\fizzbuzz w/o any errors.
Any clues as to why this is happening?
Related:
http://serverfault.com/questions/27684/windows-2008-and-truecrypt-how-to-automatically-mount-shared-folders-after-rest
I want to keep folders such as Pictures and Documents in my home folder in sync between computers; at the moment, I'm using Dropbox to do this. On Computer A I added a symlink to the folders in my home directory to the Dropbox folder. On Computer B I deleted the existing Pictures and Documents folders and replaced them with symlinks to the folders in the Dropbox folder. This works very well, except that in Finder I don't see the nice little icons that Lion has by default for folders of a particular kind. Is there any way to restore these?
I'd like to convert a folder of PNGs into a quicktime .mov with PNG compression (it's a folder of fractals in an animation; PNG compression works great here and the losslessness is important). What programs will do this with minimal fuss? (I don't have or want to pay for a full license of QuickTime Pro.)
UPDATE:
Let me make this more clear: minimal fuss means: I download some EncoderMagic.app (for example), I double click it to launch it. I select the folder with my numbered images, and out pops my movie. No mess. No resizing. ... Perhaps this doesn't exist (or is called QuickTime Pro?)
My www folder is root:root. What should it be? My site works perfectly but maybe I am doing something wrong.
My nginx.conf says user is 'nginx'. Should I be changing the www onwership and group to that or something else?
Mainly I want to be able to sftp into the www folder using FileZilla. Preferably only allow access to the www folder. I want to be able to upload the website files but I just don't know the proper procedure.
I have tried changing owners and groups but I get worried some part of the stack will not like it. For example does nginx play along, and php?
I thought about having a sftp group or even an sftp user. But I don't want to go down a path that should be avoided.
What should I be doing with my setup?
I can't seem to find the answer to my questions -- hence my posting this here.
1) I have encrypted my home folder in LinuxMint 15 Cinammon x64. If I create images of LM's partitions via fsarchiver, how do I go about selectively restoring home folders, and files from the FS images?
2) I haven't done this yet; but can I restore another users home folder into another user; both unencrypted. Is that a fairly common thing to do in Linux/ubuntu? I mean is the process fairly straightforward? What if the home folder I want to copy over to another user is encrypted?
Thx
Sorry for the weird title...
I'm (still) quite new to linux and are doing shh commands to an Arch Linux device that has not screen output options. So everything has to be done in the terminal (not my super element).
I use the linux device to play around with python (which is quite fun). Now I would like sync my script folder with dropbox. Since I don't have enought space to sync all my dropbox files to the device, I would like to know how I can set it up in a way that it only syncs with the folder I choose.
At the time being I have not installed dropbox because I'm afraid that it will immediately begin to sync all my dropbox folders onto my linux device.
BONUS INFO: I already have created a folder in my dropbox that I that contains some py scripts I would like to have synced with my linux device.