Two containers with same number detected in Chittagong port
container-news.com
container-news.com
One of the staples of contracts class in the first year at many law schools is Raffles v Wichelhaus, an English contract case from 1864.
There was a contract for someone to sell a bunch of bales of cotton from India to a buyer in England. The contract called for the cotton to be sent on a ship called the Peerless to Liverpool from Bombay.
Unknown to both the buyer and the seller there were actually two different ships called Peerless both sailing from Bombay to Liverpool, one arriving in October and one in December.
They seller was thinking of the December one when signing the contract, and the buyer was thinking of the October one.
The buyer needed the cotton in October and when it did not arrive on the Peerless in October the buyer considered the contract broken and refused to accept the cotton that came on the December Peerless.
"I went to the pier to meet the Peerless but the cotton didn't appear"
"Did you talk to Captain Pierre?"
"Captain Pierre of the Peerless? No, the captain of the Peerless was Captain Pearce"
"Well did you talk to Captain Pearce?"
"Yes, on the pier." ...
https://www.youtube.com/watch?v=pV1IP4N9ajg
Even now "Fork handles" will get a smile from me.
When she called the company to straighten it out, she said (calmly) that the packet was missing the F and G.
The woman on the other end gasped and said, "we're happy to send you a replacement letter, but there's no need to be rude!"
Let's see if you are sensible to other kind of humour :):
https://www.marriedtothesea.com/041508/tracking-number-14.gi...
> A contract for cotton "to arrive" was a contract for forward delivery, or, as it is sometimes called, a "time contract". One might expect that such a contract would normally specify a time for delivery. For it is the moment when the goods become available in the market that is of paramount importance to the purchaser, particularly if the purchaser wants the goods for use. But the world in which such contracts originated was one in which this was not really possible. Although one could discover, after an interval, when a sailing ship had left or, more approximately, proposed to leave its port of departure, it was very uncertain when, if ever, it would arrive at its destination. Even when it did arrive, there were uncertain delays in finding a berth to unload its cargo. Hence such contracts did not originally specify the time of arrival, much less delivery, even within some fixed period. All they did was to identify which shipment of cotton was being sold; presumably the rationale of this was that the buyer, so long as he knew which shipment was being sold, would be able to form his own estimate of the probable time of arrival. This would not, of course, be a point in time but a period. It is said that originally such contracts were made only when arrival was imminent, the ship typically having been reported off Point Lynas, which is on the north coast of Anglesey, some fifty miles from Liverpool. Presumably there was a signal station there. No doubt also cotton was sometimes sold as the ship lay in the river, waiting to berth. In such cases the date of delivery could be guessed with some precision, though a square-rigged vessel, if it did not employ a steam tug, could take a long and unpredictable time to cover even fifty miles.
The author also provides the broader context, which is that this was likely a form contract in the nascent commodity futures market. Additionally, this occurred during a period of particularly overheated speculation in cotton. In other words, just as is common today, financial speculators were pushing the legal and technological envelope of the instruments available to them. (Futures markets go back much further, but the mid-19th century is in many respects when modern futures markets began to take on their current shape. He cites another source pointing out that in "'in certain offices in Liverpool today the futures department is still called the Arrivals Department.'")
Reading this case, I'm surprised at the outcome. The seller fulfilled on the terms of the contract.
The contract also didn't specify the precise color or weight of the cotton, the exact destination, etc etc etc so the defendant could make similar claims to renege on the contract.
Granted, time is arguably special inasmuch as it allows the seller to construct a scenario for fulfillment, e.g. the seller could've delivered 100 years later on a new boat that happened to be named Peerless. That's clearly not the intent.
In that sense, a contract can be considered void if it doesn't reasonably specify time.
The judgment states pretty clearly that a contract is void if the two parties, at the time they made the contract, did not agree on what it meant.
> the moment it appears that two ships called the “Peerless” were about to sail from Bombay there is a latent ambiguity, and parol evidence may be given for the purpose of shewing that the defendant meant one “Peerless,” and the plaintiff another. That being so, there was no consensus ad idem, and therefore no binding contract.
[The words are from the defendant's lawyer, but the court appears to have agreed immediately.]
So this isn't formally a "win" for the defendant - formally, there never was a contract, and the suit was dismissed for failure to state a claim.
Far stronger reasoning (for example) is that a contract must spell out time, which is a special property of contracts because (for example) 1000000 years is virtually never an acceptable period for which to fulfill on your end of a contract.
A contract is an agreement, so it stands to reason that if the parties do not, in fact, agree, there is no contract. The piece of paper we call a contract is, in fact, only a (strong) evidential tool to help the court figure out what the parties agreed.
> Far stronger reasoning (for example) is that a contract must spell out time, which is a special property of contracts because (for example) 1000000 years is virtually never an acceptable period for which to fulfill on your end of a contract.
How is this "far stronger reasoning"? It isn't even reasoning at all, because there is no existing rule that a contract must spell out time, so it's simply an untruth. Unless you were suggesting that the court create a new rule out of nowhere that all contracts must spell out the time for performance or else become void. A court would obviously never do that in light of the huge disruption it would cause.
No. That was the whole problem. It was for market price when the cargo arrived and the price of cotton jumped between October and December. So the buyer didn't want it any longer and basically claimed they thought it was going to be on the October boat.
The seller had to sue to either obtain payment or void the contract or else spend energies and time pursuing payment by persuasion whilst the entire time granting the ostensible buyers a free call option on FOB Liverpool cotton. My cynical guess is that regardless of evidence of foreknowledge about the duplicate ship names, Lloyds Register [0] most certainly did exist and importantly was considerably more accessible from Liverpool than India. Seller's imperative wasn't recompense but prior to marketing the cargo and taking profit, obtaining title and clean hands. Why go to so much effort? Letters of credit access and costs issues that could have been affected by a impossible distance impedance to necessary restorative PR.
[0] https://hec.lrfoundation.org.uk/archive-library/lloyds-regis...
Edit:.. evidence of foreknowledge..
This is fun when so much of the flow is based on these references, think goods arrival scanning, and sometimes shipping does take a long time so 90 days or whatever is cutting it close.
I suspect it's often some legacy stuff, like a certain system only had 6 chars available for the reference, and so that's how they ended up working around it and nobody realized that limitation no longer exists.
But yeah, does not make much sense to us either.
Then again, who knows what goes on behind the scenes...
This was a multi year project where we had to deliver software used to map risk and impact across the whole company.
Imagine the costs.
source: https://www.flightglobal.com/airlines/a320neo-line-adapts-to...
Would likely be super costly just to figure out which, if any, of the systems that would have to change.
22 digits and they somehow still manage to reuse tracking numbers. 10^22 (or 10^20, if we assume some encoding overhead) valid numbers should be able to uniquely identify a lot of mail.
USPS labels (and other labels from other couriers) are an incredibly fascinating subject you would never care about until you work in the industry.
> USPS tracking numbers are at least 22 digits long
Actually, that’s wrong. There are shorter ones.
Examples:
82 000 000 00 - Global Express Guaranteed
EC 000 000 000 US - Priority Mail Express International
CP 000 000 000 US - Priority Mail International
There’s also foreign shipped packages that will follow various standards that aren’t 22 digits, yet are still technically a valid USPS tracking number.
The system worked fine when production was X times smaller, but no attention has been paid to it since it was first designed.
The minute a simple unique identifier is established for something, someone who is just important enough not to be told "no" screws it up.
A thing that I've seen is that people want things to be grouped together in reporting, so they insist on it having the same identifier as all other things in the same group.
Sooner or later, they ask for a report that distinguishes between them, though.
Edit: Source https://www.thedailystar.net/business/news/two-containers-sa...
"Five containers of the second batch have numbers akin to another five belonging to the previous batch, according to Borhan."
"Five containers of the second batch have numbers akin to another five belonging to the previous batch, according to Borhan, at least."
This is much more reassuring because it just looks like Borhan needs to get his shit together. Optimism!
Then, IMEI numbers.
https://press.princeton.edu/books/paperback/9780691170817/th...
https://containertech.com/articles/shipping-container-number...
https://www.wolframalpha.com/input?i=1-%28999999%2F1000000%2...
https://en.wikipedia.org/wiki/Birthday_problem#A_simple_expo...
[0] https://www.wolframalpha.com/input?i=1-%28999999%2F1000000%2...
That said, how many containers is one company likely to own? 1,000,000 is a big number but it seems like some of the big logistics companies could flirt with that. Doors anyone know if they have multiple “owner codes” or an I just way overriding the scale here?
Like IEEE OUIs, one company can have multiple owner prefixes. Maersk has 41:
* https://www.bic-code.org/bic-company-search/?searchterm=MAER...
Not if you're on mobile. Lots of cell networks only give IPv6 addresses to phones.
E.g., T-Mobile in the US:
> Recently the Uniform Code Council (the organization that governs UPC bar codes) announced that starting in January 2005, they will require that all retailers and trading partners in the United States and Canada that presently scan 12-digit UPC bar code symbols be capable of scanning 8 digit EAN-8 and 13 digit EAN-13 bar code symbols as well. Furthermore, the UCC strongly recommends enhancing systems to accept bar code data of up to 14 digits in preparation for a new numbering system called GTIN (Global Trade Identification Numbers) that will eventually be used to identify products world wide.
* https://www.taltech.com/blog/post/changes_in_the_upc_code
* https://en.wikipedia.org/wiki/Universal_Product_Code
* https://en.wikipedia.org/wiki/Global_Trade_Item_Number
Sidenote: it would be interesting to see what would need to be done to expand the allowed telephone number length:
> qbirthday(prob = 0.5, classes = 1000000, coincident = 2)
1178
See https://www.rdocumentation.org/packages/stats/versions/3.6.2...And that was a long time ago with a comparatively very small server count compared to today.
Someone's manufacturing database probably had a tiny race condition.
Luckily the MAC was in a rewritable location so it was possible, if a royal pain in the ass, to reprogram them all.
We replaced all of the cards, and booted the lab. 1 machine got an IP and then it all went to hell. Every single machine showed up with the same MAC. Think we had to rip and replace to fix it.
The company obtained 300 cheap Intel PRO/100 Fast Ethernet NICs from China. The idea was that the crews would have a bunch of those cards to be able to install them in customers' computers.
Everything was dandy until second installation in the same building. For a little more backstory - it was a kind of shitshow infra with dumb switches and all customers in a building being in the same LAN.
So... the second installation in the same building rendered the former newest customer's link inoperable. Or wouldn't work, then suddenly there was connectivity, then there was no ping to the gateway but some other devices were pingable etc etc. The crew replaced the card with another one (from the same shipping), re-crimped RJ45s on both ends, changed switch port and nothing - same shit with random internet connectivity losses. Weird situation with seemingly no reason for what was happening.
It later turned out that the reason was that all 300 NICs had the same MAC address. All of them.
Somehow I always assumed there'd be more than 6 digit IDs for these things. I'd guess collisions have happened, but never been caught in the same port before.
Huh, that's a lot less than I expected there to be.
I would guess that the next answer is "Evergreen gets multiple Owner codes", because that's a real simple way to stretch it, but...
This was their source. Apparently not updated since that 2012 survey: https://www.csiu.co/resources-and-links/world-container-flee...
You can read more about the container numbering standard here: https://en.wikipedia.org/wiki/ISO_6346
* https://www.bic-code.org/bic-company-search/?searchterm=MAER...
If the port authority conducting the inspection are not diligent, it's easy to miss this.
And it can often be simple human error. Some fat fingers the wrong range in morning, forgets to list the used codes, reads the wrong line, some glitch preventing machine from saving the last used code...
Just remember how much stuff is made by cheapest possible bidders, who might not be so much interested to deliver best work always.
In this case, it appears to be a mistake. That a number was accidentally reused.
But a concern could also be fraud, theft, smuggling, etc. A “bad” container that was supposed to fly under radar mocked up to look legit if anyone checked.
The manufacturer's new container-id generation logic probably has/had this category of issue (i.e., TOCTOU).
[1] in fact, back in my student days most NICs I had were cheap knock-off versions, the "real" things were not the inexpensive items they are today. This predates it being common to have one built into your motherboard, even more expensive ones, by some time.
We started getting tech support complaints when we sold the product into China. Turns out, an enterprising vendor bought a single usb+network printer, desoldered the EEPROM (containing the ethernet mac address). Then that vendor bought usb-only (cheaper) products, added the additional parts and bulk copied the single eeprom image (with the mac address) onto the new products, selling them as the more expensive usb+network sku. Result: a dozen+ of our product running on the LAN with the same mac address.
And /u/linuxlizard, if you don't mind saying, were you using speech-to-text to write that comment?
I think homophone spelling errors are a different issue though - english education in the US is really quite poor so a lot of grammatical rules[1] (they're/their/there) and spelling aren't really well impressed on society at large - people will hear a term in conversation and start using it in their own speech, when they arrive at typing it out they'll make their best guess at spelling and it'll probably end up a roll of the dice which homophone their spell-check ends up shoveling them towards.
1. /me types while admitting they constantly type in spoken english - preferring the spoken sentence construction rules. Something something glass houses and stones.
This is false. It was impressed into us many times throughout grade, middle, and high school. People just don’t care enough to get the right spelling because they were using the words natively long before they learned to spell them.
I wonder if I'm unconsciously mimicking errors from others, or if something in my brains has changed.
https://www.investopedia.com/terms/s/stock-keeping-unit-sku....
So they running this port with pencil and paper? No database? No sanity checks?
Or they simply don't run those queries until they need to. i.e. "we don't give a F unless there's a hiccup"
The point isn't to track containers. The point is to get goods to where they need to be and when. Unless two of the same container shows up thereby causing a WTF moment there is no problem because there is no ambiguity in the container handling process and therefore they don't care.
It's not like Bangladesh and Port of Los Angeles have a need/desire/whatever to share the same primary keys in the same database somewhere.
What are you going to use, a laptop or something?
If it ran out of power without completing its process, upon reboot it might very well assign the same number to the next container.
Even without a computer, you could have the day shift actually paint the number on the first container, but fail to finish the paperwork or it could get lost.
Then the night shift comes along and uses the same number on the next container.
Which sounds like a lot of work and I’m not sure port operators want to share that, although it would be really cool.
I’ll see myself out…
Tracking containers port to port everywhere would be a MOUNTAIN of useful intel.
Because blockchain. Even though there are now dozens of instances of crypto developers messing up their own work.
What exactly can you see and compute? The end result in the blockchain is the output of <something>, where <something> is any number of centralized actors putting data from opaque sources based on extremely complex contracts.
Most of the info in databases is boring and nobody cares about maliciously changing it it.
If someone were really interested in changing the number on your shipping container, blockchain can’t prevent someone with a $1 can of spray paint from changing it.
> spray paint
Sure, but the point here is to not lose the records too, which someone could trivially change if they own the Postgres DB. When I have a shared record of a container and somebody repaints its SN, at least I know I lost it, and I can also easily claim that I did not forge the records too because they signed the record with their wallet.
The main electricity supply company at the time was running manual billings from a big room filled with manual general ledgers, one “T” account per household.
It is a humbling, impoverished country with its main riches being its resilient, kind, resourceful people.
Down the road/bay from Chittagong are the shipwrecking yards - a big time investment but worth watching is this… https://youtu.be/5jdEG_ACXLw
<edit> the film I am looking for is Iron Eaters, a very human view of the horrific shipyards. The above film is from India, but still worth looking at.
Sounds troubling.
Even if two entries showed up with the same id, I’d assume as a user it’s a glitch and would not put two different shipments into what I would assume is a duplicate entry for the same container.
If it is just a matter of unique identifier, a UUID4 or similar could be used.
I guess that they need some control digits, there are solutions for that too.
Containers are at play here.
;)
https://patch.com/img/cdn20/getty/22887410/20200526/033010/s...
https://www.thedrive.com/content/archive-images/ap_111036136...
I wish I could have the same plate as everyone else... or no plate at all like Steve Jobs used to do (https://abcnews.go.com/Technology/steve-jobs-car-apple-ceo-l...).
This is a completely different issue.
"An object reference was discovered to be null today in a web browser window in Frankfurt. Officials said the problem was discovered when some JavaScript application code attempted to read a property from the object reference."
"An admin at a local it shop discovered two 3com nics with the same Mac address while setting up a rack of four new servers. The admin got suspicious when reliable network communication was not possible with any of the two servers and after further investigation found the duplicate addresses."
Sure enough, two generic NE2K NICs had duplicated MAC addresses!
So then it’s 2am and his basement closet is really warm…
Doesn't work out so well when you have a room full of these PCs all getting imaged at thhe same time and suddenly half a dozen on the same switch have the same MAC. :\
(I believe it came down to a BIOS problem and a new version sorted it out.)
The internal network was coax Ethernet. I was working on a networking project at the time and ran a packet sniffer on the internal network and saw that some MAC addresses could access the outside world.
I'm lazy and I didn't like having to go halfway across the building, sit at a slow ass computer to download a datasheet, copy it to a floppy, then walk halfway across the building back to my cube, and finally copy it to my computer. Ain't nobody got time for that.
So I modified my network driver to use one of the macaddrs that had internet access. When I needed something from the Internet, I'd load my modified driver then unload it when I was done. Much easier.
I thought I was doing it for such short periods of time that nobody works ever notice. Of course I was wrong.
After about a month I got called into the IT manager's office. And of course the the macaddr I picked belonged to the VP of engineering who also was the son of the president.
Fortunately they understood that young engineers are dumb and do dumb things and let me off with a warning.
*Well new-ish. The first time I saw that message as a child playing a game on Windows I freaked out and immediately turned off the computer. I was terrified the computer did some illegal math and I was going to be arrested!
... I'll let myself out.
Nearly 150,000 children we're orphaned today when their parents were tragically lost in a catastrophic data importation process. Heartless DBA's were nonchalant as they spoke to the children of their parents being merely "redundant backups".
This website actually has some pretty good news too. Didn't know protests/strikes were still happening around California.
e.g. Freight Trucking is one that has a particularly robust network of competing news sites https://www.freightwaves.com/news/category/trucking, https://www.ttnews.com/, https://www.thetrucker.com/
To anyone else who finds this interesting, and I'm not exaggerating, -- if there's any cool industry hubs you find, please send them my way.
what hubs are you interested in?
I like GCaptain. It’s shipping news in a nice format. Started reading it during the Suez blockage.
Almost makes me wish I worked in that industry. Logistics, especially when ship borne, is rather interesting.
If our code found one of those "bad" ids, we'd have to pick a new UUID to use as an identifier for that phone and save it to the flash.
Years ago I made a large scale device data storage system, and one of the key design constraints I included that always threw people for a loop when they saw it was 'device unique IDs are not unique'. The system explicitly scoped all data in such a way that any collisions would always occur within a given customer that owned/controlled the device, to avoid data leakage, security issues, etc.
Because yeah, it's amazing the corners people will cut.
Last I checked, the system was still working well at 4+ billion devices, so I guess it worked out.