Blog

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
Blog Post Image
Improve the performance of your object detection model

We have seen how to build a custom object detector using Faster RCNN with PyTorch. That model performed pretty decently with the IOU of 71%, this can further be improved with little tweaks in training and inference.

Read More
Blog Post Image
Semi-Supervised Learning with Pseudo labeling

With so much advancement in technology and computing power, we are at ease in dealing with many of the supervised learning problems. This learning method requires tons of labeled data and we train our model on this data over and over to learn the pattern. This is effective and extremely performant. But we won’t be having the luxury of labeled data always. In many real-time cases, we will always have unlabeled data and need lots of time and effort to label this manually.

Read More
Blog Post Image
Custom Object Detection with YOLO v5

If you are familiar with object detection then it’s quite certain that you know a bit about YOLO. It’s an efficient and faster object detection algorithm and the first choice for real-time object detection tasks.

Read More
Blog Post Image
Object Detection with Faster RCNN

Object Detection is always a hot topic in computer vision and is applied in many areas such as security, surveillance, autonomous vehicle systems, and machine inspection. Widely used object detector algorithms are either region-based detection algorithms (Faster R-CNN, R-FCN, FPN) or single-shot detection algorithms(SSD and YOLO).

Read More
Blog Post Image
Regex for Natural Language Processing (NLP)

In one of the projects I worked on, I had written close to thousands (sic) of Regex as they help in having a strong foundation in Natural Language Processing besides the existing libraries available.

Read More
Blog Post Image
The subtle Art of Refactoring - Improving Quality of the code

Refactoring is nothing but restructuring the existing code such that the existing behavior that is accessed through the outside world, remain the same. It’s often referred to as “under the hood” changes.

Read More
Blog Post Image
A Capistrano style super light-weight deployment script for Vue

One of the sexy features of capistrano if you had used it with Rails is how super simple it is deploy a Rails project. The DSL (Domain Specific Language) it uses is very straightforward for even a beginner to understand. However, with time, Rails at least in our experience has moved mostly to serve the backend alone with the Front end being taken over by the likes of Vue, React etc.,

Read More
Blog Post Image
Vue JS Cache not getting cleared in Production on Deploy

In a short while, I might be describing what this article is going to be about. But before that, let me tell what this article is “not” about. This is not about service workers or PWA and the caching headaches that come along with it. The problem that we faced is with more of a vanilla Vue JS front end, not able to refresh itself whenever a new deployment happens. Let me try to explain it in a more lucid way.

Read More
Blog Post Image
Getting started with Dokku

If you haven’t heard about Dokku, then this would be a quick intro to it.

Read More
Blog Post Image
Selenium - Execute POST request asynchronously

One might feel limited in Selenium being unable to verify certain things that interacts through XHR Ajax Requests especially when they are http POST calls. This could be applicable when you are trying to crawl a particular website and you are not able to get a certain datapoint because it is hiding behind a XHR Post in the page.

Read More
Blog Post Image
Postgres Common Table Expressions

Common Table Expressions (CTE), also known as the WITH clause, is an awesome feature that helps in breaking down big queries into smaller queries which makes the whole query more readable and easier to maintain.

Read More