Thursday, March 6, 2014

Photography: Perform

Our latest photography project was entitled 'Perform' with the additional requirement that we had to be in the pictures. These are the ones I turned in for the project:








Monday, March 3, 2014

Jayne Hat!

Mom mailed me a cunning Jayne hat! It is the little details that help make it great!




Wednesday, February 12, 2014

Time

In my photography class we had to do a project about time. Here is the result:



Aside: Sorry these pictures are so tiny. It is surprisingly difficult to position pictures using this blog, I just wanted a few larger pictures in the square shape, but this was the best I could do.

I threw in this picture just for fun!


Saturday, December 14, 2013

Grad School

Today, I finished applying to Grad School! I applied to:

University of Washington
Massachusetts Institute of Technology (Media Lab)
Carnegie Mellon
Brown
Tufts
Virginia Tech
Georgia Tech

It was not a fun process. It was a lot of repeated data entry, which is really an unnecessary waste of time. I'm glad it is now over.

Wednesday, December 11, 2013

Winter!

So, this blog sort of died. Whoops!

Anyway, today I found out that I received an Honorable Mention for the CRA Undergraduate Research Award, which is pretty cool.

I have finals, and grad school, and classes, and tons of work.

Saturday, June 8, 2013

Summer!

Finally! It is really summer. I finally studied for and took the algorithms test I missed while in the hospital with pneumonia.  After five weeks of not doing algorithms, the test was tricky. It would have gone a lot better if I could have just taken it with everyone else. At least I no longer have school work looming over me.

I also found a marble.

That's all for today.

Tuesday, April 16, 2013

Program Embedding

My assignment for Programming Languages this week was to embed a programming language inside an existing programming to make it more extensible. We began with the Unix script program and embedded Lua inside of it so that we could use it to complete other actions. the Unix script program is something which records a log of the terminal session while running. In other words, at the end of the session you can read a file which shows all of the actions entered by the user and the output from the terminal.

In general, you can imagine the script file as follows (figures taken from CS131 assignment instructions):


The internal behavior of script can be visualized as:


Finally, we embed a language within script to add functionality:


To complete this process, we had to substantially modify the C source code for script and make it so that we could call functions written in Lua from C and vice versa. The final part of the homework assignment was to do something interesting with the new Lua embedding. One of the things that could be done was to change the way in which information is displayed on the screen. This is what my partner and I decided to do:


For every string that was supposed to be displayed to the user, we went through character by character and added the ansi commands required to change the color and then displayed the newly altered string to the user in the terminal. As you can see in this picture, we began by running the newly compile lscript. All of the text in white is the original color before the embedded code starts running. Then, once the code starts running, everything displayed and everything the user types becomes RAINBOW! As an example, I used cat on the rubric for this assignment so the terminal displayed the rubric in gorgeous colors.