Function definition in Python

In computer programming, a function is a named section of a code that performs a specific task. This typically involves taking some input, manipulating the input and returning an output. In this post, we will go over how to define python functions, how to specify functions that can take an arbitrary number of positional arguments and how to specify functions that can take an arbitrary number of keyword arguments.

Read More

How LZ78 Compression Algorithm Works

In this post, we are going to explore LZ78, a lossless data-compression algorithm created by Lempel and Ziv in 1978. As an example, the GIF format is based on LZ78. LZ78 takes advantage of a dictionary-based data structure to compress our data. In this case, it makes use of a trie data structure, as it’s more efficient for this compression technique.

Read More

Nude Models - Part I : Setters

Using objects as data structures is an established practice that generates many problems associated with the maintainability and evolution of software and misuses brilliant concepts that were stated five decades ago. In this first part we will reflect on the writing access of these objects.

Read More