Author: mmpower

Software Architect & Soccer Fan 黑超白袜 = IT 民工 + 摇滚大叔

【边听边聊】王磊和他的出门人

当年被广州音乐界力捧号称与老崔比肩的南方摇滚代表,风光无限;初听王磊的歌是差不多十多年前了,再次听到他的名字却是因为网络新名人木子美的日记。

他的音乐很真挚。 一个人对生活的态度难道不是音乐里所表达出来的?我困惑。

帖首他成名的出门人,歌词粗糙但是质朴感人,我喜欢。

出门人

随着流浪的人,我来的这个的城里。
夜深了漆黑的车站里,只有我自己。
一古心酸的落墨,我想哭不容易。
就象只怕自己没有勇气。
你现在要到那里去?你现在要去到那里?
夸奖你的朋友是否知道你经夜在哭泣。
走去了家的门,我寻找做人的真理。
忽上忽下的心,是否愿意与你共情。
家里人等着你,等你回到家里。
现在你回到家里,会不会更伤心?
我不知道到那里去?我不知道去那里/
我说不清楚到那里去,我说不清楚去那里。
反正大家都知道出门都不容易。


Read More »

[新功能] ”海归网发贴钮"快速发贴

如何使用browser button快速转贴或方便发新贴

(1) 安装海归网浏览器工具按钮:

把下面这个link拖动到你的browser bookmark toolbar上(在internet explorer 上是"links" 工具栏):

海归网!

回头我做个flash 动画演示一下怎么安装使用。

(2)快速转贴: 当你浏览到某个网页,觉得值得向坛子里的朋友推荐时,用鼠标选择你想要转贴的文字,然后点浏览器上的“海归网!"按钮,就会有一个发贴窗口弹出并且自动将你选择的文字放入贴子里;选择一个目标论坛,然后按“提交"即可
。当然你也可以先编辑一下。

(3) 快速发帖:点“海归网!",上述窗口弹出,你可以在上面编辑贴子内容并发贴。

(4)将网址加入收藏:当你用“海归网!"按钮转贴时,有一个选项“假如我的网址收藏“,如果选择了,在发贴的同时你转贴的原网址将被自动加入你在海归网的书签(收藏夹);你可以到论坛顶部菜单“收藏夹“管理你的网上书签,这样不论你到哪里只要能上网就随时能找到你收藏的网址。

本功能尚在试用阶段,欢迎大家反馈。

(more detailed…


Read More »

手把手教吴教主google SEO

--google主要的算法叫做pagerank. 教主先去下崽个google toolbar (http://toolbar.google.com/) , 上面有个page ranking. 搜索一下你的网站, 上面会显示你的网页在google排名的优先级。

想提高page rank最简单的办法是去所有你能去的网站去发布你的主页地址,让尽可能多的网站链接到你的主页。但要注意最好是一些跟你的主页和关键词相关的网站,比如文学,华人,海外留学生等。

找些流量大的优秀网站跟你做友情链接。

自己其他的叶面上也要加到自己主页(index.htm)的连接。

如果你的pagerank值在5以上一般就已经很不错了,当然能做到10最好。

--改善你的网页标题和关键词: pagerank不是唯一决定排名的东西,标题和关键词也很重要,尤其是标题(title) 和keyword(假定是“吴越”)之间的相关诚度。
这里的标题是指你的画坛ml <head> 里的<title> tag.…


Read More »

notes on Visibroker Naming Service implicit object cluster and stale object references

Visibroker Naming Service (VBNS) is the Corba naming services provided by Borland Visibroker. It supports implicit object clustering which allows you to bind multiple object references under one name. This is not CORBA compliant, how ever it allows easy/transparent clustering of corba objects instead of explictly going through the hassle of ClusterManager.

Several things to note for implicit object cluster mode:
(1) if the peroperty “vbroker.naming.propBindOn” is set to 1, the implicit…


Read More »

Passing an array of objects when calling a document/literal web service with perl soap::lite

One recent problem I encountered was that I had to write a PERL client for an existing document/literal web service. The service is using polymorphism– there are two methods:

Product[] getProducts1(Products[] products1);
Product[] getProducts2();

“Product” is only an interface. Product1 and Product2 are concret classes that implement the “product’ interface. and the objects in the products array are either Product1 objects or Product2 objects;

Interface Product {
    public String getName();

Read More »

Specifying a Vector-type bean property in Spring bean config XML file

In Spring IOC framework you can define bean properties of some collection types, such as List, Set, Propertie and Map. For example, for a bean that has a property “theList” of type “java.util.ArrayList”, you can specify the value as below:

&lt;bean id="exampleBean" class="examples.ExampleBean"&gt;
&nbsp;&nbsp;  &lt;property name="theList"&gt;
&nbsp; &nbsp; &nbsp; &nbsp;       &lt;list&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;          &lt;value type="java.lang.String"&gt;a…

Read More »

html2opml — my html to opml converter

I tried to import my firefox bookmarks into blogrolling and found that it only accepts OPML but not html. So i wrote a small utility that converts html to opml.

html2opml is a php script that simply converts html to a opml file, and every URL in the HTML input will become an entry in the generated OPML. Since most entries in my bookmarks does not have RSS feeds only “link” type opml outlines with “Url” attribute are created.

The html2opml online utlility is at


Read More »

hacking ganux

Ganux simulates a linux terminal through a browser. According to the author: “I have changed it into a hacking-game. The objective of this game is to gain root of this “machine”. I can assure you that this’s not easy! A surprise will be given to those who can hack into it!”

So this is a minimum operating system running on the browser– quite interesting. I spent some time to look into the javascript code to find the secret there. Apparently it’s not difficult– basically it uses javascript to…


Read More »