Sign in

Technical Writer|Software Engineer|Postgraduate student in Big Data|Email:andriperera.98@gmail.com|Linkedin:https://www.linkedin.com/in/andrea-perera-a56323148/

Deploy a React Application | Extract Timeline Tweets using Tweepy

Learn how MapReduce deal with BIG data using the MRjob Python library

When we deal with “BIG” data, as the name suggests dealing with a large amount of data is a daunting task.MapReduce is a built-in programming model in Apache Hadoop. It will parallel process your data on the cluster.

This article will look into how MapReduce works with an example dataset using Python.

MapReduce: Analyse big data

MapReduce will transform the data using Map by dividing data into key/value pairs, get the output from a map as an input, and aggregates data together by Reduce.MapReduce will deal with all your cluster failures.

How MapReduce Works

To understand MapReduce, let’s take a real-world example. You have a dataset that…


Get to know the latest image formats and when to use them.

In this article, I will introduce the 4 latest image types to help you choose the best one for your next project.

1. WebP — An exciting alternative for JPEG and PNG


CI/CD Pipeline with GitOps Technique |Dockerizing a React Application

Learn how to deploy a React application in Minikube.

Kubernetes is an open-source container orchestration platform developed by Google. It has become very popular among developers for managing, and scaling containerized applications.

In this article, I will demonstrate the steps of deploying a React application in Kubernetes.

New to Kubernetes? I recommend watching the Kubernetes for beginners tutorial on Enlear Acadamy YouTube Channel. It covers all the basics of Kubernetes and will bring you up to speed.

Prerequisites

  1. Install Docker .
  2. Minikube for Kubernetes Cluster: You can use any cloud platform which provides a Kubernetes Cluster.
  3. Kubectl (Kubernetes command-line tool): used to run commands against Kubernetes clusters.
  4. React application…


CI/CD Pipeline using GitOps Technique

Learn how to Dockerize a React Application with multi-stage Docker build using Node and NGINX.

In the past, if we want to share our application with a person or to access it in a different environment, what do we do? We will put the application with all bulky code to a hard drive or a pen drive and physically go install it on another machine. Are you still doing it??

Lifesaver Docker shows up


JavaScript API to Recognize Humans vs Bots in Chrome

Annoyed with the repetition of the Captcha challenge for each site you visit? Learn how to bypass Captcha challenges with Privacy Pass in Chrome or Firefox

CAPTCHA — Completely Automated Public Turing-test to tell Computers and Humans Apart

In the early stage of the web, People used CAPTCHA challenges to detect spam Bots over Humans. Due to Spammers' new methods and tricks, CAPTCHA couldn't handle the situation.

Google invented reCaptcha intending to solve the problem But Google could track the users’ behavior for online advertising. The prime intention here is to serve well-focused advertisements. However, tracking users' behavior limits privacy, accountability, choice, and control over users’ information.

hCaptcha is API-compatible with reCAPTCHA which respects users' privacy.

What if you visit different sites and it will pop…


Iframes with React: Best Practices

A browser standard to distinguish bots from real humans, respecting their privacy for public websites

In the past, detecting humans vs. bots wasn’t privacy-friendly. For instance, if we used reCaptcha in a website, Google could track your visitor preferences. This is not healthy for their privacy.

On the other hand, technologies like hCaptcha appeared as a direct replacement for reCaptcha respecting privacy. Still, the user experience wasn’t that great since it required solving the hCaptcha challenge and repeat it for each site they visit.

But, is there a way where we could avoid all these hassles and detect humans without privacy breaches?

Privacy Pass: An Attempt on Right Direction

So what if there is a way to bypass CAPTCHA?

Privacy Pass, an…


Spring Boot with MySQL / Spring Boot with CloudSQL

Learn how to set up a CI/CD pipeline for your frequent development code changes with Git Repository in Google Cloud.

GitOps is a way of implementing Continuous Deployment for cloud-native applications with Git and Continuous Deployment tools.GitHub is version control and collaboration platform control using Git.

This article will look into how to create a continuous integration and delivery (CI/CD) pipeline on Google Cloud Build using the GitHub repository. I’ll be deploying a Spring boot application on Kubernetes.

“Cloud Build named a leader for Cloud-Native Continuous Integration in The Forrester Wave

A CI/CD pipeline that generates a container image from committed code, stores it in Container Registry, updates a Kubernetes manifest in a Git repository and deploys the application to…


Learn how to configure Cloud SQL MySQL Database in Java Spring Boot RESTful application.

Cloud SQL Service allows users to create, manage, and scale databases in Google Cloud. In my previous article, I covered how to “Create a REST API in Spring Boot with MYSQL”. In this article, you’ll learn how to Configure Spring Boot RESTful application with Cloud SQL for MySQL.

Overview

  1. Create CloudSQL instance and an MYSQL Database in Cloud SQL
  2. Configure Spring Boot RESTful app with Cloud SQL

Requirements

  1. IDE(Eclipse or IntelliJ)
  2. JDK 1.8+
  3. Google Cloud Account

Dependencies

  1. Java
  2. spring-boot-starter-parent
  3. spring-boot-starter-web
  4. spring-boot-starter-data-jpa
  5. mysql-connector-java
  6. spring-cloud-gcp-starter
  7. spring-cloud-gcp-starter-sql-mysql

Plugins

  1. spring-boot-maven-plugin
  2. maven-dependency-plugin

1.Create an MYSQL Database in Cloud SQL

  • Go to GCloud Console and select the project from the dropdown menu. …


Learn how to use Iframes with React following the best practices for Security and Performance

Photo by Chance Anderson on Unsplash

Today it’s challenging to find standalone web apps. We can find most of these apps work with each other where the integrations happen either from the frontend or backend. When looking at these integrations, one of the oldest yet simple integration strategy is using Iframes.

In a Nutshell, Iframes allow you to embed content from other websites into yours.

When looking at the history, an “Inline frame” called Iframe was introduced in 1997 with HTML 4.01 by Microsoft Internet Explorer.

First and foremost, let’s look at how to embed an Iframe in a React project.

Embed an Iframe in React

Technically, an Iframes could be…


Photo by Taylor Vick on Unsplash

Introduction

This article will look into what is Data Warehouse and it’s key Terminologies. In today’s competitive business environment, effective decision-making processes take a big role. That’s where Data Warehouses came in to place.

Overview

  • What is Data Warehouse
  • Why do we need Data Warehouse?
  • What are OLTP and OLAP?
  • What is ETL?
  • What is Data Mart?
  • Types of Data Mart
  • Why do we need Data Mart?
  • What is Metadata

What is a Data Warehouse?

Data Warehouse is a central place where data is extracted, collected, and processed from various data sources/databases for Data Visualisation.

Business analysts, data engineers, and data scientists access the data through business…

Andrea Perera

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store