Skip to content
View ValresMC's full-sized avatar
🙌
En constante évolution
🙌
En constante évolution

Block or report ValresMC

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
ValresMC/README.md
class Goat:
    level = float("inf")


class Developer:
    def code(self):
        raise NotImplementedError


class Valres(Goat, Developer):
    name = "Valres"
    role = "Backend Developer"

    languages = [
        "Java",
        "PHP",
        "TypeScript",
        "JavaScript",
    ]

    technologies = [
        "PowerNukkitX",
        "PocketMine-MP",
        "Discord.js",
        "Docker",
        "Git",
    ]

    interests = [
        "Minecraft Bedrock",
        "Music",
        "Cook"
    ]

    currently_working_on = {
        "PowerNukkitX": "Making Bedrock behave",
        "High Skyblock": "Definitely not adding another system",
    }

    def __init__(self):
        self.coffee = float("inf")
        self.bugs_fixed = 0
        self.bugs_created = 0
        self.stack_overflow_tabs = 0

    def code(self):
        while True:
            try:
                self.write_code()
                self.compile()
                self.test()

                return "Works on my machine ✅"
            except Exception as error:
                self.debug(error)

    def write_code(self):
        self.bugs_created += 1

    def compile(self):
        if self.bugs_created > self.bugs_fixed:
            raise RuntimeError("Something somewhere is null")

    def debug(self, error):
        self.stare_at_code(seconds=30)

        if self.random_fix():
            self.bugs_fixed += 1
        else:
            self.open_documentation()

    def use_ai(self, problem):
        """
        Tool != replacement for knowing what you're doing.
        """
        answer = AI.research(problem)

        self.read(answer)
        self.understand(answer)
        self.verify(answer)

        return self.implement_it_myself(answer)

    def open_documentation(self):
        self.stack_overflow_tabs += 7

    def git_commit(self):
        messages = [
            "fix: fixed stuff",
            "fix: actually fixed stuff",
            "fix: please work",
            "refactor: why did I write this",
            "feat: it works somehow",
        ]

        return random.choice(messages)

    def random_fix(self):
        return random.choice([True, False, False])

    def sleep(self):
        raise NotImplementedError(
            "sleep() is currently not supported on this platform"
        )

    def touch_grass(self):
        return False

    @staticmethod
    def stare_at_code(seconds):
        if seconds >= 30:
            print("oh.")
            print("OH.")
            print("I'm stupid.")

    def __repr__(self):
        return "<Valres status='coding' sanity='optional'>"


if __name__ == "__main__":
    valres = Valres()

    while valres.touch_grass() is False:
        valres.code()

Pinned Loading

  1. Valres-Old-Works/MineSystem Valres-Old-Works/MineSystem Public archive

    Mine system for Pocketmine servers.

    PHP 5 2