User Tools

Site Tools


blog:fall2015:ahoover3:journal

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:ahoover3:journal [2015/11/16 00:43] ahoover3blog:fall2015:ahoover3:journal [2015/12/17 15:58] (current) ahoover3
Line 17: Line 17:
   * quit   * quit
  
 +====August 27th, 2015====
  
-====October 20, 2015====+Today we talked about the importance of base conversions. It would be wise to memorise bases of 2,3,8,16 etc.  
 + 
 +Pointers.  
 + 
 +Pointers allow us to access data by referencing it. All pointers have three characteristics, Which is name,  address, and contents.  
 + 
 +when you use the & symbol in front of the pointer, you are referencing the address of the pointer. 
 +  
 +====September 3rd, 2015==== 
 + 
 +Today we talked about different versions of linked lists, such as chain loops, grid structures, and regular loops.  
 + 
 +When we are creating and manipulating lists, we make use of several common functions. These are as follows: 
 +  * input - append 
 +  * add - insert 
 +  * remove - obtain 
 +  * output - display 
 +  * create  
 +  * copy 
 +  * clear 
 +  * setpos 
 +  * getpos 
 +  * find 
 +  * swap 
 +  * sort 
 +  * compare 
 + 
 +These functions will be implemented in the projects to come, and will build upon each other.  
 + 
 +====September 6th, 2015==== 
 + 
 +Cable management. Who would've thought it could be as complex and as important as this? Setting up the pods was the easy part. Organizing all the various cables that go along with them is the slightly more challenging part. Each of us tackled a different pod, and used twist ties and tape in order to tame the mess that was the inner part of the tables. This in itself brought up yet another problem. Since we had no unified plan, and we all had different ideas as to how the tables were to be organized, we ended up with four different styles of management. I took the route that traded a clean space behind the monitors for a clean floor that wouldn't suffer from foot interference. I believe that this was the optimal route, but each version had its perks. I personally think that there should be a class on this.  
 + 
 +====September 10th, 2015==== 
 + 
 +In today's data structures class, and continued to go over the SLN0 project and the debugger known as GDB.  
 + 
 +A segmentation fault is basically a runtime error. This happens when a program tries to access a part of memory that we don't have access to, or simply doesn't exist.  
 + 
 +In order to use the debugger, you run make and then make debug. This compiles the program with debugging symbols that can be interpreted by the debugger.  
 + 
 +In order to view where your program interacts with the unit tests, you can add a breakpoint that stops the code when it hits your program.  
 + 
 +When you hit enter, gdb repeats the last command that was run.  
 + 
 +Step is also a very useful tool that goes through the programs and their interactions step by step, allowing you to pinpoint the errors.  
 + 
 +Continue goes from breakpoint to breakpoint. 
 + 
 +====October 20th, 2015====
  
 This week we are wrapping up SLL2. This project brought about some new things that we had not used currently. One of these things would be a double pointer in the obtain.c file. While seemingly daunting at first, the double pointer basically means that the node pointer (thatNode) is pointing to another node (tmp). This is done so that we can declare a variable for the node that we want to obtain, and then grab it with the use of thatNode.  This week we are wrapping up SLL2. This project brought about some new things that we had not used currently. One of these things would be a double pointer in the obtain.c file. While seemingly daunting at first, the double pointer basically means that the node pointer (thatNode) is pointing to another node (tmp). This is done so that we can declare a variable for the node that we want to obtain, and then grab it with the use of thatNode. 
Line 41: Line 91:
  
 This week we concluded the projects of DLL0 and DLL1. The projects were tough, and even though I didn't get all of it, I think my understanding is still improving more and more by the day. My 5+ hour sessions in the lair are mentally taxing sometimes, but I am getting things done and progressing in my understanding of data structures as a whole. In HPC, I am still working with the touchscreen, but I am attempting to implement it with other systems, such as Kodi (XBMC) that is running on a android base. Kyle also got it running with ubuntu in order to play his tic tac toe game he made in java. Which is pretty kickass, I must say. Tyler's iteration of the game in c is pretty awesome as well. Seeing a graphical application in the terminal is quite impressive. Makes my html/java application look rather lame... However, it's a work in progress. Hopefully we will be able to get the touchscreen out in the hall sooner than later.  This week we concluded the projects of DLL0 and DLL1. The projects were tough, and even though I didn't get all of it, I think my understanding is still improving more and more by the day. My 5+ hour sessions in the lair are mentally taxing sometimes, but I am getting things done and progressing in my understanding of data structures as a whole. In HPC, I am still working with the touchscreen, but I am attempting to implement it with other systems, such as Kodi (XBMC) that is running on a android base. Kyle also got it running with ubuntu in order to play his tic tac toe game he made in java. Which is pretty kickass, I must say. Tyler's iteration of the game in c is pretty awesome as well. Seeing a graphical application in the terminal is quite impressive. Makes my html/java application look rather lame... However, it's a work in progress. Hopefully we will be able to get the touchscreen out in the hall sooner than later. 
 +
 +====November 22nd, 2015====
 +
 +This past week in HPC, I attempted to make an informational page in html. The goal is to have a single page that everyone in the lair can use as a one stop destination for stats relating to classes, system info, news and weather. 
 +I have a brief background in html, and I wanted to expand upon this knowledge with this project by creating something useful by using a combination of html, css, javascript, and bash. So far, I have created a basic page so far that has 6 subsections. In order to display stats from the lair, such as how many people are online, what the uptime is and etc, I created a simple bash script that took the output of a command and exported it as a text file into the public_html folder. From there I was able to grab the file and display it using the html side of the program. I set the page to refresh every minute, and every 5 minutes a cron job executed the bash script that would overwrite and update the text file in the public_html folder. 
 +
 +====December 6th, 2015====
 +
 +This past week in data structures, we completed our final projects of DLS0 and DLQ0. There is one week left of regular classes, with the release of the EoCE imminent. Things seem to move by extremely fast, and its amazing to think that we've done so much in such a little time. With these last two projects, I have gained a better knowledge of stacks and queues and how they work. I have also began to understand how these sort of structures play out in nature all around us. It is beginning to make sense as to what sort of scenarios that these things would be used in. Overall knowledge-wise, its amazing how far we've come since the beginning.  
blog/fall2015/ahoover3/journal.1447634624.txt.gz · Last modified: 2015/11/16 00:43 by ahoover3