Python List Sorting

Sometimes we might need to sort lists in Python programming. This article will discuss Python list sorting methods. Using list.sort method Python lists have a built-in sort method it modifies the list in place. The syntax of the list.sort method Parameters key : Callable function that takes a single argument reverse : a boolean value … Read more

Top 10 New Features in Ubuntu 22.10 Kinetic Kudu

Top new features of Ubuntu 22.10

Canonical has released Ubuntu 22.10(Kinetic Kudu) with new features and fixes. This article will discuss the top 10 new features of Ubuntu 22.10. Support lifespan – Ubuntu 22.10 has a support life span of 9 months until July 2023. 1. GNOME 43 The desktop environment is updated to GNOME 43. Some key features of GNOME … Read more

How To Get the Type of a Variable in Cpp

Sometimes we need to determine the variable type at runtime in C++ code. This tutorial will discuss how to get the type of a variable in C++. The typeid operator allows us to determine the type of variable/object at runtime. The syntax of typeid operator Parameters: Typeid operator accepts one parameter : Type – Variable … Read more

Categories C++

Text to Image AI Desktop App For Windows

Stable diffusion SDImageGenerator feature image

Text-to-image generation artificial intelligence is a trending topic in the AI community. This tutorial will teach you how to use a text-to-image generation AI desktop app for Windows. We will use an easy-to-use SDImageGenerator (Stable Diffusion Image Generator /SDIG) software for Windows. Usually setting up text-to-image AI locally is a tedious task that requires some … Read more

Cppfront – A new Syntax for CPP

Cppfront feature image

C++ is a good programming language, it is used in performance-critical areas like gaming, multimedia processing, etc but some parts of CPP language syntax are still old-style (cpp1). Cppfront is an experimental compiler for C++ syntax2 (cpp2) by  Herb Sutter. My goal is to explore whether there’s a way we can evolve C++ itself to … Read more

Categories C++

Difference between yield and yield from in Python

The PEP 255 introduced generators in Python. The yield keyword is normally used with generators. This article will discuss the difference between “yield” and “yield from“. The yield statement The generator is a function that returns an iterator. Normally a generator function has a yield statement. To define a generator function we need to use … Read more

How to Solve Gradio Interface not visible on Windows 10

Gradio is a fast way to build interfaces for machine learning apps. In Windows10 Gradio interfaces are not visible as shown below. To fix this problem,first find the python installation folder. Type the following command in the command prompt: In my case it is “D:\ananconda\envs\gradtest\“. Open the routes.py file in any text editor. Full path … Read more

How To Enable God Mode in Windows 11

Enable god mode Windows 11

This article will discuss the steps to enable “God mode” in Windows 11. The God mode is actually the Windows Master Control panel shortcut. Later back in 2010 some bloggers named it “God Mode”. As per the Microsoft developer comment, it is the “All Tasks” folder. God mode is a shortcut to access various control … Read more

How To Recover Disk Space From Docker

How To Recover Disk Space From Docker

This article will discuss methods to recover disk space from docker. Sometimes systems get piled up by docker images and we might get a low disk space warning. Run the following steps to recover disk space from docker : 1. Remove unused docker data Unused docker containers, networks, images, and volumes takes disk space. To … Read more

How to Set Up Carbon Programming Language on Ubuntu 22.04

Setup carbon programming language on Ubuntu 22.04

In this tutorial, we will learn how to set up Carbon programming language on Ubuntu 22.04. Carbon is a general-purpose programming language. First introduced by Google engineer Chandler Carruth at the CppNorth conference. Carbon fixes some shortcomings of C++ and Rust languages, the Carbon project is available on GitHub. Follow the steps to install the … Read more