Learn Brogramming

Thursday 25 July 2013, 4:22 pm   ////  

Sigh. Your introductory tutorial was going so well, but given the massive gender imbalance among programmers and computer scientist, I don’t think this is the best way to be inclusive…

The facts of life in a Ruby tutorial.

The Deletionist

Tuesday 18 June 2013, 9:41 pm   //////  

The Deletionist I’m pleased to announce the release of a project that I’ve been working on with Amaranth Borsuk and Jesper Juul for the past two years: The Deletionist. This is a bookmarklet (easily added to the bookmark bar in one’s browser) that automatically creates erasure poetry from any page on the World Wide Web, revealing an alterate mesh of texts called the Worl. Amaranth and I presented The Deletionist for the first time today at E-Poetry in London, at Kingston University.

House of Leaves of Grass

Monday 13 May 2013, 11:32 pm   //////  

What miracle is this? This giant tree.
It stands ten thousand feet high
But doesn’t reach the ground. Still it stands.
Its roots must hold the sky.


HYMEN! O hymenee!
Why do you tantalize me thus?
O why sting me for a swift moment only?
Why can you not continue? O why do you now cease?
Is it because, if you continued beyond the swift moment, you would soon certainly kill me?

[This "House of Leaves of Grass" is a 24K poetry generator that produces about 100 trillion stanzas. Vast, it contains multitudes; it is bigger on the inside than it is on the outside. By Mark Sample, based on "Sea and Spar Between."]

Just Posted, Computational, Conceptual

Friday 18 January 2013, 8:54 pm   //////  

Now online: “The First M Numbers Classified in Alphabetical Order.”

This was my New Year’s poem for 2013. It is based on Claude Closky’s 1989 “Les 1000 premiers nombres classés par ordre alphabétique” [The First 1000 Numbers Classified in Alphabetical Order], which he laser printed and which begins this way:

From Closky's The First 1000 Numbers Classified in Alphabetical Order

A full image of the first page spread (which is the source for the image above), and more context for this work, is available on this page.

The printed copies of my “The First M…” were dot-matrix printed on two connected sheets of fanfold paper. In the printout, as online, I included the program as well as the output.

New 10 PRINT Story from the MIT Libraries

Thursday 10 January 2013, 11:43 am   /////  

The MIT Libraries have posted a story on 10 PRINT that includes discussion of the book from Patsy Baudoin and me, describes how the project came amount, and gives the latest information on how royalties are being donated. The story was written by Katharine Dunn.

Challenge: 10 PRINT Screensavers

Wednesday 9 January 2013, 6:56 pm   ///  

All right, anyone who is listening.

Someone has written requesting a 10 PRINT screensaver.

I can’t find one lying around the Web – is anyone up for creating one for Windows, Mac, and/or GNU/Linux (xscreensaver)?

It’s be great to make the code available so that people could modify it as they could modify the original 10 PRINT program.

The person seeking this screensaver has suggested, cleverly, that upon exiting the screensaver, the message “BREAK IN 10 / READY.” be shown.

10 PRINT Marches on

Monday 7 January 2013, 11:34 pm   //////  

The news service of my school at MIT, the School of Humanities, Arts, and Social Sciences, has an article about 10 PRINT CHR$(205.5+RND(1)); : GOTO 10.

Also, there has been some furious and pretty amazing program creation and compaction going on in DOS/x86 land. It all seems to have started when demoscener Trixter (a.k.a. Jim Leonard) decided to port 10 PRINT to x86 assembly. His first, straightforward version was 42 bytes long, but he was quickly able to chop it down by replacing the random number generator with a single instruction: 25 bytes. Getting ready of some of the nice and tidy but strictly unnecessary startup and shutdown code brought the program down to 15 bytes. Then, thanks to the clever use of an opcode that I’d never heard of before which is meant for string comparison and is called SCAS, he was able to trim the code to 13 bytes — the shortest he thought it could ever be.

Of course, someone (Peter Ferrie) found a way to get rid of another byte, so the program sat at 12 bytes long.

herm1t came along to provide an optimization that assumed DOS was loaded, reducing the program to 11 bytes.

And, most recently, Peter Ferrie returned to lop off another byte, showing that the program (on Intel CPUs, at least) need only be 10 bytes long.

Trixter provides the full story (so far!) on his blog, Oldskooler Ramblings.

My joke about this is that the shortest possible 10-PRINT-like program will be a single jmp instruction to a run of 8 or 9 bytes that happen to already be in memory. However, this is probably only a joke: the number of possible 8-byte combinations of bits are 256^8 = 18446744073709551616, so it really isn’t very likely, even for an extremely short program of this sort, that it will just happen to be lying around somewhere in memory initially.

Speaking of the demoscene, I mentioned in my last post that viznut has checked out the book. He’s also written a very nice VIC-20 version of the program that uses two of the tiles from the Black Path Game instead of the original diagonal lines:

0 FORI=7168TO7183:READA:POKEI,A:NEXT:POKE36869,255
1 PRINTCHR$(64.5+RND(.));:GOTO1
2 DATA16,16,32,192,3,4,8,8,8,8,4,3,192,32,16,16

The result:

VIC-20 Black Path Game version of 10 PRINT

Finally, we had a great time exhibiting the 10 PRINT program and the 10 PRINT book at the 2013 MLA’s electronic literature exhibit and presenting the program and modifications of it at the MLA offsite electronic literature reading. Thanks to Dene Grigar and Kathi Inman Berens for curating the exhibit and the reading. And, thanks to Patsy Baudoin, Mark C. Marino, and Mark Sample for joining me for that presentation and for offering commentary (play-by-play and color) as I coded on the Commodore 64.

Code, Poetry Intersect in a Corner

Monday 7 January 2013, 10:42 pm   //////  

In this episode of Poetry Corner with Guido, Guido the python shares a Gertrude Stein poem titled Sacred Emily.

Poetry Corner with Guido

Jared Nielsen, thanks to his schooling in Modern and Contemporary American Poetry, his ability as a programmer, and his recent creation of a puppet, has developed an amazing conflation of Gertrude Stein, the Python programming language, and the Wonder Showzen episode “Patience.”

Nielsen has been recreating famous American poems in Python or so that they are about Python, as in “The Red Wheelbarrow” and “Song of Myself.”

His project parallels that of Páll Thayer along two dimensions: Thayer, in his series Microcodes, presents short programs in Perl (not Python) that often recreate famous artworks (not poems), for instance Vito Acconci’s Seedbed and Jasper Johns’s Flag.

We must admit, however, that Thayer does not employ a puppet named after Larry Wall.

Flores on Sea and Spar Between

Friday 4 January 2013, 10:04 am   //////  

Leonardo Flores has posted a nice discussion of Sea and Spar Between (by Nick Montfort and Stephanie Strickland) on his blog, I ♥ E-Poetry.


Wednesday 2 January 2013, 12:00 am   ///////  

Happy new year!

A few updates related to our book 10 PRINT CHR$(205.5+RND(1)); : GOTO 10

Booksellers had some problems keeping the book in stock in recent weeks. The MIT Press is addressing this by printing more copies.

We learned in November, and were recently reminded by Finnish scener and programmer of one-liners viznut, that there is a pre-Commodore 64 version of the program. It’s in a fairly obvious place, too: The VIC-20 User’s Manual, on page 102. The program is identical to the first variant in our book (Variant 1982) except that the line numbers are 10, 20, and 30 instead of 10, 20, and 40. This wasn’t a big surprise to us, as we knew since early in the process of writing the book that the program worked not only on the Commodore 64 but also on the VIC-20 and the PET. It would have been nice to have documented this variant in the book, of course.

mjcohenw on Hacker News states that the program originated even earlier:

I discovered this on my Commodore PET probably about 1980 and presented it at a users’ group meeting (in the Los Angeles area). I have no way to prove this right now, but I swear that this is true.

So, there’s a testament to the program being written and shared on the PET even earlier. That it comes from human memory, and not from some print source, should be no surprise to readers of 10 PRINT.

Finally, I’ll note that 10 PRINT appears as one of the “creation stations” at the 2013 Modern Langauge Association Convention. The exhibit it’s in, Avenues of Access: An Exhibit & Online Archive of New ‘Born Digital’ Literature, will be in room 312 in the Hynes Veterans Memorial Convention Center. Exhibit times are:

Thursday, 3 January, 12 Noon to 7:00 p.m.
Friday, 4 January, 9:00 a.m. to 7:00 p.m.
Saturday, 5 January, 9:00 a.m. to 7:00 p.m.

The exhibit closes on Saturday afternoon and will not be open on Sunday.

There will be a reading to accompany the exhibit on Friday night, 8 p.m. to 10 p.m., at Emerson College’s Bordy Theatre, 216 Tremont Street. 10 PRINT will be part of that and will be presented by five of the book’s co-authors.

Someone Hearts Taroko Gorge

Wednesday 12 December 2012, 12:36 am   /////  

Leonardo Flores of I ♥ E-Poetry is writing about 18 remixes of Taroko Gorge, one each day for the next 18 days.

Farking, Processing, and 10 PRINT

Sunday 2 December 2012, 12:25 am   /////  

The book 10 PRINT CHR$(205.5+RND(1)); : GOTO 10 (and the program) have been discussed as “cool” on Fark. (I was hoping for a Photoshop contest with the program’s output, but this is nice, too…)

One of my co-authors, Casey Reas, has issued a 10 PRINT design challenge to the Processing community. There’s already been one program written in reply.

Slashdot Examines Slash, Backslash of 10 PRINT

Saturday 1 December 2012, 3:20 pm   ////  

Slashdot is on the case of 10 PRINT, too, with the usual diagonal PETSCII lines as well as slashes and backslashes. The Slate review and the code are the main topics of discussion so far, but perhaps some are also beginning to dig into the book or PDF.

Redditors Redact and Revise 10 PRINT

Saturday 1 December 2012, 2:53 pm   /////  

There’s lively discussion of the 10 PRINT book and the 10 PRINT program, 10 PRINT CHR$(205.5+RND(1)); : GOTO 10, (via the Slate review) over at Reddit. The Enterprise Java port of the program, contributed early on, is truly classic.

Review of 10 PRINT in Slate, New Ports/Variants

Friday 30 November 2012, 4:46 pm   ////  

Geeta Dayal reviewed 10 PRINT in Slate. As far as I know, this is the first published review of the book, and I greatly appreciate how it traces the discussion of mazes and other topics, pointing out the many cultural and well as technical touchstones.

Over at Stack Overflow they have a nice thread going with several shell scripts that implement 10 PRINT.

Daniel Haehn has written a 3D version of the 10 PRINT program in WebGL.

And my lab’s server is back up after a power outage here in Cambridge, MA, so the PDF of the book that was hosted there is once more available.

10 PRINT at the Boston Cyberarts Gallery

Tuesday 27 November 2012, 11:30 am   ///////  

As seen on Bruce Sterling’s blog, we have an 10 PRINT (or, to be precise, a 10 PRINT CHR$(205.5+RND(1)); : GOTO 10) event tomorrow, Wednesday, here in Boston. The Boston Cyberarts Gallery (formerly AXIOM) is located in the Green Street T station on the Orange Line; the event’s at 7:30pm.

An evening to celebrate the publication by MIT Press of 10 PRINT CHR$(205.5+RND(1)); : GOTO 10. This book takes a single line of code-the extremely concise BASIC program for the Commodore 64 inscribed in the title-and uses it as a lens through which to consider the phenomenon of creative computing and the way computer programs exist in culture. The ten authors of this collaboratively written book, treat code not as merely functional but as a text-in the case of 10 PRINT, a text that appeared in many different printed sources-that yields a story about its making, its purpose, its assumptions, and more.

They consider randomness and regularity in computing and art, the maze in culture, the popular BASIC programming language, and the highly influential Commodore 64 computer.

Nick Montfort will start off the evening leading a discussion among co-authors and the audience about this celebrated piece of software. And there will be a short hackathon.

ATNE Salons are informal discussions on art/technology topics. At each event, we start the discussion with a presentation by an expert in the field who’ll provide context and raise provocative questions. Next, with the help of a moderator, we turn the debate over to you. Share your ideas, discover new ones and participate in analytical discourse and artistic cross-pollination.

About Art Technology New England

ATNE is a member-run organization whose purpose is to foster existing and new collaborations in the New England art and technology communities, including non-profit, academic & corporate entities, as well as individuals.

When: Wednesday, November 28th, 7:30pm
Where: Boston Cyberarts Gallery,
141 Green St.,
Jamaica Plain, MA 02130

Free event!
RSVP to info [at] atne.org

10 PRINT Exhibit, Reading

Tuesday 13 November 2012, 10:26 am   ///////  

Our book 10 PRINT CHR$(205.5+RND(1)); : GOTO 10 has been printed and bound and is making its way to bookstores now. It’s featured in a current exhibit at Hampshire College, and three of us ten co-authors did a reading to celebrate the release at the Harvard Book Store yesterday, where the first copies were available.

Nick Montfort of 10 PRINT

Our reading at the Harvard Book Store drew a sizable crowd, including MIT colleagues from Comparative Media Studies / Writing and Humanistic Studies and the Literature section; comrades in the People’s Republic of Interactive Fiction, librarians, and local free software folks and hackers, among others. The three of us read some short excerpts from the book and discussed the project, first with each other and then in response to questions from the audience. Several people assumed that the book was a collection of individually-authored articles, which is not a surprise, since that’s usually how a book like this is done. So we spent some time explaining the process of collaborative authorship that we used. The photos here are of me (Nick Montfort) on the left, then of Patsy Baudoin and Noah Vawter.

Patsy Baudoin of 10 PRINT Noah Vawter of 10 PRINT

Meanwhile, back in Western Massachusetts … and specifically at Hampshire College, the exhibit “Pulp to Pixels: Artist’s Books in the Digital Age” is on until November 16. The exhibit is curated by Andrea Dezsö, Steven Daiber, and Meredith Brober, is part of the “Non-Visible and Intangible” series, and is located at the Harold F. Johnson Library. There’s a news item about the exhibit and site with curatorial descriptions and documentation.

Below are photos of John Slepian, who offered his Commodore 64 for the exhibit and set it up, and a gallery visitor enjoying a 10 PRINT variant.

Setting up the C64

A visitor using the C64

By the weekend, 10 PRINT should be available in fine online and brick-and-mortar bookstores, including my other main bookstore in Cambridge, the MIT Press Bookstore. We hope readers will enjoy the project, and that it will also be an invitation to think about collaborative research and scholarship in the humanities in a new way.

« Previous PageNext Page »
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
(c) 2014 Post Position | Barecity theme