git @ Cat's Eye Technologies NaNoGenLab / 3b4b1f0
Needs more science. Chris Pressey 10 years ago
3 changed file(s) with 47 addition(s) and 29 deletion(s). Raw diff Collapse all Expand all
00 checkerboard-layout
11 ===================
22
3 Requirements
4 ------------
3 Hypothesis
4 ----------
5
6 We hypothesize that if we remove the spaces from between the words of a text,
7 that text can still be read as long as each word has alternating contrast.
8
9 Apparatus
10 ---------
511
612 * Python 2.7.6 (probably works with older versions too)
713 * An input text
814 * A modern web browser (to see the result)
915
10 Basic Strategy
11 --------------
16 Method
17 ------
1218
13 * Display each alternating word on a background of an alternating
14 colour. This allows us to remove intervening spaces and still
15 claim that the result is readable.
19 * Display each alternating word in an alternating colour (black or white)
20 on an alternating background colour (white or black.)
1621
17 Sample Output
18 -------------
22 Observations
23 ------------
1924
2025 Here is a screenshot of Firefox 33.0 displaying something by Lord Dunsany
2126 that was passed through this script:
00 columnar-cthulhuian
11 ===================
22
3 Requirements
4 ------------
3 Hypothesis
4 ----------
5
6 Iä! Iä! The Old Ones hath awakened!
7
8 Apparatus
9 ---------
510
611 * Python 2.7.6 (probably works with older versions too)
712 * The `gutenberg.py` module from [gutenizer](https://github.com/okfn/gutenizer/)
813 * 3 input texts (possibly from Project Gutenberg)
914
10 Basic Strategy
11 --------------
15 Method
16 ------
1217
1318 * Input the three texts and clean them up a bit; in particular, remove
1419 all lines with less than 60 characters, and truncate them so they all
1621 * On each line, in column _n_, output the character from the
1722 ((_n_ mod 3) + 1)th input text.
1823
19 Sample Output
20 -------------
24 Observations
25 ------------
2126
2227 The first 35 lines when running this on _Time and the Gods_, _Principles
2328 of Scientific Managment_, and _The Rivet in Grandfather's Neck_:
00 eliza-vs-eliza
11 ==============
22
3 Requirements
4 ------------
3 Hypothesis
4 ----------
5
6 We guess that two 50-year-old chatbots in livelock will produce something
7 approximating dialogue.
8
9 Investigating this hypothesis was sort of inspired by
10 [Redwreath and Goldstar Have Traveled to Deathsgate](https://github.com/dariusk/NaNoGenMo/issues/10)
11 because I thought two-bots-in-livelock was what that was until it
12 was explained to me that wasn't what it was.
13
14 Apparatus
15 ---------
516
617 * Python 2.7.6 (probably works with older versions too)
7 * [eliza.py](https://github.com/julian3833/eliza) -- note that (a)
8 this is not open-source software (but it is public code) and that (b)
9 I had to add `# encoding: UTF-8` to the top of the module file
10 to appease my Python interpreter
18 * [eliza.py](https://github.com/julian3833/eliza) — note that
19 * this is not open-source software (but it is public code — the
20 web page advises you how to use it in your own projects), and
21 * I had to add `# encoding: UTF-8` to the top of the module file
22 to appease my Python interpreter
1123
12 Basic Strategy
13 --------------
24 Method
25 ------
1426
1527 * Put two instances of Eliza into mutual livelock to create dialogue.
16 This was sort of inspired by
17 [Redwreath and Goldstar Have Traveled to Deathsgate](https://github.com/dariusk/NaNoGenMo/issues/10)
18 because I thought two-bots-in-livelock was what that was until it
19 was explained to me that wasn't what it was.
2028
21 Sample Output
22 -------------
29 Observations
30 ------------
2331
2432 > "Hello. How are you feeling today?"
2533 >