All posts by Mirko Stocker
New Blog
Please see my new blog on medium: medium.com/cloud-solutions.
Neuer Blog
Meinen neuen Blog zum Thema Cloud Solutions finden Sie auf Medium unter medium.com/cloud-solutions.
Add a Database to your own PaaS
This is the second part of our series on how to be your own PaaS provider using Dokku and RunAbove. The first part covered the basic installation and enabled us to deploy simple Play applications. In this part, we’ll deploy a more interesting application that uses a database.
Run your own PaaS with RunAbove and Dokku
Last time, we looked at how we can run a Play application on Open Shift. Open Shift offers small instances (512MB memory) for free, but if you need more memory, it quickly gets rather expensive. For 1GB, the hour costs you 5 cents (that’s about 36$ per month). That’s too much for my hobby projects, […]
Play 2.3 Applications on OpenShift
This is a quick how-to guide to get your Play 2.3 applications up and running on RedHat’s OpenShift PaaS. OpenShift unfortunately doesn’t support Play out of the box, and there are some pitfalls that can be quite annoying. Why OpenShift? As I said, OpenShift – contrary to many other PaaS providers like CloudBees or Heroku […]
Detecting and Naming Boolean Parameters
After a recent discussion on the Scala-Internals mailing list on the pros and cons of methods that take boolean arguments, the consensus was that they should always be passed as named arguments. The compiler doesn’t enforce this, so it’s up to us IDE and tools developers to provide a solution. The code-analysis branch for the Eclipse Scala […]
Quickfix to Expand Case-Class Bindings in Pattern Matching
When writing Scala code that involves pattern matching I often work with (nested) case classes and sequences of case classes. I usually start with a simple binding like this and then when I need to access members of the matched class convert it to use the extractor: What’s tedious about that step is that one […]
Move Class, Object and Trait Refactoring for Scala
After lots of bug fixing and improvements of existing refactorings in the Scala IDE, I took a few days off between Christmas and New Year to finally implement a completely new refactoring: Move Class. Move Class (see Fowler’s description if you’re unfamiliar with it) moves a top-level Class, Object or Trait definition into a different […]
Tag Cloud Visualization for Source Code
I’ve always been a huge fan of Wordle, so when I saw Fabian Steeg’s announcement of Cloudio – the SWT-based tag cloud visualization for Zest – I knew I wanted to do something with it, so I created Sourcecloud (suggestions for a better name are welcome). Sourcecloud is an Eclipse plug-in that lets you create tag clouds […]
Organizing Imports in Scala
Organize Imports was a very often requested feature for the Scala IDE for Eclipse, so I wrote the first very limited version as part of my thesis. It couldn’t do much more than sorting the imports and collapsing them from multiple import statements to a single one. At the beginning of this year, Daniel Ratiu […]