identification

What is a good way to check if an object's type is a particular subclass?

I was thinking along the lines of using typeid() but I don't know how to ask if that type is a subclass of another class (which, by the way, is abstract) Edit: I should definitely mention the language, C++ ...

C++ class identification question

I'll phrase this in the form of an example to make it more clear. Say I have a vector of animals and I want to go through the array and see if the elements are either dogs or cats? class Dog: public Animal{/*...*/}; class Cat: public Animal{/*...*/}; int main() { vector<Animal*> stuff; //cramming the dogs and cats in... for(/*all ele...

Best Java library for automatic language identification?

Which is the best Java library for automatic language identification/classification? Hypothetical syntax: String languageCode = LanguageIdentificationAPI.identifyLanguage("Hello world."); // languageCode would now contain "en" for English. Thanks a lot in advance! ...

What to use? Digital signature?

Sorry I couldn't find the best heading for this question. Following is my requirement. I a working on a project which deals which large amount of money transactions to different account. The system automatically transfers money to accounts of A,B, C etc etc,, But before this is done Some one from A,B or C should approve(electronically) ...

Textual Irregularities

Does anybody know of a library or piece of software out there that will locate irregularities in text? For example, lets say I have... 1. Name 1, Comment 2. Name 2, Comment 3. Name 3 , Comment 5. Name 10, Comment This software or library would first cut up portions of text that it would find similar (much alike a piece of compression...

Identifying CDs

I'd like to be able to determine what music album CD is in a CD drive. For example, if someone claims that the CD in their drive is Eminem - The Eminem Show, I would like to be able to verify that the CD is indeed The Eminem Show. Any ideas? I've applied for a Gracenote developer license, but they won't get back to me for five days. Al...

Can you find out which compiler was used to compile a program?

Given an executable that is compiled from C to run on Solaris, is it possible to determine which compiler was used to compile the associated incomplete executable? I can't see anything when using either the strings or the file command, and magic doesn't seem to contain anything specific. Do compilers generally put a fingerprint in thei...

Unique DVD info?

I was wondering, is there some type of disc ID i can use to search in my database to see if that disc is has been scanned or not? All disc were created by me typically burnt on windows. -edit- I could compare write time and volume label to see if the disc has been scanned but i notice if i put in certain commercial disc that fields are ...

Uniquely identify IPhone on a web application

I have a website and I would like to open it to some of our corporate IPhone users, but without their intervention : I enter their IPhone "serial #" into our webapp When they connect to the webapp, if their "serial #" is recognised they can pass, otherwise, access denied. Is there such a "serial #" ? I've thought about a SMS with a...

Running several Android emulators with different phone numbers

Hello, first time poster here. I'm working on a client-server Android application and trying to figure out how to identify different phones/users to the server unambiguously. My first attempt would be to use the phone number on the SIM card. Although now that I think about it, how common is it these days that your phone number changes w...

What is the system that allows for anonymous pictures portraits?

Anyone knows what is the system that allow blogs / websites to generate a random picture for anonymous commenters? Its always the same picture if you input the same name and email, seems very useful but can't track down what it is. It's used here on stackoverflow, and I've seen it on a number of other sites and blogs. Thanks! ...

Identifying dyamically generated content on a page

What is the best-practise way of Identifying dynamically generated element on page? Let me explain. I have a list of elements, there can be as few or as many elements as the user defines, on a page. Each one of these corresponds to an item each with it's own id. Now, the user has the ability to edit or delete these elements on the page...

Trouble deciding on identifying or non-identifying relationship

I've read this question: http://stackoverflow.com/questions/762937/whats-the-difference-between-identifying-and-non-identifying-relationships But I'm still not too sure... What I have is three tables. Users Objects Pictures A user can own many objects and can also post many pictures per individual object. My gut feeling tells me thi...

Identifying algorithm used to generate codes

How would one identify what algorithm is used to generate codes with? Both common, open source ones, and the more difficult, custom unpublished algorithms? For example here are a sample... x3vbhzcouy g3zy453f4 srix1gtvri 3ewnubic5vz 4bu9ksba6yj r1u3rxfd82n fs30bew9eq b8gr8w5f3 tz6t998ulr ycd1zued oizyviwv 7w6eownv0 s15zxpid9uoo u8is4ulx...

SMS - How to avoid Bankruptcy?

I'm coding a new website that will need users to enter their mobile phone number, the problem I'm facing is that I need to make sure that the user is in fact the owner of (or in this case, has access to) the mobile number. The solution I've come up with is, upon number submission I send them a SMS with a token and ask the user to enter ...

How can I know if a TIFF image is in the format CCITT T.6(Group 4)?

How can I know if a TIFF image is in the format CCITT T.6(Group 4)? ...

Which Property type do I use to put a User's user_id() in the Datastore?

This is why I need to put user_id()'s in the Datastore: A User value in the datastore does not get updated if the user changes her email address. This may be remedied in a future release. Until then, you can use the User value's user_id() as the user's stable unique identifier. http://code.google.com/appengine/docs/pyt...

Using a hash function to give a memorable personality to objects

(Note: The project is in Python.) I'm running a simulation in which I have many objects that I want to show on the screen and manipulate with. There needs to be a way to identify each object, because they'll be moving from place to place abruptly and I want to be able to track which object moved where. What I've been thinking is, to ev...

Reading/Writing Magnetic Striped ID Cards in Linux

How would I accomplish this? Is there a specific brand of card reader/writer that works easily with linux and windows (linux being more important as I need to deploy these to cheap kiosks). ...

BIOS build number and Identification number ?

Hi, I want to get the BIOS Build number and Identification number. I am already using WMI class Win32_Bios dataclass but I it is not returing the value for Build number and Identification number on any of the windows OS. can any one let me know how should I go to get the above fileds mentioned for bios? ...