Staticfree Blog

I have been prowling the concrete wilderness for 4 hours, 47 minutes, and 30 seconds. Before that, I was at home.

Wed, 24 Mar 2004

New photos in robots/:

Things you have to do with a battlebot for charity. Hole in power switch.

Cam(76).jpg

See more ...

trackback enabled :: 2 comments

Mon, 15 Mar 2004

I'm certainly not the first to come up with this idea, but I think it would be pretty swell to have a LojbanRDF converter. (For those playing along at home, unaware of what I'm babbling about, I'll try and make it understandable to as wide an audience as I can).

Lojban and RDF are more alike than you might imagine. One is a constructed spoken language intended to convey ideas clearly and unambiguously, while the other is a machine-readable language for describing things and ideas. Save the "spoken" bit, they're both of the same mindset: create a way to communicate (between people, machines, whatever) without all the crap that makes communication confusing.

There are a few levels to this. First off, to the skeptics: of course one cannot directly translate any arbitrary RDF to Lojban. Both Lojban and RDF provide languages for discussing objects and ideas. However, the meaning of those languages is up to the user to interpret (but is clearly defined in dictionaries and namespace declarations). So, besides the semantics of parsing the two languages, the real meat of a project working with the two is a mapping, a translation.

The best example of this that I can immediately think of is a Lojban mapping of the FOAF namespace. Consider, for example:

RDF


  <foaf:Person rdf:ID="steve">
    <foaf:name>Steve Pomeroy</foaf:name>
    <foaf:knows>
      <foaf:Person>
         <foaf:name>Carolyn</foaf:name>
      </foaf:Person>
    </foaf:knows>
  </foaf:Person>

The English equivalent would be something like, "I am describing a person (#steve). #steve's name is Steve Pomeroy. #steve knows a person named Carolyn.". The next step is to do a similar mapping into Lojban. For this, we will use the Lojban "se slabu" (which translates to "is old/familiar/well-known to", "prenu" which means "is a person" and "cmene" for name. For convenience, I'm translating the RDF identifier rdf:ID="steve" (which can be expressed as "#steve") to the Lojban "la stiv".

Lojban

la stiv. prenu .ije la stiv.se cmene zoi gy. Steve Pomeroy gy. .ije la stiv. se slabu da .ije da prenu .ije da se cmene zoi gy. Carolyn gy.

This parses, using the ever-handy jbofihe, to:

[1(2[prenu1 (person(s)) :] la stiv. [NAME])2 [is, does] <<3prenu being person(s)>>3]1 .i `.' je and [4(5[cmene2 (named thing(s)) :] la stiv. [NAME])5 [is, does] <<6se cmene being named>>6 (7[cmene1 (name(s)) :] zoi gy Steve Pomeroy gy ?)7]4 .i `.' je and [8(9[slabu2 (observer) :] la stiv. [NAME])9 [is, does] <<10se slabu being observer(s) of familiarity>>10 (11[slabu1 (familiar thing(s)) :] da X)11]8 .i `.' je and [12(13[prenu1 (person(s)) :] da X)13 [is, does] <<14prenu being person(s)>>14]12 .i `.' je and [15(16[cmene2 (named thing(s)) :] da X)16 [is, does] <<17se cmene being named>>17 (18[cmene1 (name(s)) :] zoi gy Carolyn gy ?)18]15

You should be able to see that this isn't any where as optimized a way of saying it as possible (it doesn't make use of Lojban's subject context), but it conveys the exact same information as the RFD encoding (keeping things like "#steve" ≡ "la stiv." in mind).

The first step is to create a framework for creating direct translations between the two. Starting out with simple namespaces that can be directly mapped, as was shown above. Mappings should probably be encoded in RDF in order to please the sick and twisted. Eventually, features of Lojban and RDF will have to be taken into account and then translated/transformed. Logical constructors could be used for sequences, subjects can be omitted when redundant, etc.

trackback enabled :: 5 comments

Wed, 10 Mar 2004

Typing this at ~100KPH en-route to Rochester, NY. I'm traveling with Leighton and so I felt it was a fun chance to attempt to share my 'net connection with him. The easiest way to do such is to let him connect to my laptop via WiFi while my computer is connected via my cell phone. It's a bit of voodoo magic to get it going, but once it's up - it's pretty keen.

'Net → cell provider → cell phone via. GPRS → my laptop via. Bluetooth → his laptop via. NAT and ad-hoc WiFi.

See the complete entry to get the technical details on how to set it up in Linux.

See more ...

trackback enabled :: leave a comment

New photos in Rochester/:

Large ice crystals formed on all the plants this morning, due to extremely high humidity (thick fog), no precipitation and sub-zero temperatures. Nature can be so beautiful.

Cam(44).jpg

trackback enabled :: leave a comment

Tue, 02 Mar 2004

I updated my Rawdog to OPML exporter (ver 1.4) to now support categories. You can add OPML categories to your Rawdog file by using the following syntax:


           ### kittens
           feed 60 http://purr.example.com/index.xml
           feed 45 http://kitten.example.com/feed.rdf

           ### news
           feed 60 http://news.example.com/feed
           feed 45 http://morenews.example.com/news.xml

Where the ### comment designates the words after it to be the heading. Not complicated, but quite functional. I also removed the dependency on XML::Simple, as I don't really like using that module for XML generation. It should now be able to run on any out-of-the-box Perl installation.


regarding
trackback enabled :: 1 comment

Mon, 01 Mar 2004

I've noticed a number of "beta" websites popping up recently. Friendster, Orkut, Flickr, Peopleaggregator, and Plink just to name a few.

Now, beta websites have been around for some time. Cute little animated construction equipment icons used to be all the rage. "this page under construction" (only about 5,250,000 hits for "under construction" on Google) generally accompanied the icons. But, this "beta" seems to be a bit different: all the sites are related to social networking and only are of much value if a critical mass of people can be reached.

Is "beta" used to entice people into thinking they can be amongst the specially-invited few who (like Orkut and Friendster) get to participate in the website? Or is it simply a disclaimer warning users of potential instability? I can only imagine a bit of both - especially with Orkut which used invitation-only exclusivity to lure users in. They remind me of the those, "you might have already won! [but in all probability you didn't]" snail-mail ads - it's the little phrase that gets your interest.

I hope this trend fades soon and these services come out of beta. Either that, or they accept the notion that the world is still in alpha and hasn't even gotten to beta yet.

trackback enabled :: 2 comments

Recent Comments

Categories

B6 d+ t++ k+ s u- f- i+ o++ x++ e++ l c-- (decode)

Archive by date

March
Sun Mon Tue Wed Thu Fri Sat
 
     
2004
Months
Mar
If you can read this text, you're either on a browser that doesn't support CSS or one that supports it badly. You've probably noticed that my layout is a bit choppy and perhaps even ugly. My layout here is designed to work in all browsers that support CSS 1 and 2 and was designed by reading the W3C CSS recommendations. It was tested in the most CSS-compliant browser I know of, Firefox. If you want this page (and others too!) to look nice, I reccomend trying Firefox - it's completely free and can also block those annoying popup ads out-of-the-box.

Powered by Blosxom Atom RSS 1.0 RSS 1.1 RSS 1.0 no comments Technorati Profile GeoURL Valid XHTML 1.0! Valid CSS!

Creative Commons License
All original sound, text and graphics on this site (staticfree.info) are licensed under a Creative Commons License.