Talk:2008-08-08

From Geohashing
Revision as of 06:56, 8 August 2008 by 131.170.90.4 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

what's going on with today's coordinates? they don't match up with the map program.

i'm east of -30 so i use thursday's dow, which is 11655.42

2008-08-08-11655.42 --md5--> 0aaaf63a6d0b377e9750403823884345
0aaaf63a6d0b377e --dec--> 768697417218078600
9750403823884345 --dec--> 10903285307722449000

so i should get -37.768697 145.109033, but the map program is generating -37.041672 145.591068.

this is driving me insane. what am i doing wrong?

- lantheria

the hex-->dec conversions are wrong. It should be hex/FFFFFFFF.... not a straight dec value conversion.

the 0aaa.... should convert to something like 05.... and the 975... should convert to something like 6....

(note I didn't actually do the math, I'm just estimating)

-cwolves

and I'm also blind  :) the conversions that the map generates are correct.

More examples:

1 --> 1/F --> 1/16

8 --> 8/F --> 8/16 etc...

You can also check this in windows calculator by setting hex mode, typing in:

0aaaf63a6d0b377e, click "DEC" mode and divide by 18446744073709551615 (FFFFFFFFFFFFFFFF in dec)

the early conversion to DEC is because HEX doesn't allow decimals.

-cwolves

ahh, i gotcha. thanks! sometimes the answer is staring right in front of you.

- lantheria