Improve your WordPress coding practices
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.
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.
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…
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…
“Learning is the new knowing” Physicist by training, but he really loves programming.