Artifact
0ed3312820dd74134c296a117343595d03fdabd4 :
File
doc/34c3-presentation.fs
— part of check-in
[c35023502d]
at
2019-02-15 18:47:22
on branch trunk
— Make 34c3-presentation play again
(user:
bernd
size: 18914)
0000: 5c 20 50 72 65 73 65 6e 74 61 74 69 6f 6e 20 6f \ Presentation o
0010: 6e 20 ce 9c ce 99 ce 9d ce a9 ce a3 32 20 6d 61 n ΜΙΝΩΣ2 ma
0020: 64 65 20 69 6e 20 ce 9c ce 99 ce 9d ce a9 ce a3 de in ΜΙΝΩΣ
0030: 32 0a 0a 5c 20 43 6f 70 79 72 69 67 68 74 20 28 2..\ Copyright (
0040: 43 29 20 32 30 31 38 20 42 65 72 6e 64 20 50 61 C) 2018 Bernd Pa
0050: 79 73 61 6e 0a 0a 0a 5c 20 54 68 69 73 20 70 72 ysan...\ This pr
0060: 6f 67 72 61 6d 20 69 73 20 66 72 65 65 20 73 6f ogram is free so
0070: 66 74 77 61 72 65 3a 20 79 6f 75 20 63 61 6e 20 ftware: you can
0080: 72 65 64 69 73 74 72 69 62 75 74 65 20 69 74 20 redistribute it
0090: 61 6e 64 2f 6f 72 20 6d 6f 64 69 66 79 0a 5c 20 and/or modify.\
00a0: 69 74 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 it under the ter
00b0: 6d 73 20 6f 66 20 74 68 65 20 47 4e 55 20 41 66 ms of the GNU Af
00c0: 66 65 72 6f 20 47 65 6e 65 72 61 6c 20 50 75 62 fero General Pub
00d0: 6c 69 63 20 4c 69 63 65 6e 73 65 20 61 73 20 70 lic License as p
00e0: 75 62 6c 69 73 68 65 64 20 62 79 0a 5c 20 74 68 ublished by.\ th
00f0: 65 20 46 72 65 65 20 53 6f 66 74 77 61 72 65 20 e Free Software
0100: 46 6f 75 6e 64 61 74 69 6f 6e 2c 20 65 69 74 68 Foundation, eith
0110: 65 72 20 76 65 72 73 69 6f 6e 20 33 20 6f 66 20 er version 3 of
0120: 74 68 65 20 4c 69 63 65 6e 73 65 2c 20 6f 72 0a the License, or.
0130: 5c 20 28 61 74 20 79 6f 75 72 20 6f 70 74 69 6f \ (at your optio
0140: 6e 29 20 61 6e 79 20 6c 61 74 65 72 20 76 65 72 n) any later ver
0150: 73 69 6f 6e 2e 0a 0a 5c 20 54 68 69 73 20 70 72 sion...\ This pr
0160: 6f 67 72 61 6d 20 69 73 20 64 69 73 74 72 69 62 ogram is distrib
0170: 75 74 65 64 20 69 6e 20 74 68 65 20 68 6f 70 65 uted in the hope
0180: 20 74 68 61 74 20 69 74 20 77 69 6c 6c 20 62 65 that it will be
0190: 20 75 73 65 66 75 6c 2c 0a 5c 20 62 75 74 20 57 useful,.\ but W
01a0: 49 54 48 4f 55 54 20 41 4e 59 20 57 41 52 52 41 ITHOUT ANY WARRA
01b0: 4e 54 59 3b 20 77 69 74 68 6f 75 74 20 65 76 65 NTY; without eve
01c0: 6e 20 74 68 65 20 69 6d 70 6c 69 65 64 20 77 61 n the implied wa
01d0: 72 72 61 6e 74 79 20 6f 66 0a 5c 20 4d 45 52 43 rranty of.\ MERC
01e0: 48 41 4e 54 41 42 49 4c 49 54 59 20 6f 72 20 46 HANTABILITY or F
01f0: 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 52 ITNESS FOR A PAR
0200: 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 2e TICULAR PURPOSE.
0210: 20 20 53 65 65 20 74 68 65 0a 5c 20 47 4e 55 20 See the.\ GNU
0220: 41 66 66 65 72 6f 20 47 65 6e 65 72 61 6c 20 50 Affero General P
0230: 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 66 6f ublic License fo
0240: 72 20 6d 6f 72 65 20 64 65 74 61 69 6c 73 2e 0a r more details..
0250: 0a 5c 20 59 6f 75 20 73 68 6f 75 6c 64 20 68 61 .\ You should ha
0260: 76 65 20 72 65 63 65 69 76 65 64 20 61 20 63 6f ve received a co
0270: 70 79 20 6f 66 20 74 68 65 20 47 4e 55 20 41 66 py of the GNU Af
0280: 66 65 72 6f 20 47 65 6e 65 72 61 6c 20 50 75 62 fero General Pub
0290: 6c 69 63 20 4c 69 63 65 6e 73 65 0a 5c 20 61 6c lic License.\ al
02a0: 6f 6e 67 20 77 69 74 68 20 74 68 69 73 20 70 72 ong with this pr
02b0: 6f 67 72 61 6d 2e 20 20 49 66 20 6e 6f 74 2c 20 ogram. If not,
02c0: 73 65 65 20 3c 68 74 74 70 3a 2f 2f 77 77 77 2e see <http://www.
02d0: 67 6e 75 2e 6f 72 67 2f 6c 69 63 65 6e 73 65 73 gnu.org/licenses
02e0: 2f 3e 2e 0a 0a 72 65 71 75 69 72 65 20 6d 69 6e />...require min
02f0: 6f 73 32 2f 77 69 64 67 65 74 73 2e 66 73 0a 0a os2/widgets.fs..
0300: 5b 49 46 44 45 46 5d 20 61 6e 64 72 6f 69 64 0a [IFDEF] android.
0310: 20 20 20 20 68 69 64 65 6b 62 20 61 6c 73 6f 20 hidekb also
0320: 61 6e 64 72 6f 69 64 20 3e 63 68 61 6e 67 65 64 android >changed
0330: 20 68 69 64 65 73 74 61 74 75 73 20 3e 63 68 61 hidestatus >cha
0340: 6e 67 65 64 20 70 72 65 76 69 6f 75 73 0a 5b 54 nged previous.[T
0350: 48 45 4e 5d 0a 0a 61 6c 73 6f 20 6d 69 6e 6f 73 HEN]..also minos
0360: 0a 0a 63 74 78 20 30 3d 20 5b 49 46 5d 20 20 77 ..ctx 0= [IF] w
0370: 69 6e 64 6f 77 2d 69 6e 69 74 20 20 5b 54 48 45 indow-init [THE
0380: 4e 5d 0a 0a 72 65 71 75 69 72 65 20 6d 69 6e 6f N]..require mino
0390: 73 32 2f 66 6f 6e 74 2d 73 74 79 6c 65 2e 66 73 s2/font-style.fs
03a0: 0a 0a 3a 20 75 70 64 61 74 65 2d 73 69 7a 65 23 ..: update-size#
03b0: 20 28 20 2d 2d 20 29 0a 20 20 20 20 64 70 79 2d ( -- ). dpy-
03c0: 77 20 40 20 73 3e 66 20 34 34 65 20 66 2f 20 66 w @ s>f 44e f/ f
03d0: 72 6f 75 6e 64 20 74 6f 20 66 6f 6e 74 2d 73 69 round to font-si
03e0: 7a 65 23 0a 20 20 20 20 66 6f 6e 74 2d 73 69 7a ze#. font-siz
03f0: 65 23 20 31 36 65 20 66 2f 20 6d 32 63 3a 63 75 e# 16e f/ m2c:cu
0400: 72 6d 69 6e 77 69 64 74 68 25 20 66 21 0a 20 20 rminwidth% f!.
0410: 20 20 64 70 79 2d 68 20 40 20 73 3e 66 20 64 70 dpy-h @ s>f dp
0420: 79 2d 77 20 40 20 73 3e 66 20 66 2f 20 34 35 25 y-w @ s>f f/ 45%
0430: 20 66 2f 20 66 6f 6e 74 2d 73 69 7a 65 23 20 66 f/ font-size# f
0440: 2a 20 66 72 6f 75 6e 64 20 74 6f 20 62 61 73 65 * fround to base
0450: 6c 69 6e 65 23 0a 20 20 20 20 64 70 79 2d 77 20 line#. dpy-w
0460: 40 20 73 3e 66 20 31 32 38 30 65 20 66 2f 20 74 @ s>f 1280e f/ t
0470: 6f 20 70 69 78 65 6c 73 69 7a 65 23 20 3b 0a 0a o pixelsize# ;..
0480: 75 70 64 61 74 65 2d 73 69 7a 65 23 0a 0a 72 65 update-size#..re
0490: 71 75 69 72 65 20 6d 69 6e 6f 73 32 2f 74 65 78 quire minos2/tex
04a0: 74 2d 73 74 79 6c 65 2e 66 73 0a 0a 56 61 72 69 t-style.fs..Vari
04b0: 61 62 6c 65 20 73 6c 69 64 65 73 5b 5d 0a 56 61 able slides[].Va
04c0: 72 69 61 62 6c 65 20 73 6c 69 64 65 23 0a 0a 30 riable slide#..0
04d0: 20 56 61 6c 75 65 20 6e 32 2d 69 6d 67 0a 30 20 Value n2-img.0
04e0: 56 61 6c 75 65 20 6d 32 2d 69 6d 67 0a 30 20 56 Value m2-img.0 V
04f0: 61 6c 75 65 20 24 71 2d 69 6d 67 0a 0a 35 20 43 alue $q-img..5 C
0500: 6f 6e 73 74 61 6e 74 20 6e 2f 6d 2d 73 77 69 74 onstant n/m-swit
0510: 63 68 0a 31 30 20 43 6f 6e 73 74 61 6e 74 20 6d ch.10 Constant m
0520: 2f 24 2d 73 77 69 74 63 68 0a 0a 67 6c 75 65 20 /$-switch..glue
0530: 27 20 6e 65 77 20 73 74 61 74 69 63 2d 61 20 77 ' new static-a w
0540: 69 74 68 2d 61 6c 6c 6f 63 61 74 65 72 20 43 6f ith-allocater Co
0550: 6e 73 74 61 6e 74 20 67 6c 75 65 2d 6c 65 66 74 nstant glue-left
0560: 0a 67 6c 75 65 20 27 20 6e 65 77 20 73 74 61 74 .glue ' new stat
0570: 69 63 2d 61 20 77 69 74 68 2d 61 6c 6c 6f 63 61 ic-a with-alloca
0580: 74 65 72 20 43 6f 6e 73 74 61 6e 74 20 67 6c 75 ter Constant glu
0590: 65 2d 72 69 67 68 74 0a 0a 3a 20 3e 73 6c 69 64 e-right..: >slid
05a0: 65 73 20 28 20 6f 20 2d 2d 20 29 20 73 6c 69 64 es ( o -- ) slid
05b0: 65 73 5b 5d 20 3e 73 74 61 63 6b 20 3b 0a 0a 3a es[] >stack ;..:
05c0: 20 67 6c 75 65 30 20 28 20 2d 2d 20 29 20 30 65 glue0 ( -- ) 0e
05d0: 20 66 64 75 70 0a 20 20 20 20 5b 20 67 6c 75 65 fdup. [ glue
05e0: 2d 6c 65 66 74 20 20 2e 68 67 6c 75 65 2d 63 20 -left .hglue-c
05f0: 5d 4c 20 64 66 21 0a 20 20 20 20 5b 20 67 6c 75 ]L df!. [ glu
0600: 65 2d 72 69 67 68 74 20 2e 68 67 6c 75 65 2d 63 e-right .hglue-c
0610: 20 5d 4c 20 64 66 21 20 3b 0a 3a 20 74 72 61 6e ]L df! ;.: tran
0620: 73 2d 66 72 61 6d 65 20 28 20 6f 20 2d 2d 20 29 s-frame ( o -- )
0630: 0a 20 20 20 20 3e 6f 20 74 72 61 6e 73 70 23 20 . >o transp#
0640: 74 6f 20 66 72 61 6d 65 2d 63 6f 6c 6f 72 20 6f to frame-color o
0650: 3e 20 3b 0a 3a 20 73 6f 6c 69 64 2d 66 72 61 6d > ;.: solid-fram
0660: 65 20 28 20 6f 20 2d 2d 20 29 0a 20 20 20 20 3e e ( o -- ). >
0670: 6f 20 77 68 69 74 65 23 20 74 6f 20 66 72 61 6d o white# to fram
0680: 65 2d 63 6f 6c 6f 72 20 6f 3e 20 3b 0a 3a 20 21 e-color o> ;.: !
0690: 73 6c 69 64 65 73 20 28 20 6e 70 72 65 76 20 6e slides ( nprev n
06a0: 20 2d 2d 20 29 0a 20 20 20 20 75 70 64 61 74 65 -- ). update
06b0: 2d 73 69 7a 65 23 20 75 70 64 61 74 65 2d 67 6c -size# update-gl
06c0: 75 65 0a 20 20 20 20 6f 76 65 72 20 73 6c 69 64 ue. over slid
06d0: 65 23 20 21 0a 20 20 20 20 73 6c 69 64 65 73 5b e# !. slides[
06e0: 5d 20 24 5b 5d 20 40 20 2f 66 6c 69 70 20 64 72 ] $[] @ /flip dr
06f0: 6f 70 0a 20 20 20 20 73 6c 69 64 65 73 5b 5d 20 op. slides[]
0700: 24 5b 5d 20 40 20 2f 66 6c 6f 70 20 64 72 6f 70 $[] @ /flop drop
0710: 20 67 6c 75 65 30 20 3b 0a 3a 20 66 61 64 65 2d glue0 ;.: fade-
0720: 69 6d 67 20 28 20 72 30 2e 2e 31 20 69 6d 67 31 img ( r0..1 img1
0730: 20 69 6d 67 32 20 2d 2d 20 29 20 3e 72 20 3e 72 img2 -- ) >r >r
0740: 0a 20 20 20 20 5b 20 77 68 69 74 69 73 68 20 78 . [ whitish x
0750: 2d 63 6f 6c 6f 72 20 31 65 20 66 2b 20 5d 20 46 -color 1e f+ ] F
0760: 6c 69 74 65 72 61 6c 20 66 6f 76 65 72 20 66 2d literal fover f-
0770: 0a 20 20 20 20 72 3e 20 3e 6f 20 74 6f 20 66 72 . r> >o to fr
0780: 61 6d 65 2d 63 6f 6c 6f 72 20 70 61 72 65 6e 74 ame-color parent
0790: 2d 77 20 2e 70 61 72 65 6e 74 2d 77 20 2f 66 6c -w .parent-w /fl
07a0: 6f 70 20 64 72 6f 70 20 6f 3e 0a 20 20 20 20 5b op drop o>. [
07b0: 20 77 68 69 74 69 73 68 20 78 2d 63 6f 6c 6f 72 whitish x-color
07c0: 20 5d 20 46 6c 69 74 65 72 61 6c 20 66 2b 0a 20 ] Fliteral f+.
07d0: 20 20 20 72 3e 20 3e 6f 20 74 6f 20 66 72 61 6d r> >o to fram
07e0: 65 2d 63 6f 6c 6f 72 20 70 61 72 65 6e 74 2d 77 e-color parent-w
07f0: 20 2e 70 61 72 65 6e 74 2d 77 20 2f 66 6c 6f 70 .parent-w /flop
0800: 20 64 72 6f 70 20 6f 3e 20 3b 0a 3a 20 61 6e 69 drop o> ;.: ani
0810: 6d 21 73 6c 69 64 65 73 20 28 20 72 30 2e 2e 31 m!slides ( r0..1
0820: 20 6e 20 2d 2d 20 29 0a 20 20 20 20 73 6c 69 64 n -- ). slid
0830: 65 73 5b 5d 20 24 5b 5d 20 40 20 2f 66 6c 6f 70 es[] $[] @ /flop
0840: 20 64 72 6f 70 0a 20 20 20 20 66 64 75 70 20 66 drop. fdup f
0850: 6e 65 67 61 74 65 20 64 70 79 2d 77 20 40 20 66 negate dpy-w @ f
0860: 6d 2a 20 67 6c 75 65 2d 6c 65 66 74 20 20 2e 68 m* glue-left .h
0870: 67 6c 75 65 2d 63 20 64 66 21 0a 20 20 20 20 2d glue-c df!. -
0880: 31 65 20 66 2b 20 20 20 20 20 20 20 64 70 79 2d 1e f+ dpy-
0890: 77 20 40 20 66 6d 2a 20 67 6c 75 65 2d 72 69 67 w @ fm* glue-rig
08a0: 68 74 20 2e 68 67 6c 75 65 2d 63 20 64 66 21 20 ht .hglue-c df!
08b0: 3b 0a 0a 3a 20 70 72 65 76 2d 61 6e 69 6d 20 28 ;..: prev-anim (
08c0: 20 6e 20 72 30 2e 2e 31 20 2d 2d 20 29 0a 20 20 n r0..1 -- ).
08d0: 20 20 64 75 70 20 30 3c 3d 20 49 46 20 20 64 72 dup 0<= IF dr
08e0: 6f 70 20 66 64 72 6f 70 20 20 45 58 49 54 20 20 op fdrop EXIT
08f0: 54 48 45 4e 0a 20 20 20 20 66 64 75 70 20 31 65 THEN. fdup 1e
0900: 20 66 3e 3d 20 49 46 20 20 66 64 72 6f 70 0a 09 f>= IF fdrop..
0910: 64 75 70 20 31 2d 20 73 77 61 70 20 21 73 6c 69 dup 1- swap !sli
0920: 64 65 73 20 2b 73 79 6e 63 20 2b 72 65 73 69 7a des +sync +resiz
0930: 65 20 20 45 58 49 54 0a 20 20 20 20 54 48 45 4e e EXIT. THEN
0940: 0a 20 20 20 20 31 65 20 66 73 77 61 70 20 66 2d . 1e fswap f-
0950: 0a 20 20 20 20 31 2d 20 73 69 6e 2d 74 20 61 6e . 1- sin-t an
0960: 69 6d 21 73 6c 69 64 65 73 20 2b 73 79 6e 63 20 im!slides +sync
0970: 2b 72 65 73 69 7a 65 20 3b 0a 0a 3a 20 6e 65 78 +resize ;..: nex
0980: 74 2d 61 6e 69 6d 20 28 20 6e 20 72 30 2e 2e 31 t-anim ( n r0..1
0990: 20 2d 2d 20 29 0a 20 20 20 20 64 75 70 20 73 6c -- ). dup sl
09a0: 69 64 65 73 5b 5d 20 24 5b 5d 23 20 31 2d 20 75 ides[] $[]# 1- u
09b0: 3e 3d 20 49 46 20 20 64 72 6f 70 20 66 64 72 6f >= IF drop fdro
09c0: 70 20 20 45 58 49 54 20 20 54 48 45 4e 0a 20 20 p EXIT THEN.
09d0: 20 20 66 64 75 70 20 31 65 20 66 3e 3d 20 49 46 fdup 1e f>= IF
09e0: 20 20 66 64 72 6f 70 0a 09 64 75 70 20 31 2b 20 fdrop..dup 1+
09f0: 73 77 61 70 20 21 73 6c 69 64 65 73 20 2b 73 79 swap !slides +sy
0a00: 6e 63 20 2b 72 65 73 69 7a 65 20 20 45 58 49 54 nc +resize EXIT
0a10: 0a 20 20 20 20 54 48 45 4e 0a 20 20 20 20 31 2b . THEN. 1+
0a20: 20 73 69 6e 2d 74 20 61 6e 69 6d 21 73 6c 69 64 sin-t anim!slid
0a30: 65 73 20 2b 73 79 6e 63 20 2b 72 65 73 69 7a 65 es +sync +resize
0a40: 20 3b 0a 0a 31 65 20 46 56 61 6c 75 65 20 73 6c ;..1e FValue sl
0a50: 69 64 65 2d 74 69 6d 65 25 0a 0a 3a 20 70 72 65 ide-time%..: pre
0a60: 76 2d 73 6c 69 64 65 20 28 20 2d 2d 20 29 0a 20 v-slide ( -- ).
0a70: 20 20 20 73 6c 69 64 65 2d 74 69 6d 65 25 20 61 slide-time% a
0a80: 6e 69 6d 73 5b 5d 20 24 40 6c 65 6e 20 49 46 20 nims[] $@len IF
0a90: 20 61 6e 69 6d 2d 65 6e 64 20 2e 32 65 20 66 2a anim-end .2e f*
0aa0: 20 20 54 48 45 4e 0a 20 20 20 20 73 6c 69 64 65 THEN. slide
0ab0: 23 20 40 20 5b 27 5d 20 70 72 65 76 2d 61 6e 69 # @ ['] prev-ani
0ac0: 6d 20 3e 61 6e 69 6d 61 74 65 20 3b 0a 3a 20 6e m >animate ;.: n
0ad0: 65 78 74 2d 73 6c 69 64 65 20 28 20 2d 2d 20 29 ext-slide ( -- )
0ae0: 0a 20 20 20 20 73 6c 69 64 65 2d 74 69 6d 65 25 . slide-time%
0af0: 20 61 6e 69 6d 73 5b 5d 20 24 40 6c 65 6e 20 49 anims[] $@len I
0b00: 46 20 20 61 6e 69 6d 2d 65 6e 64 20 2e 32 65 20 F anim-end .2e
0b10: 66 2a 20 20 54 48 45 4e 0a 20 20 20 20 73 6c 69 f* THEN. sli
0b20: 64 65 23 20 40 20 5b 27 5d 20 6e 65 78 74 2d 61 de# @ ['] next-a
0b30: 6e 69 6d 20 3e 61 6e 69 6d 61 74 65 20 3b 0a 0a nim >animate ;..
0b40: 3a 20 73 6c 69 64 65 2d 66 72 61 6d 65 20 28 20 : slide-frame (
0b50: 67 6c 75 65 20 63 6f 6c 6f 72 20 2d 2d 20 6f 20 glue color -- o
0b60: 29 0a 20 20 20 20 66 6f 6e 74 2d 73 69 7a 65 23 ). font-size#
0b70: 20 37 30 25 20 66 2a 20 7d 7d 66 72 61 6d 65 20 70% f* }}frame
0b80: 3b 0a 0a 62 6f 78 2d 61 63 74 6f 72 20 63 6c 61 ;..box-actor cla
0b90: 73 73 0a 20 20 20 20 5c 20 73 66 76 61 6c 75 65 ss. \ sfvalue
0ba0: 3a 20 73 2d 78 0a 20 20 20 20 5c 20 73 66 76 61 : s-x. \ sfva
0bb0: 6c 75 65 3a 20 73 2d 79 0a 20 20 20 20 5c 20 73 lue: s-y. \ s
0bc0: 66 76 61 6c 75 65 3a 20 6c 61 73 74 2d 78 0a 20 fvalue: last-x.
0bd0: 20 20 20 5c 20 73 66 76 61 6c 75 65 3a 20 6c 61 \ sfvalue: la
0be0: 73 74 2d 74 0a 20 20 20 20 5c 20 73 66 76 61 6c st-t. \ sfval
0bf0: 75 65 3a 20 73 70 65 65 64 0a 65 6e 64 2d 63 6c ue: speed.end-cl
0c00: 61 73 73 20 73 6c 69 64 65 2d 61 63 74 6f 72 0a ass slide-actor.
0c10: 0a 3a 6e 6f 6e 61 6d 65 20 28 20 61 78 69 73 20 .:noname ( axis
0c20: 64 69 72 20 2d 2d 20 29 20 6e 69 70 0a 20 20 20 dir -- ) nip.
0c30: 20 30 3c 20 49 46 20 20 70 72 65 76 2d 73 6c 69 0< IF prev-sli
0c40: 64 65 20 20 45 4c 53 45 20 20 6e 65 78 74 2d 73 de ELSE next-s
0c50: 6c 69 64 65 20 20 54 48 45 4e 20 3b 20 73 6c 69 lide THEN ; sli
0c60: 64 65 2d 61 63 74 6f 72 20 69 73 20 73 63 72 6f de-actor is scro
0c70: 6c 6c 65 64 0a 3a 6e 6f 6e 61 6d 65 20 28 20 72 lled.:noname ( r
0c80: 78 20 72 79 20 62 20 6e 20 2d 2d 20 29 20 20 64 x ry b n -- ) d
0c90: 75 70 20 31 20 61 6e 64 20 30 3d 20 49 46 0a 09 up 1 and 0= IF..
0ca0: 6f 76 65 72 20 24 38 20 20 61 6e 64 20 49 46 20 over $8 and IF
0cb0: 20 70 72 65 76 2d 73 6c 69 64 65 20 20 32 64 72 prev-slide 2dr
0cc0: 6f 70 20 66 64 72 6f 70 20 66 64 72 6f 70 20 20 op fdrop fdrop
0cd0: 45 58 49 54 20 20 54 48 45 4e 0a 09 6f 76 65 72 EXIT THEN..over
0ce0: 20 24 31 30 20 61 6e 64 20 49 46 20 20 6e 65 78 $10 and IF nex
0cf0: 74 2d 73 6c 69 64 65 20 20 32 64 72 6f 70 20 66 t-slide 2drop f
0d00: 64 72 6f 70 20 66 64 72 6f 70 20 20 45 58 49 54 drop fdrop EXIT
0d10: 20 20 54 48 45 4e 0a 09 6f 76 65 72 20 2d 24 32 THEN..over -$2
0d20: 20 61 6e 64 20 30 3d 20 49 46 0a 09 20 20 20 20 and 0= IF..
0d30: 66 6f 76 65 72 20 63 61 6c 6c 65 72 2d 77 20 3e fover caller-w >
0d40: 6f 20 78 20 66 2d 20 77 20 66 2f 20 6f 3e 0a 09 o x f- w f/ o>..
0d50: 20 20 20 20 66 64 75 70 20 30 2e 31 65 20 66 3c fdup 0.1e f<
0d60: 20 49 46 20 20 66 64 72 6f 70 20 20 32 64 72 6f IF fdrop 2dro
0d70: 70 20 66 64 72 6f 70 20 66 64 72 6f 70 20 20 70 p fdrop fdrop p
0d80: 72 65 76 2d 73 6c 69 64 65 20 20 45 58 49 54 0a rev-slide EXIT.
0d90: 09 20 20 20 20 45 4c 53 45 20 20 30 2e 39 65 20 . ELSE 0.9e
0da0: 66 3e 20 49 46 20 20 32 64 72 6f 70 20 66 64 72 f> IF 2drop fdr
0db0: 6f 70 20 66 64 72 6f 70 20 20 6e 65 78 74 2d 73 op fdrop next-s
0dc0: 6c 69 64 65 20 20 45 58 49 54 20 20 54 48 45 4e lide EXIT THEN
0dd0: 20 20 54 48 45 4e 0a 09 54 48 45 4e 20 20 54 48 THEN..THEN TH
0de0: 45 4e 0a 20 20 20 20 5b 20 62 6f 78 2d 61 63 74 EN. [ box-act
0df0: 6f 72 20 3a 3a 20 63 6c 69 63 6b 65 64 20 5d 20 or :: clicked ]
0e00: 3b 20 73 6c 69 64 65 2d 61 63 74 6f 72 20 74 6f ; slide-actor to
0e10: 20 63 6c 69 63 6b 65 64 0a 3a 6e 6f 6e 61 6d 65 clicked.:noname
0e20: 20 28 20 65 6b 65 79 20 2d 2d 20 29 0a 20 20 20 ( ekey -- ).
0e30: 20 63 61 73 65 0a 09 6b 2d 75 70 20 20 20 20 20 case..k-up
0e40: 20 6f 66 20 20 70 72 65 76 2d 73 6c 69 64 65 20 of prev-slide
0e50: 20 65 6e 64 6f 66 0a 09 6b 2d 64 6f 77 6e 20 20 endof..k-down
0e60: 20 20 6f 66 20 20 6e 65 78 74 2d 73 6c 69 64 65 of next-slide
0e70: 20 20 65 6e 64 6f 66 0a 09 6b 2d 70 72 69 6f 72 endof..k-prior
0e80: 20 20 20 6f 66 20 20 70 72 65 76 2d 73 6c 69 64 of prev-slid
0e90: 65 20 20 65 6e 64 6f 66 0a 09 6b 2d 6e 65 78 74 e endof..k-next
0ea0: 20 20 20 20 6f 66 20 20 6e 65 78 74 2d 73 6c 69 of next-sli
0eb0: 64 65 20 20 65 6e 64 6f 66 0a 09 6b 2d 76 6f 6c de endof..k-vol
0ec0: 75 70 20 20 20 6f 66 20 20 70 72 65 76 2d 73 6c up of prev-sl
0ed0: 69 64 65 20 20 65 6e 64 6f 66 0a 09 6b 2d 76 6f ide endof..k-vo
0ee0: 6c 64 6f 77 6e 20 6f 66 20 20 6e 65 78 74 2d 73 ldown of next-s
0ef0: 6c 69 64 65 20 20 65 6e 64 6f 66 0a 09 73 2d 6b lide endof..s-k
0f00: 33 20 20 20 20 20 20 6f 66 20 20 31 65 20 61 6d 3 of 1e am
0f10: 62 69 65 6e 74 25 20 73 66 21 0a 09 20 20 20 20 bient% sf!..
0f20: 41 6d 62 69 65 6e 74 20 31 20 61 6d 62 69 65 6e Ambient 1 ambien
0f30: 74 25 20 6f 70 65 6e 67 6c 3a 67 6c 55 6e 69 66 t% opengl:glUnif
0f40: 6f 72 6d 31 66 76 20 20 2b 73 79 6e 63 20 65 6e orm1fv +sync en
0f50: 64 6f 66 0a 09 6b 2d 66 33 20 20 20 20 20 20 6f dof..k-f3 o
0f60: 66 20 20 61 6d 62 69 65 6e 74 25 20 73 66 40 20 f ambient% sf@
0f70: 30 2e 31 65 20 66 2b 20 31 65 20 66 6d 69 6e 20 0.1e f+ 1e fmin
0f80: 20 61 6d 62 69 65 6e 74 25 20 73 66 21 0a 09 20 ambient% sf!..
0f90: 20 20 20 41 6d 62 69 65 6e 74 20 31 20 61 6d 62 Ambient 1 amb
0fa0: 69 65 6e 74 25 20 6f 70 65 6e 67 6c 3a 67 6c 55 ient% opengl:glU
0fb0: 6e 69 66 6f 72 6d 31 66 76 20 20 2b 73 79 6e 63 niform1fv +sync
0fc0: 20 65 6e 64 6f 66 0a 09 6b 2d 66 34 20 20 20 20 endof..k-f4
0fd0: 20 20 6f 66 20 20 61 6d 62 69 65 6e 74 25 20 73 of ambient% s
0fe0: 66 40 20 30 2e 31 65 20 66 2d 20 30 65 20 66 6d f@ 0.1e f- 0e fm
0ff0: 61 78 20 20 61 6d 62 69 65 6e 74 25 20 73 66 21 ax ambient% sf!
1000: 0a 09 20 20 20 20 41 6d 62 69 65 6e 74 20 31 20 .. Ambient 1
1010: 61 6d 62 69 65 6e 74 25 20 6f 70 65 6e 67 6c 3a ambient% opengl:
1020: 67 6c 55 6e 69 66 6f 72 6d 31 66 76 20 20 2b 73 glUniform1fv +s
1030: 79 6e 63 20 65 6e 64 6f 66 0a 09 73 2d 6b 35 20 ync endof..s-k5
1040: 20 20 20 20 20 6f 66 20 20 31 65 20 73 61 74 75 of 1e satu
1050: 72 61 74 65 25 20 73 66 21 0a 09 20 20 20 20 53 rate% sf!.. S
1060: 61 74 75 72 61 74 65 20 31 20 73 61 74 75 72 61 aturate 1 satura
1070: 74 65 25 20 6f 70 65 6e 67 6c 3a 67 6c 55 6e 69 te% opengl:glUni
1080: 66 6f 72 6d 31 66 76 20 20 2b 73 79 6e 63 20 65 form1fv +sync e
1090: 6e 64 6f 66 0a 09 6b 2d 66 35 20 20 20 20 20 20 ndof..k-f5
10a0: 6f 66 20 20 73 61 74 75 72 61 74 65 25 20 73 66 of saturate% sf
10b0: 40 20 30 2e 31 65 20 66 2b 20 33 65 20 66 6d 69 @ 0.1e f+ 3e fmi
10c0: 6e 20 73 61 74 75 72 61 74 65 25 20 73 66 21 0a n saturate% sf!.
10d0: 09 20 20 20 20 53 61 74 75 72 61 74 65 20 31 20 . Saturate 1
10e0: 73 61 74 75 72 61 74 65 25 20 6f 70 65 6e 67 6c saturate% opengl
10f0: 3a 67 6c 55 6e 69 66 6f 72 6d 31 66 76 20 20 2b :glUniform1fv +
1100: 73 79 6e 63 20 65 6e 64 6f 66 0a 09 6b 2d 66 36 sync endof..k-f6
1110: 20 20 20 20 20 20 6f 66 20 20 73 61 74 75 72 61 of satura
1120: 74 65 25 20 73 66 40 20 30 2e 31 65 20 66 2d 20 te% sf@ 0.1e f-
1130: 30 65 20 66 6d 61 78 20 73 61 74 75 72 61 74 65 0e fmax saturate
1140: 25 20 73 66 21 0a 09 20 20 20 20 53 61 74 75 72 % sf!.. Satur
1150: 61 74 65 20 31 20 73 61 74 75 72 61 74 65 25 20 ate 1 saturate%
1160: 6f 70 65 6e 67 6c 3a 67 6c 55 6e 69 66 6f 72 6d opengl:glUniform
1170: 31 66 76 20 20 2b 73 79 6e 63 20 65 6e 64 6f 66 1fv +sync endof
1180: 0a 09 5b 20 62 6f 78 2d 61 63 74 6f 72 20 3a 3a ..[ box-actor ::
1190: 20 65 6b 65 79 65 64 20 5d 20 20 45 58 49 54 0a ekeyed ] EXIT.
11a0: 20 20 20 20 65 6e 64 63 61 73 65 20 3b 20 73 6c endcase ; sl
11b0: 69 64 65 2d 61 63 74 6f 72 20 74 6f 20 65 6b 65 ide-actor to eke
11c0: 79 65 64 0a 5c 20 3a 6e 6f 6e 61 6d 65 20 28 20 yed.\ :noname (
11d0: 24 78 79 20 62 20 2d 2d 20 29 20 20 64 75 70 20 $xy b -- ) dup
11e0: 31 20 3e 20 49 46 0a 5c 20 09 5b 20 62 6f 78 2d 1 > IF.\ .[ box-
11f0: 61 63 74 6f 72 20 3a 3a 20 74 6f 75 63 68 64 6f actor :: touchdo
1200: 77 6e 20 5d 20 45 58 49 54 0a 5c 20 20 20 20 20 wn ] EXIT.\
1210: 54 48 45 4e 20 20 64 72 6f 70 0a 5c 20 20 20 20 THEN drop.\
1220: 20 78 79 40 20 74 6f 20 73 2d 79 20 74 6f 20 73 xy@ to s-y to s
1230: 2d 78 20 66 74 69 6d 65 20 74 6f 20 6c 61 73 74 -x ftime to last
1240: 2d 74 0a 5c 20 20 20 20 20 74 72 75 65 20 74 6f -t.\ true to
1250: 20 67 72 61 62 2d 6d 6f 76 65 3f 20 3b 20 73 6c grab-move? ; sl
1260: 69 64 65 2d 61 63 74 6f 72 20 69 73 20 74 6f 75 ide-actor is tou
1270: 63 68 64 6f 77 6e 0a 5c 20 3a 6e 6f 6e 61 6d 65 chdown.\ :noname
1280: 20 28 20 24 78 79 20 62 20 2d 2d 20 29 20 64 75 ( $xy b -- ) du
1290: 70 20 31 20 3e 20 49 46 0a 5c 20 09 5b 20 62 6f p 1 > IF.\ .[ bo
12a0: 78 2d 61 63 74 6f 72 20 3a 3a 20 74 6f 75 63 68 x-actor :: touch
12b0: 6d 6f 76 65 20 5d 20 45 58 49 54 0a 5c 20 20 20 move ] EXIT.\
12c0: 20 20 54 48 45 4e 20 20 64 72 6f 70 20 78 79 40 THEN drop xy@
12d0: 20 66 64 72 6f 70 0a 5c 20 20 20 20 20 66 74 69 fdrop.\ fti
12e0: 6d 65 20 6c 61 73 74 2d 74 20 66 6f 76 65 72 20 me last-t fover
12f0: 74 6f 20 6c 61 73 74 2d 74 20 66 2d 20 5c 20 64 to last-t f- \ d
1300: 65 6c 74 61 2d 74 0a 5c 20 20 20 20 20 6c 61 73 elta-t.\ las
1310: 74 2d 78 20 66 6f 76 65 72 20 74 6f 20 6c 61 73 t-x fover to las
1320: 74 2d 78 20 66 2d 20 20 20 20 20 20 20 5c 20 64 t-x f- \ d
1330: 65 6c 74 61 2d 78 0a 5c 20 20 20 20 20 66 73 77 elta-x.\ fsw
1340: 61 70 20 66 2f 20 63 61 6c 6c 65 72 2d 77 20 2e ap f/ caller-w .
1350: 77 20 66 2f 20 74 6f 20 73 70 65 65 64 0a 5c 20 w f/ to speed.\
1360: 20 20 20 20 6c 61 73 74 2d 78 20 73 2d 78 20 66 last-x s-x f
1370: 2d 20 63 61 6c 6c 65 72 2d 77 20 2e 77 20 66 2f - caller-w .w f/
1380: 20 66 64 75 70 20 66 30 3c 20 49 46 20 5c 20 74 fdup f0< IF \ t
1390: 6f 20 74 68 65 20 72 69 67 68 74 0a 5c 20 09 31 o the right.\ .1
13a0: 65 20 66 2b 20 73 6c 69 64 65 23 20 40 20 70 72 e f+ slide# @ pr
13b0: 65 76 2d 61 6e 69 6d 0a 5c 20 20 20 20 20 45 4c ev-anim.\ EL
13c0: 53 45 20 5c 20 74 6f 20 74 68 65 20 6c 65 66 74 SE \ to the left
13d0: 0a 5c 20 09 73 6c 69 64 65 23 20 40 20 6e 65 78 .\ .slide# @ nex
13e0: 74 2d 61 6e 69 6d 0a 5c 20 20 20 20 20 54 48 45 t-anim.\ THE
13f0: 4e 20 3b 20 73 6c 69 64 65 2d 61 63 74 6f 72 20 N ; slide-actor
1400: 69 73 20 74 6f 75 63 68 6d 6f 76 65 0a 3a 6e 6f is touchmove.:no
1410: 6e 61 6d 65 20 64 72 6f 70 0a 20 20 20 20 78 79 name drop. xy
1420: 40 20 64 70 79 2d 68 20 40 20 73 3e 66 20 66 73 @ dpy-h @ s>f fs
1430: 77 61 70 20 66 2d 20 64 70 79 2d 68 20 40 20 32 wap f- dpy-h @ 2
1440: 2f 20 66 6d 2f 20 6c 69 67 68 74 70 6f 73 2d 78 / fm/ lightpos-x
1450: 79 7a 20 73 66 6c 6f 61 74 2b 20 73 66 21 0a 20 yz sfloat+ sf!.
1460: 20 20 20 64 70 79 2d 77 20 40 20 73 3e 66 20 66 dpy-w @ s>f f
1470: 2d 20 64 70 79 2d 77 20 40 20 32 2f 20 66 6d 2f - dpy-w @ 2/ fm/
1480: 20 6c 69 67 68 74 70 6f 73 2d 78 79 7a 20 73 66 lightpos-xyz sf
1490: 21 0a 20 20 20 20 33 2e 30 65 20 6c 69 67 68 74 !. 3.0e light
14a0: 70 6f 73 2d 78 79 7a 20 32 20 73 66 6c 6f 61 74 pos-xyz 2 sfloat
14b0: 73 20 2b 20 73 66 21 0a 20 20 20 20 4c 69 67 68 s + sf!. Ligh
14c0: 74 50 6f 73 20 31 20 6c 69 67 68 74 70 6f 73 2d tPos 1 lightpos-
14d0: 78 79 7a 20 6f 70 65 6e 67 6c 3a 67 6c 55 6e 69 xyz opengl:glUni
14e0: 66 6f 72 6d 33 66 76 20 20 2b 73 79 6e 63 20 3b form3fv +sync ;
14f0: 20 73 6c 69 64 65 2d 61 63 74 6f 72 20 69 73 20 slide-actor is
1500: 74 6f 75 63 68 6d 6f 76 65 0a 5c 20 3a 6e 6f 6e touchmove.\ :non
1510: 61 6d 65 20 28 20 24 78 79 20 62 20 2d 2d 20 29 ame ( $xy b -- )
1520: 20 20 64 75 70 20 31 20 3e 20 49 46 0a 5c 20 09 dup 1 > IF.\ .
1530: 5b 20 62 6f 78 2d 61 63 74 6f 72 20 3a 3a 20 74 [ box-actor :: t
1540: 6f 75 63 68 75 70 20 5d 20 45 58 49 54 0a 5c 20 ouchup ] EXIT.\
1550: 20 20 20 20 54 48 45 4e 20 20 32 64 72 6f 70 0a THEN 2drop.
1560: 5c 20 20 20 20 20 73 6c 69 64 65 23 20 40 20 31 \ slide# @ 1
1570: 65 20 6e 65 78 74 2d 61 6e 69 6d 0a 5c 20 20 20 e next-anim.\
1580: 20 20 66 61 6c 73 65 20 74 6f 20 67 72 61 62 2d false to grab-
1590: 6d 6f 76 65 3f 20 3b 20 73 6c 69 64 65 2d 61 63 move? ; slide-ac
15a0: 74 6f 72 20 69 73 20 74 6f 75 63 68 75 70 0a 0a tor is touchup..
15b0: 3a 20 73 6c 69 64 65 5b 5d 20 28 20 6f 20 2d 2d : slide[] ( o --
15c0: 20 6f 20 29 0a 20 20 20 20 3e 6f 20 73 6c 69 64 o ). >o slid
15d0: 65 2d 61 63 74 6f 72 20 6e 65 77 20 74 6f 20 61 e-actor new to a
15e0: 63 74 20 6f 20 61 63 74 20 3e 6f 20 74 6f 20 63 ct o act >o to c
15f0: 61 6c 6c 65 72 2d 77 20 6f 3e 20 6f 20 6f 3e 20 aller-w o> o o>
1600: 3b 0a 0a 67 6c 75 65 2d 6c 65 66 74 20 20 3e 6f ;..glue-left >o
1610: 20 31 67 6c 75 65 20 76 67 6c 75 65 2d 63 20 67 1glue vglue-c g
1620: 6c 75 65 21 20 31 67 6c 75 65 20 64 67 6c 75 65 lue! 1glue dglue
1630: 2d 63 20 67 6c 75 65 21 20 6f 3e 0a 67 6c 75 65 -c glue! o>.glue
1640: 2d 72 69 67 68 74 20 3e 6f 20 31 67 6c 75 65 20 -right >o 1glue
1650: 76 67 6c 75 65 2d 63 20 67 6c 75 65 21 20 31 67 vglue-c glue! 1g
1660: 6c 75 65 20 64 67 6c 75 65 2d 63 20 67 6c 75 65 lue dglue-c glue
1670: 21 20 6f 3e 0a 0a 74 65 78 3a 20 6e 65 74 32 6f ! o>..tex: net2o
1680: 2d 6c 6f 67 6f 0a 74 65 78 3a 20 6d 69 6e 6f 73 -logo.tex: minos
1690: 32 0a 74 65 78 3a 20 24 71 75 69 64 0a 27 20 6e 2.tex: $quid.' n
16a0: 65 74 32 6f 2d 6c 6f 67 6f 20 22 6e 65 74 32 6f et2o-logo "net2o
16b0: 2d 32 30 30 2e 70 6e 67 22 20 30 2e 36 36 36 65 -200.png" 0.666e
16c0: 20 7d 7d 69 6d 61 67 65 2d 66 69 6c 65 20 43 6f }}image-file Co
16d0: 6e 73 74 61 6e 74 20 6e 65 74 32 6f 2d 67 6c 75 nstant net2o-glu
16e0: 65 0a 27 20 6d 69 6e 6f 73 32 20 22 6e 65 74 32 e.' minos2 "net2
16f0: 6f 2d 6d 69 6e 6f 73 32 2e 70 6e 67 22 20 30 2e o-minos2.png" 0.
1700: 36 36 36 65 20 7d 7d 69 6d 61 67 65 2d 66 69 6c 666e }}image-fil
1710: 65 20 43 6f 6e 73 74 61 6e 74 20 6d 69 6e 6f 73 e Constant minos
1720: 32 2d 67 6c 75 65 0a 27 20 24 71 75 69 64 20 20 2-glue.' $quid
1730: 22 73 71 75 69 64 2d 6c 6f 67 6f 2d 32 30 30 2e "squid-logo-200.
1740: 70 6e 67 22 20 30 2e 35 65 20 7d 7d 69 6d 61 67 png" 0.5e }}imag
1750: 65 2d 66 69 6c 65 20 43 6f 6e 73 74 61 6e 74 20 e-file Constant
1760: 24 71 75 69 64 2d 67 6c 75 65 0a 0a 3a 20 69 6d $quid-glue..: im
1770: 67 20 28 20 78 74 20 78 74 20 2d 2d 20 6f 20 29 g ( xt xt -- o )
1780: 20 32 3e 72 0a 20 20 20 20 62 61 73 65 6c 69 6e 2>r. baselin
1790: 65 23 20 30 65 20 74 6f 20 62 61 73 65 6c 69 6e e# 0e to baselin
17a0: 65 23 0a 20 20 20 20 7b 7b 20 32 72 3e 20 7d 7d e#. {{ 2r> }}
17b0: 69 6d 61 67 65 2d 74 65 78 20 2f 72 69 67 68 74 image-tex /right
17c0: 0a 20 20 20 20 67 6c 75 65 2a 6c 20 7d 7d 67 6c . glue*l }}gl
17d0: 75 65 0a 20 20 20 20 7d 7d 76 20 3e 6f 20 66 6f ue. }}v >o fo
17e0: 6e 74 2d 73 69 7a 65 23 20 66 32 2f 20 74 6f 20 nt-size# f2/ to
17f0: 62 6f 72 64 65 72 20 6f 20 6f 3e 0a 20 20 20 20 border o o>.
1800: 74 6f 20 62 61 73 65 6c 69 6e 65 23 20 3b 0a 0a to baseline# ;..
1810: 3a 20 70 72 65 73 2d 66 72 61 6d 65 20 28 20 63 : pres-frame ( c
1820: 6f 6c 6f 72 20 2d 2d 20 6f 31 20 6f 32 20 29 0a olor -- o1 o2 ).
1830: 20 20 20 20 67 6c 75 65 2a 77 68 20 73 77 61 70 glue*wh swap
1840: 20 63 6f 6c 6f 72 2c 20 73 6c 69 64 65 2d 66 72 color, slide-fr
1850: 61 6d 65 20 64 75 70 20 2e 62 75 74 74 6f 6e 31 ame dup .button1
1860: 20 73 69 6d 70 6c 65 5b 5d 20 3b 0a 0a 7b 7b 0a simple[] ;..{{.
1870: 7b 7b 20 67 6c 75 65 2d 6c 65 66 74 20 7d 7d 67 {{ glue-left }}g
1880: 6c 75 65 0a 0a 5c 20 70 61 67 65 20 30 0a 7b 7b lue..\ page 0.{{
1890: 0a 24 46 46 46 46 46 46 46 46 20 70 72 65 73 2d .$FFFFFFFF pres-
18a0: 66 72 61 6d 65 0a 7b 7b 0a 67 6c 75 65 2a 6c 20 frame.{{.glue*l
18b0: 7d 7d 67 6c 75 65 20 5c 20 29 20 24 43 43 44 44 }}glue \ ) $CCDD
18c0: 44 44 33 46 20 34 65 20 7d 7d 66 72 61 6d 65 20 DD3F 4e }}frame
18d0: 64 75 70 20 2e 62 75 74 74 6f 6e 31 0a 22 6e 65 dup .button1."ne
18e0: 74 32 6f 3a 20 47 55 49 2c 20 72 65 61 6c 74 69 t2o: GUI, realti
18f0: 6d 65 20 6d 69 78 6e 65 74 2c 20 24 71 75 69 64 me mixnet, $quid
1900: 22 20 2f 74 69 74 6c 65 0a 22 28 24 71 75 69 64 " /title."($quid
1910: e2 80 af 3d e2 80 af 45 74 68 69 63 61 6c 20 6d = Ethical m
1920: 69 63 72 6f 70 61 79 6d 65 6e 74 20 77 69 74 68 icropayment with
1930: 20 65 66 66 69 63 69 65 6e 74 20 42 6c 6f 63 6b efficient Block
1940: 43 68 61 69 6e 29 22 20 2f 73 75 62 74 69 74 6c Chain)" /subtitl
1950: 65 0a 67 6c 75 65 2a 32 20 7d 7d 67 6c 75 65 20 e.glue*2 }}glue
1960: 5c 20 29 20 24 43 43 44 44 44 44 33 46 20 34 65 \ ) $CCDDDD3F 4e
1970: 20 7d 7d 66 72 61 6d 65 20 64 75 70 20 2e 62 75 }}frame dup .bu
1980: 74 74 6f 6e 31 0a 22 42 65 72 6e 64 20 50 61 79 tton1."Bernd Pay
1990: 73 61 6e 22 20 2f 61 75 74 68 6f 72 0a 22 33 34 san" /author."34
19a0: 63 33 2c 20 4c 65 69 70 7a 69 67 20 23 77 65 66 c3, Leipzig #wef
19b0: 69 78 74 68 65 6e 65 74 22 20 2f 6c 6f 63 61 74 ixthenet" /locat
19c0: 69 6f 6e 0a 67 6c 75 65 2a 6c 20 7d 7d 67 6c 75 ion.glue*l }}glu
19d0: 65 20 5c 20 29 20 24 43 43 44 44 44 44 33 46 20 e \ ) $CCDDDD3F
19e0: 34 65 20 7d 7d 66 72 61 6d 65 20 64 75 70 20 2e 4e }}frame dup .
19f0: 62 75 74 74 6f 6e 31 0a 7d 7d 76 20 62 6f 78 5b button1.}}v box[
1a00: 5d 20 3e 6f 20 66 6f 6e 74 2d 73 69 7a 65 23 20 ] >o font-size#
1a10: 74 6f 20 62 6f 72 64 65 72 20 6f 20 56 61 6c 75 to border o Valu
1a20: 65 20 74 69 74 6c 65 2d 70 61 67 65 20 6f 20 6f e title-page o o
1a30: 3e 0a 7d 7d 7a 20 62 6f 78 5b 5d 20 64 75 70 20 >.}}z box[] dup
1a40: 3e 73 6c 69 64 65 73 0a 0a 5c 20 70 61 67 65 20 >slides..\ page
1a50: 31 0a 7b 7b 0a 24 46 46 46 46 46 46 46 46 20 70 1.{{.$FFFFFFFF p
1a60: 72 65 73 2d 66 72 61 6d 65 0a 7b 7b 0a 22 4d 6f res-frame.{{."Mo
1a70: 74 69 76 61 74 69 6f 6e 22 20 2f 74 69 74 6c 65 tivation" /title
1a80: 0a 67 6c 75 65 2a 6c 20 7d 7d 67 6c 75 65 20 5c .glue*l }}glue \
1a90: 20 29 20 24 43 43 44 44 44 44 33 46 20 34 65 20 ) $CCDDDD3F 4e
1aa0: 7d 7d 66 72 61 6d 65 20 64 75 70 20 2e 62 75 74 }}frame dup .but
1ab0: 74 6f 6e 31 0a 74 65 78 3a 20 62 61 64 2d 67 61 ton1.tex: bad-ga
1ac0: 74 65 77 61 79 0a 27 20 62 61 64 2d 67 61 74 65 teway.' bad-gate
1ad0: 77 61 79 20 22 62 61 64 2d 67 61 74 65 77 61 79 way "bad-gateway
1ae0: 2e 70 6e 67 22 20 30 2e 36 36 36 65 20 7d 7d 69 .png" 0.666e }}i
1af0: 6d 61 67 65 2d 66 69 6c 65 0a 43 6f 6e 73 74 61 mage-file.Consta
1b00: 6e 74 20 62 67 77 2d 67 6c 75 65 20 2f 63 65 6e nt bgw-glue /cen
1b10: 74 65 72 0a 67 6c 75 65 2a 6c 20 7d 7d 67 6c 75 ter.glue*l }}glu
1b20: 65 20 5c 20 29 20 24 43 43 44 44 44 44 33 46 20 e \ ) $CCDDDD3F
1b30: 34 65 20 7d 7d 66 72 61 6d 65 20 64 75 70 20 2e 4e }}frame dup .
1b40: 62 75 74 74 6f 6e 31 0a 7d 7d 76 20 62 6f 78 5b button1.}}v box[
1b50: 5d 20 3e 62 64 72 0a 7d 7d 7a 20 62 6f 78 5b 5d ] >bdr.}}z box[]
1b60: 20 2f 66 6c 69 70 20 64 75 70 20 3e 73 6c 69 64 /flip dup >slid
1b70: 65 73 0a 0a 5c 20 70 61 67 65 20 32 0a 7b 7b 0a es..\ page 2.{{.
1b80: 24 46 46 37 46 37 46 46 46 20 70 72 65 73 2d 66 $FF7F7FFF pres-f
1b90: 72 61 6d 65 0a 7b 7b 0a 22 34 20 59 65 61 72 73 rame.{{."4 Years
1ba0: 20 61 66 74 65 72 20 53 6e 6f 77 64 65 6e 22 20 after Snowden"
1bb0: 2f 74 69 74 6c 65 0a 22 57 68 61 74 20 68 61 73 /title."What has
1bc0: 20 63 68 61 6e 67 65 64 3f 22 20 5c 5c 0a 5c 73 changed?" \\.\s
1bd0: 6b 69 70 0a 22 50 6f 6c 69 74 69 63 73 22 20 2f kip."Politics" /
1be0: 73 75 62 73 65 63 74 69 6f 6e 0a 62 6c 61 63 6b subsection.black
1bf0: 69 73 68 0a 22 e2 80 83 e2 80 83 46 61 6b 65 20 ish." Fake
1c00: 4e 65 77 73 2f 48 61 74 65 20 53 70 65 65 63 68 News/Hate Speech
1c10: 20 61 73 20 65 78 63 75 73 65 20 66 6f 72 20 63 as excuse for c
1c20: 65 6e 73 6f 72 73 68 69 70 20 23 4e 65 74 7a 44 ensorship #NetzD
1c30: 47 22 20 22 f0 9f a4 a6 22 20 65 5c 5c 0a 22 e2 G" "🤦" e\\."
1c40: 80 83 e2 80 83 43 72 79 70 74 6f 20 57 61 72 73 Crypto Wars
1c50: 20 72 65 62 72 61 6e 64 65 64 20 61 73 20 e2 80 rebranded as
1c60: 9c 72 65 61 73 6f 6e 61 62 6c 65 20 65 6e 63 72 reasonable encr
1c70: 79 70 74 69 6f 6e e2 80 9d 22 20 22 f0 9f a4 a6 yption”" "🤦
1c80: f0 9f a4 a6 22 20 65 5c 5c 0a 22 e2 80 83 e2 80 🤦" e\\."
1c90: 83 4c 65 67 61 6c 69 7a 65 20 69 74 20 28 64 72 Legalize it (dr
1ca0: 61 67 6e 65 74 20 73 75 72 76 65 69 6c 6c 61 6e agnet surveillan
1cb0: 63 65 29 22 20 22 f0 9f a4 a6 f0 9f a4 a6 f0 9f ce)" "🤦🤦
1cc0: a4 a6 22 20 65 5c 5c 0a 22 e2 80 83 e2 80 83 4b " e\\." K
1cd0: 69 6c 6c 20 74 68 65 20 6c 69 6e 6b 20 28 45 75 ill the link (Eu
1ce0: 47 48 20 61 6e 64 20 4c 47 20 48 75 6d 62 75 67 GH and LG Humbug
1cf0: 29 22 20 22 f0 9f a4 a6 f0 9f a4 a6 f0 9f a4 a6 )" "🤦🤦🤦
1d00: f0 9f a4 a6 22 20 65 5c 5c 0a 22 e2 80 83 e2 80 🤦" e\\."
1d10: 83 50 72 69 76 61 63 79 3a 20 6e 6f 62 6f 64 79 Privacy: nobody
1d20: 20 69 73 20 66 6f 72 63 65 64 20 74 6f 20 75 73 is forced to us
1d30: 65 20 74 68 65 20 49 6e 74 65 72 77 65 62 73 20 e the Interwebs
1d40: 28 4a 69 6d 20 53 65 6e 73 65 6e 62 72 65 6e 6e (Jim Sensenbrenn
1d50: 65 72 29 22 20 22 f0 9f a4 a6 f0 9f a4 a6 f0 9f er)" "🤦🤦
1d60: a4 a6 f0 9f a4 a6 f0 9f a4 a6 22 20 65 5c 5c 0a 🤦🤦" e\\.
1d70: 22 e2 80 83 e2 80 83 e2 80 9c 43 72 79 70 74 6f " “Crypto
1d80: e2 80 9d 20 6e 6f 77 20 6d 65 61 6e 73 20 42 69 ” now means Bi
1d90: 74 43 6f 69 6e 22 20 22 f0 9f a4 a6 f0 9f a4 a6 tCoin" "🤦🤦
1da0: f0 9f a4 a6 f0 9f a4 a6 f0 9f a4 a6 f0 9f a4 a6 🤦🤦🤦🤦
1db0: 22 20 65 5c 5c 0a 5c 73 6b 69 70 0a 22 43 6f 6d " e\\.\skip."Com
1dc0: 70 65 74 69 74 69 6f 6e 22 20 2f 73 75 62 73 65 petition" /subse
1dd0: 63 74 69 6f 6e 0a 22 e2 80 83 e2 80 83 66 61 63 ction." fac
1de0: 65 73 20 53 74 61 73 69 e2 80 93 6c 69 6b 65 20 es Stasi–like
1df0: 5a 65 72 73 65 74 7a 75 6e 67 20 28 54 6f 72 20 Zersetzung (Tor
1e00: 70 72 6f 6a 65 63 74 29 22 20 5c 5c 0a 5c 73 6b project)" \\.\sk
1e10: 69 70 0a 22 53 6f 6c 75 74 69 6f 6e 73 22 20 2f ip."Solutions" /
1e20: 73 75 62 73 65 63 74 69 6f 6e 0a 22 e2 80 83 e2 subsection."
1e30: 80 83 6e 65 74 32 6f 20 73 74 61 72 74 73 20 62 net2o starts b
1e40: 65 63 6f 6d 69 6e 67 20 75 73 65 61 62 6c 65 22 ecoming useable"
1e50: 20 5c 5c 0a 67 6c 75 65 2a 6c 20 7d 7d 67 6c 75 \\.glue*l }}glu
1e60: 65 20 5c 20 29 20 24 43 43 44 44 44 44 33 46 20 e \ ) $CCDDDD3F
1e70: 34 65 20 7d 7d 66 72 61 6d 65 20 64 75 70 20 2e 4e }}frame dup .
1e80: 62 75 74 74 6f 6e 31 0a 7d 7d 76 20 62 6f 78 5b button1.}}v box[
1e90: 5d 20 3e 6f 20 6f 20 56 61 6c 75 65 20 73 6e 6f ] >o o Value sno
1ea0: 77 64 65 6e 2d 70 61 67 65 20 66 6f 6e 74 2d 73 wden-page font-s
1eb0: 69 7a 65 23 20 74 6f 20 62 6f 72 64 65 72 20 6f ize# to border o
1ec0: 20 6f 3e 0a 7d 7d 7a 20 62 6f 78 5b 5d 20 2f 66 o>.}}z box[] /f
1ed0: 6c 69 70 20 64 75 70 20 3e 73 6c 69 64 65 73 0a lip dup >slides.
1ee0: 0a 5c 20 70 61 67 65 20 33 0a 7b 7b 0a 24 42 46 .\ page 3.{{.$BF
1ef0: 46 46 42 46 46 46 20 70 72 65 73 2d 66 72 61 6d FFBFFF pres-fram
1f00: 65 0a 7b 7b 0a 22 6e 65 74 32 6f 20 69 6e 20 61 e.{{."net2o in a
1f10: 20 6e 75 74 73 68 65 6c 6c 22 20 2f 74 69 74 6c nutshell" /titl
1f20: 65 0a 22 6e 65 74 32 6f 20 63 6f 6e 73 69 73 74 e."net2o consist
1f30: 73 20 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 s of the followi
1f40: 6e 67 20 36 20 6c 61 79 65 72 73 20 28 69 6d 70 ng 6 layers (imp
1f50: 6c 65 6d 65 6e 74 65 64 20 62 6f 74 74 6f 6d 20 lemented bottom
1f60: 75 70 29 3a 22 20 5c 5c 0a 5c 73 6b 69 70 0a 7b up):" \\.\skip.{
1f70: 7b 0a 76 74 7b 7b 0a 22 32 2e e2 80 83 22 20 62 {.vt{{."2. " b
1f80: 30 20 62 6c 61 63 6b 69 73 68 20 22 50 61 74 68 0 blackish "Path
1f90: 20 73 77 69 74 63 68 65 64 20 70 61 63 6b 65 74 switched packet
1fa0: 73 20 77 69 74 68 20 32 22 20 7d 7d 74 65 78 74 s with 2" }}text
1fb0: 0a 22 6e 22 20 7d 7d 73 6d 61 6c 6c 74 65 78 74 ."n" }}smalltext
1fc0: 20 3e 6f 20 66 6f 6e 74 2d 73 69 7a 65 23 20 2d >o font-size# -
1fd0: 30 2e 34 65 20 66 2a 20 74 6f 20 72 61 69 73 65 0.4e f* to raise
1fe0: 20 6f 20 6f 3e 0a 22 20 73 69 7a 65 20 77 72 69 o o>." size wri
1ff0: 74 69 6e 67 20 69 6e 74 6f 20 73 68 61 72 65 64 ting into shared
2000: 20 6d 65 6d 6f 72 79 20 62 75 66 66 65 72 73 22 memory buffers"
2010: 20 7d 7d 74 65 78 74 20 20 67 6c 75 65 2a 6c 20 }}text glue*l
2020: 7d 7d 67 6c 75 65 20 7d 7d 68 20 62 6f 78 5b 5d }}glue }}h box[]
2030: 20 3e 62 6c 0a 22 33 2e e2 80 83 22 20 22 45 70 >bl."3. " "Ep
2040: 68 65 6d 65 72 61 6c 20 6b 65 79 20 65 78 63 68 hemeral key exch
2050: 61 6e 67 65 20 61 6e 64 20 73 69 67 6e 61 74 75 ange and signatu
2060: 72 65 73 20 77 69 74 68 20 45 64 32 35 35 31 39 res with Ed25519
2070: 2c 22 20 62 5c 5c 0a 22 22 20 22 73 79 6d 6d 65 ," b\\."" "symme
2080: 74 72 69 63 20 61 75 74 68 65 6e 74 69 63 61 74 tric authenticat
2090: 65 64 20 65 6e 63 72 79 70 74 69 6f 6e 2b 68 61 ed encryption+ha
20a0: 73 68 2b 70 72 6e 67 20 77 69 74 68 20 4b 65 63 sh+prng with Kec
20b0: 63 61 6b 2c 22 20 62 5c 5c 0a 22 22 20 22 73 79 cak," b\\."" "sy
20c0: 6d 6d 65 74 72 69 63 20 62 6c 6f 63 6b 20 65 6e mmetric block en
20d0: 63 72 79 70 74 69 6f 6e 20 77 69 74 68 20 54 68 cryption with Th
20e0: 72 65 65 66 69 73 68 22 20 62 5c 5c 0a 22 22 20 reefish" b\\.""
20f0: 22 6f 6e 69 6f 6e 20 72 6f 75 74 69 6e 67 20 63 "onion routing c
2100: 61 6d 6f 75 66 6c 61 67 65 20 70 72 6f 62 61 62 amouflage probab
2110: 6c 79 20 77 69 74 68 20 41 45 53 22 20 62 5c 5c ly with AES" b\\
2120: 0a 22 34 2e e2 80 83 22 20 22 54 69 6d 69 6e 67 ."4. " "Timing
2130: 20 64 72 69 76 65 6e 20 64 65 6c 61 79 20 6d 69 driven delay mi
2140: 6e 69 6d 69 7a 69 6e 67 20 66 6c 6f 77 20 63 6f nimizing flow co
2150: 6e 74 72 6f 6c 22 20 62 5c 5c 0a 22 35 2e e2 80 ntrol" b\\."5.
2160: 83 22 20 22 53 74 61 63 6b e2 80 93 6f 72 69 65 " "Stack–orie
2170: 6e 74 65 64 20 74 6f 6b 65 6e 69 7a 65 64 20 63 nted tokenized c
2180: 6f 6d 6d 61 6e 64 20 6c 61 6e 67 75 61 67 65 22 ommand language"
2190: 20 62 5c 5c 0a 22 36 2e e2 80 83 22 20 22 44 69 b\\."6. " "Di
21a0: 73 74 72 69 62 75 74 65 64 20 64 61 74 61 20 28 stributed data (
21b0: 66 69 6c 65 73 2c 20 6d 65 73 73 61 67 65 73 29 files, messages)
21c0: 20 61 6e 64 20 64 69 73 74 72 69 62 75 74 65 64 and distributed
21d0: 20 6d 65 74 61 64 61 74 61 20 28 44 48 54 29 22 metadata (DHT)"
21e0: 20 62 5c 5c 0a 22 37 2e e2 80 83 22 20 22 41 70 b\\."7. " "Ap
21f0: 70 73 20 69 6e 20 61 20 73 61 6e 64 62 6f 78 65 ps in a sandboxe
2200: 64 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 66 6f d environment fo
2210: 72 20 64 69 73 70 6c 61 79 69 6e 67 20 63 6f 6e r displaying con
2220: 74 65 6e 74 22 20 62 5c 5c 0a 7d 7d 76 74 0a 67 tent" b\\.}}vt.g
2230: 6c 75 65 2a 6c 20 7d 7d 67 6c 75 65 20 5c 20 29 lue*l }}glue \ )
2240: 20 24 43 43 44 44 44 44 33 46 20 34 65 20 7d 7d $CCDDDD3F 4e }}
2250: 66 72 61 6d 65 20 64 75 70 20 2e 62 75 74 74 6f frame dup .butto
2260: 6e 31 0a 7d 7d 76 20 62 6f 78 5b 5d 20 3e 62 64 n1.}}v box[] >bd
2270: 72 0a 7d 7d 7a 20 62 6f 78 5b 5d 20 2f 66 6c 69 r.}}z box[] /fli
2280: 70 20 64 75 70 20 3e 73 6c 69 64 65 73 0a 0a 5c p dup >slides..\
2290: 20 70 61 67 65 20 34 0a 7b 7b 0a 24 42 46 46 46 page 4.{{.$BFFF
22a0: 42 46 46 46 20 70 72 65 73 2d 66 72 61 6d 65 0a BFFF pres-frame.
22b0: 7b 7b 0a 22 52 65 61 6c 74 69 6d 65 20 4d 69 78 {{."Realtime Mix
22c0: 6e 65 74 22 20 2f 74 69 74 6c 65 0a 22 50 72 6f net" /title."Pro
22d0: 62 6c 65 6d 20 77 69 74 68 20 6f 6e 69 6f 6e 20 blem with onion
22e0: 72 6f 75 74 69 6e 67 3a 20 54 69 6d 69 6e 67 20 routing: Timing
22f0: 63 6f 72 72 65 6c 61 74 69 6f 6e 22 20 5c 5c 0a correlation" \\.
2300: 22 50 72 6f 62 6c 65 6d 20 77 69 74 68 20 6d 69 "Problem with mi
2310: 78 6e 65 74 73 3a 20 6e 65 65 64 20 74 6f 20 77 xnets: need to w
2320: 61 69 74 20 66 6f 72 20 65 6e 6f 75 67 68 20 6d ait for enough m
2330: 65 73 73 61 67 65 73 22 20 5c 5c 0a 22 53 6f 6c essages" \\."Sol
2340: 75 74 69 6f 6e 3a 20 46 69 6c 6c 20 75 70 20 74 ution: Fill up t
2350: 68 65 20 6f 75 74 70 75 74 20 77 69 74 68 20 63 he output with c
2360: 6f 6e 73 74 61 6e 74 20 62 61 6e 64 77 69 64 74 onstant bandwidt
2370: 68 20 67 61 72 62 61 67 65 22 20 5c 5c 0a 22 61 h garbage" \\."a
2380: 6e 64 20 6f 74 68 65 72 77 69 73 65 20 73 65 74 nd otherwise set
2390: 20 75 70 20 74 68 65 20 6e 65 74 77 6f 72 6b 20 up the network
23a0: 61 73 20 77 69 74 68 20 61 20 6d 69 78 6e 65 74 as with a mixnet
23b0: 22 20 5c 5c 0a 22 42 6f 6e 75 73 3a 20 45 76 65 " \\."Bonus: Eve
23c0: 6e 6c 79 20 64 69 73 74 72 69 62 75 74 65 20 70 nly distribute p
23d0: 61 63 6b 65 74 73 20 6f 76 65 72 20 61 20 73 65 ackets over a se
23e0: 74 20 6f 66 20 6d 69 78 20 72 6f 75 74 65 73 2c t of mix routes,
23f0: 20 74 6f 20 67 65 74 20 6d 6f 72 65 20 62 61 6e to get more ban
2400: 64 77 69 64 74 68 22 20 5c 5c 0a 67 6c 75 65 2a dwidth" \\.glue*
2410: 6c 20 7d 7d 67 6c 75 65 20 5c 20 29 20 24 43 43 l }}glue \ ) $CC
2420: 44 44 44 44 33 46 20 34 65 20 7d 7d 66 72 61 6d DDDD3F 4e }}fram
2430: 65 20 64 75 70 20 2e 62 75 74 74 6f 6e 31 0a 7d e dup .button1.}
2440: 7d 76 20 62 6f 78 5b 5d 20 3e 62 64 72 0a 7d 7d }v box[] >bdr.}}
2450: 7a 20 62 6f 78 5b 5d 20 2f 66 6c 69 70 20 64 75 z box[] /flip du
2460: 70 20 3e 73 6c 69 64 65 73 0a 0a 5c 20 70 61 67 p >slides..\ pag
2470: 65 20 35 0a 7b 7b 0a 24 42 46 42 46 46 46 46 46 e 5.{{.$BFBFFFFF
2480: 20 70 72 65 73 2d 66 72 61 6d 65 0a 7b 7b 0a 22 pres-frame.{{."
2490: ce 9c ce 99 ce 9d ce a9 ce a3 32 20 74 65 63 68 ΜΙΝΩΣ2 tech
24a0: 6e 6f 6c 6f 67 79 22 20 2f 74 69 74 6c 65 0a 22 nology" /title."
24b0: ce 9c ce 99 ce 9d ce a9 ce a3 32 20 73 74 61 72 ΜΙΝΩΣ2 star
24c0: 74 73 20 61 74 20 74 68 65 20 44 4f 4d 20 6c 61 ts at the DOM la
24d0: 79 65 72 22 20 5c 5c 0a 5c 73 6b 69 70 0a 76 74 yer" \\.\skip.vt
24e0: 7b 7b 0a 22 52 65 6e 64 65 72 69 6e 67 3a e2 80 {{."Rendering:
24f0: 83 22 20 22 4f 70 65 6e 47 4c 20 28 45 53 29 2c " "OpenGL (ES),
2500: 20 56 75 6c 6b 61 6e 20 62 61 63 6b 65 6e 64 20 Vulkan backend
2510: 70 6f 73 73 69 62 6c 65 22 20 62 5c 5c 0a 22 46 possible" b\\."F
2520: 6f 6e 74 20 74 6f 20 74 65 78 74 75 72 65 3a e2 ont to texture:
2530: 80 83 22 20 22 46 72 65 65 74 79 70 65 e2 80 93 " "Freetype–
2540: 47 4c 20 28 77 69 74 68 20 6f 77 6e 20 69 6d 70 GL (with own imp
2550: 72 6f 76 65 6d 65 6e 74 73 29 22 20 62 5c 5c 0a rovements)" b\\.
2560: 22 49 6d 61 67 65 20 74 6f 20 74 65 78 74 75 72 "Image to textur
2570: 65 3a e2 80 83 22 20 22 53 4f 49 4c 32 20 28 6e e: " "SOIL2 (n
2580: 65 65 64 73 20 73 6f 6d 65 20 62 75 67 73 20 66 eeds some bugs f
2590: 69 78 65 64 29 22 20 62 5c 5c 0a 22 56 69 64 65 ixed)" b\\."Vide
25a0: 6f 20 74 6f 20 74 65 78 74 75 72 65 3a e2 80 83 o to texture:
25b0: 22 20 22 4f 70 65 6e 4d 41 58 20 41 4c 20 28 41 " "OpenMAX AL (A
25c0: 6e 64 72 6f 69 64 29 2c 20 67 73 74 72 65 61 6d ndroid), gstream
25d0: 65 72 20 66 6f 72 20 4c 69 6e 75 78 20 28 70 6c er for Linux (pl
25e0: 61 6e 6e 65 64 29 22 20 62 5c 5c 0a 22 43 6f 6f anned)" b\\."Coo
25f0: 72 64 69 6e 61 74 65 73 3a e2 80 83 22 20 22 53 rdinates: " "S
2600: 69 6e 67 6c 65 20 66 6c 6f 61 74 2c 20 6f 72 69 ingle float, ori
2610: 67 69 6e 20 62 6f 74 74 6f 6d 20 6c 65 66 74 22 gin bottom left"
2620: 20 62 5c 5c 0a 7b 7b 20 22 54 79 70 65 73 65 74 b\\.{{ "Typeset
2630: 74 69 6e 67 3a e2 80 83 22 20 62 30 20 62 6c 61 ting: " b0 bla
2640: 63 6b 69 73 68 0a 22 42 6f 78 65 73 e2 80 af 26 ckish."Boxes &
2650: e2 80 af 47 6c 75 65 73 20 63 6c 6f 73 65 20 74 Glues close t
2660: 6f 20 22 20 7d 7d 74 65 78 74 0a 5c 4c 61 54 65 o " }}text.\LaTe
2670: 58 0a 22 20 e2 80 94 20 69 6e 63 6c 75 64 69 6e X." — includin
2680: 67 20 61 73 63 65 6e 64 65 72 e2 80 af 26 e2 80 g ascender &
2690: af 64 65 73 63 65 6e 64 65 72 22 20 7d 7d 74 65 descender" }}te
26a0: 78 74 20 67 6c 75 65 2a 6c 20 7d 7d 68 20 62 6f xt glue*l }}h bo
26b0: 78 5b 5d 20 3e 62 6c 0a 22 22 20 22 47 6c 75 65 x[] >bl."" "Glue
26c0: 73 20 63 61 6e 20 73 68 72 69 6e 6b 2c 20 6e 6f s can shrink, no
26d0: 74 20 6a 75 73 74 20 67 72 6f 77 22 20 62 5c 5c t just grow" b\\
26e0: 0a 22 4f 62 6a 65 63 74 20 53 79 73 74 65 6d 3a ."Object System:
26f0: e2 80 83 22 20 22 65 78 74 72 65 6d 65 6c 79 20 " "extremely
2700: 6c 69 67 68 74 77 65 69 67 68 74 20 4d 69 6e 69 lightweight Mini
2710: e2 80 93 4f 4f 46 32 22 20 62 5c 5c 0a 22 43 6c –OOF2" b\\."Cl
2720: 61 73 73 20 6e 75 6d 62 65 72 3a e2 80 83 22 20 ass number: "
2730: 22 46 65 77 20 63 6c 61 73 73 65 73 2c 20 6d 61 "Few classes, ma
2740: 6e 79 20 70 6f 73 73 69 62 6c 65 20 63 6f 6d 62 ny possible comb
2750: 69 6e 61 74 69 6f 6e 73 22 20 62 5c 5c 0a 7d 7d inations" b\\.}}
2760: 76 74 0a 67 6c 75 65 2a 6c 20 7d 7d 67 6c 75 65 vt.glue*l }}glue
2770: 20 5c 20 29 20 24 43 43 44 44 44 44 33 46 20 34 \ ) $CCDDDD3F 4
2780: 65 20 7d 7d 66 72 61 6d 65 20 64 75 70 20 2e 62 e }}frame dup .b
2790: 75 74 74 6f 6e 31 0a 7d 7d 76 20 62 6f 78 5b 5d utton1.}}v box[]
27a0: 20 3e 62 64 72 0a 7d 7d 7a 20 62 6f 78 5b 5d 20 >bdr.}}z box[]
27b0: 2f 66 6c 69 70 20 64 75 70 20 3e 73 6c 69 64 65 /flip dup >slide
27c0: 73 0a 0a 5c 20 70 61 67 65 20 36 0a 7b 7b 0a 24 s..\ page 6.{{.$
27d0: 46 46 42 46 46 46 46 46 20 70 72 65 73 2d 66 72 FFBFFFFF pres-fr
27e0: 61 6d 65 0a 7b 7b 0a 22 ce 9c ce 99 ce 9d ce a9 ame.{{."ΜΙΝΩ
27f0: ce a3 32 20 57 69 64 67 65 74 73 22 20 2f 74 69 Σ2 Widgets" /ti
2800: 74 6c 65 0a 22 44 65 73 69 67 6e 20 70 72 69 6e tle."Design prin
2810: 63 69 70 6c 65 20 69 73 20 61 20 4c 65 67 6f e2 ciple is a Lego
2820: 80 93 73 74 79 6c 65 20 63 6f 6d 62 69 6e 61 74 style combinat
2830: 69 6f 6e 20 6f 66 20 6d 61 6e 79 20 65 78 74 72 ion of many extr
2840: 65 6d 65 6c 79 20 73 69 6d 70 6c 65 20 6f 62 6a emely simple obj
2850: 65 63 74 73 22 20 5c 5c 0a 7b 7b 20 7b 7b 20 76 ects" \\.{{ {{ v
2860: 74 7b 7b 0a 22 61 63 74 6f 72 e2 80 83 22 20 22 t{{."actor " "
2870: 62 61 73 65 20 63 6c 61 73 73 20 74 68 61 74 20 base class that
2880: 72 65 61 63 74 73 20 6f 6e 20 61 6c 6c 20 61 63 reacts on all ac
2890: 74 69 6f 6e 73 20 28 63 6c 69 63 6b 73 2c 20 74 tions (clicks, t
28a0: 6f 75 63 68 73 2c 20 6b 65 79 73 29 22 20 62 5c ouchs, keys)" b\
28b0: 5c 0a 22 77 69 64 67 65 74 e2 80 83 22 20 22 62 \."widget " "b
28c0: 61 73 65 20 63 6c 61 73 73 20 66 6f 72 20 61 6c ase class for al
28d0: 6c 20 76 69 73 69 62 6c 65 20 6f 62 6a 65 63 74 l visible object
28e0: 73 22 20 62 5c 5c 0a 7b 7b 20 22 65 64 69 74 e2 s" b\\.{{ "edit
28f0: 80 83 22 20 62 30 20 62 6c 61 63 6b 69 73 68 20 " b0 blackish
2900: 22 65 64 69 74 61 62 6c 65 20 74 65 78 74 20 65 "editable text e
2910: 6c 65 6d 65 6e 74 20 22 20 7d 7d 74 65 78 74 0a lement " }}text.
2920: 5c 63 68 69 6e 65 73 65 20 22 e5 a4 8d e6 b4 bb \chinese "复活
2930: e8 8a 82 e5 bf ab e4 b9 90 ef bc 81 22 20 7d 7d 节快乐!" }}
2940: 65 64 69 74 20 64 75 70 20 56 61 6c 75 65 20 65 edit dup Value e
2950: 64 69 74 2d 66 69 65 6c 64 20 67 6c 75 65 2a 6c dit-field glue*l
2960: 20 7d 7d 67 6c 75 65 20 7d 7d 68 20 65 64 69 74 }}glue }}h edit
2970: 2d 66 69 65 6c 64 20 65 64 69 74 5b 5d 20 3e 62 -field edit[] >b
2980: 6c 0a 5c 6c 61 74 69 6e 20 5c 6e 6f 72 6d 61 6c l.\latin \normal
2990: 20 22 67 6c 75 65 e2 80 83 22 20 22 62 61 73 65 "glue " "base
29a0: 20 63 6c 61 73 73 20 66 6f 72 20 66 6c 65 78 69 class for flexi
29b0: 62 6c 65 20 6f 62 6a 65 63 74 73 22 20 62 5c 5c ble objects" b\\
29c0: 0a 22 74 69 6c 65 e2 80 83 22 20 22 63 6f 6c 6f ."tile " "colo
29d0: 72 65 64 20 72 65 63 74 61 6e 67 6c 65 22 20 62 red rectangle" b
29e0: 5c 5c 0a 22 66 72 61 6d 65 e2 80 83 22 20 22 63 \\."frame " "c
29f0: 6f 6c 6f 72 65 64 20 72 65 63 74 61 6e 67 6c 65 olored rectangle
2a00: 20 77 69 74 68 20 62 6f 72 64 65 72 73 22 20 62 with borders" b
2a10: 5c 5c 0a 22 74 65 78 74 e2 80 83 22 20 22 74 65 \\."text " "te
2a20: 78 74 20 65 6c 65 6d 65 6e 74 22 20 62 5c 5c 0a xt element" b\\.
2a30: 61 6c 73 6f 20 66 6f 6e 74 73 0a 5b 49 46 44 45 also fonts.[IFDE
2a40: 46 5d 20 65 6d 6f 6a 69 0a 20 20 20 20 22 65 6d F] emoji. "em
2a50: 6f 6a 69 e2 80 83 22 20 22 65 6d 6f 6a 69 20 65 oji " "emoji e
2a60: 6c 65 6d 65 6e 74 20 22 20 22 f0 9f 98 80 f0 9f lement " "😀
2a70: a4 ad f0 9f 98 81 f0 9f 98 82 f0 9f 98 87 f0 9f 😁😂😇
2a80: 98 88 f0 9f 99 88 f0 9f 99 89 f0 9f 99 8a f0 9f 🙈🙉🙊
2a90: 92 93 f0 9f 92 94 f0 9f 92 95 f0 9f 92 96 f0 9f 💔💕💖
2aa0: 92 97 f0 9f 92 98 f0 9f 8d ba f0 9f 8d bb f0 9f 💘🍺🍻
2ab0: 8e 89 f0 9f 8e bb f0 9f 8e ba f0 9f 8e b7 22 20 🎻🎺🎷"
2ac0: 62 62 65 5c 5c 0a 5b 45 4c 53 45 5d 0a 20 20 20 bbe\\.[ELSE].
2ad0: 20 22 65 6d 6f 6a 69 e2 80 83 22 20 22 65 6d 6f "emoji " "emo
2ae0: 6a 69 20 65 6c 65 6d 65 6e 74 20 28 6e 6f 20 65 ji element (no e
2af0: 6d 6f 6a 69 20 66 6f 6e 74 20 66 6f 75 6e 64 29 moji font found)
2b00: 22 20 62 5c 5c 0a 5b 54 48 45 4e 5d 0a 70 72 65 " b\\.[THEN].pre
2b10: 76 69 6f 75 73 0a 22 69 63 6f 6e e2 80 83 22 20 vious."icon "
2b20: 22 69 6d 61 67 65 20 66 72 6f 6d 20 61 6e 20 69 "image from an i
2b30: 63 6f 6e 20 74 65 78 74 75 72 65 22 20 62 5c 5c con texture" b\\
2b40: 0a 22 69 6d 61 67 65 e2 80 83 22 20 22 6c 61 72 ."image " "lar
2b50: 67 65 72 20 69 6d 61 67 65 22 20 62 5c 5c 0a 22 ger image" b\\."
2b60: 61 6e 69 6d 61 74 69 6f 6e e2 80 83 22 20 22 61 animation " "a
2b70: 63 74 69 6f 6e 20 66 6f 72 20 61 6e 69 6d 61 74 ction for animat
2b80: 69 6f 6e 73 22 20 62 5c 5c 0a 22 63 61 6e 76 61 ions" b\\."canva
2b90: 73 e2 80 83 22 20 22 76 65 63 74 6f 72 20 67 72 s " "vector gr
2ba0: 61 70 68 69 63 73 20 28 54 42 44 29 22 20 62 5c aphics (TBD)" b\
2bb0: 5c 0a 22 76 69 64 65 6f e2 80 83 22 20 22 76 69 \."video " "vi
2bc0: 64 65 6f 20 70 6c 61 79 65 72 20 28 54 42 44 29 deo player (TBD)
2bd0: 22 20 62 5c 5c 0a 7d 7d 76 74 0a 67 6c 75 65 2a " b\\.}}vt.glue*
2be0: 6c 20 7d 7d 67 6c 75 65 0a 74 65 78 3a 20 76 70 l }}glue.tex: vp
2bf0: 30 20 67 6c 75 65 2a 6c 20 27 20 76 70 30 20 7d 0 glue*l ' vp0 }
2c00: 7d 76 70 20 76 70 5b 5d 0a 24 46 46 42 46 46 46 }vp vp[].$FFBFFF
2c10: 46 46 20 63 6f 6c 6f 72 2c 20 74 6f 20 73 6c 69 FF color, to sli
2c20: 64 65 72 2d 63 6f 6c 6f 72 0a 66 6f 6e 74 2d 73 der-color.font-s
2c30: 69 7a 65 23 20 66 32 2f 20 66 32 2f 20 74 6f 20 ize# f2/ f2/ to
2c40: 73 6c 69 64 65 72 2d 62 6f 72 64 65 72 0a 64 75 slider-border.du
2c50: 70 20 66 6f 6e 74 2d 73 69 7a 65 23 20 66 32 2f p font-size# f2/
2c60: 20 66 64 75 70 20 76 73 6c 69 64 65 72 0a 7d 7d fdup vslider.}}
2c70: 68 20 62 6f 78 5b 5d 0a 7d 7d 76 20 62 6f 78 5b h box[].}}v box[
2c80: 5d 20 3e 62 64 72 0a 7d 7d 7a 20 62 6f 78 5b 5d ] >bdr.}}z box[]
2c90: 0a 2f 66 6c 69 70 20 64 75 70 20 3e 73 6c 69 64 ./flip dup >slid
2ca0: 65 73 0a 0a 5c 20 70 61 67 65 20 37 0a 7b 7b 0a es..\ page 7.{{.
2cb0: 24 42 46 46 46 46 46 46 46 20 70 72 65 73 2d 66 $BFFFFFFF pres-f
2cc0: 72 61 6d 65 0a 7b 7b 0a 22 ce 9c ce 99 ce 9d ce rame.{{."ΜΙΝ
2cd0: a9 ce a3 32 20 42 6f 78 65 73 22 20 2f 74 69 74 Σ2 Boxes" /tit
2ce0: 6c 65 0a 7b 7b 0a 22 4a 75 73 74 20 6c 69 6b 65 le.{{."Just like
2cf0: 20 22 20 7d 7d 74 65 78 74 20 5c 4c 61 54 65 58 " }}text \LaTeX
2d00: 20 22 2c 20 62 6f 78 65 73 20 61 72 72 61 6e 67 ", boxes arrang
2d10: 65 20 77 69 64 67 65 74 73 2f 74 65 78 74 22 20 e widgets/text"
2d20: 7d 7d 74 65 78 74 20 67 6c 75 65 2a 6c 20 7d 7d }}text glue*l }}
2d30: 68 20 62 6f 78 5b 5d 0a 3e 62 6c 0a 5c 73 6b 69 h box[].>bl.\ski
2d40: 70 0a 76 74 7b 7b 0a 22 68 62 6f 78 e2 80 83 22 p.vt{{."hbox "
2d50: 20 22 48 6f 72 69 7a 6f 6e 74 61 6c 20 62 6f 78 "Horizontal box
2d60: 2c 20 63 6f 6d 6d 6f 6e 20 62 61 73 65 6c 69 6e , common baselin
2d70: 65 22 20 62 5c 5c 0a 22 76 62 6f 78 e2 80 83 22 e" b\\."vbox "
2d80: 20 22 56 65 72 74 69 63 61 6c 20 62 6f 78 2c 20 "Vertical box,
2d90: 6d 69 6e 69 6d 75 6d 20 64 69 73 74 61 6e 63 65 minimum distance
2da0: 20 61 20 62 61 73 65 6c 69 6e 65 73 6b 69 70 20 a baselineskip
2db0: 28 6f 66 20 74 68 65 20 68 62 6f 78 65 73 20 62 (of the hboxes b
2dc0: 65 6c 6f 77 29 22 20 62 5c 5c 0a 22 7a 62 6f 78 elow)" b\\."zbox
2dd0: e2 80 83 22 20 22 4f 76 65 72 6c 61 70 70 69 6e " "Overlappin
2de0: 67 20 73 65 76 65 72 61 6c 20 62 6f 78 65 73 22 g several boxes"
2df0: 20 62 5c 5c 0a 22 67 72 69 64 e2 80 83 22 20 22 b\\."grid " "
2e00: 46 72 65 65 20 77 69 64 67 65 74 20 70 6c 61 63 Free widget plac
2e10: 65 6d 65 6e 74 73 20 28 54 42 44 29 22 20 62 5c ements (TBD)" b\
2e20: 5c 0a 22 73 6c 69 64 65 72 e2 80 83 22 20 22 68 \."slider " "h
2e30: 6f 72 69 7a 6f 6e 74 61 6c 20 61 6e 64 20 76 65 orizontal and ve
2e40: 72 74 69 63 61 6c 20 73 6c 69 64 65 72 73 20 28 rtical sliders (
2e50: 63 6f 6d 70 6f 73 69 74 65 20 6f 62 6a 65 63 74 composite object
2e60: 29 22 20 62 5c 5c 0a 5c 73 6b 69 70 0a 22 54 68 )" b\\.\skip."Th
2e70: 65 72 65 20 77 69 6c 6c 20 62 65 20 73 6f 6d 65 ere will be some
2e80: 20 6d 6f 72 65 20 76 61 72 69 61 6e 74 73 20 66 more variants f
2e90: 6f 72 20 74 61 62 6c 65 73 20 61 6e 64 20 77 72 or tables and wr
2ea0: 61 70 70 65 64 20 70 61 72 61 67 72 61 70 68 73 apped paragraphs
2eb0: 22 20 5c 5c 0a 7d 7d 76 74 0a 67 6c 75 65 2a 6c " \\.}}vt.glue*l
2ec0: 20 7d 7d 67 6c 75 65 0a 7d 7d 76 20 62 6f 78 5b }}glue.}}v box[
2ed0: 5d 20 3e 62 64 72 0a 7d 7d 7a 20 62 6f 78 5b 5d ] >bdr.}}z box[]
2ee0: 20 2f 66 6c 69 70 20 64 75 70 20 3e 73 6c 69 64 /flip dup >slid
2ef0: 65 73 0a 0a 5c 20 70 61 67 65 20 38 0a 7b 7b 0a es..\ page 8.{{.
2f00: 24 46 46 46 46 42 46 46 46 20 70 72 65 73 2d 66 $FFFFBFFF pres-f
2f10: 72 61 6d 65 0a 7b 7b 0a 22 ce 9c ce 99 ce 9d ce rame.{{."ΜΙΝ
2f20: a9 ce a3 32 20 44 69 73 70 6c 61 79 73 22 20 2f Σ2 Displays" /
2f30: 74 69 74 6c 65 0a 22 52 65 6e 64 65 72 20 69 6e title."Render in
2f40: 74 6f 20 64 69 66 66 65 72 65 6e 74 20 6b 69 6e to different kin
2f50: 64 73 20 6f 66 20 64 69 73 70 6c 61 79 73 22 20 ds of displays"
2f60: 5c 5c 0a 5c 73 6b 69 70 0a 76 74 7b 7b 0a 22 76 \\.\skip.vt{{."v
2f70: 69 65 77 70 6f 72 74 e2 80 83 22 20 22 49 6e 74 iewport " "Int
2f80: 6f 20 61 20 74 65 78 74 75 72 65 2c 20 75 73 65 o a texture, use
2f90: 64 20 61 73 20 76 69 65 77 70 6f 72 74 22 20 62 d as viewport" b
2fa0: 5c 5c 0a 22 64 69 73 70 6c 61 79 e2 80 83 22 20 \\."display "
2fb0: 22 54 6f 20 74 68 65 20 61 63 74 75 61 6c 20 64 "To the actual d
2fc0: 69 73 70 6c 61 79 22 20 62 5c 5c 0a 7d 7d 76 74 isplay" b\\.}}vt
2fd0: 0a 67 6c 75 65 2a 6c 20 7d 7d 67 6c 75 65 0a 7d .glue*l }}glue.}
2fe0: 7d 76 20 62 6f 78 5b 5d 20 3e 62 64 72 0a 7d 7d }v box[] >bdr.}}
2ff0: 7a 20 62 6f 78 5b 5d 20 2f 66 6c 69 70 20 64 75 z box[] /flip du
3000: 70 20 3e 73 6c 69 64 65 73 0a 0a 5c 20 70 61 67 p >slides..\ pag
3010: 65 20 39 0a 7b 7b 0a 24 42 46 44 46 46 46 46 46 e 9.{{.$BFDFFFFF
3020: 20 70 72 65 73 2d 66 72 61 6d 65 0a 7b 7b 0a 22 pres-frame.{{."
3030: 4d 69 6e 69 6d 69 7a 65 20 44 72 61 77 20 43 61 Minimize Draw Ca
3040: 6c 6c 73 22 20 2f 74 69 74 6c 65 0a 22 4f 70 65 lls" /title."Ope
3050: 6e 47 4c 20 77 61 6e 74 73 20 61 73 20 66 65 77 nGL wants as few
3060: 20 64 72 61 77 e2 80 93 63 61 6c 6c 73 20 70 65 draw–calls pe
3070: 72 20 66 72 61 6d 65 2c 20 73 6f 20 64 69 66 66 r frame, so diff
3080: 65 72 65 6e 74 20 63 6f 6e 74 65 78 74 73 20 61 erent contexts a
3090: 72 65 20 64 72 61 77 6e 22 20 5c 5c 0a 22 69 6e re drawn" \\."in
30a0: 20 73 74 61 63 6b 73 20 77 69 74 68 20 61 20 64 stacks with a d
30b0: 72 61 77 e2 80 93 63 61 6c 6c 20 65 61 63 68 22 raw–call each"
30c0: 20 5c 5c 0a 5c 73 6b 69 70 0a 76 74 7b 7b 0a 22 \\.\skip.vt{{."
30d0: 69 6e 69 74 e2 80 83 22 20 22 49 6e 69 74 69 61 init " "Initia
30e0: 6c 69 7a 61 74 69 6f 6e 20 72 6f 75 6e 64 22 20 lization round"
30f0: 62 5c 5c 0a 22 62 67 e2 80 83 22 20 22 42 61 63 b\\."bg " "Bac
3100: 6b 67 72 6f 75 6e 64 20 72 6f 75 6e 64 22 20 62 kground round" b
3110: 5c 5c 0a 22 69 63 6f 6e e2 80 83 22 20 22 64 72 \\."icon " "dr
3120: 61 77 20 69 74 65 6d 73 20 6f 66 20 74 68 65 20 aw items of the
3130: 69 63 6f 6e 20 74 65 78 74 75 72 65 22 20 62 5c icon texture" b\
3140: 5c 0a 22 74 68 75 6d 62 6e 61 69 6c e2 80 83 22 \."thumbnail "
3150: 20 22 64 72 61 77 20 69 74 65 6d 73 20 6f 66 20 "draw items of
3160: 74 68 65 20 74 68 75 6d 62 6e 61 69 6c 20 74 65 the thumbnail te
3170: 78 74 75 72 65 22 20 62 5c 5c 0a 22 69 6d 61 67 xture" b\\."imag
3180: 65 e2 80 83 22 20 22 69 6d 61 67 65 73 20 77 69 e " "images wi
3190: 74 68 20 6f 6e 65 20 64 72 61 77 20 63 61 6c 6c th one draw call
31a0: 20 70 65 72 20 69 6d 61 67 65 22 20 62 5c 5c 0a per image" b\\.
31b0: 22 6d 61 72 6b 69 6e 67 e2 80 83 22 20 22 63 75 "marking " "cu
31c0: 72 73 6f 72 2f 73 65 6c 65 63 74 69 6f 6e 20 68 rsor/selection h
31d0: 69 67 68 6c 69 67 68 74 20 72 6f 75 6e 64 22 20 ighlight round"
31e0: 62 5c 5c 0a 22 74 65 78 74 e2 80 83 22 20 22 74 b\\."text " "t
31f0: 65 78 74 20 72 6f 75 6e 64 22 20 62 5c 5c 0a 22 ext round" b\\."
3200: 65 6d 6f 6a 69 e2 80 83 22 20 22 65 6d 6f 6a 69 emoji " "emoji
3210: 20 72 6f 75 6e 64 22 20 62 5c 5c 0a 7d 7d 76 74 round" b\\.}}vt
3220: 0a 67 6c 75 65 2a 6c 20 7d 7d 67 6c 75 65 0a 7d .glue*l }}glue.}
3230: 7d 76 20 62 6f 78 5b 5d 20 3e 62 64 72 0a 7d 7d }v box[] >bdr.}}
3240: 7a 20 62 6f 78 5b 5d 20 2f 66 6c 69 70 20 64 75 z box[] /flip du
3250: 70 20 3e 73 6c 69 64 65 73 0a 0a 5c 20 70 61 67 p >slides..\ pag
3260: 65 20 31 30 0a 7b 7b 0a 24 44 34 41 46 33 37 46 e 10.{{.$D4AF37F
3270: 46 20 70 72 65 73 2d 66 72 61 6d 65 0a 7b 7b 0a F pres-frame.{{.
3280: 22 24 71 75 69 64 e2 80 af 26 e2 80 af 53 77 61 "$quid & Swa
3290: 70 44 72 61 67 6f 6e 43 68 61 69 6e 22 20 2f 74 pDragonChain" /t
32a0: 69 74 6c 65 0a 22 54 6f 70 69 63 73 3a 22 20 2f itle."Topics:" /
32b0: 73 75 62 73 65 63 74 69 6f 6e 0a 5c 73 6b 69 70 subsection.\skip
32c0: 0a 76 74 7b 7b 0a 22 4d 6f 6e 65 79 e2 80 83 22 .vt{{."Money "
32d0: 20 22 57 68 61 74 e2 80 99 73 20 74 68 61 74 20 "What’s that
32e0: 61 6c 6c 20 61 62 6f 75 74 3f 22 20 62 5c 5c 0a all about?" b\\.
32f0: 22 42 69 74 43 6f 69 6e e2 80 83 22 20 22 53 68 "BitCoin " "Sh
3300: 6f 72 74 63 6f 6d 69 6e 67 73 20 6f 66 20 61 20 ortcomings of a
3310: 66 69 72 73 74 20 70 72 6f 6f 66 20 6f 66 20 63 first proof of c
3320: 6f 6e 63 65 70 74 22 20 62 5c 5c 0a 22 57 65 61 oncept" b\\."Wea
3330: 6c 74 68 e2 80 83 22 20 22 45 74 68 69 63 61 6c lth " "Ethical
3340: 20 69 6d 70 6c 69 63 61 74 69 6f 6e 20 69 6e 20 implication in
3350: 64 65 66 6c 61 74 69 6f 6e 61 72 79 20 73 79 73 deflationary sys
3360: 74 65 6d 73 22 20 62 5c 5c 0a 22 50 72 6f 6f 66 tems" b\\."Proof
3370: 20 6f 66 e2 80 83 22 20 22 54 72 75 73 74 20 69 of " "Trust i
3380: 6e 73 74 65 61 64 20 57 6f 72 6b 22 20 62 5c 5c nstead Work" b\\
3390: 0a 22 42 6c 6f 63 6b 43 68 61 69 6e e2 80 83 22 ."BlockChain "
33a0: 20 22 57 68 61 74 e2 80 99 73 20 74 68 65 20 61 "What’s the a
33b0: 63 74 75 61 6c 20 70 6f 69 6e 74 3f 22 20 62 5c ctual point?" b\
33c0: 5c 0a 22 53 63 61 6c 65 e2 80 83 22 20 22 48 6f \."Scale " "Ho
33d0: 77 20 74 6f 20 73 63 61 6c 65 20 61 20 42 6c 6f w to scale a Blo
33e0: 63 6b 43 68 61 69 6e 3f 22 20 62 5c 5c 0a 22 24 ckChain?" b\\."$
33f0: 71 75 69 64 e2 80 83 22 20 22 45 74 68 69 63 61 quid " "Ethica
3400: 6c 20 77 61 79 73 20 74 6f 20 63 72 65 61 74 65 l ways to create
3410: 20 6d 6f 6e 65 79 22 20 62 5c 5c 0a 7d 7d 76 74 money" b\\.}}vt
3420: 0a 67 6c 75 65 2a 6c 20 7d 7d 67 6c 75 65 0a 7d .glue*l }}glue.}
3430: 7d 76 20 62 6f 78 5b 5d 20 3e 62 64 72 0a 7b 7b }v box[] >bdr.{{
3440: 0a 67 6c 75 65 2a 6c 20 7d 7d 67 6c 75 65 0a 74 .glue*l }}glue.t
3450: 65 78 3a 20 24 71 75 69 64 2d 6c 6f 67 6f 2d 6c ex: $quid-logo-l
3460: 61 72 67 65 0a 09 27 20 24 71 75 69 64 2d 6c 6f arge..' $quid-lo
3470: 67 6f 2d 6c 61 72 67 65 20 22 73 71 75 69 64 2d go-large "squid-
3480: 6c 6f 67 6f 2e 70 6e 67 22 20 30 2e 36 36 36 65 logo.png" 0.666e
3490: 20 7d 7d 69 6d 61 67 65 2d 66 69 6c 65 20 64 72 }}image-file dr
34a0: 6f 70 0a 09 3e 6f 20 24 46 46 46 46 46 46 42 42 op..>o $FFFFFFBB
34b0: 20 63 6f 6c 6f 72 2c 20 74 6f 20 77 2d 63 6f 6c color, to w-col
34c0: 6f 72 20 6f 20 6f 3e 20 2f 72 69 67 68 74 0a 7d or o o> /right.}
34d0: 7d 76 20 62 6f 78 5b 5d 20 3e 62 64 72 0a 7d 7d }v box[] >bdr.}}
34e0: 7a 20 62 6f 78 5b 5d 20 2f 66 6c 69 70 20 64 75 z box[] /flip du
34f0: 70 20 3e 73 6c 69 64 65 73 0a 0a 5c 20 70 61 67 p >slides..\ pag
3500: 65 20 31 31 0a 7b 7b 0a 24 65 34 63 46 37 37 46 e 11.{{.$e4cF77F
3510: 46 20 70 72 65 73 2d 66 72 61 6d 65 0a 7b 7b 0a F pres-frame.{{.
3520: 22 57 68 61 74 e2 80 99 73 20 4d 6f 6e 65 79 3f "What’s Money?
3530: 22 20 2f 74 69 74 6c 65 0a 76 74 7b 7b 0a 22 43 " /title.vt{{."C
3540: 6f 6d 6d 6f 64 69 74 79 20 7e 3a e2 80 83 22 20 ommodity ~: "
3550: 22 4f 62 6a 65 63 74 73 20 77 69 74 68 20 69 6e "Objects with in
3560: 68 65 72 65 6e 74 20 76 61 6c 75 65 22 20 62 5c herent value" b\
3570: 5c 0a 22 50 72 6f 6d 69 73 73 6f 72 79 20 6e 6f \."Promissory no
3580: 74 65 3a e2 80 83 22 20 22 42 61 6e 6b 20 63 72 te: " "Bank cr
3590: 65 61 74 65 64 20 70 61 70 65 72 20 66 6f 72 20 eated paper for
35a0: 63 6f 6d 6d 6f 64 69 74 79 22 20 62 5c 5c 0a 22 commodity" b\\."
35b0: 52 65 70 72 65 73 65 6e 74 61 74 69 76 65 20 7e Representative ~
35c0: 3a e2 80 83 22 20 22 50 72 6f 6d 69 73 65 20 74 : " "Promise t
35d0: 6f 20 65 78 63 68 61 6e 67 65 20 77 69 74 68 20 o exchange with
35e0: e2 80 9c 73 74 61 6e 64 61 72 64 20 6f 62 6a 65 “standard obje
35f0: 63 74 e2 80 9d 20 28 65 2e 67 2e 20 67 6f 6c 64 ct” (e.g. gold
3600: 29 22 20 62 5c 5c 0a 22 46 69 61 74 20 7e 3a e2 )" b\\."Fiat ~:
3610: 80 83 22 20 22 4e 6f 20 69 6e 68 65 72 65 6e 74 " "No inherent
3620: 20 76 61 6c 75 65 3b 20 70 72 6f 6d 69 73 65 2c value; promise,
3630: 20 69 66 20 61 6e 79 2c 20 61 73 20 6c 65 67 61 if any, as lega
3640: 6c 20 74 65 6e 64 65 72 22 20 62 5c 5c 0a 22 4c l tender" b\\."L
3650: 65 67 61 6c 20 74 65 6e 64 65 72 3a e2 80 83 22 egal tender: "
3660: 20 22 4d 65 64 69 75 6d 20 6f 66 20 70 61 79 6d "Medium of paym
3670: 65 6e 74 20 62 79 20 6c 61 77 22 20 62 5c 5c 0a ent by law" b\\.
3680: 7d 7d 76 74 0a 67 6c 75 65 2a 6c 20 7d 7d 67 6c }}vt.glue*l }}gl
3690: 75 65 0a 7d 7d 76 20 62 6f 78 5b 5d 20 3e 62 64 ue.}}v box[] >bd
36a0: 72 0a 7b 7b 0a 67 6c 75 65 2a 6c 20 7d 7d 67 6c r.{{.glue*l }}gl
36b0: 75 65 0a 7b 7b 0a 7b 7b 0a 74 65 78 3a 20 73 68 ue.{{.{{.tex: sh
36c0: 65 6c 6c 2d 63 6f 69 6e 73 0a 74 65 78 3a 20 66 ell-coins.tex: f
36d0: 65 69 71 69 61 6e 0a 74 65 78 3a 20 68 75 69 7a eiqian.tex: huiz
36e0: 69 0a 74 65 78 3a 20 63 68 61 6f 0a 67 6c 75 65 i.tex: chao.glue
36f0: 2a 6c 20 7d 7d 67 6c 75 65 0a 27 20 73 68 65 6c *l }}glue.' shel
3700: 6c 2d 63 6f 69 6e 73 20 22 73 68 65 6c 6c 2d 63 l-coins "shell-c
3710: 6f 69 6e 73 2e 70 6e 67 22 20 30 2e 36 36 36 65 oins.png" 0.666e
3720: 20 7d 7d 69 6d 61 67 65 2d 66 69 6c 65 20 64 72 }}image-file dr
3730: 6f 70 0a 67 6c 75 65 2a 6c 20 7d 7d 67 6c 75 65 op.glue*l }}glue
3740: 0a 27 20 66 65 69 71 69 61 6e 20 22 66 65 69 71 .' feiqian "feiq
3750: 69 61 6e 2e 70 6e 67 22 20 30 2e 36 36 36 65 20 ian.png" 0.666e
3760: 7d 7d 69 6d 61 67 65 2d 66 69 6c 65 20 64 72 6f }}image-file dro
3770: 70 0a 67 6c 75 65 2a 6c 20 7d 7d 67 6c 75 65 0a p.glue*l }}glue.
3780: 27 20 68 75 69 7a 69 20 22 68 75 69 7a 69 2e 70 ' huizi "huizi.p
3790: 6e 67 22 20 30 2e 36 36 36 65 20 7d 7d 69 6d 61 ng" 0.666e }}ima
37a0: 67 65 2d 66 69 6c 65 20 64 72 6f 70 0a 67 6c 75 ge-file drop.glu
37b0: 65 2a 6c 20 7d 7d 67 6c 75 65 0a 27 20 63 68 61 e*l }}glue.' cha
37c0: 6f 20 22 63 68 61 6f 2e 6a 70 67 22 20 30 2e 36 o "chao.jpg" 0.6
37d0: 36 36 65 20 7d 7d 69 6d 61 67 65 2d 66 69 6c 65 66e }}image-file
37e0: 20 64 72 6f 70 0a 67 6c 75 65 2a 6c 20 7d 7d 67 drop.glue*l }}g
37f0: 6c 75 65 0a 7d 7d 68 20 62 6f 78 5b 5d 0a 74 65 lue.}}h box[].te
3800: 78 3a 20 76 70 31 20 67 6c 75 65 2a 6c 20 27 20 x: vp1 glue*l '
3810: 76 70 31 20 7d 7d 76 70 20 76 70 5b 5d 0a 7d 7d vp1 }}vp vp[].}}
3820: 76 20 62 6f 78 5b 5d 20 3e 62 64 72 0a 7d 7d 7a v box[] >bdr.}}z
3830: 20 62 6f 78 5b 5d 0a 2f 66 6c 69 70 20 64 75 70 box[]./flip dup
3840: 20 3e 73 6c 69 64 65 73 0a 0a 5c 20 70 61 67 65 >slides..\ page
3850: 20 31 32 0a 7b 7b 0a 24 66 34 63 46 35 37 46 46 12.{{.$f4cF57FF
3860: 20 70 72 65 73 2d 66 72 61 6d 65 0a 7b 7b 0a 22 pres-frame.{{."
3870: 42 69 74 43 6f 69 6e 73 20 e2 80 94 20 65 61 72 BitCoins — ear
3880: 6c 79 20 e2 80 9c 43 72 79 70 74 6f e2 80 9d 20 ly “Crypto”
3890: 73 68 6f 72 74 63 6f 6d 69 6e 67 73 22 20 2f 74 shortcomings" /t
38a0: 69 74 6c 65 0a 76 74 7b 7b 0a 22 e2 80 a2 e2 80 itle.vt{{."•
38b0: 83 22 20 22 50 72 6f 6f 66 20 6f 66 20 77 6f 72 " "Proof of wor
38c0: 6b 3a 20 77 61 73 74 65 66 75 6c 20 61 6e 64 20 k: wasteful and
38d0: 79 65 74 20 6f 6e 6c 79 20 6d 61 72 67 69 6e 61 yet only margina
38e0: 6c 6c 79 20 73 65 63 75 72 65 22 20 62 5c 5c 0a lly secure" b\\.
38f0: 22 e2 80 a2 e2 80 83 22 20 22 49 6e 66 6c 61 74 "• " "Inflat
3900: 69 6f 6e 20 69 73 20 6d 6f 6e 65 79 e2 80 99 73 ion is money’s
3910: 20 63 61 6e 63 65 72 2c 20 64 65 66 6c 61 74 69 cancer, deflati
3920: 6f 6e 20 69 74 73 20 69 6e 66 61 72 63 74 22 20 on its infarct"
3930: 62 5c 5c 0a 22 e2 80 a2 e2 80 83 22 20 22 43 6f b\\."• " "Co
3940: 6e 73 65 71 75 65 6e 63 65 73 3a 20 75 6e 73 74 nsequences: unst
3950: 61 62 6c 65 20 65 78 61 6e 67 65 20 72 61 74 65 able exange rate
3960: 2c 20 68 69 67 68 20 74 72 61 6e 73 61 63 74 69 , high transacti
3970: 6f 6e 20 66 65 65 73 22 20 62 5c 5c 0a 22 e2 80 on fees" b\\."
3980: a2 e2 80 83 22 20 22 50 6f 6e 7a 69 20 73 63 68 " "Ponzi sch
3990: 65 6d 65 e2 80 93 73 74 79 6c 65 20 62 75 62 62 eme–style bubb
39a0: 6c 65 22 20 62 5c 5c 0a 22 e2 80 a2 e2 80 83 22 le" b\\."• "
39b0: 20 22 28 49 6e 73 74 65 61 64 20 6f 66 20 67 65 "(Instead of ge
39c0: 74 74 69 6e 67 20 56 69 61 67 72 61 20 73 70 61 tting Viagra spa
39d0: 6d 20 49 20 6e 6f 77 20 67 65 74 20 42 69 74 43 m I now get BitC
39e0: 6f 69 6e 20 73 70 61 6d 29 22 20 62 5c 5c 0a 22 oin spam)" b\\."
39f0: e2 80 a2 e2 80 83 22 20 22 43 61 6e e2 80 99 74 • " "Can’t
3a00: 20 65 76 65 6e 20 64 6f 20 74 68 65 20 65 78 63 even do the exc
3a10: 68 61 6e 67 65 20 74 72 61 6e 73 61 63 74 69 6f hange transactio
3a20: 6e 20 6f 6e e2 80 93 63 68 61 69 6e 22 20 62 5c n on–chain" b\
3a30: 5c 0a 7d 7d 76 74 0a 67 6c 75 65 2a 6c 20 7d 7d \.}}vt.glue*l }}
3a40: 67 6c 75 65 0a 7d 7d 76 20 62 6f 78 5b 5d 20 3e glue.}}v box[] >
3a50: 62 64 72 0a 7b 7b 0a 67 6c 75 65 2a 6c 20 7d 7d bdr.{{.glue*l }}
3a60: 67 6c 75 65 0a 74 65 78 3a 20 62 69 74 63 6f 69 glue.tex: bitcoi
3a70: 6e 2d 62 75 62 62 6c 65 0a 27 20 62 69 74 63 6f n-bubble.' bitco
3a80: 69 6e 2d 62 75 62 62 6c 65 20 22 62 69 74 63 6f in-bubble "bitco
3a90: 69 6e 2d 62 75 62 62 6c 65 2e 70 6e 67 22 20 30 in-bubble.png" 0
3aa0: 2e 38 35 65 20 7d 7d 69 6d 61 67 65 2d 66 69 6c .85e }}image-fil
3ab0: 65 20 64 72 6f 70 20 2f 72 69 67 68 74 0a 7d 7d e drop /right.}}
3ac0: 76 20 62 6f 78 5b 5d 20 3e 62 64 72 0a 7d 7d 7a v box[] >bdr.}}z
3ad0: 20 62 6f 78 5b 5d 20 2f 66 6c 69 70 20 64 75 70 box[] /flip dup
3ae0: 20 3e 73 6c 69 64 65 73 0a 0a 5c 20 70 61 67 65 >slides..\ page
3af0: 20 31 33 0a 7b 7b 0a 24 65 34 64 66 36 37 66 66 13.{{.$e4df67ff
3b00: 20 70 72 65 73 2d 66 72 61 6d 65 0a 7b 7b 0a 22 pres-frame.{{."
3b10: 57 65 61 6c 74 68 e2 80 af 26 e2 80 af 45 74 68 Wealth & Eth
3b20: 69 63 73 22 20 2f 74 69 74 6c 65 0a 76 74 7b 7b ics" /title.vt{{
3b30: 0a 22 e2 80 a2 e2 80 83 22 20 22 48 75 67 65 20 ."• " "Huge
3b40: 66 69 72 73 74 20 6d 6f 76 65 72 20 61 64 76 61 first mover adva
3b50: 6e 74 61 67 65 22 20 62 5c 5c 0a 22 e2 80 a2 e2 ntage" b\\."•
3b60: 80 83 22 20 22 41 6c 72 65 61 64 79 20 77 6f 72 " "Already wor
3b70: 73 65 20 77 65 61 6c 74 68 20 64 69 73 74 72 69 se wealth distri
3b80: 62 75 74 69 6f 6e 20 74 68 61 6e 20 6e 65 6f 6c bution than neol
3b90: 69 62 65 72 61 6c 20 65 63 6f 6e 6f 6d 79 22 20 iberal economy"
3ba0: 62 5c 5c 0a 22 e2 80 a2 e2 80 83 22 20 22 48 75 b\\."• " "Hu
3bb0: 67 65 20 69 6e 65 71 75 61 6c 69 74 79 20 64 72 ge inequality dr
3bc0: 69 76 65 73 20 73 6f 63 69 65 74 79 20 69 6e 74 ives society int
3bd0: 6f 20 73 65 72 76 69 74 75 64 65 2c 20 6e 6f 74 o servitude, not
3be0: 20 69 6e 74 6f 20 66 72 65 65 64 6f 6d 22 20 62 into freedom" b
3bf0: 5c 5c 0a 22 e2 80 a2 e2 80 83 22 20 22 4e 6f 20 \\."• " "No
3c00: 63 6f 6e 63 65 70 74 20 6f 66 20 61 20 63 72 65 concept of a cre
3c10: 64 69 74 22 20 62 5c 5c 0a 22 e2 80 a2 e2 80 83 dit" b\\."•
3c20: 22 20 22 4c 69 67 68 74 6e 69 6e 67 20 6e 65 74 " "Lightning net
3c30: 77 6f 72 6b 20 61 6c 73 6f 20 62 69 6e 64 73 20 work also binds
3c40: 61 73 73 65 74 73 20 28 77 69 6c 6c 20 68 61 76 assets (will hav
3c50: 65 20 66 65 65 73 20 61 73 20 63 6f 6e 73 65 71 e fees as conseq
3c60: 75 65 6e 63 65 29 22 20 62 5c 5c 0a 7d 7d 76 74 uence)" b\\.}}vt
3c70: 0a 67 6c 75 65 2a 6c 20 7d 7d 67 6c 75 65 0a 7d .glue*l }}glue.}
3c80: 7d 76 20 62 6f 78 5b 5d 20 3e 62 64 72 0a 7b 7b }v box[] >bdr.{{
3c90: 0a 67 6c 75 65 2a 6c 20 7d 7d 67 6c 75 65 0a 74 .glue*l }}glue.t
3ca0: 65 78 3a 20 66 72 65 65 2d 6d 61 72 6b 65 74 0a ex: free-market.
3cb0: 27 20 66 72 65 65 2d 6d 61 72 6b 65 74 20 22 66 ' free-market "f
3cc0: 72 65 65 2d 6d 61 72 6b 65 74 2e 6a 70 67 22 20 ree-market.jpg"
3cd0: 30 2e 36 36 36 65 20 7d 7d 69 6d 61 67 65 2d 66 0.666e }}image-f
3ce0: 69 6c 65 20 64 72 6f 70 20 2f 72 69 67 68 74 0a ile drop /right.
3cf0: 7d 7d 76 20 62 6f 78 5b 5d 20 3e 62 64 72 0a 7d }}v box[] >bdr.}
3d00: 7d 7a 20 62 6f 78 5b 5d 20 2f 66 6c 69 70 20 64 }z box[] /flip d
3d10: 75 70 20 3e 73 6c 69 64 65 73 0a 0a 5c 20 70 61 up >slides..\ pa
3d20: 67 65 20 31 34 0a 7b 7b 0a 24 61 34 64 66 38 37 ge 14.{{.$a4df87
3d30: 66 66 20 70 72 65 73 2d 66 72 61 6d 65 0a 7b 7b ff pres-frame.{{
3d40: 0a 22 50 72 6f 6f 66 20 6f 66 20 57 68 61 74 3f ."Proof of What?
3d50: 21 22 20 2f 74 69 74 6c 65 0a 76 74 7b 7b 0a 22 !" /title.vt{{."
3d60: 43 68 61 6c 6c 65 6e 67 65 e2 80 83 22 20 22 41 Challenge " "A
3d70: 76 6f 69 64 20 64 6f 75 62 6c 65 e2 80 93 73 70 void double–sp
3d80: 65 6e 64 69 6e 67 22 20 62 5c 5c 0a 22 53 74 61 ending" b\\."Sta
3d90: 74 65 20 6f 66 20 74 68 65 20 61 72 74 3a e2 80 te of the art:
3da0: 83 22 20 22 50 72 6f 6f 66 20 6f 66 20 77 6f 72 " "Proof of wor
3db0: 6b 22 20 62 5c 5c 0a 22 50 72 6f 62 6c 65 6d 3a k" b\\."Problem:
3dc0: e2 80 83 22 20 22 50 72 6f 6f 66 20 6f 66 20 77 " "Proof of w
3dd0: 6f 72 6b 20 62 75 72 6e 73 20 65 6e 65 72 67 79 ork burns energy
3de0: 20 61 6e 64 20 47 50 55 73 22 20 62 5c 5c 0a 22 and GPUs" b\\."
3df0: 53 75 67 67 65 73 74 69 6f 6e 20 31 3a e2 80 83 Suggestion 1:
3e00: 22 20 22 50 72 6f 6f 66 20 6f 66 20 73 74 61 6b " "Proof of stak
3e10: 65 20 28 6d 6f 6e 65 79 20 62 75 79 73 20 69 6e e (money buys in
3e20: 66 6c 75 65 6e 63 65 29 22 20 62 5c 5c 0a 22 50 fluence)" b\\."P
3e30: 72 6f 62 6c 65 6d 3a e2 80 83 22 20 22 4d 6f 6e roblem: " "Mon
3e40: 65 79 20 63 6f 72 72 75 70 74 73 2c 20 61 6e 64 ey corrupts, and
3e50: 20 63 6f 72 72 75 70 74 20 65 6e 74 69 74 69 65 corrupt entitie
3e60: 73 20 6d 69 73 62 65 68 61 76 65 22 20 62 5c 5c s misbehave" b\\
3e70: 0a 22 53 75 67 67 65 73 74 69 6f 6e 20 32 3a e2 ."Suggestion 2:
3e80: 80 83 22 20 22 50 72 6f 6f 66 20 6f 66 20 77 65 " "Proof of we
3e90: 6c 6c e2 80 93 62 65 68 61 76 69 6e 67 20 28 74 ll–behaving (t
3ea0: 72 75 73 74 2c 20 74 72 75 73 74 77 6f 72 74 68 rust, trustworth
3eb0: 79 6e 65 73 73 29 22 20 62 5c 5c 0a 22 48 6f 77 yness)" b\\."How
3ec0: 3f e2 80 83 22 20 22 48 61 76 69 6e 67 20 73 69 ? " "Having si
3ed0: 67 6e 65 64 20 6d 61 6e 79 20 62 6c 6f 63 6b 73 gned many blocks
3ee0: 20 69 6e 20 74 68 65 20 63 68 61 69 6e 20 67 61 in the chain ga
3ef0: 69 6e 73 20 70 6f 69 6e 74 73 22 20 62 5c 5c 0a ins points" b\\.
3f00: 22 4d 75 6c 74 69 70 6c 65 20 73 69 67 6e 65 72 "Multiple signer
3f10: 73 e2 80 83 22 20 22 4e 6f 74 20 6f 6e 6c 79 20 s " "Not only
3f20: 68 61 76 65 20 6f 6e 65 20 73 69 67 6e 65 72 2c have one signer,
3f30: 20 62 75 74 20 6d 61 6e 79 22 20 62 5c 5c 0a 22 but many" b\\."
3f40: 53 75 73 70 69 63 69 6f 6e e2 80 83 22 20 22 44 Suspicion " "D
3f50: 6f 6e 27 74 20 61 63 63 65 70 74 20 74 72 61 6e on't accept tran
3f60: 73 61 63 74 69 6f 6e 73 20 69 6e 20 6c 6f 77 20 sactions in low
3f70: 63 6f 6e 66 69 64 65 6e 63 65 20 62 6c 6f 63 6b confidence block
3f80: 73 22 20 62 5c 5c 0a 22 49 64 65 61 e2 80 83 22 s" b\\."Idea "
3f90: 20 22 52 65 70 65 61 74 65 64 20 70 72 69 73 6f "Repeated priso
3fa0: 6e 65 72 e2 80 99 73 20 64 69 6c 65 6d 6d 61 20 ner’s dilemma
3fb0: 72 65 77 61 72 64 73 20 63 6f 6f 70 65 72 61 74 rewards cooperat
3fc0: 69 6f 6e 22 20 62 5c 5c 0a 7d 7d 76 74 0a 5c 73 ion" b\\.}}vt.\s
3fd0: 6b 69 70 0a 22 42 54 57 3a 20 54 68 65 20 61 74 kip."BTW: The at
3fe0: 74 61 63 6b 20 66 6f 72 20 64 6f 75 62 6c 65 20 tack for double
3ff0: 73 70 65 6e 64 69 6e 67 20 61 6c 73 6f 20 72 65 spending also re
4000: 71 75 69 72 65 73 20 61 20 4d 49 54 4d e2 80 93 quires a MITM–
4010: 61 74 74 61 63 6b 22 20 5c 5c 0a 67 6c 75 65 2a attack" \\.glue*
4020: 6c 20 7d 7d 67 6c 75 65 0a 7d 7d 76 20 62 6f 78 l }}glue.}}v box
4030: 5b 5d 20 3e 62 64 72 0a 7d 7d 7a 20 62 6f 78 5b [] >bdr.}}z box[
4040: 5d 20 2f 66 6c 69 70 20 64 75 70 20 3e 73 6c 69 ] /flip dup >sli
4050: 64 65 73 0a 0a 5c 20 70 61 67 65 20 31 35 0a 7b des..\ page 15.{
4060: 7b 0a 24 61 34 64 66 38 37 66 66 20 70 72 65 73 {.$a4df87ff pres
4070: 2d 66 72 61 6d 65 0a 7b 7b 0a 22 42 6c 6f 63 6b -frame.{{."Block
4080: 43 68 61 69 6e 22 20 2f 74 69 74 6c 65 0a 76 74 Chain" /title.vt
4090: 7b 7b 0a 22 e2 80 a2 e2 80 83 22 20 22 42 61 6e {{."• " "Ban
40a0: 6b 73 20 64 69 73 74 72 75 73 74 20 65 61 63 68 ks distrust each
40b0: 20 6f 74 68 65 72 73 2c 20 74 6f 6f 20 28 69 2e others, too (i.
40c0: e2 80 af 65 2e 20 47 4e 55 20 54 61 6c 65 72 20 e. GNU Taler
40d0: 69 73 20 6e 6f 74 20 61 20 73 6f 6c 75 74 69 6f is not a solutio
40e0: 6e 29 22 20 62 5c 5c 0a 22 e2 80 a2 e2 80 83 22 n)" b\\."• "
40f0: 20 22 50 72 6f 62 6c 65 6d 20 73 69 7a 65 3a 20 "Problem size:
4100: 57 65 43 68 61 74 20 50 61 79 20 70 65 61 6b 73 WeChat Pay peaks
4110: 20 61 74 20 30 2e 35 4d 54 50 53 20 28 42 54 43 at 0.5MTPS (BTC
4120: 20 61 74 20 35 54 50 53 29 22 20 62 5c 5c 0a 22 at 5TPS)" b\\."
4130: e2 80 a2 e2 80 83 22 20 22 4c 69 67 68 74 6e 69 • " "Lightni
4140: 6e 67 20 4e 65 74 77 6f 72 6b 20 64 6f 65 73 6e ng Network doesn
4150: e2 80 99 74 20 73 74 61 6e 64 20 61 6e 20 6f 76 ’t stand an ov
4160: 65 72 72 75 6e e2 80 93 74 68 65 e2 80 93 61 72 errun–the–ar
4170: 62 69 74 65 72 20 61 74 74 61 63 6b 22 20 62 5c biter attack" b\
4180: 5c 0a 22 e2 80 a2 e2 80 83 22 20 22 54 68 65 72 \."• " "Ther
4190: 65 66 6f 72 65 2c 20 74 68 65 20 42 6c 6f 63 6b efore, the Block
41a0: 43 68 61 69 6e 20 69 74 73 65 6c 66 20 6e 65 65 Chain itself nee
41b0: 64 73 20 74 6f 20 73 63 61 6c 65 22 20 62 5c 5c ds to scale" b\\
41c0: 0a 5c 73 6b 69 70 0a 22 e2 80 a2 e2 80 83 22 20 .\skip."• "
41d0: 22 49 6e 74 72 6f 64 75 63 65 20 64 6f 75 62 6c "Introduce doubl
41e0: 65 20 65 6e 74 72 79 20 62 6f 6f 6b 69 6e 67 20 e entry booking
41f0: 69 6e 74 6f 20 74 68 65 20 64 69 73 74 72 69 62 into the distrib
4200: 75 74 65 64 20 6c 65 64 67 65 72 22 20 62 5c 5c uted ledger" b\\
4210: 0a 22 e2 80 a2 e2 80 83 22 20 22 50 61 72 74 69 ."• " "Parti
4220: 74 69 6f 6e 61 74 65 20 74 68 65 20 6c 65 64 67 tionate the ledg
4230: 65 72 73 20 62 79 20 63 6f 69 6e 20 70 75 62 6b ers by coin pubk
4240: 65 79 22 20 62 5c 5c 0a 22 e2 80 a2 e2 80 83 22 ey" b\\."• "
4250: 20 22 55 73 65 20 6e e2 80 93 64 69 6d 65 6e 73 "Use n–dimens
4260: 69 6f 6e 61 6c 20 6c 65 64 67 65 72 20 73 70 61 ional ledger spa
4270: 63 65 20 74 6f 20 72 6f 75 74 65 20 74 72 61 6e ce to route tran
4280: 73 61 63 74 69 6f 6e 73 22 20 62 5c 5c 0a 7d 7d sactions" b\\.}}
4290: 76 74 0a 67 6c 75 65 2a 6c 20 7d 7d 67 6c 75 65 vt.glue*l }}glue
42a0: 0a 7b 7b 0a 74 65 78 3a 20 73 74 61 67 65 31 0a .{{.tex: stage1.
42b0: 74 65 78 3a 20 73 74 61 67 65 32 0a 27 20 73 74 tex: stage2.' st
42c0: 61 67 65 31 20 22 6c 65 64 67 65 72 2d 73 74 61 age1 "ledger-sta
42d0: 67 65 31 2e 70 6e 67 22 20 30 2e 36 36 36 65 20 ge1.png" 0.666e
42e0: 7d 7d 69 6d 61 67 65 2d 66 69 6c 65 20 64 72 6f }}image-file dro
42f0: 70 0a 22 20 20 20 22 20 7d 7d 74 65 78 74 0a 27 p." " }}text.'
4300: 20 73 74 61 67 65 32 20 22 6c 65 64 67 65 72 2d stage2 "ledger-
4310: 73 74 61 67 65 32 2e 70 6e 67 22 20 30 2e 36 36 stage2.png" 0.66
4320: 36 65 20 7d 7d 69 6d 61 67 65 2d 66 69 6c 65 20 6e }}image-file
4330: 64 72 6f 70 0a 67 6c 75 65 2a 6c 20 7d 7d 67 6c drop.glue*l }}gl
4340: 75 65 0a 7d 7d 68 20 62 6f 78 5b 5d 0a 7d 7d 76 ue.}}h box[].}}v
4350: 20 62 6f 78 5b 5d 20 3e 62 64 72 0a 7b 7b 0a 67 box[] >bdr.{{.g
4360: 6c 75 65 2a 6c 20 7d 7d 67 6c 75 65 0a 74 65 78 lue*l }}glue.tex
4370: 3a 20 62 61 6e 6b 2d 72 6f 62 73 2d 79 6f 75 0a : bank-robs-you.
4380: 27 20 62 61 6e 6b 2d 72 6f 62 73 2d 79 6f 75 20 ' bank-robs-you
4390: 22 62 61 6e 6b 2d 72 6f 62 73 2d 79 6f 75 2e 6a "bank-robs-you.j
43a0: 70 67 22 20 30 2e 36 36 36 65 20 7d 7d 69 6d 61 pg" 0.666e }}ima
43b0: 67 65 2d 66 69 6c 65 20 64 72 6f 70 20 2f 72 69 ge-file drop /ri
43c0: 67 68 74 0a 7d 7d 76 20 62 6f 78 5b 5d 20 3e 62 ght.}}v box[] >b
43d0: 64 72 0a 7d 7d 7a 20 62 6f 78 5b 5d 20 2f 66 6c dr.}}z box[] /fl
43e0: 69 70 20 64 75 70 20 3e 73 6c 69 64 65 73 0a 0a ip dup >slides..
43f0: 5c 20 70 61 67 65 20 31 36 0a 7b 7b 0a 24 61 34 \ page 16.{{.$a4
4400: 64 66 38 37 66 66 20 70 72 65 73 2d 66 72 61 6d df87ff pres-fram
4410: 65 0a 7b 7b 0a 22 24 71 75 69 64 3a 20 45 74 68 e.{{."$quid: Eth
4420: 69 63 61 6c 20 6d 69 6e 69 6e 67 22 20 2f 74 69 ical mining" /ti
4430: 74 6c 65 0a 76 74 7b 7b 0a 22 e2 80 a2 e2 80 83 tle.vt{{."•
4440: 22 20 22 43 6f 6e 63 65 70 74 20 6f 66 20 6d 69 " "Concept of mi
4450: 6e 69 6e 67 3a 20 50 72 6f 76 69 64 65 20 64 69 ning: Provide di
4460: 66 66 69 63 75 6c 74 20 61 6e 64 20 72 61 72 65 fficult and rare
4470: 20 77 6f 72 6b 22 20 62 5c 5c 0a 22 e2 80 a2 e2 work" b\\."•
4480: 80 83 22 20 22 53 75 67 67 65 73 74 69 6e 67 3a " "Suggesting:
4490: 20 50 72 6f 76 69 64 65 20 76 6f 75 63 68 65 72 Provide voucher
44a0: 73 20 66 6f 72 20 66 72 65 65 20 73 6f 66 74 77 s for free softw
44b0: 61 72 65 20 64 65 76 65 6c 6f 70 6d 65 6e 74 20 are development
44c0: 73 70 6f 6e 73 6f 72 73 68 69 70 73 22 20 62 5c sponsorships" b\
44d0: 5c 0a 22 e2 80 a2 e2 80 83 22 20 22 54 68 65 73 \."• " "Thes
44e0: 65 20 76 6f 75 63 68 65 72 73 20 61 72 65 20 74 e vouchers are t
44f0: 72 61 64 65 61 62 6c 65 20 6f 6e 20 74 68 65 69 radeable on thei
4500: 72 20 6f 77 6e 22 20 62 5c 5c 0a 22 e2 80 a2 e2 r own" b\\."•
4510: 80 83 22 20 22 46 72 65 65 20 73 6f 66 74 77 61 " "Free softwa
4520: 72 65 20 69 73 20 70 75 62 6c 69 63 20 69 6e 66 re is public inf
4530: 72 61 73 74 72 75 63 74 75 72 65 20 66 6f 72 20 rastructure for
4540: 74 68 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 the information
4550: 61 67 65 22 20 62 5c 5c 0a 22 e2 80 a2 e2 80 83 age" b\\."•
4560: 22 20 22 54 68 61 74 20 77 61 79 2c 20 77 65 20 " "That way, we
4570: 63 61 6e 20 65 6e 63 6f 75 72 61 67 65 20 70 65 can encourage pe
4580: 6f 70 6c 65 20 74 6f 20 73 70 6f 6e 73 6f 72 20 ople to sponsor
4590: 6f 75 74 20 6f 66 20 73 65 6c 66 e2 80 93 69 6e out of self–in
45a0: 74 65 72 65 73 74 22 20 62 5c 5c 0a 22 e2 80 a2 terest" b\\."•
45b0: e2 80 83 22 20 22 54 68 65 79 20 67 65 74 20 61 " "They get a
45c0: 20 75 73 65 66 75 6c 20 61 6e 64 20 76 61 6c 75 useful and valu
45d0: 65 61 62 6c 65 20 74 6f 6b 65 6e 20 62 61 63 6b eable token back
45e0: 22 20 62 5c 5c 0a 7d 7d 76 74 0a 67 6c 75 65 2a " b\\.}}vt.glue*
45f0: 6c 20 7d 7d 67 6c 75 65 0a 7d 7d 76 20 62 6f 78 l }}glue.}}v box
4600: 5b 5d 20 3e 62 64 72 0a 7d 7d 7a 20 62 6f 78 5b [] >bdr.}}z box[
4610: 5d 20 2f 66 6c 69 70 20 64 75 70 20 3e 73 6c 69 ] /flip dup >sli
4620: 64 65 73 0a 0a 5c 20 70 61 67 65 20 31 37 0a 7b des..\ page 17.{
4630: 7b 0a 24 46 46 46 46 46 46 46 46 20 70 72 65 73 {.$FFFFFFFF pres
4640: 2d 66 72 61 6d 65 0a 76 74 7b 7b 0a 22 4c 69 74 -frame.vt{{."Lit
4650: 65 72 61 74 75 72 65 e2 80 af 26 e2 80 af 4c 69 erature & Li
4660: 6e 6b 73 22 20 2f 74 69 74 6c 65 0a 7b 7b 0a 22 nks" /title.{{."
4670: 42 65 72 6e 64 20 50 61 79 73 61 6e e2 80 83 22 Bernd Paysan "
4680: 20 22 6e 65 74 32 6f 20 66 6f 73 73 69 6c 20 72 "net2o fossil r
4690: 65 70 6f 73 69 74 6f 72 79 22 20 62 69 5c 5c 0a epository" bi\\.
46a0: 22 22 20 22 68 74 74 70 73 3a 2f 2f 66 6f 73 73 "" "https://foss
46b0: 69 6c 2e 6e 65 74 32 6f 2e 64 65 2f 6e 65 74 32 il.net2o.de/net2
46c0: 6f 2f 22 20 62 6d 5c 5c 0a 22 42 65 72 6e 64 20 o/" bm\\."Bernd
46d0: 50 61 79 73 61 6e e2 80 83 22 20 22 24 71 75 69 Paysan " "$qui
46e0: 64 20 63 72 79 70 74 6f 63 75 72 72 65 6e 63 79 d cryptocurrency
46f0: e2 80 af 26 e2 80 af 53 77 61 70 44 72 61 67 6f & SwapDrago
4700: 6e 43 68 61 69 6e 22 20 62 69 5c 5c 0a 22 22 20 nChain" bi\\.""
4710: 22 68 74 74 70 73 3a 2f 2f 73 71 75 69 64 2e 63 "https://squid.c
4720: 61 73 68 2f 22 20 62 6d 5c 5c 0a 7d 7d 76 74 0a ash/" bm\\.}}vt.
4730: 67 6c 75 65 2a 6c 20 7d 7d 67 6c 75 65 0a 7d 7d glue*l }}glue.}}
4740: 76 20 62 6f 78 5b 5d 20 3e 62 64 72 0a 7d 7d 7a v box[] >bdr.}}z
4750: 20 62 6f 78 5b 5d 20 2f 66 6c 69 70 20 64 75 70 box[] /flip dup
4760: 20 3e 73 6c 69 64 65 73 0a 0a 5c 20 65 6e 64 0a >slides..\ end.
4770: 67 6c 75 65 2d 72 69 67 68 74 20 7d 7d 67 6c 75 glue-right }}glu
4780: 65 0a 7d 7d 68 20 62 6f 78 5b 5d 0a 7b 7b 0a 27 e.}}h box[].{{.'
4790: 20 6e 65 74 32 6f 2d 6c 6f 67 6f 20 6e 65 74 32 net2o-logo net2
47a0: 6f 2d 67 6c 75 65 20 20 69 6d 67 20 64 75 70 20 o-glue img dup
47b0: 74 6f 20 6e 32 2d 69 6d 67 0a 27 20 6d 69 6e 6f to n2-img.' mino
47c0: 73 32 20 20 20 20 20 6d 69 6e 6f 73 32 2d 67 6c s2 minos2-gl
47d0: 75 65 20 69 6d 67 20 64 75 70 20 74 6f 20 6d 32 ue img dup to m2
47e0: 2d 69 6d 67 20 2f 66 6c 69 70 0a 27 20 24 71 75 -img /flip.' $qu
47f0: 69 64 20 20 20 20 20 20 24 71 75 69 64 2d 67 6c id $quid-gl
4800: 75 65 20 20 69 6d 67 20 64 75 70 20 74 6f 20 24 ue img dup to $
4810: 71 2d 69 6d 67 20 2f 66 6c 69 70 0a 7d 7d 7a 0a q-img /flip.}}z.
4820: 7d 7d 7a 20 73 6c 69 64 65 5b 5d 0a 74 6f 20 74 }}z slide[].to t
4830: 6f 70 2d 77 69 64 67 65 74 0a 0a 61 6c 73 6f 20 op-widget..also
4840: 6f 70 65 6e 67 6c 0a 0a 3a 20 21 77 69 64 67 65 opengl..: !widge
4850: 74 73 20 28 20 2d 2d 20 29 0a 20 20 20 20 73 65 ts ( -- ). se
4860: 74 2d 66 75 6c 6c 73 63 72 65 65 6e 2d 68 69 6e t-fullscreen-hin
4870: 74 20 31 20 73 65 74 2d 63 6f 6d 70 6f 73 65 2d t 1 set-compose-
4880: 68 69 6e 74 0a 20 20 20 20 74 6f 70 2d 77 69 64 hint. top-wid
4890: 67 65 74 20 2e 68 74 6f 70 2d 72 65 73 69 7a 65 get .htop-resize
48a0: 0a 20 20 20 20 2e 33 65 20 61 6d 62 69 65 6e 74 . .3e ambient
48b0: 25 20 73 66 21 20 73 65 74 2d 75 6e 69 66 6f 72 % sf! set-unifor
48c0: 6d 73 20 3b 0a 0a 70 72 65 76 69 6f 75 73 0a 0a ms ;..previous..
48d0: 61 6c 73 6f 20 5b 49 46 44 45 46 5d 20 61 6e 64 also [IFDEF] and
48e0: 72 6f 69 64 20 61 6e 64 72 6f 69 64 20 5b 54 48 roid android [TH
48f0: 45 4e 5d 0a 0a 3a 20 70 72 65 73 65 6e 74 61 74 EN]..: presentat
4900: 69 6f 6e 20 28 20 2d 2d 20 29 20 20 31 63 6f 6e ion ( -- ) 1con
4910: 66 69 67 0a 20 20 20 20 5b 49 46 44 45 46 5d 20 fig. [IFDEF]
4920: 68 69 64 65 73 74 61 74 75 73 20 68 69 64 65 6b hidestatus hidek
4930: 62 20 68 69 64 65 73 74 61 74 75 73 20 5b 54 48 b hidestatus [TH
4940: 45 4e 5d 0a 20 20 20 20 21 77 69 64 67 65 74 73 EN]. !widgets
4950: 20 77 69 64 67 65 74 73 2d 6c 6f 6f 70 20 3b 0a widgets-loop ;.
4960: 0a 70 72 65 76 69 6f 75 73 0a 0a 73 63 72 69 70 .previous..scrip
4970: 74 3f 20 5b 49 46 5d 0a 20 20 20 20 6e 65 78 74 t? [IF]. next
4980: 2d 61 72 67 20 73 22 20 74 69 6d 65 22 20 73 74 -arg s" time" st
4990: 72 3d 20 5b 49 46 5d 20 20 2b 64 62 20 74 69 6d r= [IF] +db tim
49a0: 65 28 20 5c 20 29 20 5b 54 48 45 4e 5d 0a 20 20 e( \ ) [THEN].
49b0: 20 20 70 72 65 73 65 6e 74 61 74 69 6f 6e 20 62 presentation b
49c0: 79 65 0a 5b 45 4c 53 45 5d 0a 20 20 20 20 70 72 ye.[ELSE]. pr
49d0: 65 73 65 6e 74 61 74 69 6f 6e 0a 5b 54 48 45 4e esentation.[THEN
49e0: 5d 0a ].