> A clean API that exposes solid, composable abstractions and has an ergonomic interface facilitates productivity much more than an API with leaky abstractions and a finicky or fiddly interface. The Urbit operating system exposes several such interfaces, and they should all be high-quality. roadmap
https://socryn-pinfeb.ve3.info/~/login?redirect=/ A federated wiki dom could be implemented as a gall agent to federate Eyre's %channel interface. HEIGHT 420
Moon clients can read and write various services through various protocols (http, https, protocol proxies, and browser local storage). Planet servers can fetch pages from anywhere in the federation but are responsible for ensuring the trust boundaries respected by the browser.
index
Other content, such as animation, can be wrapped to a web browser and hosted using assets. Let's draw a Monte Carlo:
<canvas id="canvas" width="360" height="360">
We'll draw the points on a square html <canvas> large enough to show well on the page.
x = rnd() y = rnd() if(x*x + y*y <= 1*1) ...
We use a 2d api which has functions for choosing colors and drawing dots.
for (let i=0; i<1000000; i++) { if(0 == i%1000) { window.report.innerText = red/i*4 await frame() } }
https://uvp.viki.wiki/assets/circle/circle.html HEIGHT 420
circle
We simulate a micro economy where tom, dick and harry
are makers and users of stuff in a producer-consumer relationship.
github
Script logic creates nodes that run infinite loops trading Money for stuff.
As nodes trade with each other they also report to a function that reports state and accumulated flows. [⇒ Accumulation]
We visualize total cash flows between the people and the organizations that represent costs for makers and reliable income for the users.
//wiki.ralfbarkow.ch/assets/pages/demo-sim--viz/demo.html HEIGHT 450
simulation