Sometimes you would want to see what are the scripts that you ran in the IRB or rails console. For debugging reasons of course.
Sometimes you would want to see what are the scripts that you ran in the IRB or rails console. For debugging reasons of course.
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.
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.
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.
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.
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:
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.
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.
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.
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.
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.
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!