Blog

Blog Post Image
What Is Vue Js And How to Build The Applications in Vue

Like any technology that gains popularity, Vue.js programming causes controversy across the community. And there are reasons why Vue became the second most loved framework in 2021. Let’s see what those reasons are.

Read More
Blog Post Image
Right way to Stub deeper methods in Python using MagicMock

In an earlier article, I demonstrated how to use patch using MagicMock to stub a method. In that example though, there was one inherent problem. Once you patch that method using the string representation, future patches will become ineffective/not work at all. Let me demonstrate this with an example.

Read More
Blog Post Image
Stubbing deeper methods using MagicMock in Python

Writing tests is essential in any programming language irrespective of the framework in use. In one of the recent projects in Python/Django which is relatively new to me, I had to write a substantial amount of tests. Some of these tests execute code which talks to internet. And in Python ecosystem, MagicMock is there to help us.

Read More
Blog Post Image
Install pg gem on M1

Most of the time, I tend to create API-only Rails application, I use the following command to do it.

Read More
Blog Post Image
Connecting to Salesforce REST from Rails using Restforce

Connecting to Salesforce’s REST endpoint is fairly straightforward from a Ruby on Rails application. However, there are few steps you have to take. Before starting, ensure that you have full administrator privileges

Read More
Blog Post Image
WireGuard — VPN SERVER AND CLIENT CONFIGURATION

WireGuard is a security-focused virtual private network (VPN) known for its simplicity and ease of use. It uses proven cryptography protocols and algorithms to protect data. Originally developed for the Linux kernel, it is now deployable on Windows, macOS, BSD, iOS, and Android.

Read More
Blog Post Image
Design Style Guide

A color palette is a combination of colors used by UI designers when designing an interface. Color palettes form the visual foundation of your brand, help to maintain consistency, and make your user interface aesthetically pleasing and enjoyable to use.

Read More
Blog Post Image
Clickhouse: MergeTree vs SummingMergeTree

When we started using Clickhouse, the concepts of MergeTree and SummingMergeTree was very confusing. Not only should one understand what each mean, it is extremely crucial to know when to use what as using a wrong one for the other would either result in Resolution/Data loss or would incur huge amount of storage space.

Read More
Blog Post Image
Clickhouse and Materialized Views

Materialized Views are not something very new if you are familiar with Database views and have worked with Time series/Analytical database. However, when used in Clickhouse, they are blazing fast. So fast, that not many databases in the similar domain can even come closer to it.

Read More
Blog Post Image
How Google Cloud Platform could milk you if you aren’t careful

GCP is right up there in the top three race to cloud infrastructure only behind Amazon Web Services and Microsoft Azure. It has almost everything you need from classical VM instances, Serverless, Hosted Kubernetes, Docker container registries, ML, Vision - almost everything!

Read More
Blog Post Image
X.509 Auth for IoT devices

We had an interesting requirement to authenticate IoT devices by our cloud service for managing those devices, provisioning them, rotate keys, etc.

Read More
Blog Post Image
Caddyfile for Vue + Rails App in Production

With the development community leaning a lot towards front-end, and framework like Rails mostly moving to mostly serve back-end, it is important to keep this separation clean and straightforward in a Production environment as well.

Read More