News for hackers. Stuff that matters.
Re:Amazon Jumps into Freight Brokerage by tormeh on Saturday May 18, 2019 @06:49AM (#19946725)
Can this be solved by sending two files, one with the data and one with a checksum of the data?
Re:Amazon Jumps into Freight Brokerage by fragmede on Saturday May 18, 2019 @04:01PM (#19949439)
That's a reasonable idea! There are a wide variety of ways to solve the problem, using ftp uploads as the primitive, but ultimately that's... kind of the problem. Everyone's solution is different from everyone else's, but those different solutions have different ramifications, so when they fail, they have to handled very differently. That is to say, OOP, classes and inheritance, only gets you so far.

(An issue w/ whole file checksums is that there are cases where partial file processing is desirable, but that's not to say there's not use of checksums.)

Re:Amazon Jumps into Freight Brokerage by tcarn on Tuesday May 21, 2019 @01:59PM (#19972810)
That's what we do. Have a summary file and a detail file and they need to match.