Wednesday, November 23, 2011

Processing - setup issues on 64bit Ubunut 11.04


I downloaded Processing and got this error message when I tried to run it:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/mindwave/processing-1.5.1/java/lib/i386/xawt/libmawt.so: libXtst.so.6: wrong ELF class: ELFCLASS64
 at java.lang.ClassLoader$NativeLibrary.load(Native Method)
 at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1699)
 at java.lang.Runtime.load0(Runtime.java:770)
 at java.lang.System.load(System.java:1003)
 at java.lang.ClassLoader$NativeLibrary.load(Native Method)
 at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1720)
 at java.lang.Runtime.loadLibrary0(Runtime.java:823)
 at java.lang.System.loadLibrary(System.java:1028)
 at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.awt.Toolkit.loadLibraries(Toolkit.java:1605)
 at java.awt.Toolkit.<clinit>(Toolkit.java:1627)
 at processing.app.Base.<clinit>(Base.java:445)
Could not find the main class: processing.app.Base.  Program will exit.


I am running Ubuntu 11.10 64 bit, and was attempting to run Processing 1.5.1 from this tarball: http://processing.googlecode.com/files/processing-1.5.1-linux.tgz


Bug tracker: http://code.google.com/p/processing/issues/detail?id=717

Tuesday, November 22, 2011

Puzzlebox Synapse setup, Ubuntu 11.10

Puzzlebox Synapse is a cross-platform interface between EEG headsets such as my new Mindwave and programs which might wish to use them. It also includes a data simulator and a GUI for looking at data being read from your headset. It sounds useful to me.
Puzzlebox Brainstorms, an Open Source software suite supporting school projects which help introduce students to basic neuroscience and brain-computer interfaces. 
Just in case anyone has problems installing Synapse on Ubuntu 11.10 Oneiric Ocelot, here they are. The project is under very active development, I'm told, so I'm sure these instructions won't be necessary

Thursday, November 17, 2011

Principal Component Analysis


This Primary Component Analysis (PCA) tutorial is great. I wish I had it a few semesters ago. For that matter it appears to contain an excellent complete replacement for the second year level course Statistics for Engineers which I took at the University of Victoria. My perception of this as a student who has already taken Statistics for Engineers may be unrealistic, of course, but I am certain it would have really come in handy last semester during Dr. Albu's Medical Image Processing course, in which I found that I strongly lacked statistically relevant problem solving skills. I am still working on developing them, and am enjoying the learning experience. Dr. Albu felt a need to reintroduced our class to some very basic statistical concepts, and I had no choice but to agree.