This past week our Allocator project was due. I am very satisfied with the way my partner and I delivered it. We finished our solution relatively fast and got an efficient, well-performing memory allocator. I think it is definitely amongst the sexiest projects I have done in UT C S. And, like the rest of prof. Downing's projects, what took longer than expected was the "secondary" requirements, a.k.a. creating the issues in Github, closing them with each commit you make, getting the unit tests to work and testing most of the corner cases! This one definitely took longer than expected. But altogether I think it is for sure a project worth bringing up during an interview. Prof. Downing has not posted the next project yet but I am excited for it and, as mentioned before, I will definitely be using a partner given the rough time I had with the first project given I didn't do pair programming.
I could not come to class on Friday but from what I can see and have heard we are starting to discuss to major data structures: Stacks and Queues (as well as Priority Queues, which I have always liked more than regular queues). I still remember the first time I was exposed to these Data Structures in my C S 314 class. I think they are fun to implement, especially the Priority Queue given that it has an added element of 'difficulty' which is the constant checking of priority level to determine whether an element should go in front of the next one or not.
Tuesday, October 28, 2014
Sunday, October 19, 2014
Week 8
This past week we had two major things happening. One was the release of the new project, called "Allocator," which is due this coming Thursday and we also had Twitter come to class as a guest speaker. Unfortunately I could not come to class on Friday so I did not hear what they had to say but I am sure it was awesome. We also received our grades back for the test, which in my case were a bit disappointing. I am very certain that, among other questions, I missed the first one, which was implementing the pre increment and post increment functions without using the ++. I already discussed with my study group that we need to improve the way we study for the second test but it's definitely tricky to study for this type of test.
For the project "Allocator" prof. Downing walked us on Monday through the behavioral structure of it. I remembered much of it from my CS 429 Computer Architecture course where they went in depth to explain how a memory allocator chooses which blocks to give out what it does with them when it gets them back. So the theory I understand pretty well. My partner and I are in the process of starting to implement it. I think that one of the key aspects of the memory allocator is the fact that when it gets back small blocks it needs to merge them to always keep large blocks free. We will see how this project turns out.
For the project "Allocator" prof. Downing walked us on Monday through the behavioral structure of it. I remembered much of it from my CS 429 Computer Architecture course where they went in depth to explain how a memory allocator chooses which blocks to give out what it does with them when it gets them back. So the theory I understand pretty well. My partner and I are in the process of starting to implement it. I think that one of the key aspects of the memory allocator is the fact that when it gets back small blocks it needs to merge them to always keep large blocks free. We will see how this project turns out.
Sunday, October 12, 2014
Week 7
This week was "first midterm week." The test threw me off a bit because I was expecting a very similar format to what prof. Downing's S E class's tests. But for this test we had no multiple choice. It was all code and, what was a bit weird for me, writing tests of our code. One of the questions that I am kind of mad at myself because I know I should have known it better than I did during the test was the one about writing the overridden pre increment and post increment functions without making use of the '++'. I just remembered that post increment has to make a copy and it stores before incrementing the variable. Pre increment, increments and then stores. But still, I think I didn't do as hot in that question as I would have liked. We will see how I did on the rest of the test, I'm kind of nervous for getting back my grade.
Other than that, project 3 has been posted already. It is called allocator but Prof. Downing hasn't gotten a chance yet to explain it (probably on Monday). I definitely learned my lesson and I will be working on it with a partner (given that I did last one by myself). Doing pair programming really is much safer and efficient than working by yourself. So far I have enjoyed the class very much. There are so many principles of object oriented programming that you need to put in practice in order to fully understand them. I think this is a great class for that.
Other than that, project 3 has been posted already. It is called allocator but Prof. Downing hasn't gotten a chance yet to explain it (probably on Monday). I definitely learned my lesson and I will be working on it with a partner (given that I did last one by myself). Doing pair programming really is much safer and efficient than working by yourself. So far I have enjoyed the class very much. There are so many principles of object oriented programming that you need to put in practice in order to fully understand them. I think this is a great class for that.
Sunday, October 5, 2014
Week 6
This past week has consisted in a lot of preparing for the test. For example, Prof. Downing gave us a hint: We need to know how to implement any function, such as Fill, Count, Reverse, etc. that takes in three parameters, two of which represent a pointer to the first element of each array, and one of which represents the size. These, among other examples, have been what this week has been about. Preparing for a Downing test, as I have mentioned before, is not easy and very different from the way you prepare for other tests. There is little or no concepts you memorize, you just need to know how to implement stuff. You need to know how to make software on the spot with a time limit, and this, my friend, is not easy.
On the other hand, Prof. Downing has been very generous and given us an extra credit opportunity, which consists in solving another problem from the UVa online judge repertoire. This one is called "A Node Too Far." I already took prof. Downing's Software Engineering course and there we weren't given a programming exercise as extra credit. I can only imagine that this is because Python is a much more simple and user friendly language than C++ (mainly because of the absence of memory allocation) but it also leads me to think that in his Object Oriented Programming course, students tend to need more extra credit at the end of the course and therefore the extra credit programming exercise. Who knows, I'm definitely doing it though!
On the other hand, Prof. Downing has been very generous and given us an extra credit opportunity, which consists in solving another problem from the UVa online judge repertoire. This one is called "A Node Too Far." I already took prof. Downing's Software Engineering course and there we weren't given a programming exercise as extra credit. I can only imagine that this is because Python is a much more simple and user friendly language than C++ (mainly because of the absence of memory allocation) but it also leads me to think that in his Object Oriented Programming course, students tend to need more extra credit at the end of the course and therefore the extra credit programming exercise. Who knows, I'm definitely doing it though!
Sunday, September 28, 2014
Week 5
Our "Voting" project was due Thursday of this week. I think that, along with building Pintos for our C S 439 Op. Systems class, this project makes part of the darkest hours of my C S degree. This time around, I had much more trouble getting UVa, the online judge hosted by a Spanish university, to accept my solution. And after getting it to accept it I had very little time to complete the rest of the requisites so I think it suffices to say that Thursday was an incredibly stressful and unpleasant day. One of the takeaways is definitely to start next project much earlier. However, this time around instead of having another project due in two weeks we are having our first midterm. Prof. Downing's midterms, from my experience as a former S E student, are tough... You need to study for them much differently than you do for the rest of the C S class's midterms. We will see how it goes in two Thursdays.
In class we talked about different ways you can reference variables (going very deep into the by-reference vs. by-value comparison). And we also talked about how to create a function to work generically for any data type. This is a very efficient and sexy way of coding so it's nice to learn how to be able to do it in C++. One concern I have been having lately is that I haven't been doing so hot on the quizzes. I need to keep doing the readings and staying on top of it
In class we talked about different ways you can reference variables (going very deep into the by-reference vs. by-value comparison). And we also talked about how to create a function to work generically for any data type. This is a very efficient and sexy way of coding so it's nice to learn how to be able to do it in C++. One concern I have been having lately is that I haven't been doing so hot on the quizzes. I need to keep doing the readings and staying on top of it
Sunday, September 21, 2014
Week 4
Another week has gone by, it was also an intense one because of the career fair. Job hunting has officially begun, and that means info sessions, interviews, phone screens, among others; so it is an added challenge on students who are looking for either an internship or a full-time position, like myself. In class we also started discussing the next project, "Voting," which is quite the opposite of Collatz. Here, the "learning software engineering" part is really a minor thing, and it deals more with being able to crack a given problem. Downing himself said that if Collatz was 80-20 between Software Engineering skills and problem solving, then Voting is a 20-80. I already started working on it and I am a little nervous.
In class we talked a little more about overriding operators in C++, and then on Friday we had our very first guest speaker, whom actually was a Software Engineering student of prof. Downing about four years ago if I recall correctly. He came representing Bloomberg and spoke about the way that Bloomberg conducts its operations on a daily basis. It caught my attention how he said that, even though Bloomberg is associated often with Finance and the TV channel, they think of themselves more like a Data company. That's what they do really, collect data and present it. So software definitely comes in on a daily basis. He spoke about the different tools they use, including an open-source one that was created by Facebook. I thought it was a really interesting talk. I'm looking forward to meeting the rest of the guest speakers!
In class we talked a little more about overriding operators in C++, and then on Friday we had our very first guest speaker, whom actually was a Software Engineering student of prof. Downing about four years ago if I recall correctly. He came representing Bloomberg and spoke about the way that Bloomberg conducts its operations on a daily basis. It caught my attention how he said that, even though Bloomberg is associated often with Finance and the TV channel, they think of themselves more like a Data company. That's what they do really, collect data and present it. So software definitely comes in on a daily basis. He spoke about the different tools they use, including an open-source one that was created by Facebook. I thought it was a really interesting talk. I'm looking forward to meeting the rest of the guest speakers!
Sunday, September 14, 2014
Week 3
This week was a little hectic given that Project 1, Collatz, was due on Thursday and there were so many requirements that we had to take care of Github wise. As Downing himself said, this was mianly a project to get us familiarized with some of the most common software engineering technologies and to polish our skills for the upcoming projects. On a frustrating note, I already got 20% of my points taken off because I apparently didn't add the TAs as collaborators even though I could've sworn I did. During class we discussed exceptions in depth (checked vs unchecked, advertising exceptions in method headers, try-catch blocks, etc.). I have been having some trouble with the quizzes because I do think some of them are trick questions, or simply things that in the moment you think that you understand completely but it is at the moment of the quiz where you actually feel you don't really know it backwards and forwards. Anyways, just have to keep doing the readings.
Project two has been announced already so we will see how that one goes. Up until now I just know that it is called "Voting" and that you can do pair programming, he said he would discuss the project on Monday. I'm kind of excited for being able to work in groups. I have done pair programming before, both in school and in my internships, and there are a lot of benefits to it. Having two pairs of eyes is always better for many reasons including error checking, ingenuity, brainstorming, etc.
Project two has been announced already so we will see how that one goes. Up until now I just know that it is called "Voting" and that you can do pair programming, he said he would discuss the project on Monday. I'm kind of excited for being able to work in groups. I have done pair programming before, both in school and in my internships, and there are a lot of benefits to it. Having two pairs of eyes is always better for many reasons including error checking, ingenuity, brainstorming, etc.
Subscribe to:
Posts (Atom)