Coding schemes and number systems has given me a headache. Let’s just call it like it is. This stuff is confusing for me and probably for a great portion of computer users who don’t right programs or code. I have read the Appendix a minimum of 6 times. I see dancing 00011010100 and (1x2)^10132103 as I try to type this vary blog in Microsoft Word. I feel guilty knowing that some poor man is currently in a pink straight jacket in the Sun Valley Mental Health Ward trying to sort out his brain from the computer code that he had to master in order to make this possible. So to you “Mr. Computer Coder Man”, I salute you and promise to kiss my index and second finger and raise it to monitor each every time I successfully submit and spelling and grammar error free paper. Now let me see if I can take just a little part of this and try to make sense of it before I join computer coder man.
Seeing that the book explained this almost as clear as mud, I have enlisted my friends at Yahoo to help me sort this out. (Having done the research what the book has to say makes sense now so I don’t want to hurt the author’s feelings just in case you are reading this). Kirupa.com has a nice experiment where some genius decides it will be sport to see if he can teach it to us. I must admit he was successful. Here is what I gathered (http://www.kirupa.com/developer/actionscript/binary_conversion.htm). The orders of places are multiples of each other.
1 2 4 8 16 32 64 128 256 512 1024
So if I gave you the code 010101010 you could figure this out with a calculator and scratch paper. Just match the 1’s and 0’s to the appropriate numbers above (remember to go in reverse order. If there is a 0 in its place, simply ignore it. However if there is a 1 in its place, we are going to take that associated number and start a running total. So if you were following along it would look like this:
2+8+32+128+512=682
Now I waited till the end to tell you about the best part of this particular web page. Zelwyn tells me that the Windows Calculator when in scientific mode will do the transformation for you. Simply put the calculator into Bin type in the 010101010 and then change it to Dec mode and just like magic, headache avoided. (Please see screen shot below to see calculator lay out.
Now obviously this little research is not going to have me creating the next DOOM on the computer. It will however help other parts of the coding and schemes make sense. Maybe if I am lucky someday I can write code for my next blog; “No longer blogging like a rookie!”
Seeing that the book explained this almost as clear as mud, I have enlisted my friends at Yahoo to help me sort this out. (Having done the research what the book has to say makes sense now so I don’t want to hurt the author’s feelings just in case you are reading this). Kirupa.com has a nice experiment where some genius decides it will be sport to see if he can teach it to us. I must admit he was successful. Here is what I gathered (http://www.kirupa.com/developer/actionscript/binary_conversion.htm). The orders of places are multiples of each other.
1 2 4 8 16 32 64 128 256 512 1024
So if I gave you the code 010101010 you could figure this out with a calculator and scratch paper. Just match the 1’s and 0’s to the appropriate numbers above (remember to go in reverse order. If there is a 0 in its place, simply ignore it. However if there is a 1 in its place, we are going to take that associated number and start a running total. So if you were following along it would look like this:
2+8+32+128+512=682
Now I waited till the end to tell you about the best part of this particular web page. Zelwyn tells me that the Windows Calculator when in scientific mode will do the transformation for you. Simply put the calculator into Bin type in the 010101010 and then change it to Dec mode and just like magic, headache avoided. (Please see screen shot below to see calculator lay out.
Now obviously this little research is not going to have me creating the next DOOM on the computer. It will however help other parts of the coding and schemes make sense. Maybe if I am lucky someday I can write code for my next blog; “No longer blogging like a rookie!”
No comments:
Post a Comment