scala
Automerge your Scala Steward pull-requests
If you code in Scala, it is likely that you use Scala Steward to keep your dependencies up-to-date. But merging all the pull-requests it generates is tiring. This blog post tries to solve that. …
Using a remote server to build your Scala projects
VS Code has released tooling for remote development via ssh. In Scala the combo of Metals and VS Code for development has become the norm for many people. How easy and convenient may it be to use them while on ssh with a remote server? Let’s discover it. …
Learning Shapeless
Shapeless is a type class and dependent type based generic programming library for Scala. It had its origins in several talks by Miles Sabin, and he has been the main contributor to the project. …
Free Monads and Stockfighter
StockFighter is a game by Patrick McKenzie (Hi Patrick!) and others that makes you compete in a virtual Stock Exchange to accomplish certain objectives. They use it as a recruitment tool (kind of, read their website) but it’s a very entertaining game, even if you are not looking for a new job. …
Free Monads using FreeK
My previous post on Free Monad implemented a few DSL using Free Monads. The same day I published it I discovered FreeK by Pascal Voitot. How does FreeK help you when building a Free Monad? …
On Free Monads
The concept of Free Monad is becoming popular, or at least I’ve seen plenty of mentions about it in the Scala Functional Programming community as of late. Why is it relevant? …
Scala Exchange 2015 Day Two
Scala Exchange 2015 is on! I will be updating this entry with summaries on the talks I attended. Typos a plenty, be warned, but I hope this proves useful to somebody while we wait for the videos to be made available. You can also read my summary of day one. …
Scala Exchange 2015 Day One
Scala Exchange 2015 is on! I will be updating this entry with summaries on the talks I attended. Typos a plenty, be warned, but I hope this proves useful to somebody while we wait for the videos to be made available. You can also read my summary of day two. …
Emacs and Scala in Mac OS X Yosemite
After hearing a lot about the benefits of using Emacs to code in Scala, I’ve decided to give it a go and also to document the steps to work with it, in case anyone else feels crazy enough to try this. …
Scala REPL
One of the things people love about Scala is the REPL. I have to be honest; I never paid too much attention to it as IntelliJ provides a handy Scala Worksheet. But it is time to fix this.. …
Using Docker in Heroku
Heroku has announced beta support for Docker containers running in its platform. As I have some time in my hands, I’ve tried how well it integrates. …
Real-Time Analytics With Storm - Done!
And Real-Time Analytics with Apache Storm it’s over. Kinda. But it has been a fun road to travel. …
Real-Time Analytics With Storm - Lesson 2
I just finished the second lesson of Real-Time Analytics with Apache Storm. At this stage I should be able to understand how Sprouts and Bolts interact, and to parse data from Twitter in real time. …
Machine Learning at Coursera
And more work in the data science world. I’ve joined yet another Coursera class: Machine Learning. Yes, I might be overdoing it. …
Mining Massive Datasets
As part of my efforts to understand more of the data science world, I’ve joined another Coursera class: Mining Massive Datasets. First week done, how was it? …
Real-Time Analytics With Apache Storm at Udacity
Marc Andreessen famously said that Why Software Is Eating the World. There is a lot of truth in this but if we think about it a bit more it feels that, nowadays, the way this is happening is via machine learning and analytics. These are the tools that can move personalization to the next level and, with it, changing the way services interact with customers. …
Twilio and Play Framework
Another year, more technology to test :) Busy as I am in Gumtree, I’ve been able to test some interesting stuff. You know, evaluation of technologies to see if they make sense from a business perspective. Or playing around, it depends on the point of view ;) …
Enums to JSON in Scala
Scala gives the developer the possibility of using Enumerations. If they should be used or if Case Classes are better is a debate I’m not going to start here. They exist and they can be used. …
Scala in 2018
ScalaDays 2013 happened this past June and the presentations are available at Parleys. If you go to the ScalaDays 2013 channel you can see all of them, and many are completely worth your time. …
Using Ansible to deploy Play Framework apps in EC2 instances
TL;DR: Clone Ansible for Play Framework to automate the task of deploying Play 2.x projects from a git repository into an EC2 instance. As many developers I’m not a good sysadmin. That’s why I was happy to see the raise of PaaS like Heroku, which facilitated deploying a webapp without having to spend time in sysadmin tasks which I didn’t know how to do correctly and which took me too much time. …
Using Redis PubSub with Play 2.1.0
Last week I was experimenting a bit with Redis and its Publish-Subscribe module. The idea was to try to implement a chat with it (something I’ll need for my next project) and from all the options I evaluated this seemed the best. Loving Redis so far, whoever called it the swiss-knife of databases was completely right. …
Executing Jasmine Tests in Play 2.0.4
Christmas break is over, and on a whim I started to check AngularJs. If you haven’t tested it yet, do it. I’ve toyed around with Backbone and some other Javascript single page app frameworks, and Angular is by far the one that I liked the most. It has simplicity embedded in its core, and turning tedious tasks (as setting controllers) into something trivial makes it a pleasure to use. Simplicity. Such an important concept, and one which is seldom present in frameworks. …
Iteratees and Play 2
From time to time I like to test some new functionality of Play 2.0. Creating a tiny for-fun project allows me to see that functionality in action, to solve the initial pitfalls related to it and to have a basic sample for later on. …
Learning Scala in Coursera
Scala is growing, a lot. The (relatively) recent investment of $14M in the company ensures that the language will be taken care of and any remaining issues (like some necessary improvements for the IDE) tackled. Scala 2.10 is around the corner and with it all the performance and APi improvements. And Play is healthier than ever. Good times to be a Scala fan. …
Scala: Move Forward
Soon Java 7 will be released. A bit delayed, yes, but it’s here. Even so the question lingers: is it enough? I believe the answer nowadays is NO, but of course this is an open discussion in which each developer will have a different (and valid) opinion as per each one’s background. Let’s give some arguments for the no, then. Let’s talk about Scala. …