subscribe to this blog

Logilab.org - en

News from Logilab and our Free Software projects, as well as on topics dear to our hearts (Python, Debian, Linux, the semantic web, scientific computing...)

show 207 results
  • Testing for NaN without depending on Numpy

    2008/05/27

    How can I test if a python float is "not a number" without depending on numpy? Simple, a nan value is different to any other value, including itself:

    def isnan(x):
        return isinstance(x, float) and x!=x
    

  • LAX - Logilab Google AppEngin Sprint at Pycon-FR

    2008/05/20 by Arthur Lutz

    Here are a few pictures from the sprint we organized at Pycon-FR

    We got a few people to install Google AppEngine and LAX on their machines, and explained the concepts at hand to a bunch of other people.

    http://www.logilab.org/image/5002?vid=download

    http://www.logilab.org/image/5003?vid=download

    http://www.logilab.org/image/5005?vid=download

    Update: LAX is now included in the CubicWeb semantic web framework.


  • HOWTO quickly get lax running on linux

    2008/05/19 by Arthur Lutz

    This is how easy it is to get lax to run on your linux machine :

    hg clone http://www.logilab.org/hg/lax/
    wget http://googleappengine.googlecode.com/files/google_appengine_1.0.2.zip
    unzip google_appengine_1.0.2.zip
    ./google_appengine/dev_appserver.py lax/skel/
    

    Point your favorite browser to http://localhost:8080/

    UPDATE: LAX is now included in the CubicWeb semantic web framework.


  • Another step towards the semantic web

    2007/02/06 by Nicolas Chauvat

    I co-organized the Web2.0 conference track that was held at Solutions Linux 2007 in Paris last week . Researching to prepare the talk I gave, I came accross microformats and GRDDL. Both try to add semantics on top of (X)HTML.

    Microformats uses the class attribute and the "invisibility" of `div` and `span` to insert semantic information, as in ::
      <li class="vevent">
        <a class="url" href="http://www.solutionslinux.fr/">
         <span class="summary">Solutions Linux Web 2.0 Conference</span>: 
         <abbr class="dtstart" title="20070201T143000Z">February 1st 2:30pm</abbr>-
         <abbr class="dtend" title="20070201T18000Z">6pm</abbr>, at the 
         <span class="location">CNIT, La Défense</span>
        </a>
      </li>
    

    GRDDL information is added to the `head` of the XHTML page and points to an XSL that can extract the information from the page and output it as RDF.

    Another option is to add `link` to the `head` of the page, pointing to an alternate representations like a RDF formatted one.

    Firefox has add-ons that help you spot semantic enabled web pages: Tails detects microformats and the semantic radar detects RDF. Operator is an option I found too invasive.

    As for my talk, it involved demonstrating CubicWeb, the engine behind logilab.org, and querying the data stored at logilab.org to reuse it with Exhibit.


show 207 results