Needs more science.
Chris Pressey
10 years ago
0 | 0 |
checkerboard-layout
|
1 | 1 |
===================
|
2 | 2 |
|
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 |
---------
|
5 | 11 |
|
6 | 12 |
* Python 2.7.6 (probably works with older versions too)
|
7 | 13 |
* An input text
|
8 | 14 |
* A modern web browser (to see the result)
|
9 | 15 |
|
10 | |
Basic Strategy
|
11 | |
--------------
|
|
16 |
Method
|
|
17 |
------
|
12 | 18 |
|
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.)
|
16 | 21 |
|
17 | |
Sample Output
|
18 | |
-------------
|
|
22 |
Observations
|
|
23 |
------------
|
19 | 24 |
|
20 | 25 |
Here is a screenshot of Firefox 33.0 displaying something by Lord Dunsany
|
21 | 26 |
that was passed through this script:
|
0 | 0 |
columnar-cthulhuian
|
1 | 1 |
===================
|
2 | 2 |
|
3 | |
Requirements
|
4 | |
------------
|
|
3 |
Hypothesis
|
|
4 |
----------
|
|
5 |
|
|
6 |
Iä! Iä! The Old Ones hath awakened!
|
|
7 |
|
|
8 |
Apparatus
|
|
9 |
---------
|
5 | 10 |
|
6 | 11 |
* Python 2.7.6 (probably works with older versions too)
|
7 | 12 |
* The `gutenberg.py` module from [gutenizer](https://github.com/okfn/gutenizer/)
|
8 | 13 |
* 3 input texts (possibly from Project Gutenberg)
|
9 | 14 |
|
10 | |
Basic Strategy
|
11 | |
--------------
|
|
15 |
Method
|
|
16 |
------
|
12 | 17 |
|
13 | 18 |
* Input the three texts and clean them up a bit; in particular, remove
|
14 | 19 |
all lines with less than 60 characters, and truncate them so they all
|
|
16 | 21 |
* On each line, in column _n_, output the character from the
|
17 | 22 |
((_n_ mod 3) + 1)th input text.
|
18 | 23 |
|
19 | |
Sample Output
|
20 | |
-------------
|
|
24 |
Observations
|
|
25 |
------------
|
21 | 26 |
|
22 | 27 |
The first 35 lines when running this on _Time and the Gods_, _Principles
|
23 | 28 |
of Scientific Managment_, and _The Rivet in Grandfather's Neck_:
|
0 | 0 |
eliza-vs-eliza
|
1 | 1 |
==============
|
2 | 2 |
|
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 |
---------
|
5 | 16 |
|
6 | 17 |
* 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
|
11 | 23 |
|
12 | |
Basic Strategy
|
13 | |
--------------
|
|
24 |
Method
|
|
25 |
------
|
14 | 26 |
|
15 | 27 |
* 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.
|
20 | 28 |
|
21 | |
Sample Output
|
22 | |
-------------
|
|
29 |
Observations
|
|
30 |
------------
|
23 | 31 |
|
24 | 32 |
> "Hello. How are you feeling today?"
|
25 | 33 |
>
|