如何使用top

March 28, 2006

Tex和Presentation

March 26, 2006

在LaTeX里,可以使用一些package来写Presentation用的slides,可用的包有seminar,prosper,beamer,pdfslide+ppower4,pdfscreen。我用过Prosper,还不错,是从这里起步的。


ape+cue ripping

March 23, 2006

最近把以前积累的一些ape+cue格式的CD处理了,rip为mp3或者ogg,压缩设定是参考下面两个帖子:
lame
ogg
使用的格式转换工具是shntool和cuetools,一个简单的使用lame的例子如下:

#!/bin/sh
cuebreakpoints CDImage.cue | shnsplit -o wav CDImage.flac
lame-3.97 -V 2 --vbr-new split-track001.wav "`cueprint -t '%02n.%t.mp3\n' -n 1 CDImage.cue`"
lame-3.97 -V 2 --vbr-new split-track002.wav "`cueprint -t '%02n.%t.mp3\n' -n 2 CDImage.cue`"
lame-3.97 -V 2 --vbr-new split-track003.wav "`cueprint -t '%02n.%t.mp3\n' -n 3 CDImage.cue`"
lame-3.97 -V 2 --vbr-new split-track004.wav "`cueprint -t '%02n.%t.mp3\n' -n 4 CDImage.cue`"
lame-3.97 -V 2 --vbr-new split-track005.wav "`cueprint -t '%02n.%t.mp3\n' -n 5 CDImage.cue`"
lame-3.97 -V 2 --vbr-new split-track006.wav "`cueprint -t '%02n.%t.mp3\n' -n 6 CDImage.cue`"
lame-3.97 -V 2 --vbr-new split-track007.wav "`cueprint -t '%02n.%t.mp3\n' -n 7 CDImage.cue`"
lame-3.97 -V 2 --vbr-new split-track008.wav "`cueprint -t '%02n.%t.mp3\n' -n 8 CDImage.cue`"
lame-3.97 -V 2 --vbr-new split-track009.wav "`cueprint -t '%02n.%t.mp3\n' -n 9 CDImage.cue`"
lame-3.97 -V 2 --vbr-new split-track010.wav "`cueprint -t '%02n.%t.mp3\n' -n 10 CDImage.cue`"

如果是想压成ogg,相应更改一下:

oggenc2 -q 6 split-track001.wav -o "`cueprint -t '%02n.%t.ogg\n' -n 1 CDImage.cue`"

然后就是tagging,用非常方便,我是用的amarok 1.4beta2,也不错。


GCC4 Porting Guide

March 23, 2006

在苹果的开发者网站(ADC)上看到这篇文章,是关于从GCC3升级到GCC4的,值得一看。
http://developer.apple.com/releasenotes/DeveloperTools/GCC40PortingReleaseNotes/Articles/PortingToGCC.html


emacs on M$ windows with auctex

March 23, 2006

cvs version of emacs (22.0.50) with auctex 11.82
http://mirrors.ircam.fr/pub/gnu/alpha/gnu/auctex/


Quake on Linux

March 23, 2006

Linux下能玩的游戏不多,但我的最爱Quake系列就在其中,Q3和Q4都有很好的官方Linux包,如果要玩Q2或者Q1,一定要从这里开始:
http://qudos.quakedev.com/
http://icculus.org/quake2/
http://icculus.org/quake3/


Bayesian Estimation/Kalman Filter Libraries

March 8, 2006

网上搜了一下,找到两个,感觉第一个更专业一点(主观印象):
- Bayes++
- BFL