Xu Cui

 

   



564 Stories by Xu Cui

Adobe AIR 2 beta is out

Adobe AIR 2 beta is out last night (Nov 16, 2009). It includes a number of highly expected features including launching native applications. It also improves CPU/memory usages. Some sample applications include: http://labs.adobe.com/technologies/air2
0 20 sec read

How to create TIFF files

When you submit a manuscript, many journals ask you to send your figures in TIFF format with some requirements such as 300dpi, flattened, LZW compressed, etc. How to do that? My figures are usually finalized in MS PowerPoint. I don’t use PowerP
1 24 sec read

Winner take all in SVM?

updated: 2010/01/05, add plot of original data Assume our data contains two features and they are highly correlated (say, r>0.9). The 1st feature does slightly better than the 2nd one in classifying the data. The question is, is the weight of the
2 1 min read

Productivity Programs in my computer

My desktop computer in the lab is a Mac Pro. I also installed Windows XP on this computer through VMWare. Windows XP (and 7, now windows 10 64bit) major working environment, including manuscript writing, data analysis, preparing presentation etc MS W
0 1 min read

MatLab and Excel

I usually write MatLab scripts to parse the behavior data collected in a fMRI or NIRS experiment. It’s powerful and flexible. But as I have to do an Excel version recently, I found Excel has a great advantage — it’s easy to share wi
0 21 sec read

NativeApplication.nativeApplication.exit() doesn’t exit

If your AIR application needs to do something (e.g. saving some settings) before quitting, you may listen to the Event.EXITING event, and then preventDefault(), then do something, and finally call NativeApplication.nativeApplication.exit() to quit. B
6 31 sec read

Dell desktop computer problem

My dell computer (E510) doesn’t make my life easy: If I turn it off, I can’t turn it on easily. The yellow light is blinking but it just doesn’t turn on. After I turned it on with some complicated tricks months ago, I have always ke
2 34 sec read

AIR application is invisible with mx:Application

If you use mx:WindowedApplication, you won’t have this problem. If you use mx:Application, you may find your application is not visible after launching. Solution:  open your application description file (xxxx-app.xml) and change visible propert
0 8 sec read

Increase your virtual machine disk size in VMWare

Host OS: Mac Virtual machine: Windows XP Problem: You initially set the hard disk size to 20G. Later you find you need to increase the disk size to 100G. Solution: turn off your virtual machine and set the hard disk size to 100G. You don’t need
0 22 sec read