Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/interplane-forge/blob/main/community/30page.om # interplane-forge INTERPLANE Forge Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `interplane-forge / community / 30page.om` 773 lines ยท 18014 bytes Raw Blame History 1 note community/30page.om -- the pages: /community/ (what joining does, the one line, the rule, every 2 note published part with its record), /community/part/ (the developer view: every counted key 3 note with its time and fingerprints), and the record line the salvage part page shows. 4 5 text cmbase "

INTERPLANE / COMMUNITY MACHINES

" 6 text cmclose "
" 7 text cmh1 "

" 8 text cmh1e "

" 9 text cmh2 "

" 10 text cmh2e "

" 11 text cmp "

" 12 text cmpe "

" 13 text cmpre "
"

14 text cmtdist "dist/"

15 text cmtsums "SHA256SUMS"

16 text cmcmh "Community machines"

17 text cmolder "Earlier parts of the ledger, the refusal log and the alarm log (each set aside at 4 MiB):"

18 text cmpree "
" 19 text cmcode "" 20 text cmcodee "" 21 text cmhref "" 23 text cmae "" 24 text cmcard "
" 25 text cmcarde "
" 26 text cmslug "community/" 27 text cmslpart "community/part/" 28 text cmslkey "community/key/" 29 text cmslmsg "community/msg/" 30 text cmslsal "salvage/" 31 text cmtitle "Run Interplane's checks on your own computer" 32 text cmintro "Anyone with an NVIDIA DGX Spark, or another 64-bit ARM computer running Linux, can lend it to Interplane. It asks for small public programs, builds each one and runs its example in a sealed box, and reports what it got. When several runners get the same bytes, everyone can see it here." 33 text cmjoinh "Join with one line" 34 text cmjoin "curl -fsSL https://interplane.io/community/join | sh" 35 text cmjoinp "It puts two files in a folder called .interplane-runner in your home folder, shows their SHA-256 fingerprints (compare them with the list at the bottom of this page), explains what will happen, and asks you to type yes before anything is registered. Nothing else needs to be installed." 36 text cmdoesh "What it does to your computer" 37 text cmdoes "" 38 text cmneverh "What it can never do" 39 text cmnever "A checked program runs in a sealed box made by the Linux kernel: no network, none of your files, no environment variables, no GPU, no new processes. It can only read its example input and write its output. The runner runs nothing else from Interplane." 40 text cmstoph "Stop or leave" 41 text cmstop "~/.interplane-runner/bin/interplane-runner stop\n~/.interplane-runner/bin/interplane-runner leave" 42 text cmstopp "stop pauses it. leave stops it, tells Interplane, and deletes the folder." 43 text cmruleh "How results are counted" 44 text cmrule "Each runner is a key. One computer can hold several runners, and Interplane cannot tell from outside, so runners are counted, not machines. A key counts once for each revision of a part, however often it sends a result. Results agree when the built program, its output and its exit status are the same, byte for byte. Keys are free to make, so any number of agreeing keys is not called verified: agreement shows that the same bytes came back from every agreeing key, and if at least one of those keys is honest and used the pinned compiler, that runner really got them. It never changes what Interplane's own check says. Any disagreement is shown, and then the part is not presented as reproduced." 45 text cmpartsh "Published parts and their reruns" 46 text cmnopart "No part is published in the salvage yard yet." 47 text cmdevh "For developers" 48 text cmdev "The protocol, the runner's source and its gates are in the spark-connector repository. Every accepted message and every refusal is kept:" 49 text cmled "community/ledger\">ledger · refusals · SHA256SUMS

" 52 text cmfilesh "Files and fingerprints" 53 text cmr0 "Not run again by community runners yet." 54 text cmr1 "Ran again by " 55 text cmr2 " community runner" 56 text cmr2s " community runners" 57 text cmr3 ": " 58 text cmr4 " agree" 59 text cmr5 ", " 60 text cmr6 " disagree. While results disagree this part is not presented as reproduced." 61 text cmr7 " No single result has more runners than every other." 62 text cmplath "Which computers can join" 63 text cmplat "

On a computer that is not covered, the join line says so and installs nothing.

" 64 text cmrunh "Runners now" 65 text cmrun1 " runner" 66 text cmrun1s " runners" 67 text cmrun2 " registered: keys that joined and have not left (a key Interplane has refused since still counts here). Several runners can be on one computer." 68 text cmnoteh "Interplane's note on its own runners: " 69 text cmtnote "runners-note" 70 text cmrtab "" 71 text cmrmore "The list shows the registered keys among the first 200 key files in the store, in the store's order." 72 text cmrunal "At least " 73 text cmrcap " The count stops after the first 200 keys in the store, so that showing this page stays cheap however many keys are made." 74 text cmr8 " The agreeing result has the same bytes as Interplane's own check." 75 text cmr9 " The agreeing result differs from Interplane's own check." 76 text cmr10 " Keys are free to make, so this is not called verified." 77 text cmdet "details" 78 text cmdot "." 79 text cmown "Interplane's own check: compiler omc " 80 text cmownb ", binary " 81 text cmowno ", output " 82 text cmowne ", exit 0." 83 text cmtab "
runner keyjoined (Unix s)checks an hour
" 84 text cmtabe "
keytime (Unix s)exitbinary SHA-256output SHA-256signed message
" 85 text cmtr "" 86 text cmtd "" 87 text cmtre "" 88 text cmback "Back to community machines" 89 text cmback2 "The part in the salvage yard" 90 text cmtg2 "/g/" 91 92 note ---- counting 93 note cm_count: for part id, N (keys counted), K (largest agreeing group), the number of groups, 94 note whether two groups tie for largest, and whether the largest group's result equals the hub's 95 note own receipt (glrcpt: slpublic id must have been called) 96 fn cm_count id view uchar * to void 97 b = new uchar 8192 0 98 put cmgv cmcn 0 99 put cmgv cmck 0 100 put cmgv cmcg 0 101 put cmgv cmctie 0 102 put cmgv cmcagr 0 103 cm_p0 104 cm_pa cmtparts 105 cm_pa id 106 cm_pa cmtg2 107 fd = fopen cmpth 0 get cmgv cmpl 573440 0 108 if lt fd 0 109 ret 110 end 111 while true bound `9223372036854775807` 112 n = getdnts int fd b 0 8192 113 if le n 0 114 break 115 end 116 o = ulong 0 117 while lt o ulong n bound 8192 118 o = add o cm_gent id part b o sub ulong n o 119 end 120 end 121 x = fclose int fd 122 end 123 124 note cm_gent: one entry of parts//g/: a ".v" file names a group 125 fn cm_gent id view uchar * d view uchar * to ulong 126 rl = or ulong get d 16 shl ulong get d 17 8 127 if lt rl 86 128 ret rl 129 end 130 if ne get d 85 0 131 ret rl 132 end 133 if not cm_eq part d 83 2 cmtv 134 ret rl 135 end 136 h = new uchar 64 0 137 for i ulong 64 138 put h i get d add 19 i 139 end 140 if not cm_ishex h 141 ret rl 142 end 143 c = cm_gsize id h 144 put cmgv cmcn add get cmgv cmcn c 145 put cmgv cmcg add get cmgv cmcg 1 146 k = get cmgv cmck 147 if gt c k 148 put cmgv cmck c 149 put cmgv cmctie 0 150 put cmgv cmcagr 0 151 if cm_vhub id h 152 put cmgv cmcagr 1 153 end 154 ret rl 155 end 156 if eq c k 157 put cmgv cmctie 1 158 end 159 ret rl 160 end 161 162 note cm_gsize: the number of keys in parts//g// 163 fn cm_gsize id view uchar * h view uchar * to ulong 164 b = new uchar 8192 0 165 cm_p0 166 cm_pa cmtparts 167 cm_pa id 168 cm_pa cmtg2 169 cm_pa h 170 fd = fopen cmpth 0 get cmgv cmpl 573440 0 171 if lt fd 0 172 ret 0 173 end 174 c = ulong 0 175 while true bound `9223372036854775807` 176 n = getdnts int fd b 0 8192 177 if le n 0 178 break 179 end 180 c = add c cm_dcnt part b 0 ulong n 181 end 182 x = fclose int fd 183 ret c 184 end 185 186 note cm_dcnt: entries in a getdents64 buffer other than "." and ".." 187 fn cm_dcnt b view uchar * to ulong 188 o = ulong 0 189 c = ulong 0 190 while lt o len b bound 8192 191 rl = or ulong get b add o 16 shl ulong get b add o 17 8 192 if eq rl 0 193 ret c 194 end 195 dot = eq get b add o 19 46 196 d1 = and dot eq get b add o 20 0 197 d2 = and dot and eq get b add o 20 46 eq get b add o 21 0 198 if not or d1 d2 199 c = add c 1 200 end 201 o = add o rl 202 end 203 ret c 204 end 205 206 note cm_vhub: the group's triple equals the hub's receipt: binary, stdout, exit 0 207 fn cm_vhub id view uchar * h view uchar * to bool 208 b = new uchar 256 0 209 cm_p0 210 cm_pa cmtparts 211 cm_pa id 212 cm_pa cmtg2 213 cm_pa h 214 cm_pa cmtv 215 r = cm_rd b 216 if ne r 132 217 ret false 218 end 219 for i ulong 64 220 if ne get b i get glrcpt add 65 i 221 ret false 222 end 223 if ne get b add 65 i get glrcpt add 129 i 224 ret false 225 end 226 end 227 ret and eq get b 130 48 eq get b 131 10 228 end 229 230 note ---- the record line 231 fn cm_rline id view uchar * lk bool to void 232 cm_count id 233 n = get cmgv cmcn 234 fput cmp 235 if eq n 0 236 fput cmr0 237 fput cmpe 238 ret 239 end 240 k = get cmgv cmck 241 fput cmr1 242 fnum n 243 if eq n 1 244 fput cmr2 245 else 246 fput cmr2s 247 end 248 fput cmr3 249 fnum k 250 fput cmr4 251 if gt n k 252 fput cmr5 253 fnum sub n k 254 fput cmr6 255 else 256 fput cmdot 257 end 258 if eq get cmgv cmctie 1 259 fput cmr7 260 end 261 if and eq n k eq get cmgv cmcagr 1 262 fput cmr8 263 end 264 if and eq n k eq get cmgv cmcagr 0 265 fput cmr9 266 end 267 fput cmr10 268 if lk 269 fputc 32 270 cm_alink cmslpart id cmdet 271 end 272 fput cmpe 273 end 274 275 fn cm_alink a view uchar * id view uchar * t view uchar * to void 276 fput cmhref 277 fputb 278 fput a 279 fesc id 280 fput cmhrefe 281 fput t 282 fput cmae 283 end 284 285 note cm_partln: the line on the salvage part page (nothing when the community store is off) 286 fn cm_partln id view uchar * to void 287 if not cm_on 288 ret 289 end 290 fput cmh2 291 fput cmcmh 292 fput cmh2e 293 cm_rline id true 294 end 295 296 note ---- /community/ 297 fn cm_index to long 298 id = new uchar 64 0 299 fput cmbase 300 fput cmh1 301 fput cmtitle 302 fput cmh1e 303 fput cmp 304 fput cmintro 305 fput cmpe 306 fput cmh2 307 fput cmjoinh 308 fput cmh2e 309 fput cmpre 310 fput cmjoin 311 fput cmpree 312 fput cmp 313 fput cmjoinp 314 fput cmpe 315 fput cmh2 316 fput cmplath 317 fput cmh2e 318 fput cmplat 319 fput cmh2 320 fput cmdoesh 321 fput cmh2e 322 fput cmdoes 323 fput cmh2 324 fput cmneverh 325 fput cmh2e 326 fput cmp 327 fput cmnever 328 fput cmpe 329 fput cmh2 330 fput cmstoph 331 fput cmh2e 332 fput cmpre 333 fput cmstop 334 fput cmpree 335 fput cmp 336 fput cmstopp 337 fput cmpe 338 fput cmh2 339 fput cmruleh 340 fput cmh2e 341 fput cmp 342 fput cmrule 343 fput cmpe 344 cm_runners 345 fput cmh2 346 fput cmpartsh 347 fput cmh2e 348 shown = ulong 0 349 n = get glidxn 0 350 for ix ulong n bound `1000000` 351 pos = sub sub n ix 1 352 for i ulong 64 353 put id i get glidx add mul pos 65 i 354 end 355 if cm_ispart id 356 cm_pcard id 357 shown = add shown 1 358 end 359 end 360 if eq shown 0 361 fput cmp 362 fput cmnopart 363 fput cmpe 364 end 365 cm_devfoot 366 fput cmclose 367 ret 200 368 end 369 370 fn cm_ispart id view uchar * to bool 371 if not slpublic id 372 ret false 373 end 374 ret eq get glrec 8 2 375 end 376 377 note cm_pcard: the part's title (linking to the yard) and its record line 378 fn cm_pcard id view uchar * to void 379 fput cmcard 380 fput cmhref 381 fputb 382 fput cmslsal 383 fesc id 384 fput cmhrefe 385 slesc 1 386 fput cmae 387 cm_rline id true 388 fput cmcarde 389 end 390 391 fn cm_devfoot to void 392 fput cmh2 393 fput cmdevh 394 fput cmh2e 395 fput cmp 396 fput cmdev 397 fputc 32 398 fput cmhref 399 fputb 400 fput cmled 401 fputb 402 fput cmrefl 403 fputb 404 fput cmsums 405 fput cmh2 406 fput cmfilesh 407 fput cmh2e 408 fput cmpre 409 cm_sumsout 410 fput cmpree 411 fput cmp 412 fput cmolder 413 cm_archls 414 fput cmpe 415 end 416 417 note cm_archls: links to every ledger. and refused. in the store root 418 fn cm_archls to void 419 b = new uchar 8192 0 420 cm_p0 421 fd = fopen cmpth 0 get cmgv cmpl 573440 0 422 if lt fd 0 423 ret 424 end 425 while true bound `9223372036854775807` 426 n = getdnts int fd b 0 8192 427 if le n 0 428 break 429 end 430 o = ulong 0 431 while lt o ulong n bound 8192 432 o = add o cm_archent part b o sub ulong n o 433 end 434 end 435 x = fclose int fd 436 end 437 438 fn cm_archent d view uchar * to ulong 439 nm = new uchar 64 0 440 n2 = new uchar 64 0 441 rl = or ulong get d 16 shl ulong get d 17 8 442 nl = ulong 0 443 while lt add 19 nl rl bound 256 444 if eq get d add 19 nl 0 445 break 446 end 447 nl = add nl 1 448 end 449 if or eq nl 0 gt nl 60 450 ret rl 451 end 452 for i ulong nl bound 64 453 put nm i get d add 19 i 454 end 455 if cm_archok part nm 0 nl 456 for i ulong nl bound 64 457 put n2 i get nm i 458 end 459 fputc 32 460 cm_alink cmslug part nm 0 nl part n2 0 nl 461 end 462 ret rl 463 end 464 465 note cm_sumsout: dist/SHA256SUMS, escaped 466 fn cm_sumsout to void 467 b = new uchar 4096 0 468 cm_q0 469 cm_pa cmtdist 470 cm_pa cmtsums 471 r = cm_rd b 472 if gt r 0 473 fesc part b 0 ulong r 474 end 475 end 476 477 note ---- /community/part/ 478 fn cm_partpage id view uchar * to long 479 if not cm_ispart id 480 ret 404 481 end 482 fput cmbase 483 fput cmp 484 cm_alink cmslug id cmback 485 fput cmpe 486 fput cmh1 487 slesc 1 488 fput cmh1e 489 cm_rline id false 490 fput cmp 491 cm_alink cmslsal id cmback2 492 fput cmpe 493 x = slpublic id 494 fput cmp 495 fput cmown 496 fput tlpin 497 fput cmownb 498 cm_rcp 65 499 fput cmowno 500 cm_rcp 129 501 fput cmowne 502 fput cmpe 503 fput cmtab 504 cm_rows id 505 fput cmtabe 506 fput cmclose 507 ret 200 508 end 509 510 fn cm_rcp o ulong to void 511 for i ulong 64 512 fputc get glrcpt add o i 513 end 514 end 515 516 note cm_rows: one table row per counted key (parts//k/) 517 fn cm_rows id view uchar * to void 518 b = new uchar 8192 0 519 cm_p0 520 cm_pa cmtparts 521 cm_pa id 522 cm_pa cmtk 523 fd = fopen cmpth 0 get cmgv cmpl 573440 0 524 if lt fd 0 525 ret 526 end 527 while true bound `9223372036854775807` 528 n = getdnts int fd b 0 8192 529 if le n 0 530 break 531 end 532 o = ulong 0 533 while lt o ulong n bound 8192 534 o = add o cm_row id part b o sub ulong n o 535 end 536 end 537 x = fclose int fd 538 end 539 540 note cm_row: a key's row from "