up: 1
authors: [~rovnys-ricfer(ted@tlon.io), ~pittyp-datfun(anton@tlon.io)]
%ford
is urbit's build system. It's one of the seven kernel modules (vane
s)
:: | |
:::: it's a trap! | |
:: | |
!= | |
=/ a 3 | |
|. | |
?: =(a 5) | |
a | |
$(a +(a)) | |
:: |
:: :- :* title+"urbit-flavored markdown docs" | |
:: author+"ted blackman" | |
:: date+~2017.8.25 | |
:: == | |
:: | |
;> | |
# udon: urbit-flavored markdown | |
## overview |
set nocompatible | |
set encoding=utf-8 | |
let mapleader = " " | |
" Vundle stuff | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'gmarik/Vundle.vim' |
Title: Urbit Fleet Tests Author: Ted Blackman ~rovnys-ricfer ted@tlon.io Created: ~2017.12.14
After a month of labor, Tlon gave birth to a new continuity era, which came out kicking and screaming, covered in amniotic fluid. A slew of issues rapidly appeared in the wild. We'd tested the functionality of the new features, but we hadn't stress-tested them. Some bugs, like herpes, only manifest when the system is under stress.
We need a way to perform automated testing on a fleet of Urbits. We'll want to crank up the load to arbitrary severity while retaining the ability to measure results -- crucially, we want to improve our sleep quality by testing loads much worse than the live network.
/? 310 | |
:: | |
:: models | |
:: | |
|% | |
+= move (pair bone card) | |
+= card [%wait wire p=@da] | |
-- | |
:: | |
:: main app door |
/? 310 | |
:: | |
|_ [delta=@dr message=@t] | |
++ grab | |
|% | |
+= noun [delta=@dr message=@t] | |
-- | |
-- |
A noun is an atom or a cell. An atom is a natural number. A cell is an ordered pair of nouns. | |
Reduce by the first matching pattern; variables match any noun. | |
nock(a) *a | |
[a b c] [a [b c]] | |
?[a b] 0 | |
?a 1 | |
+[a b] +[a b] |