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

Shakespeare Summarizes Everything #118

Open
jrladd opened this issue Nov 26, 2017 · 6 comments
Open

Shakespeare Summarizes Everything #118

jrladd opened this issue Nov 26, 2017 · 6 comments
Labels
completed For completed novels! preview There is an excerpt somewhere in the thread!

Comments

@jrladd
Copy link

jrladd commented Nov 26, 2017

View Novel Here

View Code Here

What if Shakespeare wrote the backs of 19th-century book jackets? I matched randomized lines from Shakespeare's works with Yellowback book covers. A dead simple approach, but I'm pleased with the results.

To run the code, you'll need your own API key and API secret from Flickr. The Python script creates a markdown file that I converted to HTML and, with some adjustments and styles, posted here.

This is inspired by Stephen Pentecost's Mutable Stanzas and Kate Beaton's Gorey book covers. I wanted to make a project that plays with the way our minds fill in the gaps between text and image, as well as between lines that weren't intended to be together. The result is nonsense that makes sense despite itself.

A sample (so I can earn that sweet "preview" label):

sample

@hugovk hugovk added the preview There is an excerpt somewhere in the thread! label Nov 27, 2017
@hugovk
Copy link
Member

hugovk commented Nov 27, 2017

Looks great!

Did you get to 50k?

@jrladd
Copy link
Author

jrladd commented Nov 27, 2017

Yes, I just didn’t post all of it. The page was already slow after 500 images. I wound up doing 1500. Is that okay?

@hugovk
Copy link
Member

hugovk commented Nov 27, 2017

Maybe make a 50k one too along with the shorter one?

The only rule is that you share at least one novel and also your source code at the end.

(where novel = 50k+ words, although we've had graphic novels which creatively interpret the graphic as taking some amount of words :)

@jrladd
Copy link
Author

jrladd commented Nov 27, 2017

I won't argue for an exception in this case. The constraints are part of the fun, right? 50k MD file coming shortly.

@jrladd
Copy link
Author

jrladd commented Nov 27, 2017

Done! 68,392 words by my count. I got in the spirit and put it all online too—speed issue is really not too bad.

@jrladd
Copy link
Author

jrladd commented Nov 27, 2017

Also, other folks reading this might be interested to know: the lines have been shuffled but not randomly sampled. Therefore there are no repeating lines (or images for that matter) anywhere—each summary has a unique line set.

@hugovk hugovk added the completed For completed novels! label Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
completed For completed novels! preview There is an excerpt somewhere in the thread!
Projects
None yet
Development

No branches or pull requests

2 participants