Last night, two of us (Emma & Sara) were pleased to be invited to speak at the Society of Young Publishers’ Coding at the Castle event, along with Ben Bisset. We promised to publish some notes and provide links to the resources we recommended: here they are.

Emma’s slides

Emma both wielded a stick and dangled some carrots in an attempt to provoke and inspire the full-house audience to improve their technical literacy.

Here are her slides. And here’s her code-as-poetry.

To run it, open up IRB (which stands for Interactive Ruby).

  • If you’re using Mac OS X, open up Terminal (Google open terminal mac) and type irb, then press enter.
  • If you’re using Linux, open up a shell (Google open shell linux), type irb and press enter.
  • If you’re using Windows, install Ruby, then open Interactive Ruby from the Ruby section of your Start Menu

You’ll be at a prompt, just like a a blinking cursor at the start of a Word document. It will look like this:

Paste all the code in to the irb window. Then press enter so that the irb console can accept the code, ready to execute it at your command.

You’ll see the prompt again. Paste in the following text to execute the commands.

send_the_jacket_to_the_shops(my_books)

Notice if anything happens, and read back through the code to see if you can follow what happened.

Then paste in the following text, press enter, and see what happens:

my_books.each { |book| book.send_if_approved }

Sara’s slides

Sara wowed folks with code that allows Harry Potter to defeat a dementor. Here are her slides.

Resources

Here are the resources we mentioned:

Please keep in touch and let us know how your foray into coding goes. We’ll be here for you!

Overwhelmed with spreadsheets? Drowning in thousands of tasks? Worried about not being ready to face the next round of publishing challenges? If you enjoyed this article, and you want to grow your publishing but you're not sure where to start, contact us. We help publishers of all shapes, ages, complexity and sizes to organise, automate and grow. Yes: your legacy data is in a pickle, but we promise it'll not be the worst we've seen. We can sort it out and transform your publishing process quicker, and more cheaply, than you'd think.

We're always happy to have a chat and let you know what we've seen other publishers do in your situation to good effect, and we're happy to arrange a tailored demo just for your team of Consonance: the sure-fire way to improve your publishing and lay the groundwork for growth.

Contact us via our contact form, or email us.