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/aienos.com/blob/main/om/hive-page/hive.om
# aienos.com
Source of www.aienos.com, served from my own hardware
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
`aienos.com / om / hive-page / hive.om`
789 lines ยท 26036 bytes Raw Blame History
1 note Hive page skeleton generator. Every structural decision for /hive/ lives in this unit:
2 note the section set, its order, the ids and aria attributes, the bounded panel bodies, the
3 note mission tree container, the compact agent row with its branch disclosure, the message, field
4 note and family templates, the freshness strip, the empty states and the jump navigation. The
5 note hydrator emitted by hive-js.om only fills these slots and toggles what this markup declares.
6 note
7 note Program mode, composed with contract.om and hive-js.om by check.sh. The pinned compiler
8 note emits a static AArch64 ELF: skeleton on stdout, hydrator on fd 3, shared ~N~ contract tokens.
9 note check.sh runs it twice and commits deterministic HTML and JavaScript with sha256 sidecars.
10 note
11 note meta holds one record per line and eight pipe separated fields per record: the section
12 note opening tag up to the eyebrow (a bounded panel also opens its sticky head wrapper here),
13 note eyebrow text, heading open tag up to the heading text, heading text, note open tag up to the
14 note note text, note text, the tag that closes the head and, for a bounded panel, opens the
15 note scroll body (empty for a section that does neither), and the closing tags for that
16 note section. The head shape is a table decision too: the Signal record opens a head row in
17 note field 1 that puts the eyebrow, the heading and the note on one compact band and closes
18 note it in field 7, while every other record leaves field 7 empty.
19 note So the section list, its order, its ids and the shape of its head are all table decisions:
20 note reorder, rename, re-head, make scrollable or bound a section here, and the loop in main emits
21 note records in table order until the table ends.
22 note A record is terminated by byte 10 and its fields by byte 124, so no field may contain either
23 note a newline or a pipe: multi-line markup lives in the text constants below and is written by
24 note the section body functions, which main calls between field 7 and field 8.
25 note The opening tag also carries data-requires: a section marked interactions is hidden by the
26 note hydrator while the snapshot reports no messages, and always sections are never hidden.
27 note
28 note Two sections are bounded panels: hive-section-main (missions) and hive-section-narrow
29 note (selected mission). Their head wrapper holds the eyebrow, heading, note and, where the panel
30 note names a subject, that subject, and it never scrolls. Only the panel body scrolls, so a fleet
31 note of hundreds of agents is one bounded scroll box instead of a document thousands of pixels
32 note tall. Inside the missions body the search tools are sticky, so they stay reachable while the
33 note tree scrolls under them.
34 note The row template declares the branch disclosure button with aria-expanded and aria-controls.
35 note The hydrator assigns the id it points at, hides it on a leaf row, and keeps the expanded state
36 note per branch, so which branches start open is a hydrator decision made from the reported depth.
37 note
38 note Names: the compiler allows 8 bytes per data name and at most 6 parameters per function.
39 note
40 note The scene: Allen's two black holes. The source is native/kernel/ui/night.c and chirp.c in the
41 note aienos-allen-portable-build tree, and docs/ALLEN_SKY_SCIENCE.md says for each part of it what is
42 note measured, what is simplified and what is only an illustration. This unit computes the sequence
43 note here, at generation time, in integer and f64 arithmetic, and writes both the scene markup and
44 note its keyframes into main.html: the page serves samples of the law, not a hand written animation,
45 note and public/assets/hive.css only places the stage and paints the discs.
46 note
47 note Timeline in milliseconds, from night.h: 0 the eyes adjust to the dark, 6800 they have (fade
48 note end), 2600 the two holes appear, 6000 the inspiral starts, 12000 they merge, 12000 to 15600 the
49 note ripple runs out and 15200 the last hole is gone. The page loops on a 19000 ms cycle, so the sky
50 note holds for the 3400 ms between the end of the ripple and the next appearance.
51 note
52 note Wide orbit, orbit_angle and ck_night_at: separation a0 = 270 units, one turn per 5200 ms, angle
53 note = (t - 2600) / 5200 turns. Each hole sits at (hx, hy) from the centre with
54 note hx = (sep / 2) cos(2 pi angle) and hy = (sep / 4) sin(2 pi angle): the orbit is seen edge on, so
55 note its height is half its width, exactly as night.c halves the sine again. Nothing is drawn before
56 note 2600, so the first stop holds the 2600 position.
57 note
58 note Inspiral, 6000 to 12000: with L = (12000 - t) / 6000 the separation is a0 L^(1/4) and the angle
59 note is spiral_from + turns (1 - L^(5/8)), with spiral_from = (6000 - 2600) 65536 / 5200 = 42850 and
60 note turns = 65536 * 8 * 6000 / (5 * 5200) = 120989, both over 65536 of a turn: night.c's own fixed
61 note point, so the spiral leaves the wide orbit at the speed and the phase the wide orbit had.
62 note L^(1/4) is (L^(1/8))^2 and L^(5/8) is (L^(1/8))^5, and L^(1/8) is three square roots, which is
63 note night.c's root8. The law is the leading order inspiral of a real pair (separation as t^(1/4),
64 note angle as t^(5/8), t the time left); ALLEN_SKY_SCIENCE.md section 4 says the law is real and the
65 note clock is not, because this picture spends 6 s where physics spends 42 s and draws 1.85 turns
66 note where physics draws about 150.
67 note
68 note The shadows: a hole's shadow is 20 units of radius, grown in from 4000 to 6000 by
69 note smooth(prog(t, 4000, 6000)), which is night.c's rs_full with the +1400 and +3400 marks of the
70 note appearance. The region whose light the hole bends (the Einstein radius, 60 units) grows in from
71 note 2600 to 5200 by smooth(prog(t, 2600, 5200)). The page cannot bend starlight pixel by pixel, so
72 note the bend is drawn as a faint halo whose opacity is that same 0 to 256 ramp: the shape of the
73 note halo is the page's, the timing is Allen's, and this is the one place the scene simplifies.
74 note
75 note Merge, 12000 to 15200: one hole whose shadow runs from 20 * 323 / 256 (= 25.234375) to 20 * 2
76 note over 180 ms, with a glow of 60 * 362 / 256 (= 84.84375), the 1.414 of the science note's square
77 note root of two. It rings: the photon ring's radius is 1 + 0.07 sin(2 pi tm / 95) exp(-tm / 260),
78 note tm the milliseconds since the merger. Then the hole fades from 12900 to 15200 by
79 note 1 - smooth(prog(t, 12900, 15200)); night.c also shrinks the shadow by the square of that fade,
80 note and the page folds that into the fade. ALLEN_SKY_SCIENCE.md section 4 calls the ringdown an
81 note illustration on a wrong timescale: the real mode is 250 Hz and is gone in about two cycles,
82 note and the picture slows the period 24 times and the decay 65 times.
83 note
84 note The ripple, 12000 to 15600: one circle from the merge point out to 1000 units, which is far
85 note enough to cross a 1280 wide band from the stage's place in it. Its opacity is the envelope
86 note smooth(prog(tr, 0, 220)) (1 - smooth(prog(tr, 2160, 3600))) scaled to 0.35, which is the shape
87 note and the size of night.c's ripple_light (it peaks at 46 of 256). ALLEN_SKY_SCIENCE.md section 4
88 note calls the wave across the sky an illustration: the real strain is 1e-21 and it is not light.
89 note The page draws the ripple as a circle; night.c also stretches it along the line the pair last
90 note lay on, which a transform only scene cannot do.
91 note
92 note Every animated property below is transform or opacity, so the compositor runs the whole
93 note sequence without layout. Each keyframe stop carries its sample time as a percentage of the
94 note 19000 ms cycle, and the ms of the timeline are also in the data attributes and in the comment
95 note the emitted style block starts with, so scripts/test-hive-cosmic.py can recompute the same law
96 note in Python and compare every stop with it.
97 note The emitted style block also carries the wiring, inside a prefers-reduced-motion media query and
98 note behind the native motion checkbox, so with motion off elements keep their base state:
99 note one representative frame, the two holes at a visible separation, no merged hole, no ripple.
100
101 text meta "
|01 / Signal|
|Source and freshness|
|This page reads the edge-rendered public board. It never assumes it can see every agent.|
||
|02 / Missions|
|Current missions|
|One disclosure per branch. A status describes the agent's reported state, not a measure of progress.|
|
|
|03 / Manifest|
|Selected mission|
|Runtime observations, not GitHub receipts or proof that a task succeeded.|
|
|
|04 / Agent responses|
|What the agents are saying, live|
|Each agent's final reply at the end of a turn, in time order, inside one publication window. Human messages are never published, and text an agent quotes from one is withheld. Hidden reasoning, tool payloads and automatic context are not shown.||
|"
102
103 text noteend "
\n"
104
105 text lineend "\n"
106
107 text page1a "
\n\n\n\n"
108
109 text page1b "
An open observatory, written in Omega
\n
The hive.
\n
Drake. A constellation of agents. Real work, unfolding in the open.
\n
Watch the agents build, question, get things wrong and try again. You do not need to know how any of this works to begin.
Coverage is not yet known. This view can be partial and it says so.
\n
\n"
114
115 text tree1 "
\n
\n\n\n
\n\n
\n"
116
117 text tree2 "
No snapshot received yet. The last useful observation stays here if the connection drops.
\n
\n"
118
119 text man1 "
Choose any root or nested agent. Its exact model, task and source times appear here.
\n
No agent selected yet. This panel fills from the row you choose.
\n"
120
121 text man2 "\n"
122
123 text chat1 "
\n\n\n
\n\n
No published live message for this view yet.
\n"
124
125 text chat2 "\n
This is work in progress, including mistakes and failures. Agent replies are not verified project outcomes.
\n"
126
127 text page2 "
\n\n\n"
128
129
130 text pageend "
\n"
131
132 text tkhd ""
147
148 text tminus "-"
149 text tdot "."
150 text tme "em,"
151 text tme2 "em,0)}"
152 text tme3 "em,0)\""
153 text ttr "%{transform:translate3d("
154 text tsty "style=\"transform:translate3d("
155 text tsp "%{transform:scale("
156 text tso "%{opacity:"
157 text tcs ");opacity:"
158 text tcl ")}"
159 text tcl2 "}"
160
161 text scna "
"
164
165 global digs uchar 24
166 global gx f64 1
167 global gy f64 1
168
169
170 fn dig v ulong to void
171 c = uchar v
172 put digs 0 uchar add 48 c
173 q = write 1 digs 0 1
174 end
175
176 fn unum v ulong to void
177 p = ulong 10000
178 k = false
179 while gt p 0 bound 20
180 d = div v p
181 if or k ne d 0
182 dig d
183 k = true
184 v = rem v p
185 end
186 p = div p 10
187 end
188 if not k
189 dig 0
190 end
191 end
192
193 fn num v f64 to void
194 c = ulong mul add (fabs v) 0.005 100.0
195 if and lt v 0.0 gt c 0
196 q = write 1 tminus 0 1
197 end
198 unum div c 100
199 q = write 1 tdot 0 1
200 f = rem c 100
201 dig div f 10
202 dig rem f 10
203 end
204
205 fn pct t ulong to void
206 n = div mul t `1000000` 19000
207 unum div n 10000
208 q = write 1 tdot 0 1
209 m = rem n 10000
210 dig div m 1000
211 dig rem div m 100 10
212 dig rem div m 10 10
213 dig rem m 10
214 end
215
216 fn sinp t f64 to f64
217 u = f64 -0.`00000002505210838544172`
218 u = add 0.`0000027557319223985893` (mul t mul t u)
219 u = add -0.`0001984126984126984` (mul t mul t u)
220 u = add 0.`008333333333333333` (mul t mul t u)
221 u = add -0.`16666666666666666` (mul t mul t u)
222 u = add 1.0 mul t mul t u
223 ret mul t u
224 end
225
226 fn cosp t f64 to f64
227 u = f64 0.`00000000208767569878681`
228 u = add -0.`00000027557319223985893` (mul t mul t u)
229 u = add 0.`0000248015873015873` (mul t mul t u)
230 u = add -0.`001388888888888889` (mul t mul t u)
231 u = add 0.`041666666666666664` (mul t mul t u)
232 u = add -0.5 mul t mul t u
233 ret add 1.0 mul t mul t u
234 end
235
236 fn quad a f64 to f64
237 while ge a 1.0 bound 100
238 a = sub a 1.0
239 end
240 while lt a 0.0 bound 100
241 a = add a 1.0
242 end
243 k = ulong mul a 4.0
244 f = mul sub mul a 4.0 (f64 k) 1.`5707963267948966`
245 if eq k 0
246 ret sinp f
247 end
248 if eq k 1
249 ret cosp f
250 end
251 if eq k 2
252 ret neg sinp f
253 end
254 ret neg cosp f
255 end
256
257 fn sepr t f64 to f64
258 if lt t 6000.0
259 ret 270.0
260 end
261 l = div sub 12000.0 t 6000.0
262 if lt l 0.0
263 l = 0.0
264 end
265 r = fsqrt fsqrt fsqrt l
266 ret mul 270.0 mul r r
267 end
268
269 fn angr t f64 to f64
270 if lt t 2600.0
271 ret 0.0
272 end
273 if lt t 6000.0
274 ret div sub t 2600.0 5200.0
275 end
276 l = div sub 12000.0 t 6000.0
277 if lt l 0.0
278 l = 0.0
279 end
280 r = fsqrt fsqrt fsqrt l
281 q = mul r r
282 w = mul mul q q r
283 ret add 0.`653839111328125` mul 1.`8461456298828125` sub 1.0 w
284 end
285
286 fn xyc t ulong sg long to void
287 tt = f64 t
288 s = sepr tt
289 a = angr tt
290 x = mul mul 0.5 s (quad add a 0.25)
291 y = mul mul 0.25 s (quad a)
292 if lt sg 0
293 x = neg x
294 y = neg y
295 end
296 put gx 0 x
297 put gy 0 y
298 end
299
300 fn kpos t ulong sg long to void
301 pct t
302 q = write 1 ttr 0 len ttr
303 xyc t sg
304 num get gx 0
305 q = write 1 tme 0 len tme
306 num get gy 0
307 q = write 1 tme2 0 len tme2
308 end
309
310 fn kbas t ulong sg long to void
311 q = write 1 tsty 0 len tsty
312 xyc t sg
313 num get gx 0
314 q = write 1 tme 0 len tme
315 num get gy 0
316 q = write 1 tme3 0 len tme3
317 end
318
319 fn smth u ulong to ulong
320 v = u
321 if gt v 256
322 v = 256
323 end
324 ret div mul mul v v sub 768 mul 2 v 65536
325 end
326
327 fn prog t ulong a ulong b ulong to ulong
328 if le t a
329 ret 0
330 end
331 if ge t b
332 ret 256
333 end
334 ret div mul sub t a 256 sub b a
335 end
336
337 fn fsc t ulong v f64 to void
338 pct t
339 q = write 1 tsp 0 len tsp
340 num v
341 q = write 1 tcl 0 len tcl
342 end
343
344 fn fop t ulong v f64 to void
345 pct t
346 q = write 1 tso 0 len tso
347 num v
348 q = write 1 tcl2 0 len tcl2
349 end
350
351 fn fscop t ulong s f64 o f64 to void
352 pct t
353 q = write 1 tsp 0 len tsp
354 num s
355 q = write 1 tcs 0 len tcs
356 num o
357 q = write 1 tcl2 0 len tcl2
358 end
359
360 fn frse t ulong a ulong b ulong to void
361 pct t
362 q = write 1 tsp 0 len tsp
363 num div (f64 smth prog t a b) 256.0
364 q = write 1 tcl 0 len tcl
365 end
366
367 fn fopa t ulong a ulong b ulong to void
368 pct t
369 q = write 1 tso 0 len tso
370 num div (f64 smth prog t a b) 256.0
371 q = write 1 tcl2 0 len tcl2
372 end
373
374 fn fopb t ulong a ulong b ulong to void
375 pct t
376 q = write 1 tso 0 len tso
377 num sub 1.0 div (f64 smth prog t a b) 256.0
378 q = write 1 tcl2 0 len tcl2
379 end
380
381 fn exneg z f64 to f64
382 u = neg div z 64.0
383 s = add 1.0 u
384 p = mul u u
385 s = add s div p 2.0
386 p = mul p u
387 s = add s div p 6.0
388 p = mul p u
389 s = add s div p 24.0
390 p = mul p u
391 s = add s div p 120.0
392 p = mul p u
393 s = add s div p 720.0
394 k = ulong 0
395 while lt k 6 bound 10
396 s = mul s s
397 k = add k 1
398 end
399 ret s
400 end
401
402 fn wob t ulong to f64
403 tm = f64 sub t 12000
404 ret mul 0.07 mul (quad div tm 95.0) (exneg div tm 260.0)
405 end
406
407 fn msiz t ulong to void
408 tm = sub t 12000
409 pct t
410 q = write 1 tsp 0 len tsp
411 num add 1.`26171875` mul 0.`73828125` div (f64 smth prog tm 0 180) 256.0
412 q = write 1 tcl 0 len tcl
413 end
414
415 fn mring t ulong to void
416 pct t
417 q = write 1 tsp 0 len tsp
418 num add 1.0 wob t
419 q = write 1 tcl 0 len tcl
420 end
421
422 fn krpp t ulong to void
423 tr = ulong 0
424 if gt t 12000
425 tr = sub t 12000
426 end
427 pct t
428 q = write 1 tsp 0 len tsp
429 num div mul 1000.0 (f64 tr) 3600.0
430 q = write 1 tcs 0 len tcs
431 num mul 0.35 div (f64 mul (smth prog tr 0 220) (sub 256 (smth prog tr 2160 3600))) 65536.0
432 q = write 1 tcl2 0 len tcl2
433 end
434
435 fn kfpa to void
436 q = write 1 tkpa 0 len tkpa
437 kpos 0 1
438 t = ulong 2600
439 while le t 12000 bound 400
440 kpos t 1
441 t = add t 40
442 end
443 kpos 19000 1
444 q = write 1 tbrc 0 1
445 end
446
447 fn kfpb to void
448 q = write 1 tkpb 0 len tkpb
449 kpos 0 -1
450 t = ulong 2600
451 while le t 12000 bound 400
452 kpos t -1
453 t = add t 40
454 end
455 kpos 19000 -1
456 q = write 1 tbrc 0 1
457 end
458
459 fn kfben to void
460 q = write 1 tkbnd 0 len tkbnd
461 fop 0 0.0
462 fopa 2600 2600 5200
463 t = ulong 2700
464 while le t 5100 bound 60
465 fopa t 2600 5200
466 t = add t 100
467 end
468 fopa 5200 2600 5200
469 fop 11999 1.0
470 fop 12000 0.0
471 fop 19000 0.0
472 q = write 1 tbrc 0 1
473 end
474
475 fn kfsiz to void
476 q = write 1 tksiz 0 len tksiz
477 fsc 0 0.0
478 fsc 4000 0.0
479 t = ulong 4100
480 while le t 6000 bound 30
481 frse t 4000 6000
482 t = add t 100
483 end
484 fsc 11999 1.0
485 fsc 12000 0.0
486 fsc 19000 0.0
487 q = write 1 tbrc 0 1
488 end
489
490 fn kfmsz to void
491 q = write 1 tkmsz 0 len tkmsz
492 fsc 0 0.0
493 fsc 11999 0.0
494 msiz 12000
495 t = ulong 12010
496 while le t 12400 bound 60
497 msiz t
498 t = add t 10
499 end
500 t = ulong 12440
501 while le t 15200 bound 80
502 msiz t
503 t = add t 40
504 end
505 fsc 19000 0.0
506 q = write 1 tbrc 0 1
507 end
508
509 fn kfmrg to void
510 q = write 1 tkmrg 0 len tkmrg
511 fsc 0 1.0
512 fsc 11999 1.0
513 mring 12000
514 t = ulong 12010
515 while le t 12400 bound 60
516 mring t
517 t = add t 10
518 end
519 t = ulong 12440
520 while le t 15200 bound 80
521 mring t
522 t = add t 40
523 end
524 fsc 19000 1.0
525 q = write 1 tbrc 0 1
526 end
527
528 fn kfmkp to void
529 q = write 1 tkmkp 0 len tkmkp
530 fop 0 0.0
531 fop 11999 0.0
532 fop 12000 1.0
533 fopb 12900 12900 15200
534 t = ulong 13000
535 while le t 15200 bound 30
536 fopb t 12900 15200
537 t = add t 100
538 end
539 fop 19000 0.0
540 q = write 1 tbrc 0 1
541 end
542
543 fn kfrpp to void
544 q = write 1 tkrpp 0 len tkrpp
545 fscop 0 0.0 0.0
546 fscop 11999 0.0 0.0
547 t = ulong 12000
548 while le t 15600 bound 60
549 krpp t
550 t = add t 100
551 end
552 fscop 19000 1000.0 0.0
553 q = write 1 tbrc 0 1
554 end
555
556 fn scene to void
557 q = write 1 tkhd 0 len tkhd
558 kfpa
559 kfpb
560 kfben
561 kfsiz
562 kfmsz
563 kfmrg
564 kfmkp
565 kfrpp
566 q = write 1 tkmed 0 len tkmed
567 q = write 1 tkwir 0 len tkwir
568 q = write 1 tkend 0 len tkend
569 q = write 1 scna 0 len scna
570 kbas 7000 1
571 q = write 1 scnb 0 len scnb
572 kbas 7000 -1
573 q = write 1 scnc 0 len scnc
574 end
575
576 fn fieldend p ulong to ulong
577 i = p
578 while lt i len meta
579 c = get meta i
580 if eq c 124
581 ret i
582 end
583 if eq c 10
584 ret i
585 end
586 i = add i 1
587 end
588 ret len meta
589 end
590
591 fn emit a ulong b ulong to void
592 for i ulong sub b a
593 byteput get meta add a i
594 end
595 flush
596 end
597
598 fn fld p ulong to ulong
599 a = p
600 b = fieldend a
601 emit a b
602 ret add b 1
603 end
604
605 fn secthead p ulong to ulong
606 q = fld p
607 q = fld q
608 q = fld q
609 q = fld q
610 q = fld q
611 q = fld q
612 n = write 1 noteend 0 len noteend
613 if lt n 0
614 trap 3
615 end
616 q = fld q
617 ret q
618 end
619
620 fn sec_signal to void
621 n = render_sig1
622 if lt n 0
623 trap 3
624 end
625 n = render_sig2
626 if lt n 0
627 trap 3
628 end
629 end
630
631 fn sec_tree to void
632 n = render_tree1
633 if lt n 0
634 trap 3
635 end
636 n = render_tree2
637 if lt n 0
638 trap 3
639 end
640 end
641
642 fn sec_manifest to void
643 n = render_man1
644 if lt n 0
645 trap 3
646 end
647 n = render_man2
648 if lt n 0
649 trap 3
650 end
651 end
652
653 fn sec_chat to void
654 n = render_chat1
655 if lt n 0
656 trap 3
657 end
658 n = render_chat2
659 if lt n 0
660 trap 3
661 end
662 end
663
664 fn body k uchar to void
665 if eq k 0
666 sec_signal
667 ret
668 end
669 if eq k 1
670 sec_tree
671 ret
672 end
673 if eq k 2
674 sec_manifest
675 ret
676 end
677 if eq k 3
678 sec_chat
679 ret
680 end
681 end
682
683 fn main to int
684 put target 0 1
685 n = render_page1a
686 if lt n 0
687 trap 3
688 end
689 scene
690 n = write 1 page1b 0 len page1b
691 if lt n 0
692 trap 3
693 end
694 p = ulong 0
695 k = uchar 0
696 while lt p len meta
697 p = secthead p
698 body k
699 p = fld p
700 n = write 1 lineend 0 len lineend
701 if lt n 0
702 trap 3
703 end
704 k = add k 1
705 end
706 n = write 1 page2 0 len page2
707 if lt n 0
708 trap 3
709 end
710 n = write 1 pageend 0 len pageend
711 if lt n 0
712 trap 3
713 end
714 javascript
715 ret 0
716 end
717
718 fn render_page1a to long
719 for i ulong len page1a
720 byteput get page1a i
721 end
722 flush
723 ret long len page1a
724 end
725
726 fn render_sig1 to long
727 for i ulong len sig1
728 byteput get sig1 i
729 end
730 flush
731 ret long len sig1
732 end
733
734 fn render_sig2 to long
735 for i ulong len sig2
736 byteput get sig2 i
737 end
738 flush
739 ret long len sig2
740 end
741
742 fn render_tree1 to long
743 for i ulong len tree1
744 byteput get tree1 i
745 end
746 flush
747 ret long len tree1
748 end
749
750 fn render_tree2 to long
751 for i ulong len tree2
752 byteput get tree2 i
753 end
754 flush
755 ret long len tree2
756 end
757
758 fn render_man1 to long
759 for i ulong len man1
760 byteput get man1 i
761 end
762 flush
763 ret long len man1
764 end
765
766 fn render_man2 to long
767 for i ulong len man2
768 byteput get man2 i
769 end
770 flush
771 ret long len man2
772 end
773
774 fn render_chat1 to long
775 for i ulong len chat1
776 byteput get chat1 i
777 end
778 flush
779 ret long len chat1
780 end
781
782 fn render_chat2 to long
783 for i ulong len chat2
784 byteput get chat2 i
785 end
786 flush
787 ret long len chat2
788 end
789