Skip to content

Instantly share code, notes, and snippets.

Avatar

Martin Weinelt mweinelt

View GitHub Profile
@mweinelt
mweinelt / gist:b4edc0e4f4f380e22a06578c31d3262e
Last active May 16, 2023 00:10
Packages dropped when marking OpenSSL 1.1 as vulnerable
View gist:b4edc0e4f4f380e22a06578c31d3262e
Estimating rebuild amount by counting changed Hydra jobs (parallel=unset).
380 x86_64-darwin
436 x86_64-linux
apeClex.x86_64-darwin /nix/store/df1hbnk5g7i7a5jw40w9r22z4hxkx500-ape-clex-2019-08-10
apeClex.x86_64-linux /nix/store/63qsj0vxyhz0njnv73r1ibplhkfg7yhc-ape-clex-2019-08-10
ape.x86_64-darwin /nix/store/yrgncfm7hh2fdxk69w2jp73cb42ac42g-ape-2019-08-10
ape.x86_64-linux /nix/store/ls7xxlv6sl96dalhjrw25qy0dzgywshv-ape-2019-08-10
appflowy.x86_64-linux /nix/store/347590dg32xy9pkkib8lij3anm4ds2l5-appflowy-0.1.5
arcanist.x86_64-darwin /nix/store/wyn79svijkm1m713y4kcknbb3wh5rccb-arcanist-20220517
View gist:12d5d34f75fe9d2915e7e56c01db6cf4
861 packages removed:
3llo (†1.3.1)
airfield (†2015-01-04)
ape (†2019-08-10)
ape-clex (†2019-08-10)
appflowy (†0.1.5)
arcanist (†20220517)
archiveopteryx (†3.2.0)
avalonia-ilspy (†7.2-rc)
aws-workspaces (†4.5.0.2006)
@mweinelt
mweinelt / aarch64
Created April 14, 2023 22:07
Hetzner Cloud systemd-detect-virt CX11 vs CAX11
View aarch64
# SYSTEMD_LOG_LEVEL=7 systemd-detect-virt
Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
Found container virtualization none.
No virtualization found in DMI vendor table.
Unable to read /sys/firmware/dmi/entries/0-0/raw, using the virtualization information found in DMI vendor table, ignoring: No such file or directory
UML virtualization not found in /proc/cpuinfo.
Virtualization XEN not found, /proc/xen does not exist
No virtualization found in CPUID
/proc/device-tree: No such file or directory
This platform does not support /proc/sysinfo
@mweinelt
mweinelt / gist:5ec098950ae2f0c0d49547e46660bf3e
Created April 5, 2023 20:49
zigpy-znp 0.10.0 test failures with zigpy 0.54.0
View gist:5ec098950ae2f0c0d49547e46660bf3e
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
@mweinelt
mweinelt / network.nix
Last active March 29, 2023 19:33
NixOS 22.11 Router on VDSL with IPv6 Prefix Delegation, ULA addressing, VLANs on top of Bonding.
View network.nix
{ lib, ... }:
{
# Enable forwarding between all interfaces, restrictions between
# individual links are enforced by firewalling.
boot.kernel.sysctl = {
"net.ipv6.conf.all.forwarding" = lib.mkForce 1;
"net.ipv4.forward" = lib.mkForce 1;
};
systemd.network.config = {
View readelf -W -a emacs
This file has been truncated, but you can view the full file.
ELF Header:
Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
Class: ELF64
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: Advanced Micro Devices X86-64
Version: 0x1
View pecan.py
pecan> ____________ TestJsonifySQLAlchemyGenericEncoder.test_result_proxy _____________
pecan>
pecan> self = <pecan.tests.test_jsonify.TestJsonifySQLAlchemyGenericEncoder testMethod=test_result_proxy>
pecan>
pecan> def setUp(self):
pecan> super(TestJsonifySQLAlchemyGenericEncoder, self).setUp()
pecan> if not create_engine:
pecan> self.create_fake_proxies()
pecan> else:
pecan> > self.create_sa_proxies()
View gist:e62e82595a30eeb79946d35131ecb970
umap-learn> ============================= test session starts ==============================
umap-learn> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0
umap-learn> rootdir: /build/source
umap-learn> collecting ... 2023-01-28 22:09:52.880147: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: SSE3 SSE4.1 SSE4.2 AVX
umap-learn> To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
umap-learn> collected 199 items / 4 deselected / 195 selected
umap-learn>
umap-learn> umap/tests/test_aligned_umap.py ... [ 1%]
umap-learn> umap/tests/test_chunked_parallel_spatial_metric.py sssssssssssssssssssss [ 12%]
umap-learn> sssssssssssssssssssss [ 23%]
View gist:cb4460149479878316b46c116518c88f
Machine state will be reset. To keep it, pass --keep-vm-state
start all VLans
start vlan
running vlan (pid 5; ctl /build/vde1.ctl)
(finished: start all VLans, in 0.00 seconds)
run the VM test script
additionally exposed symbols:
acme, client, dnsserver, webserver,
vlan1,
start_all, test_script, machines, vlans, driver, log, os, create_machine, subtest, run_tests, join_all, retry, serial_stdout_off, serial_stdout_on, polling_condition, Machine
View gist:c4cf38def687bf68862a6632fff7cc87
pynndescent> ============================= test session starts ==============================
pynndescent> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0
pynndescent> rootdir: /build/pynndescent-0.5.8
pynndescent> collected 143 items / 4 deselected / 139 selected
pynndescent>
pynndescent> pynndescent/tests/test_distances.py ..................FFFFFFFFF......... [ 25%]
pynndescent> ......... [ 32%]
pynndescent> pynndescent/tests/test_pynndescent_.py ................................. [ 56%]
pynndescent> ........................ [ 73%]
pynndescent> pynndescent/tests/test_rank.py ..................................... [100%]