Sidebar Menu

Projects

  • Dashboard
  • Research Project
  • Milestones
  • Repository
  • Tasks
  • Time Tracking
  • Designs
  • Forum
  • Users
  • Activities

Login

  • Login
  • Webmail
  • Admin
  • Downloads
  • Research

Twitter

Posts by stumathews
Stuart Mathews
  • Home
  • Blog
  • Code
  • Running
  • Gaming
  • Research
  • About
    • Portfolio
    • Info

Quite little things

Details
Category: Blog
By Stuart Mathews
Stuart Mathews
13.Apr
13 April 2014
Last Updated: 17 December 2015
Hits: 3963
  • Traveling
  • Impressions

I had a rare interesting early Sunday today. I spent most of last night sleeping, which is good, though I was plagued by my thoughts throughout. You know it's bad when you're dreaming/thinking about your sprint deadline, that feature you should check in, the upcoming assignment, the new project which is looming and android broadcast receivers!

Anyway my Sunday started rather early at 05:00 but seeing as I didn't have anything planned that early, is stayed in bed until about 08:00 but to cut a long story short, I was out the hour by 10 and wondered into Waterloo and over the bridge into embankment where I noticed some commotion on the bridge. This happened to be the London marathon. Lots of banners, colours etc. very pretty mind you. It's didn't really appeal to me, to I crossed the footbridge over towards charring cross to avoid the crowds.

Walked up the strand and at that early in the morning that Classic Italian/Parisian cafe I notice every now in then had the outdoor chairs and tables in the sun and no one was there... So, I figured, why not, got myself a large black Americano and got chatting to this Lithuanian girl who joined me(sun is quite popular in London). Then I got talking to a lady who works in Covent garde market, which was interesting. By that time my coffee was going dry so I thought I'd adieu. Leaving my little sun spot, I felt, yeah that was 30 mins of quite pleasure.

 

I headed off to start the rest of the day, and we'll just that little start in the little coffee shop on the corner of maden street made it a great day for me. It's just the quite little things.

MFC Programming 101

Details
Category: Blog
By Stuart Mathews
Stuart Mathews
12.Feb
12 February 2014
Last Updated: 12 December 2015
Hits: 5134
Wrote my first MFC programming app yesterday. Surprising how satisfying it was.
Its kind of weird how a technology such as MFC which I and others, perhaps wrongly, consider outdated, also consider it with particular reverence. That's how it is with the past. Or with respect, I suppose.

The past has an alure to it, specifically in this case, where something in the past(not really my past) that I've not experienced explicitly before fascinates me. MFC is interesting and appealing to me and because its also unknown, I've often felt like I'm missing some magic. That said, curiosity killer the cat but I suspect the cat lead an interesting life.

Thinking about it, its almost like antiques, if you like cars, its quite possible you'll have a greater appreciation for cars that were before your time like an old Lamborghini or something less extravagant. Even better if that Lamborghini still looks awesome and is still lightening fast!

MFC is talked about, often being referred like a bygone hero or age. That just makes it that more intruiging to me.

So I bought, after much consideration, a physical behemoth of a book but you you really must refer to it as a manual like the bible. From what I can tell, it is the absolute authority on MFC programming. It arrived in the office 2 days ago. 1000+ pages, heavy and quite daunting in its hard cover. I'm rather excited as I've too been yearning to put to practise my recent revision of C++, which MFC is specifically geared towards.

The app is simple but simple is a relative term in Windows programming. I have an appreciation for writing a 'simple' Windowed app in C, and making that even easier while using MFC and C++ and learning something new, exciting and is super cool.

As it happens MFC is not as deprecated as I might lead you to believe. In fact, its still being actively developed and used. Bonus. Visual Studio 2013, which us what we use at the office, includes the most recent update to the library(its really a library of objects that wrap the WinSDK which is written in 'Simple' C...). I wikipedia'ed it and was pretty suprised how current it still is. It has however lost favour in the greater development community I feel. This, partly I think, to the upsurge of simpler alternatives such as the .net library which really makes things easier.

Still, I want to know more about MFC. Its intruiging.

From my limited experience with it, I could easily draw similarities to a C++ framework which I've used more extensively, namely Qt. The abstraction of the message loop and having a run() method which handles message dispatch is similar. Also a message map, connecting functions to events/messages in MFC is remarkably similar to QT's signal and slots mechanism...which I've often appreciated. It will be interesting if QT's widget layout managers have a similar concept in MFC. Somehow I doubt it.

The direct foraw into utilising C++ for MFC straight off the bat, such as virtual function overrides is also quite satisfying.

A bit off topic now but, The more I think about it though, programming is not the future of programming. Design is. Effective modeling of problems. Programming is just the footsoldier in the war of concepts.

Responsibility

Details
Category: Blog
By Stuart Mathews
Stuart Mathews
08.Feb
08 February 2014
Last Updated: 12 December 2015
Hits: 4334

Responsibility has always been an interesting idea for me. There are two kinds of responsibility really. One which you decide to have and which that you don't. Responsibility is very similar to accountability, basically taking control of seeing something through to the end is 'getting it done'.

This means you have choice as to how and which means you will go about achieving this. That said, in most cases these choices are those that will see this ‘thing’ through in the way you want. And this might be the specific way you want it to be done to 'get it done'. So essentially, its about having options and more importantly choosing your options all along the way. That’s the power of responsibility. This process of continual choice/ selection is essential. With this ability to choose, you have the additional requirement that your choices do in fact help and do not hinder the process of 'getting it done' because at end end of the day, getting it done and not getting it done is the result that is associated with you.

You can become responsible by choosing to such as having a child, getting married or hiring a person in which case you've decided that you'll try to make the right choices along the way for these goals to be achieved. Raising a child, a marriage, running a company, all needs to be successful. So taking ownership of this responsibility is a big deal.

On the other hand, not having these goals would not necessitate the responsibility and the need for choice selection that comes with it.

Apart from having to make more choice selections and taking ownership of the result, why would you want responsibility? Simply put, to achieve goals. But more than this mostly it’s your goals.

Another reason perhaps is the possibility of achievement being rewarding. Also, perhaps being more 'useful' resource and having more say in things that affect you and others in reaching your goal is what you want. Further more, your opinion being consulted more often and being exercised is desirable : being useful to others is also desirable. Perhaps all this gains you respect.

All these aspects of having responsibility are possible reasons why you additionally want responsibility. But what if you are given responsibility? What if the goal is not yours? Do you still want these effects of responsibility?

As an example, perhaps you will gain respect and 'usefulness' and this is why you accept new responsibility. Perhaps if someone's  end goal helps you reach yours, then there is more reason to take the responsibility. But surely responsibility in pursuit of the side effects,namely respect etc… is going against the ideas behind responsibility itself: reaching your goal? Having to be consulted, being held accountable, being involved in every aspect, is quite a load both physically and psychologically. Something you'd be OK with in pursuit of your goal but would you be so happy if it was in pursuit of someone else's? The selfish gene in effect?

Perhaps for loved ones, you might be OK to take responsibility in order to help them achieve their goal. But if not, surely the seemingly added benefits of responsibility are moot if they jeopardise your happiness as they may contribute to stress and strain etc.…?

Finally, when considering the question, "why do you want responsibility?" Is it to reach your goal or others? Or indeed is it for respect or something similar? And of course, will it make you happy?

More Articles …

  1. The Great Gatsby : lessons learnt
  2. Perhaps not
  3. Lost in familiar places
  4. Andie McDowell
  5. Pursuing change
  6. Fashion
  7. Recent skies
  8. Eventually maybe
  9. Casual finesse
  10. Rebound dreaming
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59

Page 55 of 182