I hereby claim:
- I am d on github.
- I am jesusabs (https://keybase.io/jesusabs) on keybase.
- I have a public key ASBsm4kYFjoCW6q2eUZvc53l0EH0J8ENP6r1aIn9p2H0iAo
To claim this, I am signing this object:
set -x GIT_EDITOR "mvim -f" | |
# until fish 2.2, we'll have to do this | |
set PATH (brew --prefix)/bin $PATH | |
complete -f -c git -n '__fish_git_using_command pull' -l ff-only -d 'Refuse to merge unless fast-forward possible' | |
complete -f -c git -n '__fish_git_using_command pull' -l rebase -d 'Rebase instead of merge' | |
complete -c git -n '__fish_git_using_command commit' -s v -l verbose -d 'Show diff in commit message template' | |
complete -c git -n '__fish_git_using_command commit' -s a -l all -d 'Commit all changed files' |
#!/bin/bash | |
set -e -u -o pipefail | |
pretty_log() { | |
git --no-pager log --color --abbrev=16 --abbrev-commit --topo-order -n8 -S "${func_name}" -- '*.cpp' '*.h' '*.inl' | |
} | |
count_occurrences() { | |
git --no-pager log --abbrev=16 --pretty=tformat:%h -n8 -S "${func_name}" -- '*.cpp' '*.h' '*.inl' | parallel -qj1 --load 125% -X git grep -cwF "${func_name}" {} -- '*.cpp' '*.h' '*.inl' |
Jesses-MacBook-Air ~/s/p/gporca (master=)> git describe --tags | |
7.0.0-alpha.0-7231-g32446a321d49 | |
Jesses-MacBook-Air ~/s/p/gporca (master=)> ninja -C cmake-build-debug-clang-12 -t deps | grep -F ../ | grep -v -F libgpos | sort | uniq -c | sort -nr | |
944 ../libnaucrates/include/naucrates/dxl/gpdb_types.h | |
942 ../libnaucrates/include/naucrates/md/IMDId.h | |
928 ../libnaucrates/include/naucrates/dxl/operators/CDXLDatum.h | |
923 ../libnaucrates/include/naucrates/md/CDXLStatsDerivedRelation.h | |
923 ../libnaucrates/include/naucrates/md/CDXLStatsDerivedColumn.h | |
923 ../libnaucrates/include/naucrates/md/CDXLBucket.h | |
918 ../libnaucrates/include/naucrates/dxl/operators/CDXLOperator.h |
CREATE TYPE ban; | |
CREATE FUNCTION banin(cstring, oid, int) RETURNS ban | |
IMMUTABLE STRICT LANGUAGE internal | |
AS 'bpcharin'; | |
CREATE FUNCTION banout(ban) RETURNS cstring | |
IMMUTABLE STRICT LANGUAGE internal | |
AS 'bpcharout'; |
I hereby claim:
To claim this, I am signing this object:
Our tests for pg_upgrade
is its own travesty:
#!/usr/bin/env ruby | |
require 'forwardable' | |
FLIP_PATTERN = /^(?:(?<file>\w+\.c(?:pp)?):\d+:\d+: warning: )|(?:In file included from (?<file>\w+\.c(?:pp)?):\d+:)/ | |
FLOP_PATTERN = /^\d+ warnings? generated\.$/ | |
class Warnings | |
include Enumerable |
n\time (ms) \branch | 5X | moving avg backport patch |
---|---|---|
16384 | 53.453 | 1694.091 |
32768 | 95.186 | 6640.734 |
65536 | 187.03 | 28848.276 |
131072 | 398.689 | 113056.203 |
262144 | 809.299 | 459619.552 |
524288 | 1813.492 | 1876957.178 |
1048576 | 4751.661 | 7464597.714 |
# TODO: clang apt source | |
# TODO: docker apt source | |
sudo aptitude install -y vim-gnome fish cmake ninja-build g++ ccache libxerces-c-dev- git parallel clang-tidy-6.0 clang-format-6.0 pigz p7zip-full p7zip-rar rename git-cvs patchelf shellcheck- clang-6.0 lld-6.0 direnv | |
# TODO: extract shellcheck probably from Docker Hub? |