API

How To Build a Slackbot in Python on Ubuntu 20.04 — step-by-step Linux tutorial on Progressive Robot

How To Build a Slackbot in Python on Ubuntu 20.04

In this tutorial you will build a Slackbot in the Python programming language. As a fun proof-of-concept that will demonstrate the power of Python and its Slack APIs, you will build a `CoinBot`–a Slackbot that monitors a channel and, when triggered, will flip a coin and give you the results. You can then modify your `CoinBot` to fulfill any number of _slightly_ more practical applications.

Read more
How To Use the cloud provider API v2 with Ansible 2.0 on Ubuntu 16.04 — step-by-step Linux tutorial on Progressive Robot

How To Use the cloud provider API v2 with Ansible 2.0 on Ubuntu 16.04

Ansible 2.0 has recently been released, and with it comes support for version 2 of the cloud provider API. This means that you can use Ansible to not only provision your web applications, but also to provision and manage your Droplets automatically. This tutorial will show by example how to use Ansible’s support of the cloud provider API v2.

Read more
How To Build a GraphQL API With Golang to Upload Files to object storage — step-by-step Programming tutorial on Progressive Robot

How To Build a GraphQL API With Golang to Upload Files to object storage

Uploading files with GraphQL can be a challenge, since there is no built-in support for file uploads. In this tutorial, you will learn to upload images to a third-party storage service directly from your backend application. You will build a GraphQL API that uses an S3-compatible AWS GO SDK from a Go backend application to upload images to object storage. The Go back-end application will expose a GraphQL API and store user data in a PotsgreSQL database.

Read more
How To Handle CPU-Bound Tasks with Web Workers — step-by-step Javascript tutorial on Progressive Robot

How To Handle CPU-Bound Tasks with Web Workers

In this tutorial, you will create a CPU-bound task that blocks the main thread in the browser and observe how it affects the web app. You will then unsuccessfully attempt to make a CPU-bound task non-blocking using promises. Finally, you will create a Web Worker to offload a CPU-bound task to another thread to prevent it from blocking the main thread.

Read more
CHAT