Skip to content

Category: Programming

Serverless Framework Logo
Cloud Computing

Setting CloudWatch Rentention Policies in Serverless

The serverless default for CloudWatch Logs is to keep the logs forever. CloudWatch Logs are pretty expensive to keep around indefinitely. In the serverless.yml file, we're able to set how long the cloudwatch logs are kept for. I recommend keeping them for at least 7 days but 30 days is probably more ideal.

December 4, 2018
JavaScript

How to Remove Duplicates From An Array in JavaScript

As a JavaScript developer, there's occasionally a need to remove duplicates from an array of values. By using our knowledge of advanced data sets we can write a lot less code and take advantage of built in features in JavaScript.

June 5, 2018
JavaScript

Introduction to the Knex.js Database Module

Knex is a JavaScript / Node.js library that is designed to make working with relational databases easier. Knex.js is a SQL query builder. It has the potential to make tdd and database versioning much easier.

May 29, 2018
Programming

6 Tips For Better Handling Traffic Spikes

As a software developer, and technology manager, I've had a lot of experience in the past with variable website traffic. In the past, I've worked on business to consumer information websites, I've worked on payment gateways and even on a few ecommerce sites.

May 8, 2018
Salesforce Logo
Programming

How to query Lightning Components Using SOQL

One of the most beautiful things of the Salesforce platform is that almost everything can be queried. Lightning components can be queried pretty easily.

May 1, 2018
My Favourite Debugging Techniques
Programming

My favourite debugging techniques

I believe that debugging is one of the most important technical skills a developer can have. In the average week, I probably spend anywhere from 20 - 30 percent of my time debugging. This is because my code isn't perfect, sometimes it does legitimately only work on my machine or device.

April 24, 2018
Caddle Logo
Programming

Joining Caddle

As a software developer, I’ve always been interested in working on things that I could potentially use and benefit from. For a…

April 17, 2018
What does data do
Programming

What does data do?

As humans, we use data every day. Sometimes when we use data it's completely subconscious - we don't even realize we're doing it. When we count the number of emails in our inbox, we can predict just how busy our day is going to be.

April 10, 2018
JavaScript

How to replace jQuery with Vanilla JavaScript

As a programmer, and technology manager I think it's really important to use the right tools and technologies. There are times where I think jQuery is still really valuable but there are a lot of times where I don't think it is valuable.

April 2, 2018
Book Review

Book Review: JavaScript: The Good Parts

Although, JavaScript: The Good Parts is nearly ten years old I would argue it’s still a pretty good book to read. Literally,…

March 19, 2018
Cloud Computing

5 Reasons to Use AWS Lambda

In late 2014, AWS Lambda launched and has grown in widespread use since then. AWS lambda is a serverless computing technology which…

March 9, 2018
Programming

Why I love VSCode

I’ve been programming for a long time, and I’ve tried a lot of editors over that time. As a developer, I believe…

March 8, 2018
What is ORM
Programming

What is ORM?

Most software projects need to talk to a database at some point – they usually do GET queries for data, update a…

March 7, 2018