Goodbye OnePlus

Before OnePlus came along I had never bought a phone. Ever! I always got my father’s “scraps” and second hand phones. But when I saw the OnePlus One I fugred the right phone had come along and I bought it.

The phone was amazing! The Sandstone black back cover was just gorgeous and super useful (I’m really don’t the current “slippery” phones). Another awesome feature was Cyanogen. Being able to have the latest versions of Android was great. And being a geek like I am flashing and customizing the phot was great.

Then the Oneplus 2 came along. Simple improvements, same sandstone black cover. All was great.

Read More

Our solution to microservices

After researching and reading on Microservices I reached the conclusion that everyone does it differently. There’s still no standard for this. There are some best practices but not enough that we can just implement everything without spending time researching. And like I was saying, after loads of research this is what we came up with.

Our first step was to decide where to start. We chose 3 very simple endpoints of our API to split into a microservice. This service needs to be able to self deploy to our kubernetes cluster into the UAT and production environments.

Setting this up is simple. We make the service work and then create a Deployment and a Service objects in Kubernetes, like:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
app: microservice-1
name: microservice-1
spec:
template:
metadata:
labels:
app: microservice-1
spec:
containers:
- image: attentive/microservice-1
name: microservice-1
ports:
- containerPort: 8001
1
2
3
4
5
6
7
8
9
10
11
12
13
apiVersion: v1
kind: Service
metadata:
labels:
app: microservice-1
name: microservice-1
spec:
externalTrafficPolicy: Cluster
selector:
app: microservice-1
ports:
- name: http
port: 8001

Read More

Flinthook

I started playing Flinthook on the switch a weeks days ago. The game has been sitting on my Steam wishlist for ages but as soon as it landed on the Switch I figured: “It’s time!”.

Flinthook is a roguelite game. When you die you start over but you get to keep some minor items to buy stuff with. I really like this kind of games. Roguelikes that make you loose absolutely everything and the only progression is the satisfaction of “getting better” are not for me. I like to do a run and get to keep something that makes me feel that I’m growing. I’m putting in the hard work and getting something out of it.

Story

You are a space pirate with a ghost mask (called Flinthook) and you have to save your friends from an evil wizard. At least that’s what I’ve gathered from the cutscenes.

The Mermaidon Galaxy has a surprising amount of lore ready for you to unlock by collecting relics or book pages throughout the game.

Read More