new post on tricks for writing compact java structures