CCED2000 发行版⑥惊现江湖,发布日期暗藏玄机

2010/03/14 | 23:55 | 分类:IT杂谈 | 标签: | 1,522次阅读

  今天偶然看到,沉寂了五年多的 CCED 居然在上个月 18 日发新版本了。新版本为“CCED2000 发行版⑥号”,网页介绍称该版本是“应广大用户要求”,解决了前一版本在宽屏显示器上的一些问题。而 CCED 的前一个版本是 2004 年底发布的,其网站在五年间也没有任何更新。
  这一事件首先打破了我对 CCED 及其网站已成为 abandonwareabandonweb 的定性。难以理解朱崇君先生在这五年多来对 CCED 的发展是怎样一个想法。
  今天既然是 Pi day,我自然会有一些数学思维。有关新版 CCED 的重要发现不在于功能改进,而在这里——
CCED2000 发行版⑥惊现江湖,发布日期暗藏玄机
  看看我手头的这些 CCED2000 历史版本(注册版①、④、⑧;发行版①、③、⑤、⑥;Win95 附加包)安装界面中的发布日期,除了一个例外,其余均是在某月的 8 日或 18 日。看来朱崇君先生对“8”情有独钟呀。再回想起 DOS 版的 CCED,5.03 版之后紧接着就是 5.18 版,证据更加确凿。等等,不是说还有一个例外吗?这是 2000 年 5 月 1 日发布的注册版⑧号,连起来照样是“5-1-8”呀!朱崇君先生在这方面真是下了不少心思。
  如果哪位朋友手头还有 CCED2000 的其它版本(包括 CCED98 试用版),请看看发布日期是否同样以“8”结尾。同时希望这些朋友能把我上面没有列出的版本发给我,仅供收藏。
  希望这个发现不是火星,呵呵。


Update 2010-3-20:已验证“CCED2000 注册版⑥圣诞号”发布日期为 1999-9-8,符合规律。但是,这个版本为什么叫“圣诞号”呢?

Create your private bit.ly and twitpic

2009/10/15 | 23:45 | 分类:Web与移动平台 | 标签: | 762次阅读

As you know that some web 2.0 services, such as twitter web clients, URL shorteners, and picture hosting services cannot be accessed steadily in Mainland China. Perhaps you know how to break through the “wall”, but as information promulgators, we would better make our resources accessible for masses without special network skills or the lazy ones. A few months ago, I wrote Imagoxy, a picasa proxy for my blog readers. And these days a private URL shortener and a private picture hosting service are built for my twitter followers.

I chose a free PHP hosting service with advertisements to host these web applications. For one thing, I do not want my paid host be punished for being related to them accidentally, while free spaces are easily replaceable. For another, advertisements are only appended to htmls, and yet URL forwarding and picture files are not affected.

There are lots of free URL shortener scripts based on PHP and MySQL. I prefer TightURL, which is relatively simpler than the others, since web pages with rich features such as AJAX may go wrong for appended advertisements. Apache's RewriteEngine should be enabled to make the short URL more graceful. And you can also modify “tighturl.*.tmpl” to make it more friendly to users and external caller scripts. Like most of public URL shorteners, TightURL can be dragged into browser's bookmarks for convenience.

I had not found a free and simple enough PHP application to host pictures for twitter. So I wrote a tiny script for myself. It saves uploaded picture and send a tweet via twitter API (with shortened URL). I employed PHP Twitter to call twitter API for its simplicity. The script is accessible from my cellphone, so I can upload the taken photos instantly. I will release the script after more security measure taken.

More services can be deployed on free / advertisement web hosting sites. However, these sites are also usually banned by the “wall”. You should backup your data periodically and be ready to migrate at all times. The only unaltered entrance for your twitter followers is your domain name – unless you have too much influence infuriating somebody.

At last, my private services' domain name is “Jian.me”. It originates from my given name. It's interesting that “Jian” can be thought as “简” or “减” for URL shortener using.

Imagoxy: A Picasa Image Proxy for Personal Website and Blog

2009/07/17 | 22:59 | 分类:Linux与开源 | 标签: | 2,180次阅读

Picasa had been banned in Mainland China yesterday. I don't know if it is temporary or persistent. Lots of pictures on my blog are stored in Picasa. Unlike Flickr, I found it difficult to replace domain name or IP to pass the URL/IP filter. So I choose another way: download pictures from Picasa server to my Godaddy host, and replace the picture links in my posts from Picasa to my host. I wrote Imagoxy, a tiny PHP toolkit and Imagoxy-WP, a wordpress plug-in to implement this automatically and dynamically. This mechanism will certainly apply additional overhead and occupy more bandwidth. However, it is sustainable for my small website. Experiment shows it works well with wordpress 2.8.1. I make it open-source under a BSD license and you can get it from SourceForge or WordPress Plugin page.

Security issues should be considered carefully before it being used in significant applications. Some measures had been taken, but I hope you to review my codes and eliminate the hidden dangers. If you are interested in Imagoxy, welcome to join the small project at SourceForge and contribute your codes! Thanks. :)

I do not profit from my open source works. But if you really think they are useful, you can click here.

Imagoxy Version 0.53 - Update: 2009/12/10
Imagoxy-WP Version 0.53 - Update: 2009/12/10

Imagoxy

Imagoxy ("image proxy") is a tiny PHP toolkit. It downloads pictures from remote server to local server and relocate corresponding http requests to the local one. It is used to access pictures when the remote server is banned or slow from the network of clients (e.g. Download pictures from Picasa on an unbanned US server and tranfer them to China's viewers where Picasa is banned sometimes).

Licensed under a BSD license.

Install:

1. Modify Imagoxy 'getimg.php' file:
* Set '$work_dir' to the location you wish Imagoxy works at.
* Set '$cache_dir' to the location you wish files downloaded to. (default is OK in most cases)
* Set '$error_file' as the file relocated to when access control denied. (default is OK in most cases)
* Set '$reffer_list' as the legal HTTP_REFERER prefix list.
* Set '$check_reffer_before_download' as whether to check HTTP_REFERER before downloading new picutre.
* Set '$check_reffer_before_show' as whether to check HTTP_REFERER before showing downloaded picutre.
* Set '$legal_pattern' as the legal file URL patterns. (default is for Picasa; you can add more)
2. Update the 'imagoxy' directory to your '$work_dir' and make the '$cache_dir' writable.
3. Configure and deploy Imagoxy front-ends such as Imagoxy-WP.

Usage:

1. [ http://www.example.com/imagoxy/getimg.php?s={original URL} ] In this format (we called 'Imagoxy URL'), the http request will be relocated to a file on local server which is downloaded from the original URL. You can embed the Imagoxy URL into your <img src="..."> label. 'http://' in original URL is omissible and the other protocols are not allowed. Notice: as a parameter, original URL should be url-encoded again even if it has been url-encoded. e.g. 'Pic%20A.jpg' -> 'Pic%2520A.jpg'.
2. [ http://www.example.com/imagoxy/getimg.php?u={encoded URL} ] Also does downloading and relocation. However, you should base64-encode, reverse and then url-encode the original URL. In PHP, these are done by 'urlencode(strrev(base64_encode($original_url)))'. This encoding method can pass the URL filter in certain regions.

Test:

You can write a html page with an Imagoxy URL in <img src="..."> label. Open it locally, you should see the '$error_file'; after uploading it to the server with the URL prefix in '$reffer_list', you will see the relocated picture correctly.

Enjoy it!

Imagoxy-WP

Imagoxy-WP is a wordpress front-end for Imagoxy. Imagoxy downloads pictures from remote server to local server and relocate corresponding http requests to the local one. It is used to access pictures when the remote server is banned or slow from the network of clients. Imagoxy-WP now converts Picasa URLs to local Imagoxy URLs, and you can also add your customed conversion.

Licensed under a BSD license.

Install:

1. Download Imagoxy. Imagoxy is available at https://sourceforge.net/projects/imagoxy/.
2. Configure and deploy Imagoxy on your server as Imagoxy's README file described.
3. Modify Imagoxy-WP 'imagoxy-wp.php' file:
* Set '$imagoxy_dir' to your Imagoxy location, which is the same as '$work_dir' in Imagoxy.
4. Upload Imagoxy-WP php file or the whole directory to your wordpress '/wp-content/plugins' directory.
5. Enable it in the dashboard.

After that, You will see:
<img src="http://lhX.ggpht.com/_WWW/XXX/YYY/ZZZ/sMMM/IMG_NNN.JPG" />
in your blog posts now becomes:
<img src="http://www.example.com/imagoxy/getimg.php?u=AABBCCDDEEFFGGHH" />
Since pictures are downloaded from your own server, it won't be banned then.

Enjoy it!

我眼中的SNS

2009/03/28 | 14:30 | 分类:IT杂谈 | 标签: | 873次阅读

  只看图不说话。
  注意,我这里说的是狭义的SNS,也就是那些社交网站。广义的Social Network Service也许还是有意义的。

我眼中的SNS

选择一个独具特色的域名——中国特色的Domain hack

2009/03/08 | 20:11 | 分类:Web与移动平台 | 标签: | 988次阅读

  Domain hack在使用拉丁字母的国家和地区比较流行。但在中国,由于语言文化的差异,用人的还不是很多。下面说说我认为可行的中国化的Domain hack方案。
  1. 地名
  某些域名后缀恰好是一些省市的拼音缩写:
  .sh(圣赫伦那岛):“上海”的缩写,这个见得比较多;(示例:jianzhi.sh
  .tj(塔吉克斯坦):“天津”的缩写;
  .sc(塞舌尔):“四川”的缩写;
  .gs(南乔治亚与南三明治群岛):“甘肃”的缩写;
  .gd(格林纳达):“广东”的缩写;
  .hn(洪都拉斯):“湖南”、“河南”、“海南”的缩写;
  .fj(斐济):“福建”的缩写;
  .cd(刚果民主共和国):“成都”的缩写,不过这个被当作“CD(光碟)”解释可能更有商机;
  .cc(科科斯群岛):“长春”的缩写,这个通常被域名注册商解释为“Commercial Company”或“Chinese Company”;
  .hk(香港特别行政区):“海口”的缩写,海口的网站用香港的域名恐怕会有误会的。
  以上这些国家或地区的域名是允许世界人民随意注册的(或“原则上”有条件限制,但管理不严格),所以国内外的很多域名服务商都可以注册。下面列出几个有一定注册条件限制的国别域名,没有相关的手续不是谁都可以随意注册的。但国内外有一些代理机构可以帮忙办理:
  .bj(贝宁):“北京”的缩写;
  .sd(苏丹):“山东”的缩写;
  .sy(叙利亚):“沈阳”的缩写;
  .nc(新喀里多尼亚):“南昌”的缩写;
  .ls(莱索托):“拉萨”的缩写;
  .gy(圭亚那):“贵阳”的缩写;
  .km(科摩罗):“昆明”的缩写,也可解释为“千米”。
  此外,还有.sz(斯威士兰——深圳、苏州)、.py(巴拉圭——濮阳、平遥)、.th(泰国——通化、太湖)、.tl(东帝汶——铜陵、铁岭)等等。
  2. 人名
  以下中国姓氏恰好有对应域名后缀,可以用于个人网站或blog(再次给ideal同学做广告了,可他的blog为什么总被HX呢……):
  .li(列支敦士登):“李”、“黎”,国内外代理商很多;(小提示:通过瑞士SWITCH注册比国内代理商便宜不少)
  .hu(匈牙利):“胡”,国内外代理商很多;(比较强的是这个:jiinitiao.hiu,自己去Whois一下吧)
  .ma(摩洛哥):“马”,国外有代理注册商;(“bao.ma”现在是可用的,查询于2009-03-08)
  .lu(卢森堡):“卢”、“鲁”、“路”:国外有代理注册商;
  .ai(安圭拉):“艾”,可以在官方注册,也可以找代理商;
  .ao(安哥拉):“敖”,国外有代理注册商;
  .an(安的列斯):“安”,国外有代理注册商;
  .ba(波斯尼亚黑塞哥维那):“巴”,国外有代理注册商;
  .bi(布隆迪):“毕”,可以在官方注册,也可以找代理商;(这个后缀可以玩一些更牛的,参看这个网站:niu.bi
  .bo(玻利维亚):“薄”,国外有代理注册商;
  .ke(肯尼亚):“柯”,国外有代理注册商;
  .lv(拉脱维亚):“吕”,这个算是准拼音吧,毕竟有一些输入法用“v”替代“ü”的,“lv”姑且认为是“lü”。可以在官方注册,也可以找代理商;(网上说这个域名能免费注册?我没有仔细研究,有兴趣的朋友可以查查)
  .mo(澳门特别行政区):“莫”,理论上限定澳门本地公司及团体才能申请,但国外也有代理商。
  .ni(尼加拉瓜):“倪”,国外有代理注册商;
  .ru(俄罗斯):“茹”,国内外都有代理注册商;
  .sa(沙特阿拉伯):“撒”,国外有代理注册商;
  .si(斯洛文尼亚):“司”,国外有代理注册商;
  .su(原苏联):“苏”、“宿”,虽然还有代理商可以帮忙注册,但这个域名据说快要被撤消了;
  .ye(也门):“叶”,国外有代理注册商。
  对于某些单字名或双字名,也有一些国别域名恰好是其缩写。这一类不胜枚举,只列出有代表性的几个:
  .jp(日本):“贾鹏”、“晋普”、“金萍”,国内外都有代理注册商;
  .tw(台湾省):“陶文”、“田薇”、“天武”,国内外很多地方都可以直接注册;
  .ws(萨摩亚):“王胜”、“吴双”、“文升”,国内外很多地方都可以直接注册,通常被注册商解释为“Web Site”;
  .zm(赞比亚):“张敏”、“邹明”、“志民”,国外有代理注册商;
  .gq(赤道几内亚):“高强”、“郭青”、“国强”,暂没有找到可用的代理商。
  3. 助词
  以“.la”为代表的这类后缀在国内网站圈子里已经有不少应用了,主要包括以下几个域名:
  .de(德国):“的”、“地”、“得”,国内外都有代理注册商;(示例:jiwai.de
  .la(老挝):“啦”,国内外很多地方都可以直接注册;(示例:tongji.la
  .me(黑山):“么”,国内外很多地方都可以直接注册,这个一般都被解释为“我”;(来看看我注册的这个:kan.de.jian.me
  .ma(摩洛哥):“吗”,前文有介绍;
  .na(纳米比亚):“哪”、“呐”,国外有代理注册商;
  .li(列支敦士登):“哩”,前文有介绍。(hen.huang.hen.bao.li是一个例子,不过它取的是“暴力”的“力”字)
  4. 韵尾
  国别域名都是两个字母,但有很多拼音音节是三个或三个以上字母构成的。这时可以使用一些“韵尾”域名,让域名前后两部分组合成完整的拼音:
  .in(印度):国内外很多地方都可以直接注册;(示例:huangj.in
  .ai(安圭拉):前文有介绍;(“maim.ai”等都是可用的,查询于2009-03-08)
  .an(安的列斯):前文有介绍;(“pin.an”、“zhu.an”等都是可用的,查询于2009-03-08)
  .ua(乌克兰):国外有代理注册商;(“zhongh.ua”等都是可用的,查询于2009-03-08)
  .er(厄立特里亚):暂没有找到可用的代理商。
  以下域名有作为韵尾的潜质,但由于所属国目前不提供顶级域名注册,只能注册.com.xx、.net.xx之类的,故暂时无法用于韵尾:
  .ao(安哥拉):前文有介绍;
  .ng(尼日利亚):国外有代理注册商。
  5. 中文域名
  目前可用的中文域名后缀包括“.中国”、“.公司”、“.网络”等。用中文做Domain hack并不像英文那样灵活,因为这些词很难成为其它词的一部分,但组成短语或句子还是可以的。目前见到的中文Domain hack比较少,“我爱你.中国”、“我的.网络”、“上市.公司”等都是不错的例子,但它们都还没有被应用到一个适合的网站上。这一块可用的资源相当多,“可爱的.中国”、“下一代.网络”、“股份.公司”等都还没有被注册(查询于2009-03-08),有兴趣的朋友可以试试。不过感觉滥用中文域名作Domain hack有被HX的危险。
  当然,Domain hack在中国不流行,很重要的一个原因是国内多数网民不熟悉“.com”、“.net”、“.org”、“.cn”之外的后缀。给不懂英语的网友说这些hack的网址,他们反而难以记忆。用不用Domain hack,还是要看具体应用的需求。“酷”并不代表实用。
  最后给出一些相关的链接:
  1. 帮助生成Domain hack的在线服务
  http://xona.com/domainhacks/
  http://domai.nr/
  2. 美国的外国域名注册代理商(我没有和他们打过交道,可靠不可靠请自行调查)
  http://www.101domain.com/
  http://www.innter.net/
  http://www.rwgusa.net/

页面存档: 上页 1 2 3 下页