|
About ten years ago I had to interface with a third-party system via sockets. The specification for the socket API specified that each message had to be identified by a ten-digit ID -- any ten digits would do, it just had to be unique. I decided to use the first two digits to identify (to myself) what type of message it was. For most messages I used "00", but for some special messages (like when querying the health of the other system) I used "99" or "98". BOOM! The response was always that the message was invalid and the system was resetting.
I contacted the developer at the vendor (the guru who developed and documented the API) and he said that my messages should have been valid and he had no idea why the system was behaving as I had described it to him.
A few days later he told me the reason -- the developers of the application hadn't understood the API specification and had assumed that the ID was a 32-bit integer (!) and they were trying to parse the ten digits . Once he got them straightened out they fixed their code and all was good after we installed an update. Whether the fix was to use a string or a 64-bit integer on their side I will never know.
|
|
|
|
|
Been there, done that
The "standard" I'm currently using defines fields and values in a message.
I've had to exchange messages with two parties so far, and both had their own "interpretation" of which fields were mandatory.
For the SOAP definition I had to create a completely different version
The latest version of the spec, which is actually a pretty detailed document, is about 15 years old, so that shouldn't be the problem
|
|
|
|
|
Ah stop your bitching, I worked with a financial system where the traders were allowed to enter 1.23m or 1.23 mil or basically anything they liked for numerical values. Try doing financial regulatory reports on such shite that had to be accurate to the cent.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Mycroft Holmes wrote: or basically anything they liked for except numerical values. FTFY
Why would you even want that?
|
|
|
|
|
Trading platform and guess who made the bank the most money, so traders (lazy, ignorant, opinionated arseholes) get to dictate what they want.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
- Excel messes up leading 0s
- Octal nightmare
- Blame it on EBCDIC, space comes after 9 in ordinal order!
I think I learned these from a David Letterman top ten list, but I forgot the other 7.
|
|
|
|
|
englebart wrote: Excel messes up leading 0s And more!
I get a CSV file from a customer, but they often edit it using Excel.
There go the leading zeroes, decimals, date formats...
|
|
|
|
|
Well, in my case it was an Admin Manager who passed out a 'file format' to 40 or so customers for a CSV return with (30+) columns described as 'Number', 'Text' and 'Date'....
|
|
|
|
|
He should add "Decimal" just to be 100% clear
|
|
|
|
|
I never, ever start a numerical sequence with leading zeros. Never. Add a 1 at the beginning.
|
|
|
|
|
To be clear, it's not my number.
It's some government issued number
|
|
|
|
|
Close around her debts are evil.(9)
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Nefarious?
Close = Near
Around her = Nefar ( f for female )
Debts = ious
Evil = Nefarious.
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
modified 20-Jul-21 4:07am.
|
|
|
|
|
Yep. Quicker than I expected. Care to provide the solution? Anyway, YAUT.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
modified 20-Jul-21 4:09am.
|
|
|
|
|
I used to complain that solution in all my previous work were too big.
But now that I just joined EA Games, the solution I work on takes the cake by a big margin: 541 projects!
Can't wait for VS2022! In fact.. already using the preview.. save for a few minor bug, it ain't too bad...
|
|
|
|
|
Good luck, sounds like a lot of work!
The less you need, the more you have.
Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?
JaxCoder.com
|
|
|
|
|
Mike Hankey wrote: sounds like a lot of work
I dunno how many man years there is in it.. but one thing I know for sure.. most people only understand the surface of what they do.. which is not ideal.. unavoidable, but not ideal..
|
|
|
|
|
Super Lloyd wrote: most people only understand the surface of what they do.. which is not ideal. i try to make sure all my friends are more superficial than i am ... that is not easy to do when trying to avoid understanding them
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch
modified 21-Jul-21 2:40am.
|
|
|
|
|
If you build it, they will come.
|
|
|
|
|
42.
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|
|
Maximilien wrote: 42.
Alleluia! All questions have finally been answered!
|
|
|
|
|
|
27 projects and there's only two of us working on it.
Oh, and dev work isn't even our primary jobs!
|
|
|
|
|
Just a baby solution!
still can be a little confusing for newcomers...
|
|
|
|
|
I have no solution. But I do have many problems.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|