Blog

Blog Post Image
6 Key factors determining a Fat vs Bloated Model

There is a common misconception among Software Engineers to have a lot of code inside a model and that it is perfectly fine backed by the theory of having “Fat” Models and Skinny Controllers. Is it correct? Absolutely. However, when you inspect the code in detail, what they’ve written or designed are not “fat”, but “bloated” models.

Read More
Blog Post Image
Sanitizing Complex SQL Queries in Rails like a Pro

We as Rails developers would have come across the need to execute a query and get results as an array of hashes.

Read More
Blog Post Image
Ruby: Getting clean content from HTML Page

Often when you scrap a page and all you need is the visible content, extracting it may not be as straightforward as one would think. Mainly because the source HTML will consist of CSS, Javascript which may not be entirely relevant to the final content of the page.

Read More
Blog Post Image
Upgrading SSL Certificates on Kubernetes

A request that we often get as part of integrating Kubernetes is to provide an easy solution for upgrading SSL certificates.

Read More
Blog Post Image
Effective Interview Process

The chances that your business/startup will be successful are remarkably higher when you have the best employees. This is why the recruitment process, particularly interviews need to be handled perfectly. The goal is to attract and employ the best candidates for the job positions available and in case of a startup candidate should be the best and at the same time cost-effective. The following tips may help you improve your interview processes to achieve your business goals.

Read More
Blog Post Image
7 key factors in designing “Highly Tolerant Architectures”

One of the most interesting, yet most challenging thing in software development is trying to structure that could not be structured easily. Human minds are not able to take too many information in few seconds and derive meaning out of it. There is abundant data available for free to all of us. If you have the right knack of able to decode such information, it can be converted to Gold.

Read More
Blog Post Image
Vue.js Emit props & Sync modifier

Most Vue.js newbies might have encountered this one particular warning at-least once in your console.

Read More
Blog Post Image
Notes: Rails console history

Sometimes you would want to see what are the scripts that you ran in the IRB or rails console. For debugging reasons of course.

Read More
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