ZZ / phoenix-install.sh
Последняя активность
https://github.com/Arize-ai/phoenix
| 1 | # phoenix.install: $app_domain $app_port |
| 2 | phoenix.install(){ |
| 3 | |
| 4 | # Config # |
| 5 | app_name="phoenix" # App Name |
| 6 | app_repo_url="https://github.com/Arize-ai/phoenix" # App Codebase |
| 7 | app_version="latest" |
| 8 | |
| 9 | app_domain="${1:-"$app_name.$org_domain"}" # Unique app domain |
| 10 | app_port="${2:-"6006"}" # App Port |
ZZ / tube-archivist-install.sh
Последняя активность
Tube Archivist - Self hosted YouTube media server - https://www.tubearchivist.com/
| 1 | # tube.archivist.install: |
| 2 | alias ta.install="tube.archivist.install" |
| 3 | tube.archivist.install(){ |
| 4 | |
| 5 | # Config # |
| 6 | app_name="ta" # App Name |
| 7 | app_repo_url="https://github.com/tubearchivist/tubearchivist" # App Codebase |
| 8 | app_version="latest" |
| 9 | |
| 10 | app_domain="${1:-"$app_name.$org_domain"}" # Unique app domain |
ZZ / Gemma4-C++-to-Rust-Triple-Buffer-Test.md
Последняя активность
This is a lock-free Triple Buffer implementation. Its primary purpose is to allow one thread (the Producer) to write data and another thread (the Consumer) to read data without blocking each other, while ensuring the consumer always gets the most recent "complete" frame.
Here is the translation into Rust.
The Rust Implementation
To implement this in Rust, we need UnsafeCell because we are mutating elements of an array across different threads based on a manual state machine rather than using a Mutex. We also use repr(align(64)) to match the C++ alignas(64), which prevents "false sharing" (where the CPU caches multiple buffers in one line, causing performance degradation).
use std::cell::UnsafeCell;
ZZ / pango-install.sh
Последняя активность
https://github.com/fosrl/pangolin
| 1 | # pango.install: $app_domain $app_port |
| 2 | pango.install(){ |
| 3 | |
| 4 | # Config # |
| 5 | app_name="pango" # App Name |
| 6 | app_repo_url="https://github.com/fosrl/pangolin" # App Codebase |
| 7 | app_version="latest" |
| 8 | |
| 9 | app_domain="${1:-"$app_name.$org_domain"}" # Unique app domain |
| 10 | app_port="${2:-"3030"}" # App Port |