First, to convert the decimal number 529 to decimal you continually divide the number by 2, and if there is a remainder after each division it represents a "1". The numbers which divide evenly will thus represent a "0" in the binary representation. This is better explained just by showing it, so here is the conversion for 529. (R=remainder). Notice how the right side forms the binary code which is read from bottom up.
529
529/2 = 264 R 1
264/2 = 132 R 0
132/2 = 66 R 0
66/2 = 33 R 0
33/2 = 16 R 1
16/2 = 8 R 0
8/2 = 4 R 0
4/2 = 2 R 0
2/2 = 1 R 0
1/2 = 0 R 1
Thus, the binary code for 529 is 1000010001.
To convert from decimal to binary is a bit more complicated in my opinion, but not very difficult at all once the concept is understood. The binary 110010101 is represented in decimal by multiplying (from right to left) the binary number times 2 to the power of the n-1. For example, there are 9 numbers in this sequence. The numbers are then added together to get the final decimal number. So the first number (the "1" all the way to the right) is multiplied by 2^0. (n=1, so n-1=0). Likewise, the last number "1" (all the way to the left) is multiplied by 2^8 (n=9, so n-1=8), or 258. Below is the long-hand math done for the binary of 110010101.
1*2^0 = 1
0*2^1 = 0
1*2^2 = 4
0*2^3 = 0
1*2^4 = 16
0*2^5 = 0
0*2^6 = 0
1*2^7 = 128
1*2^8 = 258
So, the decimal of 110010101 is (1+0+4+0+16+0+0+128+258) = 405
The difference between a positional and non-positional number system is relatively simple. Positional numbers are numbers which contain a base, normally 10 in the English number system. Which means that there is a specific set of symbols (in our case, 0-9) which, depending on the placement, makes the value greater or lower. For example, we have "places" for each number, "5" alone represents a much lower number than "500" simply because the 5 is in the "hundreds" place in this case.
Non-positional numbers are complex in that you have to understand what each symbol represents in relation to the numbers next to it. There is not a constant multiplier and the position does give the value an increase or decrease. The Roman Numeral System works on this concept. For example XIII is equal to 13. The position the X is in does not give it a specific value other than what it represents which is a 10. The "I's" following only represent 1s.
Wednesday, February 21, 2007
Wednesday, February 14, 2007
Unix MSDos
I actually remember typing in commands as a kid to get to the games I wanted to play. I would have to type a very exact code in order for the game to come up; obviously before the day of icons. Some important Unix codes I learned that also have Windows/DOS commands.
1) cd is an important command which changes the directory you are currently in and can also move the directory to a folder is /directory is added after it. The MS-DOS command is the same for this particular commadn
2)rm (filename) is used to delete files on the Unix system, the MS-DOS counterpart is listed as del(file name)
3) "who" is used to check who is on the same system you are. Since Unix is an open network of computers which can share and transfer files, one of the first forms of the "internet." who allows me to actually see who is on the same unix system that I am. When I checked this another completely random person appeared, who was not even near the workstation I was at.
4)cal is another useful little feature in which you can view any calender for any year by typing cal (month in #) (year). The MS-DOS version is the same for this I believe, except that you can type out the month such as February instead of "2"
1) cd is an important command which changes the directory you are currently in and can also move the directory to a folder is /directory is added after it. The MS-DOS command is the same for this particular commadn
2)rm (filename) is used to delete files on the Unix system, the MS-DOS counterpart is listed as del(file name)
3) "who" is used to check who is on the same system you are. Since Unix is an open network of computers which can share and transfer files, one of the first forms of the "internet." who allows me to actually see who is on the same unix system that I am. When I checked this another completely random person appeared, who was not even near the workstation I was at.
4)cal is another useful little feature in which you can view any calender for any year by typing cal (month in #) (year). The MS-DOS version is the same for this I believe, except that you can type out the month such as February instead of "2"
Global Swarming
When I read this article I was immediately reminded of many of the things I had learned last semester in a telecommunications course entitled "Living in the Information Age", in which we studied terms such as data smog, which that we are living in an age where we have such an enormous access to information that it's nearly impossible to get a clear source of information. For example, when you search nearly any topic on Google you will get millions of hits or possibilities of sites for your searching. Andy Clark's article deals with this towards the end of the chapter, the sorting and collecting of this data into some coherent form. While any effort towards organizing the internet is enormous, the best solution (in my opinion) would be to sort out the sites before even typing anything in on Google. If the websites were sorted before you even searched it would allow for more relevant or reliable results. I remember when I use to play computers games like Simcity and the Sims, I never realized that it actually benefited in my understanding of the complex systems that we all use in multiple forms every single day.
In dealing with the first part of the article, I noticed many references to Google and its ability to sort out what you are searching and then record this data for others to use if relevant.Google does solely do this for our benefit however. Google is a master of targeting audiences. First, Google allows users to customize a front page called MyGoogle. This directly allows Google and other businesses to know what any person's interests are, and advertise accordingly. Google grosses eight billion a year on advertisements alone, so they must be doing something right...or wrong.
I greatly enjoy Andy Clark's writing style, it is descriptive but relatively to the point. The analogy of the slug was my particular favorite. It was very logical and allowed me to grasp the concept of data tracking well. Amazon.com is a key example of this data tracking. Nearly everything we do on this earth is now somehow recorded, especially when shopping online. Online companies such as Amazon and Ebay keep track of everything I buy on their websites. Because of this, they are able to compose a seller profile. This profile works by collecting data from everything a consumer buys, then putting together more possible things they would like to buy based on their previous purchases. We can easily note this through the "People who bought this also bought..." an obvious sign of the data tracking of Amazon and other companies.
This relates to the snails in that we follow other people's tracks in order to make our own decision. I think this is one of the main dangers that is only touched on in Chapter 6. We are no longer independent in nearly anything online. We need others opinions, just as the reference to the "worn thumbed pages" in Clark's article. It seems rather ridiculous that we would need a concept like this online. If we are always looking for those worn thumbed pages we may never have original ideas, instead we will in some form plagiarize others writing. I enjoy the internet because everything is left open for my interpretation, if I don't like what something says I can easily find another source that contradicts it. I've also heard of the interactive paper, which is could be a useful tool...but also does not seem very necessary in the days of laptop computers and palm pilots.
In dealing with the first part of the article, I noticed many references to Google and its ability to sort out what you are searching and then record this data for others to use if relevant.Google does solely do this for our benefit however. Google is a master of targeting audiences. First, Google allows users to customize a front page called MyGoogle. This directly allows Google and other businesses to know what any person's interests are, and advertise accordingly. Google grosses eight billion a year on advertisements alone, so they must be doing something right...or wrong.
I greatly enjoy Andy Clark's writing style, it is descriptive but relatively to the point. The analogy of the slug was my particular favorite. It was very logical and allowed me to grasp the concept of data tracking well. Amazon.com is a key example of this data tracking. Nearly everything we do on this earth is now somehow recorded, especially when shopping online. Online companies such as Amazon and Ebay keep track of everything I buy on their websites. Because of this, they are able to compose a seller profile. This profile works by collecting data from everything a consumer buys, then putting together more possible things they would like to buy based on their previous purchases. We can easily note this through the "People who bought this also bought..." an obvious sign of the data tracking of Amazon and other companies.
This relates to the snails in that we follow other people's tracks in order to make our own decision. I think this is one of the main dangers that is only touched on in Chapter 6. We are no longer independent in nearly anything online. We need others opinions, just as the reference to the "worn thumbed pages" in Clark's article. It seems rather ridiculous that we would need a concept like this online. If we are always looking for those worn thumbed pages we may never have original ideas, instead we will in some form plagiarize others writing. I enjoy the internet because everything is left open for my interpretation, if I don't like what something says I can easily find another source that contradicts it. I've also heard of the interactive paper, which is could be a useful tool...but also does not seem very necessary in the days of laptop computers and palm pilots.
Thursday, February 8, 2007
Modeling the World
This section of the lecture was particularly interesting to me, but at the same time a little bit confusing. It was one of those things where I perfectly understood the example of how to model a plant based on how the individual sections grow, but when asked to give my own model of something I wouldn't know where to start. The basis of the idea is just the scientific process where you theorize, test, conclude, and repeat. It's kind of like that Thomas Edison quote that goes something like, "I did not fail 10,000 times, I just found 10,000 ways not to make a light bulb." (or something along those lines). Modeling the world is much the same way, it's very much a guess and check sort of approach to science.
I remember in high school learning about the Fibonacci sequence. I actually used it to figure out the probability of the Plinko game in the Price Is Right. I was fascinated by the usefulness of such a universal and simple set of numbers. I also remember learning about another number or ratio called "the Golden Ratio" that, when worked out, equals around 1.618 which then can be applied to a multitude of things in nature, such as the length of a segment of an appendage in comparison to the next. Many Renaissance artists used this ratio in their art because it was aesthetically pleasing just as the Fibonacci sequence is to the ear.
I remember in high school learning about the Fibonacci sequence. I actually used it to figure out the probability of the Plinko game in the Price Is Right. I was fascinated by the usefulness of such a universal and simple set of numbers. I also remember learning about another number or ratio called "the Golden Ratio" that, when worked out, equals around 1.618 which then can be applied to a multitude of things in nature, such as the length of a segment of an appendage in comparison to the next. Many Renaissance artists used this ratio in their art because it was aesthetically pleasing just as the Fibonacci sequence is to the ear.
Subscribe to:
Posts (Atom)