Categories
LiveWeb

Dating Game with Flash Media Server

Last week was my turn to work with a partner and present in Live Web. Seanita and I were assigned to use 2-way audio/video with the Flash Media Server. Our start was delayed due to some server issues, but when we met to brainstorm, several ideas came to mind. We decided to make a virtual version of the classic dating game tv show. Since neither of us had coding backgrounds, it was challenging, but we put in the hours to have a rough presentation ready, and Shawn was really supportive. We generated a contestant profile, as well as several web-pages using some PHP. There were screens for bachelors and audience members, as well as a voting mechanism that used AJAX to allow one bachelor to be selected by the audience. We decided the first bachelor to receive 50 votes would win the date. I put together a basic wireframe (pdf) of what the flow might look like in Omnigraffle. It was my first time using the tool, but it was smooth and perfect for what I was trying to represent. In the end, we needed more bandwidth or lower quality audio/video, a shared object to coordinate the audible element of the game, and more time overall to plan and execute. Overall, I got some confidence back in my ability to ad hoc code, rapid prototype, use a new tool, use flash, and work with a partner. Click to see the initial page for the game and an outline page.

Categories
RestOfYou

Log Environment: Snap-a-day 2

After saving the photos from my first attempt at snapping about a day’s worth of photos, I used the Open Image Sequence option in Quicktime to make a time-lapse video. I tried various frame rates, and found 10 fps to be a fair balance for me in this case. I added some audio with iMovie as well: Millenium from Outkasts’s ATLiens, because I was listening to this album for a good portion of the time while the camera was capturing images. Check it out below.
snap-a-day from ben yee on Vimeo.

My intentions moving forward would be:

  • repeat the process with higher resolution photos and shorter intervals, perhaps 1024×768 and an image every 5 seconds.
  • capture a day that includes more interesting content (i.e. beyond monitoring my laptop screen)
  • include an object that remains consistent for reference (see youtube example)
  • experiment with different angles
  • analyze scenes more carefully, noting the relationship between activity duration and level of happiness, interest, excitement…
  • insert music samples or sound effects to create a multi-layered story of sorts
  • continue ideation
Categories
RestOfYou

Log Environment: Snap-a-day 1

As of my last entry, the plan for the enviroment-logging-assignment has changed a bit. I’ve learned that Blackberry devices are relatively locked down, and therefore difficult to use for creative projects. Rather than trying to hack the Blackberry, a beautiful solution occurred to me — why not borrow a Symbian device and try loading an existing application readily available online. Smile. With some generosity from ITP, I now have an N95 in hand, with 8gb of memory already available (another 8 gb chip and ipod shuffle are on the way via dhl still). After some reading and tinkering, I’ve concluded that N series devices are pretty dope…free connection through wifi, Bluetooth giving easy access to the images. So, I installed an application called Snapper written by Markus Mertama. Super simple and free. I started the capture around 2 pm today, and I’m shooting 640×480, every 20 seconds, just above waist level. I’ve been sitting in front of my machine most of the day, working with this for an hour or two to get it going, but then moreso coding a little Dating Game Show project for LiveWeb. I’ll keep shooting pics tonight and then again tomorrow morning. So far, I have around 1000. This should be cool.

Categories
CraftingWithData

Reading: Exploratory Data Analysis (EDA)

John Tukey and other mathematicians worked to differentiate between modes of analysis in the 60’s and 70’s. EDA treats data as more than the support for existing knowledge; instead, data is viewed as a source of new ideas and hypotheses. Some key points when thining of EDA are below:

  • Skepticism joined by openness
  • Flexible, adaptable, risk-taking
  • Includes randomness
  • Smooth enough? Rough enough?
  • Analysis should begin with data not summaries
  • Stem-and-leaf (easy to construct by hand, shows numbers and shape)
  • Box-and-whisker (good for providing visual detail of outliers, tails)
  • Note in data: skewness, outliers, gaps, and multiple peaks
Categories
RestOfYou

Flow + Environment logging plan

Part of the assignment for the week is to read a study about American youth and flow/happiness here. I’ve read it through once and am about to give it a second pass in order to get a stronger understanding and opinion. At this point though, I recall the study to be engaging, but the method and the read itself to be semi-tedious…

2nd go: While some of the study seems to fall into the realm of common sense: “teenagers are happier when they do certain things (e.g. in leisure) than when they do others (e.g. study)”, it also introduces many interesting points of discussion. I found the excerpts below to be noteworthy.

  • Hope, optimism and the ability to experience flow can be learned and thus moderate one’s level of happiness (Csikszentmihalyi, 1997; Seligman, 2002).
  • Experience Sampling Method (ESM) … relies on subjects’ responses to an electronic pager that signals at random times during the waking hours of the day, yielding up to fifty measures of happiness at specific moments during an average week.
  • To measure whether a person was more likely to be in a Flow condition we calculated the percent of time spent in situations that were above the mean level of challenge and the mean level of skill at the same time. When a person was above the mean of skills but below mean challenge, the condition was considered conducive to Relaxation. High challenges and low skills were counted as Anxiety, and low challenges with low skills as Apathy.
  • Discussion from pages 196-198.

The other part of the assignment is to plan an environmental logger. The Logomatic and Logomatic v2 from Sparkfun seemed like the most simple solutions for the task but are currently out of stock. Fortunately, this misfortune caused me to take a closer look at several of the links from the class blog, including WayMarkr, Sensecam, UCLA, Biomapping, Off-the-shelf. So now I’m in a predicament: uncertain hardware plan and possibilities aiding my indecisive nature. I really just want a Sensecam… hopefully tomorrow’s class will give insite and I’ll still be able to get supplies soon enough.

A sidenote while looking at other sensors on Sparkfun and thinking about trusting my body as a sensor of sorts: So yes, we’re tracking our environment beyond our body, beyond what we see, smell, hear, feel, taste, (and remember), so as a humans, we are equipped with some pretty awesome physical “tools.” A thought entered my mind though, which is nothing new (ie the existence of a bio-tech industry), but I guess new to me — What if we could upgrade a component of our body in the same way we upgrade our devices? Corrective lenses, earpieces, etc aside, I’d like some more memory and a nicer internal filing system. Better battery life wouldn’t hurt either.

* I’ve decided to go with a Blackberry Pearl for my sensing device, which will take a days worth of time-lapse photography. I’m thinking of positioning it at waist level to give an idea of what a child would see. Power issue – check. Storage issue – to buy microSD card. Functionality – to research today.