A Liminal Event

At 36 years of age, as of March 7th, I have just become gloriously married.

You know those times at school when the teacher or a counselor would have you write down your 1-year, 5-year, and 10-year goals?  For as long as I’ve been an adult, marriage has been one of my key goals, since I value stability and a strong base as extremely helpful building blocks towards a better, unique, independent, meaningful future.  This has been a wondrous achievement, to become married to my wife!

It took me a while, and I was woefully ill-prepared for any form of marriage up until just recently despite wanting it, having incurred some hefty life experiences that forged my Ben-ness: training, war, official mistakes, transitions between cities and schools, finding a fulfilling career.  Fortunately, I also hadn’t found the right woman yet.  In retrospect I think I’ve dodged some bullets in life and I safely made it to this happy point; healthy and happy and intact to be able to recognize it in another and now I’m very lucky to have met but also deserving of my wife.  My Best Man wanted it clear to me that I was fortunate to have met her, whereas I countered that I also put in my time and effort to earn that chance.

And now we’re here.  I must confess; I’m a pretty even-keeled guy but our wedding was amazing.  Even better than we could have expected, better than all the fantasies and cliches.  Our friends and family, all holding court in their own ways, keeping the party on lock, the wedding vows themselves touching, the pacing and pre-wedding rituals, the smiles on family who have given us so much but we have not quite given much back to yet.

The honeymoon as well was what I would call a true honeymoon.  While I am loathe to engage in goofy grinny sugar, the honeymoon in Costa Rica (a bit in a secluded rainforest resort where we could sleep and eat the best food, a bit in a beach resort full of sun and surf) was almost fairy-tale like.  The best part was to share it all with a true equal, someone who is equally dedicated and invested in us — perhaps the most valuable thing one can find in life as well as one of the hardest and rarest things to find.

Prediction: Anniversary Weddings

As a side note, after having seen what the wedding culture is like, how the TV shows portray weddings, how our own planning went, I think if you wanted to create an extremely effective long-term marketing campaign, you would push for anniversary weddings as a major new event.  Think about what couples go through: their first wedding is probably going to be at least somewhat on the cheap since they’re either on the hook for it and/or they have no disposable income.  So a bride is not necessarily going to get her dream wedding when she’s so young, unless someone’s parents are loaded.

But imagine: after 5 years or so, the couple will probably have more money and will want to throw a more lavish wedding.  Perfect opportunity to market a second wedding.  Then the longevity wedding at 10 years or whatever, before a couple starts to get old and the glamour of the wedding’s superficialities fade away.  This would create several more opportunities for wedding industry folks to cater to couples and to create narratives out of multiple weddings.  It would also create more excuses for families to gather (which in the grand scheme of things is immensely important, overlooking the pettiness and jokes that surround having to deal with the in-laws and crazy uncles and whatnot).



This is one of those moments in life where I take a knee at the top of the hill, look back at the path I’ve come from, and sigh and reflect on all that’s happened.

And then look further up the ridges and ranges to see what’s coming next.

I can definitely feel the strong pull of crossing over from one stage of my life into another.  For the first time, that journey is not alone, my decisions are not solely my own, and instead of destructive creation, there is now only creation, at least for the fortunate time being.  The teens and 20s are pretty destructive years but they chip away at your character and you end up in your 30s and 40s as the type of person you have chosen to be.

We love our little place in the East Village, but we have our story to write and we wonder where we go next.  For once it’s nice to share that decision, that conscious choice.

A developer’s job as a crash course in multilingualism for coding languages, organizational principles and methodologies for projects, and building applications rapidly — I feel this work has deepened my appreciation and respect for the creator and the builder and the artist, a continuation of my studies in art/tech school.  Writing code has in some ways taken the place of writing for me; I no long blog so much unless some large sweeping societal issue has me particularly wound up to write.

I was writing finger .plans in high school and college because I saw John Carmack doing it.  I wrote blog posts through the rest of most of my life thus far, even while in the Army.  Nowadays I think my conversation with the internet, and therefore with you, the reader, has contracted into more private communities.  In fact I think the most interesting communities will become smaller and more niche — it’s already happened on reddit where the subreddits are still positive, informative, and overly open to each other.  I would love to see local intranets for residential buildings or mesh networks that require some form of test in order to gain entry.  When I want to converse, I want to talk about what can be built, not why things shouldn’t, which has become the norm for discourse in most public forums.


If I had to say what I hate most, it’s probably negativity.  I’m a pretty conservative person in my own assessments, probably a product of both my Chinese mother’s caution and my sergeant’s training to hope for the best but prepare for the worst, but this should not be confused with negativity.  Negativity is debilitating, demotivating, draining.  Those who find the inner strength to build and create and love need to be supported by the rest of us, not brought down.  And when it comes to examining what is possible, I’m usually overly optimistic.


Cranks and haters have always been a part of online and intellectual discourse, but it’s run rampant now that we have what is somewhat of a critic’s internet buffet. The Twitter community I used to enjoy, journalists and reporters and analysts and policy folks, once encouraging of a naive eagerness for new information, has become TMZ-like (in that it loves gossip, the less true the better) and pompous in its derision for anything and anyone.  No one is safe, in the end, from being torn apart for whatever reason: the idea won’t scale, this or that person is a fraud, etc.  The Atlantic, Slate, these are publications that your liberal news junkie loves to read.  And the writers they hire at those places are absolutely TERRIBLE in their negativity or insinuations of impending failure.

Facebook buying Oculus Rift, Amazon studying the use of drones for delivery, Google making a HUD interface in Google Glass.  What I want to be a part of is a community where those achievements are exalted, not ripped to shreds, as they have been by people I might have respected at some point.  I grew up in an idealistic proto-internet time of downloading MP3s and playing Quake online and Napster was a giant; anything was possible even if it was all insane.  Unless you tune all the negativity stuff out, you wouldn’t know.  You wouldn’t marvel at all the amazing work, such as the people who have contributed research and proofs of work towards, say, NP-Complete math problems.  Louis CK would say “everything is great and no one is happy”; I mean the research and consideration going into those Facebook and Amazon drones and balloons is just a beautiful thing to behold.

As the internet has passed through most of its adolescence and begins its maturity, the rest of everyone who plugged in were stuck in a status quo where it seems none of those critics and cranks have really advanced or improved at their own crafts.  To see the amazing achievements announced daily, and then see them shit on, well, it’s frankly infuriating.

Jason Collins coming out as a gay NBA player.  The quickest response: “But he’s a horrible player.”  Sports, one of the worst refuges of the shitbag critic.  A dude makes the NBA and instead of people showing him respect, they’re quick to point out he’s not a perennial all-star.  I’m sure even in Jackie Robinson’s day, people were slagging on him for something.  Some petty something.  As another sports example, what could be worse than this upvoted rant against watching sports?

The Snowden affair has made everything absolutely toxic.  The government lurks behind every piece of electronics now, in the minds of Snowden’s supporters.  It’s the same kind of paranoia I’m sure most of those people would make fun of the Republicans for in their loathing of Obama, or of conspiracy theorists for their suspicion of anti-gun, anti-religion, etc. liberals.  When John Schindler is pointing out how Glenn Greenwald is one bad day away from appearing on Alex Jones’ show, everything seems absurd.  My liberal peers now make blase jokes about the NSA but barely bat an eyelash at unprecedented expansion of corporate personhood.

SXSW just happened and I’ve never been, but I know people who seem to go regularly.  How do they afford it?  It’s expensive as fuck.  Do their employers pay out for it?  How much are people really getting out of SXSW?  So many people who go aren’t even creatives or builders.  I’m definitely not against a flashy party, but I do wonder when it seems like the B-players are being sent.  E3, SXSW, and other conferences are now meetups for the elite and rich, those who can either afford to go or who are paid to go.  And what are they contributing back as a result?  This is why conferences lose their magic.  This is why, most notably, TED tanked.

Wonder why communities stagnate?  Because they have more cranks than dreamers and helpers.

As I’ve gotten older, I’ve come to love watching the Grammy’s and Oscars more.  For me it’s bewilderment at the complexity and sheer market size of their industries.  The amount of resources, attention, and output generated by dresses, producers, talented artists and directors, the entertainment and happiness that they bring.  I love the process.  Studying how films are cast, the bonding the cast goes through for the film, the pushing of boundaries in the technical areas of the film, the representation of songs off an album into powerful videos, live tours, and performances for award shows, the biographies written up in Rolling Stone and whatnot.


But the pettiness of the crowd drags it all down.  All the slagging on Macklemore even though him and Ryan Lewis were by far the most interesting artists of the year in terms of touching all aspects of the industry and affecting culture.  I actually thought Lorde’s album was incredibly powerful for such a young person but I’m happy with all the results.  The same goes with Oscars.  I try to make a point of it to see as many nominees in as many categories as I can, because those picks represent a curation by the industry.  Hence it drives me nuts to hear people completely destroy films in their critiques — the labor going into a project is admirable, even for lesser quality films.

Negativity.  I can’t stand being around it.

Elite Self-Loathing

One story I really hate seeing is the condescension towards Silicon Valley startups who seem to be creating fluff products when, you know, there are people dying in Africa and stuff!  Why can’t those engineers work on actual important problems?

Of course, who’s writing those stories?  Well in the case of the latest NYTimes story, it is written by none other than a Columbia computer science grad student who lives among the gilded engineer community being called out.

Man, where to start.  The insanely awesome advances in open source software, particularly in the promiscuity of excellent language features being shared among the major coding languages such that they’re all beginning to share a lot of commonalities, these are created by developers and coders and hackers and engineers, people who actually do enjoy spending a whole weekend by themselves indoors in the dark pushing characters around on the screen.


You don’t have to wait around too long before you hear people say, “We must teach the kids how to code!”  Chances are, the people saying it can’t code.  And they won’t go learn how to code beyond tutorials.  This is fine — I certainly don’t think everyone needs to code — but I am definitely a believer that if you tell others they should do something, you should have done it yourself first.  Now, code as a gateway towards solving problems that kids might be interested in, this is a great addition to a school syllabus. (having them design a database to catalog what they own, or a double-booking ledger system to keep track of what little money they make, etc.)

Anyway, my point was that engineers are good at primarily one thing, which is writing very specific code that can test the limits of what was previously possible.  Criticizing Facebook for focusing on creating end-of-year videos?  That’s an immense computational task and it had to be done using tons of peoples’ disparate datapoints.  But the knowledge of how to pull that off is now going to be passed along to successors, to schools and research facilities, and eventually to grad student theses and private products.  As a former student of international development practices, that shit is hard enough as it is and most everyone in that world barely has the statistician’s background enough to be able to make informed decisions about whether this or that program or measurement is actually helping the people who need it.

So it’s the height of arrogance for people who don’t know how to build or measure things to tell others who can do one or the other that they should not only do that task but also design, fund, scale out, and deliver onto the ground solutions to improve society.  Some mercenary blog-quality writer for The Atlantic decides that this or that project is worth slagging because he was clever enough to think of holes in the project’s design while he sips his morning coffee.

I saw this at ITP — while the community itself is immensely supportive and open towards nonsensical, wildly over ambitious ideas, when it comes to critiquing others’ work, the feedback often comes back to blowing huge holes through someone’s work just to sound smart about it.

Getting back to those life goal write-ups.  I never really did them very seriously but when I think back to them now, they were immensely informative and helpful.  When I was in college, I think my short-term goal was to be a full-time daytrader, since I was doing fairly well trading the dotcom boom.  I didn’t have the perception and experience to realize that market volatility would dry up, that the system’s regulations would be gamed so that small-time daytraders (less than $25k in their account) would be locked out of the practice because of restrictions on the number of trades one can make.  If you want to know how Wall Street has changed, beyond the infamous “quants”, then you should look at how daytrading restrictions have locked out regular folks from trading actively, and also look at how IPOs, buyouts, and other mostly stock market-related business deals are all about cashing out and not adding value.  The stock market’s investment and negotiation deals handled by the big finance firms are not too far off from nobles trading title and land for reputation and power.  Their employees get little.  The only way normal folks can win in the market anymore is to just play for the long-term.

My Flaws and Strengths

  • not “great”
  • too stoic
  • too serious
  • not close with enough friends and family
  • no natural ability
  • relentless
  • high tolerance
  • courageous
  • top caliber friends
  • respectful
  • reverent of the process
That’s my list.  I might also add that the part I probably think the most about is that I know that positivity and being enthusiastic and empowering others to be happy with things is the most fulfilling thing one can do day in and day out, but for me what I lament is that I am by my nature just not that person.  Having met some powerful leaders, wonderful motivators, and just all-around badasses in my time (many of whom were at the wedding, if only for a few hours before they had to return home!), I have witnessed what they can do for others, and that’s just their natural state.  In the world I’m more of a defensive-minded person, more of a guardian, more of a sheepdog.  It’s just the way I am, and it’s what I’m best at.  How will I integrate that into being successful and truly great?


People fight so strongly for their opinions.  What for?  How about this quote?
“Good taste is a myth. A story our rider creates to serve the needs of the elephant. And the sooner you kill your good taste idol, the sooner you’re going to give yourself a chance to be a better designer. It frees you up to add taste as another tool in your designer’s toolbox. Consequently, instead of focusing on good taste, your focus becomes the right taste for the problem at hand. There’s a subtle but profound difference.”

The magic moments of online forums or of hobby-based communities are that in most of the growth stage, the conversation is dominated by doers and builders, people who are curious about the implications and who love to share positive aspects of it all.

And then I’m sorry to say but the “intellectuals” then bandwagon on, having read about it all in this or that magazine or on a prominent blog.  This is around the time when communities start becoming caustic, full of cynical comments enforcing behavior of entrenched, mature communities elsewhere.  The doers mostly get drowned out.  I saw it happen on HackerNews, and to some degree on reddit.  Those amazing comments you go to read when you first joined are replaced more and more by negative comments (and by memes, but I love memes).

These folks are full-time consumers: of culture (which they did not live in), of art (which they could not possibly create on their own), of popular culture (which they foster animosity towards but can’t help but indulge in).  A community of fast-food binge watchers.  I am an avid consumer of pop culture myself but I do feel a certain pressure to need to contribute something back: to try to find artistic outlets for my more pragmatic views, or to attempt things that are somewhat subversive.

The full-time consumers are up against the people who believe in doing, as referenced in this hackernews comment section on ageism in tech:

“I have a ton of cultural criticisms of the current tech industry, but the one thing that it is absolutely getting right is valuing creation. The damage that could have been caused by the Google/Apple cartel has been limited largely by the startup industry that, for all its faults, has as a crucial belief that the act of building things is valuable, and that people who make things are the ones who create the most value.”

Strengthening a Community

To me it seems like it would take very little actual effort to maintain the positive tone of a community and avoid the police that have made Wikipedia and StackOverflow so abhorrent to contribute to.  Active enforcement of positive messages would be a given, but bigger than that, I’d prefer a whitelist system where your reputation precedes you.  Do you have a good online history of being helpful, of encouraging others and of sharing lots of content?  Then you’re in.   Admittance is earned.

One major piece of Galapag.us that I hope to implement eventually goes along with the theme of different islands.  The islands have their own cultures, wildlife, climates — and their populations should have culture and personality that reflects it.  So each island would have its own rules for communication and culture.  For example, a welcome island would have strict rules against hurting new players, whereas another island may be a free-for-all.  But I think most islands would be somewhere in between, capped mostly by having formula requirements to gain admittance, based on a person’s stats.  Perhaps an island requires a very high reputation with very low negativity and an innate nature for helping others, so one would need to have very useful posts as well as have an “angelic” alignment.

I like anonymity, pseudonymity, and verified identity all at once.  I think they all have their place.  But I also think that one’s reputation should be compatible with a community.

So here I am.  Here we are.  Starting a new family, a new chapter in life.  I think I’ve definitely become more of a homebody as I’ve gotten older; saving money, disliking the quirks of others more, understanding which types of events are never that entertaining yet knowing which ones are really key.  I’d like to think I’m stressing meeting up with friends more now.  I definitely cherish that time.

And, to conclude, my goals:

1 Year:

  • get a substantial raise to pay off more school debt and begin having children
  • plan on where my wife and I might like to move to and live
  • crash-course on C/C++ and algorithms

2015 (37 years old):

  • fluency with computer science algorithms, data structures, searches, and sorts
  • west coast driving trip
  • scouting trips for places to live

5 Year (41 years old):

  • children
  • Galapag.us as a command-line/search box-driven game

10 Year (46 years old):

  • at the age when I should expect to create a life’s work or project that is “great” and “glorious”


Note: I’ll probably be adding to this, as I had trouble expressing what I wanted to say in a cohesive manner and worked on this over several nights.  I know I’m leaving tons out, and need to think more about future plans.

But hell, it’s so good to be in a state of strengthening and building now.

Introducing Cryptstagram

[This is the long version of a post I wrote for The Barbarian Group’s tumblr.  We also got written up in Wired’s design blog, Laughing Squid, and PSFK, my first time getting such large coverage!]

Periodically at The Barbarian Group, a small team of new employees and veterans with varying skill-sets are brought together to work on Project Popcorn, a side project that embodies the inventiveness, technical skills, and values of the agency.

Within my first week as a developer for the agency, I was assigned to Project Popcorn, along with a senior art director, a senior copywriter, a creative director, and a technical director.

Cryptstagram is the resultant product of our teamwork. Cryptstagram is a web site that lets you steganographically encrypt a hidden message into any image, unlockable only with a specific password, and then apply glitchy Instagram-like filters to that image.

The National Security Agency whistleblowing story had just broken, and as a result we quickly became fixated on doing something involving cryptography and, to fulfill our artistic ambitions, on doing something involving the glitch aesthetic.


The glitch aesthetic is popular amongst our creatives and developers because it requires technical knowledge of formats and methods underpinning systems in order to then manipulate, pixel-push, and distort those systems towards the artist’s ambitions.

As a team we spent a lot of time discussing what tone we wanted to convey with Cryptstagram. How secure should it be end-to-end to pay respect to citizens’ cryptographic requirements and expectations of privacy? Should Cryptstagram’s filters create aesthetically-pleasing images or should they reflect entropy of input and interaction from the user? To what degree did we want Cryptstagram to be a statement about the NSA and privacy in general or just a reaction to the state of our relationship with technology?

In the end we decided on a reflective tone for Cryptstagram, emphasizing a common public desire to share stylized parts of ourselves in public but other parts of ourselves in private or semi-private. We should empower ourselves with stealth and style.



The Project Popcorn team also wanted to keep Cryptstagram open-ended, taking advantage of the fact that JavaScript is pervasive in users’ browsers and that most computation, SHA-1 encryption and decryption, and glitching can now be done with open source libraries, entirely on the client’s side, and using HTML5 Canvas. A JavaScript stack (Node.js/Express, MongoDB, and good ol’ jQuery) cached and served up via cloud services allows for rapid app development and easy deployment for a small creative team.

So, easily, a citizen could choose to encrypt her image with a message and save it without it ever touching an external server, then send that image via private means to intended recipients with a password that could be distributed in any number of ways. Or the citizen could share the image on Cryptstagram’s wall for others to see and even try to decrypt!

A perk of this open-ended design is that we can extend its utility: we (or you, via jsfiddle sandbox!) can add seasonally- or topically- themed filters for specific clients, a celebrity can release images with a password known only to fans, or people can use the Cryptstagram wall to create puzzles or scavenger hunts or just post encrypted messages publicly without drawing suspicion.

At The Barbarian Group, we’re invested in making things that are gonna be awesome, and in order to do so, we need to be just as able to wade through the technical limitations of CORS and CSRF as to create something people love to use and share online.

So, what creative uses can you come up with for Cryptstagram?

The Only Person Not Paying Attention is You

The Snowden leak has been immensely disappointing all around.  It makes me sick to my stomach to read different constituencies circling their wagons on it.  The outcome is almost certainly already written.

First of all, people are acting like it’s a major revelation that this stuff has been going on.  Really? It’s been in the news since post-9/11 took shape, and, among people in DC who care about this stuff, it flared up in 2006 and 2007 with the EFF and ACLU finding its scent.  Whistleblowers have been punished, military blogging has been pretty much extinguished, FISA silliness has made its way into Al-Qaeda propaganda, Hollywood movies, bad TV documentaries.

Technically speaking, with sheer processing speed and storage being rendered inexpensive with the advent of cloud computing and parallel processing across networks, along with massive amounts of investment by the NSA into equipment so much that it would affect local power stations, what did people really think was going on?  Room 641A was uncovered by Mark Klein, a whistleblower whose name no one knows, and showed how the FBI could tap into telecoms.  When did that happen? 2006!  How much more evidence did people need for the story to blow up?


Mark Klein, whistleblower


People I know in NYC are for the most part universal human rights-type liberals, which is to say they strongly believe that the notion of freedom has something to do with expecting freedom as a standard right for all, but not really having much idea how to implement or enforce it except through dreamy notions of Hans Zimmer-soundtracked Supreme Court victory films and through self-example (thus “hipster” stuff like gardening, eating healthier, being a smarter consumer, exotic hobbies, etc., but without a similar push into practicing politics).

I felt like I was a broken record in our flying robots class as people would worry about the impact of drones, while I saw drones as an eventuality of the future and cared more about the policy impacts of an unchecked and unnoticed NSA, both my allegiance and suspicion of its work coming during my time in service when all this stuff was basically being prototyped in Iraq (after years of research on systems such as Echelon).  Drones are a tool to gather intelligence for larger databases, and a technological replacement weapon for cruise missiles and gunships.  By themselves, Predators and Reapers will be footnotes in history.  The apparatus that collects, collates, targets, and scores potential enemies of the US will have a legacy that will lead us well into the end of this century.


Many of the non-security people I follow on Twitter are mostly journalists or DC -based or -biased analysts, which means to say that they are indulging in the sauciness of the Snowden story while at the same time indignant at the idea that the government is spying on journalists as well as the American public.

The initial journo phase of giving Snowden a pass on reporting accuracies gave way to a more careful view of his story now (in other words distancing themselves from admiration of his courage), particularly as he’s had contact with countries considered non-friendly with the US and incompatible with the principles of freedom of speech and civil liberty.  There’s still a strong undercurrent among these people though of defending the whistleblower aspects of Snowden’s actions while downplaying his questionable behavior in other countries.

But look, here’s the thing with all this, and I’m sorry for all the setup to get to this.  The story’s going to keep morphing and Snowden supporters are going to continue to modify their lines to fit the current narrative.  There’s no accountability for such people giving half-baked opinions and mawkish support for a man who is for the most part inconsistent (see his IRC logs and personal work history) on the matter — no one will call them out later on it.

Journos will turn on or bail on this guy.  He’s just a tool to them.  Assange has turned into a punchline for the intelligentsia while Manning has turned into the equivalent of those ads on late night TV for abused pets that need healthy homes.  I saw one tweet suggest that Snowden is to Greenwald as Manning is to Assange.  A pawn in a larger dance.

Turning on Snowden is only slightly worse than ignoring him completely.  See Barrett Brown (corporate spying early on), Thomas Drake, William Binney and J. Kirk Wiebe, Mark Klein, and the rest of the whistleblowers and journalists no one has given a fuck about until now.  This doesn’t even cover the red flags raised after what happened to Joe Nacchio and the debate around National Security Letters (this link upped by the awesome writer Maria Bustillos).


Thomas Drake, whistleblower

Snowden reminds me of those LulzSec guys before they got caught.  Everyone likes the story of the fugitive — it plays well in the media.  FUGITIVE AT LARGE!  NEW DETAILS, NEXT!  In my opinion the LulzSec folks were far more compelling than Snowden’s story: they were directly challenging the international community to cooperate to find them and arrest them — they lived in multiple countries and they had a technical superiority edge at first that must have deeply concerned law enforcement, but they were ultimately undermined, most notably by their leader becoming an informant for the FBI!  I can only imagine that LulzSec was a wakeup call for building up more serious capability within intelligence to keep up with blackhats online.

Gizmodo LulzSec

What should be more scary is not how authorities are reacting to Snowden, but how they managed to thoroughly infiltrate Anonymous, WikiLeaks (Sigurdur Thordarson), and even LulzSec — people who were more capable of hiding their digital footprints than most people in society.  Given attempts to infiltrate Muslim communities in NYC, running operations to entrap potential jihadists throughout the US, and so on, virtually no organizations seem to be impenetrable to government operations.

Snowden, contrary to his depiction in the press, seems like your typical mixed bag type of person.  Contradictory views at different times, inconsistent motivations, full of character flaws.  It’s completely up in the air how his story plays out, but I think the easiest thing to conclude is that the guy has always wanted to be where the action is (a feeling I can relate to) and was seemingly raised to believe that nothing is impossible (see his 18X special forces attempt, et al) and that actions speak louder than words (being the figurehead of this NSA leak).  I’m interested in the guy too but I agree that the NSA news must be fully integrated into American citizens’ notions of what is going on behind the scenes.

As for Greenwald, the guy is fighting the good fight but is a super-douche (putting him in the panned-theon of Tom Friedman, Umair Haque, Evgeny Morozov, Paul Krugman, Jeff Jarvis) and so even if I’m harsh on him, for the most part it’s been good to watch him speak up for things over the years that people have ignored.  But seriously, why do these guys twitter-search their own names for any mentions and feel compelled to talk back?  It’s the number one reason I call them Morozlov and Greenlold — so they don’t throw a Twitter fit in a @mention.

It would be alright if this eavesdropping news was somehow a revelation but the bottom line is that people have not been paying attention for the last decade or so.  Most importantly, the NSA story has been decontextualized from post-9/11 security mission requirements and solely towards some happy fantasyland where America lives out some high school class teaching of freedom of speech and international role model-setting of a higher moral arc towards justice.

That is to say, there is next to zero intelligent balancing of the issues being discussed in the circles that should be setting the debate for everyone else.  The NSA has a pretty clear objective and it’s fairly good at executing that objective: monitoring communications and creating target packages for people who come up on its radar.  In an environment where potential enemies don’t line up in formation to attack, basic pragmatism and realistic world view would acknowledge the need for tactical and organizational ability to collect that kind of data.

Furthermore, it would be ludicrous for the US government to not pursue serious (fair trial) charges against Snowden, based solely on the current standing of the law.  It has to prevent leaks and it has to protect its intelligence.  Why do people act surprised that the US government would be seeking to detain and prosecute the man behind a massive breach of classified information and ensuing media controversy, all while passing through China and Russia?

At the same time, the networking of our data online not only increases the government’s ability to collect, it also increases the abilities of adversaries (say, China) and non-states (hacking groups, organized crime, etc.), so the public needs to be vigilant about its rights to protect its data from those groups.

All of this is within the perfectly rational and justified perception among caring Americans that the NSA’s eavesdropping programs have gone way out of control and pose a threat towards American citizens’ civil liberties.

But you don’t hear this.  The decontextualization makes it sound like the NSA is J. Edgar Hoover putting intel hits on everyday Americans for no reason, when in fact it’s more of an intelligence effort to adapt to today’s big data environment — and the NSA will do whatever it is allowed to by those who set policy (Congress), who set legal precedent (Supreme Court), and who actually have skin in the game (military, security, etc.).  9/11 was perceived as a massive failure to many professionals who dedicate their lives to ensuring that it never happens, and they will dedicate the rest of their careers to doing whatever is in their power to try to prevent 9/11 from happening again.

Do you begin to see that there are different interests at play here and that they all have varying degrees of legitimate concerns and readily apparent biases?

The bottom line is that hey, you just found out about this and it’s like reading Howard Zinn’s A People’s History of the United States in college and now you’re one of the few initiated who gets what’s really going on in the system man.  Enslavement, dude.

Do you know how frustrating it is to listen to people whose opinions came from a BuzzFeed blurb about a Mother Jones article (that cites news from years ago as breaking) and are all the sudden pro-disclosure rules and anti-intelligence apparatus?

Do you know what it’s like to read hit-and-run op-ed pieces about how intelligence agencies continue to fail to find viable targets from the same types of people who laughed at the crowdsourcing effort to find the Boston bombers?

Do you know what it feels like now, after having had my clearance revoked back in the day, during a deployment, because I was blogging honestly (but not giving away OPSEC) about what was going on in Iraq before the Surge and ethnic cleansing and before there were the chilling-effect blog rules in place now that have all but cut off most reports from servicemembers deployed abroad?  Let me please hear from kids who skipped out on our last decade of deployments which required leadership of smart, freedom-loving Americans who were lucky enough to not be too busy trying to save what was left of the lives they were clinging on to (which is how lower middle class, the poor, and victims of Katrina spent the last decade).  Let me please hear about speaking truth to power from kids who weren’t there, didn’t see it happening, and only found out about it years later because they’re always on the internet.  It’s easy to speak out in hindsight or when nothing is at stake for you.


I’ll tell you who gets hurt in this.  First of all, the public will put up an outcry over this only so long as it’s in the paper.  For that reason I would think Wikileaks is the way it is: shilling for story, content, and control of the narrative.  They want to ensure that it stays on Page 1.  But really I don’t think much will change because there’s little check on the government to prevent electronic data snooping and very few people actually understand the mechanics behind how it works.  Also security concerns will still trump privacy concerns.  So the public is going to continue being spied against with few checks or even basic smell tests to see if the government should not be spying on this person or that person.  We’ll continue to see bizarre, brief fiascos like Stop and Frisk and CIA-NYPD collaboration to provoke, say, the Muslim community.

[the above is my ITP classmate Atif Ateeq’s thesis about bringing context back to Muslims and Arabs who were decontextualized after 9/11]

The behemoth which is the system that allows government and corporate spying will continue almost unabated against citizens around the world, regardless of their affinities.  The technical ease is too great and the will to put understandable limits on it by decision-makers is too weak.  It’s a cliche in the science fiction world but it’s an easy eventuality.  I can only see this disparity in interests increase as tactics, techniques, and procedures (TTPs) continue to get scaled down for easier use by lone wolves (see 3D printing, propagation of extremist material, biohacking, DIY energy devices).

The other people to get hurt will be security people.  The narrative of the post-9/11 story for intelligence has been that it took the rest of the blame for Iraq that Dubya didn’t soak up.  “The intel was bad,” people remember.  But Tenet went along with pushing for Iraq in the end, even though key intel analysts were advising the complete opposite.  After that was settled, recommendations were made, particularly in Congress, to boost the concept of fusion centers, which were supposed to prevent stovepiping of intelligence within agencies and to possibly allow for a layered effect of intel analysis where different types of data could be plotted against each other to build out networks of important terrorist individuals.  Well, fusion centers ended up costing a lot of money and were for the most part just okay but not terribly productive.  Where security is now is that data is now streaming in faster than it can be analyzed, and so systems need to be built to sift through it.  And after this scandal, it is likely that checks will be put back in place to make at least some of that data integration difficult again.

In short, I would think that it will be at least a bit more frustrating for analysts to do their jobs and to perhaps prevent another attack on American assets — maybe not even through figuring out a specific plot but by knowing the internal networks of highly capable groups.

To sum up: Americans weren’t paying attention and expect to be briefed on intelligence that they A) don’t care about, B) don’t know anything about, and C) don’t have time for.  Americans are acting like a nosy, shitty boss calling in from St. Maarten for a checkup.

Really the debate about NSA stuff should focus squarely on the test to allow for eavesdropping: the court order.  Instead of the rubber-stamping of FISA requests which has been standard operating procedure, there should be a stricter, more accountable, more quantifiable test for how analysts (who should be enabled to find oddball connections and sketchy hypotheses) go about getting further approval for eavesdropping. [As a note I should add that someone I respect on Twitter countered my rubber-stamping statement and said that there are stringent tests and quick retractions for requests that have errors in them or that are not valid.  So it’s not as easy as I made it out to be, but I do believe it’s telling as a trend that, according to judicial reports, the end result of rejected requests is near-zero.  I defer to an expert though.]

THIS is the fascinating part of the debate.  Yes, allow for eavesdropping, but ONLY if there’s a strong case for it that’s demonstrable through evidence.  The same it has ALWAYS been.  How do we do it?  Well, I don’t know, and we need to have very smart people think about solutions.  I could say that we allow citizens’ interest reps onto the board but that might give away tactical intelligence.  What about algorithms?  As I understand it the NSA had attempted to score potential targets using algorithms already.  I know people like Morozov would roll their eyes (which is about all they ever do) but algorithms, properly understood for the bias inherent in the creation of any algorithm, could provide a way for multiple interest groups to weigh in on what would constitute a threat or a viable target so that it could be non-specifically applied (read, programmatically) to actual targets so that it could be analyzed later.  Right now this system of judges approving anything that passes past their desks is not working, mostly because judges are always going to be supportive of law enforcement efforts, particularly with regard to terrorism.  Why would they get in the way of a dedicated law enforcement team?

If Only the Apple Store Sold iFreedom in Spotless White

I really want to go back to that part about the journos turning on Snowden.

I can’t tell you how frustrating it is to deal with the disloyalty and hypocrisy of people on that count.  Here are a bunch of people upset that the government is tracking them, even if they had security passwords and encryption and all that.  They were upset that an American has to leave his own country to whistleblow on it, which somehow turns the US into East Germany.  If only there were networks, projects, and technologies which might allow citizens to return their own privacy and security!


If only there were something like bitcoin to circumvent large-scale banks and payment systems which can block your money from going to online poker, drugs, and anonymous bitcoin transactions!  Well, bitcoin did blow up in the news recently, and what did the twitterati and intelligentsia do with it?  They laughed at it, said it would never work and was unstable in comparison to the American dollar.  They felt it was like throwing your money down the drain.


And okay.  If only there were some way to pass information, download movies, files, etc. easily, without having to pay some middleman extra money or to be subject to their licensing rules!  Oh, you mean like torrents or napster or whatever else?  No way dude, I’m not risking my clearance or well-being for being flagged as a pirate; that’s not as cool as using my walled garden App Store on my locked-in iPhone.  Torrents?  Peer-to-peer?  Well, it’s SLOW. :(  And I don’t have time to figure that stuff out.

Anonymous Connectivity

If only there were anonymized networks so we could use the web as it was originally intended again!  Yeah well isn’t Tor for people to sell guns and drugs and child porn?  It just sounds kind of shady lol.  How about mesh networks where people pool together their internet connections so you can connect to a network no matter where you are?  [check out my ITP classmate Sean McIntyre’s work on building mesh networks in Brooklyn]  Nah, I want my own connection!  I need blazing speed to stream my GoT.

Decentralized Social Networking

What is diaspora*?  Oh wait, that’s the one with the dead co-founder right?  Wow that was rough.  But hey diaspora* isn’t as nice as Facebook so I’m not going to switch right now.

The point is that for a community that claims to be for breaking down mechanisms for control by a government that is spying on it, thought-leaders have been shooting down all the grassroots, open source, hacker-built, decentralized products that have sprung up recently.

The contempt people have for all these technologies that would help free them from corporate or government interests?  Well, it just makes me think that people aren’t as desirous of freedom as they claim — it reduces technological interest among most people to just another coolness factor.  Do you have the latest iPhone?  Sorry, I only use Instagram after I deleted my Facebook account (a personal favorite considering Facebook owns Instagram).  Macs are for overpaying idiots.

The lowest level of Maslow’s Digital Needs Curve has shit like iPhone, cloud services, gawker, reddit, and whatever else people REALLY want to use daily.  I’ve seen fairly savvy journalists on Twitter railing against Obama on his policy against whistleblowers in one tweet while drooling over their new iPhone 5 in the next.

Remember Occupy?

It was all topped off for me seeing the utter contempt from the twitterati and most liberals with the Occupy movement.  From its very onset, people who constantly act like they’re for a more democratic and grassroots system, sticking it to the banker-politician complex, etc. would laugh in the face of Occupy while at the same time being drawn to it as some chic “fuck The Man” rebelliousness.  People would go visit Zuccotti but always with a curious detachment and ultimately a pointed, knowing critique of how Occupy had no leaders or had too broad a platform or whatever else they would claim as armchair protest organizers.  Protestourism.

Occupy had its own problems and the issues that Occupy folks would bring up were some of the most important of the day (money in politics, lack of prosecution for finance industry scammers, and so on) but really it failed because, despite everyone saying it’s a problem, it’s not THAT bad a problem.

It’s not as though the Occupy protesters were dying in the streets from police abuse, malnourishment, or invasion from foreign enemies.  We barely see the poor in our day-to-days, let alone see people from the poorer parts of the city protesting.  The iconic Occupy protester would be a fairly well-educated person who had life pretty good.  Is that person going to be there when the weather turns cold?  Or when Occupy gets too dangerous?  No.

(more on what I wrote about Occupy: http://blog.benturner.com/2011/10/19/on-occupywallstreet/ )

What has been telling to me as I’ve gotten older is spotting which people will stick up for what they believe and who will disappear when things get less convenient.  My main critique with my generation is that it stands up for nothing.  Maybe things are good enough that it doesn’t have to?  It’s a generation that is against most forms of patriotism (so passé!), against joining the military (don’t be a sheep), against religion (Hitchens and Dawkins are MY gods), against political affiliation (I don’t like boundaries, man), against pretty much any form of outright aligning yourself with any larger organization or cause.  Even joining that DC kickball league is a barely acceptable affiliation.  We are all lone boats out on the ocean, apparently.  Which is fine except the politics of my generation is largely based on liberal socialist ideals for collectivized Wilsonian whatever, health care or taxation etc.  I understand the folks who live out in the country and don’t want anyone to come near — but urban liberals are not those people.

I believe at some point in life you have to start standing for something.  Maybe it’s in some ways naive or dumb, but it’s important, particularly for men, to have a set of principles and values that are immutable.  Shapeshifting and adapting to whatever is hot is something that younger children do as they try to find themselves, and I just think that once you get old enough, you have to be the person defining what’s important in life.  Maybe there’s some truth to the argument that Americans in their 30s are the new infantile Americans in their 20s.  What does it mean to be American anymore, where borders cease to matter and people switch from city to city with the same standard of living, as part of some cosmopolitan elite ideal?  What does it mean when a whistleblower travels to a Chinese surrogate and then to Russia with America’s technical secret goldmine in tow and people are more concerned about the soap opera of a missing man than of a massive foreign policy disaster?

What it says to me is that most people don’t understand the gravity of situations across the world.  Poverty reduction has been reduced to feel-good slacktivism, foreign policy has been reduced to Hollywoodish notions of outmoded Cold War era spy games, homeland security has been reduced to comedic Paul Blart-quality bureaucracies.

It just makes me not want to pay attention to more and more people who don’t have experience, who have no skin in the game, who have no cause to stick their necks out for.  It increases my willingness to listen to those who are on the ground, who have hammered out any naive notions or ideals of how the world really works, leaving only hard-nosed pragmatism behind.

How Convenience is at Odds with Art

This brings me to a bigger subject: art.  I never thought I was going to be an art student, particularly after being in the Army and having a love for business.  The quality of the art students I’ve met in terms of their abilities to look past what is useful or what provides an immediate payoff or what seems possible at the time, along with their technical and ambitious abilities to actually carry through with them, I’ve just been so impressed.  I still associate most art with projects carried on for no reason in particular and which don’t really make much sense and which seem to take up a lot of unnecessary room.  That said, art school is just as expensive as other schools. (this artist wrote a post on why you SHOULDN’T go)


But what I’ve come to feel about art is that what I associate with art is only what has been successful art in the past.  The cutting edge art of now and in the future is not going to be seen as accepted, as cool, as mainstream.  To understand what the fringes of meaningful art are now is to look not at what will be cool (advertising and design have successfully co-opted that particular game) but to look at what is seen as obscene, weird, disconnected, and offensive.  Meaningful art now is not called art: it’s called some variation of the term hacking.  Experiment, play, prototype, tool around, whatever.

In school I learned the ITP hacker ethos.  The ITP hacker ethos revolves around the 80’s-based mystique contained in phreaking, War Games, Sneakers, Easter Eggs, sleight of hand, Max Headroom, Hackers, etc.  Now society seems to think geeks are cool, but the real geeks are the ones who stay glued to the computer, hacking away on some tech that may not even pan out or make sense to anyone outside of a handful of people.  The chaos behind the high latency of Tor, or the arms race of pirates and copyright holders through torrents, the idea of darknets: this is the uncomfortable edge of where art is.  It’s childish and naive in some areas, it’s foolish and illegal in others, and it’s unproductive and a dead end too.  It’s not polished, it’s not beautiful, but what it does is test legal limits, test technical limits, test ways of seeing the world.


Drones.  A touchy subject.  For ITPers, it’s a mix of unsurpassed American military might, combining speed, surveillance, technology, and intelligence, all of which are core advantages to American power.  But it also stands for death, particularly collateral death.  It stands for disposition matrices and hitlists and reaching out and touching someone and the disconnect of killer and victim and secret orders signed by the President.  Drones are one of the best examples of a conflict between liberal disgust with warfare and conservative Jacksonianism and exertion of power.

So it has been depressing to read about drones because few people fall somewhere between those two extremes.  But some people have begun making what I consider to be fine art, and it has not come in the usual form of something beautiful.

James Bridle has an exhibit at the Corcoran on drones.  Among other things, this was said about his work:

Bridle realizes that drones are more than the sum of their 3D parts; they are the capillaries of a network, the point at which lines of computer code, political power, and obscured decision-making appear in the physical world. “This is what I’m really interested in at the moment: trying to push this debate back from the fetishization of the drones themselves, back into the computational networks behind them,” he says of his piece “Disposition Matrix,” a computer monitor reeling through a software program Bridle wrote that searches public resources for people who have a connection to drones and a series of volumes printed from the findings of the program, conveniently accompanied by some gloves for museum visitors to don as they flip through the pages. The program is meant to evoke the system and variables that generates an official “kill list.”

This is the greatest form of art for me.  Technical understanding of something to the point that you can recontextualize it and link it back to the bigger themes involved.


You should also watch my ITP classmate Josh Begley’s thesis presentation on dronestre.am, his API for accessing info about deaths as a result of drone strikes.  Particularly interesting were his remarks on geography being an inescapable reality and thus the increasing importance on mapping blank spots in reality, his interest in that sparked by Trevor Paglen and his “experimental geography”.

Drones as peace advocates discuss them are boring things.  A drone today is just a gadget, but what lies behind it is sophisticated blending of GPS, radio comms, cheap parts, remote weaponization, integration of real-time video and control into the commander’s toolkit.  Beneath the drone debate was always the intelligence debate, which the public has only now decided it wants to take part in, despite Bradley Manning rotting away in jail and the NSA blooming in size and a witchhunt for whistleblowers within the government.  Way to ferret out the main story, armchair analysts.



One of the quieter stories I read about in Wired a while ago was one that has stuck with me for a while.  It was a glimpse at UX, Urban eXperiment, a French hacker-collective.  Wrote Jon Lackman:

UX is sort of like an artist’s collective, but far from being avant-garde—confronting audiences by pushing the boundaries of the new—its only audience is itself. More surprising still, its work is often radically conservative, intemperate in its devotion to the old. Through meticulous infiltration, UX members have carried out shocking acts of cultural preservation and repair, with an ethos of “restoring those invisible parts of our patrimony that the government has abandoned or doesn’t have the means to maintain.” The group claims to have conducted 15 such covert restorations, often in centuries-old spaces, all over Paris.

Begley’s and Paglen’s interest in the unmapped spaces may coincide with UX’s wishes to find and protect that which has been forgotten.  Anonymity can provide security when everyone is too distracted to pay attention.

Why do they care about these places? Kunstmann answers this question with questions of his own. “Do you have plants in your home?” he asks impatiently. “Do you water them every day? Why do you water them? Because,” he goes on, “otherwise they’re ratty little dead things.” That’s why these forgotten cultural icons are important—”because we have access to them, we see them.” Their goal, he says, isn’t necessarily to make all these things function once again. “If we restore a bomb shelter, we’re certainly not hoping for new bombardments so people can go use it again. If we restore an early 20th-century subway station, we don’t imagine Electricité de France will ask us to transform 200,000 volts to 20,000. No, we just want to get as close as possible to a functioning state.”

UX has a simple reason for keeping the sites a secret even after it has finished restoring them: The same anonymity that originally deprived them of caretakers “is paradoxically what’s going to protect them afterward” from looters and graffiti, Kunstmann says. They know they’ll never get to the vast majority of interesting sites that need restoration. Yet, “despite all that, the satisfaction of knowing that some, maybe a tiny fraction, won’t disappear because we’ll have been able to restore them is an extremely great satisfaction.”

Art stolen by UX, on display out of public view, in tunnels

Art stolen by UX, on display out of public view, in tunnels

Ai Weiwei

Today’s cutting edge of art is also political, because expression vs. government is a tangible, dangerous battle that we witness daily in various forms.  I consider Ai Weiwei to be one of the most daring and genius artists of the day to reach widescale attention, but almost no one has heard of him.  I recommend you read this article about him.

All art is political in the sense that all art takes place in the public arena and engages with an already existing ideology. Yet there are times when art becomes dangerously political for both the artist and the viewers who engage with that art. Think of Jacques-Louis David’s involvement in the French Revolution—his individual investment in art following the bloodshed —and his imprisonment during the reign of terror. If it were not for certain sympathisers, David may well have ended up another victim of the guillotine. Goya is another example of an artist who fell foul of government power. There are instances in the 20th century when artists have faced down political power directly. Consider the photomontages of John Heartfield. Heartfield risked his life at times to produce covers for the magazine A/Z, which defied both Hitler and the Nazi Party.

Backpacks spelling out: “She lived happily for seven  years in this world”

Backpacks spelling out: “She lived happily for seven
years in this world”


As an idea of what he has done, he built a marvel, then disavowed it (the Bird’s Nest), he created a facade of backpacks outside a museum to represent the lost children who died in China’s major earthquake while back.  In his words:

The idea to use backpacks came from my visit to Sichuan after the earthquake in May 2008. During the earthquake many schools collapsed. Thousands of young students lost their lives, and you could see bags and study material everywhere. Then you realize individual life, media, and the lives of the students are serving very different purposes.  The lives of the students disappeared within the state propaganda, and very soon everybody will forget everything.

Most poignantly, he was detained and beaten by police in Chengdu after he had gone there to support a local activist Tan Zuoren (who was on trial for helping create a victim database for the aftermath of the earthquake) and snapped this photo of himself with cops in an elevator, which he shared across the internet:


That photo tapped into elusive, seductive themes.  Social media, a joke to its trollish inhabitants like Evgeny Morozov (whose skin in the game involves finding a new fellowship at a university to bum around in while writing a book attacking all the people who provided material for it).  The Chinese police, a symbol of ham-fisted authority.  The artist as a threat (with multiple police surrounding one unarmed artist).  Surveillance, cleverly used by Ai Weiwei to take videos of the police who tried to threaten him with video and photos.

It wasn’t being arrested by police that was rebellious or artistic — any fool in the US can get arrested these days just for acting like a jackass, and Ai Weiwei wasn’t even doing anything at the time.  It wasn’t some artistic stunt — Ai Weiwei, already known for art, was seeking the truth in recording names of those killed in the earthquake.  He…just sought the truth.

The reaction: he survived the altercation and had a choice response for the police.


The tragedy: almost no one knew this had all happened!  Even fellow art students.  I can barely comprehend this.  The disconnect is glaring.  You know, I’ve served my time.  I’ve reinvented myself to fit in to various communities, to take up their rituals and make them my own, to become a part of those communities, to care for them and to be cared for by them.

Artistic Voice

Now that I’m out of school, I feel like I’m freed from that need to try to catch up with what other people have done, and instead I should begin to forge my own artistic path, to be okay with creating things that no one understands.  My own temptation to believe that I should be trying to convince others has long before died as I realized it is certainly not my talent.  My dreams of grandeur have been tempered by failure, by meeting people far more intelligent and wise and wonderful and humanistic and charismatic and insightful than me, and by realizing that the best I can do is get my own affairs enough in order that I will have time to be able to help others — a project I’m still working strenuously on.  To these ends, I feel as though my bullshit filters are honed (filtering out the day-to-day nonsense in different industries while selecting the genuinely new and game-changing events) and I’ve become very good at understanding the people who are really pushing things to the edge — and I want to promote and encourage them to continue to contribute the beauty to the world that they so wonderfully create.

I suppose I just wish that people would have a more understanding perspective of the world — understanding peoples’ motivations for doing things, understanding the reasons for why traditions or events came to pass, understanding the chaos as well as the order.  What I see is not a lot of understanding, compassion, or sympathy in the world, but a whole lot of laziness.  It’s toxic, and it leads to people being able and thinking it only natural to take advantage of others — in a world where we wish and idealize that people would help each other instead.

I also wish that people would understand that when they claim to want to know the truth — whether it’s about government spying or whatever — what they often only want is the drama behind popular exposure of the truth, when perhaps the truth was out there in the open for them to avoid and ignore for years beforehand.  A critical look at “truth” involves, most importantly, a critical look at oneself and how much one will put on the line in order to accept that truth.

Opening Up Galapag.us for Alpha

My thesis project for NYU-ITP has been Galapag.us, a tribe and ecosystem for promoting the idea that we should be radically open and transparent with our data so that we can form and share metrics to measure our progress and success in different areas of our lives.  More info at the front page of Galapag.us.

User Zero

I came up with the idea in 2006.  An email I sent to my Army buddy in April, 2006:

I sort of had an idea but it seems like it’ll be difficult to build out.  My idea would be for something similar to Xbox Live’s ranking system.  Except it’s for your life.  Privacy issues aside, people would volunteer to put in as much personal info as they want.  At first it might seem cumbersome putting in so much info but I think as myspace and other services have shown, people are willing to do it if it means it cultivates their identity.

So for instance you put in your income and number of kids and connect your accounts for online game rankings (like in Halo or Battlefield 2) and your exercise plan and your birthdate and your finances and investments and how many web sites you’re on (like myspace, digg, yahoo, etc.) and from all that data, the company would generate statistics that break down your life and give you info about how much time you spend on certain tasks, how efficient you are with your money, what your online reputation is.  Stuff like that.  The core would be statistics…anonymous statistics I think so people won’t have any incentive to forge their results.  The point would be to turn peoples’ lives into a numeric game where they can see how they rate in certain aspects of their lives.  Think of all those online quizzes people take about what kind of lover they are or what their personality is.  That could be tabulated into the statistics, which could be searchable or broke down any way the person wanted.

At the end of a year, we could look internally at our statistics and go visit the top overall people in person to go verify their data and videotape their lives, interview them.  Then a winner would be announced…like the best person award.  Heh…there’d be so much controversy and whining and competition if it caught on.  Then we could write a book about our experiences going out and discovering what makes someone “the best” compared to everyone else.

So…that’s my idea so far.  Sort of like a real-life RPG.  Perhaps we could offer points for real-world scavenger hunts or traveling to different countries around the globe.  What about having life coaches for certain segments, if someone was weak in an area like professional development?  I was thinking we could also offer points for accomplishing certain tasks like humanitarian work.

A lot of stuff happened in the meantime: I got out of the Army, went to study foreign policy in DC, worked for Homeland Security, moved to NYC for school.  And so now I’m wrapping up the thesis, which allowed me more than a semester to work just about full-time (including any waking moment) on trying to make Galapag.us a reality before I can either A) get funding or B) get an engineer/developer job after school.

So I present Galapag.us for thesis on May 15 at NYU.  I have two weeks still to work on it before then.  I think I’ve gotten it to a point where I can start letting alpha testers in to explore, and think about it.  My work log has been tracked on the thesis blog.

Beginning Alpha Testing with Thesis

Want to help alpha test or just look around?  Give it a try at https://galapag.us/login and see what you think!

Here’s the slide deck I’ll be presenting at thesis:


  • Amazon EC2 small instance with ubuntu
  • node.js/express.js: So easy to build a site using this framework.
  • varnish/nginx+ngx_pagespeed: Caching, run-time optimizations for faster page loads/downloads.  Routes to https and socket.io server too.
  • python scripts for maintaining server default state
  • celery for queuing
  • redis for temporary data dumps and lookups
  • mongodb for permanent data storage
  • angularjs for the comment system
  • mocha, unittest, qunit for unit testing in python and javascript


I know the site’s confusing — like an airplane pilot dashboard.  It’ll become more cohesive over time.  A lot of things aren’t quite working yet, or they have filler data to get them going.  Apologies for that.  For more familiarization, try the welcome demo.

But here are some features that are worth checking out:

Comment System

Comments will be available for tribe forums, formula critiques, peoples’ profiles.  I decided to use angularjs so I could learn how to build SPAs with it!




By tracking individual data, one can also track internal company metrics and state-level happiness metrics too!



The Islands

Each island has its own weather, environment, and bonuses/penalties for certain user behavior, so it benefits you to live on the island that incorporates your style best.



Professions and Skills

What does it mean to be “good” at something? Are companies hiring the most qualified candidates? How do we standardize that?



Your Genome

A profile for your data.  You get reputation scores in different areas.  Those scores are determined by which formulas you choose to use.  You can also see your internet of things (devices, pets, objects) is on the bottom right, while you’ll also be able to create gaming characters using your own data.




You can complete quests within Galapag.us to gain experience.  Some tasks will be data-gardening for other people, some will be to introduce gaming elements, others will be to visit lesser-seen parts of the site.  But mostly the quests should be geared towards helping others.



Status Bar

I love github’s command bar. I want users to be able to do most everything through the search bar.



Tribes and Their Genomes

Tribes are important to our identities. formulas serve as their DNA.



Universal Reputation Lookup

The left-side widget can be opened on most pages to see what reputations the people named on them have.  I intend to allow people to look up reputations from just about anywhere.





Galapag.us will have an API to access one’s data, as well as common stats such as state population census results, zodiac signs, and global stats.  Plus a place to test the routes, within the sandbox:



So with all that, please go help alpha test at https://galapag.us/login to begin your exploration of identity and reputation.  Thanks, and come to the ITP Spring Show if you can!

A Trendsmap.com Look at the World

I like to do this periodically.  Sometimes you get more interesting results than other times.  This time I figured I’d do a quick and dirty stitching of the entire Trendsmap map.  In no way is it complete, but it’s still cool, and kinda beautiful. (click it to get the full-sized version)  More importantly, and this is the MSFSer in me, it’s kind of neat to see how tweets can be incredibly regional — even though I follow like 3k people on Twitter, almost none of them tweet in a foreign language or from non-western states.  It’s a reality check, at least a geographical one, if looking at Twitter can be seen as such.

I think there are some incorrectly geolocated keywords because I increased the browser size to 5k pixels across 3 screens and maybe the tag locations weren’t updated.

The Trendsmap blog also has some cool viz’s of world cities:


And less obvious:

The Coolest Stuff I’ve Seen While at NYU-ITP

Access to the latest info and tech is easy because of the internet now, but moving to NYC and going to an art/tech school in Manhattan (NYU-ITP) has pushed me even closer to the sources of ground-breaking stuff that eddies in github repos, IRC channels, and school projects before being cut loose to hackernews or reddit or the other nerd aggregators.

Here’s some shit that I’ve seen while at ITP that I thought was fucking awesome, not necessarily because it’s never been done before, but primarily because it’s so easy for any regular person to play with now.

Interactive Coding

From Dan Shiffman in his Nature of Code class, he passed along this link from Bret Victor‘s talk, “Inventing on Principle”.  In the lengthy vid (all of it worth watching), he shows real-time feedback for coding.  That is, if you change the logic in your code, you see how the variables change, in real-time:

He extended this to showing a circuit diagram timeline with sync’d waveforms and how the electrons and flow through the circuit as you change resistance and parts:

Then, he showed iPad swiping to change elements on an animation timeline, thus creating a sort of tangible real-time animation experimentation, seen below:

The benefit of this immediate feedback is that one can begin to play.  Instead of usual software development, which consists of planning ahead of time exactly how something should behave, and developing contingencies for when things go unexpectedly, this sort of format allows for someone to play with variables, such as the size of a character’s head, or the physics of a world, with immediate results.  This allows someone to fine-tune a world, or to test the bounds to see if unexpectedly fun behavior emerges from it.

This is more consistent with how an artist might try multiple things in order to fully flesh out a concept, instead of hoping to get lucky with it, or spending ages understanding the mechanics so well that the result is contrived.

Here’s the full version of Victor’s talk:

You can see an early application of this kind of coding mentality in, as an example, this indie game, Under the Ocean:


One of my classmates, now an ITP resident, Craig Protzel, was showing me some code he was working on with a professor, linking up heartbeat monitor-type data with a data viz timeseries graphing web site, showing real-time streaming of the data onto a line graph, with a backend of node.js and socket.io.

The best demo I could find of something similar to this is this Arduino board with two potentiometers streaming output via websockets and a Python script up to the web:

Here’s the implication.  The web has been fairly static since its inception.  Even when AJAX came and ushered in web 2.0, you were still doing with an active getter-type web.  Databases, bandwidth, and client browsers just couldn’t handle unrequested data coming in.  But now they can, what with the cloud, key-value stores like redis or AMQP, faster and bigger bandwidth pipes, etc.  The web is going to start looking more like a stream and less like a restaurant menu.

In my Redial class last semester, a lot of our final projects involved setting up an open-source Asterisk telephony server with a cheap phone number routed to an Ubuntu server instance in the cloud — that stack was all the same, but our applications were different: one team (Phil and Robbie) made a super-easy conference call service, another dude (Tony) made a multiplayer sequencer controlled by people dialing in and punching numbers on their keypads:

Server stacks are flattening in a sense — you can use any language you want to set up a server (Ruby Sinatra/Rails, JavaScript node.js, Python Flask), and then plug in extra services you need (database, key-store, admin tools, task and load balancers).  HTML5 and some degree of normalization on the browser side is allowing JavaScript to mature so that we have all these kickass visualization and interface libraries for making better user interfaces now, too, which can easily handle the structured data being thrown at it by all the stuff going on on the backend.

The last note is that you can now easily, with a little help from an Arduino and a network shield, control the digital world with analog sensors, or vice versa.


I read Daniel Suarez’s latest book “Kill Decision” (review here), in which a scientist is targeted because of her research into weaver ants, the most warlike species on Earth, being inspiration for algorithms for killer drone swarming behavior.  We’re living in an age of the dawn of drones, where the US has found it can cheaply deploy drones to kill and monitor the enemy, broken down into a bureaucracy of various levels of kill and targeting authorization.  We’ve all seen the videos of quadcopters acting together using simple rules.  It won’t be too long until law enforcement and federal agencies will be able to use drones domestically.  Drones are far more versatile, expendable, and cost-effective as overhead imagery.  Look at the quality on this RC with a GoPro camera attached:

Here was a “robokopter” sent up to monitor the police in Warsaw as they kept two hostile groups of marchers apart:

I can’t see how drones won’t be banned soon, but how will they enforce it?  Shoot down rogue drones?  Jam them?

Somewhat corny, but here’s FPSRussia using what seems to be a terribly unsafe quadcopter with a machine gun attached:

Suarez’s book takes its name from the idea that an unknown actor has built drones that target individuals, assassinate them, and self-destruct, without any instructions coming in after they’re released.  They destroy their own fingerprint and are mostly impervious to being jammed or tracked back to their makers.

All with fairly cheap parts.  It’s not the same thing as weaponizing, say, biological weapons, or building a big enough EMP, which I would imagine are two of security apparatuses’ biggest fears.  I’m kind of sad more people haven’t read Suarez’s books because they’re addressing pretty near-term implications of emerging tech.


I didn’t get to take this class, but Professor Kyle McDonald (whom I took for Glitch) had his students play with this new kickass software, FaceShift.  Check the demo:

Basically, you plug in a Kinect to your computer and spend half an hour mapping your facial expressions to the software.  Then it renders a model of your face, which you can then use to map any skin you want (say, another person’s face) onto it.  So quickly and easily you can do this.  Previously this sort of work was the domain of special effects studios and game development teams.  Now it’s downloadable, and you can buy a Kinect (or other similar cameras) to capture yourself.

Holy Grails That are Still Missing


Here’s what I wrote my buddy Chris after he showed me this upcoming product, the Autographer:

Problem with it is threefold:

  1. unproven, not much evidence of what it actually delivers
  2. angle is all wrong, you have to wear it on your purse (!) or on a lanyard, so it will jerk around, not stay right-side out, won’t have a good angle to see what’s important (even if it’s supposedly a 135 degree lens)
  3. the holy grail of something like this would be something that takes photos OF you, not FROM you
That last part is key.  If I could, I would build a little floating ball (think the trainer that Luke uses to practice with his lightsaber) that can take photos of you without you being aware of it, or posing for it.  Candid photos.  Those are the winning photos.  Not posed photos of people mugging for the camera.  Even having another person take the photos for you steals from the atmosphere — someone is actively choosing to become disengaged from the scene in order to take a photo of it.

It also means that photos of people and recording peoples’ lives has been primarily a solo adventure at this point.  Hence the phenomenon of mirror photos, the forward-facing camera (so you can see yourself and the person you’re with while you take the photo), etc.  Not so many people are lucky enough to A) want photos and B) have someone else who loves to take photos along with them at that time.  I have no awesome photos of Iraq as a result (and those that I took, as you know, got me in a shitload of photos…can’t even claim to have returned with anything beautiful from that hard-knocks lesson).  Maybe this also explains why photos of animals have done so well.  They are ignorant of us taking photos of them, and do their crazy animalistic shit with reckless abandon, and thus make excellent photo subjects.

Extend that to personal data collection (which is what Galapag.us will start off as) and it’s a somewhat isolating experience.  Who is going to follow you around and collect data on you?  You have to do it for yourself, or participate in activities that can be tracked automatically (marathons, online social networking sites, Fuelband, etc.).  Maybe social media whores (like me) became that way because that’s the cutting edge for living a quantified, recorded life.

Anyway, I think it’s pretty fascinating that among friends who are social users of online stuff, Facebook and Instagram are the key players (which is why Facebook paid $1bil for Instagram).  I love Twitter but very few casual users use it.  Pinterest is primarily women, fantasy leagues are men, etc.  But photos are HUGE.  Facebook knows it.  But we’re not even a third of the way towards reaching the full potential of capturing the human experience through a camera in my opinion.  The tech is not there yet.


The web is not very distributed or decentralized.  There is a myth of digital democracy.  When Amazon AWS has a hiccup, usually in its Virginia availability zone, half the American internet’s most popular sites go down.  The NSA and other countries’ intelligence agencies are up the telcos’ asses with eavesdropping, and sites are being shut down by ICE and the FBI.  Virtually the only site that has remained impervious to government attacks has been The Pirate Bay, which is constantly coming up with new ways to thwart efforts to shut it down, primarily through redundancy and distribution.  Torrenting has almost become a political act, even though it’s a resilient model for an unevenly distributed modern-day internet.

Social networks are walled gardens.  Twitter, a darling, was caught by the more traditional walled garden peloton, and is now locking down its data, after having, at one point, a role model API.

At some point we will have IPv6, which, thankfully after Windows has gone through some lengths to secure its OS, has been slow to roll out so far, but which will eventually allow any sensor, device, appliance, whatever to have its own internet-available unique ID, for better or for worse.

In Closing

Will be adding more to this periodically for a while; still got about 7 months or so left at ITP, plus there might be some stuff I overlooked.  What else do you think has been cool that you’ve seen lately?

Redial Final Project: Hermes Ordering System

In my Redial class, we learned about the dark arts of telephony in an age of digital, packets, and VOIP.  Once we learned the basics of operating in an Asterisk telephony server environment, we moved on to how to write scripts in Ruby, bash, whatever to interact with Asterisk during a phonecall.  We set up our own Rackspace servers loaded up with Asterisk and used our professor’s script to install needed software on its Ubuntu instance.  I’ve saved that script to add extra stuff when I’m setting up a new Ubuntu server from scratch.  Ubuntu basic literacy is now attained.

That part was fun enough, but it started to get interesting when our badass professor, Chris Kairalla, published some code to Github for interacting with a web front-end in JavaScript by using socket.io, node.js, and a Ruby-Asterisk Gateway Interface script interfacing with calls placed to Asterisk. That’s when the realm of ideas greatly opened up.  Real-time interaction with the phone dialpad to control a screen, an Arduino, robots, electric switches, whatever.  And with the explosion of JavaScript and Node.js, it couldn’t have come at a better time.

Here are the class notes:  http://www.itp-redial.com/class/

And the Github repo: https://github.com/itp-redial/

I set out with confidence, knowing I could use Professor Kairalla’s brilliant tinyphone code, which provided the framework to facilitate an incoming call into a caller object that one could manipulate in the web page DOM.

My idea was to build a bar or restaurant menu displayed on screens around a bar which would let customers place orders by just pressing digits on their phone, instead of waiting on waitstaff or having a gimmicky touchscreen or table screen.  The orders would be tied to someone’s phone number so paying for bills wouldn’t require the awkward splitting up of the bill, and customers would be able to use a very personal device to them, their own cellphone, to control interaction in the bar/restaurant.  Orders could be processed quickly, verified afterwards, and immediately incorporated into a database which could provide business intelligence in the form of statistics on food orders, frequencies, favorites for each customer, etc. All in a scalable, modular framework such as Node.js + Express.

Previous blog documentation: post #1.

Demo video:

Screenshots of some functionality:

Initially I figured I’d follow advice and build out the API first.  For that, I’d need an admin dashboard to perform CRUD operations to build up the menu.  I’m pretty tired of having to build out AJAX and menus to add, remove, edit, etc. so I’ve started building a Node.js app with all that stuff built-in, including JSON operations and other common usage events so I don’t have to keep testing it.  Anyway, I got my menu add functions working so I quickly started adding all my favorite Stellas, Dark & Stormies, Mojitos, etc.

Then I spent most of my development time building an interface that could only use the dialpad numbers 1-9, 0, *, and #.  Because I was fairly ill-versed with JavaScript still, I actually ended up refactoring my interface about three or four times, each time becoming more and more modular, using JavaScript objects which contained each “menu” (i.e. a beer menu that would point to each individual beer’s screen, which would pass to another object that would fill out a screen to let you order the beer) pushed into an interface that had no more than 8-9 choices.  Then the screen would have to have text displayed large enough to read, yet still accomodate perhaps 3-4 simultaneous callers at once.

var menuFoodObj = {
	name : "Food/Drinks Menu",
	upMenu : "Main",
	currentMenu : "Food",
	id : "",
	p : ["", "Beer", "Wine", "Liquor", "Non-Alcoholic Drinks", "Water", "Burger", "Specials", "Chips & Salsa"],
	pClick : ["", "Beer", "Wine", "Liquor", "Other", "Water", "Burger", "Specials", "Chips"]

By the end of the refactoring though, I had a really nice (but still a little soupy) interface of JavaScript objects being pushed into the DOM by jQuery.  I learned OO JavaScript pretty well although I didn’t understand fully how to create new objects and then properly make methods for objects (I was declaring new functions within objects).  Since I did most of the development and testing just using the web browser and mouseclicks, I was happy when all my refactoring allowed me to easily map a phone’s keypresses to the interface interactions using jQuery’s .triggerHandler event.  My code is still quite soupy though, and I think I’m about ready to learn backbone.js for injecting data from models into a static template — it would have been perfect for this type of project where the layout remains mostly the same but the data changes frequently.  I’m happy, though, that it was easy for me to instantiate new user objects (e.g. user[1] = new User();) for the 4 users that Hermes currently supports.

I actually ran into a weird problem after I’d hooked in caller keypresses, which I thought at first was within the DOM.  Keypresses from my softphone (I used Zoiper to connect via SIP) were happening twice and I thought the click event handler was being called twice in the DOM.  This did not occur on normal phone calls over, say, a cellphone.  Further inspection saw two keypresses coming across in Asterisk:

 <SIP/general_sip-000000ae>AGI Rx << WAIT FOR DIGIT -1
 <SIP/general_sip-000000ae>AGI Tx >> 200 result=50
 <SIP/general_sip-000000ae>AGI Tx >> 200 result=50

Prof. Kairalla found that we were actually picking up feedback on my laptop from the call being made over the software.  Once we muted my laptop, the audio wasn’t being sent to the Asterisk server, which had been detecting the extra audio as what it assumed was an extra keypress.

I added an option to check news headlines from Google News’ API, which has been deprecated so will probably disappear soon?  The other bad thing about this was that you can’t really link to the body of an article since 1) Google News just provides the link and the source’s weak abstract and 2) news sources are so proprietary about people stealing their content.  APIs always leave a bad taste in my mouth because they’re hamstrung from the outset.  Anyway, there’s a definite art to creating headlines, as I learned in my previous job covering the news cycle, and most headlines are expertly packed with relevant info, enough for you to get an idea of things just at a glance.

I also added features for sending drinks/orders to another table, to facilitate social interaction within the bar.  Trivia can be played as well, though it wasn’t built into a central system where scores are kept.  Right now it just tests a user’s response against the correct answer and then generates a random question.  Another feature added was to flirt with other tables and send them messages.

I used Flowroute, which was super easy to set up in my sip.conf and extensions.conf for Asterisk, using Flowroute’s web-based cheatsheets for config settings unique to my account.  Very nice set-up screens there.

emailjs and Twilio

To process orders (when someone wishes to buy a beer, but he hasn’t received it yet) and tabs (for delivered food/drinks), I took advantage of node.js’s awesome modules and found emailjs, which lets you package up a JS object and send it as an email via SMTP to, say, gmail.  So when a customer places an order in Hermes, the order is sent via email to the company for later verification.  Easy, piece of cake.  Can be used with any SMTP server you have an account on and that has permissions.

Then Prof. Kairalla mentioned that it would be great if a customer received a text message thanking them after they close their tab.  So I bought a phone number on Twilio ($1/mo) and used the Twilio SMS API to package up another JS object with the tab details, and then have it again email the company but also text msg the caller with his closed tab details.  I actually had some problems with this and didn’t like the available Node.js modules (because they didn’t include examples for SMS), but luckily I found Dustin McQuay’s godsend blog post in which he posts some easy node.js code as a sendSMS() function, which I used to get my Twilio SMSs working.  I then had further problems but I found out I had pasted in the wrong Twilio auth token, so once I re-checked that, it then worked!  I feel as though the auth token changed because I funded my Twilio account, changing it from a free account to a paid one, and changing the token.  I assume?  Anyway, too much time wasted on that…

I also got a fraud alert from my credit card after trying to fund my Twilio.  Apparently they get a lot of fraudulent credit card funds, which makes sense since I’m pretty sure telephony and stuff related to it are havens for people trying to commit fraud, fake identities, and game systems.  But my credit card company cleared my purchase and I was fine within minutes.  Just thought it was worth mentioning.


I demo’d this in class and had 4 people call in.  They quickly broke it, but it was mostly the display of each person’s menu on the page.  That’s an easy UI fix.  I also found that I would need to make each person’s number more clearly visible so he’d know which interface he’d be working on.  But I felt like people were very quickly navigating through the menus and would learn it fairly quickly once they figured out it was just using a phone dialpad.  One thing that broke the demo was that the bottom bar (telling you how to use ‘*’, ‘0’, and ‘#’) got pushed down so people couldn’t see it.  Big problem there!

This app works hand in hand, I think, with my other app, Karaoke Flow.  I would love to create products to make the bar/restaurant/club/concert/dance party/rave/big gathering experience more enjoyable for people looking to have a kickass time and more profitable for the businesses providing it to them.

And I’m blown away with what is possible now with socket.io and Node.js.  All these projects I’ve wanted to do, like a web-based MUD to hook into Galapag.us, real-time chat, real-time flowing data, it’s now possible.  Love it.  And Redial…what a great class.  It’s recaptured the mystique of phones before they went smartphone, the weirdness and coolness of the phonebooth which has become a portal in pop culture (Doctor Who, The Matrix, Danger Mouse), and the fun of messing with somewhat quirky and buggy technology after it’s fallen out of vogue.  And to see how easy it is to set up a Vonage-like system!


Over the break, I had some free time to build a quick site called AdjectApproval, a play on the phrase “abject disapproval”.  Instead of the connotation of something very sternly and harshly offensive, AdjectApproval plays on the phrase as finding approval and verification and identity using adjectives and descriptors.

When you go to AdjectApproval, you’re prompted with a list of descriptors and then must guess what you think those words are referring to.  Do they describe a person, a brand, a company, or what?  There is a hint button, which will give you the tribe and gender of the unknown object, if available.

If a set of adjectives seems to yield correct answers often, then we can assume that they’re more useful than a set that yields incorrect answers.  But then you should be able to add more adjectives if you guess wrong, and this should improve accuracy over time.

You can also look in the left column, where you can add your own people or things.  There’s a list of random current events names and personalities that you can enter adjectives for, as well.  If you click on “full list of descriptions” at the top, that page will show you everything that’s been added to the database.

Eventually I want to track which adjectives are used to describe men, women, and brands, and pull some natural language processing on that stuff.

Basically AdjectApproval was intended to experiment with the problem we have when we can’t remember someone’s name, or when we have to describe someone to someone else.  What words do we use to describe someone as efficiently as possible, so we’re not stuck explaining who the person is for twenty minutes?  What words would immediately cause someone to say, “OH!  You mean so-and-so!”?

I was also interested in this because, just as Galapag.us attempts to quantify and qualify peoples’ identities, I think there’s a massive disconnect between how people perceive themselves and how both those close to them, and complete strangers perceive them.  The measurement of the difference between these perceptions is the margin of error, or the variability of someone’s perceived character.  This margin can be used by some people to steal and lie and cheat.  This margin can also be the cause of severe insecurity of people in social settings, as they perceive everyone to be judging them, when in fact other people may not even be thinking about them at all.  This margin fascinates me.

In the course of building the small project, I realized that the most useful descriptors are often the most socially offensive.  This seems interesting because it suggests that we will censor our descriptions of the world if we are in company where it might offend.  Describing someone as “fat” or “anorexic” or “ugly” or “hook-nosed” or “cankles” is really offensive in most company, but it might cause someone, who knows which tribe or social group this person is a member of, to guess the right person immediately!  Would we be better-served if we were just brutally honest about our perspectives?  Or is this a price too large to bear compared to the benefits of social niceties?

I also learned that adjectives are too confining; we often can describe people in multiple ways: nicknames, profession, catchphrases, their favorite possessions, their familial links, names of things they’ve created, etc.  This seems to invite more of a vocabulary of marketing and branding, since you’re basically dealing with building a brand, or using something like the literary device of metonymy. (e.g. “The White House” as metonymy for the executive branch of the federal government, or for the President)

I built AdjectApproval using PHP, MySQL, jQuery, and jQueryUI.  It’s definitely not bug-free and I’m going to have to restructure the CSS and make it far more intuitive, with better guidance and feedback messages.  The styling is pretty poor and inconsistent.

Adding Processing Sketches to WordPress Posts

Since people have a lot of problems getting their Processing sketches to work when they try to post their work online, here’s a guide I made.

First off, I don’t use the Processing plugins for WordPress.  I know that some people do but I couldn’t get it to work.  Plus, I think using embed code from OpenProcessing.org is more consistent.

Next thing you need to know is that there are two key modes when you edit a WordPress post, “Visual” and “HTML”, tabs attached to the upper-right corner of this edit window. (see the purple)  Visual is the simple mode where you just type in your text and it will be automagically formatted for you.  But if you need to insert HTML markup or paste in Arduino or Processing raw code, you need to use HTML mode.

So if you switch to HTML mode, you will see non-formatted text in HTML format.  Go to where you want to paste your code (to document your work!) and then type

<PRE CLASS=”brush: java;”>

And then paste your code, with


after the code ends.  See the image above for an example of how it looks.

This will actually format your code into a fixed-width format, and it will also highlight your code to a specific language’s syntax rules, IF you have the Easy Google Syntax Highlighter plugin installed (which you can install via this site: http://wordpress.org/extend/plugins/easy-google-syntax-highlighter/ )  It’ll be an automatic install if you search for it via the “Add New” menu under “Plugins” on the left side of your administration menu and install it that way, instead of trying to go to the site and download the code to your host and then etc. etc.

Having the CLASS=”brush: java;” or CLASS=”brush: php;” or whatever will give you prettified code (and line numbers!) if you have the Easy Google Syntax Highlighter installed:

By the way, you’ll see I have Blackbird Pie and Viper’s Video Quicktags installed.  These let me embed YouTube and Vimeo videos just by pasting in the URL to the box that pops up after I click on the icons:

Blackbird Pie lets me display tweets just by entering in a tweet’s unique URL:

You’re not done yet.  You’ll have to make sure in your code that any left- and right- arrows (< & >) are translated into HTML entities first.  So < translates to &lt; and > translates to &gt; Don’t ask why for now.  It just prevents everything from getting cut off — probably a parser error.

So it’ll look like this in your HTML-mode:

If you don’t do this, then your code may get cut off/truncated once you post it.

Next you probably want to post your sketch.  I have found that OpenProcessing.org embedded code almost always works unless there’s some included extra library that you decided to use for your sketch.

OpenProcessing.org has a pretty helpful interface to help you upload your applet.  So yes, you will have to export from Processing in “Standard” mode first, in order to get an “applet” folder.

Then go to http://www.openprocessing.org/visuals/uploadVisual.php to upload your code.

You’ll see instructions to compress your “applet” folder, which won’t exist until you export it in “Standard” mode from within Processing.

In OS X, you just right click the “applet” folder and “Compress “applet””, which will create an “applet.zip” file.  This is what OpenProcessing.org is looking for.

Once you upload (and name your project), you’re not done yet!  You will be taken to a verification screen to check if your Processing sketch actually works:

You must verify by clicking on the button in green in order for your upload to be complete and so people can find your sketch. Also, don’t link to the verification page — link to the resultant project page.

Then your project page will have a button where you can get the embed code for the sketch, which you can paste in HTML-mode into WordPress.  However, I would recommend if you want faster load time for your blog post that you only link to the OpenProcessing.org sketch instead of embedding it, because when people try to read your blog, their browser will have to load your Java applet as well — this can bog down a system, especially if your blog displays several sketches at a time.  One way to reduce this problem is to use the “More” button in your WordPress post editor (see the blue below):

This will, on the main blog page, only display the part of the post above the “More” tag.  Someone will have to click to go to the full post in order to see the rest.  But this is good for hiding lengthy code or videos or Java that will slow down someone’s load time.

Let me know if there’s anything I should add to this guide.

Public Transit Adds Data Points

Here in DC, WMATA (Washington Metro Area Transit Authority) has started putting up signs at all its bus stops that have a unique stop number on them.

wmataWhat this number symbolizes is a unique ID that riders and WMATA operators can use to point to an exact location and stop.

As you can see from the sign, it’s not exactly intuitive what this number is for, but you can call that number and tell the system the unique stop ID and it would tell you when the next bus is coming.

More useful is that WMATA has put up a mobile version of the same functionality at http://www.wmata.com/mobile/ which allows you to go on your iPhone or whatever and type in the stop # to find out when the next bus is coming.

This app also lets you check when the next trains are coming on the Metro, once you’ve entered the station.

But I think there are some interesting applications more on the bus side, what with WMATA having to add the pictured signs to ALL of its bus stops.  This is no small number; according to Wikipedia, that number is 12,301 total bus stops.

It will take some time for WMATA to get signs on some of the lesser-traveled stops, but I’ve noticed that a lot of the work’s already been done as I travel around town.

That means there are now 12,301 new data points (maybe not new to WMATA’s internal logs, but certainly new to us) that could be used.  Right now, people can’t interact actively with those data points.

But I could imagine that if the data points were all mapped onto Google Maps or OpenStreetMap, then interesting things would begin to emerge, e.g. emergency responders could be told that there’s an injured person at that location.

This might be done by turning the bus stops into communication posts:  the sign itself could be connected to a WiMAX network and thus displays the next-bus time without you having to look it up.  But it could also allow for emergency requests, or you could touch your phone or an RFID-enabled device to it to get more information on whatever was needed; this information would be primarily localized, like where the nearest convenience or grocery store was, etc.  This would make up for a lot of the shortcomings that still exist in being able to use the GPS/triangulation on your phone but still not having any context on your map that’s meaningful beyond what cross-streets you’re at.

New York supposedly is about to try out its own version of having next-bus displays at bus stops, according to the NY Times.  It’s not entirely clear to me what their technology is although they claim it is some sort of “mesh network technology” which to me sounds like it’d be fraught with errors and lost coverage.

The new data points could be used in different applications:  you could check in to FourSquare from them as you travel around town, playing its social game.  If WMATA played ball and opened up the data, you could calculate total hits on a station by a bus over a year.  Even more interesting would be if you could see how many people were on each bus, to see how congested things are over time (I can already see privacy zealots complaining about that).  How about figuring out overall transit times for Metro users?

What else could we do with this stuff?