Blog

Tile a board with randomly colored trominoes in C#

The post Tile a board with colored trominoes in C#explains how to color a tromino filing so no two adjacent trominoes share the same color. That example basically tried every possible color for each of the trominoes until it found one that worked. Unfortunately, that approach makes the algorithm prefer colors near the beginning of…

Read More

How to visualise the Global Exporting Network using NetworkX and D3

Data-Driven Documents (D3) is a JavaScript library for building powerful graphics to communicate information in datasets. It is also fair to say that for many, myself included, it has a non-standard approach to building the graphics. Often the learning curve can feel steep. In this post we’ll look at using NetworkX — a Python library for exploring…

Read More

Want to learn Angular? Here’s our free 33-part course by Dan Wahlin!

According to the Stack Overflow developer survey 2018, Angular is one of the most popular frameworks/libraries among professional developers. So learning it increases your chances of getting a job as a web developer significantly. That’s why we’ve teamed up with one of the most renowned experts on the framework, and created a free Angular course…

Read More

How to write a killer Software Engineering résumé

An in-depth analysis of the résumé that got me interviews at Google, Facebook, Amazon, Microsoft, Apple, and more. This résumé got me interviews at Google, Facebook, Amazon, Microsoft, and Apple. 2017 Senior Year Résumé I obtained these interviews by sending my résumé to the résumé black hole, also known as applying online. Applying online is the most…

Read More

Hacktoberfest 2018: How you can get your free shirt — even if you’re new to coding

The design for 2018’s Hacktoberfest shirt Every October, Digital Ocean and GitHub ship out free Hacktoberfest shirts to thousands of people around the world. I’ve gotten Hacktoberfest shirts the past two years, and I wear them with pride. In this quick article, I’ll show you how you can get a Hacktoberfest shirt — even if you’re new…

Read More

Fibonacci’s Strange Loop: the beauty of mathematical inception

Photo by Diana Deaver on Unsplash It’s hard to take an algorithms 101 class without encountering the Fibonacci sequence. The sequence is deeply connected to the golden ratio, which appears over and over again in nature, architecture, art, and the occasional Dan Brown novel. From conch shells to sacred geometry, the Golden Ratio appears to be…

Read More

How to combine Webpack 4 and Babel 7 to create a fantastic React app

I previously wrote an article called “How to conquer Webpack 4 and build a sweet React app.” Soon after I wrote the article, babel swooped in with a major breaking change and many of the packages got deprecated. So I decided to write a new tutorial. I will focus on setting up webpack with react…

Read More

How to Dockerise a Scala and Akka HTTP Application — the easy way

Using Docker is a given nowadays. In this tutorial we will how to learn to dockerise our Scala and Akka HTTP applications without even creating a Dockerfile ourselves. For the purposes of this tutorial, we assume Docker is already installed on the machine. If it isn’t, please follow the official documentation. To automate the creation…

Read More

How to post-process user images programmatically with Rails & Amazon S3 (including testing)

The problem In our platforms, we allow our users to upload their own images for profile pictures. This results, as you might imagine, in a wide variety of image sizing, quality and formats. We display these images in various ways throughout our platforms. For the most part, we can avoid sizing problems by manually setting…

Read More