Skip to content

Instantly share code, notes, and snippets.

View cafuneandchill's full-sized avatar

cafuneandchill

View GitHub Profile
@cafuneandchill
cafuneandchill / somatoenergetic-dualism.md
Last active November 7, 2022 18:20
Pokemon nature theory

Preface

As it currently stands, there exist many Pokemon[^1]-related phenomena that are unexplainable by basic physics or biology. For example, there are many mysteries surrounding the breeding aspect of Pokemon. Why can forms such as Skitty and Wailord breed and produce offspring, despite the size difference. Why can forms like Gastly breed at all, despite being mostly made of gas?

Other phenomenon that can't be explained with today's science is the Pokemon evolution. Evolution is a rapid process, during which a lot of matter is created de novo, despite having no apparent source from which that matter may appear.

This theory is an attempt to explain most of the Pokemon phenomena. It's work-in-progress, since I'm still figuring out how it would fit into known phenomena.

The hypothesis

@cafuneandchill
cafuneandchill / Pokemon_Solitaire_Challenge.md
Last active October 26, 2022 07:51
Pokemon Solitaire Challenge -- Description

Preface

A strange affliction have struck the region! All Pokemon's biological energy cells may now become unstable after exchanging big amounts of energy. If you notice symptoms of cellular disruption in your Pokemon (general weakness, tremors or uncharacteristic behaviour), please put them in the Pokemon Storage System immediately, where they can be treated by automated care systems.

Additionally, all Trainers are now equipped with SMs, or

@cafuneandchill
cafuneandchill / maybe_monad.py
Last active August 4, 2022 02:34
Maybe Monad in Python 3
#!/usr/bin/env python3
import functools
from typing import TypeVar, Generic, Callable, Optional
T = TypeVar('T')
class Maybe(Generic[T]):
def __init__(self, value: T) -> None:
self.value = value
# Myeloid Lineage Immune Cell Recogniser v1.0
# Python version: Python v3.7.0
# Author: cafuneandchill
class Cell:
def __init__(self, name, markers):
self.name = name
self.markers = markers
neuph = Cell("neutrophile", {"CD13", "CD14"})