Article
Python is one of the most suitable languages for automating tasks. Whether it's repeatable (ethical) web scraping after some time period, starting some programs on a computer start up, or automating sending mundane e-mails, Python has a lot of modules that make your life easier. One of these is a...
David Landup
In this guide - we'll take a look at how to calculate the Euclidean distance between two points in Python, using Numpy. Euclidean distance is a fundamental distance metric pertaining to systems in Euclidean space. Euclidean space is the classical geometrical space that you get familiar with in the Math...
Bilal Hamada
Sorting is one of the fundamental techniques used in solving problems, especially in those related to writing and implementing efficient algorithms. Usually, sorting is paired with searching - meaning we first sort elements in the given collection, then search for something within it, as it is generally easier to search...
Branko Ilic
The Portable Document Format (PDF) is not a WYSIWYG (What You See is What You Get) format. It was developed to be platform-agnostic, independent of the underlying operating system and rendering engines. To achieve this, PDF was constructed to be interacted with via something more like a programming language, and...
Joris Schellekens
If you have worked with Spring Data JPA for any length of time - you're probably acquainted with derived query methods: @Repository public interface BookRepository extends MongoRepository<Book, String> { List<Book> findByAuthor(String name); } They are a nifty and quick way to offload the burden of...
When working with any programming language, you'll probably need some functionality that is not integrated into that language natively. Thus, you'll either implement them yourself, or turn to using various modules or libraries. This directly affects the efficiency of your application (more memory usage, more HTTP requests, etc.). To avoid...
Lazar Ristic
The Java Streams API simplifies working with a collection of elements. Because streams turn these elements into a pipeline, you could test them using a set of conditions (known as predicates), before finally acting on those that meet your criteria. The filter() method is one such operation that tests the...
Hiram Kamau
Design patterns help make code understandable, scalable, and reusable. There are different categories of design patterns, depending on the problems being addressed. When code is modularized, it's easier to add newer features without making drastic changes to the project. The Abstract Factory Design Pattern is a creational pattern that provides...
Sathiya Sarathi Gunasekaran
© 2013-2025 Stack Abuse. All rights reserved.