Simone Alberto Peirone

Serverless HackerNews Telegram bot with Google Cloud Functions and Firestore

Let’s build a Telegram bot that calls HackerNews API every 60 minutes, grabs the top 10 stories and notifies subscribed users. Everything will run entirely using Google Cloud Functions, Cloud Firestore and Cloud Scheduler. Google Cloud Functions allows writing code that runs in the cloud without worrying about servers, scaling and availability. Cloud functions can be triggered by cloud events like incoming HTTP requests, Google Pub/Sub notifications, Cloud Storage events and many others…...

Iris classification with Perceptron from scratch

A Perceptron is a basic learning algorithm invented in 1959 by Frank Rosenblatt. It is meant to mimic the working logic of a biological neuron. The human brain is basically a collection of many interconnected neurons. Each one receives a set of inputs, applies some sort of computation on them and propagates the result to other neurons. That’s exactly what Perceptron is going to do. Given a sample, the neuron classifies it by assigning a weight to its features....

Continuous deployment of .NET Core with GitLab and Google Cloud (Part 1)

Hi! When it comes to deployment you can proceed the old way, manually handling every aspect of your servers, or you can switch to the container approach. With the container approach your app runs in variable number of containers each one, a replica, running the same image built from your codebase. If your user base suddenly increases it’s enough to run more replicas. Images are built and run by Docker whilst Kubernetes is an orchestrator that simplify the operations of running and maintaining containers....