1. Tuesday Feb 28, 2012

    (yesterday) watched nisemonogatari ep8 well that was certainly a thing that happened. but why did they do that what is going on with this show

    1pm took subway to manhattan. At some point, the train just stopped at a station for like 15 minutes with no explanation. Later the train started moving again but stopped moving when it was in a tunnel between two stations. After a long time of not moving, the train started moving forward like 2 feet at a time, and it would get pulled back 1 ft immediately after, it was kinda weird because despite being on many many stalled trains in my life, I’ve never seen this happen. I could hear shouting from the train conductor, and then some time after, he came into the train car and told us (“I’m gonna tell you guys this before I announce it over the intercom”) that this half of the train was dead and the train would be inching forward until reaching the next station, and we’d all have to move all the way to the very front of the train the first train car to exit through that one door. After a while the front of the train finally got there and everyone had to get out through that door, going upstairs and being confused as to what to do, because clearly no other trains could get through so we couldn’t just wait for the next one. We all got compensation tickets to take the bus, so we all took the bus to the next station and got on different trains there. I thought it was really interesting because on the intercom you always hear “due to an earlier incident, manhattan-bound blah trains are now running on the blahblah line” and I never know what these incidents are, but this time I was actually on the train when it happened! On the MTA website, even now (2 days later), the Q train schedules are still kinda messed up.

    anyway, got to class about 30 mins late (2:30pm) but luckily it was jlab, in which the professor is always an hour late. At 3pm professor arrived and asked us questions about op amps and whatever, then stuff to do with finding the internal capacitance of breadboards

    6pm operating systems, got hw3 back (9.5/10, half a point off for redirecting stdin when it shouldn’t have been), then learned more about mmap and how executable files are “loaded into memory” (they aren’t really) and how the very first thing that happens when a program starts is a pagefault (due to demand paging). Learned about the different flags (MAP_PRIVATE, MAP_SHARED) and how memory maps work after forks (page table entries set to read and/or exec only), and are memcopied when written to. Got hw #5 assigned, which is to write a program that tests certain things about the system (how it does things with mmap)

    9pm went home, finished working on stochastics hw