>From Oskar Sandberg <oskar at freenetproject.org>
>On Wed, Nov 28, 2001 at 04:32:52PM +1100, Emil Mikulic wrote:
>> "UNIX: measuring in inconvenient units since 57,974,400!"
>>
>> How about hacking fproxy up to accept old-style DBRs and
>> silently convert them to the current hex time_t DBRs?
>
>This is the best way of doing it, and it would not have to be too
>difficult. After all the mapping from URI -> Freenet Key is already done
>in a manner most users don't understand, so adding a layer so that
>
>SSK at aaaaaaaaaaaaaaaa,bbbbbbbbbb/[2001-11-28 00:00]-coolpage
>
>maps to
>
>SSK at aaaaaaaaaaaaaaaa,bbbbbbbbbb/3c041af0-coolpage
>
>before being mapped to the 23 byte SSK value would not be any different.
>Doing the actual hashing on a seconds since the epoch value makes a lot
>of sense, since date formats are complicated often include a lot of
>redundancy.
>

Cvs uses getdate, public domain code that parses dates in pretty much any 
format you would want (like "August 12" or "5 weeks ago" or "yesterday"...) 
into a time number, we could use that to make it extremely easy to specify 
which DBR you want.  I'll volunteer to port that to java if it hasn't been 
done already. (I can't find one)

Sound good?

--
Benjamin Coates


_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to