topics:  main-page   everything   99things   things-to-do   software   space   future   exercise & health   faith  
  thought   web   movies+TV   music   mymusic   food   curiosity   tidbits   I remember   wishlist   misc   links


This section lists all blog posts, regardless of topic.

Exercise 27: Visual feedback
October 17, 2008

Summary

Implement a class that, given a string, opens a full screen window with no title bar, a black background, and the given text displayed in white letters centered horizontally and vertically. The text should remain visible for 3 seconds and then the window should disappear.


Exercise 26: Web queries
October 17, 2008

Summary

To be useful, an in-house AI needs to be able to answer questions that involve getting data from the web.

At its base level, this will be handled as a linguistic transformation. For example:

what temperature is it outside? -> temperature()

A new mapping type called Programs will be defined, which will associate function names with their implementations. For example:

temperature -> Plato.Programs.Temperature.Query

Optionally, a DLL name can be specified:

temperature -> plato.dll: Plato.Programs.Temperature.Query

Arguments can be specified as well:

what's the current temperature in {city} ? -> city_temperature($1)

city_temperature -> Plato.Programs.Temperature.CityQuery

All arguments are of type string and consist of the entity's ID. The function return value is also a string.

Implement the Query and CityQuery functions mentioned here.


Exercise 25: Alternatives to far-field ASR
October 17, 2008

Summary

Although far-field ASR may be an ideal component of an in-house AI, current technology doesn't afford it as an option. This exercise is to determine a viable alternative.

Solution

A wireless microphone is a viable alternative to far-field ASR.

A Bluetooth headset is a good option in terms of cost, non-intrusive design, and range of operation.

older >>