code wiki / (root) / nx_neuraltex_research_fetch.nx

nx_neuraltex_research_fetch.nx source

↩ module page · 29 lines · 2765 B

1// nx_neuraltex_research_fetch.nx -- ★P4 NEURAL SCOPING research: bank the CURRENT frontier on neural TEXTURE 2// synthesis (the first tractable neural rung toward photoreal skin: tiny texture models -- neural cellular 3// automata, exemplar texture nets, coordinate/implicit networks, skin appearance synthesis). Keyless open APIs 4// (OpenAlex mailto polite pool + arXiv), sovereign TLS, same engine as nx_frontier_research_fetch. Banks -> 5// knowledge/library/ntex_*.txt. Idempotent. license_tier: ORIGINAL expect_exit: 0 6import "nx_research_engine.nx" 7const K_MAGIC_2200: i64 = 2200 8const K_MAGIC_8388608: i64 = 8388608 9 10func F(u: *u8, o: *u8, store: *TrustStore, out: *u8, cap: i64) -> i64 { rf_sleep_ms(K_MAGIC_2200); return rf_fetch_bank(u, o, store, out, cap) } 11 12func main() -> i64 { 13 let store: *TrustStore = rf_init() 14 if (store as i64) == 0 { rf_puts("ntex: trust store load failed\n" as *u8); return 1 } 15 rf_puts("CA roots="); rf_putn(trust_store_count(store)); rf_puts(" -- NEURAL-TEXTURE frontier (P4 scoping), keyless\n" as *u8) 16 let cap: i64 = K_MAGIC_8388608 17 let out: *u8 = sys_mmap(cap) 18 var ok: i64 = 0 19 var tot: i64 = 0 20 rf_section("OpenAlex: tiny/trainable texture models + skin appearance" as *u8) 21 ok = ok + F("https://api.openalex.org/works?search=neural+cellular+automata+texture+synthesis&filter=from_publication_date:2020-01-01,type:article&per-page=15&mailto=elderwesto@gmail.com" as *u8, "ntex_oa_nca" as *u8, store, out, cap); tot = tot + 1 22 ok = ok + F("https://api.openalex.org/works?search=exemplar+texture+synthesis+neural+network&filter=from_publication_date:2022-01-01,type:article&per-page=15&mailto=elderwesto@gmail.com" as *u8, "ntex_oa_exemplar" as *u8, store, out, cap); tot = tot + 1 23 ok = ok + F("https://api.openalex.org/works?search=implicit+neural+representation+image+coordinate+network+fourier+features&filter=from_publication_date:2022-01-01,type:article&per-page=15&mailto=elderwesto@gmail.com" as *u8, "ntex_oa_coordnet" as *u8, store, out, cap); tot = tot + 1 24 ok = ok + F("https://api.openalex.org/works?search=skin+texture+appearance+synthesis+pores+microstructure&filter=from_publication_date:2021-01-01,type:article&per-page=15&mailto=elderwesto@gmail.com" as *u8, "ntex_oa_skin" as *u8, store, out, cap); tot = tot + 1 25 rf_section("arXiv: latest texture-synthesis preprints" as *u8) 26 ok = ok + F("https://export.arxiv.org/api/query?search_query=abs:texture+AND+abs:synthesis+AND+cat:cs.CV&start=0&max_results=15&sortBy=submittedDate&sortOrder=descending" as *u8, "ntex_arxiv_latest" as *u8, store, out, cap); tot = tot + 1 27 rf_puts("NTEX BANKED: "); rf_putn(ok); rf_puts(" / "); rf_putn(tot); rf_puts(" (knowledge/library/ntex_*.txt)\n" as *u8) 28 return 0 29}