Writing a Binary Search Tree in Python – With Examples

lone tree unsplash

A binary search tree, or BST for short, is a tree whose nodes each store a key greater than all their left child nodes and less than all of their right child nodes. Binary trees are useful for storing data in an organized way, which allows for it to be fetched, inserted, updated, and deleted … Read more

Building a Linked List in Python with Examples

writing a todo list

A linked list is a linear data structure where elements are not stored next to each other in memory. The elements in a linked list are linked using pointers or references. Linked lists are an ordered collection of objects, similar to a normal list. Linked lists stand apart from lists in how they store elements in memory. While regular lists (arrays or slices) use a contiguous memory block to store references to their data, linked lists store references (pointers) as part of … Read more

Top Web Development Programming Languages; A Comparison

Top Web Development Programming Languages; A Comparison

The software development industry is growing at a break-neck pace. Currently, there are close to 19 million software developers in the world, and this number is expected to double by 2030. If you are someone looking to break into the industry, the first step is to learn and understand the different programming languages and the … Read more

Top 4 Coding Languages To Learn For Beginners (2020)

Top 4 Coding Languages For Beginners 2020

Coding languages, tools, and frameworks are in a constant state of flux, improvement, deprecation, and popularity swings. Let’s take a look at the top 4 languages for new programmers to learn in 2020. If you’re here for 2021 info, check out our new post, The 8 Most Popular Coding Languages of 2021. As it happens, … Read more

Running Python in the Browser with Web Assembly

Running Python in the Browser with WASM and Web Workers

We’ve been wanting to expand Qvault’s curriculum, and one of the most requested programming languages has been Python. Because our courses allow students to write and execute code right in the web browser, we decided to look into existing projects that allow a Python interpreter to run in the browser using Web Assembly. We settled … Read more

Using Concurrent Subscribers With RabbitMQ in Python (pika)

rabbit and python

It’s a fairly common scenario to subscribe to a Rabbit queue and process messages before acknowledging receipt. The pika package for dealing with RabbitMQ in Python however is only single-threaded out of the box. If we want to make a network or database call before each acknowledgment our subscribers can get really slow. Waiting on … Read more

AES-256 Cipher – Python Cryptography Examples

photo 1507680225127 6450260913c0

Need to encrypt some text with a password or private key in Python? AES-256 is a solid symmetric cipher that is commonly used to encrypt data for oneself. In other words, the same person who is encrypting the data is typically decrypting it as well (think password manager). Dependencies For this tutorial, we will be … Read more

Hashing Passwords – Python Cryptography Examples

python

Building a from-scratch server or using a lightweight framework is empowering. With that power comes responsibility, specifically the responsibility to securely store user’s passwords. Not understanding the security implications of password storage can lead to devastating breaches and leaks. If you are building an application and need to store user credentials, learn about hash functions. … Read more