Archive for April, 2008

道听途说64bit

Monday, April 28th, 2008

Words from Diablo-D3:"you can feed ia32 to amd64/emt64 processors without something else translating it. but heres a secret: x86-64 isn't native either. they translate it into an internal RISC-like micro-op language. they just end up issuing more instructions for ia32 than they do x86-64 because there are no micro-op instructions for 32-bit stuff."

看好HTML5

Monday, April 28th, 2008

个人当然偏爱XHTML 2,但是只要想想现在有多少人用XHTML 1.1,这些人当中,多少人是把MIME type设为application/xhtml+xml而不是/text/html的,胜负就很明显了。

aptitude要有图形界面了

Monday, April 28th, 2008

aptitude的TUI其实很赞。可惜没有GUI。不过,Obey Arthur Liu计划做一个GTK+ GUI。希望这有利于更多的人使用aptitude。

抓虾的好看

Monday, April 28th, 2008

抓虾有个“好看”界面,模拟传统门户的效果。不知道什么时候gtalk会有插件模拟QQ秀的效果。

Muse的问题

Sunday, April 27th, 2008

Muse seems wonderful to me. However, currently, its generated XHTML code is invalid especially when you use a lot of literal tag to include raw XHTML tags. So, I still wrote XHTML manually (with nxml-mode). But I think Muse's generated XHTML code will be fine, if you wrote simple web pages. (That is, almost always using nothing except Muse's builtin markup.)

在vim中使用perl正则搜索

Sunday, April 27th, 2008

首先你的vim编译时是要支持perl的。然后

:perldo s/searchme/replaceme/g

就可以。

如果你的vim编译时不支持perl的。那你可以使用

:%!perl -pi -e 's/searchme/replaceme/'

无招胜有招

Sunday, April 27th, 2008
18:29 < iGoogle> fideas: 不折腾了吧。
18:29 < fideas> iGoogle: 配置了一会儿...以后再配
18:30 -!- myth [n=myth1111@58.40.126.1] has joined #ubuntu-cn
18:30 < iGoogle> fideas: 最终啊。是什么都不配,除开那些热键和鼠标定义。
18:30 < fideas> .......
18:30 < ncoder> 但是在compiling时出现错误:ERROR: Kernel modules did not compile
18:30 < fideas> iGoogle: 就你这闷骚,不配才怪
18:31 < ncoder> 不知大家能不能帮我看看是什么问题
18:31 < iGoogle> fideas: 我现在的桌面,就没东西了。
18:31 < fideas> ......
18:31 < fideas> 高手就是高手....
18:32 < fideas> 无剑胜有剑....
18:32 < fideas> iGoogle: 小心其他电脑都不会用了.....
18:34 < fideas> 偶..连快捷键都不敢多设了.....

以前iGoogle还说过:“你以为fvwm是配得好看的啊?其实是用得顺手。“

ff推荐iDesk

Sunday, April 27th, 2008
17:49 <@freeflying> iGoogle: openbox+idesk+fbpanel
17:51 <@freeflying> iGoogle: 那就idesk吧
17:51 <@freeflying> 这个很强

iDesk 的确不错。 任意命令绑定。 图片格式支持多。在桌面上放满快捷方式。(感觉像Windows了。)

不过,据说是有问题的。

18:29  weakish: 额,你认为idesk好?我记得可是有些bug的。

缩进写进语法和局部变量

Sunday, April 27th, 2008

不喜欢缩进写进语法和局部变量的iGoogle

17:38 < AutumnCat> iGoogle: python 方式很爽
17:38 < iGoogle> 等tab不强制了再说。
17:41 < fideas> iGoogle: 为什么找不到你FVWM的那个帖子了..
17:42 < AutumnCat> iGoogle: tab 强制是优点
17:42 < iGoogle> 雕。你别折腾了。
17:42 -!- U38075 [n=U38075@59.36.101.19] has quit ["CGI:IRC (Ping timeout)"]
17:42 < fideas> iGoogle: .....
17:42 < fideas> iGoogle: 不要打击新手
17:42 < iGoogle> AutumnCat: 估计是你被同化了而已。我习惯无拘束的C
17:43 < iGoogle> 你们谁相信雕会真的用fvwm?
17:43 -!- Bentusi [n=yysq@61.187.250.53] has quit [Client Quit]
17:43 < AutumnCat> iGoogle: C 的好习惯还是缩进的
17:43 < iGoogle> 可缩进,带入了语法,就不好了啊。
17:46 < iGoogle> 我习惯全局的。减少流程控制。
17:46 < fideas> iGoogle: 你的思维果然和人类不太一样啊

支持perl正则的grep

Sunday, April 27th, 2008

perl的正则真强大,用了以后再用grep常叹:“怎么这个不支持呢?”那,不如就用pcregrep吧。支持perl的正则的grep。