Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Participants: Derya Akbaba * Ben Allen * Natalia-Rozalia Avlona * Kirill Azernyi * Erin Kathleen Bahl * Natasha Bajc * Lucas Bang * Tully Barnett * Ivette Bayo * Eamonn Bell * John Bell * kiki benzon * Liat Berdugo * Kathi Berens * David Berry * Jeffrey Binder * Philip Borenstein * Gregory Bringman * Sophia Brueckner * Iris Bull * Zara Burton * Evan Buswell * Ashleigh Cassemere-Stanfield * Brooke Cheng* Alm Chung * Jordan Clapper * Lia Coleman * Imani Cooper * David Cuartielles * Edward de Jong * Pierre Depaz * James Dobson * Quinn Dombrowski * Amanda Du Preez * Tristan Espinoza * Emily Esten * Meredith Finkelstein * Caitlin Fisher * Luke Fischbeck * Leonardo Flores * Laura Foster * Federica Frabetti * Jorge Franco * Dargan Frierson * Arianna Gass * Marshall Gillson * Jan Grant * Rosi Grillmair * Ben Grosser * E.L. (Eloisa) Guerrero * Yan Guo * Saksham Gupta * Juan Gutierrez * Gottfried Haider * Nabil Hassein * Chengbo He * Brian Heim * Alexis Herrera * Paul Hertz * shawné michaelain holloway * Stefka Hristova * Simon Hutchinson * Mai Ibrahim * Bryce Jackson * Matt James * Joey Jones * Masood Kamandy * Steve Klabnik * Goda Klumbyte * Rebecca Koeser * achim koh * Julia Kott * James Larkby-Lahet * Milton Laufer * Ryan Leach * Clarissa Lee * Zizi Li * Lilian Liang * Keara Lightning * Chris Lindgren * Xiao Liu * Paloma Lopez * Tina Lumbis * Ana Malagon * Allie Martin * Angelica Martinez * Alex McLean * Chandler McWilliams * Sedaghat Payam Mehdy * Chelsea Miya * Uttamasha Monjoree * Nick Montfort * Stephanie Morillo * Ronald Morrison * Anna Nacher * Maxwell Neely-Cohen * Gutierrez Nicholaus * David Nunez * Jooyoung Oh * Mace Ojala * Alexi Orchard * Steven Oscherwitz * Bomani Oseni McClendon * Kirsten Ostherr * Julia Polyck-O'Neill * Andrew Plotkin * Preeti Raghunath * Nupoor Ranade * Neha Ravella * Amit Ray * David Rieder * Omar Rizwan * Barry Rountree * Jamal Russell * Andy Rutkowski * samara sallam * Mark Sample * Zehra Sayed * Kalila Shapiro * Renee Shelby * Po-Jen Shih * Nick Silcox * Patricia Silva * Lyle Skains * Winnie Soon * Claire Stanford * Samara Hayley Steele * Morillo Stephanie * Brasanac Tea * Denise Thwaites * Yiyu Tian * Lesia Tkacz * Fereshteh Toosi * Alejandra Trejo Rodriguez * Álvaro Triana * Job van der Zwan * Frances Van Scoy * Dan Verständig * Roshan Vid * Yohanna Waliya * Sam Walkow * Kuan Wang * Laurie Waxman * Jacque Wernimont * Jessica Westbrook * Zach Whalen * Shelby Wilson * Avery J. Wiscomb * Grant Wythoff * Cy X * Hamed Yaghoobian * Katherine Ye * Jia Yu * Nikoleta Zampaki * Bret Zawilski * Jared Zeiders * Kevin Zhang * Jessica Zhou * Shuxuan Zhou

Guests: Kayla Adams * Sophia Beall * Daisy Bell * Hope Carpenter * Dimitrios Chavouzis * Esha Chekuri * Tucker Craig * Alec Fisher * Abigail Floyd * Thomas Forman * Emily Fuesler * Luke Greenwood * Jose Guaraco * Angelina Gurrola * Chandler Guzman * Max Li * Dede Louis * Caroline Macaulay * Natasha Mandi * Joseph Masters * Madeleine Page * Mahira Raihan * Emily Redler * Samuel Slattery * Lucy Smith * Tim Smith * Danielle Takahashi * Jarman Taylor * Alto Tutar * Savanna Vest * Ariana Wasret * Kristin Wong * Helen Yang * Katherine Yang * Renee Ye * Kris Yuan * Mei Zhang
Coordinated by Mark Marino (USC), Jeremy Douglass (UCSB), and Zach Mann (USC). Sponsored by the Humanities and Critical Code Studies Lab (USC), and the Digital Arts and Humanities Commons (UCSB).

barry.rountree

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.

About

Username
barry.rountree
Joined
Visits
117
Last Active
Roles
Member

Activity

  • meredith.noelle

    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/

    February 4
    • barry.rountree
      barry.rountree
      Hi @meredith.noelle.

      Thanks for reaching out. Presenting a null python program at an Art of Python workshop is intriguing, but I don't know that I can justify a cross-country trip for a single non-academic presentation. I'll keep an eye out for anything else happening in the northeast around that time that my employer would pay for, but for the moment I'll decline.
  • 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.

    January 20
    • Waliya
      Waliya
      How can I make this to run on the Web?
    • barry.rountree
      barry.rountree
      I put into Google and this is the first hit I got: https://rdrr.io/snippets/

      Looks like it works.