Whisht Wind


« 十一月 2009
星期日星期一星期二星期三星期四星期五星期六
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
     
       
今天

Subscribe

Add to My YahooSubscribe in RojoSubscribe in NewsGator OnlineThis blog's XML feed
Subscribe with BloglinesAdd to Google

Search this blog

Blog Roll

Downloads

Other Links

Popular Tags

addons android archive autoloading autopager china chinese cisco dhcp dict earthquake firefox flock fonts foxbeans hgweb j2me java javame jstardict jstardictm language mercurial milax moon mozilla mtu nb-xul netbeans openoffice opensolaris pack palette recommended solaris stardict tar.gz tar.gz2 vpn vpnclient windows wine xul zip 嫦娥 郑萍如 面板

Weblog menu

Feeds

Recent Entries

Today's referrers

今日点击: 186

Locations of visitors to this page

20080730 星期三 2008年07月30日

blogs.sun.com and ScribeFire

ScribeFire failed to works with blogs.sun.com recently. You can post a entry, but the entry will never be showed on the blog.
I spent some time to try different options and finally find a workable one:

1. Launch the account wizard,
2. press Manually Configure
3. select Custom Blog
4. select roller, ignore the warning
5. Server API URL: http://blogs.sun.com/roller-services/xmlrpc
6.
provide username and password


The blog url is missed in the api. So the view blog links will not work. You need change it manually.
1. Goto firefox profile folder, which is located in one of the following locations depending on your operating system:
Windows Vista Users\\AppData\Roaming\Mozilla\Firefox\xxxxxxxx.profileName
Windows 2000, XP, Server 2003 Documents and Settings\\Application Data\Mozilla\Firefox\xxxxxxxx.profileName
Mac OS X ~/Library/Application Support/Firefox/xxxxxxxx.profileName
Linux and Unix systems ~/.mozilla/firefox/xxxxxxxx.profileName

xxxxxxxx represents a random string of 8 characters. profileName should be default if don't create a new profile.

2. Edit extensions/performancing-bloglist.xml
Find your blog setting, for me it's:

    <blog>
      <blogname>Whisht Wind</blogname>
      <blogtype>roller_cus</blogtype>
      <blogapi>metaweblog</blogapi>
      <appkey/>
      <username>wind</username>
      <apiurl>http://blogs.sun.com/roller-services/xmlrpc</apiurl>
      <GUID>28658d034-a18a-84e4-0284-51b0a859db5</GUID>
       <url>/wind/</url>
      <blogid>wind</blogid>
      <useboolean>false</useboolean>
    </blog>

Change the url to your blog url:
<url>http://blogs.sun.com/wind/</url>


One more thing: you also have to login to blogs.sun.com and enable the "Enable weblog client support?" setting in the Preferences tab.

Technorati Tags: ,

( 2008年07月30日, 12:29:14 下午 CST ) [Listen] Permalink 评论 [0]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20080710 星期四 2008年07月10日

升级导致vpnclient问题以及解决方案

最近升级了系统,vpnclient就不工作了。总是停在Authenticating user.
Negotiating security policies.
花了点时间终于找到了原因,原来是MTU太小了。不知道什么原因我的无线路由的dhcp服务总是返回一个很小的mtu 576。我可以手工将网卡的mtu设成以太网卡缺省的1500。改之后vpnclient就好了。可以用这个命令来改:
ifconfig eth0 mtu 1500

如下步骤可以使每次系统启动时都自动使用1500作为mtu。

1. 网卡启动前设置mtu为155
在/etc/network/interfaces 中 iface eth0 inet dhcp的后面加入这行:
pre-up /sbin/ifconfig $IFACE mtu 1500
如果你使用的固定ip就更简单了。你可以直接在iface eth0 inet dhcp下面加入mtu 1500。你也可以跳过下面的步骤。
2. 避免dhcp设置mtu
在/etc/dhcp3/dhclient.conf中找到request列表,删除其中的interface-mtu.
改之前:
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
netbios-name-servers, netbios-scope, interface-mtu;

改之后:
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
netbios-name-servers, netbios-scope;

重启。OK了。
Technorati Tags: , , , , [Read More]

My Tags:

( 2008年07月10日, 09:32:05 下午 CST ) [Listen] Permalink 评论 [0]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

vpnclient issues caused by small mtu

I upgraded my system to the last version. Then the vpnclient stop work. It will failed at Authenticating user.
Negotiating security policies. I spent some time fighting on it. I found out if caused by the small MTU of my interface.
For some reason my wireless router's dhcp server return a very small mtu 576. I can make vpnclient work my manual increase the mtu value to the general ethernet interface mtu 1500 by:
ifconfig eth0 mtu 1500

And I changed the following settings to set the interface mtu to 1500 at system boot.

1. set mtu to 1500 before interface up
add the following to /etc/network/interfaces after iface eth0 inet dhcp:
pre-up /sbin/ifconfig $IFACE mtu 1500
If you are using static ip instead of dhcp you can direct put mtu 1500 bellow your iface line. And you can skip next step.

2. Avoid dhcp client set the interface mtu
Find the following line in /etc/dhcp3/dhclient.conf and remove interface-mtu.
Before modify:
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
netbios-name-servers, netbios-scope, interface-mtu;

After modify:
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
netbios-name-servers, netbios-scope;

That's all. Try it if you have this issue too. And please kindly let me know whether it works for you.
Thanks


Technorati Tags: , , , ,

My Tags:

( 2008年07月10日, 09:30:13 下午 CST ) [Listen] Permalink 评论 [0]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20080512 星期一 2008年05月12日

地震

四川汶川县发生了7.8级大地震,据说几乎整个东亚都有感。

地球真是太不安全了,好多地震啊,看看这个吧,最近地球上所有的5级以上的地震,每天n次:

http://earthquake.usgs.gov/eqcenter/recenteqsww/Quakes/quakes_big.php

[Read More]

My Tags:

( 2008年05月12日, 05:20:00 下午 CST ) [Listen] Permalink 评论 [5]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20080511 星期日 2008年05月11日

Wine发布了1.0-rc1接近1.0了

今天无意间拿Wine在我的Ubuntu上运行了一下NetBeans的Windows版。让我吃惊的是居然毫无问题的运行了。执行了一下wine --version,居然发现已经是1.0-rc1了。
是个不错的消息,毕竟还有好多软件,游戏只有Windows版,有了Wine至少在某种程度上可以在linux上使用他们了。

为了方便使用OpenSolaris的朋友,我在OpenSolaris上编译了一个。需要的可以试试: 

wine-1.0-rc1-solaris-5.11-i86pc.pkg.bz2

下载之后unzip,然后用pkgadd安装。

bunzip  wine-1.0-rc1-solaris-5.11-i86pc.pkg.bz2

 

pkgadd -d wine-1.0-rc1-solaris-5.11-i86pc.pkg

安装路径为 /usr/local/wine.使用前请将/usr/local/wine/bin加入到PATH中:

 

 

  export PATH=$PATH:/usr/local/wine/bin

 开始使用了:

wine --version

wine notepad

....


 

 

[Read More]

My Tags:

( 2008年05月11日, 08:52:16 下午 CST ) [Listen] Permalink 评论 [1]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20080316 星期日 2008年03月16日

为mercurial web cgi做了个打包下载文件夹的补丁

Mercurial提供了通过http方式维护代码仓库的cgi脚本,它支持打包下载整个仓库,却不支持打包下载子目录。所以我做了一个补丁来做这件事。你可以在这里下载它。http://www.teesoft.info/hg/samples/file/tip/netbeans/PaletteDemo1/是一个部署之后的例子。你可以打包下载任何目录。

请参考 这个 在你的服务器上配置 mercurial,唯一的条件是你的服务器支持python。别忘了打我的补丁。

另外,我还做了用于mercurial 0.9.4的补丁

 

这是我第一次做python的东西。如果你发现其中有什么不妥请告诉我。

谢谢

Technorati Tags: , , , , ,

 

[Read More]

My Tags:

( 2008年03月16日, 10:55:03 下午 CST ) [Listen] Permalink 评论 [0]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20080301 星期六 2008年03月01日

Milax 超小的OpenSolaris发行版 50M

无意中从一个同事的blog中发现了一个超小的OpenSolaris发行版。它支持光盘启动和USB启动。原名叫Damn Small Solaris,现在叫Milax. 它和linux界出名的DSL(Damn Small Linux)类似,包含的程序也类似,不同的是它是基于OpenSolaris内核的,所以支持一些Solaris上才有的功能,例如dtrace, zfs, brandz等。它可以用做体验光盘,也可以作为修复光盘使用。它的授权协议也是CDDL 1.
这里是下载地址页面:http://milax.org/?page_id=9,光盘版:http://www.genunix.org/distributions/dss/milax011sunhelpru.iso, USB版: http://www.genunix.org/distributions/dss/milax011sunhelpru.usb.
目前它主要提供了如下程序:

Beaver, Vim, Dillo, Midnight Commander, emelFM, XMMS, Xpdf, VNC viewer, Rdesktop, AxyFTP, Irssi.

启动后请用 alex用户登录,密码也是alex。root的密码也是root。启动图形界面的命令是 startx。执行"su -"命令可以获得root权限。

套用目前很流行的一种说法: 很小很强大!


目前不支持中文。最近会找点时间看看有没有汉化她的可能。:)

启动截屏:

运行截屏:




Technorati Tags: , ,

My Tags:

( 2008年03月01日, 02:28:17 下午 CST ) [Listen] Permalink 评论 [0]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20080213 星期三 2008年02月13日

虚拟化大行其道 - Sun正在收购Innotek

春节大采购!Sun在宣布收购MySql之后最近又宣布收购Innotek。如果你不知道Innotek,那么VirtualBox呢?VirtualBox是一个类似VMware的虚拟机软件。还是开源的。它可以运行在Windows, Linux, Macintosh和 OpenSolaris上。 最逗的是仅仅在Sun宣布收购Innotek的前一天,Innotek发布OpenSolaris版的VirtualBox.
抓紧时间试用一下VirtualBox吧 http://www.virtualbox.org/wiki/Downloads.


Technorati Tags: , , ,

( 2008年02月13日, 07:24:23 下午 CST ) [Listen] Permalink 评论 [0]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20071208 星期六 2007年12月08日

嫦娥月图上多出的小坑有了一个比较合理的解释:拼接错位

这次发布的嫦娥月图被发现比 Google Moon上的对应图片对了一个小坑。经过多天之后终于有个名为美的眼睛 的网友给出了一个比较合理的分析。可能是制图时将一幅图拼错了位。 详情见这里。 官方公布的三维图中已经修复了这一错误。瑕不掩瑜,我们还是要热烈庆祝嫦娥的成功。不过如果官方在接下来的几天能过高调出来澄清这个问题将更好了。
下面是网友给出的分析示意图,将虚线左边往上提一提就完全一样了:

       
官方的3d图:


从嫦娥月图又一次见证了人肉搜索的威力。开源的魅力某种程度上也是如此吧。


Technorati Tags: ,

My Tags:

( 2007年12月08日, 11:48:06 下午 CST ) [Listen] Permalink 评论 [1]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

OpenOffice文字显示混乱的处理

OpenOffice文字显示混乱的处理

如果打开的文件中使用了包含了系统中不存在的字体,那么OpeOffice有可能将文档显示的有点混乱。OpenOffice其实是提供了解决方案的,那就是字体映射表。OpenOffice会用你指定的字体替换文档指定的字体。例如我用温泉正黑替换宋体。方法是Tools->Options->OpenOffice.org->Fonts:


My Tags:

( 2007年12月08日, 11:48:28 上午 CST ) [Listen] Permalink 评论 [3]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20071201 星期六 2007年12月01日

抗战时期的美女杀手——郑萍如

这是一篇转过来的文章 。有感于最近某大导演不顾历史事实,仅凭一篇似是而非的小说,及其充满想像力的小脑袋,用其高超的拍摄技巧,将一位可歌可泣的烈士,在其死了60余年之后拖出来鞭尸。

抗战时期的美女杀手——郑萍如

周佛海口中的郑萍如

 

《江心秋月推荐》

 

1945年深秋,重庆歌乐山,一片郁郁葱葱的松林之中,有一座四面用竹篱围起来的院落,院里有一排十来间平房。在抗战时期,这里曾是中美合作所副主任梅乐斯和参谋长贝乐利的住处,现在成为关押周佛海、丁默邨汪伪大汉奸的临时场所。

[Read More]

My Tags:

( 2007年12月01日, 09:13:59 下午 CST ) [Listen] Permalink 评论 [3]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20071127 星期二 2007年11月27日

最短的google域名 g.cn

不知道google是怎么注册上这个域名的。

( 2007年11月27日, 10:50:51 下午 CST ) [Listen] Permalink 评论 [1]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20071117 星期六 2007年11月17日

使用Mercurial(水银,一种版本控制系统)将你的*nix系统添加到版本控制系统

本人一直试图找一个版本控制系统可以将我的linux系统的文件系统方到版本控制之下。那样就不怕丢东西,更新时也不怕丢东西了。我试过CVS和SubVersion,都不太好,我甚至动了要自己写一个的想法。直到我发现了Mercurial。有了这个东西后就一切豁然开朗了。它有三个独特的属性,以至于将整个系统加入版本控制对它来说易如反掌。这三个特性是:
1.它不会在每个目录下创建一个文件。它只在你希望加入版本控制的目录的根目录创建一个.hg文件夹。要知道很多系统是不能识别CVS或SubVersion的目录的,他们会被当成正常目录来处理,导致很多基于目录结构的程序失败。Mercurial只有一个目录就很好的避免了这种麻烦。
2.它包含一个addremove命令。"hg addremove". hg是mercurial的命令,取自水银的化学符号。hg addremove自动添加新文件,移出被删除的文件。用起来太方便了。
3. 它是分布式的,很容易备份。用hg pull就行了。
下面是具体的步骤:

1.安装mercurial. ubuntu系统下可以用sudo apt-get install mercurial.其他系统请参照各自系统文档,也可以到http://www.selenic.com/mercurial/wiki/下载。装完之后可以执行hg验证一下,也大致看一下hg的参数。
2. 在系统根目录/下创建一个.hgignore文件,在这个文件中出现的东西会被自动跳过,将我们不希望添加到版本控制的文件和文件加入到这个文件。有几个是必须跳过的,最小的.hgignore文件看起来向这样:
var/
proc/
dev/
sys/
3.执行 cd / && sudo hg init
4.执行 sudo hg addremove && sudo hg commit -m "add system root to mercurial rep"
5.如果你不需要备份这些文件,这一步可以省略,切换到备份目录执行:  hg clone / root

这样就好了。几分钟时间的事。
你可以将这条命令加入到crontab:cd / && hg commit -A -m "system changed at `date`" .这将自动提交所有的更改。 也可以在备份文件夹下用hg pull /同步更新。



Technorati Tags: , , , , , ,

( 2007年11月17日, 06:56:00 下午 CST ) [Listen] Permalink 评论 [1]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

versioning your root with Mercurial

I am looking for this for the long time. I have tried cvs,subversion. It's really hard for use them to versioning the unix root. Finally I found Mercurial. I found it's really easy version the root system with mercurial. There are three features in mercurial which makes happen. The first one is the mercurial storage. Unlike CVS/SubVersion, mercurial will not create folder in each folders. It will only create a .hg folder in the root of the version folders. The second one is that mercurial has an addremove command: hg addremove. It will add all new files and remove all missing files from the repository. So it's easy to automatic add files to the repository. The last one is mercurial is a
distributed version control system. It's easy to backup repository. You just need:hg pull.

 5 steps:
1. Install Mercurial. For ubuntu users please use sudo apt-get install mercurial. For other system please see the document in your system or get directly from http://www.selenic.com/mercurial/wiki/. The command for mercurial is hg. hg is the chemical symbol for mercury, from the Greek hydrargyrum.
2. Create a .hgignore file in /. It should look like this:
var/
proc/
dev/
sys/
And you can also add other folder names to this file to ignore them while versioning the system.
3.become root (you can do this by "sudo -s" in most system), change to / and execute hg init
4. hg addremove && hg commit -m "add system root to mercurial rep"
5. goto a backup directory ,execute: hg clone / root

You can also add cd / && hg commit -A -m "system changed at `date`" to crontab. This will add all new file, delete all missed file the commit the changes.
And can use hg pull / at the backup folder to sync up the backup repository and the root system.

Just so easy.




Technorati Tags: , , , , , ,

( 2007年11月17日, 06:30:19 下午 CST ) [Listen] Permalink 评论 [0]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

Google机器人(android)来了

Google的手机策略终于浮出水面了。它将通过开放手机联盟(open handset alliance,http://www.openhandsetalliance.com,不知道正式的英文翻译是不是这样)发布一款开源的手机操作系 统,这东西叫android,查了一下字典,意思是机器人。这一查还真吓了我一条,这个机器人不知道指的是那个即将发布的手机还你我。
不管怎么说还是先看看它是个什么东西吧。
Android这东西据说是 Google收购一个同名小公司得到的。这东西据说包含以下功能:

  1. 一个可重用的应用程序框架。

      本人大概试用了一下它的 SDK开发工具集,目前基本上是基于Javaxml的。其界面的开发模式类似于 Mozilla XUL. 就是用一堆 xml文件将界面布局描述出来,再用程序绑定数据和事件处理。 其中最有意思的是R.java,是自动生成的资源索引文件,就是给每一个每一个资源,包括图片,界面,字符串等编号,程序中只需要引用这些就行了。这个文 件是编译的时候生成的,这样可能比java里目前常用的properties文件基于字符串的查找要快很多。但是我有时候也在想这种自动生成的编号要如何 维护?每次生成的是不是会变掉呢?改动资源之后再生成是否就变掉了能?如果会随便变调的话那就有些麻烦了,就会有程序和资源不同步啊,多个工程不太容易共 享资源啊等等问题。 当然了我也没深入研究,希望是我杞人忧天了。扯远了,回到正题。 Google没有这个可重用的框架是Java的,而且在SDK里还提供了一个 AIDL程序,就是Android Interface Definition LanguageAndroid界面定义语言,也是是一种 IDL语言。由此可见 java将不是 Android的唯一编程语言。java编程需要IDL吗?以前还真没用过!当然这只是我的一个猜想,或者人家就是有些理由必须用IDL而不能用 java interface

  1. Dalvik virtual machine 据说是一个为手机优化的java虚拟机。不过更多的说法是为了避开Sunjava授权。这个虚拟机的能执行扩展名为dex的文件。AndroidSDK提供了一个程序dx来生成这种文件。这让我想起了黑莓的alxcod文件。为了支持黑莓手机,你要写一个 alx文件,然后用 RIM提供的工具将 jar文件转换到 cod文件。不过黑莓还好,支持标准的j2me的各种标准,只要是符合标准的程序转换格式之后都能在黑莓上使用。比如本人的词典程序就有黑莓版。但是这个机器人就不好说了,至少从它目前的SDK中没看出它会支持j2me. 不过它的SDK中的android.jar里有一些javax.microedition.lcdui的类。不知道他们到底是怎么想的。

  2. 一个集成的浏览器。基于WebKit,就是苹果上的 safari,最早叫 KHTML。从KDE世界走出来的。开源的世界真是有意思,从solaris,linux,bsdgnome,kdemozilla,webkit,再到compiz,beryl。有时候开源项目之间的竞争与对立较之商业软件更甚。那么这次为什么是 WebKit胜出呢?WebKit可能确实有些过人之处吧?或者因为http://trac.webkit.org/projects/webkit/wiki/S60Webkit有成功案例?又或者是因为Mozilla/Firefox已经太过肥大,没法适应手机的需要?拭目以待后续发展吧。这同时让我想起了OpenOffice,好像至今没有人真正开始将它移植到手机平台。所以目前的开源手机平台上始终没有一个可以和微软Office抗衡的开源办公软件。这不能不说是一个遗憾啊。不知道Google是不是希望我们在手机上用Google Doc吧?至少目前从模拟器里来运行看起来还是惨不忍睹。

  3. 优化了的图形显示。这个就比较牛了。支持2D之外,还支持通过OpenGL ES 1.0标准支持3D,甚至还有可选的硬件加速. OpenGL ES 1.0是参照OpenGL 1.3标准制定的。ESembedded systems(嵌入式系统)的缩写。

    不知道这和Java3D又是什么关系。是另起炉灶吗?希望不是,但是谁知道呢。

  4. SQLite数据存储。 SQLite是一个开源的数据库。它非常小,而且最特殊的是它的协议。它是public的。就是没有协议,全宇宙的共通财产,你爱怎么处置都行。

  5. 媒体格式支持。据说支持各种视频,音频及图片格式,如MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF等。不过不知是不是支持rm格式?如果支持,是移动rm还是标准rm

  6. GSM (2G),EDGE(2.75G),3G, 蓝牙,Wifi等。

  7. 数码相机,GPS等。

  8. 丰富的开发资源。废话。那个系统不提供啊。

    好了就是这些了。

    突然想起来,Sun也收购了一家生产手机操作系统的公司savaje。一直看到http://www.savaje.com/上说 Sun已经完成了对savaje的收购。据说就是Java Mobile FX(见http://www.sf.org.cn/news/industry/200707/20070716092839.html)。


    多一种选择对最终用户来说终归是好事,不过开发人员就比较头疼了。

My Tags:

( 2007年11月17日, 01:48:43 下午 CST ) [Listen] Permalink 评论 [1]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20071114 星期三 2007年11月14日

关于"老外"

最近看到一篇外国朋友的文章认为"老外"是中国人对外国人不尊重的称呼. 仔细想了想,觉得作为中国人,并没有在"老外"这个词赋予贬义. 个人认为这是对外国人的一种亲切的称呼,或者至少是中性的一个称呼. 或许那位外国误解了"老"的意思. "老"在这里并不能理解为"年老的","老外"也不能理解为"年老的外国人". 老除了表示年龄大的,还有一些其他的用法. 就像"老师"不能理解为"年老的师傅". 当然从词源上讲"老师"可能真的是来源自"年老的师傅",但是现在已经成为一种固定的称呼的. 还有一类"老"的用法例如"老兄","老弟","老姐" 这一类,更多的是一种昵称,某种程度上表示"固定的","长期的",例如"老朋友",就是表示认识很久了的长期的朋友.  再有就是"老张","老王","老李"之类这些词中的"老",他们可以用来称呼比你大的人,某种程度上是表示"年老的",但是这个地方却是一种尊称,表示所称呼的对象有资历. 这种称呼可以作为第二人称或第三人称用. 比如可以尊称你正在谈话的对方,也可以是第三方. 如果一个老外这样称呼一个中国朋友,那么你的朋友会感觉你非常尊重他,也会认为你的中文比较有水准. 比如我姓李,别人就可以称呼我为"老李". (当然现在还是叫"小李"的多.:) ,偶尔被人称为老李还有点怪怪).

基于以上的原因我认为"老外"的"老"基本上介于"老师"的"老"和"老兄"的老之间. 基本上是一种固定的称呼,甚至是某种昵称.  历史上在中文中却是有一些对外国人的蔑称,例如"洋人","洋鬼子"等. 这些都是特定历史条件下的产物,是时,外国人凭着坚船厉炮任意凌辱中国人,所以中国人对外国人也没有好的称呼. 现在时过境迁,这些蔑称也没人用了.

 语言还真是有有意思的东西. 单一个"老"字就那么有意思.

My Tags:

( 2007年11月14日, 10:57:18 下午 CST ) [Listen] Permalink 评论 [1]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20071101 星期四 2007年11月01日

支付宝的利息哪去了

最近经常用淘宝,发觉它的支付宝真是好东西,可以先将货款付给支付宝,确认收获后再确认付款. 买方卖方都有所保证. 但是我突然突就想在这货款没有付给卖方的这其间的货款的利息去哪了?
对于每个买家来说这笔钱不是太大,不过累积起来那可就是一个大数字啊! 不知道从法律上讲这笔钱是归谁.希望有经验的朋友们思考一下.


Technorati Tags: , , ,

( 2007年11月01日, 10:38:25 下午 CST ) [Listen] Permalink 评论 [5]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

假如gmail把你的邮件标为垃圾邮件

用了一段时间gmail. 发现丢了好多应该收到的邮件. 仔细找了找发现原来被加入了 Spam文件夹. 这些被放到spam里的邮件通常有如下规律,如果你也有类似情况,请查看一下你的spam文件夹中是不是有有用的邮件.
1. 收件人地址不是你的gmail地址. 比如把你的gmail加入到了一些邮件列表,而邮件的目标地址又是那个邮件列表而不是直接发到gmail地址. 这样的邮件好像特容易被认为是垃圾.
2. 邮件标题有中文,文件又比较短
3. 邮件中只有附件,内容为空

如果遇到你的文件被放到了spam文件夹,你可以使用如下步骤将它救回:
1. 打勾你希望救回的邮件前面的选择框
2. 点击上面的"Not Spam"按钮

还好 gmail好像还比较智能. 你将类似的邮件点过几次"Not Spam"之后它就不再把类似的邮件设为垃圾邮件了.


Technorati Tags: , ,

( 2007年11月01日, 10:28:24 下午 CST ) [Listen] Permalink 评论 [0]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20070918 星期二 2007年09月18日

linux下java的中文字体设置

从 java.sun.com下载的 jdk在我的机器上有时不能显示中文,后来发现Ubuntu直接装的jdk就可以,比较了一下发现主要是多了个fontconfig.properties 文件,将Ubuntu自带的复制到自己下载的 jdk的jre/lib目录就 OK了. 现附上这个fontconfig.properties,如果你在linux下java也无法显示中文,你可以试试将这个文件复制到jre/lib目录下试试.

Technorati Tags: , , ,

( 2007年09月18日, 04:06:40 下午 CST ) [Listen] Permalink 评论 [1]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20070912 星期三 2007年09月12日

使用 OpenOffice修复损坏的 Word文档

由于已经帮人解决过好多次了,所以在这里记录一下以便其他人可以参考.
有时候Word文档会无端的无法打开了,可能是你编辑时程序出错了,或者是死机了,不少朋友遇到这个问题找到我,我的答案就是OpenOffice,装个OpenOffice,打开损坏的文档,另存为 Word文档,一切就这么恢复正常了.
当然恢复的文档有可能会丢失一些格式方面的东西,也有可能恢复不成功(目前为止我还没有遇到这种情况).


Technorati Tags: ,

( 2007年09月12日, 12:19:28 下午 CST ) [Listen] Permalink 评论 [3]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20070713 星期五 2007年07月13日

Postgresql和Java的相似之处: 关于postgresql vacuum的思考

从学生时代开始,本人就于开始接触数据库,从dBase,foxbase,microsoft access到microsoft sqlserver,sybase sqlserver,db2,oracle到开源的mysql,hsql,derby. 最近有机会接触了一下postgresql。有一个东西给我制造了不小的麻烦,那就是 postgresql不会自动清楚已删除的数据,用户需要定时执行vacuum去做一些垃圾收集及性能优化的工作。如果不做 vacuum那么postgresql基本上是只往数据文件中追加数据,如果数据库包含变动较快的数据,频繁增删的数据,那么postgresql的数据文件就会快速增大,性能也会极速下降,直到vacuum被执行。
在 postgresql的文档中有vacuum的具体使用,这里是英文文档:http://www.postgresql.org/docs/8.2/static/maintenance.html  ,中文文档在这里:http://www.pgsqldb.org/pgsqldoc-8.1c/maintenance.html . 从这些文档中你还可以找到关于autovacuum(自动 vacuum)的描述,建议安装 postgresql之后启用autovacuum。
vacuum这个东西在以前接触的数据库中完全不存在,但是它还是令我有种似曾相识的感觉。那就是java中的内存回收机制。它们都是把资源回收这种我们一般认为要尽早完成的工作放到了一边,等待批量处理。这样做自然有它的好处,但是带来问题也同样多。难道它们就不能采取一些更有进取精神的方案吗?谁知道呢,但是无论如何它们在各自的领域都还取得了不可否认的成功。
这让我又想起了英报全球十大在建建筑中对央视电视塔的评价:这样的建筑不能太多。

Technorati Tags: ,

( 2007年07月13日, 08:51:20 上午 CST ) [Listen] Permalink 评论 [0]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

Sun ODF文档对微软Office兼容插件1.0发布

Sun ODF Plug-in是Microsoft Office的扩展,它可以让微软Office读写ISO标准ODF文件,支持Office 2000, XP和 2003,并同时可以工作在Windows XP和Vista下.还赋予MS Office写入ODF文档,表格和简报文件 (.odt, .ods, and .odp) 的功能 - 看上去和使用MS Office没什么两样.
除此之外,ODF文本文档(.odt)还可以成为MS-Word的默认格式保存.

下载:Sun ODF Plug-in 1.0 for Microsoft Office

Technorati Tags: , , ,

( 2007年07月13日, 07:46:55 上午 CST ) [Listen] Permalink 评论 [0]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20070702 星期一 2007年07月02日

install Fuji Xerox DocuCentre 450 I printer in linux

The general id is to get the ppd file for this printer from the official driver for this printer, then use cups to install it.
Steps:
1. Make sure you have cups installed
2. Check where msexpand exist, if not exist, install mscompress at http://gnuwin32.sourceforge.net/packages/mscompress.htm, we need msexpand from this package to uncompress the ppd file from the official
3. Get the  Postscript printer driver of DocuCentre 450 I for Windows 95/M at http://www.fujixerox.com.au/downloadfile/ap550i/win9xps412205-051111-nsap_on.zip . The file I get is: win9xps412205-051111-nsap_on.zip, view http://www.fujixerox.com.au/support/downloaddriver?productId=400&operatingSystemCode=all  for updates.
4. Unzip it, you will get a folder  Win9x_Me
5. uncompress the ppd file we need using msexpand
 msexpand fx45dep1.pp_
6. Move the the uncompressed file from fx45dep1.pp to fx45dep1.ppd
7. open http://localhost:631/ in browse or sudo gnome-cups-manager
The newer cups will auto detect your printer, if it not detected your printer, please use raw socket connection,and use socket://hostname as the device uri.
8. When ask driver, please select Provide a PPD File in CUPS web admin page, or select install new driver in gnome-cups-manager. Select fx45dep1.ppd if you are asked for a ppd file.





Technorati Tags: , ,

( 2007年07月02日, 03:39:14 下午 CST ) [Listen] Permalink 评论 [0]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

免费享受了一次商务舱的服务

北京最近真的是很“热”啊。在美国呆了两周回北京,提前两个小时去机场居然在自助登机设备上已经显示没有座位可用。这可是平生第一遇到的情况,各位见笑了,本人坐飞机的次数不多。幸好还有提示告知登机口处可给安排座位。没座的还不少,居然排起了一个小小的队伍。最后给了个 16A。登机时被空服引导到了楼上雅座。这就是所谓的商务舱了。商务舱是每侧并配俩座。前后座之间挺宽敞,座位基本上可以放平躺着。每个座位上有个小电视。有个行程中的食品供应菜单。包括什么头盘,主菜,甜点,小吃等,每样有二三样可选。十几排座位总共估计40几个人,俩服务人员。各种饮料不停的帮你倒。在下面经济舱极少见的香滨,葡萄酒之类的随便喝。
另外据空姐报告本次航班全部客满。那我就在想啊,如果我再晚一会等商务舱分完了是不是能给个头等舱坐坐。算了算了,人不能太贪心。


Technorati Tags: ,

( 2007年07月02日, 06:42:53 上午 CST ) [Listen] Permalink 评论 [0]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20070619 星期二 2007年06月19日

how to install Simplified Chinese Language Pack/how to display this blog in english version windows

Some english only windows system well unable to to display this blog well. You will need to install Simplified Chinese Language Pack to show some some entries in this blog. You can do it in three ways:

1.  If you have your windows installation cd, you can let ie install the language pack. Just goto View->Encoding->More->Chinese Simplified (GB2312), ie will let you put your windows installation cd in the cdrom. After the installation, you can show the Chinese in this page.

2. Got to get a ie_zhc.exe, which is the Simplified Chinese Language Pack installation file provide by microsoft. You can get it here:http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=deb6731a-ca36-47a3-b4a0-2a1d19eefa05 . Validation Required. If you don't have Microsoft Office installed, you will not pass the validation. Don't understand why you need a Office Validation while you want to install a ie language pack.

3. It's said install Microsoft Office will install the language packs needed. I didn't check this myself.

 The really funny thing I found about the language pack is: After I install the Simplified Chinese Language Pack, I can Japanese too. Not know what the installation do for my windows.

My Tags:

( 2007年06月19日, 12:05:22 上午 CST ) [Listen] Permalink 评论 [2]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20070618 星期一 2007年06月18日

UA太欺负人了

今天刚坐的UA飞华盛顿然后转波士顿。不知道是我运气不好呢还是美联航太欺负人了,列举几件气人的事情。
首先,飞了很久也没有娱乐节目,也没有电影。后来终于乘务长发了个广播说:不好意思大家,我没没拿到节目单上的电影。我们方其它的吧。
然后就等呗。
两个小时过去了,睡了一小觉。乘务长又发话了:不好意思了各位,没注意到经济舱的屏幕坏了,经济舱的朋友再等会等吧,等头等舱的朋友把这部电影看完了我们再放下一部。
没辙,只能怪自己没钱,公司又不愿意出头等舱的钱。继续等。
又不知等了多久,好嘛终于开始了。英文对白,听着太累,记得最开始乘务长讲过有两个声道,转代第二个声道,好嘛,日文版。感情从北京飞华盛顿的航班也要照顾到日本人呢。不过调了一圈就是没有中文版的。UA对中国人的英语及日语水平太有信心了。
更可气的是我找乘务员要sprite,她告诉我没有,给了我一罐可乐。等她的车从我身边走过了时候,我看见她的车里还有好几罐,上面个个印着两个大字 "雪碧"。也不知道是我sprite说的不对还是乘务员姐姐压根就不认识这俩中文字。注:估计是为了节约成本,飞机上的饮料食品都是从中国本地采购的,中文包装居多。
怀念乘坐国航的日子...... :)

( 2007年06月18日, 02:06:34 下午 CST ) [Listen] Permalink 评论 [4]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20070617 星期日 2007年06月17日

在 solaris平台上用gcc编译 perl模块

Solaris上的缺省安装的perl是用Sun自己的编译器编译的。原来叫 Forte现在叫Sun Studio。 因此在 solaris上安装 perl 模块也会去寻找Sun的编译器。现在你可以到 http://developers.sun.com/sunstudio/downloads/index.jsp 下载和免费使用这些编译器。这也是推荐的方式。但是如果你懒得这么做,而且你的系统已经安装了 gcc,那么你可以试试perlgcc。 perlgcc的完整路径通常是/usr/perl5/<version>/bin/perlgcc,例如如果你的版本号是5.8.4那么perlgcc的路径就是
/usr/perl5/5.8.4/bin/perlgcc。
你可以用perlgcc启动 CPAN:
/usr/perl5/5.8.4/bin/perlgcc  -MCPAN -e shell
这样CPAN就会用gcc编译你的模块。
如果你已经下载了模块的源代码你也可以手工编译:
/usr/perl5/5.8.4/bin/perlgcc  Makefile.PL
make && make install

这些用 gcc编译出来的模块在缺省安装的 perl下也是可以使用的。
更多信息可以参照下面的链接(不好意思英文的) :http://search.cpan.org/~aburlison/Solaris-PerlGcc-1.3/pod/perlgcc.pod



Technorati Tags: , , , , ,

( 2007年06月17日, 08:25:01 上午 CST ) [Listen] Permalink 评论 [0]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20070616 星期六 2007年06月16日

build perl modules on solaris without Sun C Complier installed

The perl on solaris is built with Sun's C Complier. So the perl modules are suggested to built using SUn C Complier too. You can get it here http://developers.sun.com/sunstudio/downloads/index.jsp for free. But if you are too lazy to do so or you want to compile them with gcc, then you can try perlgcc. You can find it at /usr/perl5/5.8.4/bin/perlgcc if your perl version is 5.8.4. If your perl version is others, please try to modify the path with replace 5.8.4 to your perl version.
You can run CPAN with perlgcc:

/usr/perl5/5.8.4/bin/perlgcc  -MCPAN -e shell

Or if you have download the the source files for the module, you can try:
/usr/perl5/5.8.4/bin/perlgcc  Makefile.PL then use make && make install to install the module.
The modules installed with perlgcc will also work with the default perl command.
For more info please read this: http://search.cpan.org/~aburlison/Solaris-PerlGcc-1.3/pod/perlgcc.pod



Technorati Tags: , , , , ,

( 2007年06月16日, 04:59:51 下午 CST ) [Listen] Permalink 评论 [0]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20070612 星期二 2007年06月12日

a1200的图形终端也找到了

http://club.ccmove.com/nclub/topicdisplay-3422-705329.html
虽然描述是错误的,不过程序能执行。安装之后就可以打开一个终端,linux的命令行模式,类似 dos命令行模式。可以直接输入 linux命令。太酷了。


Technorati Tags: , ,

( 2007年06月12日, 07:50:21 上午 CST ) [Listen] Permalink 评论 [0]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists

20070611 星期一 2007年06月11日

a1200的图形SDK看来早就被解决了

http://club1.ccmove.com/nclub/topicdisplay-3422-682222-1.html
有空试试,编个图形程序玩玩。
现在最希望的是整个终端程序。

( 2007年06月11日, 09:27:09 下午 CST ) [Listen] Permalink 评论 [0]

Share and enjoy:  Bookmark it with Blinklist Submit to Bloglines Bookmark it with Blogmarks Track with co.mments Bookmark it with Del.icio.us Submit it to Digg Submit it to Fark Bookmark it with Furl Bookmark it with Ma.gnolia Bookmark it with Maple Bookmark it at NewsVine Bookmark it at reddit.com Bookmark it at Simpy.com Bookmark it with Spurl Submit it to slashdot Track with TailRank See who links to it via Technorati Bookmark it with wists