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

A commentary on Leadership

Details
Category: Blog
By Stuart Mathews
Stuart Mathews
19.Aug
19 August 2018
Last Updated: 21 August 2018
Hits: 3131

I saw a book about leadership on a shelf recently and it made me think about it. Firstly, and this is what made me curious about it – is that I’ve never really wanted to think about it, then realising that, I wondered why. 

Maybe its because I’ve associated with it some aspects that I’m not interested in. For example, when I think about leadership I think about popularity, I think about successful social and group dynamics. I think about being well-liked and perhaps even being in control of people. Now, all those things I’ve never really been into. Either because I’m never found myself being particularly successful or useful at these things, and then sort of favoured other things.

But I’ve never really needed to worry about these things and perhaps because I’ve associated these things with leadership, I’ve never really practised leadership in this regard. Now my definition of leadership could well be the problem and perhaps I’ve avoided leadership because this is the way I’ve defined it. I dunno but this is a quite interesting retrospective.

Why am I like this or why am I the way I am? Very interesting thought. Are these aspects of leadership that I’ve associated with it correct? Why am I so interested in it now?

To answer the first question is to say I don’t know but perhaps its because I’m less inclined to be sociable. Or perhaps that I’m not that interested in being ‘boss’ or ‘father’ or anyone that is in control of a situation or group of people or whatever – I just don’t know for sure.  As for my second question, this is the journey I intend to discover. And finally, why am I interested in it now? I dunno that answer either but perhaps it will become clearer soon.

In my mind, perhaps my questioning of those traditional aspects of what I’ve (rightly or wrongly) defined leadership to be is due to my increasing maturity and experience in life. Perhaps it's not having to have actively spent time thinking about leadership. I’ve been far more concerned about other things: making sure I can deliver some outcome, making sure that I don't get things wrong. Making sure that I’m enjoying myself. And ultimately, making sure I’m achieving these goals.

Most of my goals aren’t to ensure that that people around me do their work or that they go about their work in a certain manner or way. I leave that to them, they either can or they can’t. I see myself as one of these people too – It's up to me to sort myself out. There is no spoon feeding in adulthood.

I’ve never looked to anyone really to make me better or to help me out. I’ve not looked for charity for anything. Sure, I do notice advice/help along the way in my endeavours and I do learn from it, and sometimes I help others in this way too (as I’m already here doing it) and people around me either learn from what I do or don't – its up to them - but this is not the primary focus in my line of work. My primary focus is to do and to do it well. How do I do it well, by trying by persevering and by adapting to needs and changes and being excited about seeing how well I do and at the same time see how much I’m enjoying the experience. Here is an example:

I’m a programmer, I’m an introvert and my job is primarily about learning and writing programs. There are many countless ways and technologies to use, each technology has its behaviours and ins-and-outs. Every couple of months something I learnt in the last job is no longer used, so it's now the next thing. It's an uphill battle, much like determining what the next fashion will be. To stay relevant, I need to be able to do the next thing, to figure it out, to deliver it, to become comfortable with it. And I enjoy it, I enjoy learning so It’s ok that what I learnt a while back is obsolete – I enjoyed it when it wasn’t obsolete and I enjoyed learning how to tame it when it was new and unwieldy. Now, during this time, I’ve not thought about leadership, that’s everyone else’s problem.

There really is no time to spend doing something else. Perhaps that something else is leadership.

I do think this has given me a unique insight: I’m not a trained leader. That being said, I know certain things that people expect from a leader. I’ve seen it, I’ve needed it. I’ve been a consumer of leaders for years. I eat them for breakfast!

I’ve started to realise what I think leadership is:

  1. Leaders are expected by non-leaders to be more experienced and thus have more insight than they do. (experience)
    • If I don’t know something I’ll do ask someone who does.
  2. Leaders are expected by non-leaders to make the decisions for them or be heavily in favour of the ultimate decision (A big player in the resultant decision)
    • I need a decision to be made so that I can carry on doing the work.
  3. Leaders are expected by non-leaders to know what to do next.
    • I need to know what the priority is.
  4. Leaders are expected by non-leaders to have advice for them that is that’s satisfactory to them.
    • I’m concerned, worried, frightened and I need you to alleviate that for me. (unblock me please!)
  5. Leaders are expected by non-leaders to be more capable than themselves.
    • I need you to have a known and good track record of success.

I’m sure there is a lot of things missing and I might be wrong but this is my take on the matter. Here’s what's revealing:

I took out that book and started to read it. One thing it said(and this book tends to say a lot) is that anyone can be a leader. And to this extent, this is true. If you look at the above all you need to do is been in a similar or roughly similar position before(experience), decide what you’d do in that situation(decision maker or unblock me please) and then decide what you’d do next(priority) and lastly be confident that you’re ok with what you said because you’ve got some success in this area.

So let's distil what it takes to be a leader real quick and dirty;

  • Be in a position of experience (Done it before or near enough)
  • Make the decision that you’d make normally and offer them it to others (Offer as advice what you’d do)
  • Take the next thing that needs to be done and do it – or off it to others. (offer as advice what you’d do next)
  • Empathise with other’s inability and solve that problem for them (Empathize and offer a relief)
  • Know that If you were left to do it yourself, you’d be able to do it. (Know that that’s how you’d do it)

And even further:

Done it before or near enough; Offer as advice what you’d do; offer as advice what you’d do next; empathize and alleviate the pain; know why you’d succeed if you were to do it yourself in this way.

Or even better a storey:

I’ve done it before, this is what I’d do now and what I’d do next. I can relate to how you feel. I’d do it this way because…

What’s also interesting is that perhaps it people that have not been self, set out ‘doers’ in one of those 5 positions that need help/guidance in those 5 positions: (Experience, Immediate guidance, Priority guidance, never experienced this before(unblock me) and assurance that it will work out.

Now as I've said this is dirty - it's not what leadership is, its what it is to me and it may be wrong because my definition is wrong. Also, I've left out things like having "vision" and other stuff like that which this book goes on about. That could be a big part of it!

This is not the end-all of it but its a useful insight and commentary. 

 

 

IExtensibleDataObject and ExtensionDataObject

Details
Category: Blog
By Stuart Mathews
Stuart Mathews
13.Jul
13 July 2018
Last Updated: 13 July 2018
Hits: 3752

I've been sub-contracted to do work on an in-house API which is implemented using WCF. 

While looking through the API which I need to interact with and modify, I came across a new concept which apparently, unbeknowest to me, is a recomendation that all WCF message contracts should implement.

That is the concept is of the implementation that your message contracts should implement IExtensiibleData, which exposes the need to implement an ExtensionDataObject type member on your contracts.

Some thing like this (taken from https://docs.microsoft.com/en-us/dotnet/api/system.runtime.serialization.extensiondataobject?view=netframework-4.6.2):

[DataContract(
    Name = "Person",
    Namespace = "http://www.cohowinery.com/employees")]
class Person : IExtensibleDataObject
{
    // To implement the IExtensibleDataObject interface,
    // you must implement the ExtensionData property. The property
    // holds data from future versions of the class for backward
    // compatibility.
    private ExtensionDataObject extensionDataObject_value;
    public ExtensionDataObject ExtensionData
    {
        get
        {
            return extensionDataObject_value;
        }
        set
        {
            extensionDataObject_value = value;
        }
    }
    [DataMember]
    public string Name;
}

While looking through this API and looking at modify the API internally, specifically to extend it to do additional work over and above what it routinely does. The need to ask a client of this API to somehow identify that when it calls any of the APIs methods, something slightly different should occurs for these clients.

So the problem of having this API to identify that its received a 'special' request from one such client, and do something exceptional in that case, where otherwise any other such request it would carry out default operation. 

The idea of somehow sending as part of the request a means to identify that the request comes from one of these exceptional clients was the first thing to try and solve. But how to do somehow encode this intend into any incoming request without changing that requests structure/format/protocol such that older clients who know not of a change to that format/protocol(if we decide to to that) will still succeed in sending their now-older version of that format/protocol. One might change the request message format to now include an additional field that identifies an exception al request from any other where perhaps that field was not used or set. 

The server would check this field in the message format and respond appropriately. Again, if an older client sends a older message format without this extra field, the server who expects that format to have this additional field will refuse to accept the message - as its now different. 

This is what IExtensionData and ExtendionData solves by allowing newer as well as older message formats to both be accepted by the server, regardless of the changes that have occurred to the format moving forward. I like this. 

Old formats will get accepted (without their extra info in them) while newer ones with their newer fields will also be accepted.

The server now can be changed to check what fields are and aren't available and act accordingly - perhaps executing different code paths based on what is or is not available in the incoming message format. 

I'll go through how this is practically achieved by needing a new client who's definition of the original contract has now changed. So now it and the server agree on the contact but the server and older clients still need to be able to process and send older formats respectively too.

I'll show you how this works.

TBC

 

 

Disposable and extra

Details
Category: Blog
By Stuart Mathews
Stuart Mathews
25.Jun
25 June 2018
Last Updated: 25 June 2018
Hits: 2494
  • holiday
  • Game development

Having left the airport for the second time, I stopped off on the way back for a 2nd breakfast of the day in Liverpool street. Earlier, on the way in, I had a 10-minute window to get a 4-year-old some food(which she didn’t eat), a tired mom a cup of coffee and myself a bowl of porridge and an apple before the 06:40 to Stanstead departed.

Having worked away from the area for about a year, I was intrigued to find some new shops which at the time were still under construction, but now are open. I bought the hurried breakfast there.

Stanstead is really in the middle of nowhere honestly.

It takes me a good 2 hours to get there and then there is the journey back which is equally laborious. I did, however, nod-off on the way back which was fairly pleasant. I brought my kindle with me and read a chapter about input device programming. Ironically, Heathrow Airport is just around the corner from where I live. Fate, however, felt that flights should arrive and depart from Stanstead. Still, I mustn’t complain.

I’m still reading about game programming and it's quite interesting. My C++ brain is on and I’ll have to re-adjust when I start work tomorrow in C#. I prefer C# but its slow.

I’ve been also reading up on resource caches and loading assets from resource files. These are like WAD files in Doom.  It's quite fascinating really how much thought and skill is put into this sort of stuff. I’ve got the accompanying source code for the game engine I’m studying and have had it for some time but been unable to get it to compile and run. It's using Direct X11 with some now deprecated utility classes which for some reason conflicted with the Windows 10 SDK I had and a whole bunch of other reasons.

Now I’ve got it running OK in VS2017 and the game looks pretty complete(The one I’m studying). So following the source code with a working prototype is a luxury. Still, the book is very much theoretical and more of a commentary to what appears in the source code. You don't usually have this. Its akin to say a poem with the author having written down the meaning and reasons behind it in a companion booklet. You just don't usually get that.

So off I went down to Spittle-fields market.  First thing I noticed hitting street-level is how smelly Bishopsgate street is, especially the end towards Devonshire Square and the Gerkin.

I usually find myself quite partial to a small little green market stall, wedged in between other food stalls which serves traditional Ethiopian cuisine. I‘ve started eating here since I started working in the City. We had a canteen back a Citrix and the food was cheap! It's a lot more expensive here.

Its marketed as a Vegan, gluten-free friendly place. I don’t know much about that but I go for what is called an Injira traditional Ethiopian boxset most days. Usually, I get this most days around 11:30 and today it was decidedly earlier.

Having woken up at 4 am this morning and travelled what seemed like across two countries to get to Stanstead, booked bags and luggage in, I found myself sitting down in a very quite spittle fields market at 09:30. 

I didn’t have to go to the gym today because I knew I’d have to assist with operations to the airport so I scheduled my usual Monday routine for the previous Saturday. I have two new blow-up mattresses now propped up against the wall in my living room and really no need for them anymore. Maybe I’ll use them again but at the moment, they seem disposable and extra.

The former I like, the latter not so much.

More Articles …

  1. The potential of the future and an interesting thing.
  2. American Sniper
  3. Han Solo, Garmin, Activity tracking(in more ways than one) and Math
  4. What are fractions really?
  5. What is Mathematics
  6. Exchange rates and calculating Cross Rates
  7. Touring with Python
  8. The Lean Startup
  9. Training planning
  10. Too much information
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39

Page 35 of 182