Blogs - Programming

RSS Stack Abuse

  • Java - How to Print an Array in One Line 2021-10-25
    In this short tutorial, we'll take a look at how to print an array in a single line in Java, using Arrays.toString(), Arrays.deepToString(), the Stream API and other methods.
    David Landup
  • Integrating Matplotlib Charts in a PDF in Python With borb 2021-10-22
    Introduction 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,
    Joris Schellekens
  • Heap Sort in Java 2021-10-21
    In this guide, we'll take a look at the theory and implementation of Heap Sort in Java - we'll be implementing it via a Heap and a PriorityQueue.
    Branko Ilic
  • Graphs in Java: Minimum Spanning Trees - Prim's Algorithm 2021-10-20
    In this detailed guide, we'll take a look at Prim's Algorithm and how to find an MST (Minimum Spanning Tree) in a graph in Java in theory and practice.
    Branko Ilic
  • Sending PUT HTTP Requests with Axios 2021-10-19
    In this practical guide, we'll take a look at how to send a PUT HTTP request with JavaScript's Axios library, in the Node.js environment - with examples and best practices.
    Scott Robinson
  • Quicksort in Java 2021-10-18
    In this guide we'll take a look at the theory and how to implement a single-pivot Quicksort in Java with a time and space complexity analysis.
    Branko Ilic
  • Creating a Form in a PDF Document in Python With borb 2021-10-15
    In this guide, we'll take a look at how to add a fillable, interactive form in a PDF document using Python and borb, with dropdown menus and input text fields.
    Joris Schellekens
  • Validate Email Addresses with Regular Expressions in JavaScript 2021-10-14
    In this guide, we'll take a look at how to validate an email address in JavaScript, using Regular Expressions (RegEx), through practical examples, covering all edge cases.
    Lazar Ristic
  • Rounding Numbers in JavaScript using ceil(), floor() and round() 2021-10-13
    In this guide, we'll take a look at how to round a number to an integer (whole number) in JavaScript, using ceil(), floor() and round(), with practical examples.
    Lazar Ristic
  • Scikit-Learn's train_test_split() - Training, Testing and Validation Sets 2021-10-12
    In this guide, we'll take a look at how to split a dataset into a training, testing and validation set using Scikit-Learn's train_test_split() method, with practical examples and tips for best practices.
    Lazar Ristic
  • Heap Sort in JavaScript 2021-10-11
    In this detailed guide - we'll take a look at the theory behind as well as how to implement Heap Sort in JavaScript, with hands-on code.
    Cansın Güler
  • Perform OCR on a Scanned PDF in Python Using borb 2021-10-08
    In this guide, we'll take a look at how to apply OCR to scanned PDF documents (images) and overlay layers to contain parsable text in Python using borb.
    Joris Schellekens
  • How to Parse Command Line Arguments in Bash 2021-10-07
    In this article, we will learn to handle CLI arguments in Bash. We'll begin by reading positional arguments, and then more intricate setups with getopts
    Sathiya Sarathi Gunasekaran
  • Getting Started with GitHub Actions - Software Automation 2021-10-06
    Get started with using GitHub actions! In this guide, you'll learn what they are and how they work, topped with a practical example workflow of a benchmarker built using Python.
    Dragan Bjekic
  • Handling File Uploads with Django 2021-10-05
    In this guide, we'll take a look at how to upload files to a Django web application, using Python, building a small application and exploring storage and file type options along the way.
    Cansın Güler