code wiki / _hdl_build / nx_comms_rival_census.nx
nx_comms_rival_census.nx
buildroot/runtime/_hdl_build/nx_comms_rival_census.nx
about
nx_comms_rival_census.nx -- MEASURED rival-benchmark census: the nishifamily.com/video comms stack
vs JITSI / ZOOM / TELEGRAM / DISCORD (operator 2026-07-02: "benchmarked against the best ... have all
of their features like texting and contacts"). Mirrors nx_video_exceed_census_gate honesty + EXTENDS it:
(1) GROUNDED: refuses to run unless the banked rival research (knowledge/fetched/rival_*.raw, 17
sources fetched by nx_comms_rival_fetch) is on disk -- no assumed rival facts (Rule 4).
(2) LIVE AXIS: reads the LAST persisted FUNCHECK line (knowledge/status/funcheck.log) and requires
video_room=PASS AND video_appjs=PASS AND age<24h -- a DEAD room can NEVER score GREEN here
(closes the false-GREEN the organ-on-disk census admits to).
(3) PER-RIVAL PARITY: each feature row carries which rivals have it; rollup = permille of each
rival's features we ALSO have, + the honest BEHIND build-list.
Evidence kinds: 1=organ-on-disk 2=file-contains(pattern) 3=declared ABSENT (build target; rivals have).
Controls: POS(known organ), NEG(bogus path), NEG(bogus pattern), NEG(bogus funcheck log -> UNKNOWN).
expect_exit: 0 license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 15 | const K_MAGIC_8192: i64 = 8192 |
| 16 | const K_MAGIC_86400: i64 = 86400 |
functions
| 18 | func slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } |
| 19 | func pw(s: *u8) -> i64 { sys_write(1,s,slen(s)); return 0 } |
| 20 | func pn(v: i64) -> i64 |
| 24 | func have(path: *u8) -> i64 { let fd: i64=sys_openat_rd(path); if fd<0 {return 0} sys_close(fd); return 1 } |
| 25 | func contains(hay: *u8, n: i64, needle: *u8) -> i64 |
| 30 | func filehas(path: *u8, pat: *u8) -> i64 |
| 38 | func cr_row(st: *i64, name: *u8, kind: i64, path: *u8, pat: *u8, jm: i64, zm: i64, tm: i64, dm: i64, note: *u8) -> i64 |
| 56 | func cr_find_eol(b: *u8, n: i64, st: i64) -> i64 { var i: i64=st; while i<n { if (b[i] as i64)==10 {return i} i=i+1 } return n } called by 1: cr_live2 |
| 61 | func cr_live2(logpath: *u8, maxage_s: i64) -> i64 |
| 107 | func main() -> i64 |