Skip to content
View Fripe070's full-sized avatar
  • School
  • Jupiter
  • 22:48 (UTC +01:00)

Organizations

@Breadcord @Breadcord-Toasts

Block or report Fripe070

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.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

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

Report abuse
Fripe070/README.md
import datetime
import random
import time
from typing import Any, Literal, Callable, override
from universal import Student

class Fripe(Student, stage="Gymnasium"): # Equiv to HS in other countries
    def __init__(
        self, 
        name: Literal["Fripe", "froop"] = "Fripe",
    ) -> None:
        self.name = name
        self.born_at = float("NaN")
        self.interests = [
            "Programming",
            "Procedural art",
            "3D rendering"
            "Vocaloid",
            "Minecraft",
            "Testing in prod",
            "Game development",
        ]
        self.skills = random.choices(
            self.interests, 
            k=len(self.interests) - (len(self.interests) // 3) # TODO: Improve on this
        )
        self.knowledge: list[Any] = []

    @override
    def do_work(
        self,
        work: Callable[..., Any],
        /,
        due_at: datetime.datetime | None = None,
        *work_args: Any,
        **work_kvargs: Any,
    ) -> Any:
        if due_at is None:
            return
        time.sleep(max(
            0, 
            (due_at - datetime.timedelta(hours=1) - datetime.datetime.now()).total_seconds(),
        ))
        return work(*work_args, **work_kvargs)

    def __call__(self, *args) -> None:
        if random.random() < 0.85:
            self.knowledge.append(args)
        return "uh huh"

Popular repositories Loading

  1. FripeBot FripeBot Public archive

    The code for my Discord bot!

    Python 5 3

  2. LowLevelGame2 LowLevelGame2 Public

    C++ 3 1

  3. Crystal Crystal Public archive

    Python 2 1

  4. Stable-Diffusion-WebUI-Colab Stable-Diffusion-WebUI-Colab Public archive

    A colab for AUTOMATIC1111's stable diffusion web UI

    Jupyter Notebook 1

  5. BreadcordTorment BreadcordTorment Public

    Python 1

  6. Godot-Inverse-Kinematics Godot-Inverse-Kinematics Public

    C# 1