What is a neural network

A neural network is a series of algorithms that endeavors to recognize underlying relationships in a set of data through a process that mimics the way the human brain operates.

What is a convolution neural network

A convolutional neural network (CNN) is a type of artificial neural network used in image recognition and processing that is specifically designed to process pixel data.CNNs are powerful image processing, artificial intelligence that uses deep learning to perform both generative and descriptive tasks, often using machine vision that includes image and video recognition, along with recommender systems and natural language processing.

Why we need convolution


What is RPA?

Robotic process automation is a form of business process automation technology based on metaphorical software robots (bots) or artificial intelligence (AI) workers. RPA robots utilize the user interface to capture data and manipulate applications just like humans do.


Let’s begin this article with a small question. Have you ever logged in to your TV or PlayStation? How was your experience? Entering your password using a remote.


In this article, I’m gonna discuss how to write and set up a custom response type for the WSO2 identity server.

For that, you need to create a new project with a handler class and a validator class.


What is IAM?

According to Wikipedia IAM is defined as a framework of policies and technologies for ensuring that the proper people in an enterprise have the appropriate access to technology resources.” IAM is the process that is used by all over the organizations in the world to grant or deny access to users. Those users may be employees, customers or business partners, etc. In this context, access is the ability of an individual user to perform a specific task, such as view, create, remove or modify.

Why do we need IAM?

IAM plays a critical role in any enterprise security plan. In most organizations, users have access…


Did you ever enter your credentials and login to your smart TV or PlayStation? Then you might have faces frustrating experience of entering your credentials with an on-screen keyboard. What if you could log in to your device with a few taps on your mobile phone or laptop?


In my previous articles, I have described setting up Go and making HTTP requests. In this article, I will explain how to create a small web server using GoLang.

Create an HTTP listener

You can use “http.handle” function to wakeup a listener.

// HandleFunc registers the handler function for the given pattern
// in the DefaultServeMux.
// The documentation for ServeMux explains how patterns are matched.
func HandleFunc(pattern string, handler func(ResponseWriter, *Request)) {
DefaultServeMux.HandleFunc(pattern, handler)
}

Simple example

func main() {
http.HandleFunc("/device_authorization", deviceAuthHandler.DeviceAuthHandler)
http.HandleFunc("/token", deviceAuthHandler.TokenHandler)
http.ListenAndServe(":8000", nil)
}

Handlers

In your listener, you have ports and handlers. You need to handle the requests that come…


Most of the time developers have to make HTTP requests and listen to them. In this article, I’m going to explain how to do it in the Go language. To get the support of Go, you can refer to these articles,

Overview

The http package offers functions like Get, Post, Postform etc. The following example used POST method to send the request.

req, err := http.NewRequest("POST", "https://ayeshaj:9000/register", strings.NewReader(parm.Encode()))

Client must close the response body when he finished it.

defer resp.Body.Close()

How to add URL parameters

Most of the time, we are sending URL parameters…


Using a text editor

Open your text editor and create a new file with example.go in your Golang working directory. Write your go program and save the file. Then use this command in terminal to run your program.

Using IntelliJ idea

Go to settings →plugins and search for Go. Then install the plugin. You must use the ultimate version to get support for Go.


What is GoLang

GoLang is also known as Go. Go was designed at Google by Google developers and programmers. Go is an open-source programming language and currently maintained by Google.

Install Go in ubuntu

Use this command to apply latest security updates

sudo apt-get update

Use this command to download go.

wget https://dl.google.com/go/go1.12.7.linux-amd64.tar.gz

Or you can go to the Go page and download it manually from here.

Now extract the tar.gz and install it.

sudo tar -xvf go1.12.7.linux-amd64.tar.gz

You can move your go folder to the desired location using this.

sudo mv go <location>

Set Environment

Normally you have to…

Ayesha Jayasankha

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