作者: admin

  • 圣诞节跟爷爷亲热

    宝宝真是大喽,会舔吧人儿,会laisai(大连话)了
    这不,在奶奶怀里还伸手去摸爷爷脸呢
    这样子当老人的能不希罕吗?

    IMG_3694

    这张爷爷抱着,很像爸爸小时候的样子

    IMG_3689

  • 软件公司网站,谁更遵守web标准

    恐怕大家不会相信,竟然是微软(还有mozilla和Opera),尤其microsoft.com与msn.com双双通过,我试了一下现在这个站点sunxiunan.com,也有不少问题。
    不相信?可以自己试试,http://validator.w3.org/
    可惜我经常去的msdn,http://msdn.microsoft.com有73个错误,难道是微软首页特意为validator做了优化??那也说明微软更重视标准吧。

    原文在此
    Microsoft – The Only Ones Following Web Standards!
    Category: Programming | AlexTan
    I’ve been doing work on a website recently, and I try to always stick to standards set by the W3C. Sure, call me a perfectionist, but following these standards can warn you of possible display errors in the browsers you don’t use. To figure out if your site follows web standards, you can go here. I checked out a list of tech websites, to see if many sites adhered to the standards, the results are pretty surprising.

    Alienware – 48 Errors
    Apple – 6 Errors
    C|Net – 1452 Errors! The most!
    Del.icio.us – 21 errors
    Dell – 131 Errors
    Digg – 7 Errors
    Fedora – 1 Error
    GNU – Complete Failure (encoding error).
    Google – 48 Errors
    HP – 29 errors
    Konqueror – Passed Validation
    Microsoft – 0 Errors What???
    Mozilla – 0 Errors (Finally)
    MSN – 0 Errors What??? Again.
    Slashdot – 200 Errors (Slashdot has a mechanism that prevents you from validating, so I validated a Google cache of Slashdot.)
    Sourceforge – 24 Errors
    Sun Microsystems – 8 Errors
    Suse – 3 Errors
    Opera – 0 Errors
    Redhat – 7 Errors
    Wired – 51 Errors
    Yahoo – 265 Errors Wow.

    I’d just like to say kudos to Microsoft. For a company that does so many things wrong, they were actually able to pull off something perfect. Both MSN.com and Microsoft.com adhere perfectly to web standards! Every other company on this list needs to get their act together, especially C|Net with over 1000 errors! If you believe I made a mistake, or have other companies I should add to the list, go ahead and post in the comments.

  • 开发用新版本还是旧版本?

    从http://spaces.msn.com/members/yaolu看到,有些感触。

    先写我的意见,嘿嘿。
    ——————————————————————————————————————————

    按照我们工作规律来说,
    新软件的推出有两种可能,
    1 fix some bugs in previous version.
    2 add new features in current version.

    我建议你看看tomcat的release note,正规的软件开发都会在release note中加上修改了什么,增加了什么。另外,两种版本不兼容更多是因为tomcat是open source,而不是商业支持的软件,这个分别很大。这件事情上,应该用4去做作业,如果有时间,用5来学习新特性,那些从低版本学习的想法都是错误的。软件就要学最新版的,因为那是将来的基础。除非你的工作是legacy软件的维护,比如小日本的很多外包项目。学基础的东西不是软件,而是计算机学科中不变的那些东西,比如算法数据结构,操作系统,编译原理,离散数学,微机原理等等。

    老师说的系统稳定也不是很正确,在我感觉里,当使用VC开发,xp的稳定性要好于2k,尤其是内存分配方面。但是你要搞java开发,与2k没有什么关系,因为它就是cross platform。“不要轻信,哪怕他是所谓的权威”,相信你会找到自己的学习和工作风格的。

    发布者 SUNWEIDALIAN (http://spaces.msn.com/members/sunwell/) – 2005-12-26 9:20:46

    真正写程序的,没有用XP的
    真正写程序的,没有用vista的
    真正写程序的,没有用最新版的

    照这样说,微软的设计师只能跳楼了。
    我们公司前一段有这样2k规定,不过现在大家基本上都用XP了。
    实际是因为dell预装就是xp sp2了,懒得动。

    我是用VC做工业自动化软件开发,工作3年,不知道能不能算得上真正写程序的,嘿嘿。

    发布者 SUNWEIDALIAN (http://sunxiunan.com) – 2005-12-26 9:10:08

    Servlet/JSP Spec Apache Tomcat version
    2.4/2.0 5.5.12
    2.3/1.2 4.1.31
    2.2/1.1 3.3.2

    tomcat4与tomcat5是有很大不同的,嘿嘿,我不是搞java开发,不过也能看出来,
    最重要是他们想要实现的servlet/jsp规范是不同的,你们老师不说这一点,挺害人的阿。
    另外,
    “Please note that alhough we offer downloads and documentation of older releases, such as Apache Tomcat 3.x and 4.x, we strongly encourage users to use the latest stable version of Apache Tomcat whenever possible. ”
    嘿嘿,你做的没有错,如果说连接池有问题,只能说你们写的练习代码是针对tomcat4这个版本的。

    ————————————————————————————————–
    原文是下面这些
    ————————————————————————————————–
    绕了一圈后却还是无法坚持自己的选择,郁闷啊

      我不知道,我是不是又要不得不接受一个不想接受的现实了。

      如果我没有那个所谓的“新软件强迫症”,也许就不会有这次的问题。我比较喜欢使用最新的软件,电脑里安装的软件如果有新版本推出,我一定都会在第一时间下载来使用。这样的习惯从有的自己的电脑后就养成了。
      在这个补习班开始学习JAVA以后,我也在家里安装了相应的软件,只是不同的是,学校的计算机里装的是Win2K+JDK1.4+Tomcat4.0+Eclipse3.0,而到了家里,我在我的XP系统上装了从网上下载的JDK1.5+Tomcat5.0+Eclipse3.1.1。

    (更多…)

  • 跟爸爸撒娇

    爸爸在家的时候宝宝总是很兴奋

    就算人家不理她还是使劲儿往他那里看

    有时奶奶抱着她也往他那里挣

    这不,一到爸爸怀里就开始撒娇了!