Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
I found a feature in the SAP kernel. When converting data to hex, using the supplied kernel methods, the alignment bytes, used to make sure that integers, for example, begin on a word, are not zeroised - they are undefined. In fact, they contain whatever was in memory at that point already.
Bit of a pain when we're using the hex representation of the data to create a hash string, and we get different hashes on different runs
Fortunately:
Code:
FIELD-SYMBOLS: <l_hexvalue> TYPE x.
ASSIGN is_record TO <l_hexvalue> CASTING.
does set the alignment bytes to zero.
It's a feature, not a bug, because when I reported it to SAP, they just said - yes, that's what it does. It felt very good when I figured out the issue, and when I found the workaround, despite SAP's helpfulness.
We're supposed to be using Christmas avatars now. So HAB is subtly hinting that he'll be on holiday in Bermuda or somewhere for a month over Christmas, while most of us are stuck here in the UK shivering our nuts off
Somewhere in the Caribbean.
NO I'M FRAKING NOT.
I'm stuck in 'orrid London for .... only the great maker known how long.
I had a client complain about the output of some function that I was using from an open source toolkit. It was a complaint for the sake of complaining complaint, so I passed the complaint on to the writer of the function knowing they had a good sense of humour. They responded by sending a link to their page on Wolfram MathWorld and their lecture on the subject from the MIT site.
Interesting avatar. Is that you haunting AlreadyPacked in Egypt?...
We're supposed to be using Christmas avatars now. So HAB is subtly hinting that he'll be on holiday in Bermuda or somewhere for a month over Christmas, while most of us are stuck here in the UK shivering our nuts off
Had similar during the first week of my last contract. It got so bad and was making me look like a right tw@ that I thought Jeremy ******* beadle was going to jump out at some point. Turned out to be the compiler and I made a huge point of letting them know.
Interesting avatar. Is that you haunting AlreadyPacked in Egypt?
I shall never forget a company Xmas piss-up in the 1980s when one of the most serious hard drinkers turn up 2 hours late and burst into the restaurant and yelled:
"It was a f**king bug in the ME29 COBOL compiler "
(Yes, he did say :banana: - I remember it well.)
The whole company cheered him and it was a special night after that.
It is a sign of the true professional: methodical, confident, wise - that can find bugs in compilers, external libraries and operating systems.
Well done, HAB. You've still got it - and not many ever had it to start with.
... finding out that the bug that has been driving me potty for a day and a half isn’t me being stupid, but a bug in an external library. It being open source, I could look deep into it and find out what was wrong and even managed figure out a fix, send it to the author and get it a) acknowledged as a bug, b) have my fix accepted.
I managed to get lucky this time, but there is no way I could do this programming lark for a living anymore.
... finding out that the bug that has been driving me potty for a day and a half isn’t me being stupid, but a bug in an external library. It being open source, I could look deep into it and find out what was wrong and even managed figure out a fix, send it to the author and get it a) acknowledged as a bug, b) have my fix accepted.
I managed to get lucky this time, but there is no way I could do this programming lark for a living anymore.
Leave a comment: