May 2010 Archives

备忘,查了半天:
客户在访问我提供的WebService(预定义,即WSDL模式)的时候,在Linux服务器上运行example的时候是ok的,但是在他的windows开发机上运行失败。
报了俩错:
WARNING是I/O warning : failed to load external entity,
FATAL ERROR是: Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL:Couldn't load from 'somewhere' in somefileStack trace: #0 somefile: SoapClient->SoapClient('https://tg.qq.c...', Array) #1 {main} thrown in somefile on line 

官方文档说requirements是GNOME Xml Library, 就是libxml必须高于2.5.4
但是实际上WSDL的SoapClient还必须加载cURL模块,如果服务端是https,则还需要加载openssl模块
在windows下就是需要php_curl.dll和php_openssl.dll, curl同时依赖于libeay32.dll, ssleay32.dll, openssl依赖于libeay32.dll

Google I/O 2010 第二天 (5月20日)的主题演讲上,Google 工程副总裁 Vic Gundotra 的一段话。他在回顾当年 Google 为什么要开发 Android 平台的时候说到:

“If Google did not act, we face a draconian future. A future where One Man, One Company, One Device, One Carrier, will be our only choice. That’s a future we don’t want. So if you believe in openness, if you believe in choice, if you believe in innovation from everyone, then welcome to Android. “

「如果 Google 不行动起来,那我们都将面临一个残酷的未来:一个人、一家公司、一款设备、一个运营商将是我们唯一的选择。(现场掌声雷动)那不是我们想要的未来。如果你相信开放、相信选择、相信来自每个人的创新,欢迎使用 Android。」
 

来源: Apple4us

 

闲的无聊看自己的access log, 发现几条好玩的记录:

61.143.61.81 - - [18/May/2010:04:37:04 +0800] "GET /cert/bazs.cert HTTP/1.0" 404 212 "-" "Mozilla/4.0"
222.81.81.128 - - [21/May/2010:13:26:05 +0800] "GET /cert/bazs.cert HTTP/1.0" 404 212 "-" "Mozilla/4.0"
202.101.104.125 - - [22/May/2010:07:46:02 +0800] "GET /cert/bazs.cert HTTP/1.0" 404 212 "-" "Mozilla/4.0"

cert/bazs.cert 是宫刑部的爬虫么?

============华丽的分割线============

63.220.4.250 - - [23/May/2010:00:20:51 +0800] "GET /include/dialog/zhmnselect_soft_post.php HTTP/1.1" 404 237 "-" "Mozilla/4.0"
63.220.4.250 - - [23/May/2010:00:20:51 +0800] "GET /include/dialog/select_soft_post.php HTTP/1.1" 404 233 "-" "Mozilla/4.0"

select_soft_post.php 是dedeCMS5.5中的文件, 貌似是有个页面变量未初始化的bug...

============终于是个大陆的爬虫了============

218.65.59.6 - - [23/May/2010:04:17:17 +0800] "GET /pgjxupfile.htm HTTP/1.1" 404 212 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:18 +0800] "GET /upfile.htm HTTP/1.1" 404 208 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:18 +0800] "GET /upfile.htm HTTP/1.1" 404 208 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:18 +0800] "GET /cvqwupfile_adpic.asp HTTP/1.1" 404 218 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:19 +0800] "GET /upfile_adpic.asp HTTP/1.1" 404 214 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:19 +0800] "GET /upfile_adpic.asp HTTP/1.1" 404 214 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:19 +0800] "GET /edyzupfile_article.asp HTTP/1.1" 404 220 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:20 +0800] "GET /upfile_article.asp HTTP/1.1" 404 216 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:20 +0800] "GET /upfile_article.asp HTTP/1.1" 404 216 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:20 +0800] "GET /uzafupfile_flash.asp HTTP/1.1" 404 218 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:21 +0800] "GET /upfile_flash.asp HTTP/1.1" 404 214 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:21 +0800] "GET /upfile_flash.asp HTTP/1.1" 404 214 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:21 +0800] "GET /ewpqupfile_photo.asp HTTP/1.1" 404 218 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:22 +0800] "GET /upfile_photo.asp HTTP/1.1" 404 214 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:22 +0800] "GET /upfile_photo.asp HTTP/1.1" 404 214 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:22 +0800] "GET /nrdrupfile_soft.asp HTTP/1.1" 404 217 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:23 +0800] "GET /upfile_soft.asp HTTP/1.1" 404 213 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:23 +0800] "GET /upfile_soft.asp HTTP/1.1" 404 213 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:23 +0800] "GET /kypxupload.asp HTTP/1.1" 404 212 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:24 +0800] "GET /upload.asp HTTP/1.1" 404 208 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:24 +0800] "GET /upload.asp HTTP/1.1" 404 208 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:24 +0800] "GET /axwwupload_Dialog.asp HTTP/1.1" 404 219 "-" "Mozilla/4.0"
218.65.59.6 - - [23/May/2010:04:17:25 +0800] "GET /upload_Dialog.asp HTTP/1.1" 404 215 "-" "Mozilla/4.0"
 

前情提要:
焦点访谈:警惕互联网地图泄密 

月光博客的作者说:

关于当天的一些细节

5月6日上午,深圳市规划和国土资源委员会打电话要我过去调查一下情况,去了后发现有记者在录影,我问他们是什么单位的,不回答,问其他人摄影是为什么,答曰记录问询过程,在问询中,他们说我的网站涉嫌有包含“中国国家军事机密”的Google Earth地标文件,要求我进行自查,删除我网站上所有的“国家军事机密”,并给我开了一份行政处罚告知书给我,要罚款5000元。之后一个女记者还问了我几个问题,自始至终,这些采访我的人都没有透露他们是中央电视台焦点访谈栏目的,我要是知道这一点,肯定会拒绝采访的,因为这摆明了是要陷害谷歌地图。

在CCAV的解说中,我从一个70后变成了80后,关注IT的科技博客变成了军事发烧友博客,每天不足30个人访问的论坛变成军事爱好者经常访问的网络社区。

总而言之,我被CCAV的人给耍了。

关于月光论坛的一些说明
 

继续黑,黑你妈逼!

perl lib安装备忘

| No Comments | No TrackBacks

CPAN安装说明: http://www.cpan.org/modules/INSTALL.html
perl -MCPAN -e shell
perl -MCPAN -e 'install DBD::mysql'
正常安装不成功就force install DBD::mysql
或者干脆在apt-get上装也可以
Crypt::DSA有好几个版本,经常用的是Benjamin Trott版的,apt装的貌似是另外的版本。
Benjamin Trott版本的Crypt::DSA,直接用2006版的0.14就可以,新版的话可能不认. 或者干脆扔到movabletype的extlib里面去