A complete review from component selection to software configuration for a Chia cryptocurrency farming (mining) system.


Chia is a new cryptocurrency that aims at achieving decentralized consensus with lower energy consumption per transaction than its peers. This is achieved via a proof of space algorithm instead of proof of work.

We will review the results from CPU mining Monero with the XMRIG miner on different AWS EC2 instance types.

Photo by Dominik Vanyi


Cryptocurrency mining can be thought of as the execution of work by an agent that contributes to the confirmation of transactions. Since a large number of ideally decentralized miners are required…

Six months ago, I invested in over 30 different investment platforms across asset classes. Here, I will review the performance of each during this period.

Photo by Maxim Hopman

Disclaimer: This article is not investment, tax, or legal advice, nor is it a solicitation for investment. I may have an affiliate relationship with some…

We will review a simple deployment of a collaborative filter for content recommendation using Python’s Surprise Library.

Image by Juliana Bernal


It is a common requirement in eCommerce, social media and other applications to need to match a subset of the total content with specific users as to maximize conversion, time in-app or other desired metrics.

A possible approach to determine what content to recommend to a given user is to…

A simple approach to creating an AWS Lambda layer for Python’s OpenCV wrapper

Coding desk setup
Photo by Farzad on Unsplash.

Lambda is a serverless offering by AWS that enables running scalable code without needing to configure servers. Each Lambda environment (corresponding to different versions of the compatible languages) comes with a selection of packages pre-installed.

However, what happens when we require a package that is not provided? There are a…

As a society, we laud the work of generalists but our processes simply are not meant to recognize them.

Photo by Mika Baumeister on Unsplash. Featuring the Mona Lisa by Leonardo Da Vinci an engineer, philosopher and artist.

What is a Generalist?

Engineering and our educational systems as a whole are designed towards specialization.

At elementary school everyone learns the basics on which further knowledge will be built. In middle school, the division…

For when .includes is not enough.

Photo by Paul Smith on Unsplash

Basic Rails Associations

Rails’ ActiveRecord associations permits relating one model to another. Take the example below:

class Post < ApplicationRecord
has_many :comments
class Comment < ApplicationRecord
belongs_to :post

A Post has many Comments. This allows us to call Post.first.comments to get all the comments associated…

The same curiosity that drove us to spread across our planet now drives us to reach out towards the stars.

These 6 incredible missions are teaching us more about our neighboring planets and sun while pushing our engineering capabilities to the limit.

1. Chang’e 4 — Lunar Lander and Rover

Panoramic Photo from Lander


The Chang’e 4 lander and rover are part…

A simple setup to programmatically enqueue jobs in a SLURM cluster.

Titan 3 Supercomputer Image from Pixabay


For those that have worked with a super computer cluster before, you know that scheduling batches of jobs where each job may not only have different settings (Ex: Hyper-parameters) but also different code can be a cumbersome task. …

I finally got around to implementing my first Forex trading robot!

Photo by Clemens Van Lay on Unsplash


For years, I have fantasized about building a Forex trading robot that would slowly and consistently increase its account balance. However, I was never really sure where to start. What company to use? How do I access the APIs…

Paulo Carvalho

A curious minded engineer.

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