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.

Snow Day!

2/1/2011: All classes after 5.00 pm cancelled. 2/2/2011: All classes cancelled. The blue car in the picture is my roommate’s car. And yes, it is pretty awesome. Started doing some coding in Python today. Learning Ruby over Winter Break really help…

2/1/2011: All classes after 5.00 pm cancelled. 

2/2/2011: All classes cancelled.

The blue car in the picture is my roommate’s car. And yes, it is pretty awesome. 

Started doing some coding in Python today. Learning Ruby over Winter Break really helped me get right in and start coding without worrying to much about the syntax. 

Dsc00406Dsc00404Dsc00410Dsc00412

And then there was one less

So I decided to drop my CWL 114 class, not because I didn’t like it, but because I realized that I do not need to take two gen-eds this semester to graduate in time. Following the advice of one of my friends, I mapped out my tentative schedule for…

So I decided to drop my CWL 114 class, not because I didn’t like it, but because I realized that I do not need to take two gen-eds this semester to graduate in time. Following the advice of one of my friends, I mapped out my tentative schedule for the next 4 semesters and came to the conclusion that 18 credit hours this semester is not required. I am now back to a happy 15 credit hour schedule 🙂

Consequently, I now have my Tuesdays and Thursdays (almost) free. I plan to invest that time into expanding my current technological skill set to include(as of now) Python and possibly Django. I also want to spend more time with Ruby and Ruby on Rails and possibly build an application using it. 

 

Namespace error, of sorts

So we had ‘picture day’ in Phil 102 today. I was talking to the instructor about an article I found and wrote my name down as “CS” on the board instead of my slick moniker “KP”. Thankfully, I caught this error in time. Sometimes I wish life had sy…

So we had ‘picture day’ in Phil 102 today. I was talking to the instructor about an article I found and wrote my name down as “CS” on the board instead of my slick moniker “KP”. Thankfully, I caught this error in time. 

Sometimes I wish life had syntax highlighting built in.