Thursday, September 6, 2007

Search the reader

Finally it is possible to search text in the feeds of Google Reader. It was one of its major lacks.

Tuesday, September 4, 2007

Experimenting with Trousers and the TPM

A couple of weeks ago I experimented a little bit with Trousers. For those who don't know, Trousers is an open source TSS... basically it is the software stack that you should use to pilot a TPM.

TSS (thus also Trousers) is based on the concept of Context and Objects.

A Context is similar to a session: usually one can create a Context, then he refers to the Context and when he finishes what he has to do, he destroys the Context.

Context deals with Objects that holds all the information needed by the TSS to interact with the TPM. Objects may be assigned with Flags that specify the type of the Object, its parameters and whatever is necessary.

Typically when a programs uses a TSS it should perform this operations:
  • Create a Context
  • Connect the Context to a TSS; the TSS may be local or remote
  • Create the Objects needed
  • Assign flags to the Objects
  • Call the functions needed to perform the operations
  • Destroy the Objects and close the Context
Ain't it easy? In the next posts I will give some examples and deal with some of the problems involved with Trousers.