It looks like you're new here. If you want to get involved, click one of these buttons!
Hi Barry, I've really enjoyed your posts. And then I saw that part of your background involved theater! Are you going to by any chance be at PyCon this April?
I am co-organizing the Art of Python this year (art about the practice of writing software rather than software creating art ie generative art) and was wondering if you have any interest in participating. I want to see a version of the null program performed as a Beckettian piece!
If you have any thoughts or suggestions please let me know - its the second year we are doing this, and hope to have a series of workshops this year bringing together performers and technologists (hopefully sometimes they are the same people). If you want to be involved in any way let me know - http://artofpython.herokuapp.com/
Mark presented a standard coding interview question: write code that permutes the characters in a string. The R one-liner isn't nearly as concise as I would have hoped, but then R isn't really known for string manipulation.
> str_permute <- function(x){ paste(strsplit(x, split="")[[1]][ sample( 1:(nchar(x)), nchar(x) ) ], collapse="") }
> str_permute("abcdefghijk")
[1] "jcakeifhbdg"
>
Not seeing a preview button.... well, let's see what this looks like.