The observational foundations of physics