Clojure & JavaScript Higher-order Functions


It was not easy for me to learn JavaScript. And when it came to learning higher-order functions, I had to take a break — literally get up and take a walk around the block — because I couldn’t seem to understand it. But through my pain, I’ve put together a short guide that hopefully makes it clearer for you.

Higher-order functions are functions that take other functions as arguments or return them as output, as opposed to normal functions that take as arguments and return non-functions. Functions that are passed as an argument to another function are what we refer to as callback functions. In this post we learn about higher-order functions through examples in JavaScript and Clojure, two functional languages with very different syntax.

 Continue reading Clojure & JavaScript Higher-order Functions...

Plotting Real-Time Locations with Mapbox


Real-time Map

In this post we will leverage Mapbox’s real time live data plotting abilities to track the International Space Station (ISS) location on a map in real time. Real-time mapping and geolocation tracking is a core feature for web and mobile applications across many industries. In simpler words, this feature detects and streams location data to a live map, and shows the location update as it changes in the real world.

 Continue reading Plotting Real-Time Locations with Mapbox...

WFP Launches Its Global Data Collection Platform 'MoDa' Powered by Ona!


WFP Home page

WFP MoDA homepage

We are thrilled to announce that last week, the World Food Programme launched a new data collection platform, MoDa, powered by Ona. The platform will be rolled out to over 83 WFP country offices and will be the main platform for data collection for WFP.

 Continue reading WFP Launches Its Global Data Collection Platform 'MoDa' Powered by Ona!...

Ona United F.C.


Ona vs Gro Intelligence Teams

Nairobi football (and technology) powerhouses Ona United F.C. and Gro Intelligence battled it out on the pitch this past Thursday. No one kept score and it was all smiles at the end. Thanks to everyone for participating, and we’re looking forward to the next match!

Terraform 101


Terraform is a product from Hashicorp. It is a tool for building, changing, and versioning infrastructure safely and efficiently. Written in Go, Terraform creates a plan for how it will build your infrastructure and then executes it.

Recently, we held our first master class in Terraform, courtesy of our Director of Engineering and SRE team. It was a beginner-friendly lesson with many exciting things to learn and mostly hands-on. Drawing from the class’s main learnings, this post is a basic guide to starting and destroying instances using Terraform and how we, at Ona, use Terraform for our deployments. Let’s get our hands dirty with code!

 Continue reading Terraform 101...