Archive for March, 2008

Video Chat on N800

Posted in Uncategorized on March 18, 2008 by Ben

http://www.rahulnair.net/blog/2008/02/22/yet-another-video-chat-tutorial-for-the-nokia-n800-os2008/

Andre on Rails

Posted in Rails on March 16, 2008 by hungtruong


class AndreTheGiant < ActiveRecord::Base
  has_one :posse
end

SVN Poem

Posted in Rails with tags on March 14, 2008 by hungtruong

I just svn’ed up to revision 142
But nothing has changed;
There’s nothing that’s new.

Summary: Dey, Anind; Providing Architctural Support for Building Context-Aware Applications

Posted in lit review with tags , , , on March 13, 2008 by Perry

Dey’s doctoral dissertation provides a set of requirements for a context-aware framework, and discusses an implementation of such a framework: the Context Toolkit. (Sorry, didn’t read all of it)

Major contributions (from dissertation):

  • identification of a novel design process for building context-aware applications;
  • identification of requirements to support the building and evolution of context-aware applications,
    resulting in a conceptual framework that both “lowers the floor” (i.e. makes it easier for designers
    to build applications) and “raises the ceiling” (i.e. increases the ability of designers to build more
    sophisticated applications) in terms of providing this support;
  • two programming abstractions to facilitate the design of context-aware applications: the context
    component abstraction (including widgets, aggregators, interpreters and services) and the situation
    abstraction;
  • building of a variety of applications that cover a large portion of the design space for context-
    aware computing; and,
  • building of the Context Toolkit that supports the above requirements, design process and
    programming abstractions, allowing us and others to use it as a research testbed to investigate new
    problems in context-aware computing such as the situation programming abstraction and dealing
    with ambiguous context and controlling access to context.

Read more »

Minority Report Style Public Display

Posted in Uncategorized on March 11, 2008 by Ben

http://www.engadget.com/2008/03/11/minority-report-like-interface-gets-demoed-at-cebit/

We might need to rethink some things :-)

-Ben

Jabberwocky

Posted in Uncategorized with tags , , on March 10, 2008 by Perry

Jabberwocky

Not sure if we’ve covered this, but Intel’s Jabberwocky apperently lets you war-walk with your bluetooth cellphone.  It remembers who you’ve seen and at what time, so you can see if there’s a particular stranger who you encounter everyday.

I’m not sure if I would consider this to be an invasion of my privacy, since no single entity is persistently tracking me.  But if they uploaded this data and aggregated it…

Another weird rails problem: form values converted to NULL

Posted in Uncategorized with tags on March 9, 2008 by Perry

[edit]  Hung figured it out:  it was because script/generate scaffold used the wrong param:

if @user_interest.update_attributes(params[:user_interests])

and it’s all gravy again

Read more »

Remember to SVN add…

Posted in Uncategorized with tags on March 9, 2008 by Perry

i’m not completely sure, but i think svn doesn’t detect new files…you have to add them in yourself.

XMLRPC in Ruby: How?

Posted in Uncategorized with tags , , on March 8, 2008 by Perry

[edit] David made RESTful requests instead of using the XMLRPC, and it works nicely

here’s the test code:


1 require ‘net/http’
2 require ‘pp’ # pretty print
3 require ‘rubygems’
4 require ‘json’ # need to gem install this
5
6 url = ‘http://.com:60091/get_context?data=%7B%22x%22:20,%22y%22:20,% 22z%22:20%7D’
7 response = Net::HTTP.get_response(URI.parse(url))
8 case response
9 when Net::HTTPSuccess then data = response.body
10 when Net::HTTPRedirection then fetch(response['location'], limit - 1)
11 else
12 data.error!
13 end
14
15 result = JSON.parse(data) # the magic!
16
17 pp result

Read more »

Pervassive Privacy

Posted in Uncategorized on March 7, 2008 by Ben

How should pervasive privacy work?

1 scenario

3 sources.