Blog

Blog Post Image
The lifecycle of rubies regular expression global variable $1, $2, …

I was trying to replace the string “$200 billion” with the decimal “$200.0 billion”. I used gsub string replace function in ruby which will replace the matched character from the given string. In my case, I have been trying to use the matched string to replace the existing one.

Read More
Blog Post Image
Sidekiq + Postgres Advisory Lock = Sanity Amidst Chaos

Recently I had to work on a story to improve the performance of a workflow that runs for a day in Sidekiq (background processing engine). The workflow of the functionality involved executing a series of interconnected complex steps across numerous machines. As one would expect, this is for crunching numbers to generate desired reports.

Read More
Blog Post Image
Why I write 4–5x more tests than I write code?

Earlier, I had mentioned some of the common excuses people give to not write tests. If you are not writing enough tests (in some crazy cases no tests, even crazier not knowing what tests are), good luck with the software you develop! Because it is a ticking time bomb waiting to explode. Jumping straight to the point.

Read More
Blog Post Image
Moving away/Migrating from jQuery to Vue in Legacy Applications

Javascript frameworks have skyrocketed in the recent times especially the big 3 -- Vue, React and Angular have made the front end development way too painless. Amidst this rapid adoption by the larger developer community, jQuery seems to be done away with. Some of the most popular frameworks had jQuery as their core dependency, but even they are moving out of it.

Read More
Blog Post Image
Information Extraction from ID Cards — Using YOLOv2

We were working on a project to extract information, such as Name, ID number and Date of Birth (DOB) from scanned images of Identity Cards such as Passport or National Identity card issued by any country. To do this, we broke down the problem into sub-problems as below:

Read More
Blog Post Image
Getting Hired for Start Ups

It’s no more the usual trend. Skills, Skills and Skills that what matters. Skill when meets the perfect job is the perfect combo for success. But how do you let others know your skills? It’s tough to get into the right place where skills help both the individual and the company grow. Many times brilliant, creative people either count themselves out or don’t even try to upgrade their skills. Here are a few tips from my little gained knowledge in the recruitment front.

Read More
Blog Post Image
Customer segmentation using DataFlow and TensorFlow

User segmentation based on user behaviour is a key in retail domain, It allows the companies to do better promotion of products and improve sales. One of our customer wanted to do user segmentation based on their purchase history over last one year, based on the outcome they wanted to release promotional offers suiting each segment.

Read More
Blog Post Image
10 tips during office relocation for a Startup

Most of the start ups begin at a small place, usually it would be founders home / garage or a shared workspace. As it expands both in business and people, an obvious side effect is the temporary setup will no longer fit. It needs more space, they need move out to a new location may be rented house (if you are lean) or a full fledged corporate office (depending on the budget). If you are planning an office move or other business relocation, the following tips can help make the move come in on time and on budget.

Read More
Blog Post Image
Finding interesting keywords: TF/IDF from Corpora using Ruby

Having unlimited data is pretty much the norm these days. Turn anywhere or any organisation, the amount of data getting collected is exponentially increasing with no end in sight. There are an avalanche of tools and techniques available to mine them to find interesting pattern. One such way of identifying interesting keywords is to use TF/IDF.

Read More
Blog Post Image
Attention to detail - Retina Images

With the advent of higher resolution devices increasing every day and the need for the end users to getting used to seeing high-res images, anything that is default or standard definition looks inferior if not ugly. As a developer, it is a must to consider this design impact and how to accommodate and give a seamless experience to the end user across various types of devices. I am going to quickly touch base on how to understand what High Dpi devices are how to exploit all those pixels available in a device real estate.

Read More
Blog Post Image
10 excuses/myths developers use to shun Test Driven Development (TDD)

Test Driven Development TDD and Behaviour Driven Development have been around for long time and is one of the most efficient ways to develop software. However, I see a lot in this industry not following it in the spirit it was founded or not follow at all which is pretty disappointing. In even some rare cases, few haven’t even heard about it!

Read More
Blog Post Image
Using a HTTP Proxy Server in Ruby with Nord VPN

There are times where you will need to bypass certain restrictions related to country especially when you are scraping from a cloud machine. During such situations you can use a VPN Service as a HTTP Proxy. There are many free VPNs available, but I highly recommend not to use them because they are “free” which means all your traffic gets relayed through them.

Read More