def get_real_data(self):
        """Grab actual data from the system."""
        ret = []
        with contextlib.suppress(OSError):
            if username := getpass.getuser():
                ret.append(username)

        if words := os.getenv("EDITOR", "").split():
            editor = words[0].split("/")[-1]
            ret.append(editor)

        # OS, hostname and... architecture (because lel)
        uname = (platform.system(), platform.node(), platform.machine())
        ret.extend(x for x in uname if x)
        with contextlib.suppress(OSError):
            if (
                hasattr(platform, "freedesktop_os_release")  # new in Python 3.10
                and (os_release := platform.freedesktop_os_release())
                and (os_id := os_release.get("ID"))
            ):
                ret.append(os_id)

        # Grab actual files from $HOME.
        filenames = [x.name for x in Path.home().iterdir()]
        if filenames:
            ret.append(random.choice(filenames))

        # Grab some processes
        ret += self.get_processes()[:2]

        # Prepare the returned data. First, lowercase it.
        self.words.extend(map(str.lower, ret))
Grab actual data from the system.
src/doge/core.py