<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 閱讀(140) | 評論 (0)編輯 收藏

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



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

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

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

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

    posted @ 2008-11-28 16:32 Robert Su 閱讀(184) | 評論 (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 閱讀(196) | 評論 (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 閱讀(322) | 評論 (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 閱讀(115) | 評論 (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 閱讀(3007) | 評論 (4)編輯 收藏

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


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

    posted @ 2008-11-11 16:36 Robert Su 閱讀(551) | 評論 (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 閱讀(4466) | 評論 (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 閱讀(811) | 評論 (0)編輯 收藏

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

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

    Copyright © Robert Su

    主站蜘蛛池模板: 成人影片麻豆国产影片免费观看 | 好吊妞视频免费视频| A在线观看免费网站大全| 九月婷婷亚洲综合在线| 亚洲国产精品嫩草影院在线观看| 亚洲二区在线视频| 黄床大片免费30分钟国产精品| 免费H网站在线观看的| 五月婷婷亚洲综合| 一级毛片在线完整免费观看| 四虎免费影院ww4164h| 亚洲精品tv久久久久| 在线aⅴ亚洲中文字幕| 久久综合国产乱子伦精品免费| 国产男女性潮高清免费网站 | 亚洲视频在线观看网站| 国产特黄特色的大片观看免费视频| 亚洲精品亚洲人成在线观看下载| 国产成人无码精品久久久久免费| 四虎www成人影院免费观看| 亚洲日韩国产欧美一区二区三区| 99视频在线免费| 亚洲一级毛片免费在线观看| 全黄大全大色全免费大片| 尤物永久免费AV无码网站| 亚洲一级毛片视频| 看全色黄大色大片免费久久| 亚洲乱码中文字幕小综合| 女人18毛片水真多免费看| 色老头综合免费视频| 国产男女猛烈无遮挡免费视频网站 | 亚洲gay片在线gv网站| 青草草色A免费观看在线| 亚洲AV无码之国产精品| 性xxxx视频播放免费| 一区二区在线免费视频| 精品无码一区二区三区亚洲桃色| 久久久久久久99精品免费| 亚洲AV无码乱码在线观看裸奔| 日韩精品无码免费专区午夜不卡| 久久久久久A亚洲欧洲AV冫|