Author Archives: Vikas Hazrati

About Vikas Hazrati

Vikas is the CTO @ Knoldus which is a group of software industry veterans who have joined hands to add value to the art of software development. We do niche product and project development on Scala and Java. We consult and coach on effective software development and agile practices. With our focus on software craftsmanship you can be assured of a good quality at the right price. To know more, send a mail to info@knoldus.com or visit www.knoldus.com

Idiomatic Error Handling in Scala


Error handling in Scala can just be written like Java. Put in a little bit of pattern matching magic and you are done. However, given a little use of Scala built-in terrific beauties it can be made much better. Let … Continue reading

Posted in Scala | Tagged , | 4 Comments

Running with Implicits – Extending Functionality


We had an interesting case of enhancing the functionality of a logging library with our own case to feed data into DataDog. That brought us back to the quick discussion on implicits in Scala. Implicits in a quick sense is … Continue reading

Posted in Scala | Tagged , , | Leave a comment

Spray with Akka Starter Kit


Over the last few months, Spray is fast becoming the de-facto for all the products that we are working on. Irrespective of whether it is a product which has a full featured UI or a gaming component which needs to … Continue reading

Posted in Architecture, Scala | Tagged , , , , | Leave a comment

QuickTip: Integrating Amazon S3 in your Scala Product


This post is supposed to be a quick cheat sheet of integrating your Scala product with Amazon S3. The pre-requisites are that you have a valid S3 account and have the keys to access the account. We have put our … Continue reading

Posted in Amazon EC2, Scala | Leave a comment

Working with Multiple ssh Keys and Multiple Git Repositories


With multiple, git hosting repositories available and lots of coding being done, you end in situations like the subject of this email. Say, for example you have 2 accounts on BitBucket, you would not be allowed to use the same … Continue reading

Posted in Agile, Architecture | Leave a comment

Partial Functions and Modularizing Actor Receive blocks


A partial function is defined as It is a unary function which defines a domain. Not all values of A would be a part of the domain. For instance, in the following code block The odd values of A would … Continue reading

Posted in Architecture, Scala | Tagged , , , | Leave a comment

QuickKnol: Lift Json, ShortTypeHints and Scala Traits


We use the awesome Lift Json library in quite a few our projects. It allows for easy customization and is handy for writing and parsing JSON strings. One of the situations which could possibly push you against the wall is … Continue reading

Posted in LiftWeb, Scala | Leave a comment

ScalaTraits One Day Kickstart Play and Scala Event, ScalaGeek’s meetup


ScalaTraits, a Scala Users Group initiative run by Knoldus and Typesafe in the New Delhi NCR region ran its third meet-up to a huge success in central Delhi. There were 20+ Scala enthusiasts who spent the day writing Scala and … Continue reading

Posted in Scala | Tagged , , , , | Leave a comment

Knoldus Big Data Presentation at National Big Data Conference


Recently, I was at the Big Data conference where I was speaking on the subject of attacking the Big Data riddle with Scala and Akka. The ambience was awesome with big consulting companies rubbing shoulders with niche providers like Knoldus. … Continue reading

Posted in Scala | Tagged , , , , , , | 1 Comment

Building Quality into Scala Development


The argument and debates regarding writing quality code have mostly rested in the favour of writing clean code. Cleanliness fosters quality. Clean code is straightforward, direct, reads like a story and makes it very understandable. As a rule that we … Continue reading

Posted in Scala, Web | Tagged , , , , , , , , | 2 Comments