babysimon: (compile)
[personal profile] babysimon

Hi. My colleague XXXXXXXX gave me your email address. I'm looking at the format of XXXXXX sales files - specifically the CRC on the header line.

The document "XXXXXXXX Retail Interfaces" states that the CRC is "the one's complement of the total number of bytes in the file excluding the header". However, my understanding of a CRC (Cyclic Redundancy Checksum) is that it is a 16- or 32-bit hash value calculated from the file contents.

The example files you've sent us have an 18-digit (72-bit) hexadecimal number as the first line. This doesn't appear to match either definition.

The file XXXXXXXXX has a header line of "0002527b00001e363e" - according to "XXXXXXXXXX Retail Interfaces", the file size should be FFFDAD84FFFFE1C9C1 or 18,446,090 Terabytes.

Could you explain how this value is calculated please?

Thanks for your help,

Simon MacMullen

(no subject)

Date: 2002-08-23 08:45 am (UTC)
From: [identity profile] ciphergoth.livejournal.com
CRCs can be any length, of course...

Across all of its storage, I'd be surprised if the world was up to a single exabyte yet. 18 exabytes seems a little excessive.

Units a go-go

Date: 2002-08-27 07:40 am (UTC)
ext_58972: Mad! (Default)
From: [identity profile] autopope.livejournal.com
We will, however, need a new unit of data storage within the next twelve or so iterations of Moore's Law -- especially once brain uploading stops being something we do to spiny lobster stomatogastric ganglia and starts being a realistic option.

My proposed unit for humongously large data: the avabit. One avabit (Avogadro Bit) is the amount of data that can be represented using Avogadro's Number of atoms -- 12.5 grams of carbon, if data is represented in a flawless diamond matrix by a carbon-12 nucleus for a 0 and a carbon-13 nucleus for a 1. This gives us 6.022 x 10^23 bits as a unit of storage. If you go by Hans Moravec's estimate of the complexity of a human brain, this comes out at roughly one human brain per 5-carat diamond. (1 metric carat is 200 miligrams; 10 carats is 1.04 x 10^23 bits or about 10^16 bytes.)

(Of course, by using different isotopes and encoding schemes you can store >1 bit/atom, but carbon-12 and carbon-13 are long-term stable, so this is a really secure format.)

April 2017

S M T W T F S
      1
2345678
910 1112131415
16171819202122
23242526272829
30      

Style Credit

Expand Cut Tags

No cut tags
Page generated Apr. 20th, 2026 08:14 am
Powered by Dreamwidth Studios