Archi & Techno

Build your first Instant App!

You are an adept of Android App Links and you find wonderful being able to suggest your users to install your application or to redirect them from your website to your application with specific data relative to his request? Well, forget (almost) everything you know. Since Google I/O last week, Google released to developers what comes as the biggest news in the Android development world: Instant Apps. Instant Apps are applications that can be executed instantly, from anywhere, without having to be installed on your smartphone. You can thus display…

Read more
Archi & Techno

Android Themes & styles, a real architecture

In modern Android development, there is a huge rise of advanced architectures like MVP, MVVM or Clean Architecture, crazy libraries like RxJava or Dagger and even new languages like Kotlin. But on most projects, theme and styles are still written in an oldschool way with no consideration on how to architecture them. But these XML are part of your code base and you should show them the same love you show to your Java Code.

Read more
Consulting Chronicles

From Mobile developer to WEB Front developer (1st part)

OCTO is a great place to work and even greater place to grow. As an Octo consultant I'm used to learning and improving on a regular basis. Sharing knowledge is a central value of OCTO's culture. I have been told to always try to find a better way and to push the boundaries of knowledge. As sharing is a core value, I could help by sharing this new career path I've choosen. After 5 years spent in the iOS development field, I had the strange feeling that I wasn't learning anymore. Not that I…

Read more
Archi & Techno

Asynchronism in mobile

In Android, asynchronous tasks are done to avoid long operations in the main thread. Android documentation gives a good advice to the community to avoid ANR (Android Not Responding): Therefore, any method that runs in the UI thread should do as little work as possible on that thread. In particular, activities should do as little as possible to set up in key life-cycle methods such as onCreate()and onResume(). Potentially long running operations such as network or database operations, or computationally expensive calculations such as resizing bitmaps should be done in…

Read more
Archi & Techno

Serverless sweetness: enforcing strict EC2 instance tagging policies with Lambda

Hey everybody, TL;DR I coded something in order to enforce strict tagging policies on AWS EC2 instances using Python and a bunch of AWS services (Lambda, Cloudtrail, SNS, and S3). If you keep reading, I’m going to talk to you about AWS Lambda and Serverless computing, or FaaS (Function as a service). You can check the source code and permission related template files here: https://github.com/sebiwi/broom If you want to use it, create a Cloudtrail trail, activate it on every region, create an S3 bucket to store the Cloudtrail logs, create…

Read more
Culture

Polar Expeditions and Agility: The 1911 Race to the South Pole and Modern Tales

div.it-text{color:black; margin-left: 30%; width: 70%; background-color: #ddd; border: darkgray solid 1px; padding:0.3em; margin-bottom:1.5em} div.it-text p:last-of-type{margin-bottom:0px;} div.images{ margin-left:10%;width:80%;text-align:center} div.images img{ vertical-align:bottom;} div.images.images-by-1 img{width:100%;} div.images.images-by-2 img{width:50%; padding:2px;} div.images.images-by-3 img{width:33%;padding:2px;} div.images p{line-height:0;margin:0;} div.images p.legend{text-align:left;line-height:normal;margin-bottom:1em;font-style:italic;} div.quote{margin-left:30%;width:70%;text-align:right;} div.quote p.text{color:gray;margin-bottom:0em;} div.quote p.author{margin-top:0.3em;} A polar expedition and an IT project have much in common. They both share a goal, a team, and constraints. They share risk management issues, as failure is always a possibility even if the stakes are different. They also share a special relation with tooling and the influence of leadership style. But they mainly…

Read more
Archi & Techno

How does it work? Kubernetes: Episode 5 – Master and Worker, at last!

Hey everybody, TL;DR I hacked something together in order to create a Kubernetes cluster on CoreOS (or Container Linux) using Vagrant and Ansible. If you keep reading, I'm going to talk to you about Kubernetes, etcd, CoreOS, flannel, Calico, Infrastructure as Code and Ansible testing strategies. It's gonna be super fun. 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 installation and configuration of the Kubernetes Master and Worker nodes.

Read more
Archi & Techno

Visualizing massive data streams: a public transport use case

Public transport companies release more data every day and some of them are even opening their information system up to real time streaming (Swiss transport, TPG in Geneva, RATP in Paris are a couple of local ones). Vast lands are unveiled for technical experimentations! Beside real time data, these companies also publish their full schedules. In Switzerland, it describes trains, buses, tramways, boats and even gondolas. In this post, we propose to walk through an application built to visualize, in fast motion, one day of activity, as shown in this movie.…

Read more
Archi & Techno

How does it work? Kubernetes: Episode 4 – How to Ansible your CoreOS, and etc(d)!

Hey everybody, TL;DR I hacked something together in order to create a Kubernetes cluster on CoreOS (or Container Linux) using Vagrant and Ansible. If you keep reading, I'm going to talk to you about Kubernetes, etcd, CoreOS, flannel, Calico, Infrastructure as Code and Ansible testing strategies. It's gonna be super fun. 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 usage of Ansible on CoreOS, and etcd.

Read more