Episode 3
In Python

This is the third episode in our series on “is it hard to build a blockchain from scratch ?”, please check the first and second episodes to catch up.

To get started we are going to use the figure from the first episode, let’s copy and paste it here.

fig1. Blockchain (by Sinai)

This is our favorite figure, We will be using it quite often to explain the basic concepts of blockchain technology.

In the previous episodes, we built two basic prototypes using Go and Javascript, let’s now build another baby ledger using python, one of the fastest-growing and much-loved…

Episode 2
In Javascript

This article is the continuation of the previous one, make sure you read the first episode that can be found here.

In episode 1, we talked about blockchain concepts and built a baby prototype, in this episode We are going to implement the same concepts using a different programming language called javascript. I know it may be tough to code in Go, hope you are happy now😉.

So to refer to the figure We drew in episode 1, let’s just copy and paste it here, thanks, Larry Tesler.

by Sinai Nday

The same mechanism will be applied using javascript…

Episode 1
In Golang

What is blockchain? is it hard to build one? where to start from? which programming language to use?

Trust me I got these questions quite often when meeting people who are interested in blockchain technology. You may also be part of them, don’t worry I was too.

At some point, it became tiring for me to answer the same questions repeatedly to every single person. Thus, I decided to start a series of articles so I can just share the link. Easy right?😊.

Photo by Daniel von Appen on Unsplash

There are plenty of blockchain resources online, but it’s overwhelming and frustrated to understand them as a newbie to this booming technology. however, this article is a little different.

In this…

Photo by Dominik Lückmann on Unsplash

Cet article n’est pas parfait, il contiendrait des fautes d’ortographe et erreurs dans les codes, priez de me contacter pour la correction.

Que sont les conteneurs ?

Tout comme dans le domaine des transports, les conteneurs informatiques stockent des objets pour les transporter. Ils permettent d’expédier des applications et leurs dépendances sur de multiples systèmes d’exploitation, quels qu’ils soient. Ils garantissent que leur contenu est identique au départ et à l’arrivée, et qu’il est sécurisé, grâce à leur mise en isolation.

À quoi servent-ils ?

Ils servent à minimiser la complexité liée à la configuration et à l’administration applicatives, à accélérer les cycles de développement et de production applicatifs…

Cet article n’est pas parfait, il contiendrait des fautes d’ortographe et erreurs dans les codes, priez de me contacter pour la correction.

De nos jours, il y a beaucoup de buzz autour de node.js dans le domaine des micro-services en raison de sa productivité et de la grande communauté qui le supporte, et en effet node.js est vraiment une plate-forme puissante pour le développement du cloud computing, mais n’oubliez pas que toute sa productivité relais sur différentes couches d’abstraction qui reduissent sa performance. …

panic: gocql: unable to create session: unable to discover protocol version: dial tcp xxx.xxx.xx.xxx:9042: i/o timeout

Photo by Kevin Ku on Unsplash

This is a quick article on how to set up Cassandra for remote access.

After creating your cluster, keyspace, and table, it’s time now to connect to Cassandra DB.
Locally We can connect to Cassandra using the CQLSH interface. what if any third party application wants to access to our database? that’s when RPC comes in.
RPC stands for Remote Procedure Call.

So let’s configure it.

To configure the Cassandra RPC, navigate and open the cassandra.yaml file with any editor:

> sudo nano /etc/cassandra/cassandra.yaml

find this line

# For security reasons, you should not expose this port to the internet…

Photo by Clément H on Unsplash

To better understand this tutorial, please make sure you have some knowledge about go and Cassandra. if not, try to learn some go and cassandra commands before continuing with this article.

Golang or Go is a fast-growing programming language, it was created by Google and has become popular for its simplicity. Today it’s used for fast speed, concurrency, and parallelism. We have amazing projects build in Go such as Docker, Kubernetes, hyberledger fabric, etc... that’s why I chose Golang for this tutorial, and most importantly because I am very comfortable when programming in Go🙂.

What about Cassandra? well, Apache Cassandra

Sinai Nday

Tech nerd. South Korea

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