• ccampo.ninja

    I bought this domain a few months ago for $4.06. Check it out!


  • NBodyJS: An N-Body Simulation Written in Kotlin

    NBodyJS is a simple project I’ve had around for the past few years in various forms. It is a JavaScript n-body simulation. It is currently written in Kotlin. Initially I wrote it in plain JavaScript, then re-wrote in Scala, and finally, re-wrote in Kotlin. Both the Scala and Kotlin versions transpile to readable JavaScript, using ScalaJS for Scala and Kotlin’s built-in JavaScript support. The Kotlin implementation is by far my favorite, and the language itself is a joy to write in. NBodyJS utilizes the HTML5 canvas element for display, and kotlin-js to transpile Kotlin to JavaScript.


  • Using Spring with AWS Lambda

    I love AWS Lambda. Removing the concept of a “server” from your application is huge. I won’t go into all the benefits of Lambda, but I can say from first hand experience, it not only eliminates countless hours of worrying about servers and infrastructure, but also makes backend application development a breeze. Oh, and for most small stuff, it’s pretty much free.


  • Creating Unix Services and RPM/DEB Packages with Spring Boot and Gradle

    I work with Spring Boot daily, and it’s probably one of my favorite frameworks ever. The amount of things it does that just make every-day JVM-dev life easier is absurd. Spring Boot has probably saved me hundreds of hours in headaches.


  • Configuring Multiple JDBC DataSources with Spring Boot

    I spent probably an hour or so yesterday learning how to enable multiple DataSources in a Spring Boot application, and have them be configurable via the application.properties (or .yaml) file. The Spring Boot docs have a simple example and about a paragraph on how to do this, but I found it a bit lacking in details. After bit of experimentation and exercising my Google-fu, I was able to piece together what I needed to get this working.