Tuesday 29 June 2010

Passed CCNP ROUTE

Passed the first part of my CCNP, the ROUTE exam (642-902). It wasn't as scary as I had thought, planning whilst important was just a small part of the overall exam. I actually enjoyed the exam process though I was freaked out at the end when it didn't show me my score. I thought that was a sure sign I'd failed.

Even when I left the testing room, the lady at the desk waved my result sheet around without actually telling me if I'd passed which was annoying. I had to wait for her to hand it to me (after signing me out) before I knew that I'd passed. Very anxious moments!

So now onto the next exam (yes, already booked for end of Sept) , though now I feel much more capable.

Friday 18 June 2010

Life without a Home Button

Yes, the home button on my iPhone has died. For those of you without an iPhone, this button is the way you quit one application and can choose another. This is because the iPhone software (currently) only permits a single application to be running at the same time.

As you can imagine, this makes it very difficult to use the iPhone as you get stuck in a single application.

But, there are ways you can switch applications without using the home button. The iPhone software does actually run in the background, it only allows a single user application but the OS still runs. Thus when you receive an SMS for instance you will be presented with an alert. If you touch the alert you will be switched to the SMS app.

 Whalla! So, you wonder, how many apps can you switch between like this?

I have begun to think this through and have come up with the following so far:
  1. From any app, receive SMS to get to SMS app
  2. From any app, receive a phone call to get to the phone call app.
  3. From any app, receive an SMS with a URL in it to get to Safari via the SMS app!
  4. From Safari, find a link to an app in the app store to get to app store app.
  5. From app store app, install any app to get back to the home screen (what the home button would normally do in a single press!)
I haven't thought of any others yet but so far, just enough to get me around. If I really have to swap apps, then I have to reboot to get back to the home screen. I guess this should go into a state diagram like a FSM?

Friday 11 June 2010

I lesson in learning

I was recently asked to do some updates for a church website. I do websites, I told myself, how hard can it be? After all I looked after my departments internal website and it wasn't that bad.

The previous administrator had casually mentioned to me that the website in question was an MVC type website. It didn't click at the time what he meant and I didn't think about it until I went to make these changes.

Ever heard of the concept of design patterns? I could remember something of this from my phase as an iPhone developer. Design patterns are used extensively when programming for the iPhone but I had only the vaguest notion the why and how.

So I dug in as without understanding MVC there was no hope I was going to 'get' this website.


MVC is actually a very nice way of structuring your application. Commands from the user are sent to the controller classes which fetch data from the model (which also implements application logic) and sends it to the view classes for display.

From this simple understanding, I realized that my own internal website was very broken in terms of design with these three components all mushed together into all doing mega classes. Which is ok, but it makes extending the application much harder to engineer.


So now I find myself midway through redesigning my internal website to be MVC as it just makes so much more sense. I guess I never really was a good website programmer. It's not my real job I guess but neither is anything else I do.

At least I haven't stopped learning!

Thursday 3 June 2010

OSPF Lab for CCNP ROUTE

This is the diagram for a lab I did recently to play with OSPF as part of my CCNP ROUTE study. As you can see from the notes, I used this to test:
  • Multiple areas
  • Summerization at R8 to 10.8.0.0/16
  • Virtual link to join two separate area 0 networks between R1 and R5
  • I also messed around with R6 having interfaces in both area 8 and area 4 and was very surprised with the results. It still worked!