Sunday, September 21, 2014

The Theatre Tech Magnetic Survival Bracelet

I'm a sucker for simple solutions for even the most superficial problems, so when I saw this magnetic bracelet for holding screws and nails during projects, I was sold from the start. But I needed something before I had to go work at the Children's theatre the next night (summer jobs, guys). Plus, that bracelet looked heavy, slippery, and easily scratched up. So I made a quick raid through my craft box, and ended up with The Theatre Tech's Paracord Survival Bracelet.




Pretty sweet, right? And it's magnetic enough to hold even 3in  screws in place while you walk around. 


Here's what you'll need:

Paracord (Measure around your wrist in inches, taking into account the fit you want, and, for this project, add an inch. Cut a foot of paracord for each inch. Ex. If your wrist was 8 in in diameter, you should cut 9 feet of paracord) Pick a color that makes you happy!



A Side Release Buckle (Mine was cut off an old backpack, wider is better for this project)

8-10 STRONG Bar Magnets, about an inch long each.
And your tools:

Hot glue (optional, but recommended)

A pair of scissors

A lighter or match

Measuring tape or ribbon

Start your bracelet like you would any other paracord bracelet, with two big exceptions:
1. Remember, when you measure your wrist, before you start cutting your paracord, add one inch. This will give you enough material in the bracelet to cover the magnets, and still have it fit around your wrist.
2. Lay your paracord flat on the table, instead of suspending it. This will make adding the magnets infinitely easier.
Stop once you have tied the first knot of Step 3 of this tutorial, or, if you're a paracord veteran who doesn't need it, once you've tied the first know between the buckles.
 Here's the tutorial I used: https://www.operationgratitude.com/wp-content/uploads/2011/04/HowtoMakeaParacordSurvivalBracelet.pdf

Once you've got it started, take your first bar magnet. You want to push it between the two strings in the center of your bracelet that you're tying knots around. You can hot glue it in place, if that makes it easier to hold. Then, continue knots over both strings and the magnet. The strings should end up on either side of the bar magnet, with the knots holding the whole thing together.


When it looks like you've only got one knot left on a magnet, slide in the next magnet right below it, and keep tying. Don't worry if you run out of space for magnets. Just continue tying over the string until you reach the end, then finish like any other paracord bracelet.

If you want, you can also add a magnet to back of the buckle like I did, but, at least for me, it was more of a hindrance than a help. The paracord keeps the magnets from getting scratched, but it's not thick enough to negate the magnetic effect. It's heavy, but not too heavy. And it's definitely been helpful for keeping screws on hand when I need them, while not letting me take them home in my pocket. It's definitely an accessory I'll keep on wrist when I need it.

Wednesday, August 20, 2014

Review: Our Final Invention by James Barrat


There are many different books about the robot apocalypse, but few are so well researched, or as urgent, as Our Final Invention, by James Barrat. I have a passion for Artificial Intelligence, probably born from too many Sci-Fi movie marathons. The philosophy mixed with the science and the unknown excites me. But Barrat doesn’t exactly come from a pro - AI viewpoint. He believes that AI will be the last technology developed by the human race. Our Final Invention is a book about the dangers of Artificial Superintelligence, when machines surpass human capability to predict or control them. It aims to educate readers about the most current AI research, while moving them to act on the dangers that could appear if the research continues unchecked. Was it successful? 


The first thing I noted about this book was that it was very easy to read. Even though the material covered is sometimes complicated and advanced, the analogies and writing style is easy to comprehend. Some of the ideas are a little harder to digest once you understand them, and I think part of that has to do with the reverse-chronological path Barrat takes through the topic. He starts with something called the "Busy Child" scenario: a situation where a super-advanced AI decides it can't achieve its goal in confinement, tries to escape it's human captors. For this chapter, and the next two or three, I was rampantly annoyed. Every few sentences I found myself saying "Yes! But..." See for yourself! The chapter can be read online here.


The problem is that Barrat makes his claims in a sensational, provocative tale BEFORE he gives you the facts he has to back them up. And facts he has. His research covers the political, technological, and social ramifications of AI, from futurists to researchers to what's already here. Late in the book, he has a chapter comparing future advanced AI to the current rising problem of malware, and it is brilliant and terrifying. Once I read the rest of the book, I had to go back and reread the first few chapters. What I hadn't seen before was this: When Barrat says AI, he doesn't mean the kind that controls industrial machinery, or even government drones. The kind that has built in safety precautions from a savvy engineer. He is talking about the hundreds of researchers trying to skip the middle step, who are only concerned with developing human level intelligence as fast as they can. With that precinct, the "Busy Child" scenario becomes much more real. 




Now this is not a perfect book. One thing that annoyed me was Barrat's claims that we shouldn't anthropomorphize AI, shouldn't assume it would appreciate us, or even consider us worthy, when a few chapters later he was discussing the four basic drives of AI, which seemed rather anthropomorphic to me. (And don't even get me started on the gross oversimplification that is "friendly AI") And only the last chapter of the book is focused on ways to stop this impending doomsday. I wish there had been more discussion of prevention, of precaution, not just an afterthought, because I do believe that this isn't just going to become relevant in five years - it's relevant NOW. Back to government drones - or even worse, Amazon's proposed domestic drones - what happens if one of these drones is captured, and destructively reprogrammed? If it becomes slave to a botnet? These are the concerns Barrat feels moved to act on. Does his book succeed at moving others too? I'd say... yes, but not how you'd think.


Because it's worth noting that immediately after finishing this book, I went out to the nearest bookstore and bought an AI Textbook and a Lisp coding primer. Our Final Invention is a great introduction to real-world AI. And even more than it made me want to try and save the world, it kind of made me want to destroy it. I desperately want to be one of those hundreds of researchers on the cusp of tomorrow. I want to help Artificial Super-Intelligence come into being. I want to ask all the hard questions about consciousness and intelligence. And now I want to consider, and prepare for, the consequences of doing so. If Our Final Invention has done anything, it's made me more conscious of what we're creating. That's why anyone interested in AI, even just in passing, should read Our Final Invention. It gives everyone the knowledge to make their own decisions about AI, and the risks involved. Because, while I'm not saying your Roomba's going to challenge you, someday soon, who knows? It might be able to.

Friday, August 8, 2014

Practice Project with Mindstorms


It turns out I prefer busy summers to boring summers, but I also tend to go a little overboard. So if this poor blog seems abandoned, that's because it is! But it's time to fix that.



This project was supposed to be a  sort of automated set of drawers. A grid would sit over them, holding the drawers. The two motors could move to a certain "coordinate" to let the third lift the drawer. Overall, I was able to make it work well in concept. But I'm abandoning the project in its current form for now, just because the limitations of the Mindstorms kits and my own time and resources have made it difficult to complete.

I've noticed that the Mindstorms kits are optimized for compact robots. The pieces fit together with a fair amount of wiggle room, but if you aren't wedging anything inside that would allow them to move, you're fine. However, if you want to build a machine with a longer arm protruding from it, the leverage can cause connections to bend or even snap open. This made my plan of having one motor moving a bar holding the others difficult. As you can see in the video, the bar twists the motor holding and makes accurate movements difficult. 



Another difficulty I had was with the Mindstorms software. What I was looking for was a way to input a command from my computer that would trigger a method in the robot. While there is a Bluetooth connection option for the brick, it doesn't let me contact the brick with a command while the program is running, as there's no text input function. In the end I settled for inputting a "code" through the pressure sensor, so the robot would move to a position dependent on the number of times I pushed the button. This worked fairly well. This is the code I wrote that does just that.



The awesome people on the Google + Makers forum suggested I use MIT App Inventor, which lets any android device communicate with the brick through Bluetooth. This is a great idea! BUT, I regrettably have no android device on which to test this capability. I'll have to cross my fingers for my birthday. 

The video shows the last test I did of the robot. The design is... Not great, because I had to keep dropping and coming back to the project, and every time I would get halfway through fixing a problem, and have to stop for the next camp or class.
The robot did better in earlier tests, before the bars started rubbing the nubs away on the Legos holding them together! Great. And now that I'm trapped between eschool, drivers ed, and another super secret  project (coming soon!) that requires lots of time commitment, I decided to give this project a break. I'd like to come back to it at some point later, probably using an arduino and an upright set of drawers. I've got a few ideas written down. But for now, I'll just consider this project a good exercise in programming and design, and 
move on.
Up next: an upgrade to an old robot, a super secret project, and a book review to finish up the summer.

Tuesday, June 24, 2014

Finally set up my Raspberry Pi!

From this:


To this:


In just three hours of "why doesn't the pound key on my keyboard work?" "I commented out the overscan code, why won't it fill up the screen?" (Pro tip: the Raspberry Pi defaults to the Great Britain keyboard interpretation if you don't tell it otherwise, and use an hdmi cable if you want any control over your screen)

I got the pi for my birthday, but I want sure until recently what I wanted to do with it. I've decided I want to try combining it with my arduino hardware to automate the blinds, lights, etc. in my room. I can't really get going until I finish up with my month of summer camps though. Expect a theatre tech projects after next week, as soon as camp gets done and I can finally take a nap.

Tech Theatre Camp 2014!


Finally, my summer begins! I've spent the past two weeks at three different camps, so my schedule was a little busy. This last week, I worked with 84 other students (20-something other technicians) for eight days, 9:00 to 6:00, to put on four one-act plays with full sets, sound, and lighting. It was understandably pretty brutal, but a great experience overall, and I got to work with a lot of awesome people making some really awesome things.

The show I was assigned to, although I worked on all the sets and helped out with every show, was a cut version of Urinetown, a silly musical we turned into a 40 minute play. I was specifically assigned to be the lighting technician.

The first thing we did at camp was a tutorial on google sketchup, which we were supposed to use to make a preliminary set design to present to our show's director. I've used sketchup for projects before, so it wasn't a big deal. I don't have the design for Urinetown on my computer, but my theatre teacher, the head technical director at camp, had me start designing sets for next year's shows while I was there. Here's a rough idea for Gossamer's giant door, for our first show, that I made in the class.


Next we started actually designing and building for our show. Urinetown had the most complicated set and lighting out of all the shows, and the director had some very specific ideas about the set, so we didn't do much in the way of "design" so much as "build and hope the director likes it."


The base of the set was some stacked "metal scenic pieces" (we weren't allowed by the district to use scaffolding in the set, but some rules were meant to be bent) 



The tech director wanted to have two 8' by 8' doors hinged to the legs of the inner platform that we could swing to either side to represent different locations in the show, but the director thought it would cover too much of the scaffolding. I suggested hinging two 4' by 8' flats to the outside platforms so they would close and open easily. The idea made it into the set.


This was the Tech director's idea, and I ended up building it. The school we were working at had some jail blocks left over from "Chicago". We stacked them on top of one another, and spray painted plastic sheets to stretch behind them. The whole thing was backlit by a source 4, so that when a character gets pushed off the scaffolding and is harnessed, he falls behind it and you see his silhouette. It looked really cool onstage.





The director wanted the secret hideout sign to be really, really obvious. We cut out the arrows and the sign, painted them, and then strung lightbulbs  across them. For each lightbulb I used a tomato corer (which is a real life kitchen implement??) to poke a hole in the foam, pushed the base of the light through it, and screwed the lightbulb in.
I don't have any pictures of it all lit up yet, or any of the lighting work I did for the show, because by then I was too busy to take the pictures. There was a staff member who was the designated historian, who took a LOT of pictures, but I doubt I'll get them until I get back to school. I promise I'll post them as soon as I get them though.


This is the most 'complete' picture I have of the set. The final version had a wall that flew in underneath the secret hideout sign, and the swinging doors were painted. 

I was excited to try lighting, because it was something I'd never had the chance to try at school. I gave my stage manager a heart attack because I didn't know how to write down cues, and I was pulled away from paper tech to make the 'moon' for another show ( which turned out to be a three hour ordeal in hand sewing that ultimately was cut ) and again to reupholster chairs (the reason I didn't know how to write cues was that this happens A LOT even at school) 

In the end the show went great. The only major hiccups were that a rig that made it rain on the top of the scaffolding broke halfway through the show and started spraying water backstage. I panicked and missed a cue, but once it was fixed, the show ran perfectly. The actors were amazing, my team did really well, the audience loved it, and, at the awards ceremony after the show...


I was one of 8 technicians to win an Exemplary Tech award, and the only student to win both that and the Callback scholarship, awarded to one technician and one actor, which means I get a full ride to next year's camp. (You can see me holding the certificate and gold 'C' onstage, which I thought was a horseshoe throughout most of the ceremony and treated it as such.)

And I definitely want to go back next year! I loved the jobs, loved the people, and as busy as I was, I was having fun the entire time. 


Saturday, June 7, 2014

Useless Lamp - Mindstorms EV3

For our final project in one of my classes, we had to create an art piece based on a movement we studied. I picked Dada, and this is my project, Lamp. Here's a video of it in action.



I built the project using two mindstorms large motors and a pressure sensor. There are two halves to the mechanism - the "useless box" half, and the half that controls the lamp. The lamp in particular I used had a wheel switch that I had to to try three different ways of operating, finally taking it apart and reworking it as a button. The box decorations are made of vinyl and fabric I had lying around the house. I'm only going to talk about the mechanisms involved in making your own useless lamp. The rest is up to you.


Friday, June 6, 2014

Feature Friday: An NSA Sarcasm Detector?

There's a number of reasons why using social media as a method of finding potential criminals is both ineffective and dangerous, but the NSA seems intent to try and do so anyway. I'm not here today to discuss the ridiculousness of monitoring huge quantities of junk data for a threatening tweet, or the terrifying potential repercussions for the person who makes one too many jokes about the security inspection at the airport. I want to talk about the NSA's search for a twitter sarcasm detector, and whether or not such a program is feasibly possible, and how effective it could ever really be at filtering joke threats from the real ones.

First, lets pull up a definition of sarcasm.

sar·casm

 noun \ˈsär-ˌka-zəm\
: the use of words that mean the opposite of what you really want to say especially in order to insult someone, to show irritation, or to be funny

It's understandable why the NSA would want to avoid lawsuits by filtering out everyone who didn't actually MEAN their threats. But, the difficulty with machines recognizing sarcasm comes in two parts: 

One, sarcasm relies on the context in which it is made.


This is an easy one. No one wants to have to wait for their food, right? We construe that as a negative thing. So, someone acting excited or happy about their food being late is being sarcastic. 

However, sometimes it can be more difficult. If I say "Wow, great new plan by the NSA," if you don't know specifically which plan I'm referring to, my opinion on or views previously expressed about the issue, or even what community or scenario I'm speaking in, you might have a very hard time telling whether or not I'm being sarcastic. Then tie in allusions I make to other situations or pieces of media that need the same amount of context to be understood. It's not looking GREAT for the NSA right now.

Two, many people like their sarcasm as subtle as possible.



Some trolls will a satirical account where they try and make as many people angry as possible through their content to get views. Meticulous troll sarcasm can be difficult even for human users to spot, but for machines, it can be downright impossible, as they wouldn't use #hashtags, italics, WAAAAYYY OVEREMPHASIZING, or other clues the more sarcasm sincere might present. Imagine Jonathan Swift's " A Modest Proposal." An important piece of satire, but how many HUMANS thought it was real when it came out? 

This isn't to say that a computer CAN'T find sarcasm on the internet, but it's harder than it might look at first glance. 



A couple of projects like What Does The Internet Think and SyFy's Twitter Popularity index have already attempted "mining the sentiments" of social media. As this awesome article states, it's complicated, and while SyFy doesn't have the authority to arrest people if its program goes wrong, that's not the case for high-stakes web-terrorist stakeouts. As seen above, going by sentiment mining alone, half of  internet users are neo-nazis. (Note: This demographic is only accurate for youtube commentators so far as I can tell. Sigh.) 

The NSA can sink its money into making a complex, brilliant program that searches phrases and hashtags and formatting, tracks the sentimental tweets of users and their internet searches to determine their views and opinions, connect media references to their sources and the context involved there, link accusations of trolling to offenders and evaluate their veracity. They could sponsor the creation of an incredibly intelligent machine, and that is why I've included their claims as my feature today. I want this program to be made. But I don't want it in the hands of the NSA. 

In Cory Doctorow's Little Brother, he discusses the potential implications of a world where your every move and search is tracked, and analyzed for threats. Even as the tracking technology of the government improved, there were still so many false positives and negatives. .01% of a billion is still a huge number of people being put on the blacklist. And people kept finding new ways to trick the system. If the NSA gets its sarcasm detector and even one threat is missed, even one comment misconstrued, the first protest will be from those who make their sarcasm more complicated, harder to detect. So the NSA makes a new program. It's a battle without a winner. 

So don't let the silliness of such a request fool you. It CAN be done, and it WILL be dangerous to the neutrality and safety of posting even stupid things on the internet. This battle hasn't come to a front yet, but if you're interested, there are other battles being waged right now. Start with this petition on net neutrality. And please, whatever sarcasm you choose to use, don't threaten violence where it could be misconstrued. If not for the NSA's peace of mind, then for mine, and the 7 billion other people on earth who might take you seriously and react accordingly. Stay free, internet, and I'll see you next week!