Archi & Techno

What’s up with Android? droidcon UK 2017

 October 26th and 27th, we had the occasion to attend droidcon in London. For both of us, it was our first steps in a conference of this scale and on our favorite domain. Our expectations were not the least: within our team, most of the topics of the moment seemed to have been explored back and forth, whether it is about architecture, asynchronism management libraries and methods or even Kotlin advantages. We hoped to discover news things, demystify obscure looking subjects and finally, come back…

Read more
Archi & Techno

Ansible reporting with ARA: Ansible Run Analysis

̛I had a Slack conversation with some friends from work (B, R and G) the other day. It went somewhat like this: B: “Hey, have you guys ever heard of ARA?” This was followed by 5 minutes of the deafening sound of contextualisation and Google searches by everyone on the channel. R: “Nope, but every piece of technology that could enable Ansible to catch up with PuppetDB/Board would be very much appreciated” G: “Reporting is cheating” (This statement makes way more sense in French) Me:…

Read more
Archi & Techno

A Responsive and Clean Android App with Kotlin Actors

One crucial point that each front-end developer must face when developing an application is handling the switch from UI to background threads. Indeed, we can all agree on the fact that your application shouldn’t freeze during long running operations. The Android SDK even strictly prevents us from calling an API from the Main Thread. There are many ways to tackle this issue, for instance with RxJava, with a ThreadPool (check this out) … This article aims at proposing yet another asynchronism solution, using Kotlin actors. We’ll…

Read more
Archi & Techno

How does it work? Docker! Part 5: Get some work(ers) done!

Hey there! TL;DR I hacked another thing together, this time in order to install a highly available Docker Swarm cluster on CoreOS (yeah, Container Linux), using Ansible. The whole subject was way too long for a single article. Therefore, I’ve divided it into 5 parts. This is episode 5, regarding the actual implementation of the local cluster’s Worker nodes, using Vagrant, CoreOS and Ansible. If you want to try it: git clone https://github.com/sebiwi/docker-coreos.git cd docker-coreos make up You will need Ansible 2.2+, Docker, Vagrant and…

Read more
Archi & Techno

Better network layer on iOS with synchronous calls

In most iOS apps, as app developers, we pay a very special attention to the user interface. For example, we try to perfectly implement the graphical design as proposed by the designer. But on the other hand, we pay very little attention to the other parts of the app such as the the data management or the network layer. In this article, I will explain why, during my last project, as we were trying to improve the unit tests of our network calls, we decided…

Read more
Archi & Techno

How does it work? Docker! Part 4: Control your Swarm!

Hey there! TL;DR I hacked another thing together, this time in order to install a highly available Docker Swarm cluster on CoreOS (yeah, Container Linux), using Ansible. The whole subject was way too long for a single article. Therefore, I’ve divided it into 5 parts. This is episode 4, regarding the actual implementation of the local cluster’s Manager nodes, using Vagrant, CoreOS and Ansible. If you want to try it: git clone https://github.com/sebiwi/docker-coreos.git cd docker-coreos make up   You will need Ansible 2.2+, Docker, Vagrant…

Read more
Archi & Techno

How does it work? Docker! Part 3: Load balancing, service discovery and security!

Hey there! TL;DR I hacked another thing together, this time in order to install a highly available Docker Swarm cluster on CoreOS (yeah, Container Linux), using Ansible. The whole subject was way too long for a single article. Therefore, I’ve divided it into 5 parts. This is episode 3, regarding Swarm Service Discovery, Load Balancing and Security. If you want to try it: git clone https://github.com/sebiwi/docker-coreos.git cd docker-coreos make up You will need Ansible 2.2+, Docker, Vagrant and Molecule  

Read more
Archi & Techno

Android library development best practices guide

As Android developers, we are used to having to integrate many libraries in our applications. It can be from quite small .jar files to huge .aar archives which embed multiple screens. Sometimes the integration of these libraries goes smoothly but in some cases, it can be quite painful and lead to the addition of some “hacks” into the app in order to integrate it properly. In some other cases, it can also lead to time-consuming exchanges between the person who integrates the library and the…

Read more
Archi & Techno

End to end testing from the trenches with Protractor

Standing on the top of the test pyramid, web end-to-end tests are aimed to automate user acceptance scenarii through a browser window. In practice, those tests are often either disregarded by the development team or, on the contrary, used as the single line of defense to catch all problems in a web application development. If none of those extremes are a likable target, end-to-end testing certainly has a role to play in a sustainable quality development. However, they drag with them a bad reputation among…

Read more
Archi & Techno

How does it work? Docker! Part 2: Swarm networking

Hey there! TL;DR I hacked another thing together, this time in order to install a highly available Docker Swarm cluster on CoreOS (yeah, Container Linux), using Ansible. The whole subject was way too long for a single article. Therefore, I’ve divided it into 5 parts. This is episode 2, regarding Swarm networking. If you want to try it: git clone https://github.com/sebiwi/docker-coreos.git cd docker-coreos make up You will need Ansible 2.2+, Docker, Vagrant and Molecule

Read more