Web 类别下的文章

Flickr 测试

This is a test post from flickr, a fancy photo sharing thing.

作了好一段时间的 Blog 观察者,也身体力行写了了一段时间,发现还是被 Blog 大潮吞没了.现在似乎到了为 Blog 而 Blog 的时代了.

刚开始的时候,自己完全是为了新奇而写Blog.但是这样很难坚持下去的--必须要有读者的反馈才好.Blog 如果缺乏互动就变成了一个人的喃喃自语,一潭死水.如果只是写技术内容的话,的确太闷了.所以说 Blog 也可能需要炒作,必须弄些桃色元素--有些网站这样一举成名,当然,收益者可能也会耸耸肩说到:这也是给广大网民扫扫盲,告诉你Blog都有什么呀.

热力学第二定律告诉我们,随着时间无限推移...封闭系统中的状态是逐渐倾向于无秩序,熵趋于无限大...最终归于熵寂死的混沌...Blog 会不会这样?

升级了 Lilina

Lilina 是一个很好用的web news aggregator.现在有了新的空间,终于可以对这个小工具调整一下了.目前 Lilina 已经到了 0.7 版本.明显感觉在性能上也有了很大的提升.目前只是对 Lilina 进行了一下简单的定制. 同时决定把新的 Lilina 命名为 Oracle Security News Aggregator 更有针对性一些. Pete Finnigan's Oracle security weblog 的时间问题似乎还没修正.所有的Blog 主题又会跑到最前面.有时间需要告诉他一下.

0.7 版本把 Source 移到了页面的下方,而不是旧有的在右边的那种形式.很方便.

这里有个针对 0.7 的 hack,今天不早了,改日试用一下效率如何.

我早起 试用 Lilina 的一则Blog .

2005-07-17 更正一下.Pete 的站点的 RSS 时间是没有问题的. ,

MT UTF-8 显示的问题

在新的Web 服务器上遇到了 UTF-8 的页面乱码问题.

问题是这样的: 迁移到新的Web服务器上之后,发现我的 MT 发布之后(包含中文)从浏览器查看是乱码.必须要从浏览器端手工指定一下编码为 UTF-8 才可以正常显示.而我的主页面 页面代码是用的 GB2312.不存在这个问题. 另外一个比较奇怪的是我的 MT 后台管理显示的中文都是正常的.而 Blog 前台页面都不正常.

我开始以为是 mt.cfg 设置的问题.于是修改 mt.cfg 的发布编码为 gb2312.可这样后台显示就有问题了.真是一波未平一波又起.于是我恢复到以前的状态,开始对比后台的页面和前端的页面差异并反复测试没有结果.接着查看 Apache 的 httpd.conf(我登陆不到主机上,这个是 cometrue 给我的参考).发现 其中的全局设定了 default charset 为gb2312 . 这个时候找 cometrue 又找不到.对 Apache 又不是非常熟悉,郁闷的睡去.

第二天一早看到 车东 在线,赶紧问问他.车东告诉了我一个小技巧:wget -S 来获取响应 code.自己虽然也常用wget ,不过对这个参数倒是第一次用.果真,从服务器端来的响应代码告诉我默认编码是 GB2312 .

Blog 归来记

这个Blog offline 了足足有一个多月.

站点原来是放在我所在的上一家公司的主机上.因为一些变动,接替我的DBA告诉我空间不能继续用了.当时我正忙得一塌糊涂,根本没时间顾及,好在是把数据备份了出来.

有一段时间都不想继续写了,也是工作比较忙的缘故吧. 幸好 Tigerfish 答应给我一点空间.后来麻烦了 cometrue 不少次,不支持Perl,配置CGI-BIN,配置 Apache,安装DB_File 模块,解决 UTF-8 的显示问题, 总算是把 Blog 重新搭建了起来.其实ITpub本身也提供Blog功能的.可是我自己非常不喜欢这种 Blog 大集中的方式.加上其他种种原因,就放弃了在 ITpub 的那个Blog.

在写过《Web技术:易趣 vs 淘宝》《Web技术:易趣 vs 淘宝 (2)》之后,很久没有关于关于 Web 的东西了。前几天看了一下阿里巴巴的中文站点,感觉还是有点失望的--全球领先的 B2B 站点怎么对 Web Design 这么漠不关心呢?

Tom 的经验谈

Tom 是怎么成为一个 Oracle 数据库大师的?在这里有所提及:

it took me 16 years of "all about oracle" to be here. started as a programmer/analyst on the mainframe writing PL/I code against SQL/DS and DB2 (PL/I is still by far the coolest language I've ever used). That started my SQL career. I bought Oracle version 5.1.5c from Dr. Dobbs Journal for $99.00 in the late 80's and started building systems with it. Then I was "forced" to use Sybase, Informix, Ingress, Gupta SQLBase and other "rdbms's" as well.

阅读/学习基本理论和掌握产品文档是必要的一步:

I also learned all about databases then -- read the theory (like Jim Grays Transaction Processing Book, not really light reading but taught me lots of stuff). Then read the practical (the reference manuals). So I spent six years as a developer/dba. Even though I was a coder -- i found doing things in the database to make tons more sense then writing tons of code to do the same. I actually quit my first job after six years soley for the reason that they wouldn't let me exploit the software they paid so much for (they were so into this "generic database", the "database is a commidity" concept that they had me coding our own two phase commit protocol, our own stored procedure language, our own compilers for the same, our own sql parser -- it was frightening. Funny thing is -- I meet with customers all of the time still doing just that!) the first six years is what really did it. on the job training, reading -- tech books (egads -- the manuals!) lots of magazines (i was a magazine junkie, dr dobbs, the c programmers journal, you name it).

Some Hints for Nutch

好久没关注Nutch了,看邮件列表,学到了几招关于 Nutch 的小技巧.

  • 如何索引动态 URL 站点?
    调整 regex-urlfilter.txt 或是 crawl-urlfilter.txt 文件. 参见行"# skip URLs containing certain characters as probable queries,后面的内容.
  • 编译 Nutch 需要用到的 Ant 版本至少要 1.6 以上.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22

关于归档

本页包含 Web 类别下的所有文章.

上一类别为 Tech.Memo.

回到 首页 查看最近发表的文章或者查看所有 归档文章.