Friday, November 11, 2005

Real time OS

"Ten minute guide to RTOS"

http://ucos-ii.com/contents/support/downloads/an1004.pdf

Saturday, November 05, 2005

vtkPanel

Seems like the downloaded binaries (ver 4.2) doesn't include vtkCanvas and vtkPanel with the vtk.jar that comes with it. I got it to work by creating a new package called "vtk" and adding the two files in it within eclipse. Now I need to figure out how to remove the slow ass swing components that vtkPanel seems to use.


Update an existing JAR file by adding files or changing the manifest. For example,
jar uf foo.jar foo.class
would add the file foo.class to the existing JAR file foo.jar, and
jar umf manifest foo.jar
would update foo.jar's manifest with the information in manifest.

Wednesday, November 02, 2005

xml

Excellent excellent tutorial here.

XML. Yummy. Why use it? Lemme count the ways
  1. Data can be stored efficiently as text files
  2. Data is independent of hardware or software
  3. More applications can use the data

Tips
  • metadata (data about data) should be stored as attributes, and that data itself should be stored as elements.
  • A smart, standard, portable, memory-friendly, solution should be based on JAXP 1.1 + SAX.

Terms to understand -
  • DTD - The purpose of a DTD is to define the legal building blocks of an XML document. It defines the document structure with a list of legal elements. You can read more about DTD, and how to validate your XML documents in our DTD tutorial. A valid XML conforms to a DTD. Use XML schemas instead of DTD if you can coz they're richer, written in xml, and is extensivle!!
  • DOM
  • SAX - memory friendly method to serialize xml on the fly
Tutorials -

http://www.javazoom.net/services/newsletter/xmlgeneration.html