Article
Almost every website involves collecting user input through html forms. Whenever we collect user data, we have to validate it. In Computer Science, data validation is the process of checking whether the data entered is sensible and reasonable. Consider developing a form for email subscriptions. In this case, we want...
Abhilash Kakumanu
Heroku is a cloud platform that provides hosting services. It supports several programming languages including PHP, Node.js, and Python. It is Platform-as-a-Service (PaaS) which allows you to manage website applications while it takes care of your servers, networks, storage and other cloud components. In this article, we'll take a...
Muhammad Hashir Hassan
We as software developers often stumble into situations where we need to insert a dose of randomness into our code. In this article, we will look at how to generate random numbers in JavaScript. We will also touch upon a few built-in methods to deal with random numbers. By the...
A Command-line interface (CLI) is a way to interact with computers using textual commands. A lot of tools that don't require GUIs are written as CLI tools/utilities. Although Python has the built-in argparse module, other libraries with similar functionality do exist. These libraries can help us in writing CLI...
Tapan Pandey
The term slicing in programming usually refers to obtaining a substring, sub-tuple, or sublist from a string, tuple, or list respectively. Python offers an array of straightforward ways to slice not only these three but any iterable. An iterable is, as the name suggests, any object that can be iterated...
Kristina Popovic
This tutorial is an introduction to a simple optimization technique called gradient descent, which has seen major application in state-of-the-art machine learning models. We'll develop a general purpose routine to implement gradient descent and apply it to solve different problems, including classification via supervised learning. In this process, we'll gain...
Mehreen Saeed
A list is the most flexible data structure in Python. Whereas, a 2D list which is commonly known as a list of lists, is a list object where every item is a list itself - for example: [[1,2,3], [4,5,6], [7,8,9]]. Flattening a list of...
Raksha Shenoy
Searching, in the context of Computer Science, is the process of locating a particular element in the given list/array. If we pay close attention, we can find search algorithms everywhere. Consider the process of logging into a website. Entered email and password are searched against the existing key-value pairs...
© 2013-2025 Stack Abuse. All rights reserved.