This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
blog:spring2016:ahoover3:journal [2016/04/14 16:01] – [April 12th, 2016] ahoover3 | blog:spring2016:ahoover3:journal [2016/05/03 16:00] (current) – [April 28th, 2016] ahoover3 | ||
---|---|---|---|
Line 246: | Line 246: | ||
There are multiple open source systems and programs that take advantage of cluster computing in c, with one of the top ones being MOSIX. These systems take multiple network connected machines and turns them into a " | There are multiple open source systems and programs that take advantage of cluster computing in c, with one of the top ones being MOSIX. These systems take multiple network connected machines and turns them into a " | ||
+ | |||
+ | |||
+ | ====April 15th, 2016==== | ||
+ | |||
+ | More information regarding Dragonfly BSD : | ||
+ | |||
+ | More information regarding MOSIX: [[https:// | ||
+ | |||
+ | Perks of using Dragonfly versus MOSIX is that MOSIX treats every single node on a cluster as part of a whole single machine. This means that performance decreases might be seen if there are differences in the physical hardware of the nodes. Dragonfly is different in the respect that you have more control over where specific parts of the program go if you so desire. | ||
======Systems Programming Journal====== | ======Systems Programming Journal====== | ||
Line 557: | Line 566: | ||
We are attempting to create a ghetto messaging (chat) program that utilizes shared memory. | We are attempting to create a ghetto messaging (chat) program that utilizes shared memory. | ||
+ | |||
+ | ====April 21st, 2016==== | ||
+ | |||
+ | Today' | ||
+ | |||
+ | Ncurses is a terminal management library. This means that it takes over the stdout, stdin, and such. Things like fprintf will not work properly while ncurses is engaged. | ||
+ | |||
+ | **Resources: | ||
+ | * man ncurses (on the pod, not lab46) | ||
+ | * man initscr (init screen) | ||
+ | * -lncurses (to compile against) | ||
+ | * man refresh | ||
+ | * man getxyx | ||
+ | |||
+ | |||
+ | |||
+ | ====April 26th, 2016==== | ||
+ | |||
+ | Working with ncurses again today, with an immersion in the windows aspect of it. | ||
+ | |||
+ | ====April 28th, 2016==== | ||
+ | |||
+ | da real Pac-Man implementation. | ||
+ | |||
+ | Over the years, there have been many different implementations that are similar to the original, and those with different styles. | ||
+ | |||
+ | In order to layout the board, we will use a variation of the bit-field called a bit-board. | ||
+ | |||
+ | In order to make things more manageable, separate files should be written and compiled in one. | ||
+ | |||
+ | ====May 3rd, 2016==== | ||
+ | |||
+ | Continuing the pac-man journey by implementing a cursor function. | ||
+ | |||
+ | user include ncurses.h | ||
+ | |||
+ |