Generalized hydrodynamics and shock waves | Synapse