Talk notes
Links
- Benchmark source code
- PEP684 - A Per-Interpreter GIL
- PEP554 - Multiple interpreters in the Standard Library
- Extrainterpreters project
""" | |
Testing on CPython3.13a1+ | |
Requires some recent patches from main. | |
pip install hypercorn | |
Have successfully run the following apps: | |
- fastapi==0.99.0 | |
- Flask | |
""" |
(1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111*()) |
# Delete all forks that haven't been updated since 2020 | |
gh auth refresh -h github.com -s delete_repo | |
gh search repos \ | |
--owner tonybaloney \ | |
--updated="<2020-01-01" \ | |
--include-forks=only \ | |
--limit 100 \ | |
--json url \ | |
--jq ".[] .url" \ | xargs -I {} gh repo delete {} --confirm |
Links from the AIMQ workshop talk
git clone --depth=1 https://github.com/microsoft/WSL2-Linux-kernel.git | |
sudo apt install -y build-essential flex bison libssl-dev libelf-dev libbabeltrace-dev libunwind-dev libdw-dev binutils-dev libiberty-dev | |
cd WSL2-Linux-kernel/tools/perf/ | |
make -j2 -s && make install |
>>> dis.dis(bench_match.mapping_match_logical) | |
63 0 LOAD_CONST 1 ('🐓') | |
2 LOAD_CONST 2 (1) | |
4 BUILD_MAP 1 | |
64 6 LOAD_CONST 2 (1) | |
8 LOAD_CONST 2 (1) | |
10 LOAD_CONST 3 (('🦊', '🌽')) | |
12 BUILD_CONST_KEY_MAP 2 |
[[[[[[[[[[[[[[[����������������������������������[[[[[[[[[[[[[[[������������[[[[[[[[��������������[[[����������[[[[[[[[[[[[[[[������������[[[[[[[[��������������[[[[[[[[[[[[[[[[[������������������������[[[[[[[[[[[[[[[[[[[[[����������������������������������[[[[[[[[[[[[[[[������������[[[[[[[[��������������[[[����������[[[[[[[[[[[[[[[������������[[[[[[[[��������������[[[[[[[[[[[[[[[[[������������������������[[[[[[[[[[[[[[[������������[[[[[[[[��������������[[[[[[[[[[[[[[[[[��������������������������[[[[[[[[[[[[[[[������������������������[[[[[[[[[[[[[[[��[[[���������������������������������������[[[[[[[[[[[[[[[[[������������[[[[[[[[��������������[[[[[[[[[[[[[[[[[��������������������������[[[[[[[[[[[[[[[������������������������[[[[[[[[[[[[[[[��[[[���������������������������������������[[[[[[[[[[[[[[[������������[[[[[[[[��������������[[[[[[[[[[[[[[[[[������������������������[[[[[[[[[[[[[[[������������[[[[[[[[��������������[[[[[[[[[[[[[[[[[��������������������������[[[[[[���������������������������o de][���� ss2", ]] |
""" | |
Requirements -- | |
- orjson | |
- rich | |
Usage: | |
> grype /path/to/scan -o json > output.json | |
> python grype_print.py output.json | |
or |