Skip to content

Instantly share code, notes, and snippets.

@chenrui333
chenrui333 / llama-pr21869-b8790-backport.patch
Created April 15, 2026 15:57
llama.cpp b8790 PR21869 backport patch
diff --git a/ggml/include/ggml-backend.h b/ggml/include/ggml-backend.h
index 3c06aeaffb1fc2324eab663e45bfb223bf7f7433..4a8f6d4287da040efef27e8b394e0a48502db2f8 100644
--- a/ggml/include/ggml-backend.h
+++ b/ggml/include/ggml-backend.h
@@ -348,6 +348,53 @@ extern "C" {
// Set a callback to be called for each resulting node during graph compute
GGML_API void ggml_backend_sched_set_eval_callback(ggml_backend_sched_t sched, ggml_backend_sched_eval_callback callback, void * user_data);
+ //
+ // Meta backend
@chenrui333
chenrui333 / # whodb-cli - 2026-02-16_09-32-22.txt
Created February 16, 2026 14:32
whodb-cli (rchen/whodb-cli-test/whodb-cli) on macOS 26 - Homebrew build logs
Homebrew build logs for rchen/whodb-cli-test/whodb-cli on macOS 26
Build date: 2026-02-16 09:32:22
@chenrui333
chenrui333 / gist_readme.md
Last active February 12, 2026 14:40
MA SPED directors scrape v2 - DESE profiles + district websites (2026-02-11)

MA SPED Directors Scrape v2 (2026-02-11)

Multi-source extraction from DESE profiles + individual district websites.

Summary

Metric Value
Total Districts 515
Districts with Website 460 (89.3%)
@chenrui333
chenrui333 / go_formulae_missing_arm64_linux.txt
Created October 9, 2025 19:59
Go formulae with 'depends_on "go" => :build' that have x86_64_linux but no arm64_linux bottles
# Go formulae with 'depends_on "go" => :build' that have x86_64_linux but no arm64_linux bottles
# Generated on October 9, 2025
rsyncy
reposurgeon
rosa-cli
req
rush-parallel
ratchet
runitor
range2cidr
@chenrui333
chenrui333 / varnishtest8-run.log
Created September 24, 2025 14:35
varnishtest 8 run log
/opt/homebrew/Cellar/varnish/8.0.0/bin/varnishtest -v -j 6 -q /opt/homebrew/Cellar/varnish/8.0.0/share/varnish/tests/b00000.vtc /opt/homebrew/Cellar/varnish/8.0.0/share/varnish/tests/b00001.vtc /opt/homebrew/Cellar/varnish/8.0.0/share/varnish/tests/b00002.vtc /opt/homebrew/Cellar/varnish/8.0.0/share/varnish/tests/b00003.vtc /opt/homebrew/Cellar/varnish/8.0.0/share/varnish/tests/b00004.vtc /opt/homebrew/Cellar/varnish/8.0.0/share/varnish/tests/b00005.vtc /opt/homebrew/Cellar/varnish/8.0.0/share/varnish/tests/b00006.vtc /opt/homebrew/Cellar/varnish/8.0.0/share/varnish/tests/b00007.vtc /opt/homebrew/Cellar/varnish/8.0.0/share/varnish/tests/b00008.vtc /opt/homebrew/Cellar/varnish/8.0.0/share/varnish/tests/b00009.vtc /opt/homebrew/Cellar/varnish/8.0.0/share/varnish/tests/b00010.vtc /opt/homebrew/Cellar/varnish/8.0.0/share/varnish/tests/b00011.vtc /opt/homebrew/Cellar/varnish/8.0.0/share/varnish/tests/b00012.vtc /opt/homebrew/Cellar/varnish/8.0.0/share/varnish/tests/b00013.vtc /opt/homebrew/Cellar/varnish/8.0.0/sha
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dbae506..79a0220 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,9 +51,19 @@ endif()
## Dependences.
-find_package(LibHeinz REQUIRED)
-message(STATUS "LibHeinz: found=${LibHeinz_FOUND}, include_dirs=${LibHeinz_INCLUDE_DIR}, "
@chenrui333
chenrui333 / delta.bash.diff
Created December 19, 2024 22:42
delta shell completion diff (left is generated, right is checked) (for https://github.com/Homebrew/homebrew-core/pull/201834)
22c22
< opts="-@ -n -s -w -h -V --blame-code-style --blame-format --blame-palette --blame-separator-format --blame-separator-style --blame-timestamp-format --blame-timestamp-output-format --color-only --config --commit-decoration-style --commit-regex --commit-style --dark --default-language --detect-dark-light --diff-args --diff-highlight --diff-so-fancy --diff-stat-align-width --features --file-added-label --file-copied-label --file-decoration-style --file-modified-label --file-removed-label --file-renamed-label --file-style --file-transformation --generate-completion --grep-context-line-style --grep-file-style --grep-header-decoration-style --grep-header-file-style --grep-line-number-style --grep-output-type --grep-match-line-style --grep-match-word-style --grep-separator-symbol --hunk-header-decoration-style --hunk-header-file-style --hunk-header-line-number-style --hunk-header-style --hunk-label --hyperlinks --hyperlinks-commit-link-format --hyperlinks-file-link-format --inline-hint-style --in
@chenrui333
chenrui333 / fuzzyset2-py313-build.log
Created October 21, 2024 15:52
fuzzyset2 py 3.13 build log
==> python3.13 -m pip --python=/opt/homebrew/Cellar/bzt/1.16.34/libexec/bin/python install --verbose --no-deps --no-binary=:all: --ignore-installed --no-compile /private/tmp/bzt--fuzzyset2-20241012-14729-lzazsi/fuzzyset2-0.2.4
Using pip 24.2 from /opt/homebrew/lib/python3.13/site-packages/pip (python 3.13)
Processing /private/tmp/bzt--fuzzyset2-20241012-14729-lzazsi/fuzzyset2-0.2.4
Installing build dependencies: started
Running command pip subprocess to install build dependencies
Using pip 24.2 from /opt/homebrew/lib/python3.13/site-packages/pip (python 3.13)
Collecting setuptools>=59.2.0
Using cached setuptools-75.1.0-py3-none-any.whl
Collecting wheel>=0.37.0
Using cached wheel-0.44.0-py3-none-any.whl
2024-09-26T16:36:53.5322930Z Current runner version: '2.319.1'
2024-09-26T16:36:53.5326920Z Runner name: '15-arm64-11056450187-1'
2024-09-26T16:36:53.5327410Z Runner group name: 'Default'
2024-09-26T16:36:53.5328170Z Machine name: 'Sequoia-arm64'
2024-09-26T16:36:53.5338250Z Testing runner upgrade compatibility
2024-09-26T16:36:54.5300390Z ##[group]GITHUB_TOKEN Permissions
2024-09-26T16:36:54.5301340Z Contents: read
2024-09-26T16:36:54.5301520Z Metadata: read
2024-09-26T16:36:54.5301680Z ##[endgroup]
2024-09-26T16:36:54.5303250Z Secret source: Actions
@chenrui333
chenrui333 / all-bottle-formulae-attestation-check.log
Last active September 25, 2024 20:50
all bottle formulae attestation checks
==> Downloading https://ghcr.io/v2/homebrew/core/abi-compliance-checker/blobs/sha256:06af34b7632a01e00b3d6d5ad826d4102e7a840e32b4a0a0bc2a58c3fc799cef
###################################################################################################################################################################################################################################################### 100.0%
Error: Failed to verify abi-compliance-checker--2.3.all.bottle.1.tar.gz with tag x86_64_linux due to error:
no attestation matches subject: 7616be8e4ad66b44b65f13710bc36905bcf57860a5cfd0dc4ddf5fc7e76d39aa--abi-compliance-checker--2.3.all.bottle.1.tar.gz
::error::Failed to verify abi-compliance-checker--2.3.all.bottle.1.tar.gz with tag x86_64_linux due to error:%0A%0Ano attestation matches subject: 7616be8e4ad66b44b65f13710bc36905bcf57860a5cfd0dc4ddf5fc7e76d39aa--abi-compliance-checker--2.3.all.bottle.1.tar.gz%0A
==> Downloading https://ghcr.io/v2/homebrew/core/ack/blobs/sha256:c4efb6f3e54c984d5f57c676313e1ebfe