<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Our highest priority is to satisfy the customer through early and continuous delivery of valuable software.

    我們的最高目標是,通過盡早和持續地交付有價值的軟件來滿足客戶。

    Welcome changing requirements, even late in development. Agile processes harness change for the customer's competitive advantage.

    歡迎對需求提出變更——即使是在項目開發后期。要善于利用需求變更,幫助客戶獲得競爭優勢。

    Deliver working software frequently, from a couple of weeks to a couple of months, with a preference to the shorter timescale.

    要不斷交付可用的軟件,周期從幾周到幾個月不等,且越短越好。

    Business people and developers must work together daily throughout the project.

    項目過程中,業務人員與開發人員必須在一起工作。

    Build projects around motivated individuals. Give them the environment and support they need, and trust them to get the job done.

    要善于激勵項目人員,給他們以所需要的環境和支持,并相信他們能夠完成任務。

    The most efficient and effective method of conveying information to and within a development team is face-to-face conversation.

    無論是團隊內還是團隊間,最有效的溝通方法是面對面的交談。

    Working software is the primary measure of progress.

    可用的軟件是衡量進度的主要指標。

    Agile processes promote sustainable development. The sponsors, developers, and users should be able to maintain a constant pace indefinitely.

    敏捷過程提倡可持續的開發。項目方、開發人員和用戶應該能夠保持恒久穩定的進展速度。

    Continuous attention to technical excellence and good design enhances agility.

    對技術的精益求精以及對設計的不斷完善將提升敏捷性。

    Simplicity--the art of maximizing the amount of work not done--is essential.

    要做到簡潔,即盡最大可能減少不必要的工作。這是一門藝術。

    The best architectures, requirements, and designs emerge from self-organizing teams.

    最佳的架構、需求和設計出自于自組織的團隊。

    At regular intervals, the team reflects on how to become more effective, then tunes and adjusts its behavior accordingly.

    團隊要定期反省如何能夠做到更有效,并相應地調整團隊的行為。

    posted @ 2008-12-06 12:25 Robert Su 閱讀(138) | 評論 (0)編輯 收藏

    ExtJS例子中的分頁是基于JSON來傳遞對象的
    xmlReader跟JSONReader是有差別的
    今天遇到一個分頁問題一直困擾我,總是得不到正確的總數據數。
    后來發現xmlReader中的總記錄表示為totalRecords而JSONReader對應的是totalCounts



    posted @ 2008-12-06 11:49 Robert Su 閱讀(1041) | 評論 (0)編輯 收藏

    今天跟師兄聊天,他說的一句話令我印象非常深刻——“搞編程3、4年如果還來問你搞java還是C,其實還是很傻逼”
    仔細想想很有道理,搞編程這么久了,其實語言對于程序來說限制很少,關鍵是對于整個系統體系的理解與把握。

    平時做好很明確的項目規劃、進度管理、版本控制,其實這些雖然對于學生來說可能用到的不是特別多,但是還是應該養成良好的習慣

    另外平時做這些代碼工人的工作也許對將來找工作意義不是特別大,所以有必要自己合理的安排下時間學習下其他的

    posted @ 2008-11-28 16:32 Robert Su 閱讀(183) | 評論 (0)編輯 收藏

    由于項目要部署在weblogic上,裝了一個weblogic來測試運行。
    安裝配置完之后提示

    ***************************************************************************
    The WebLogic Server did not start up properly.
    java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local 
    class incompatible: stream classdesc serialVersionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848
        at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:
    562)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:
    1583)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:
    1496)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:
    1583)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:
    1496)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:
    1732)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
    1329)
        at java.io.ObjectInputStream.readArray(ObjectInputStream.java:
    1667)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
    1323)
        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:
    1947)
        at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:
    480)
        at javax.management.MBeanInfo.readObject(MBeanInfo.java:
    669)
        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 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:
    974)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:
    1849)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:
    1753)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
    1329)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:
    351)
        at weblogic.management.internal.TypesHelper.getMBeanInfo(TypesHelper.java:
    261)
        at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:
    366)
        at weblogic.management.internal.ConfigurationMBeanImpl.
    <init>(ConfigurationMBeanImpl.java:128)
        at weblogic.management.AdminServer.
    <init>(AdminServer.java:59)
        at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:
    245)
        at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:
    753)
        at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:
    664)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:
    342)
        at weblogic.Server.main(Server.java:
    32)
    --------------- nested within: ------------------
    weblogic.management.configuration.ConfigurationException:  
    - with nested exception:
    [java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local 
    class incompatible: stream classdesc serialVersionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848]
        at weblogic.management.internal.TypesHelper.getMBeanInfo(TypesHelper.java:
    266)
        at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:
    366)
        at weblogic.management.internal.ConfigurationMBeanImpl.
    <init>(ConfigurationMBeanImpl.java:128)
        at weblogic.management.AdminServer.
    <init>(AdminServer.java:59)
        at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:
    245)
        at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:
    753)
        at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:
    664)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:
    342)
        at weblogic.Server.main(Server.java:
    32)
    --------------- nested within: ------------------
    weblogic.management.configuration.ConfigurationError 
    - with nested exception:
    [weblogic.management.configuration.ConfigurationException:  
    - with nested exception:
    [java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local 
    class incompatible: stream classdesc serialVersionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848]]
        at weblogic.management.internal.TypesHelper.getAdminOrConfigMBeanInfo(TypesHelper.java:
    377)
        at weblogic.management.internal.ConfigurationMBeanImpl.
    <init>(ConfigurationMBeanImpl.java:128)
        at weblogic.management.AdminServer.
    <init>(AdminServer.java:59)
        at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:
    245)
        at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:
    753)
        at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:
    664)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:
    342)
        at weblogic.Server.main(Server.java:
    32)
    ***************************************************************************

    折騰了半天發現是因為weblogic8.1只能對應JDK1.4
    這個確實不如Tomcat方便




    posted @ 2008-11-27 10:36 Robert Su 閱讀(195) | 評論 (0)編輯 收藏

    系統爬蟲部分已經相當完善了,現在開始做前段開發,html+avaScript+spring+Hibernate
    ExtJS其實還是很強大,感覺有種webservice編程的感覺

    今天MyEclipse中可以連到數據庫上,并且可以顯示各個表,可是寫個Junit test 拋出異常
    Javava.sql.SQLException: Io 異常: The Network Adapter could not establish the connection
    JUnit控制臺輸出是這樣的

    Could not connect to:  : 11716            
    java.net.SocketException: Unrecognized Windows Sockets error: 
    10106: create
        at java.net.Socket.createImpl(Unknown Source)
        at java.net.Socket.
    <init>(Unknown Source)
        at java.net.Socket.
    <init>(Unknown Source)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.connect(RemoteTestRunner.java:
    560)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:
    377)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
    196)



    奇怪的是我用筆記本寫個測試連接就沒問題;
    不知道是Myeclipse出了問題還是系統出了問題,之前裝各種服務器把系統搞的有點毛病;
    希望這里有高人看到了給指點下這個問題原因在哪里~小弟先謝過

    posted @ 2008-11-25 12:31 Robert Su 閱讀(316) | 評論 (0)編輯 收藏

    <script>
    function a()
    {
    alert('some thing');
    }

    Ext.onReady(function(){
    Ext.get("btnAlert").addListener("click",a);
    });
    </script>
    <input id="btnAlert" type="button" value="alert框" />

    addLinster方法的另外一個簡寫形式是on
    Ext.get("btnAlert").on("click",a);
    ExtJS支持事件隊列,可以往對象的某一個事件中添加多個事件響應函數——

    Ext.onReady(function(){	
    Ext.get("btnAlert").on("click",a);
    Ext.get("btnAlert").on("click",a);
    })






    posted @ 2008-11-24 23:09 Robert Su 閱讀(112) | 評論 (0)編輯 收藏

    Ext.onReady(function(){
        Ext.QuickTips.init();

      

        var dateMenu = new Ext.menu.DateMenu({
            handler : 
    function(dp, date){
                Ext.example.msg('Date Selected', 'You chose {
    0}.', date.format('M j, Y'));
            }
        });

        
    var colorMenu = new Ext.menu.ColorMenu({
            handler : 
    function(cm, color){
                Ext.example.msg('Color Selected', 'You chose {
    0}.', color);
            }
        });

        
    var menu = new Ext.menu.Menu({
            id: 'mainMenu', 
            items: [   
    //定義菜單中的元素
                {
                    text: 'I like Ext',
                    checked: 
    true,     
                    checkHandler: onItemCheck
                },
             
               '
    -',  //添加菜單上的分隔符
               {
                    text: 'Radio Options',
                    menu: {      
    //定義二級菜單
                        items: [
                          
      '<b class="menu-title">Choose a Theme</b>',
                            {
                                text: 'Aero Glass',
                                checked: 
    true,
                                group: 'theme',
                                checkHandler: onItemCheck
                            }, {
                                text: 'Vista Black',
                                checked: 
    false,
                                group: 'color',
                                checkHandler: onItemCheck
                            }
                        ]
                    }
                },
                {
                    text: 'Choose a Date',
                    iconCls: 'calendar',
                    menu: dateMenu

                },
                {
                    text: 'Choose a Color',
                    menu: colorMenu    //這里前面定義了

                }
            ]
        });

        
    var tb = new Ext.Toolbar();  
        tb.render('toolbar');

        tb.add({
                text:'Button Menu',
                iconCls: 'bmenu',  
    //
                menu: menu  //分配menu到toolbar
            });

        
    // functions to display feedback
        function onButtonClick(btn){
            Ext.example.msg('Button Click','You clicked the 
    "{0}" button.', btn.text);
        }

        
    function onItemClick(item){
            Ext.example.msg('Menu Click', 'You clicked the 
    "{0}" menu item.', item.text);
        }

        
    function onItemCheck(item, checked){
            Ext.example.msg('Item Check', 'You {
    1} the "{0}" menu item.', item.text, checked ? 'checked' : 'unchecked');
        }

        
    function onItemToggle(item, pressed){
            Ext.example.msg('Button Toggled', 'Button 
    "{0}" was toggled to {1}.', item.text, pressed);
        }

    });


    在html中加入
        <div id="toolbar"></div>

    posted @ 2008-11-18 16:50 Robert Su 閱讀(3002) | 評論 (4)編輯 收藏

     計算CPU利用率:
      1,   取出系統中CPU個數;     
      2,   取出當前系統時間(Ticks個數),減去原來保存的系統時間,得出從上次取值到目前的系統時間差;     
      3,   取出系統當前空閑時間,減去原來保存的空閑時間,得出這個時間段空閑時間     
      4,   用這個時間段空閑時間除以系統時間,得出這段時間系統的CPU空閑率     
      5,   用100-(系統的空閑率)/(CPU個數)所得的值就是CPU占有率     


        請問這個算法是否適用于多處理器情況?
        是否直接除以CPU個數就ok了?

    posted @ 2008-11-11 16:36 Robert Su 閱讀(549) | 評論 (0)編輯 收藏

    java是一種解析性的語言,可是多了一個中間步驟,就是把源代碼編譯成class文件,不過此編譯非編譯器的編譯,因為class里面不是機器語言或匯編語言,而是經過編碼的8位字節二進制流。JVM是java的解析器。

    python是一門地地道道的解析型語言。
    它們之間的效率誰更高呢?

    大頭 23:56:14
    “如果相同功能的class和python,class執行要快,因為class已經全部翻譯好了,python還要一句一句解析。”

    Java多了編譯成class的過程,所以效率相對于python要慢一些。

    事實上python也可以產生class一樣的東西
    字節編譯的.pyc文件
    “輸入一個模塊相對來說是一個比較費時的事情,所以Python做了一些技巧,以便使輸入模塊更加快一些。一種方法是創建 字節編譯的文件 ,這些文件以.pyc作為擴展名。字節編譯的文件與Python變換程序的中間狀態有關(是否還記得Python如何工作的介紹?)。當你在下次從別的程序輸入這個模塊的時候,.pyc文件是十分有用的——它會快得多,因為一部分輸入模塊所需的處理已經完成了。另外,這些字節編譯的文件也是與平臺無關的。所以,現在你知道了那些.pyc文件事實上是什么了。”——《python簡明教程》


    (煩請明白的看到了錯誤之處給指正:)

    附:
    編譯型語言,執行速度快、效率高;依賴編譯器、跨平臺性差些。如C、C++、Delphi、Pascal,Fortran。
    解釋型語言,執行速度慢、效率低;依賴解釋器、跨平臺性好。如Java、Basic.

    posted @ 2008-11-08 00:16 Robert Su 閱讀(4461) | 評論 (0)編輯 收藏

    利用類庫MySQLdb
    實例代碼如下:

    import MySQLdb
    conn 
    = MySQLdb.connect("localhost","root","111","test")
    c
    =conn.cursor()
    c.execute(
    """select * from name""")
    out 
    = c.fetchall();
    print out

    posted @ 2008-11-06 16:51 Robert Su 閱讀(809) | 評論 (0)編輯 收藏

    僅列出標題
    共11頁: First 上一頁 3 4 5 6 7 8 9 10 11 下一頁 

    posts - 103, comments - 104, trackbacks - 0, articles - 5

    Copyright © Robert Su

    主站蜘蛛池模板: 在线天堂免费观看.WWW| 精品97国产免费人成视频| 日韩精品无码一区二区三区免费| 亚洲片一区二区三区| 成人精品综合免费视频| 亚洲成a人无码av波多野按摩| 亚洲а∨精品天堂在线| 免费鲁丝片一级在线观看| 欧洲 亚洲 国产图片综合| 成人影片麻豆国产影片免费观看 | 成人免费毛片视频| 亚洲AV无码乱码在线观看代蜜桃 | 亚洲AV乱码久久精品蜜桃| 日本高清不卡aⅴ免费网站| 国产AV无码专区亚洲AV毛网站| 久久国产精品免费一区二区三区| 亚洲欧洲成人精品香蕉网| 成人A片产无码免费视频在线观看| 久久丫精品国产亚洲av| 国产成人精品免费视频网页大全| 亚洲综合偷自成人网第页色| 成人免费无码大片a毛片| 日韩成人精品日本亚洲| 中文字幕不卡亚洲| 99视频精品全部免费观看| 亚洲自国产拍揄拍| 日本免费人成黄页在线观看视频| 美女无遮挡免费视频网站| 亚洲人成网站在线播放vr| 久久国产色AV免费观看| 亚洲精品无码久久久久A片苍井空| 国产成人免费a在线视频色戒| 国产V片在线播放免费无码| 亚洲国产精品自在线一区二区| 毛色毛片免费观看| yellow视频免费在线观看| 亚洲午夜精品一区二区| 午夜视频免费成人| 两个人看的www高清免费视频 | 免费在线黄色网址| 久久免费看少妇高潮V片特黄|