Jaffer Haider

May 12, 2009

Code Complete 2; The Missing Link in Software Education

Filed under: CMU, Pakistan, Quality, SoftwareEngineering — Tags: , , , — Jaffer Haider @ 2:58 am

CodeComplete2_thumb_3I recently bought a copy of Code Complete 2, one of the many books on software engineering that I’ve been meaning to read for a long time. It focuses on a very small part of what I’ve been studying and practicing at my MSE program; software construction. 

By construction the book means the actual writing of code. It is the central part of software development since the requirements elicitation that precedes it is aimed at finding out what is to be constructed, and the testing phase that follows aims to verify the construction.

After going through the table of contents and skimming some chapters, I was amazed at why I wasn’t taught anything like this in my undergraduate Computer Science degree. In fact, I think one of the reasons why programs such as the MSE program at Carnegie Mellon exist is to fill in the deficiency of sound software engineering skills in CS undergrads. During my undergrad program, even though we had a ‘software engineering’ course, we were still not taught about basic construction techniques such as version control, peer reviews, and managing quality at the code level. I’m pretty sure this is the case for a lot of other programs out there as well.

Perhaps it is due to the fact that software engineering is still a very young field, but there is a huge gap between what is being taught in Computer Science undergraduate courses and what is required out there in the industry. I’m not sure about the statistics on how many undergrads get jobs in the industry right away, but in countries like Pakistan where research is not a priority, I’m willing to bet a majority of CS undergrad students look for jobs in the industry instead of pursuing higher studies and research.

This is exactly why programs need to prepare students for writing industry ready code. Books such as CC2 are vital tools for polishing your skills as a software engineer. I firmly believe that we would have a lot less failed projects and more happy customers if people looking to write code for a living would catch up on their reading first.

May 10, 2009

Windows 7 – Finally a worthy successor to XP

Filed under: Technology — Tags: , , — Jaffer Haider @ 8:35 am

I installed the long awaited RC to Windows 7 last week, finally upgrading from Windows XP. I didn’t particularly loath Vista as most people did, but I never felt the need to upgrade to Vista. But Windows 7 blew me away in the first few minutes of using it. I’m probably not going back to XP ever again.

I installed 7 on my Dell Vostro 1500, and the first thing that amazed me was that it downloaded and installed all the right drivers. And not generic OEM drivers, official vendor drivers that I had had to manually install in Windows XP.

The new taskbar in my opinion is the best of both worlds; the Mac dock and the old taskbar. Pinning applications to the taskbar is really handy, and now I never have to worry about how many windows I’m going to open.

HomeGroups and the ability to share and stream media across Windows 7 machines is something that I’m looking forward to using on a home server setup. The concept of libraries is also very handy, although perhaps a little unintuitive at first.

Performance, especially hibernate and restore times have been vastly improved, especially if you compare with XP.

Microsoft has been working on some really cool stuff lately. Live Mesh, Windows Live Essentials, IE8, MEDV, and now Windows 7. I’m waiting impatiently for their vision of 2019 to come true. :)

March 7, 2009

Evolution of the PC – Where are we headed?

Filed under: Technology, Web — Jaffer Haider @ 11:13 am

I’m reading In Search of Stupidity: Over 20 Years of High-Tech Marketing Disasters these days which talks about some high profile and some not to high profile blunders in the early days of the tech industry. It feels so unreal to read about the early incarnations of the ‘computer’, which supported at most 640KB and were heavy enough to induce back pains.

I remember seeing and touching some of these old dinosaurs, and it’s amazing how fast we’ve progressed. I was wondering what people 20-30 years down the line will think of our Macbook Pros, our Netbooks and our HP Dragons. I wonder how quaint our operating systems and software will look to them.

Even today we can see change happening as the concept of the PC being the sole repository for everything is becoming antiquated as more and more things are getting pushed to the cloud. I’m really impressed by some of Microsoft’s new Live services, particularly Live Mesh. It will be interesting to see what role Windows 7 plays in this transition of everything to the Web and how Windows as an operating system will evolve over the decades.

Exciting times indeed.

Rant ends here. Now I’m going to enjoy spring break!

February 26, 2009

Twitter, here I come!

Filed under: Uncategorized — Tags: — Jaffer Haider @ 9:05 am

Finally started twittering! Follow me @ http://twitter.com/jafferhaider

January 18, 2009

How many Computer Scientists does it take to setup a Home Network between XP and Vista?!

Filed under: Technology — Jaffer Haider @ 3:58 am

So far we’ve tried with two. It only worked once, and then stopped working (the very next day). Both machines can ping each other based on IP, but the network doesn’t get established.

I guess this is yet another testimony to the mistake that was Vista. If anyone out there knows how to setup a home network between an XP and Vista machine, please drop a note.

*sigh*

December 9, 2008

Integrating usability engineering techniques into the software development process

Filed under: CMU, Usability — Jaffer Haider @ 7:10 am

I wrote a paper on this topic for a course. Was a pretty interesting experience. Below is the executive summary. You can download the paper as a PDF as well.

Usability is an important quality attribute that has a great impact on the user experience of a software product. To the user, the interface is the product. Thus it is very important for software teams to ensure high levels of usability in their products for them to be accepted and liked by their end users.

There are a number of hindrances that prevent integration of usability tasks in the development lifecycle. The cultural gap between the fields of human computer interaction and software engineering is perhaps the underlying cause of many issues that arise when engineers are made to use usability techniques. Most teams are not aware the importance of usability, or are of the opinion that regular development staff can build perfectly usable interfaces. Management is sometimes of the view that usability tasks will be costly and time consuming. Education and training of engineers and management is required to overcome these issues, as well as customizing usability techniques so that they are cheap and lightweight, hence easy to adopt.

It is also important to define what the team understands by usability, since it encompasses a large amount of characteristics. Usability goals should be decided and usability characteristics of the system should be documented so that they are testable.

There are a wide variety of usability techniques and methods, each having its own strengths and weaknesses. It is important for teams to be able to make the decision as to which technique is required in a certain condition. This report looks at the different stages in the development lifecycle and which usability techniques are suitable therein. An overall approach to integrating usability techniques and practices into the different development stages of a typical iterative development lifecycle is presented. Planning activities and roles related to these techniques are also discussed. Usability integration with slightly different lifecycles, such as XP and ACDM are also examined.

For easier adoption of usability techniques at an organization level, it is important to introduce easy and cost effective techniques at the grass root level. This results in teams reaping the benefits of usability techniques without expending a lot of budgeted resources. In this regard, studies are looked at that highlight usability techniques that are widely used, cheap and easy.

Usability is an integral part of everything that is engineered, whether it be software or otherwise. With the increasing complexity of software systems, it is even more important to design interfaces that are easy to understand and use. Usability is also not something that can be slapped on at a certain point in time. Hence it is important to ensure that usability tasks are planned and carried out during all phases of the development lifecycle.

November 30, 2008

Trip to Baltimore and DC

Filed under: Life — Jaffer Haider @ 5:52 am

I got to fly to Baltimore during the Thanksgiving break to visit family there. It was a lot of fun. I’m going to save most of the details for picture captions that I’ve uploaded on Facebook (visible to friends only), but some highlights:

  • Had turkey for Thanksgiving!
  • We stayed up till 4am and shopped on Black Friday. I didn’t buy anything though, because I didn’t want to lug back a ton of stuff on the plane with me. There were some really nice deals at BestBuy though.
  • Went to see the sights in Washington DC. The Capitol building and all the monuments/memorials were very impressive. Nothing like I’ve ever seen before. The entire organization of buildings in that area of DC was very impressive. We also went to China Town, which was pretty cool.
  • Went to the Baltimore Harbor, which was pretty nice. Apparently the hill overlooking the harbor was where Francis Scott Key came up with the inspiration for the American national anthem. There’s a big American flag on that hill to mark this fact.

November 23, 2008

Amazing talk by Ricardo Semler @ MIT Sloan

Filed under: CMU — Jaffer Haider @ 3:16 am

A couple of weeks back we had a lecture on creativity and thinking out of the box. The instructor decided to show us a video and claimed that it would blow our socks off.

It blew my shoes off as well.

Ricardo Semler is the pioneering CEO of Semco and he talks about a revolutionary new way of managing a company. The numbers show that it has certainly worked for Semco.

I won’t reiterate what he says in the video. The guys over at 37Signals have covered it in some detail here. It really is a must watch, especially for people thinking of starting their own business or doing an MBA.

November 22, 2008

It has Begun (the Pittsburgh Winter)

Filed under: CMU, Life — Jaffer Haider @ 6:19 am

Today was really cold. And I mean really cold. (at least for someone from the equator :p). It snowed intermittently pretty much the entire day. Having never seen snow before, I was really looking forward to it. And it gets really pretty when it starts snowing … only when you’re sitting in a warm comfy room and looking out the window :) .

Some pictures of the first day of snow (well technically it snowed a couple of days ago, but it melted away really quickly)

Carnegie Mellon University - University Center

white 009

See the rest on my Flickr set.

November 21, 2008

User Experience Design – Thinking out of the box

Filed under: Google, Usability, Web — Jaffer Haider @ 9:58 am

GreenWhite recently posted a Google talk, Don’t make me click (sound familiar?) by Aza Raskin. Although his Wikipedia page has all the details, but this amazing guy (apparently a year younger than me) gave his first talk on user interface at the age of 10. I guess it helps if your dad is the visionary behind the Macintosh.

Anyway, the talk was pretty interesting. He spoke about how engineers and designers succumb to the ’seduction of interaction’ in trying to making their UI’s ‘look cool’. The point that he was making was that UI’s should strive for the least bit of interaction possible. No interaction is the best interaction.

This is not something that is really surprising, since this concept was present way back in classics such as Don Norman’s Design of Everyday Things (if you haven’t read this, and you’re a software engineer, read it now before you write another line of code). A good tool is almost invisible. The user doesn’t need to think about the tool when using it.

He showed off some pretty cool interaction concepts, some of which have already been implemented in existing features. I really liked the automatic loading of content in an RSS reader as the user scrolls down (its called ‘river of news’, go ahead and Google it for a demo). I thought it was a pretty good example of doing what the user wants without having them interact with the application, i.e. reducing interaction.

He also showed off Social Helix’s calendar (check it out, it’s pretty cool!), which has a pretty smart interaction design. Effective use of a simple zoom-in/zoom-out allows the user to access all events in the entire 21st century with a few simple mouse movements. He contrasts this with regular implementations of calendars (Google Calendar in specific) in which the number of clicks that you need to make to go to a certain date is directly proportional to how far away that date is from the current date on your calendar (which is sometimes a lot).

During the QA session he mentioned something that I’ve been studying/reading/working on a lot these days, which is to design an effective UI, you need to start really early in the project lifecycle. Usability needs to be addressed right from the requirements phase. I had meant on writing a few posts on this in time for World Usability Day (I’m exactly a week behind :p) for GreenWhite, but yet again I proved to myself how incredibly lazy I can be.

Anyway, check out Aza Raskin’s blog, its got some pretty interesting stuff. I’ve actually read some of his stuff up on ALA without knowing who he was. And I’m pretty sure he’s got a hand behind the cool stuff going on at Mozilla labs.

Older Posts »

Blog at WordPress.com.