Loading
Abi Travers

My Blog. Full Stack Software Engineer. Ex-Growth Hacker.

Software Engineering

eval() function javascript, what to use instead

What’s the deal with the eval() function in Javascript?

I can across the eval function today when looking for an alternative to a multiple, nested if statement. This if statement would check what a certain key’s title was and invoke the function which  corresponded to that key name. We thought…..

error handling Javascript

Gotchas of error handling and testing, Javascript

Recently I have been mainly working with Node JS and have been tripped up by a few things while trying to handle errors. I noticed other people were also experiencing some problems handling errors and unit testing them correctly. I…..

Live Element Lists vs Static Ones, Why document.getElementsByClassName is different to document.querySelector(‘.className’) : Bitesize JS

Bitesize Javascript series I was working on a bug in our code base with a colleague, when he noticed something strange about the behaviour of document.getElementsByClassName. In our code base it had been implemented as if it acted like document.querySelector,…..

html element root element

Document.documentElement: BiteSize JS and web performance

I was recently advised to use Document.documentElement when querying the DOM to get the html element. This came about because I was refactoring an old code base to swop JQuery for vanilla JS. Doing this I saw: $(‘html’) This is…..

connecting to Moz's API url request

How to connect to the MOZ API with a C# Application

An API is basically just a website. A website which only contains data (usually in the form of JSON), no html, CSS or java-script. To call MOZ‘s API we have to make up a URL string which will be posted to the MOZ server. The server…..

system architecture of a MVP tech startup

System Architecture – Designing A Data Security App Which Speaks To A Number of APIs

I recently took part in the London Business Schools Hackathon, HackLBS. A weekend event, ran by London Business School with the premise of creating products to solve future needs. We organised into teams and spent the time designing a product and action plan…..

How to set up a virtual machine on your mac

A virtual machine is essentially a new machine on your current one. A new environment (area(in memory)) which is separate to your current. Why would one do this you ask? Simplezz, to create a windows operating system on a mac…..

Am I good enough to learn to code? What is the best way to learn it? What I learnt from 4 months at a coding bootcamp

Am I good enough to learn to code? What I learnt from 4 months at a coding bootcamp.

I fantasized about learning to code for years. When I finally decided to take the plunge I thought the best way to do it would be through a bootcamp. I had taught myself growth hacking and doing this alone, with no-one to…..

ruby kuta on codewars, min bonus

The Ruby Kata; Minimum Bonus, A Codewars Challenge

So it is week 4 of the pre-course for Makers Academy. I know what you are thinking .. where have you been on week3? I don’t see any posts? … Well the answer to your question is Barcelona, which meant…..

Logical Reasoning and Problem Solving With Ruby-Kickstarter

For those of you who aren’t regular readers of my blog, aka everyone but my mum and dad, allow me to set the scene: I have enrolled on the intensive computer programming bootcamp at the Makers Academy. Before starting the full-time,…..