Data Junkie
-
Gray Bear, Inc.
- USA • WI • MKE
-
10:20
(UTC -06:00) - in/johngraber
Pinned Loading
-
what's locking?
what's locking? 1SELECT2waiting.locktype AS waiting_locktype,
3waiting.relation::regclass AS waiting_table,
4waiting_stm.query AS waiting_query,
5waiting.mode AS waiting_mode,
-
postgres indexes sorted by size
postgres indexes sorted by size 1SELECT2relname AS name,3pg_size_pretty(sum(relpages::bigint*current_setting('block_size')::bigint)::bigint) AS size
4FROM5pg_class
-
find parent table of a toast table i...
find parent table of a toast table in postgresql 1select2relname
3from4pg_class
5where -
hull moving average
hull moving average 1def hma(values, window):
23# requires wma.py45# HMA = WMA(2*WMA(PRICE, N/2) - WMA(PRICE, N), SQRT(N)) -
weighted moving average
weighted moving average 1def wma(values, window):
23# requires trinum.py45# using definition provided at -
triangular number
triangular number 1def trinum(n):
23# calculates the "triangular number" of a number4# https://www.mathsisfun.com/algebra/triangular-numbers.html5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.