6197 comments
2357 subscribers
Follow me on Twitter (@sachac)
Subscribe! Feed reader E-mail

Plywood boxes

By default, objects created in Second Life are plywood boxes. I’m not
really interested in learning how to making these cubes look like
anything in particular. I’m just interested in making them do cool
things. Someone else can put time and effort into making a replica of
a real-world object or a fantastic new device… I’m just here to play
around with programs. =)

Stephen Perelgut wanted a structured interviewer that collected data
in-world instead of requiring people to fill out a notecard or leave
Second Life and fill out a web-based form. So today, I built an
interview-bot which asks a series of questions and stores the answers.
Avatars can click on the bot to start, and can resume this
“conversation” at any time. Chatting on a separate channel means that
answers are reasonably private. The data is stored in the object and
can only be retrieved by the object’s owner.

In order to build this, I learned a little bit about how to work
around Second Life’s data limitations. You see, the Linden Scripting
Language doesn’t have multidimensional arrays. Fortunately,
LSLwiki.net has a library for accessing multidimensional arrays by
packing and unpacking lists of lists, encoded as strings. The library
is kludgey, but as long as my code looks relatively neat, everything’s
okay.

Future versions of this interview-bot will allow avatars to review,
change, and submit their answers through the Web or through e-mail. I
also hope to make it easy for owners to customize the list of
questions. A notecard would do nicely for setup. I can also make it
easy for owners to get a notecard of results.

It was fun programming the scripted object, and even more fun chatting
with the other IBMers. I met a number of interesting people today
thanks to awesome connectors like Andy Piper and Stephen Perelgut.
I can’t wait to build other interesting things in Second Life!

On Technorati: ,

Random Emacs symbol: planner-read-non-date-page – Function: Prompt for a page name that does not match `planner-date-regexp’.

Short URL: http://sachachua.com/blog/p/4313

On This Day...

  • 2012: No longer worried about flat tires — My bicycle’s rear wheel has a fast leak. I pumped it up this morning, and by the time I returned [...]
  • 2011: Rhetoric and advocacy: the value of a different approach — UPDATE: Changed the title from “the value of the right approach” to “the value of a different approach” – thanks [...]
  • 2010: Weekly review: Week ending August 1, 2010 — Work [X] Support upcoming workshops [X] Re-use Idea Lab results [X] Launch expertise pilot with SMEs [X] Explore possible expertise specialist [...]
  • 2008: Weekly review – week ending Aug 1-ish — This week was about mornings. I successfully switched over to an early-morning schedule, waking up at around 6 in order [...]
  • 2007: Can’t help but teach — Learning about learning was how I found out that attitude can make such a difference. In particular, the research on women [...]
  • 2006: I heart the Toronto Public Library — I can’t believe it took me a year to get around to making the most of the Toronto Public Library. I [...]
  • 2006: Pampering myself — Wednesdays are for catching my breath. I spent the evening pampering myself. I lathered my face and wiped the suds off with [...]
  • 2006: Meeting about courses — I met with Mark Chignell about the courses I should register for this term. He suggested signing up for all [...]
  • 2006: Cross-fertilization — I’d love to take a business-related course to round out my education and widen my network. If I can convince [...]
  • 2005: Casualty: portable umbrella — The trouble with me is that I can keep track of only two things at the same time. I’ve told myself [...]
  • 2005: Chicken adobo and rice — The clinking and clanking of plates and bric-a-brac could be heard clear across the room as I rummaged through the cupboards. “Are [...]
  • 2005: Toastmasters is fun — I attended another Toast I.T. meeting today. The table topic set by Natasha was a bit of a stretch for me. If [...]
  • 2005: Gah, my website doesn’t print properly — Print-outs lack pagebreaks. Is it a Firefox problem or a CSS problem? Any suggestions? On Technorati: website
  • 2005: Side Jobs — Keep track of your freelancing projects with Side Jobs, a free online service that helps you manage tasks and clients. Nice, clean interface [...]
  • 2005: In Case of Emergency — A popular e-mail forward urges people to make it easier for people to get in touch with your emergency contact just [...]
  • 2005: Lifehacking your groceries — One of the coolest things about having delicious:lifehacks in my inbox is turning up all the craziest lifehacking tips. Today’s treasure is about [...]
  • 2004: Japanese test — Whew! The AOTS Japanese test was a diagnostic exam to help them figure out what level we should start classes at [...]
  • 2003: Serg’s Tablea — Nice chocolate!
  • 2003: http://www.sweetcode.org
  • 2003: http://mygimmick.com — Filipino gimmick-place reviews.
  • 2003: Ran is looking for Revolution OS — I know someone in the Philippines has a copy. =)
  • 2003: Serg’s Cafe — Met Ran, Eric, Migs Paraz, Ver and William Yu at Serg’s Cafe. The shop has positive geek karma – two stuffed [...]
  • 2003: configure-debian — I think configure-debian needs a better front-end. A tree view of packages and a list of all the options, maybe…