Skip to content
View Fripe070's full-sized avatar

Highlights

  • Pro

Organizations

@itsektionen @Breadcord @Breadcord-Toasts @initit

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.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. 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="University", org="KTH"):
    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)

Pinned Loading

  1. ShaderCoy ShaderCoy Public

    A worse version of Shadertoy

    Svelte 1

  2. LowLevelGame2 LowLevelGame2 Public

    C++ 4 1

  3. assimpts assimpts Public

    C++ 3

  4. FripeBox FripeBox Public

    TypeScript 1

  5. itsektionen/shIT itsektionen/shIT Public

    The sequel to crAp

    Svelte