Uniquely identifying each & every html template
werotizy at freent.dd
Tue Jan 22 00:01:39 CET 2013
On 01/21/2013 01:39 PM, Oscar Benjamin wrote:
> On 21 January 2013 12:06, Ferrous Cranus <nikos.gr33k at gmail.com> wrote:
>> Τη Δευτέρα, 21 Ιανουαρίου 2013 11:31:24 π.μ. UTC+2, ο χρήστης Chris Angelico έγραψε:
>>> Seriously, you're asking for something that's beyond the power of
>>> humans or computers. You want to identify that something's the same
>>> file, without tracking the change or having any identifiable tag.
>>> That's a fundamentally impossible task.
>> No, it is difficult but not impossible.
>> It just cannot be done by tagging the file by:
>> 1. filename
>> 2. filepath
>> 3. hash (math algorithm producing a string based on the file's contents)
>> We need another way to identify the file WITHOUT using the above attributes.
> This is a very old problem (still unsolved I believe):
That wiki article gives a hint to a poosible solution -use a timestamp
to determine which key is valid when.
More information about the Python-list