Skip to content

Instantly share code, notes, and snippets.

View micimize's full-sized avatar

Michael Joseph Rosenthal micimize

  • San Francisco, CA
View GitHub Profile
@micimize
micimize / main.py
Created September 9, 2022 15:44 — forked from mypy-play/main.py
Demonstration of mutability and covariance inference
from typing import List, Sequence, Dict, Mapping
from typing_extensions import reveal_type
class Animal:
pass
class Dog(Animal):
pass
@micimize
micimize / amqdn-crl.ipynb
Created July 3, 2020 16:51 — forked from amqdn/amqdn-crl.ipynb
Implementing Class Rectification Loss in fast.ai
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@micimize
micimize / time_travel_trigger.sql
Last active October 3, 2019 22:37 — forked from myitcv/time_travel_trigger.sql
Trigger-based equivalent of old PostgreSQL time travel module - see http://blog.myitcv.org.uk/2014/02/25/row-level-version-control-with-postgresql.html for more details
/*
original contained the following, has since been modified
Copyright (c) 2015 Paul Jolly <[email protected])
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell