Questions tagged [identification]

211 questions
4
votes
3 answers

identifying the format of files

In linux, we have a utility called “file”, which helps us to determine the identification of a file. Is there any python module that can do the same job? I don't prefer to use subprocess.Popen(['file', 'blah.blah']), because it is platform…
prgbenz
  • 1,129
  • 4
  • 13
  • 27
4
votes
1 answer

How to identify a database when it's being moved to another server/instance

I'm writing a tool which is used to perform several database operations. But the tool should only be used with one specific database. Now I'm looking for a way, to securely identify the database, the tool is connected to. First I thought about just…
MatSnow
  • 7,357
  • 3
  • 19
  • 31
4
votes
3 answers

Rails Device "Fingerprinting"

Is there any way or best practice around device fingerprinting for a rails app? In other words. Given that all cookies are blocked, is there any way, with a relatively good degree of certainty, who the person is before they log in? My assumption:…
chrishomer
  • 4,900
  • 5
  • 38
  • 52
3
votes
1 answer

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,…
mathieu
  • 30,974
  • 4
  • 64
  • 90
3
votes
0 answers

How to identify which serialized format is this?

I'm trying to parse some CSV file that has some elements with this format (Below I show 2 examples) { :{a:{-} b:{c:{6} d:{-} } e:{-} f:{-} } } { a:{b:{c:{123} } } } Below in vertical form only in order for you to visualize better. { : …
Ger Cas
  • 2,188
  • 2
  • 18
  • 45
3
votes
0 answers

Shortest path between nodes in netlogo using nw extension

I want to find the shortest path between two nodes - slocation and new-location - in a network of links I have several slocation and new-location. One slocation for each citizen with some age, sex, and other characteristics, and one new-location…
Sss
  • 427
  • 2
  • 8
3
votes
1 answer

Why is stanford corenlp gender identification nondeterministic?

I have the following results and as you can see the name edward has different results (null and male). This has happened with several names. edward, Gender: null james, Gender: MALE karla, Gender: null edward, Gender: MALE Additionally, how can I…
3
votes
1 answer

Is this construction a design pattern?

Sometimes I initialize my classes by passing to it a POD (Plain Old Data). This reduces the number of parameters I have to pass to the function (whether it is the constructor or an init function), it allows me to not care about the order in which…
Vaillancourt
  • 1,380
  • 1
  • 11
  • 42
3
votes
0 answers

Any Standard Way to Do Seamless Cross-Domain Authentication With Trusted 3rd Party Web Applications?

Say I run example.com and 3rd-party.com is a trusted partner. Sometimes I want to send my users to 3rd-party.com while letting this website know who the user is (by providing the user's Id), in a way that would not require any user action. Is there…
3
votes
1 answer

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…
Ram Rachum
  • 84,019
  • 84
  • 236
  • 374
3
votes
1 answer

Django content type of an image file

I want to check a file type before uploading it by: content = self.cleaned_data['picture'] content_type = content.content_type.split('/')[0] When I upload the picture I get an error: 'NoneType' object has no attribute 'content_type' What can be…
hln
  • 1,071
  • 4
  • 21
  • 37
2
votes
1 answer

How would I write a powershell script that pings AD, Outputs TXT of online systems, then use that file to output a list of installed software

I am trying to write a powershell script that will Ping each Hostname in an OU in AD, Output a txt file of online hostnames, then using the Get-WmiObject to get a list of software on each online systems. I've tried and I can't seem to figure out…
2
votes
0 answers

How to identify devices and browsers from registered users accessing to my website

I'm trying to develop a feature for my own website that detects the specific devices that are accessing to my page and from which browser are entering my registered users. Something similar to what the telecommunications companies do i.e. Orange in…
adrian
  • 37
  • 1
  • 5
2
votes
3 answers

Using /usr/bin/file to determine file type?

I'm planning to use this system program /usr/bin/file to determine uploaded file content type and then act accordingly. Is this a good idea or are there things I should watch out for? (Or use something altogether different)
siliconpi
  • 8,105
  • 18
  • 69
  • 107
2
votes
1 answer

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…
user34537
1 2
3
13 14