Ruby is a language of careful balance. Its creator, Yukihiro “Matz” Matsumoto, blended parts of his favorite languages (Perl
, Smalltalk
, Eiffel
, Ada
, and Lisp
) to form a new language that balanced functional programming with imperative programming.
How to Connect Arduino With a Raspberry PI over a Serial Port
In this post, You will understand how to collect values from an Arduino with a connected Raspberry PI over a serial port. This can be useful if you want collect sensor values over a period of time and store them on a timeseries database or trigger an alert either from the Raspberry PI (email notification or telegram alert) or from the Arduino (like fire alerting systems). Let’s dive in!
continue reading »How to Setup a HA Cassandra Cluster
Apache Cassandra is a NoSQL database with flexible deployment options that’s highly performant (especially for writes), scalable, fault-tolerant, and proven in production. Alternative NoSQL databases include Amazon DynamoDB, Apache HBase, and MongoDB.
Apache Cassandra for Developers Part 2
In Cassandra for Developers Part 1, I explained how to run cassandra cluster with docker, replication and consistency strategies. Here i will explain CQL statements, data types and multi-row partitions
continue reading »Separate Test Cases in Golang With Build Tags
A build tag or a build constraint as described in the build package documentation, is a line comment that begins // +build
that lists the conditions under which a file should be included in the package.
Kubernetes Services in a Nutshell
Service
is a resource you create to make a single, constant point of entry to a group of pods providing the same service. Each service has an IP address and port that never change while the service exists. Clients can open connections to that IP and port, and those connections are then routed to one of the pods backing that service. This way, clients of a service don’t need to know the location of individual pods providing the service, allowing those pods to be moved around the cluster at any time.
Apache Cassandra for Developers Part 1
Apache Cassandra is a free and open-source, distributed, NoSQL database management system designed to handle large amounts of data across many servers, providing high availability with no single point of failure. Cassandra offers robust support for clusters spanning multiple datacenters, with asynchronous masterless replication allowing low latency operations for all clients.
continue reading »