Just found a cool link to install windows journal into win xp…
Author: phsamuel
tvtk conflict with compiz
I tried the following simple tvtk example but it kept hang my ubuntu 8.10 machine. #!/usr/bin/env python from enthought.tvtk.api import tvtk cs=tvtk.ConeSource(resolution=100) mapper=tvtk.PolyDataMapper(input=cs.output) actor=tvtk.Actor(mapper=mapper) #create a renderer: renderer=tvtk.Renderer() # create a render window and hand it the renderer render_window = tvtk.RenderWindow(size=(400,400)) render_window.add_renderer(renderer) #dreate interactor and hand it the render window # this handles mouse interaction…
ffmpeg and OpenCV
As of Oct 11, 2009, I reinstalled OpenCV and ffmpeg again on Ubuntu Jaunty. The previous installation procedure doesn’t seem to work. I can install OpenCV but it doesn’t cooperate happily with ffmpeg. I came across this wonderful guide and it more or less solves all my problems. Below repeats some of the steps described…
Embed all fonts
IEEE always requires authors to embed all fonts for the final pdf submission. After some googling, the commands that works for me under Ubuntu are dvips -Pdownload35 -t letter -G0 -o paper.ps paper.dvi ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true paper.ps paper.pdf If you have eps figures that are generated from matlab, most likely some fonts in…
Transferring Ubuntu to New Harddrive
My old harddrive had 60 G for my Ubuntu partition and the free space left was less than 2 G (and it is going fast). I figured it was time for me to find a bigger home for my Linux partition. I followed the Backup and Restore post but it missed out a couple simple…
OU linux vpn setup
OU recently acquired matlab for all students and faculty. However, to use at one, one needs to setup vpn. The defacto cisco vpn provided on the OU website is really dated. It doesn’t work with ubuntu unless one does some patches. I gave up after a few tries but instead I found one post mentioned…
Computer graphic course
I accidentally found a very interesting course from Berkeley today. The title is Mesh Generation and Geometry Processing in Graphics, Engineering, and Modeling by Jonathan Shewchuk.
Installing leJOS NXJ for Lego Mindstorm
I was trying to install leJOS to my Lego minstorm brick. I used ubuntu and got into trouble when I tried to flash the lego brick. I realized that the problem is that I didn’t have write permission to usb device. If I used sudo, I didn’t know how to export the environment variable NXJ_HOME….
Video stuff in Ubuntu
Switching to Linux means relearning of many old skills. I finally got DVD Decrypter working again. I first tried installing it in a guest XP under virtualbox but it doesn’t work very well. It does do ripping but the output is all messed up somehow. On the other hand, installing using wine goes quite well…
DNS problem of virtualbox
I wasted a couple hours today trying to figure out why my guest winxp has no connection. It is the third ubuntu machines that I have installed a virtualbox with a guest winxp. I am very satisfied with virtualbox. It is very fast and I can do almost anything I need for a window machine….