Whats the best way to "merge" objects like these
Cleanest way I know:


Add three loop cuts to the blocky object in both directions.
Delete the four middle faces
Snap the vertices to the octagonal object.
go to Object Mode
join the objects
Remove doubles