User Tools

Site Tools


blog:fall2015:mp010784:intro

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
blog:fall2015:mp010784:intro [2015/09/05 17:06] – [Week 2] mp010784blog:fall2015:mp010784:intro [2015/09/05 17:14] (current) mp010784
Line 82: Line 82:
 --Matthew Page 08/26/2014  --Matthew Page 08/26/2014 
  
-======Data Structures====== 
  
-====Week 1==== 
- 
-I think I'm changing formats from writing stuff every single day to just writing a general synopsis for every week for each class to preserve my sanity.\\ 
- 
-For data structures this week we discussed the general idea of linked lists and looked at our first project (dsi0) which is pertaining to making an array list and having a user driven menu that changes data in the array list.  We also talked about pointers and nodes.\\ 
- 
-"To achieve enlightenment you'll want to draw pictures in each stage." --Matt Haas\\ 
- 
-Pointers have:\\   
-1) a name\\ 
-2) an address\\ 
-3) contents at address\\ 
- 
-%%*%% - means get the contents of what's at address.\\ 
-%%&%% - means give me the address.\\ 
- 
-"Saving the planet, one keystroke at a time." --Matt Haas with ending by Zack Golden.\\ 
- 
-Node code:\\ 
-<code> 
-struct node    //defining struct node 
-{ 
-    signed short int value; 
-    struct node *next; 
-}; 
- 
-typedef struct node Node; 
- 
-Node *tmp;         //does the same thing 
-struct node tmp2;  //does the same thing 
- 
-Node *tmp=NULL;           //setting both pointers tmp and tmp2 to NULL 
-struct node *tmp2=NULL; 
- 
-tmp=(Node*)malloc(sizeof(Node));  //instantiating a node. 
- 
-tmp->next->NULL;  //pointing back to NULL after the node. 
- 
-tmp->value=7;  //setting the value in node to 7. 
- 
-tmp->next=(Node*)malloc(sizeof(Node));    //instantiating 2nd node. 
-tmp->next->next=NULL;  //setting pointer of 2nd node to NULL. 
- 
-tmp2=tmp->next; //pointing tmp2 to the second node. 
- 
-tmp2-value=13;  //setting value in second node to 13.  
- 
-</code> 
- 
-====Week 2==== 
- 
-First day this week we worked on getting accustomed to the pods and logging in and using the X system.  On lab46 we set up and clone our mercurial repository on lab46 and ~/src directory if we didn't already have it.  I spent most of the class working on my project dsi0, my program called arraylist.c\\    
- 
-The other day of class this week week spoke in some depth to linked lists and some of the functions we may need to implement in upcoming programs in regards to linked lists, such as:\\ 
-1) create()\\ 
-2) copy()\\ 
-3) clear()\\ 
-4) insert()\\ 
-5) append()\\ 
-6) obtain()\\ 
-7) setpos()\\ 
-8) getpos()\\ 
-9) find()\\ 
-10) swap()\\ 
-11) sort()\\ 
-12) compare()\\ 
-13) rmlist()  (deallocate list)\\ 
-14) empty()  (empty the list to make an empty list)\\ 
-15) displayf() (display forwards)\\ 
-16) displayb() (display backwards)\\ 
- 
- 
-======HPC Experience 1====== 
- 
-====Week 1==== 
- 
-I think I'm changing formats from writing stuff every single day to just writing a general synopsis for every week for each class to preserve my sanity.\\ 
- 
-This week in HPC Experience 1, we got our new LAIR (apparently a backronym meaning Location for Abstract and Innovative Resources) on main campus and seriously need to rearrange tables and such to make a more pod-like set up like our old LAIR.  We were stuck (in all LAIR classes actually) not being able to do much else as the school screwed up the computer orders so we had no machines in the LAIR the first week.\\ 
- 
-However this turned out to be a positive as we ended up with a "free" upgrade and got our thin clients in on Friday, when nobody was there, but we set up one of our pods, and got all 6 machines hooked up and connected to the network and online.\\ 
- 
-Next week we should be able to finish up all the other pod setups and work on some more efficient cable management scheme.\\   
- 
-====Week 2==== 
- 
-We finished setting up the thin clients in the LAIR, pretty much rendering the LAIR operational again on some level.  Brian and maybe also Andrew went hardcore into some cable management to clean up the crazy mess the rest of us made. 
-======Data Communications====== 
- 
-====Week 1==== 
- 
-I think I'm changing formats from writing stuff every single day to just writing a general synopsis for every week for each class to preserve my sanity.\\ 
- 
-In Data Communications this week we did some looking at the IP addresses that the college uses and some looking at subnetting.  We also set up our smart switch for the IT closet so that we get our network in the LAIR rocking.  We also talked about conversion of binary to decimal to octal to hexidecimal and were urged to practice that so as to become more adept at converting between those varying number systems.\\   
- 
-====Week 2==== 
- 
-We fired up the new machines, running OpenBSD, and looked at our new .bashrc files with some aliases pertaining to OpenBSD.  We also looked at our window manager options and fixed our .Xsession file if necessary and played around trying out the various X environments we have installed.  Dan Shadeck and I want to try out the "awesome window manager" configured in LUA, I've used it before ages ago, I wouldn't mind retrying it, if Matt would install it.  Otherwise we can try it on our laptops. 
blog/fall2015/mp010784/intro.1441472818.txt.gz · Last modified: 2015/09/05 17:06 by mp010784