hello.js

var please = require('share');
console.log('thank you');

Tuesday, 16 July, 2019 UTC

Arrow Functions in JavaScript

Arrow Functions in JavaScript

Introduction If you are a JavaScript developer, you may know that JavaScript conforms to the ECMAScript (ES) standards. The ES6, or ECMAScript 2015 specifications, had introduced some of the revolutionary specifications for JavaScript, like Arrow Functions, ... more


Tuesday, 2 July, 2019 UTC

Angular Form Validation

Angular Form Validation

Introduction One of the most common features in any web application is providing a form to users to input some data. You use forms daily to log in, register, place orders, etc. Processing user inputs before validating can have serious consequences. You ... more


Wednesday, 26 June, 2019 UTC

Phaser 3 and Tiled: Building a Platformer

Phaser 3 and Tiled: Building a Platformer

Introduction Phaser 3 enables us to quickly create games in our browser with JavaScript. Some of our favorite 2D games are platformers - think of games like Mario, Sonic, Super Meat Boy, or Cuphead. Tiled is a 2D map editor that's used to create game ... more


Monday, 24 June, 2019 UTC

How to Use TensorFlow with Java

How to Use TensorFlow with Java

Introduction Machine Learning is gaining popularity and usage over the globe. It has already drastically changed the way certain applications are built and will likely continue to be a huge (and increasing) part of our daily lives. There's no sugarcoating ... more


Saturday, 22 June, 2019 UTC

Git: Add All Files to a Repo

Git: Add All Files to a Repo

When you want Git to track a file in a repository, you must explicitly add it to the repo, which can become a bit cumbersome if you have many files. Another option would be to add/stage all files to the repo, which is much quicker. In general it is best ... more


Tuesday, 18 June, 2019 UTC

Web Browser Automation with Selenium and Java

Web Browser Automation with Selenium and Java

Introduction Several tools can drive the web browser the way a real user would do like navigating to different pages, interacting with the elements of the page and capturing some data. This process is called Web Browser Automation . What you can do with ... more


Friday, 14 June, 2019 UTC

Run-Length Encoding

Run-Length Encoding

In this article we'll go over how the run-length encoding algorithm works, what it's used for, and how to implement its encode and decode functions in Python. Run-length encoding (RLE) is a very simple form of data compression in which a stream of data ... more


Thursday, 13 June, 2019 UTC

Building a Todo App with Flask in Python

Building a Todo App with Flask in Python

Introduction In this tutorial, we are going to build an API, or a web service, for a todo app. The API service will be implemented using a REST-based architecture. Our app will have the following main features: Create an item in the todo list Read the ... more


Monday, 10 June, 2019 UTC

Introduction to Phaser 3: Building Breakout

Introduction to Phaser 3: Building Breakout

Introduction Game development is a unique branch of software development that can be as rewarding as it is complex. When thinking of creating games, we usually think of an application to install and play on our computers or consoles. The HTML5 spec introduced ... more


Thursday, 6 June, 2019 UTC

Getting Started with Python's Wikipedia API

Getting Started with Python's Wikipedia API

Introduction In this article, we will be using the Wikipedia API to retrieve data from Wikipedia. Data scraping has seen a rapid surge owing to the increasing use of data analytics and machine learning tools. The Internet is the single largest source ... more


Wednesday, 5 June, 2019 UTC

How to Send Emails with Node.js

How to Send Emails with Node.js

Introduction Email is one of the most used tools for communication in web applications because it helps you reach your users directly, build your brand, or send general notifications. So, you are thinking about sending emails from your next great Node.js ... more


Monday, 27 May, 2019 UTC

Asynchronous Tasks in Django with Redis and Celery

Asynchronous Tasks in Django with Redis and Celery

Introduction In this tutorial I will be providing a general understanding of why celery message queue's are valuable along with how to utilize celery in conjunction with Redis in a Django application. To demonstrate implementation specifics I will build ... more


Monday, 20 May, 2019 UTC

Overview of Async IO in Python 3.7

Overview of Async IO in Python 3.7

Python 3's asyncio module provides fundamental tools for implementing asynchronous I/O in Python. It was introduced in Python 3.4, and with each subsequent minor release, the module has evolved significantly. This tutorial contains a general overview ... more


Wednesday, 15 May, 2019 UTC

Building GraphQL APIs with Vue.js and Apollo Client

Building GraphQL APIs with Vue.js and Apollo Client

Introduction GraphQL is a graph-oriented query language written by Facebook. In contrast to REST APIs, GraphQL introduces features that make API development more efficient and in tune with database models. GraphQL Features Unlike REST , there is only ... more


Wednesday, 15 May, 2019 UTC

Managing Environment Variables in Node.js with dotenv

Managing Environment Variables in Node.js with dotenv

Introduction Deploying an application requires developers to put thought and consideration into how it is configured. Many apps are deployed in a development environment before being deployed to the production environment. We need to ensure each environment ... more


Thursday, 2 May, 2019 UTC

Constraint Programming with python-constraint

Constraint Programming with python-constraint

Introduction The first thing we have to understand while dealing with constraint programming is that the way of thinking is very different from our usual way of thinking when we sit down to write code. Constraint programming is an example of the declarative ... more


Monday, 22 April, 2019 UTC

How Docker can Make your Life Easier as a Developer

How Docker can Make your Life Easier as a Developer

What is Docker? Docker is a technology that allows you to create and run containers for your applications. Containers are isolated environments that run an application and include its dependencies. They are typically minimal, including just what you ... more


Friday, 19 April, 2019 UTC

Clone Arrays in JavaScript

Clone Arrays in JavaScript

In one of my previous articles I covered how you can copy objects in JavaScript. Copying an object is a pretty complicated endeavor, given that you would also have to be able to copy every other data type that could be in the object. But what if you're ... more


Wednesday, 17 April, 2019 UTC

How to Copy Objects in JavaScript

How to Copy Objects in JavaScript

Introduction A very common task in programming, regardless of language, is to copy (or clone) an object by value, as opposed to copying by reference. The difference is that when copying by value, you then have two unrelated objects with the same value ... more


Monday, 8 April, 2019 UTC

Securing Spring Boot Web Applications

Securing Spring Boot Web Applications

This article applies to sites created with the Spring Boot framework. We will be discussing the following four methods to add additional layers of security to Spring Boot apps: Preventing SQL Injection using Parameterized Queries URL Parameter Input ... more


Tuesday, 2 April, 2019 UTC

Getting Started with Selenium and Python

Getting Started with Selenium and Python

Introduction Web Browser Automation is gaining popularity, and many frameworks/tools have arose to offer automation services to developers. Web Browser Automation is often used for testing purposes in development and production environments, though it's ... more


Tuesday, 26 March, 2019 UTC

Spring Boot Profiles for DEV and PROD Environments

Spring Boot Profiles for DEV and PROD Environments

This article applies to sites created with the Spring Boot framework, using Apache Maven as the build tool. In order to demonstrate how profiles work, we'll visit an example using Google Analytics and Google Tag Manager for tracking site metrics. I use ... more


Wednesday, 20 March, 2019 UTC

Reading a File Line by Line in Node.js

Reading a File Line by Line in Node.js

Introduction In Computer Science, a file is a resource used to record data discretely in a computer's storage device. Node.js doesn't override this in any way and works with anything that is considered a file in your filesystem. Reading files and resources ... more


Monday, 18 March, 2019 UTC

Test-Driven Development for Spring Boot APIs

Test-Driven Development for Spring Boot APIs

Introduction With the rise in adoption of smartphones in the world currently, there has been an influx of mobile applications to achieve a wide variety of tasks. Some of the applications we use on a daily basis communicate with other systems to give ... more


Monday, 11 March, 2019 UTC

JavaScript Convert Number to String

JavaScript Convert Number to String

Introduction Managing data is one of the fundamental concepts of programming. Because of this, JavaScript offers plenty of tools to parse various data types, allowing you to easily interchange the format of data. Particularly, I'll be covering how to ... more


Monday, 11 March, 2019 UTC

JavaScript Convert String to Number

JavaScript Convert String to Number

Introduction Managing data is one of the fundamental concepts of programming. Converting a Number to a String is a common and simple operation. The same goes for the other way around, converting a String to a number. Converting String to Number As with ... more


Sunday, 3 March, 2019 UTC

For-each Over an Array in JavaScript

For-each Over an Array in JavaScript

If you've been writing JavaScript for even a short amount of time, you're probably still aware of how quickly the language is changing. Given all of these changes, that means there are also multiple ways to perform the same function. In this case I'm ... more


Tuesday, 26 February, 2019 UTC

Remove Element from an Array in JavaScript

Remove Element from an Array in JavaScript

In JavaScript, and just like many other languages out there, at some point you'll likely need to remove an element from an array. Depending on your use-case this could be as easy as using the built-in shift() or pop() commands, but that only works if ... more


Tuesday, 19 February, 2019 UTC

Reading and Writing CSVs in Java

Reading and Writing CSVs in Java

Introduction This is the first article in a short series dedicated to Libraries for Reading and Writing CSVs in Java. Reading and Writing CSVs in Core Java Owning to the popularity and widespread use of CSV as a format for data transfer, there are many ... more


Sunday, 10 February, 2019 UTC

Sending AJAX Requests in Vue.js

Sending AJAX Requests in Vue.js

What is AJAX? Asynchronous Javascript and XML (AJAX), is a way of communicating to a web server from a client-side application through the HTTP or HTTPS protocol. Even though AJAX holds XML in the name, the way data is sent through requests or received ... more