Harnessing disorder for photonic device applications | Synapse