Improve your WordPress coding practices

Image thanks to pixabay

Are you a WordPress developer or are you thinking of becoming one? Have you heard that WordPress is not amenable to modern development and is that bothering you or even stopping you from using such an amazing tool? Well, it turns out that indeed, WordPress by itself has some design choices that go against programming best practices, but being all open source, it’s always possible to adapt it with some work.

The fellows at Roots have been giving this problem a serious thought and came up with several solutions. Chief among them is Bedrock, a…


Getting Started

An intro for absolute Spark beginners

Image by Free-Photos from Pixabay

Is this tutorial for you?

This tutorial is meant for data people with some Python experience that are absolute Spark beginners. It will help you installing Pyspark and launching your first script. You’ll learn about Resilient Distributed Datasets (RDDs) and dataframes, the main data structures in Pyspark. We discuss some foundational concepts cause I think they will spare you confusion and debugging later. You’ll learn to do data transformations and read from files or databases.

Why Spark

The main reason to learn Spark is that you will write code that could run in large clusters and process big data. This tutorial only talks about Pyspark, the Python…


A design pattern for clean, fast, extensible and simple data processing

Image thanks to Rodion Kutsaev https://unsplash.com/photos/xNdPWGJ6UCQ

In this article I’ll talk about how to process a collection of items in Python through several steps with relative efficiency and flexibility while keeping your code clean. We’ll do it by creating iterators that feed other iterators and so on, hence creating an iterator chain.

If you’ve read the Gang of Four book or similar material you’ve probably found the Iterator design pattern. An iterator is just an object with methods that allow the client code using it to traverse a collection of items. The beauty of iterators is that they encapsulate (hide) the nature of the collection. The…

Armando Rivero

“Learning is the new knowing” Physicist by training, but he really loves programming.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store