Friday, February 23, 2007

encoding numbers

positional number systems base the value of a digit on its position. this changes with the base that you use, for example in binary base2 110 does not equal the one hundered ten that it does in the base ten that we use regualarlly.


The easiest way to convert binary to decimal that we talked about in class involved using the 2 to increasing powersand then adding the numbers that correspond to ones in the binary number.


2^8 / 2^7 / 2^6 / 2^5 / 2^4 / 2^3 / 2^2 / 2^1 / 2^0



1 / 1 / 0 / 0 / 1 / 0 / 1 / 0 / 1


256 + 128 + 16 + 4 + 1 = 405

























num.quotientremain.binary
52926411
264132001
132660001
663300001
3316110001
1680010001
8400010001
42000010001
21o000010001
1011000010001

Friday, February 16, 2007

Global Swarming

Clark began this chapter with talk of slug slime and ant feramones, and then went on to show how this same principle is now being used in our every day online use. This is the principle that is used at online stores such as Amazon to suggest other purchases that you might consider making as a result of you previous purchases. This idea of following what others with your similar tastes just like the ants and the slugs.
Clark goes on to show the evolotion of search engines, from rudimentary, ineffective text searches to more complex, link searching systems that find the best matches by seeing where and how they link to other places. He also then continues on to educational programs that allow children to modify on screen behavior in a simulated environment. He also mentions Linux, a free operating system that is large improved, tweeked, and maintained by a global network of users.

Unix

cd
changes directory, by itself it will take you back to your home directory, and in conjunction with a directory name it will change to that directory.

ls
this command shows the files that are in a directory. this command can be modified by "-a", "-l" or both, -a shows you all the "dot" files in a directory and the -l shows your permissions.

whoami
this command shows you your current user name

exit
this command logs you off of the system