Monthly Archives: 12月 2008

重访IBM CDL旧址

就要离开了, 去附近的旧址走走, 毕竟是呆了一年的地方. 就算是再破再挤, 只要我经历过, 我就会喜欢, 就会留恋.

一刷门, 保安就认出了我. 那个曾经忙着给我们叫车, 忙着收发邮件, 忙着各种杂活, 经常加夜班, 却拿着1000元工资的保安, 现在终于可以清闲下来了. 留守下来的一小拨人, 不到20, 相比过去的几百号人, 现在那个宽敞啊, 每个人都可以分到10个以上的座位.  四楼入住了另一个公司, 超级赛亚人司机还在, 运动器械又重回实验室, 跑步机, 乒乓球台, 又架了起来.
分享家:Addthis中国

Opera Widget推荐

Opera 的widget 类似于firefox的plugin (add-ons), 有些widget还蛮有特点的.

官方Opera widget 是 http://widgets.opera.com/

另一篇参考文章 推荐给网站设计者的Opera Widgets

分享家:Addthis中国

完成 wordpress2.7 升级

按照 官方的更新方法, 一步一步来的, 整个过程很顺利.

flash uploader仍然存在bug,  另一个传统的上传方法效果也比较一般,  无奈了.

分享家:Addthis中国

龙永图的思维, 我敬仰, 我学习, 好多共鸣

占坑先.

分享家:Addthis中国

WordPress2.5上传有问题, 2.7同时提供了2套上传方式

WordPress Flash Updater 上传问题不少, 现在新出的 wordpress 2.7 不但提供了原来的flash上传方式, 还同时支持传统的文件上传方式, 真是个很实用的改进。

2.7 变化很大, 后台管理大变脸,更加直观易管理了,但传说中的内置Google sitemap生成还没有见到。

分享家:Addthis中国

今天开始办理离职手续

早上老板sametime里Hi我的时候, 我就知道是要谈谈这个的时候了. 找了个会议室, 商议了具体离职时间, 还给了我一个Separation db 地址. 在里面提交一个申请,  离职流程就开始运转起来了.  没意外情况, 下周五, 2008-12-19, 我将正式离职.

没有回头, 也不想回头, 大胆的向前走吧. 就是这阵说的多, 做的少, 有些对不起兄弟们! 等着我小宇宙爆发吧, 快了!

ps. Leave Reason: Change is needed.

separation

separation

分享家:Addthis中国

Because you have only one life zz

There are moments in life when you miss someone so much that you just want to pick them from your dreams and hug them for real!

Dream what you want to dream; go where you want to go; be what you want to be, because you have only one life and one chance to do all the things you want to do.

May you have enough happiness to make you sweet, enough trials to make you strong, enough sorrow to keep you human, enough hope to make you happy.

Always put yourself in others’ shoes. If you feel that it hurts you, it probably hurts the other person, too.

The happiest of people don’t necessarily have the best of everything; they just make the most of everything that comes along their way.

Happiness lies for those who cry, those who hurt, those who have searched, and those who have tried, for only they can appreciate the importance of people who have touched their lives. Love begins with a smile, grows with a kiss and ends with a tear.

The brightest future will always be based on a forgotten past, you can’t go on well in life until you let go of your past failures and heartaches.

When you were born, you were crying and everyone around you was smiling. Live your life so that when you die, you’re the one who is smiling and everyone around you is crying.

Please send this message to those people who mean something to you, to those who have touched your life in one way or another, to those who make you smile when you really need it, to those that make you see the brighter side of things when you are really down, to those who you want to let them know that you appreciate their friendship.

And if you don’t, don’t worry, nothing bad will happen to you, you will just miss out on the opportunity to brighten someone’s day with this message.

分享家:Addthis中国

ubuntu desktop8.10 + postgresql8.3 + openbravoERP2.40

ubuntu desktop8.10 + sun-java6 + Tomcat6 + postgresql8.3 + openbravoERP2.40 安装成功, 但是tomcat无法启动 openbravo, 原因待查。启动时出错信息如下:

INFO: HTMLManager: start: Starting web application at ‘/openbravo’
Dec 2, 2008 10:11:13 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class org.apache.axis.transport.http.AxisHTTPSessionListener
java.lang.ExceptionInInitializerError
at org.apache.commons.discovery.jdk.JDKHooks.(JDKHooks.java:75)
at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:412)
at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:378)
at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)
at org.apache.axis.components.logger.LogFactory.(LogFactory.java:33)
at org.apache.axis.transport.http.AxisHTTPSessionListener.(AxisHTTPSessionListener.java:33)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3787)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1247)
at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:604)
at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:129)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:283)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:56)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
at java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkCreateClassLoader(SecurityManager.java:594)
at java.lang.ClassLoader.(ClassLoader.java:226)
at org.apache.commons.discovery.jdk.PsuedoSystemClassLoader.(PsuedoSystemClassLoader.java:73)
at org.apache.commons.discovery.jdk.JDK12Hooks.findSystemClassLoader(JDK12Hooks.java:215)
at org.apache.commons.discovery.jdk.JDK12Hooks.(JDK12Hooks.java:73)
… 46 more

分享家:Addthis中国

上手难!这一点postgresql要学习MySQL啊!

撇开两者的其他方面,首先是要让它们跑起来, MySQL + PhpMyAdmin 一装, 不看入门教程就把基本的环境搭好了。 而postgresql呢, 我一个学计算机, 第一次配好竟然累计用了差不多5个小时, 关键是找不到很好的入门资料,官方的安装指导毫无实用价值,其他资料也少有击中要害的。 引入了psql, 就该强调一下;运行一个命令,提示信息寥寥数语, 也不确定结果如何; 显示所有数据库, 搜了半天才找到; pgAdmin 3 是需要图形界面的, web的管理软件有没有?
等等等等, pg对第一次的使用者来说, 上手不容易啊。


sudo -u postgres psql postgres 进入psql 模式后,按 ? 可查看 psql 命令, 要执行命令别忘了加分号; 下面列一些典型的命令:

显示所有数据库
mysql : show databases
psql : l 或者l+

使用某数据库
mysql : use xx
psql : c xx

显示数据库表
mysql : show tables
psql : dt

分享家:Addthis中国
Page 3 of 3123