ASCII charts for clear communication

Plain-text diagrams survive everywhere: terminals, commit messages, code comments, chat, and incident reports. A tour of ASCII chart styles and when to reach for each one. »

Highly available loadbalancers

Building high availability into the core of an architecture rather than bolting it on: redundant load balancers on CentOS 7 with pcs/pacemaker/corosync and failover virtual IPs. »

Securing an SSO

At first glance the application seemed like reasonably well architected software. It was straightforward and integrated well with the existing systems, there were multiple independent systems and to integrate them with the SSO was just a matter of verifying the token, the other details needed was handeled by the SSO. The user authentication process were fairly straigthforward:

»

Recursive fibonacci with memoization

Recursive functions can be used for when you have one big problem and want to split it up into many smaller problems or "divide and conquer" as it is commonly refered to.

The fibonacci sequence is a popular example to use in recursive functions since the function calls mirrors the actual formula. Below we have implemented a simple recursive function in golang.

»