Advertisement

Granny Was a Hacker (CampJS Version)

Director of Developer Relations at YOW! Australia
Nov. 28, 2015
Advertisement

More Related Content

Advertisement

Granny Was a Hacker (CampJS Version)

  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. 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. 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. 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. 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. 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. 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. F L I C K R : A D A M K N I T S
  9. F L I C K R : J A C Q U E L I N E - W
  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. 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. 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. 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. F L I C K R : B E K A T H W I A
  15. F L I C K R : B E K A T H W I A
  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. FLICKR:DEVABURGER
  18. F L I C K R : K A T H Y R E I D
  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. 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. Canva Comma Club Cushion
  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. F L I C K R : S T 3 F 4 N Kris Howard

Editor's Notes

  1. My name is Kris and I love geeky knitting. I know when I say that, people think of things like this:
  2. 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.
  3. 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…
  4. 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?
  5. 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…
  6. 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…
  7. 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?
  8. 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…
  9. 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…
  10. 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…
  11. 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…
  12. 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…
  13. 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…
  14. 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…
  15. 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.
  16. 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.
  17. 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…
  18. 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.
  19. 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.
  20. 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…
  21. 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.
  22. 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.
  23. 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.
  24. 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. :)
  25. 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.
  26. 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.
  27. 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!
Advertisement