3 -> 0

Finally done with the 3 exams I had this week. Only a Philosophy midterm and a CS 241 programming assignment to finish before I had to California for Spring Break. I also started work on the “great idea” I mentioned a couple of posts ago. And I di…

Finally done with the 3 exams I had this week. Only a Philosophy midterm and a CS 241 programming assignment to finish before I had to California for Spring Break. 

I also started work on the “great idea” I mentioned a couple of posts ago. And I discovered this gem that will prove to be extremely useful during the dev process. Can’t wait to build this!

Two

Two more exams for me this week: CS 241 midterm tomorrow and then CS 411 midterm the next day. Someone on the CS 241 newsgroup came up with the brilliant idea of creating a Google Doc to help people study for the midterm, and it is just plain awes…

Two more exams for me this week: CS 241 midterm tomorrow and then CS 411 midterm the next day. Someone on the CS 241 newsgroup came up with the brilliant idea of creating a Google Doc to help people study for the midterm, and it is just plain awesome! It is extremely useful and will greatly help me to study for this exam.

~2 more weeks till Spring Break. Yay!

About midterms and blog neglect

It’s not been that long since I started this blog, and already the frequency of posts is decreasing. I think I am going to make a conscious effort to start posting more; I used to enjoy writing when I was younger and feel that I should continue do…


It’s not been that long since I started this blog, and already the frequency of posts is decreasing. I think I am going to make a conscious effort to start posting more; I used to enjoy writing when I was younger and feel that I should continue doing so in the future.

I found out today that I’ll be having two midterms and a final in a row after a week: 3/7 is my Physics 214 final, 3/8 is my CS 241 midterm and 3/9 is my CS 411 midterm. Hopefully I won’t have a hard time if I start studying like a week or so earlier.

The CS 241 programming assignment (sorting and merging numbers in files using threads) took me slightly longer than it should have: I made s stupid mistake while coding that was leading to disastrous race conditions between my threads. I guess I learned my lesson about not coding in the middle of the night while sleep beckons. On the plus side, I did learn about helgrind and used it to debug my code. I learned a lot doing that assignment and overall it was a great experience.

I also came up with, what I think is, a brilliant idea for a website that Sam and I will be building soon. I even went and bought the domain for the website. My plan is to build it during Spring Break and launch it within the end of this semester. More details to follow.

 

 

Of Dropbox and Gmail

Over the past few days I’ve been using Dropbox heavily, and I must say it is really, REALLY awesome. I usually work on multiple computers and keeping files in sync with each other was always a pain(unless it is code, in which case it is Github all…

Over the past few days I’ve been using Dropbox heavily, and I must say it is really, REALLY awesome. I usually work on multiple computers and keeping files in sync with each other was always a pain(unless it is code, in which case it is Github all the way!). Now, I just put everything in my Dropbox and don’t have to worry about anything. I even added a cron job to back up all my important folders to my Dropbox account every night. No more missing data for me!

Another thing that I think is super useful is the Desktop notifications in Gmail. I now sign into my gmail and university accounts, shift to a different workspace/window and don’t have to constantly check my mail anymore for new messages/chat threads. Hopefully, this will up my productivity a little bit. 

Just got done with my CS 411 homework. Goal for the weekend: finish my 2nd CS 241 programming assignment and study for the Physics 214 midterm. And of course, do some sweet Python coding. 

Also, CSS3-rounded-borders-goodness yay!

TDD

I read about TDD and it’s associated red-green-refactor cycle while learning Ruby on Rails and I was quite intrigued by the concept. It seemed like a novel way to approach programming. From what I read on the Internet about it, it also seemed to r…

I read about TDD and it’s associated red-green-refactor cycle while learning Ruby on Rails and I was quite intrigued by the concept. It seemed like a novel way to approach programming. From what I read on the Internet about it, it also seemed to reduce bugs in the code and generally leads to better, more human understandable code.

So, when we were given our first programming assignment in CS 241, I decided to approach it with the TDD mantra. Programming this way was a great expirience, once I had come up with enough test cases for my assignment, programming it up wasn’t too hard because I had already captured all the edge/unusual cases. 

All in all, I was satisfied with this approach, and I will most definately be using it again for future assignments when possible.