Announcing a “Basic Intro to Coding” Course in JavaScript

intro to coding in javascript course 1024x576 2

The Qvault app – our new gamified learning platform – just launched its first JavaScript coding course! This one is short, sweet, and to the point. We created a thirty-exercise, two-module course that caters to students who have never seen a single line of code before. That’s right, this is a code-in-the-browser course for absolute …

Read more

Simple Setup – Vue Linting in VS Code

eslint vscode

I’m a gopher by nature, so I expect consistent styling and linting in my codebases. More importantly, I don’t like to think about styling. I like to type haphazardly and then have my editor apply styles automatically on save (ctrl+s, cmd+s). If you are the same way, hopefully, this will help you in your next …

Read more

How To Cache Images – React Native Expo (Managed)

photo 1571858253340 84d2811a8d7e

Caching images in React Native can be easy, even if you are using Expo’s managed workflow. The problem many devs run into is that React Native only supports caching images on IOS out of the box. Other popular community packages that work on Android contain native code, and as such don’t work with Expo’s managed …

Read more

JavaScript With Statement Explained – A Deep Dive

photo 1529156069898 49953e39b3ac

JavaScript’s built-in with statement specifies the default object for the given property and gives us a shorthand for writing long object references. More precisely, it adds the given object to the head of the scope chain. Note: Use of the with statement is discouraged. It can lead to strange bugs. That said, it’s important to …

Read more

JavaScript Map Function Explained – A Deep Dive

photo 1502209524164 acea936639a2

The built-in JavaScript map function returns a new array, where each element in the new array is the result of the corresponding element in the old array after being passed through a callback function. Later in the article, we’ll do a deep dive into some more advanced concepts regarding the map function and its uses. …

Read more

How to Recursively Traverse JSON Objects

photo 1527266237111 a4989d028b4b

I’ve found that it’s pretty rare that I need recursion in application code, but every once in a while I need to write a function that operates on a tree of unknown depth, such as a JSON object, and that’s often best solved recursively. Even though recursion is rare, it is important to recognize when …

Read more

Secure Random Numbers in Node JS

Randomness is a hard problem for computers. Most functions that generate randomness are not considered cryptographically secure. What this means is that it’s possible for attackers to take a good guess at what number a non-secure randomness generator generated. In the case of guessing a randomly generated private key, for example, this can be catastrophic. …

Read more