Granny Was a Hacker (CampJS Version)

1,580 views

Published on

This was a short presentation I gave before my knitting workshop at CampJS on November 22, 2015.

Published in: Software, Technology
0 Comments
16 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,580
On SlideShare
0
From Embeds
0
Number of Embeds
24
Actions
Shares
0
Downloads
60
Comments
0
Likes
16
Embeds 0
No embeds

No notes for slide
  • My name is Kris and I love geeky knitting. I know when I say that, people think of things like this:
  • And that’s fine - I did, in fact, actually knit these - but there’s so much more to it than Dr. Who scarves and Jayne hats. I thought I’d show you some of it today.
    In my day job, I work at Canva, where (amongst many other things) I help Damon and Harley and the rest of the Engineering team keep on top of bugs, dependencies, and ever-changing priorities. I used to be a frontend dev back in the day, and I still run a couple personal sites. I’m even one of the organisers for Girl Geek Sydney. I’ve also won a blue ribbon for my knitting at the Sydney Royal Easter Show. To some people, this is totally incongruous, like I’m being deliberately anachronistic. But to me it makes perfect sense. After all, knitting is pretty much just code.
  • Anybody who’s ever tried it knows there’s just two stitches: knit and purl, combined in lots of different ways. So it’s inherently binary. And for those of us geeky computer types, that means we can use it to encode messages in a lot of different ways. For instance, if I combine knits and purls…
  • For instance, if I combine knits and purls to make ribbing, I can make a beanie. This is a free pattern called Decoder Hat, and it encodes up to 12 ASCII characters in binary at 8 stitches each. Obviously, message length is determined by the size of your head. But what if my message is longer?
  • How about a scarf? This scarf is actually the source code for ravelry.com, a knitting site. The knitter has used knit stitches to represent ones, and purls for zero. You could represent pretty much anything this way. If you’re more of a “black hat,” you can even knit a virus…
  • For the Viral Knitting Project, a team of activists knitted the source code to the code red computer virus into a scarf. So much for firewalls. This is contraband code you could carry across a border and no one would notice. All of these are examples of…
  • All of these are examples of steganography - the art of hiding a secret message in plain view. Nowadays the news freaks out about terrorists embedding messages in pictures on eBay, but did you know in WW2 the Belgian resistance recruited little old ladies who lived near rail yards to encode train movements into their knitting?
  • Granny doesn’t look so sweet and innocuous anymore, does she? She could be knitting anything into that jumper. Of course, binary knits and purls are only the beginning. There are lots of other ways to encode secret messages in your knitting. Personally I like the look of cables…
  • Personally, I like the look of cables. The hat on the left represents the numbers from 0-15 in binary notation, depending on where the crosses occur. The scarf on the right uses cables that actually look like little zeroes and ones. Maybe you like colour more than texture…
  • Another option is stripes. The width of knitted stripes in different colours could be used to represent a character set. The stripes on this jumper, for example, actually spell out the classic first programming exercise “Hello World”. If you want to get super literal…
  • If you want to get super literal, you can actually knit little ones and zeros into a scarf. You may be interested to learn that your average scarf will hold about 120 bytes of information. That’s just shy of a tweet! Not that the Belgian knitting nanas…
  • Not that the Belgian knitting nanas would’ve known what Twitter was. But they may have known Morse code! These mittens here use colour to create the dots and dashes of Morse code to spell out “My Left Mitten”; “My Right Mitten”; and “Thumb”. How meta. Another encoding method is to turn your characters into a repeating graphical motif…
  • Another encoding method is to turn your characters into a repeating graphical motif. Here the word PEACE has been converted to base 6, graphed, mirrored, and tweaked to make a repeating pattern. But what about accessibility? you might be thinking…
  • But what about accessibility? you might be thinking. Well, these knitted socks take advantage of the texture of knitted stitches to encode in Braille. The pattern repeat is a stanza from Dr. Seuss’s “Oh the Places You’ll Go.” So that’s all pretty cool…
  • So that’s all pretty cool, but I get that most of you when you see the word “hacker” are expecting something a little more futuristic and “disruptive,” preferably involving an app of some kind. I got that covered.
  • How about a real working knitted QR code? The mittens on the right - which won me a 2nd place at the Show - encode a URL from my personal site that has the pattern for the mittens. They’re self-replicating! But they’re not exactly subtle.
  • This is more subtle. This is a jumper I knitted for my husband a few years back using a technique called illusion knitting. From the front, just stripes. From the side, he’s secretly an Autobot from the planet Cybertron. This next one is also subtle. It’s not actually code…
  • This next one is also subtle. It’s not actually code; more like scientific output. The stripes on this scarf are actually a graphical representation of the emission spectrum of the element Molybdenum.
  • KnitYak was a successful Kickstarter earlier in the year from Fabienne Serriere. She raised nearly $125K to buy an industrial knitting machine to create provably unique scarves and knits using elementary cellular automata algorithms.
  • This piece is a crochet version of the Arecibo Message, which was broadcast into space in 1974 towards a star cluster 25,000 light years away. I for one welcome our new crochet overlords…
  • Sticking to the space theme, this is a scarf I finished back in August for knitting camp. (Yes, we have knitting camp too.) They were running a Mystery Scarf Competition. The details were very vague–basically, you were supposed to knit a scarf of a certain size out of black and either white or cream. I thought it would be fun to try to knit an actual mystery into the scarf. After a lot of research into unsolved cyphers, I settled on the Wow! Signal. This was a strong narrowband radio signal detected by Jerry R. Ehman on August 15, 1977, while he was working on a SETI project at the Big Ear radio telescope of The Ohio State University. When he saw the spike on the printout, Ehman circled it and wrote “Wow!” in red pen in the margins. The signal lasted for 72 seconds. It came from globular cluster M55 in the constellation Sagittarius. It looks pretty much exactly like what we’d expect an interstellar transmission to look like. It’s never been repeated, and we don’t know what it means. I like to think it’s an alien civilisation saying “Hello!”. So I knitted it into a scarf.
  • And then we come to e-textiles, which is something I’ve gotten into this year. There are now several Arduino-type micro controllers like the Lilypad, Flora, and the Gemma that you can sew into your knits with conductive thread to create e-textiles.
  • This is the “Know It All” bag, a free pattern on knitty.com. It uses a Lilypad and 10 LEDs to encode each line of your knitting pattern (via different patterns of blinking and flickering), and you can advance through by clicking a button.
  • This is the “Gemma Sequin Hat” from the Adafruit site. It uses a Gemma microcontroller, which is about the size of a 20c piece, to light up six LEDs on the brim of a knitted beanie. I’ve used this exact setup on my CampJS beanie, and if you come to my session tomorrow, we’ll talk about how to make this. :)
  • This project isn’t actually knitting at all, but I couldn’t resist showing it. It’s the Canva Comma Club Cushion that I made for our hackathon back in August.
  • Conductive thread has a couple other great uses too. If you stitch it into the fingertip of your gloves - like on these “In Touch Gloves” from Knit Picks - you can use your touchscreen devices in the winter without taking your gloves off.
  • I hope some of this inspired you. For those of us who push pixels around all day, knitting can be a creative, tactile way to relax… and even hack a bit. Come to my session tomorrow if you want to learn. Or hey, just call your grandma!
  • Granny Was a Hacker (CampJS Version)

    1. 1. G R A N N Y W A S A H A C K E R P H O T O : L I S A C O C K B U R N
    2. 2. K N I T T I N G = C O D E F L I C K R : S T E P H A N I E A S H E R
    3. 3. 96 st = 12 ASCII characters in binary at 8 stitches each “ D E C O D E R H A T ” B Y Z A B E T S T E W A R T
    4. 4. Source code of ravelry.com (knitting website) “ B I N A R Y S C A R F ” B Y H E Y C A R R I E A N N
    5. 5. Code Red computer virus (2001) “ T H E V I R A L K N I T T I N G P R O J E C T ” B Y K I R S T Y R O B E R T S O N & O T H E R S
    6. 6. S T E G A N O G R A P H Y F L I C K R : B E E P 1 O
    7. 7. R A V E L R Y : C Y NF L I C K R : D E V A B U R G E R
    8. 8. F L I C K R : A D A M K N I T S
    9. 9. F L I C K R : J A C Q U E L I N E - W
    10. 10. Left mitten reads “My Left Mitten”; thumb reads “Thumb”, etc “ M O R S E C O D E ” B Y K A T E A T H E R L E Y
    11. 11. Letters converted to base 6, graphed, and mirrored “ P E A C E ” B Y N A O M I P A R K H U R S T
    12. 12. Encodes a stanza from Dr. Seuss’s Oh, The Places You'll Go! “ B R A I L L E S O C K S ” B Y J E S S I C A L A N D E R S
    13. 13. L E T ’ S G E T H I G H - T E C H F L I C K R : B E R Z O W S K A
    14. 14. F L I C K R : B E K A T H W I A
    15. 15. F L I C K R : B E K A T H W I A
    16. 16. K N I T Y A K C U S T O M M A T H E M A T I C A L K N I T S C A R V E S @ F B Z
    17. 17. FLICKR:DEVABURGER
    18. 18. F L I C K R : K A T H Y R E I D
    19. 19. Encodes and displays the next row of your knitting pattern via LEDs “ K N O W I T A L L B A G ” B Y K A L A N I C R A I G
    20. 20. Sparkly blinkenlights! “ G E M M A S E Q U I N H A T ” B Y B E C K Y S T E R N
    21. 21. Canva Comma Club Cushion
    22. 22. Conductive thread allows touch screen use in cold weather! “ I N T O U C H G L O V E S ” B Y K N I T P I C K S
    23. 23. F L I C K R : S T 3 F 4 N Kris Howard

    ×