关于在mt中显示最新评论的

如何在mt中显示最新评论,官方给的代码是
 
<MTComments lastn="6" sort_order="descend">
<p><$MTCommentAuthor$> said:<br />
<$MTCommentBody$></p>
</MTComments>
 
但是,这样的话,是没有链接的,效果不好。
我修改之后的是
 
<div>
<h2 class="module-header">Recent Comments</h2>
<MTEntries lastn="***">
<MTComments lastn="10" sort_order="descend">
<div id="c<$MTCommentID$>">
<ul class="module-list">
<li class="module-list-item">
<a href="<$MTEntryPermalink$>#more">
<$MTCommentBody$></a>
</div>
</MTComments></MTEntries>
</MTEntryIfCommentsActive>
</li>
</ul>
</div>
 
似乎mtcomments 中参数lastn现在不起作用。
这里的问题就是,<mtcomments>,必须在<MTEntries></MTEntries> 中,而在这一段代码中,如果不给<MTEntries>制订lastn的数目,默认就为首页显示的文章数目。从而导致显示的评论是首页上出现的文章的评论
我的这段代码,只能够实现显示指定数目文章的所有评论,而不能显示指定数目的评论。
继续研究

Who is Melody Nelson?

Question
Who is Melody Nelson, and why is her name used as Movable Type’s default author?
 
Answer
The name comes from Serge Gainsbourg, a French singer-songwriter whose most influential work was a concept album titled Histoire de Melody Nelson (and based on the infamous novel Lolita).
 
The entire album is about the protagonist’s brief (and disturbing) relationship with a teenage English girl named Melody. He meets her when she’s riding her bicycle, and bumps into her with his Rolls. That begins a passionate but short love affair, which ends when Melody’s plane crashes and she dies.
 
Ben and Mena’s mutual love for this 1971 masterpiece was the inspiration for the default username and password for Movable Type.
 
(Bonus trivia: when they were first developing the system, they called it "Serge". Imagine the template tags: <SergeEntries>, <SergeComments>! Then Mena came up with "Movable Type", which we all think is a much better name.)
 
 

完全删除msn8的共享文件夹

上次写过怎么删除msn8在我的电脑中的共享文件夹,也就是使用
 
regsvr32 -u "C:Program FilesMSN Messengerfsshext.dll"
 
但这样下次启动之后,msn8会重新自动注册dll,共享文件夹又会出现,非常烦人。所以,还需要删除下面的键值,注意,黑色部分每台电脑不一样
 
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerMyComputerNameSpace{FC9FB64A-1EB2-4CCF-AF5E-1A497A9B5C2D}


ubuntu居然是google的?

看到这么一条新闻,吃惊阿
 
Google is preparing its own distribution of Linux for the desktop, in a possible bid to take on Microsoft in its core business – desktop software.
 
A version of the increasingly popular Ubuntu desktop Linux distribution, based on Debian and the Gnome desktop, it is known internally as ‘Goobuntu’.
 
Google has confirmed it is working on a desktop linux project called Goobuntu, but declined to supply further details, including what the project is for.
 
It’s possible that it’s just one of the toys Googleplex engineers play with on Fridays, when they get time off from buffing the search engine code or filtering out entries about Tiananmen Square.
 
It could be for wider deployments on the company’s own desktops, as an alternative to Microsoft, but still for internal use only.
 
But it’s possible Google plans to distribute it to the general public, as a free alternative to Windows.
 
Google has already demonstrated an interest in building a presence on the desktop. At CES Las Vegas this month, it announced the Google Pack, a collection of desktop software bundled together for easy downloading.
 
The pack includes many apps which compete directly with the Windows bundle, such as Google Talk, Google Desktop, Mozilla Firefox, the Trillian instant messenger client, RealPlayer, and Picasa photo management.
 
Going the whole hog and distributing a complete desktop software suite would merely be another step down the same path.
 
However, entering the desktop software world would be a huge step. Making Goobuntu as easy to use as XP will require a lot more development. It’s unlikely to be ready for showtime any time soon, and it’s possible Google itself hasn’t finalised where the project should go.
 
Whatever Google’s intentions, the input of Google engineers and developers, writing new features and fixing bugs, will be a huge boost to the Ubuntu project.
 
Ubuntu, funded by the South African internet multimillionaire and occasional cosmonaut Mark Shuttleworth, is already emerging as a leader in the desktop Linux world.
 
It has built considerable momentum in the Linux community, and is starting to appear more widely. Shuttleworth is seeking to persuade white-box PC manufacturers to start shipping machines with Ubuntu preinstalled.
 
It is top of the Distrowatch download chart, is installed on up to six million computers, and doubling every eight months, according to estimates from Shuttleworth’s company, Canonical.
 
It has spawned a number of different offshoots, including Xubuntu, Kubuntu and Edubuntu (for schools).
 
The word Ubuntu means "humanity to others" in several African languages, including Zulu and Xhosa. It’s one of the founding principles of post-apartheid South Africa. The origin of the word ‘Goobuntu’ is not clear, though it does not appear in online Zulu dictionaries.
 
The Goobuntu.com domain has been registered in the past couple of days, though presumably not by Google. It now redirects to a Cuban portal. Perhaps Google will have to think of a new name for the system before they launch it to the wider public. ®

我中了500万以后的24小时

        给彩票中心打十次电话确认彩票号码和领奖方式。结果:被彩票中心的小姐警告,再敢骚扰她就等着110来抓人。 
  给电视台打电话要感谢那位开奖的仁兄。结果:接线员小姐要我的联系方式,考虑再三没有给她。 
  给老妈打电话报喜。结果:老妈在电话那边叹气,这孩子,买彩票买疯了。 
  掐自己一下确定不是在做梦。结果:全身都被掐紫。 
  睡觉。结果:睡不着。 
  吃安眠药。结果:睡着了,但是做梦不止,反复梦到中了1000万。 
  起床。结果:起得太早,大骂奸商做假安眠药。 
  无事,给以前的女朋友打电话。结果:象往常一样被教育半小时,主题是象我这种人发财的机率和被流星砸到的机率哪一个大。 
  还是太早,看电视。结果:电视没有信号,还对着电视傻笑。 
  打的去领奖。结果:身上的钱不够,半路下车改乘公车。 
  路上接到老板电话,两年来第一次对老板说不,并说出自己的看法。结果:老板夸奖我思维活跃有创意。 
  在彩票中心,被昨天接电话的小姐听出声音。结果:她在赔礼道歉之余,向我介绍心理医生。 
  确认奖票为有效奖票。结果:抱着彩票中心主任痛哭,场面直比北京申奥成功。 
  办理交税手续。结果:听说要交100万,啊的一声,下巴臼。 
  有人询问是否愿意捐赠。结果:赶快闭上嘴,下巴臼不治而愈。 
  与银行业务员谈存款条件。结果:同意我取一万枚硬币数着玩。 
  接到399万元的存折。结果:浑身抖动,脸色苍白,有休克前兆,中心主任派人送我回家,不要我请他吃饭了。 
  想到老话——得意外之财要散财,于是出门找一百个乞丐一人给一元钱。结果:被7%的乞丐拒收,他们真没有职业道德。 
  在家里数硬币玩。结果:感觉自己象葛朗台。 
  接到前女友电话,她已经知道我被流星砸中了,声音象她18岁时那么温柔,我倒有些不习惯了。结果:挂电话,拔电话线。 
  把所有的硬币铺在床上然后躺上去,睡在钱堆里的感觉——真好。

qq越来越像病毒了

qq推出2004,会自动给用户安装虚拟打印机
qq上次出2005,自动修改用户的输入法,监视用户键盘输入;并增加了一个qqhook.dll
而现在的2006,似乎变本加厉,更加像病毒了
 
安装qq2006之后,会出现如下的症状:
 
其中含有一个QQPhoneHelper.dll这个文件在系统临时文件夹中生成一个临时文件?这个文件,在QQ退出后,也不会自动删除。
这个临时文件的名字是:~DFD.tmp (或者是随机生成~DF*.tmp)

其内容用Ultraedit查看是:
[QQHelper]
version=1.0.0.26
url=http://scdown.qq.com/download/QQPhoneHelper.dll
setupfile=QQPhoneHelper.dll

把QQPhoneHelper.dll这个文件改名或删除,在启动QQ后,这个文件会由http://scdown.qq.com/download/QQPhoneHelper.dll 自动下载并安装。

 
而对于这个dll,会在c盘根目录创建"~DTLog.txt"文件
跟踪了读入读出请求

9576 17:01:17 QQ.exe:1484 OPEN D:Program FilesTencentQQ2005QQPhoneHelper.dll SUCCESS Options: Open Access: Execute
29577 17:01:17 QQ.exe:1484 CLOSE D:Program FilesTencentQQ2005QQPhoneHelper.dll SUCCESS
29578 17:01:17 QQ.exe:1484 OPEN C:~DTLog.txt SUCCESS Options: OpenIf Access: All
29579 17:01:17 QQ.exe:1484 QUERY INFORMATION C:~DTLog.txt SUCCESS Length: 0
29580 17:01:17 QQ.exe:1484 QUERY INFORMATION C:~DTLog.txt SUCCESS Length: 0
29581 17:01:17 QQ.exe:1484 QUERY INFORMATION C:~DTLog.txt SUCCESS Length: 0
29582 17:01:17 QQ.exe:1484 WRITE C:~DTLog.txt SUCCESS Offset: 0 Length: 30
29583 17:01:17 QQ.exe:1484 CLOSE C:~DTLog.txt SUCCESS