The Imaginative Universal

Studies in Virtual Phenomenology -- by @jamesashley, Kinect MVP and author

The Javascript Cafeteria

cafeteria, 1950

The Nobel laureate and author Isaac Bashevis Singer tells an anecdote about his early days in America and his first encounter with an American style cafeteria.  He saw lots of people walking around with trays of food but none of them paid him any attention.  He thought that this must be the world’s most devilish restaurant, full of waiters but none willing to seat him.

The current world of javascript libraries seems like that sometimes.  New libraries pop up all the time and the ones you might have used a few months ago have become obsolete while you had your back turned.  Additionally you have to find a way to pick through the dim sum cart of libraries to find the complete set you want to consume. 

But maybe dim sum cart is also a poor metaphor since you can get in trouble that way, trying to combine things that do the same thing like knockout and backbone, or angular and mvc (<—that was a joke! but not really).  It’s actually more like a prix fixe menu where you pick one item from the list of appetizers, one from the main courses and finally one from deserts.

This may seem a lot like the problem of the firehose of technology but there is a difference and a silver lining.  It used to be that if you didn’t jump on a technology when it first came out (and there was a bit of a gamble to this, as witnessed by the devs who jumped on Silverlight – mea culpa) you would just fall behind and have a very hard time ever becoming an expert.  In the contemporary web dev climate, you can actually wait a little longer and that library you never got around to learning will just disappear. 

Even better, if a library has already been out for a few months, you can simply strategically ignore it and pick the one that came out last week.  The impostor syndrome epidemic (seriously, it’s like a nightmare version of Spartacus with everyone coming forward and insisting they feel like a phony – man up, dawg) goes away since anyone, even the retiring Visual Cobol developer, can become an expert living on the bleeding edge with just a little bit of Adderall assisted concentration.  True, it also means each of us is now competing with precocious 16 year olds for salaries, but such is the way of things.

Obviously we can take for granted that we are using JSON rather than XML for transport, and REST rather than SOAP for calls.  XML and SOAP are like going to a restaurant and finding that the chef is still adding fried eggs or kale to his dishes – or even foam of asparagus. 

moto, chicago

Just choose one item from column A, then another from column B, and so on.  I can’t give you any advice – who has time to actually evaluate these libraries before they become obsolete.  You’ll have to just do a google search like everyone else and see what Jim-Bob or cyberdev2000 thinks about it – kindof like relying on Yelp to plck a restaurant.  Arrows below indicate provenance.

Appetizers (javscript libraries):

Corso Secundo (visual effects):
jquery ui – – -> jquery
bootstrap – – -> jquery – -> prototype

Soups and Salads (utility libraries):
Lo-Dash – -> underscore


Amuse Bouche (templating):
handlebars.js -> {{mustache}}

Main Courses (model binding frameworks):
backbone.js -> underscore
ember.js -> handlebars.js
marionette.js -> backbone.js

Wine Pairings (network libraries):
edge.js -> node.js

bower -> node.js

Desserts (polyfills):
Mozilla Brick

Actually, I can help a little.  If you ask today’s waiter to surprise you (and we’re talking July of 2014 here), he’d probably bring you Jquery, Lo-Dash, Angularjs, Go, bower, modernizr.  YMMV.

The Open Office and Panopticism

open office plan

The magazine Fast Company has recently been on a tear critiquing the modern “open office” design ubiquitous in white collar businesses.  Several studies have found that marginal improvements in communication are offset by stress and productivity loss due to noise and lack of privacy.  Satisfaction levels for people who work in offices with doors that close are significantly higher.

How did we get to this place?  Open office plans arose sometime in the late 90’s as a response to the jokes about cubicle culture and densification which dehumanized the office worker while squeezing every  square footage out of usable office space. Open plans were intended to be more humanizing and to encourage social interactions, bringing the serendipity of water cooler conversation to the worker’s desk simply by lowering the height of cubicle walls and introducing a few plants.

Cubicles, in their turn, were also once seen as a humanizing and egalitarian effort.  Instead of low-valued employees being doubled or tripled up in fluorescent-lighted rooms while high-valued employees got more desirable windowed private offices, cubicles broke down the divide and gave more or less the same amount of space to middle managers as well as the people under them (corner offices still go to executives).  Moreover, to the extent that metaphors make up the furniture of our minds, we collectively moved away from the notion of smoky closed rooms as the space where decisions were made and generally redesigned our workspaces to emphasize transparency and equality.

This general trend towards greater and greater openness is captured in the name: “open office”.  Like some dystopic novel or Orwellian word game, we have somehow been placed in a position of seeking out and realizing our own discontent.  With only a little exaggeration, it resembles Michel Foucault’s notion of fascism as a force the leads us “to desire the very thing that dominates and exploits us.”  Fortunately for us, we’re only talking here about furniture fascism and it’s only middle- and upper middle-class white collar workers who are standing in for the exploited masses.

Even office workers have the right to have Foucault speak for them, however.  Were Foucault to perform a genealogical \ archeological analysis of the problematic of the contemporary open plan office, it might go something like this:

The initial move involved a misdirection concerned with repression.  Middle managers were seen as repressing their employees with a feudal style architecture that crowded office workers into shared spaces while they were allowed the luxury of having their own space.  Because of the preponderance of this repressive hypothesis, the ur-father from Freud’s Civilization and Its Discontents, now embodied in the middle-manager, could only be brought down by giving everyone her own version of the manager’s office: the modern cubicle.

There are two sides to these sorts of power dynamics, though.  On their side, managers were driven to the new office plans by their own bad conscience and desire not to be seen as authoritarian figures – they, as much as anyone else, bought into the repressive hypothesis.  On the other hand, bureaucratic movement requires expediency and expertise to justify change – this was provided by consultants more than happy to explain the cost-cutting that would be afforded by replacing office walls with removable cubicle walls.  On top of this, they touted the benefits of being able to put up new cubicles or remove old ones in response to fluctuations in the workforce.


The argument from economic necessity led to something Scott Adams, the creator of Dilbert, identified as “densification.”  Over time and as if by a natural law, cubicles became increasingly smaller.  Because the change was gradual it was difficult to notice.  Nevertheless, the cost savings produced by “densification” – a cost savings eerily reminiscent of Marx’s analysis of surplus value – could be touted each quarter as middle managers and executives justified their own value to the company. 

When employees began to complain more regularly about densification as they stood around the water cooler, it was quickly observed that through a trompe l'oeil.  The gradual densification could no longer be plausibly denied once cubicle walls had reached the point where they were taller than they were wide.  This awareness of densification, it was discovered, could be resolved by simply making the walls shorter and consequently making the perspectival distortion caused by densification less obvious.  All one had to do then was bring in a few architects to pretty things up and provide an aesthetic explanation for the changes.

Hence was born the movement toward greater openness and collaboration – as well as the eventual removal of water coolers.  As by products of this transition, we also saw the introduction of headphones into the workplace, the rise of music players, the increase in the fortunes of Apple, the proliferation of online music streaming services and eventually the necessity of workplace broadband, now considered in some circles a human right,  to pump all this music into our headphones to drown out the conversations of our neighbors in the open office.

What caused all this to happen?  Recall that for Foucault the repressive hypothesis is at best false and at worse a misdirection.  Management did not get together and plan out a way to decrease productivity in exchange for less expensive office space – all while convincing workers that the workers were getting one over on management by being allowed to spend more time talking and avoiding hearing other people talking rather than working.

orderly rows

Instead Foucault identifies a general trend toward scientific regularity and the privileging of visual metaphors he identifies as the “empire of the gaze” and, eventually, “panopticism”.  Let’s try to make this plausible and show how it is relevant to the rise of the open office.

In his book Discipline and Punish, Foucault introduces the notion that modern civilization, built on firm scientific principles, has had regulation and observation built into it on a cultural level.  As an example, he cites the development of geometrical plans for the laying out of military camps starting in the 17th century.  Military manuals from that time spell out explicitly how camps were to be laid out, how far tents needed to be from one another, how high they must be, etc.  The goal of these standardized layouts was to make the entire camp visible and an easy object of surveillance from a given point of view.  More importantly, soldiers were made to know, by the layout of the camps that they themselves built, that their conduct was being observed by their superiors and that they needed to fall in line, so to speak.

“For a long time this model of the camp, or at least its underlying principle, was found in urban development, in the construction of working-class housing estates, hospitals, asylums, prisons, schools: the spatial ‘nesting’ of hierarchized surveillance … The camp was to the rather shameful art of surveillance what the dark room was to the great science of optics.

“A whole problematic then develops: that of an architecture that is no longer built simply to be seen (as with the ostentation of palaces), or to observe  the external space (cf. the geometry of fortresses), but to permit an internal, articulated and detailed control – to render visible those who are inside it; in more general terms, an architecture that would operate to transform individuals: to act on those it shelters, to provide a hold on their conduct, to carry the effects of power right to them, to make it possible to know them, to alter them.”

The fault in each of these geometries is the point of view required to perform surveillance.  It is a weakness in the system that constantly draws attention to itself as the observer.  When a soldier in the camp knows who is observing him – that is, whose opinion matters most – he can choose to be obsequious to his officer, to buddy up to his officer, to flatter him, to bribe him, and in other ways undermine the surveillance culture that is being developed.  In this sort of scenario, the soldier merely has to “act” as if he is behaving and only when he thinks someone is watching; whereas the true goal of a surveillance culture is to mold people to behave well all the time and to do this sincerely rather merely as an act.


Foucault finds the architectural fulfillment of this managerial vision in something known as the Panopticon.  The Panopticon is a concept for a prison designed by Jeremy Bentham, the father of utilitarianism.  The idea behind it was to have a prison designed in a ring so that every prisoner was constantly being observed by other prisoners.  Additionally, there was a tower in the center of the ring that provided the only privacy available in the prison layout.  The tower housed guards, but inmates could never be sure how many were watching them at any time.  What is important in the design is that prisoners always feel as if they are being watched.  Under constant surveillance of this sort, it was hoped, would cause prisoners to behave morally and hence undergo rehabilitation through self-discipline as well as punishment.  The Panopticon would put them on their best behavior.

How does this apply to the open office?  Just as there are design patterns in architecture – patterns that repeat themselves to the point that technicians can use them as guides for architectural design – there are also patterns in civilization.  These patterns mark epochs in culture. Thomas Kuhn, when discussing scientific revolutions, called them “paradigms” – from which we get the overused term “paradigm shift” that, technically, describes the transitions between scientific epochs.

For Foucault, the cultural epoch we are currently living through is ultimately one guided by the notion of surveillance.  Surveillance patterns inform our managerial practices as well as our modes of self-governance as a nation, our architecture as well as how we do interior decorating, our city planning as well as how we raise our children.  Surveillance entertainment, more commonly known as “reality television”, is a media staple.  And of course, surveillance design patterns inform our office spaces.

In discussing living in a surveillance society, in this particular time and place, it feels overly heavy handed to even link to articles about Edward Snowden, WikiLeaks, NSA spying or project PRISM.   These are the design patterns of a world we have simply learned to accept as a matter of course.  It is worth reflecting, however, that Foucault worked through his insights on surveillance and panopticism in the 60’s and 70’s; Discipline and Punish, in which he laid out these observations, was published in 1975.

The picture at the top of this post is of the office I work in.  It is an open office plan.  There happen to be offices with doors for managers.  Their office walls, however, as well as their doors are made of glass.  This allows management to more easily observe us, just as it allows us to more easily watch management.  It is the fulfillment of panopticism because it has no area for guards whatsoever – everyone inhabits the empire of the gaze.

The greatest office design innovation here at work are the two tiny rooms designated for nursing mothers.  They are the most used spaces – not because we have that many nursing mothers but rather because they are the only places in the office where people can hide.  This requires correction.

One Thumb Drive To Rule Them All


I currently have an HTC 8X windows phone on my desk which I think is one of the best smartphones on the market.  I also have a Surface tablet.   I have a fascinating little device called a Leap Motion sitting on my desk that detects finger gestures.  I also have three Kinect for Windows sensors arrayed around my desk in order to capture images from multiple directions, bullet time style.

The thing that is most precious to me, however, is the 16 Gig Lexar jump drive someone bought for my dev/design group.  It is the fastest USB flash drive currently available.  When I described it to my wife, she said she didn’t realize that thumb drives came in different speeds.  After thinking it over, I realized that before using the Lexar, I hadn’t realized it either.

Or to be more accurate, I realized vaguely in my lizard brain that some thumb drives are slower than others, but I had no idea that some were faster than others.

And above all the fast thumb drives, there’s the Lexar, which feels like it is instantaneous.  For example, a colleague recently needed a copy of Visual Studio 2012 while we were in Manhattan for a retail show.  I put the 1.5 Gig ISO on my Lexar jump drive and he brought his laptop to my hotel room to copy the file over.  He thought he could get the copying started, we’d go to dinner, and hopefully it would be done by the time dinner was over.  But practically before he’d even touched the Lexar to his USB port … ziiiiiiiiiiiiiiiiiip … it was over.  The ISO file was on his harddrive.

I have to admit that I now have a problem even letting someone else use the 16 Gig Lexar – even though it is communal property – because I’m not sure I’ll get it back.  People in our group are constantly asking for the plastic container where we keep our various jump drives … but of course we all know what they are really looking for is one of the two 16 Gig Lexars we own.  Honestly, it’s starting to be a problem, and I’m tempted to just throw these thumb drives into a volcano somewhere.  It causes nothing but friction and jealously on the team.

But at the same time, it is so beautiful and precious to me.  My colleague from New York was instantly won over and talked about the thumb drive for a half hour through dinner.  If you have a tech person you want to buy a nice present for – or if you are someone who needs a little self-care – treat yourself to something special.  They’re a little pricey, and even better than you can possibly imagine.