Practice programming with code katas
Kata is an exercise where the novice repeatedly tries to emulate a master. In karate, these kata are a sequence of basic moves, strung together in a way that makes sense. PragDave proposes the idea of doing the same with programming.
ERR_EMPTY_RESPONSE and SSH not working
Chrome is returning ERR_EMPTY_RESPONSE, Git and SSH connection hangs at expecting SSH2_MSG_KEX_ECDH_REPLY. Seems to be an MTU/fragmentation problem.
Java, Unicode, and the Mysterious Compiler Error
This post covers how the Java compiler handles Unicode escapes and how they can cause mysterious compiler errors.
Java 8 Puzzlers: Streams
In the spirit of the book Java Puzzlers by Joshua Bloch and Neal Gafter, this post discusses a Puzzler that can be found in Java 8 Streams.
How to control an RC car over WiFi with ESP8266
ESP8266 is a low-cost WiFi chip with a full TCP/IP stack and a microcontroller capability. Here is how I used it to control an RC car.
Design patterns: Specialization of the classic observer pattern
In the typical case, the observer is responsible of getting the updated state from the subject. This means that the observer has to hold a reference to the subject (also the subject holds a reference to the observer, meaning we have created a circular reference).
Design patterns: Observer pattern implementation in Java
Observer pattern is a design pattern with an intent to define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.
Ansible force remote user with Vagrant 1.8
My Ansible playbook stopped working when using Vagrant 1.8 or above. The problem seems to be with changes made in Vagrant.
Ansible skipping localhost when using Vagrant
Vagrant Ansible provisioner skips plays that are meant to be run on localhost. There’s a simple workaround for that.