User Tools

Site Tools


blog:fall2015:creid4:start

MY NAME's SEMESTER Opus

OPTIONAL SUBTITLE

Introduction

My name is Chris this is my second year of college at ccc for the computer science degree. last year i learned alot about how to program in ansi/iso C and much of the fundamentals around problem solving. this year i hope to get a deeper understanding of making fast robust efficient code.

My ultimate goal is to be able to confidently tackle a code oriented task with and with ought a team to get the desired results.

MONTH Day, YEAR

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?

9/11/2015

dsi0 is done and my brain feels like 8 pound jello… the program is working as described displaying editing and creating arrays. debugging was so time consuming and i had to do 3 re hall of my program. that is complete restructuring.

i swear to you this was not procrastination i dont have fun any more … i dont even know why im typing this… i think i should go to sleep now i just feel so defeated…

sep/29/2015

recently we dived into the intricate structures of linked list and their sudo counterparts.

i know have enough of an understanding that i want to create a node vector drawing program for graphics libraries i could try it with text and refresh but that sounds insane.

here is an example for later reference *note* this is not perfect. check in src/data/sll0/unit/list/vector.c

#include        <stdio.h>
#include        "node.h"
#include        "list.h"
 
struct point
{
        int *x;         //make float later
        int *y;
        int *z;
        struct point *after;
};
struct vector
{
        point *first;
        point *last;
};
 
typedef struct point Point;
typedef struct vector Vector;
 
int main()
{
        // begin drawing 3d cube
        // fnt face
        Vector *fnt1 = NULL;
        Vector *fnt2 = NULL;
        Vector *fnt3 = NULL;
        Vector *fnt4 = NULL;
        //bk face
        Vector *bk1 = NULL;
        Vector *bk2 = NULL;
        Vector *bk3 = NULL;
        Vector *bk4 = NULL;
        // fnt face data points  
        fnt = mkpoint(fnt,5,5,0);
        fnt = mkpoint(fnt,10,5,0);
        fnt = mkpoint(fnt,10,10,0);
        fnt = mkpoint(fnt,5,10,0);
        // bk face data points
        bk  = mkpoint(bk,5,5,-5);
        bk  = mkpoint(bk,10,5,-5);
        bk  = mkpoint(bk,10,10,-5);
        bk  = mkpoint(bk,5,10,-5);
 
        return 0;
}
 
Point *mkPoint(Point *pnt, int * x, int *y, int *z)
{
        pnt = (vector *) malloc(sizeof(vector));
        // do stuff
}       //return pnt
Vector *addPoint(Point *vList, Point * new)
{
        // do stuff
}       // return vList

oct/26/2015

experiencing multiple levels of burnout but i have finally reach a crest in this part of the code were i can see new horizons. unfortunately this also reveals the upcoming storm. i feel good though today code sll3 will be submitted early even though sll2 is broken ill eventually revisit it.

nov/4/2015

been really busy working one these newer projects in the doubly linked list section ive finished the dln0 doubly linked nodes. and it was way more thought then i had imagined. i thought i wasn't getting any rest earlier ….anyways the special things about dll and beyond is we have now added error handling to our code and restructured our base node and list structs to now include a new type UNION containing DATA,VALUE,OTHER also the list struct now has a node linking to prior or a previus node in the list. this allows us to now move forward and backwards in the list with more freedom. thats all for now im off the finish dll0 display because its due today.

11/18/2015

this week been pretty bussy trying to get my pc up and running got distracted with the idea of trying to hack the oppus for an impossible grade lol. and have an incomplete understanding of this stack que thing… just submited a completly incomplete project ill continue on it for now…

Dec/1/2015

this is a opus entery im not sure what to put so yeah… had break last week started stacks and queues. currently 2 weeks from end of course experience… not looking forward to this.

Dec/8/2015

time is coming near the count down has begun. things ive learned this week trees are a pain in the ass but supper useful i finished addnode in the tree project now im trying to understand traverse. the problems i had with addnode were minimal logic i used a || logic when i should have used a && causing a seg fault then i was iterating my max height check causing it to reach its limit early.

Portfolio

to be implemented forking in php.

Update the above link no longer is relevant as the php function only works within a terminal. due to this technical difficulty the project has been submitted server side.

Explenation: the php file runes then splits using the pcntl_fork() function to chreat a child from the process. Then the two processes print if they are a parent or child. This demonstrates a concept I was learning in my systems class and thought it was neat that php was capable of the same thing.

ref

cprog

unix

hpc1

blog/fall2015/creid4/start.txt · Last modified: 2015/08/27 09:44 by 127.0.0.1