Category: Technology Blog – dineshkrish.com

TensorFlow TensorFlow is a widely used open-source library for building and training machine learning models. It supports a wide range of applications, from image and video analysis to natural language processing and reinforcement learning. PyTorch PyTorch is another popular deep learning library that provides a more user-friendly interface and dynamic computation graph compared to TensorFlow. […]
Hello everyone, in this tutorial, we will show you how to rotate an array in golang programming language. The example program has been tested and shared in the post. Function – Rotate an array in Golang The below two functions are responsible to rotate a given integer array. The leftRotate() function will perform array rotation […]
Hello everyone, in this tutorial, we will show you how to reverse an array in golang programming language. The example program has been tested and shared in the post. Function – Reverse an array in Golang The bellow function reverse() is responsible to reverse a given integer array. func reverse(numbers []int) []int { var length […]
Hello everyone, in this tutorial, we will show you how to convert an Object to XML in Golang programming language. The example program has been tested and shared in the post. Example Program – Object to XML in Golang package main import ( "encoding/xml" "fmt" "os" ) type Address struct{ City string State string Country […]
Hello everyone, in this tutorial, we will show you how to write Binary Search in Golang. The example program has been tested and shared in the same post. Function – Binary Search in Golang // function responsible to perform binary search func binarySearch(numbers []int, left int, right int, item int) (int, int) { if right […]
Hello everyone, in this tutorial, we will show you how to write a simple Linear Search in Golang. The following example program has been tested and shared in the same post. What is Linear Search? The Linear Search is a searching algorithm, which will search an element from the given items or array. It start […]
Hello everyone, in this tutorial, we will learn how to write a simple Selection Sort in Golang programming language. This example program has been tested and shared in the same post. What is Selection Sort? The selection sort algorithm sorts an items by repeatedly finding the minimum element from unsorted items and putting it at the beginning. The algorithm […]
Hello everyone, in this tutorial, we will learn how to write a simple Bubble Sort in Golang programming language. This example program has been tested and shared in the same post. What is Bubble Sort? The bubble sort is one of the easiest sorting algorithm that works by iteratively swapping an elements if they are in the wrong […]
Hello everyone, in this tutorial, we will learn how to write a simple Bubble Sort in python programming language. This example program has been tested and shared in the same post. What is Bubble Sort? The bubble sort is one of the easiest sorting algorithm that works by iteratively swapping an elements if they are […]
Hello everyone, welcome to the Golang tutorial series. In this post, you will learn and understand how to create custom errors in golang, which we can use in the functions and packages. The below example program was created to provide more details about how to deal with custom errors in go and also it is […]
Hello everyone, welcome to the Golang tutorial series. In this post, you will learn how to read a file in golang and this example program has been tested and shared in the same post. The operations such as reading and writing a file in golang is a pretty easiest task to do it. In this […]
Hello everyone, In this tutorial, we will show you how to create simple variadic functions in golang. The following example program has been tested and shared in the same post. What is the Variadic functions? The variadic functions are a really great feature or tool for programmers and it is supported by many programming languages. […]
Hello everyone, In this tutorial, we will learn how to perform CRUD operations with MySQL in Go language. The MySQL is the database, which is used to store the data or information in the file-system for later use, the CRUD (create, read, update and delete) operations are the most common and frequent activity for many […]
Hello everyone, The golang has a lot of notable features to support developers to develop an application, and performing the marshalling and unmarshalling is a most common and frequent activity for any software application during the development. In this tutorial, we will show you how to perform a json marshalling and unmarshalling in golang. This […]
Hello everyone, In this tutorial, we will show you how to develop the simple spell checker application using Flask, TextBlob and Bootstrap 4. The example program has been tested and shared in the post. Flask Service Layer from flask import Flask, render_template, request from textblob import TextBlob app = Flask(__name__) @app.route('/') def home(): return render_template('index.html') […]
Hello everyone, In this tutorial, we will show you simple range example in Go language. The example program has been tested and shared in the post. Syntax for index, element := range someSlice { .......... ......... } Iterating an Array using Range in Go package main import "fmt" func main() { // creating an array […]
Hello everyone, In this tutorial, we will show you how to work with list and various list examples in Go language. We are going to perform a few scenarios with list object such as How to add elements to the list How to get size or length of the list How to merge the list […]