Category: Coding
-
Microservices Development with Scala, Spray, MongoDB, Docker and Ansible
Originally posted on Technology Conversations:
This article tries to provide one possible approach to building microservices. We’ll use Scala as programming language. API will be RESTful JSON provided by Spray and Akka. MongoDB will be used as database. Once everything is done we’ll pack it all into a Docker container. Vagrant with Ansible will take… -
Andrew Ng on Innovation and Learning
Andrew Ng is probably one of the scientist and entrepreneurs in Silicon Valley I admire most; apart from being a Machine Learning genius, he also fully embraces the values of freely sharing knowledge, and he has actually done something about it (Coursera) that has become wildly successful. This is a very good article, which I […]
-
Build and Install Google Test on Mac OSX
How to build and install Google Test on Mac OSX
-
Data-driven tests for Spring Data (MongoDB)
When testing a project that uses Spring Data repositories, we may want to insert ‘known-good’ data into arbitrary MongoDB collections, reading it, for example, from JSON iles (typically somewhere in the test/resources subtree). However, some of the data stored in Mongo is in BSON format, which extends the plain JSON format with some Object types […]
-
Using ScalaTest with Play 2 Framework (Scala)
The default testing framework in Play 2 is specs2, however I prefer to use ScalaTest as I quite like it and I’m more familiar with it. Setting up the sbt project and configuration to make it work, though, turned out to be unnecessarily tricky and cumbersome. Here is eventually what I did to make it […]
-
AWS re:Invent Notes (1 of 3): SDK for Java
The following are my (only minimally edited) notes from the AWS re:Invent session (I highly recommend watching the recordings of the keynote sessions) There are two usage levels in the SDK: Low level access to AWS system APIs; and Higher level facilities, that make it easier to access the underlying services. Most notably, the SDK […]