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

Unrequited learning

Details
Category: Blog
By Stuart Mathews
Stuart Mathews
24.Jan
24 January 2018
Last Updated: 28 January 2018
Hits: 3360
  • New Job

I've managed to convince myself somewhat that I've achieved something while recently working /joining my new company.

It's has not been easy to do that. Leading up to this point, nothing really that I've been asked to do or have done has quite filled my lingering expectations.

However it now has by finally being able to Authenticate with our Web Api. This has finally convinced me that I've achieved something. Sure, I've achieved other things within the last 3 weeks but I guess it's because I thought that doing this specifically would be ever so useful. Everything else was secondary. Everything else is just something to do. This was something I wanted to do.

And come to think about it, that's mostly always the best way to do things.

Basically, I've got an AngularJS5 application, calling out to Okta(an identity provider) and receiving a token which represents having logged in and authenticated successfully(at the identity provider). With this token, I've injecting it into the Http headers of all my future http requests.

This is all because I want to call our Web API providing this token(which it validates and now accepts) and processing the response from the API in return. The response would be some data that I had requested. Prior to this, any calls I made resulted a http 401, access denied error.

I'm using A URL Interceptor in Angular to do the token injecting to my outgoing requests. It's actually pretty cool.

Where I'm ultimately going with this is to write a Excel plugin for Office 2016 which now supports Add-ins written in JavaScript. I've never been a fan of JavaScript but I'm slowly going to the dark side and I'm embracing TypeScript with wide arms.

There are some pain points however in creating an Add-in like this:

- You must use SSL otherwise Excel will not load your add-in. This requires running a locally SSLified web server.
- Excel requires that you call a function called Office.Initialize() to start your application which prevents you from troubleshooting in the browser (as the browser will never call this) but disable this call allows this...but then you can't load the add-in in Excel. Doh!
- When you're running the add-in in Excel, you have no F-12 debugger. You can however attach a debugger via Visual Studio to see all your console.log() messages!
- Excel needs you to load Office.js which messes with your URLs so you have to use Angular's UseHash:true routing strategy. The downside with this is the identity provider provides login token via a redirect query parameter which gets frazzled somehow because it contains a hash itself. So I'm fighting Office.js' useHash requirement and a way to circumvent the redirect nature of the identity provider. I've implemented a solution which doesn't require a redirect but can't test it because of the next problem...
- Excel prevents cross domain requests and returns access denied when I try to send data to the identity provider.

So its really the last issue which is preventing all my work, er, from working under excel. It all works outside of excel.

I'm half way there and this is a conciliation which still represents successfully authenticating with both the identity provider and then the Web API from my web app. That I'm happy with.

Up to and including this point, my weeks have been fairly densely packed with assimilation of code, theory, design and architecture. Its hasn't been productive in the sense that I've felt useful though. It's like studying to be a doctor but never being able to treat patients. That's why this little achievement is a good thing for me.

These weeks have been fairly immersive, so much so I think the longer that I thought about something the quicker I got confused: There was a lot of disparate things that I could not connect together. I think this phenomenon is the unrequited yearning for completeness.

Some of the earlier days, I'd just plunge into the abyss of uncertainty and explore the murky depths for what seemed like hours before coming up to breath without much to show for it - but I'd seen a lot. Starting out is like being an explorer, you just have to explore.

Exploring can be quite frustrating, especially if your looking for something you can't find, or searching, as in my case, for an unquenchable understanding of everything you find - something that frustratingly requires more than expedition. If you don't take your note book with you, then you'll be back yet again.

Hopefully now the light is beginning to shine though, daylight is beginning to emerge.

 

Bounce: To travel hopefully is a better thing than to arrive

Details
Category: Blog
By Stuart Mathews
Stuart Mathews
01.Jan
01 January 2018
Last Updated: 01 January 2018
Hits: 2660

I’ve just finished reading a new book I found while browsing my local bookstore. Its called Bounce and its by Matthew Syed. I liked reading it. It was much like another book called the Sports Gene. This book is all about debunking the myth that talent is mysterious and is only open to a gifted few.

Its something I believe in to and it basically goes on to explore what it is about exceptional sports professionals that make them different from everyone else and in short, its because of hard work, lots of it.

So between everything else I’ve been doing this holiday, I’ve found myself reading this book quite occasionally in my local coffee shop with my trusty pen(I like to write in books, oh shock horror) and a cup of tea.

Here are a few notes I took from reading this book.

Path to Excellence:

  • Purposeful practise is about striving for what is just out of reach and not quite making it; it is about grappling with tasks beyond current limitations and failing short again and again.
  • Excellence is about stepping outside of the comfort zone, training with spirit of endeavour, and accepting the inevitability of trials and tribulations.
  • Progress is built, in effect, upon the foundations of necessary failure.

Brain transformation:

  • When the human body is put under exceptional strain, a range of dominant genes in the DNA are expressed and extraordinary physiological processes are activated. (Anders Ericsson)
  • Providing the perfect conditions for feedback is the key to monitoring and noticing effects of changes you employ
  • Complete Feedback is, in effect,  the rocket fuel that propels the acquisition of knowledge, and without it no amount of practise is going to get you there.
  • Providing the most detailed feedback is important
  • Feedback should be embedded in any drill, lading to automatic readjustment
  • If you can position yourself in this kind of feedback loop, improvements will escalate in ways that will astonish you.

Applying the lessons:

  • Practise cannot be sporadic to benefit from acquiring knowledge during practise
  • Feedback can be corrupted by delay and pressure of new concerns
  • Specialists, should approach difficulty as a means to grow and expand knowledge over time, getting better and better.
  • You should design a practise drill that will allow as much feedback as possible as much of the time as possible. Thereby forcing you to learn and adapt to newly acquisitioned notice of new knowledge during the practise

Zero-Sum Games:

  • Tasks that are boring and repetitive and fail to push employees to their creative limits and beyond is not purposeful practise.
  • Everyone has the capacity for excellence, with the right opportunities and training.
  • Aim for large/wide feedback opportunities (Maximize it) during purposeful practise, designing specialist routines.
  • Combat infrequency
  • Push limits while honing skills during purposeful practise
  • Reduce new concerns that create feedback noise.
  • Practise should not be sporadic/infrequent and without wide feedback aka complete feedback.
  • Embed feedback into drills and quantify ‘ide’ feedback
  • Make feedback detailed so you can spot concerns than can be changed and so that new variations can be explored.
  • Acquisition of knowledge is like concentrating on the hips instead of the racket to instinctively(draw on past knowledge) where the tennis ball will go.
  • Exceptional strain changes physiology
  • Striving for what is just out of reach and trying and failing for feedback is absolutely necessary
  • Push beyond, failure is necessary.

Mysterious Sparks and Life-changing mind-sets:

  • When you want to, that's when you should.
  • Care about the destination, internalize how you are going to get there.
  • Care about the reason, know why it is important.

Motivational Jolts:

  • Find people like you – motivation by association.

The talent myth revisited

  • Have a mind-set focused on growth, not reward
  • Design new strategies to overcome issues found during feedback.
  • design new challenges to help you grow and learn, not gain rewards
  • Embrace failure
  • Fail better next time.
  • But the path to excellence is steep, gruelling, and arduous. Its in inordinarily lengthy, requiring a minimum of 10,000 hours of lung-busting effort to get to the summit. And most importantly of all, to forces voyages to stumble and fall on every single stretch of the journey.
  • Excellence is about  striving for hat is just out of reach and not quite making it. It is about grappling with tasks beyond current limitations and failing short again and again. failure is necessary
  • Build up foundations of necessary failure

The power of words

  • You can be proud of how hard you work. You should be proud of effort. Praise effort
  • Praising intelligence harms their motivation and it harms their performance.
  • Challenges are learning opportunities – design challenges to learn things and receive more feedback.
  • I guess that was too easy. I apologize for wasting your time. Lets do something that you can really learn from.
  • Repetition provides more opportunity to gain invisible knowledge – deep experience knowledge – that why you should do it.
  • hard work is vitally important
  • Failure is an opportunity to improve . Improve with Effort not reward.
  • Show tremendous discipline and take responsibility for your actions.

The garden shed:

  • Identify what you need to grow, design strategies to practise obtaining of striving to obtain this.
  • Design feedback mechanisms and study the results.
  • Update the strategies to try gain deeper knowledge.

The placebo effect

  • Potency: Passion, concentration, belief and will
  • believe in something wholeheartedly
  • All that matters is what you believe
  • If you expect the best, you create the conditions that produce the desired results. Positivity.
  • Build a conviction in ones capacity to achieve.
  • eliminate doubt with a variety of mental techniques
  • The true professional in every field performs from a base of solid faith in his potential to act successfully. He doesn't listen to self doubt .
  • use positive imagery: examples are where I have succeeded in the past etc.

Irrational optimism:

  • Doubt is poison so is uncertainty.
  • Preserver, trust yourself and your reasons.

A physiological conclusion

  • Irrational beliefs can boost performance, provided they are held with sufficient conviction

The curse of choking

  • let learned automation and experience and knowledge take control in pressure situations.
  • If you monitor explicit skills that would otherwise be dealt with automatically by our implicit knowledge base, you choke and focus too much on the one thing.

Baseball rituals and pigeons:

  • A state of mind can be brought about positive reinforcement – thing you did that made you do good and feel good – rituals.
  • To travel hopefully is a better thing than to arrive. Robert Louis Stevenson

I will probably be revisiting the themes in this book moving forward to extract details on how to apply these themes to my own life.

IMG_0316[1]

Evolution of humankind and the purpose of growing old

Details
Category: Blog
By Stuart Mathews
Stuart Mathews
19.Nov
19 November 2017
Last Updated: 05 May 2018
Hits: 2929
  • Philosophy

One thing that fascinates me a great deal is why we grow old. Its a funny find of question but I think it ranks up there with why do we die and why do we live.

I was sitting in a sort of dinner and eating my lunch and a old couple sat down just in front of me. It was obvious they had been married or together for a long time and well, they were growing old together. Now the thing about living is that you start off new and you grow old. You adapt to the experiences you encounter by gaining knowledge. This knowledge in effect then helps you to do more in your life: A baby who learns how to communicate can ask for food. A person who’s been outdone in a certain scenario will most likely learn from that encounter and modify their outcome the next time round. Experiences and knowledge go hand in hand at getting older. It appears that the older you get, the more experiences you encounter and perhaps more importantly, the more you remember and learn from those experiences. So living longer should make you wiser, have more capabilities - in terms of having had more opportunities to learn to do/deal with a larger variety of things. So why do we learn and gain more knowledge as we grow older? For what purpose? And then, why do we die at the end?

I’ve always thought that there must be a purpose for humans to be alive and to live. I have a theory that every human has a lifetime, to grow old and acquire the knowledge that they do, hence a reason for growing old is that something must be done with that knowledge. But what?

Practically speaking in terms of resources on in the world we live on Earth, you can’t live forever because you’ll utilize all the resources up eventually. So perhaps we die to give the next set of humans the ability to learn, grow old and endeavour to try again to achieve whatever human kind are supposed to(And I don’t know what that is).

Death does seem like a ‘re-go’ or a ‘re-attempt’ by humanity to try again. The longest lifespan of humans in not very much longer than 100 years. Why? Why would stopping a 100 year life time of accumulated knowledge and experience be beneficial? Perhaps a human’s purpose must be achieved within a time frame, if they don’t do it then die and recycle the next human ie. birth. 

If we had to follow this rationale, its intruiging to think that whatever we/humankind are to do in this world, it must be done in a limited time. Why? Sure, perhaps one reason why is because we’d not be able to sustain ourselves and if we kept having children and no-one died and thus we’d not give the Earth time to re-grow its resources for the next humans to consume...

Maybe all humans don’t die because they’ve failed to achieve a global/universal purpose,  like I was suggesting – perhaps they just need to have done something in their life time and then dyeing is purely so the next batch of humans can have the same opportunity to live and breath and eat (use some earth resources) but crucialy learn new things now that the previous generation could not(due to technological improvements now). Then what is a newly borth human’s purpose for living? Is it the same as the next or is it individual?

All humans(well most) do very similar tasks in life. They grow, learn, apply learning, reproduce and die. The ‘apply learning’ is something that might be contributing to our purpose otherwise we would not do it,same with reproduction. One thing that does happen when we die however is that we can leave knowledge behind for the next humans. So this means humanity can evolve by the combined experiences of all those who left useful/reusable knowledge behind when they died. If that’s our purpose then to what end are humans evolving for?

Is our purpose as humans just to contribute to the evolution of the human race -its overall ability, its skill-set, its existence? You could almost see each human’s life as an attempt to level-up the general skill of humanity. So if we live and die to progress and evolve humanity for the next generation – why?

Why evolve humanity, to what end? Is there a point at which a certain level of evolution would be useful – and to whom and for what reason. The people who die don't seem to benefit from human evolution. Perhaps living is their reward?  Who has a vested interest in the evolution of humankind?

What is humanity evolving for? I guess, if you had to look a microbe – it kinda does the same thing but does it know why it reproduces? Is its purpose also to evolve.. Why?

Perhaps the act of living and being alive cannot be learnt in one lifetime, because its always changing. So we’re always learning and evolving to keep up with how to stay alive this time around(which might be subtly diffirent last time, say the last 100 years of the previous generation's lifetime). Perhaps that's our purpose in life – to merely sustain a concept called life or living. The purpose of evolution is to live. Why live?

And to do this we must continually live, learn, share, die and so continuing a process of sharing life experiences this time so that next time others don’t need to do so and they can learn from it and gain the new changes in the life that it now requires to survive?

Perhaps the challenges we’ve faced in our past, racism, wars, treatment of animals, terrorism all in some way during our lifetimes contribute to evolving humanity to stay alive for longer and longer until perhaps the sun stops shining or the universe stops or something.

Perhaps that’s the biggest purpose in life – to stay alive.

Being alive is pretty great but do humans die to evolve?

 Do we evolve to continue living? Why do we live? Who follows our progress?

Why must we die?

 

More Articles …

  1. Unorthodox
  2. Four things
  3. Good weekend
  4. Brexit negotiations outcome predictions
  5. Minimum required, maximum removed.
  6. Prime numbers
  7. Interpretations of truth
  8. Chaos Itchy Park
  9. Friday dancin’
  10. I used to collect number plates
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44

Page 40 of 182