1. RDF, Sparql query with python

    Sun 13 September 2009
    • 手艺 tags:
    • python
    • rdf published: true comments: true

    A simple query to test rdf and sparql.

    [codesyntax lang="python"]
    import sys
    import rdflib
    from rdflib.Graph import ConjunctiveGraph

    g = ConjunctiveGraph()

    g.parse(sys.argv[1], format="xml")

    fbns = rdflib.Namespace("http://rdf.freebase.com/ns/")

    player_refs = g.query("""SELECT …

  2. 烧饭

    Sun 13 September 2009
    • 留影
    • 自话 tags:
    • food
    • Life published: true comments: true

    首先再祝标题中的人生日快乐。

    虽说daf同学做菜好看好吃(看出奉承意思的读者请可以买棒棒糖奖励自己),但是这 …

  3. 3 Screenshots

    Thu 10 September 2009
    • 留影 tags:
    • game
    • java
    • jconsole
    • VirtualBox published: true comments: true

    JConsole

    下午给验证码做压力测试,用JMX监控Tomcat性能情况,200并发。Tomcat的配置,initial memory pool是512M,Max是768M。在15:30时我手动执行了一次GC。

    Netpanzer

    跨平台的联机坦克游戏,今天才知道 …

« Page 120 / 133 »