Scratchpad
Note: The Firefox related stuff now got its own page.
Z-Buffer-Fighting and Linux
Try the following
- Make sure Z-Buffer is explicitely enabled at the call to
glutInitDisplayMode(eg:glutInitDisplayMode( GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH);) - Invert normals
- Set Z-Buffer depth to 24bit
The "Nupsi"
If you have the problem of owning a notebook which doesn't come with a hardware mixer and therefore offers no possibility to make sure the sound is indeed muted, the Nupsi1) might be something for you.
- Take a 3.5mm headphone plug,
- saw off half of it, so that only a small, approx. 5-7mm high not-plug-part remains,
- fill it with hot glue (and paint the glue afterwards if you want to),
- and plug it into your headphone jack whenever you want to make sure that the sound is muted.
Sounds stupid, but works. Patent pending
Eclipse, JavaHL and Debian
For using the Subversive plugin with the JavaHL connector, add -Djava.library.path=/usr/lib/jni to your eclipse.ini.
"Invalid JAR" errors when using EclipseME
Found the following fix:
When trying to install my MIDP application generated with EclipseME on the Nokia phone I kept getting “Invalid JAR” errors. According to a post on eclipseme-users, this is due to EclipseME not including a vital piece of information in the JAD file. To fix it, simply open the generated JAD file with a text editor and add the following:
MIDlet-1: Classname,,packagename.Classname“Classname” should be the name of your MIDlet class, “packagename” should be the name of the package it’s in. After I added this line to the JAD it installed just fine.
http://workshop.evolutionzone.com/2007/07/06/carbidej-bad-eclipseme-good





