Skip to content

Instantly share code, notes, and snippets.

@hillac
hillac / gist:cb64d571bc1694bcc8cec546b290a74d
Created May 9, 2024 12:00
varchar(n) vs text + check migration benchmarks
-- CREATE TABLE foo (
-- id int primary key,
-- x varchar(255) NOT NULL
-- );
-- CREATE TABLE bar (
-- id int primary key,
-- x text NOT NULL
-- CHECK (char_length(x) <= 255)
-- );
@hillac
hillac / environment.yml
Created January 18, 2024 03:49 — forked from moorepants/environment.yml
Realtime Low and High Pass Butterworth Filters
name: filter
channels:
- conda-forge
- defaults
dependencies:
- numpy
- scipy
- matplotlib
- sympy
- dynamicisttoolkit