======Part 3====== =====Entries===== ====Entry 9: April 1, 2012==== What action or concept of significance, as related to the course, did you experience on this date? I was looking for "easter eggs" in unix. There are a lot of them in the old systems, but they seem to have been removed or just not on the lab46 term. I did find some fun ones moo in apt-get lab46:~$ apt-get moo (__) (oo) /------\/ / | || * /\---/\ ~~ ~~ ...."Have you mooed today?"... lab46:~$ moo in aptitude # aptitude moo There are no Easter Eggs in this program. # aptitude -v moo There really are no Easter Eggs in this program. # aptitude -v -v moo Didn't I already tell you that there are no Easter Eggs in this program? # aptitude -v -v -v moo Stop it! # aptitude -v -v -v -v moo Okay, okay, if I give you an Easter Egg, will you go away? # aptitude -v -v -v -v -v moo All right, you win. /----\ -------/ \ / \ / | -----------------/ --------\ ---------------------------------------------- # aptitude -v -v -v -v -v -v moo What is it? It's an elephant being eaten by a snake, of course. last one lab46:~$ ddate Today is Boomtime, the 54th day of Discord in the YOLD 3178 ====Entry 10: April 7, 2012==== I have a new phone... the droid razr... so nice. Not being rooted makes me feel like a little kid who had his mommy put a lock on the frig.. I Must get access! I would do another experiment on this one but i already noted doing it on my samsung. ====Entry 11: April 13, 2012==== I am at work and I was talking with the resident IT personality. I was trying to glean the type of servers that we have and see if any are unix based. After finding out that he did not have any idea about the unix server that acts as a printer relay i was able to help him out. He needed to find the IP address and i was able to tell him what and how to do it.. nice ====Entry 12: April Day, 2012==== This is a sample format for a dated entry. Please substitute the actual date for "Month Day, Year", and duplicate the level 4 heading to make additional entries. As an aid, feel free to use the following questions to help you generate content for your entries: * What action or concept of significance, as related to the course, did you experience on this date? * Why was this significant? * What concepts are you dealing with that may not make perfect sense? * What challenges are you facing with respect to the course? Remember that 4 is just the minimum number of entries. Feel free to have more. {{page>cprogpart3&nofooter}} {{page>unixpart3&nofooter}} =====Experiments===== ====Experiment 7==== ===Question=== What on earth is telnet for? ===Resources=== * http://en.wikipedia.org/wiki/Telnet * man * http://www.computerhope.com/unix/utelnet.htm * http://unixhelp.ed.ac.uk/examples/telnet.html * http://support.digitaldaze.com/quickstart/unix.html * http://www.unixmen.com/watch-star-wars-ascii-animation-via-telnet-on-linux-fun/ ===Hypothesis=== Can telnet be used like ssh? ===Experiment=== "GIFY", play and try. ===Data=== Telnet is is a network protocol much like ssh. TI is used to provide a connection between a user and server with TCP (Transmission Control Protocol). The basic syntax is telnet host.com. There are a list of arguments that can be used just like with any other utility. telnet [-468ELadr] [-S tos] [-b address] [-e escapechar] [-l user] [-n tracefile] [host [port]] Use telnet to connect to a server telnet towel.blinkenlights.nl Once connected starwar ascii plays /~\ ( oo| They've shut down _\=/_ the main reactor. ___ # / _ \ / ()\ \\//|/.\|\\ _|_____|_ \/ \_/ || | | === | | |\ /| || |_| O |_| \_ _/ # || O || | | | ||__*__|| | | | |~ \___/ ~| []|[] /=\ /=\ /=\ | | | ________________[_]_[_]_[_]________/_]_[_\_________________________ ===Analysis=== Based on the data collected: * Was your hypothesis correct? * yes, same thing with not as much fun * Was your hypothesis not applicable? * yes * Is there more going on than you originally thought? (shortcomings in hypothesis) * no * What shortcomings might there be in your experiment? * it was a shoot and hit experiment * What shortcomings might there be in your data? ===Conclusions=== Telnet is just one more approach that has been taken to network computer together. It is used typically in a windows and unix server world. ====Experiment 8==== Implement TOR ===Question=== Can TOR be implemented on a droid unix machine. ===Resources=== * http://en.wikipedia.org/wiki/Tor_(anonymity_network) * https://www.torproject.org/ * https://play.google.com/store/apps/details?id=org.torproject.android&hl=en * https://www.torproject.org/docs/android.html.en ===Hypothesis=== I am not the first, there must be away!? ===Experiment=== Success is gained from a working install of TOR on a droid unix machine. ===Data=== Thankfully, i found out after starting this project that Orbot worked on a nice app for TOR. TOR stands for The Onion Router and is designed to enable online anonymity. Much like a multilevel proxy. The project was started in 2002 by Roger Dingledine, nick Mathewson and Paul Syverson. In 2011 the project was awarded the Free Software Foundation's 2010 aware for projects of social benefit. Tor basically works to conceal the user from surveillance and traffic analysis. It encrypts and then randomly bounces the communications through a bunch of relays run by volunteers all over the place. ===Install=== {{:opus:spring2012:skinney1:1336402171578.jpg?nolink&200|}} Simple download the .apk file https://play.google.com/store/apps/details?id=org.torproject.android&hl=en {{:opus:spring2012:skinney1:1336402201011.jpg?nolink&200|}} Once installed you need to set up some fine points. TOR wants you to have root access to the device, but has a version for the unrooted. It will ask you simple questions about what you want to do with it, have everything use it etc. {{:opus:spring2012:skinney1:1336402217316.jpg?nolink&200|}} I established everything and surprise... everything works fine. Orbweb is also a nice install allow a full browsing experience that even tells you your fake IP, mine was 31.172.30.4. {{:opus:spring2012:skinney1:1336402190457.jpg?nolink&200|}} ===Analysis=== * Was your hypothesis correct? * Yes * Was your hypothesis not applicable? * Yes * Is there more going on than you originally thought? (shortcomings in hypothesis) * NO * What shortcomings might there be in your experiment? * I cannot seem to find an experiment that is data driven * What shortcomings might there be in your data? ===Conclusions=== Thanks to projects and a supportive community of developers the general public has access to wonderful tools like TOR. The ease of install and of use made this project and easy score. ====Retest 3==== ===State Experiment=== Jdavis, float experiment http://lab46.corning-cc.edu/opus/spring2012/jdavis34/start#experiment_if_or_not_if ===Resources=== Evaluate their resources and commentary. Answer the following questions: * Do you feel the given resources are adequate in providing sufficient background information? * They worked for him, but I need more to go on. * Are there additional resources you've found that you can add to the resources list? * Yes, noted bellow. * Does the original experimenter appear to have obtained a necessary fundamental understanding of concept? * yes * If you find a deviation in opinion, state why you think this might exist. * He seems to have issues with the code.. lets see if i get any further.... ===Hypothesis=== State their experiment's hypothesis. Answer the following questions: * Do you feel their hypothesis is adequate in capturing the essence of what they're trying to discover? * Yes * What improvements could you make to their hypothesis, if any? * none ===Experiment=== Follow the steps given to recreate the original experiment. Answer the following questions: * Are the instructions correct in successfully achieving the results? * * Is there room for improvement in the experiment instructions/description? What suggestions would you make? * Would you make any alterations to the structure of the experiment to yield better results? What, and why? ===Data=== * http://msdn.microsoft.com/en-us/library/hd7199ke(v=vs.80).aspx * http://www.lix.polytechnique.fr/~liberti/public/computing/prog/c/C/CONCEPT/data_types.html ===Analysis=== Answer the following: * Does the data seem in-line with the published data from the original author? * sure * Can you explain any deviations? * The mixing of a float and an int value results in two different types of holders.. then to do some math on it and ask for it to be normal just did not work for me. #include #include int main() { float x; int y; int done; printf("Listen... we only add two numbers so keep it simple\n"); printf("input 1st num\n "); scanf("%f", &x); printf("input 2nd num\n "); scanf("%d", &y); done = x + y; printf("%f\n", done); return 0; } Value is dumb input 1st num 2 input 2nd num 2 0.000000 * How about any sources of error? * I am not a pro... so i hate pointing at someone else's stuff knowing that i am also missing things.. but since you insist. * You can the project was started when we first began out C programming learning. * missing line breaks * cannot use one printf to get two vaules if not allocated to do so * did not declare the math header file * attempted a getchar... not sure why * The main focus was to see the int and float work together to do a simple math problem. * Is the stated hypothesis adequate? * yes ===Conclusions=== Answer the following: * What conclusions can you make based on performing the experiment? * I need more work with C, but i had fun mixing it up. * Do you feel the experiment was adequate in obtaining a further understanding of a concept? * yes * Does the original author appear to have gotten some value out of performing the experiment? * yes * Any suggestions or observations that could improve this particular process (in general, or specifically you, or specifically for the original author).