April 24, 2020
#AWS
If you are trying to get an AWS Lambda added attached to a VPC, but get the error message:
The provided execution role does not have permissions to …
Read Article →
April 23, 2020
#Databases
Data integrity is the overall completeness, accuracy and consistency of data (Techopedia, n.d.).
In order to achieve data integrity, it is important …
Read Article →
April 22, 2020
#Big Data
#Databases
Although the terms “data warehouse” and “data mart” sound similar, they are quite different. It is important to first …
Read Article →
April 21, 2020
#Domains
Whois is an online service that let’s you know registration information about a website or IP address.
For the most part, Whois aggregations are …
Read Article →
April 20, 2020
#Databases
The concept of a graph in mathematics is simply a collection of elements which are typically called Nodes and are joined together by Edges. Each Node …
Read Article →
April 19, 2020
#Git
When working with GitHub, you will need to identify yourself. The default way is using your username and password. However, you can also create an SSH …
Read Article →
April 18, 2020
#Interview
#Python
The problem
Given an array of strings arr. String s is a concatenation of a sub-sequence of arr which have unique characters .
Return the maximum …
Read Article →
April 17, 2020
#Big Data
The world of Big Data started out as a way of storing and querying obscene amounts of information by comparison to what yesteryears were able to …
Read Article →
April 16, 2020
#Software
In the Oxford Dictionary, the term “outsourcing” is simply defined as obtaining goods or services by contract from an outside supplier …
Read Article →
April 15, 2020
#Java
In Java there are eight basic data types; which are: byte, short, int, long, float, double, boolean and char.
It could realistically be said that a …
Read Article →
April 14, 2020
#Java
TLDR;
When to use == in Java
When comparing two operands. It is used to check whether two operands are equal or not. It’s best to only use it …
Read Article →
April 13, 2020
#Java
As with many programming languages such as C, C++ and C# (known commonly as the C family), it is possible to “overload methods” (sometimes …
Read Article →
April 12, 2020
#Javascript
The dollar-sign ($) in Javascript has for many years now been associated with jQuery.
When you see this error:
“uncaught typeerror: $ is not a …
Read Article →
April 11, 2020
#Python
Let’s say that you have a Python list with the following 5 foods:
foods = ["pizza", "pasta", "steak", "chicken", …
Read Article →
April 10, 2020
#Python
This is not the first time that I created a Python3 application that spat out some output and required access to it via an HTTP server.
While there …
Read Article →
April 9, 2020
#Interview
#Java
Given the root node of a binary search tree, return the sum of values of all nodes with value between L and R (inclusive).
The binary search tree is …
Read Article →
April 8, 2020
#Interview
#Python
Given a fixed length array arr of integers, duplicate each occurrence of zero, shifting the remaining elements to the right.
Note that elements beyond …
Read Article →
April 7, 2020
#Python
Python has never been the best at doing multiple things at the same time.
While there are ways to mostly resolve this, such as using the …
Read Article →
April 6, 2020
#CLI
If you need to replace all newline characters with a comma, or perhaps some other delimiter, then using the build-in tr utility will work very well …
Read Article →
April 5, 2020
#PHP
If you have a busy PHP driven website and don’t want to make constant queries to the database for each user that will see the same data, then …
Read Article →
April 4, 2020
#CLI
You have a directory with a lot of files, and you want to delete only the files that don’t match a specific extension.
This is a simple task …
Read Article →
April 3, 2020
#CLI
#Linux
So you are getting an error 404 or perhaps even worse, a 500!
The error in your Apache2 logs looks something like this:
***.162.245.*** - - …
Read Article →
April 2, 2020
#Interview
#Python
Let’s say that you have an array or a list, or logs.
Each of these logs is a space-delimited string of words.
For example:
logs = ["dig1 8 …
Read Article →
April 1, 2020
#Javascript
Javascript is a powerful language, but sometimes it doesn’t always do what you expect it to.
Take the following expression for example. …
Read Article →