Friday, January 1, 2010

Acer GameZone trick

Go to the installed path and click on the .exe files of the games to play. No time restriction. They are "green" programs, so you can make a copy of the whole folder, and uninstall them from the control panel.

Windows activation after upgrading harddrive or migration

If the online activation doesn't work, call MS to activate it by phone.

Chinese MUI for Windows XP

Can be easily found online. Also install the SP3 update, WMP MUI and IE8 MUI.

HP dv5t unknown device in Device manager in Windows 7

Install the HP smart protect software and it fixes the problem.

IguanaTex: installation and test

I tried to install IguanaTex on my new laptop but failed. There are two possible problems. The first is that the Temp folder can only be accessed with administrator privilege. The second is that there are packages missing in MikTex, and a pop-up window says "the object is not found". In this later case click the "interactive mode" when using IguanaTex and MikTex should be able to install the missing packages.

Monday, July 20, 2009

Confused by bibtex

Can anyone tell the differences between the two bibtex entries?

A.
@article{jiang_prl00,
author={X. Jiang and C. M. Soukoulis},
title={Time dependent theory for random lasers},
journal={Phys. Rev. Lett.},
volume={85},
year={2000},
pages={70-73} }

B.
@article{jiang_prl00,
author={X. Jiang and C. M. Soukoulis},
title={Time dependent theory for random lasers},
jornal={Phys. Rev. Lett.},
volume={85},
year={2000},
pages={70-73} }

Don't hesitate to protest since there is no difference! But when using the second one I miss the jornal name in the output dvi file. Can anyone kindly point out to me what was wrong?

Sunday, July 12, 2009

FT and FFT

I was thinking of using a spectral method to simplify our CF solver. Since the Fourier coefficients of the dielectric function on a ring of a micro-cavity (e.g. quadruple) is just a step function, the integral can be solved analytically (which means FAST!). But when reconstructing the dielectric function, the result is not as good as I expected: it has fast oscillations of small amplitude, which grows towards the edge of the step function. It doesn't improve much even when I increase M to be 1000. On the other hand, FFT seems to do much better job even with N=200. The difference between the original function and the reconstructed one differ by only 10^-15! But I need to think of a way to deal with the FFT of a product (n^2*\phi). If the angular momentum is cut off at M for \phi, the FT of the product needs the Fourier coefficients of (n^2) upto be 2*M. How to translate that into the FFT? Does it mean the spatial grid points for (n^2) needs to be twice as many of the CF state \phi? I will keep you updated in later posts. Now it is soccer time!