Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deconstructing Yogi Berra with #NNNGM #131

Open
railsagainstignorance opened this issue Nov 29, 2019 · 1 comment
Open

Deconstructing Yogi Berra with #NNNGM #131

railsagainstignorance opened this issue Nov 29, 2019 · 1 comment

Comments

@railsagainstignorance
Copy link

railsagainstignorance commented Nov 29, 2019

Hi, inspired by the Wired article, which mentioned Nick Montfort's blog post, which mentioned your NaNoGenMo initiative, here is a stab at #NNNGM (Nano-NaNoGenMo).

This is a second go at the Permute algorithm. The Yogi Berra saying, "You can observe a lot by watching", was a more pleasing starting point than the previously-used, arbitrary phrase. As each word is unpacked into alternatives, different meanings come and go in waves. The sequence starts Yogi, and ends Zen.

The generated novel is yogi.txt. (55040 words)

The code which generated it is invokeYogi.sh. An overview of the algorithm is in the script comments. 251 237 chars. Required significant refactoring to make room for the extra Yogi text.

It's all in this repo.

@railsagainstignorance
Copy link
Author

extract from Deconstructing Yogi Berra

(55040 words, produced for NaNoGenMo)
(Generated by 251 chars of code, for Nano-NaNoGenMo).
By Chris Gathercole
(https://github.com/railsagainstignorance/nano-nanogenmo)

You can observe a lot by watching.
You can observe a lot by seeing.
You can observe a lot by listening.
You can observe a lot by doing.
You can observe a lot with watching.
You can observe a lot with seeing.
You can observe a lot with listening.
You can observe a lot with doing.
You can observe a lot without watching.
You can observe a lot without seeing.
You can observe a lot without listening.
You can observe a lot without doing.
You can observe a lot in watching.
You can observe a lot in seeing.
You can observe a lot in listening.
You can observe a lot in doing.
You can observe much by watching.
You can observe much by seeing.
...
All may gain it without watching.
All may gain it without seeing.
All may gain it without listening.
All may gain it without doing.
All may gain it in watching.
All may gain it in seeing.
All may gain it in listening.
All may gain it in doing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants