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

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

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

    統計

    留言簿(1)

    DB

    Others

    QA

    Tech Website

    閱讀排行榜

    評論排行榜

    #

    【轉】Android 2.1 源碼結構分析

         摘要:   閱讀全文

    posted @ 2011-07-09 09:37 XXXXXX 閱讀(246) | 評論 (0)編輯 收藏

    Android Coding for Life-Battery Life

    關于Android編程中如果省電的講解

    可以作為開發者的參考 :)

    posted @ 2011-07-08 09:37 XXXXXX 閱讀(1573) | 評論 (0)編輯 收藏

    【轉】Java學習的30個目標以及系統架構師推薦的書

         摘要: 2.你需要學習JAVA語言的基礎知識以及它的核心類庫 (collections,serialization,streams,networking, multithreading,reflection,event,handling,NIO,localization,以及其他)。  閱讀全文

    posted @ 2011-06-18 15:25 XXXXXX 閱讀(688) | 評論 (1)編輯 收藏

    學習Python的好網站

    1)http://www.pythonchallenge.com/
      提供了不同level的Python題目,非常有趣的題目。做完一題后,把URL中的pc改為pcc可以看到上一題的答案

    2)http://projecteuler.net/
      里面有200多道題目,不要要求提交代碼,只要最終答案,提供用各種語言來解決問題。這里(http://dcy.is-programmer.com/posts/8750.html)有部分題目的答案

    非常好玩,有興趣的朋友,快來試試吧

    看看 project euler 的第一道題:

    If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000.

    用 python 語言寫出來是:

     

    print sum(i for i in xrange(11000if i % 3 == 0 or i % 5 == 0)

     


     

    posted @ 2011-06-17 20:26 XXXXXX 閱讀(4384) | 評論 (2)編輯 收藏

    Dom4j解釋XML示例

         摘要:   閱讀全文

    posted @ 2011-06-15 17:53 XXXXXX 閱讀(366) | 評論 (0)編輯 收藏

    【轉】《InfoQ Explores: REST》介紹

    This is the first edition of what is expected to become a recurring series on InfoQ. The idea behind this minibook is that a number of InfoQ articles and interviews which deal with a particular topic (in this case, REpresentational State Transfer, or REST) are combined together to provide a detailed exploration suitable for both beginners and advanced practitioners.

    Read More: http://www.infoq.com/minibooks/emag-03-2010-rest;jsessionid=1E2375E822D980824403DAD46588FAFE

    posted @ 2011-06-15 12:39 XXXXXX 閱讀(247) | 評論 (0)編輯 收藏

    Python中的Closure


    #定義:如果在一個內部函數里,對在外部作用域(但不是在全局作用域)的變量進行引用,那么內部函數就被認為是閉包(closure)
    分解來說,包含下面3個條件:
    1) 需要函數嵌套, 就是一個函數里面再寫一個函數.
    2) 外部函數需要返回一個內部函數的引
    3) 外部函數中有一些局部變量, 并且, 這些局部變量在內部函數中有使用
    一些概念:
    1)自由變量: 外部函數中定義的局部變量, 并且在內部函數中被使用
    2) 閉包: 那個使用了自由變量并被返回的內部函數就稱為閉包

    #支持閉包的語言有這樣的特性:
    1)函數是一階值(First-class value),即函數可以作為另一個函數的返回值或參數,還可以作為一個變量的值
    2)函數可以嵌套定義,即在一個函數內部可以定義另一個函數

    #代碼示例

     1def counter(start_at=0):
     2    count = [start_at]
     3    def incr():
     4        count[0] += 1   #對局部變量的引用
     5        return count[0]
     6    return incr  #返回一個函數對象
     7
     8
     9if __name__ == '__main__':
    10    c = counter(3)
    11    print type(c)
    12    print c()
    13    print c()
    14


     

    posted @ 2011-06-15 07:31 XXXXXX 閱讀(1307) | 評論 (0)編輯 收藏

    Trie Tree

         摘要: #Trie Tree的基本特點
    1)根節點不包含字符,除根節點外每個節點只包含一個字符
    2)從根節點到某一個節點,路徑上經過的字符連接起來,為該節點對應的字符串

    3)每個節點的所有子節點包含的字符串不相同
      閱讀全文

    posted @ 2011-06-14 16:57 XXXXXX 閱讀(1083) | 評論 (0)編輯 收藏

    Bloom Filter

         摘要: The Bloom filter, conceived by Burton Howard Bloom in 1970, is a space-efficient probabilistic data structure that is used to test whether an element is a member of a set.False positivesare possible, but false negatives are not. Elements can be added to the set, but not removed (though this can be addressed with a counting filter). The more elements that are added to the set, the larger the probability of false positives
      閱讀全文

    posted @ 2011-06-12 23:58 XXXXXX 閱讀(299) | 評論 (0)編輯 收藏

    【轉】How Google Tests Software - A Brief Interlude

         摘要: These posts have garnered a number of interesting comments. I want to address two of the negative ones in this post. Both are of the same general opinion that I am abandoning testers and that Google is not a nice place to ply this trade. I am puzzled by these comments because nothing could be further from the truth. One such negative comment I can take as a one-off but two smart people (hey they are reading this blog, right?) having this impression requires a rebuttal. Here are the comments:  閱讀全文

    posted @ 2011-06-06 16:03 XXXXXX 閱讀(337) | 評論 (0)編輯 收藏

    僅列出標題
    共8頁: 上一頁 1 2 3 4 5 6 7 8 下一頁 
    主站蜘蛛池模板: 羞羞视频网站免费入口| 亚洲va在线va天堂va手机| 国产亚洲日韩在线a不卡| 午夜毛片不卡高清免费| 亚洲国产AV无码一区二区三区| 国产h视频在线观看免费| 91亚洲国产成人久久精品 | 国产99久久久久久免费看| 亚洲AV无码之日韩精品| 无码日韩人妻AV一区免费l | 亚洲欧美日韩久久精品| 免费观看理论片毛片| 亚洲av日韩av永久无码电影| 日韩在线视频免费看| 日本黄页网址在线看免费不卡| 亚洲人成无码www久久久| 免费在线看黄的网站| 亚洲第一二三四区| 午夜免费福利在线观看| 免费看内射乌克兰女| 国产精品亚洲片在线| 2019中文字幕在线电影免费| 亚洲精品无码专区久久| 亚洲无码精品浪潮| 久久青草91免费观看| 日韩亚洲国产高清免费视频| 免费**毛片在线播放直播| 91精品成人免费国产| 亚洲熟妇色自偷自拍另类| 国产大片免费观看中文字幕| 国偷自产一区二区免费视频| 亚洲欧洲国产精品久久| 日韩亚洲国产二区| 一区二区三区观看免费中文视频在线播放| 亚洲国产高清在线精品一区| 国产无遮挡又黄又爽免费视频| 三年片在线观看免费| 亚洲乱码中文字幕在线| 亚洲线精品一区二区三区影音先锋| 久久九九兔免费精品6| 曰批全过程免费视频免费看 |