NGrams and Edge NGrams – space complexity

In my previous post NGrams and Edge NGrams – computational complexity, I explored the runtime implications of working both with NGrams and Edge NGrams. This is a follow-up post that will build on the previous one so if you are not familiar with these terms, I would suggest checking it first. In this post, I would like to take a look at the space requirements of NGrams and Edge NGrams and how to estimate the size required to store the data intended for your indices.

Continue reading “NGrams and Edge NGrams – space complexity”

NGrams and Edge NGrams – computational complexity

In my current project, we do a bunch of work revolving around Elasticsearch and enabling our customers to quickly access the relevant portions of our large data set. A couple of weeks ago I was asked to come up with a method to compare the costs of working with NGrams and Edge NGrams. I tried to make my life easier and look around the Internet for somebody else’s breakdown but I didn’t find anything I would like. So I decided to bite the bullet and do the work myself. In this post and the follow up one, I would like to present my way of reasoning about NGrams and Edge NGrams.

Continue reading “NGrams and Edge NGrams – computational complexity”

AWS Certified Solutions Architect – Associate

After a solid break from both the blogging and certifications, I decided to get back into the game and attempted the AWS Certified Solutions Architect – Associate certification. It was sort of inevitable for a person in my situation. The products I am helping to create and manage run in AWS, and given the company’s commitment to embrace the cloud it only made sense to become familiar with the fundamentals of this platform. Amazon describes Amazon Web Services (AWS) as a secure cloud services platform, offering compute power, database storage, content delivery and other functionality to help businesses scale and grow. Corporate PR aside, AWS is really cool piece of technology allowing you to do pretty much anything. Having day-to-day practical experience with this platform and desire to learn more led me to explore more and more till I took and passed the exam. Here are some notes I would like to share regarding this experience. Continue reading “AWS Certified Solutions Architect – Associate”

Formatting and coloring the cURL output

When it comes to documenting the APIs (especially the REST ones), having the cURL samples that one can try out and play around with has become the defacto standard these days. However if you actually want to read through the response body, look up certain piece of information or just simply check the integrity of the response itself, you will run into a big inconvenience that comes with cURL – the format of the response body. Don’t get me wrong, I love cURL as much as the next guy, but the things can be improved upon. And that is the aim of this article.

Continue reading “Formatting and coloring the cURL output”