Blog

BLACK LIVES MATTER

Unit testing and mocking fs.ReadFileSync

May 28, 2020  -   3 mins read time -   502 words -  garrardkitchen

jest, mssql, rabbitmq, sync, taskrouter, twilio, twilio sync, twilio taskrouter, unit testing

I’d just ran npm run test in a newly created package I’d added to a monorepo (lerna) I’d created for a project I was working on that integrates with Twilio Sync, RabbitMQ, Twilio TaskRouter and MSSQL, and I go this: *******************************consumers\packages\eda [CRMBROK-233 +0 ~2 -0 !]> npm run test > @cf247/eda@1.0.2 test *******************************consumers\packages\eda > jest FAIL __tests__/eda.test.js ‚óŹ Test suite failed to run ENOENT: no such file or directory, open '. ...

Kubernetes on Windows

April 6, 2020  -   9 mins read time -   1735 words -  garrardkitchen

aws, azure, blogging, containers, gcp, kubernetes, pods, services, setup, windows

This post is a reminder to me of what needs to be installed in order for a pod, created from a local image, that is to be served up via a kubernetes cluster, to be run from your local development environment. What is Kubernetes and why is it so important? “Kubernetes is a portable, extensible, open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. ...

How do I mentor?

March 26, 2020  -   7 mins read time -   1473 words -  garrardkitchen

blogging, Heisenberg Effect, Hugo, mentoring, The Manager's Path

I have written this post to document my experiences of mentoring. I have mentored front-end engineers, back-end engineers and UX designers. I have had the pleasure of helping others as well as learning one of two things about myself along this journey too. If ever you get the opportunity to be a mentor, I recommend you jump at the opportunity. It is a self-rewarding experience. So, what is mentoring?… The definition of Mentoring is the act of advising or training (someone, especially a younger colleague). ...

Good Engineering - Principles

March 1, 2020  -   24 mins read time -   4944 words -  garrardkitchen

blogging, Hugo, good engineering, principles

I have written this post as a method to document what I see as the basics, foundations if you will, for good engineering. Undoubtedly if you are a seasoned engineer, you will recognised all of these principles, less so, if you’re just starting out. Most Engineers are fully versed in the foundations of writing quality, efficient, succinct and testable code. As a Principal Engineer, one of my responsibilities is to ensure that these (1) foundations are recognised by the engineers and (2) are adhered to by all engineers. ...