Code Trips & Tips

Code Trips & Tips

Adventures in developing distributed systems in Go, Java , Python and C++

  • About
  • December 24, 2014

    Spring Boot template project

    Using Spring Boot one can quickly create a simple REST server with sophisticated data access (using Spring Data repositories) as well as a well-defined REST API (using Spring Data Rest). However, getting it going takes a lot of initial effort and there are a few gotchas that need to be taken into account (for example […]

    Advertisement

  • December 21, 2014

    QNAP NAS Checking File System

    Recently, I had the following warning about the file system being “unclean” on my QNAP NAS and, when running the “Check file system” command from the Admin Web interface, this failed stating that the disk could not be unmounted. Further investigation revealed that the culprit was Apache Proxy (apache_pr) that was keeping open files on […]

  • December 4, 2014

    MongoDays SF 2014

    MongoDB 2.8 is about to exit from beta and 3.0 is round the corner (probably early 2015) with a lot of exciting new features. My (raw and unedited) notes from some of the technical session are available here, I will add more as I discover new things.

  • October 23, 2014

    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 […]

  • September 30, 2014

    Code Reviews

    As anyone who has worked with me is well aware, I’m a great believer in code reviews – there is much to be said about a number of positive impacts on the project (and the developers’ professional growth too). This is a great article that sums up very well the benefits, as well as a […]

  • September 29, 2014

    REST-based User Management web service in Scala

    Today I’ve opened access to my sentinel repo which is still at a very early stage development, but I thought was worth sharing with others. I’ve been using Scala on and off for the past couple of years, since I’ve completed the Coursera Scala course (passed with 95% and distinction, obviously!); however, to really learn a language (and […]

  • September 1, 2014

    Hiring Great Developers

    This blog entry was a good write-up of many of the hiring practices I believe in too, and that I summarized in my previous post on people; and how they do make a massive difference in the outcomes of a technology company – no matter how good (or bad) the underlying technology. A couple of points […]

  • June 23, 2014

    Deploying a Flask App to AWS Beanstalk

      Overview Deploying an application to AWS using Beanstalk and setting up autoscaling, monitoring and a number of other super useful features is very simple, and is extremely well-documented on AWS site. However, even when following the Beanstalk and Flask Getting Started guide, there are a few gotchas and areas that are less than clear. In the […]

  • May 20, 2014

    Authenticating via LaunchKey

    I recently came across LaunchKey and decided to try out their authentication API – the `gist` presented here is an example Flask (python) server that demonstrates how to authenticate a user using their APIs and return back an application-specific API KEY that can then subsequently be used to sign (and therefore authenticate) all subsequent requests. […]

  • May 11, 2014

    Email alerts via Mandril API (Python)

    I have a QNAP NAS (TS-212) which runs a variety of jobs for me, most notably all my backups to external USB drive(s) and other assorted tasks: I often find myself `tailing` logs to check they ran without issues – this works, but it’s tedious and error conditions (eg, a malfunctioning disk) may go unnoticed […]

←Previous Page
1 … 7 8 9 10 11 … 17
Next Page→

Website Powered by WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
 

Loading Comments...
 

    • Follow Following
      • Code Trips & Tips
      • Already have a WordPress.com account? Log in now.
      • Code Trips & Tips
      • Edit Site
      • Follow Following
      • Sign up
      • Log in
      • Report this content
      • View site in Reader
      • Manage subscriptions
      • Collapse this bar