Category: Internet and Web

general

【BBS】论坛系统分析(1): 论坛外观的树形 vs 表格形式

表格形 (flat view) VS 树形 (threaded view, tree view)

树形和表格形各有其优缺点:

(1) 树形易于形成一个讨论的气氛。
(2) 与表格形比较,从点击量来说树形会使帖子的点击量看起来少许多,原因是树形统计点击量是单个帖子的点击量,而表格形是整个主题(主帖及其所有跟帖的点击数, 因为跟帖的点击数是无法统计的)。

举个例子,在树形下看这个帖子:http://www.haiguinet.com/bbs/viewtopic.php?p=969231 的点击数是8236; 如果切换成表格形,那么该主题的点击数则为37139.

所以如果你在天涯等论坛上看到一个点击数为上万的主题,其实际点击数不一定比海归网上一个点击几千的主帖多。

(3) 树形结构在跟帖不多的时候比较清晰,对讨论一目了然。就象看各人的对话一样。这是绝大多数人喜欢的树形显示的优点,但从另一个角度来说也是缺点:许多人干脆只看跟帖标题知道一个大概,而根本不点击阅读帖子本身。还有许多人回帖不看帖。

(4) 表格形不易搞清跟帖的关系:跟帖多了,搞不清是在跟谁的帖。

(5)…


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 »

A usage of firefox GreaseMonkey

quoted from Greasemonkey’s web site (http://greasemonkey.mozdev.org/) : Greasemonkey is a Firefox extension which lets you to add bits of DHTML (“user scripts”) to any webpage to change it’s behavior. In much the same way that user CSS lets you take control of a webpage’s style, user scripts let you easily control any aspect of a webpage’s design or interaction.

Just tried the firefox greasemonkey — I was trying to use it for enhancing the batch website snapshot-capture script: One problem…


Read More »

关于 P2P streaming

p2p协议中gnutella protocol 传输效率低下,gnutella based clients的market share也逐渐减少,早已是irrelevent的东东。同样具有search功能的eDonkey/eMule network在大文件共享上要强得多。

但现在国外在p2p Streaming上实用的东东PeerCast (open source)却是基于gnutella协议的,用于audio streamming效果很不错, video效果感觉一般。

国外还有几个propreitery protocol的免费p2p streaming软件:p2pRadio是open source的用java写的,StreamerP2P是一个closed source产品。

在VOD或realtime broadcast之类的流媒体应用上真正有前途的的还是象bittorrent之类的高效swarming技术。除了大家提到的coolstreaming外,…


Read More »

A virtual server products list

VPS stands for virtual private Server, a techology to divide a server into multiple “virtual machines” and each of the “virtual server” can run its own operating system as if it’s a standalone server. VPS is mainly used for Web hosting. It can also be used toestablished “sandbox” or for demo/testing purposes etc.

The technology is based on virtual machine technology that exists for a while.

Virtual server products that I know of:

– IBM had the technology (named zen?) to divide a mainframe…


Read More »

1000MB的internet硬盘

谢老蔡:)

关于大文件共享,我刚想起一个更好的办法: 用 gmail + roamdrive. roamdrive是一个可以把一个hotmail或gmail账户当成你的网上硬盘的软件–原理是把大的文件切割成小块,每块变成一个email,这样就能突破gmail每个邮件10MB的限制。

我建立了一个新的gmail账号,[email protected] ;需要上载或下载文件的同学去http://www.roamdrive.com 当漏一个最新的roamdrive软件,然后就可以直接从windows 把文件拖动到gmail里去,或者从gmail拖动到本地硬盘。


Read More »

My pain on Java open source portal evaluation still goes on

After extensive search, reading, comparing and trying, finally I limited my choices to the following three:

– exo platform
– Liferay
– uportal

All of them have JSR 168 support, which is my basic choosing criteria. Still they all have pros and cons:

– exo platform: the most technically advanced; has all the buzz words like JSR 168, JSR 170, WSRP, IOC, JSF etc; it uses PICO, the light-weight IOC framework; it also uses JSF as the portal presentation technology and has an eclipse plug in for…


Read More »

PHP, .NET or J2EE? –Some considerations when choosing web development platform

One of my old posts, with some thoughts apparently not true or outdated in today’s view; just put it here to fill the space 😉

— The technical platform selection first is determined by what kinds of resources/expertise the developemnt team have.

— Language by itself: PHP is a scripting language, like VB script used in ASP. whileas Jsp and asp.net are pre-compiled when serving the request, Java and ASP.NET(whether C# , VB.net, J# or others) are full-fledged object-oriented language; PHP is…


Read More »