Questions tagged [identify]
196 questions
51
votes
2 answers
Any check to see if the code written is in python 2.7 or 3 and above?
I have a buggy long python project that I am trying to debug. Its messy and undocumented. I am familiar with python2.7. There are no binaries in this project. The straight forward idea is to try execute it as python2.7 file.py or python3 file.py and…

0aslam0
- 1,797
- 5
- 25
- 42
27
votes
15 answers
Identifying the CPU architecture type using C#
I want to check which CPU architecture is the user running, is it
i386 or X64 or AMD64. I want to do it in C#.
I know i can try WMI or Registry. Is there any other way apart from these two?
My project targets .NET 2.0!

Anirudh Goel
- 4,571
- 19
- 79
- 109
15
votes
1 answer
Objective-C: Instance Variable in Category
I am just asking whether it was possible to add an instance variable via a category. My special problem is, that I need to add an NSIndexPath property to an ASIHTTPRequest object but I don't wanna subclass the ASIHTTPRequest as a matter of…

cschwarz
- 1,195
- 11
- 24
9
votes
3 answers
How can I tell what Database format a file (or set of files) was created with (in Delphi)?
I have a number of data files created by many different programs. Is there a way to determine the database and version of the database that was used to create the data file.
For example, I'd like to identify which files are created from Microsoft…

lkessler
- 19,819
- 36
- 132
- 203
8
votes
3 answers
Identify profile-icc with Image Magick
Is there a way to return image profile with image magick command identify or some other command?
For example I have an image kitchen.jpg. This image has profile Euroscale Coated v2. I can see that by running identify -verbose kitchen.jpg.
...
…

tomazzlender
- 1,123
- 12
- 22
8
votes
1 answer
Unable to identify the apk for variant babybook-debug and device genymotion
I run the App on my mobile phone has no problem;
But there is a problem when I run it on genymotion
that's the information:
Unable to identify the apk for variant babybook-debug and device…

Victor_freedom
- 91
- 4
8
votes
6 answers
Identify which AlertDialog triggered onClick(DialogInterface dialog, int which)
I'm creating a dialog as follows:
@Override
protected Dialog onCreateDialog(int id) {
switch (id) {
case DIALOG_1:
return new AlertDialog.Builder(this)
.setTitle(R.string.s_dlg1)
.setPositiveButton(android.R.string.ok, this)
…

Monstieur
- 7,992
- 10
- 51
- 77
7
votes
2 answers
Akka - Common service actor: Identify or Extension
Lets say I have some commonly used by other actors service-layer actor. For example, an registry service that stores and retrieves domain objects:
case class DomainObject(id: UUID)
class Registry extends akka.actor.Actor {
def receive: Receive =…

Seigert
- 311
- 3
- 11
6
votes
2 answers
Paperclip::Errors::NotIdentifiedByImageMagickError:
use paperclip upload image error:
Command :: identify -format %wx%h '/tmp/103120121106-20384-i7dnzy.png[0]' [paperclip] An error was received while processing:
# < Paperclip::Errors::NotIdentifiedByImageMagickError:…

joinall
- 101
- 1
- 5
5
votes
2 answers
What is this O(N*k) sorting algorithm?
When working on "The fastest sort for BrainF***", I discovered this algorithm, which is O(N*k), where k is the maximum value in the input. It requires O(N) extra storage.
The physical analogy is that you have N stacks of tokens. The height of the…

AShelly
- 34,686
- 15
- 91
- 152
5
votes
3 answers
Python - Identify a negative number in a list
I need help doing a program which should receive ten numbers and return me the number of negative integers I typed.
Example:
If I enter:
1,2,-3,3,-7,5,4,-1,4,5
the program should return me 3.
How can I do it?

Michael
- 1,018
- 4
- 14
- 30
4
votes
1 answer
Identifying sets of linked IDs in SQL Server
I have a simple table that looks like this:
ClientID ItemID
1 1
1 2
1 3
2 1
2 2
3 3
4 3
5 1
5 2
5 4
5 5
where both columns combine to…

MartW
- 12,348
- 3
- 44
- 68
4
votes
2 answers
Paperclip my Image is not recognized by the 'identify' command. (Running Windows)
Im using Paperclip to size my images but I keep getting this error
( 1 error prohibited this project from being saved:
Image C:/DOCUME~1/HP_ADM~1/LOCALS~1/Temp/stream,5584,0.jpg is not recognized by the 'identify' command. )
Ive tried pretty much…

ChrisBedoya
- 737
- 2
- 15
- 28
4
votes
1 answer
How to identify if Google Adsense code is submitted?
How could I recognize or identify with PHP or Javascript if a submitted code is equals to a Google Adsense code?
For example, I submit several javascript codes onto my website through a form, and the program should recognize when I submit a Google…

Miklos Nagy
- 43
- 2
4
votes
3 answers
Program can't be found in PATH by Java Runtime on Mac OS X
I am using ImageMagick on Mac OS X (10.7). I installed it with the help of MacPorts.
When I now enter the Terminal and write:
identify image.jpg
it is working perfectly fine.
But now while executing it from within Java, the following exception…

Dejell
- 13,947
- 40
- 146
- 229