Mukul Latiyan has Published 473 Articles

JavaScript Algorithms: Sorting, Searching, and Graph Traversal

Mukul Latiyan

Mukul Latiyan

Updated on 26-Dec-2024 20:45:33

675 Views

JavaScript is a versatile programming language widely used for web development. While it is known for its ability to enhance the interactivity of web pages, JavaScript also provides powerful algorithms for sorting, searching, and graph traversal. These algorithms are essential in solving complex problems efficiently. In this article, we will ... Read More

JavaScript Robotics: Controlling Hardware with Johnny-Five and Arduino

Mukul Latiyan

Mukul Latiyan

Updated on 09-Dec-2024 21:56:02

443 Views

JavaScript is no longer limited to web development; it has expanded into controlling hardware devices, thanks to frameworks like Johnny-Five. Johnny-Five is a powerful and user-friendly JavaScript robotics library that allows developers to interact with hardware components like LEDs, motors, sensors, and more using microcontrollers such as Arduino. What is ... Read More

How to check if a file exists in Golang?

Mukul Latiyan

Mukul Latiyan

Updated on 01-Nov-2023 02:12:56

42K+ Views

In order to check if a particular file exists inside a given directory in Golang, we can use the Stat() and the isNotExists() function that the os package of Go's standard library provides us with.The Stat() function is used to return the file info structure describing the file. Let's first ... Read More

How to create a symbolic link to a directory in Ubuntu?

Mukul Latiyan

Mukul Latiyan

Updated on 21-Oct-2023 13:31:15

34K+ Views

Linux provides us a way with which we can create symbolic links or symlinks, that issimply pointing to another file or folder on your machine. Now let's understand what symbolic links actually mean and how to make use of it. Symbolic links in simple terms mean advanced shortcuts. A symbolic ... Read More

How to Concatenate Column Values in a Pandas DataFrame?

Mukul Latiyan

Mukul Latiyan

Updated on 28-Sep-2023 14:50:47

8K+ Views

Pandas is a powerful library for data manipulation and analysis in Python. It provides a variety of functions and tools for handling and transforming data, including the ability to concatenate column values in a Pandas DataFrame. In a Pandas DataFrame, columns represent variables or features of the data. Concatenating column ... Read More

How to Collapse Multiple Columns in Python Pandas?

Mukul Latiyan

Mukul Latiyan

Updated on 28-Sep-2023 14:46:52

2K+ Views

Pandas is a popular data manipulation library in Python that is widely used for working with structured data. One of the common tasks when working with data is to clean and transform it in order to prepare it for analysis. Sometimes, the data might contain multiple columns that have similar ... Read More

Circle of Squares using Python Turtle

Mukul Latiyan

Mukul Latiyan

Updated on 28-Sep-2023 14:40:32

2K+ Views

The Circle of Squares is a fascinating geometric pattern that can be created using Python's turtle graphics library. This pattern consists of a circle of squares that are evenly spaced around its circumference, with each square rotated at an angle relative to the previous square. This creates a mesmerizing visual ... Read More

string.sub() function in Lua

Mukul Latiyan

Mukul Latiyan

Updated on 08-Sep-2023 22:55:05

76K+ Views

Another important function of the Lua’s string library is the string.sub() function. The string.sub() function is used to extract a piece of the string.The string.sub() function takes three arguments in general, the first argument being the name of the string from which we want to extract a piece, the second ... Read More

Classical NOT Logic Gates with Quantum Circuit using Qiskit in Python

Mukul Latiyan

Mukul Latiyan

Updated on 01-Sep-2023 10:30:11

439 Views

Quantum computing is an emerging field that utilizes the principles of quantum mechanics to perform computations more efficiently than classical computers. Qiskit, a powerful open-source framework, provides a user-friendly platform to develop and execute quantum programs in Python. In this tutorial, we will explore the concept of classical NOT logic ... Read More

Class Based vs Function Based Views in Django

Mukul Latiyan

Mukul Latiyan

Updated on 01-Sep-2023 10:28:49

2K+ Views

Django is a popular web framework for building complex and scalable web applications in Python. One of the key design principles of Django is the use of views to handle HTTP requests and generate responses. In Django, views can be implemented using either class-based views or function-based views. Both types ... Read More

1 2 3 4 5 ... 48 Next
Advertisements