A Year of Travel

December 19th, 2013 8:57 PM

I flew 52 flights in 2013, totaling 68,266 miles.

Air Tahiti Nui Wing

45 flights, and 60,817 of those miles were a part of our around-the-world trip.

2013 Travel Map

Upon returning to the US we moved to California, driving across the country in October.

You're not in Kansas anymore! foursquare badge

I expect there’ll be quite a bit less traveling in 2014, but hopefully just as much adventure.

IRI Encoding Troubles

July 10th, 2013 1:57 PM

Recently, I was tracking down a bug in RDF::Trine submitted by Jonas Smedegaard relating to the handling of unicode in IRIs. The bug involved the decoding of a punycode URI (which was an inadvertent “feature” that snuck in to RDF::Trine due to a feature in URI):

http://www.xn--hestebedgrd-58a.dk/

Strangely, this URI was being treated differently than other punycode URIs (e.g. http://xn--df-oiy.ws/), causing encoding errors in a completely different part of the code.

Upon investigating the problem, I determined that the punycode decoding code in the URI package treats punycode URIs differently depending on if they contain any unicode codepoints that cannot be represented in the Latin-1 encoding. For IRIs with all low-codepoint characters such as http://www.hestebedgÃ¥rd.dk/, the perl value returned by the URI->as_iri method is a Latin-1 encoded string. High-codepoint IRIs such as http://✪df.ws/ are returned as UTF-8 encoded values. This difference caused problems when the values were subsequently passed into Redland’s C code that expected UTF-8 values.

As Gisle Aas, the author of URI, noted in the bug report I submitted on this issue, the simple fix is to call utf8::upgrade on values returned by URI->as_iri. While I believe this should be done in the as_iri method (as it is documented to return “a Unicode string”), until that is the case I hope this post might save some time and trouble for the next person to come across this issue.

Re-emerging

April 19th, 2013 7:07 AM

So, I’ve finished my Ph.D work at RPI, and am going to try to re-emerge on this weblog. Which is something I’ve attempted before (several times!) with mixed success, so we’ll see how it goes.

Bora Bora
Bora Bora

Kat and I (mostly Kat so far) are also posting updates to a travel weblog as we spend six months going around the world. I’ve been putting photos from our trip on Flickr, and highlights will be included in our weblog posts.

Cherry Blossoms
Cherry Blossoms

So far, we’ve been to Alaska, Hawaii, French Polynesia, New Zealand, Australia, and Japan. It’s been pretty fast-paced, but we’ve seen and done some great stuff. If you’re interested, you can follow along from the beginning.

Moving perlrdf to Moose

August 30th, 2012 10:20 PM

Earlier this week I spent a few days at the Preikestolen Mountain Lodge at the Moving to Moose hackathon. I got to meet some great people from the perl5 and perl6 communities, hack on the perlrdf toolkit, and see a couple of great talks.

Lysefjord Cairn || Panasonic DMC-GF1 | Lumix G 20/F1.7 | 1/50s | f13 | ISO100
Lysefjord Cairn

Along with other members of the perlrdf community, I worked on updating our RDF toolkit (RDF::Trine) to use the Moose object system. Chris Prather helped us settle on a design that will simplify code, allow for easy implementation of new parsers, serializers, and stores, and provide a way for implementors to greatly improve the quality of SPARQL query plans produced by RDF::Query.

Ruben Verborgh did some amazing optimization work (with help from Shawn Moore and dtrace) on the pure-perl Turtle and N-Triples parser that yielded two orders of magnitude improvement in parsing speed on some large inputs.

Toby Inkster started converted the classes for nodes and statements to use Moose. Konstantin Baierer worked on modeling the type system in Moose allowing coercion of common objects and unboxed types to their RDF object equivalents. Together they went on to improve the extensibility of the parsing and serializing code, which will make it easier to support custom file formats in the future.

Kjetil Kjernsmo refactored several modules meant to manage XML namespaces into the new URI::NamespaceMap package.

Overall I’m thrilled with the progress we made, and think the new design will allow us to keep improving our code and growing as a community. If you’re interested in more information, join us on irc or the mailing list.

TV

June 4th, 2012 11:52 AM

I cannot believe it’s been over 10 years since Pekka Himanen wrote:

As it stands now, watching television characteristically elicits a feeling that what is being seen must be meant as some kind of absurd parody of what television could be at its worst.

The Hacker Ethic

Case in point.

ISWC 2011

October 31st, 2011 1:52 PM

The 10th International Semantic Web Conference took place last week in Bonn, Germany, and it was a great event.

Beethoven || Panasonic DMC-GF1 | Lumix G 20/F1.7 | 1/500s | f4.5 | ISO100
Beethoven

On Tuesday, I presented my work (done with Jesse Weaver) on HTTP caching of SPARQL query results. The work seemed to be well received, and I had some good discussions about it after the presentation.

There were presentations on two interesting projects for benchmarking SPARQL systems. The DBpedia SPARQL Benchmark (which won the best research paper award) is a new SPARQL benchmark based on real-world data and queries from the DBPedia endpoint. FedBench, meanwhile, attempts to benchmark federated SPARQL query evaluation using a set of both real and synthetic datasets (including a subset of the LOD cloud and SP2B). With the relatively impoverished state of existing SPARQL benchmarks, I’m thrilled to see new work going on in this area.

I spent quite a bit of time with people from Talis, DFKI, and DERI, and only wish there had been more time for the great conversations that took place at and after the conference. I’ve posted some photos from ISWC on Flickr.

Taxes

September 23rd, 2011 1:13 PM

Mark Cuban:

So be Patriotic. Go out there and get rich. Get so obnoxiously rich that when that tax bill comes, your first thought will be to choke on how big a check you have to write. Your 2nd thought will be “what a great problem to have”, and your 3rd should be a recognition that in paying your taxes you are helping to support millions of Americans that are not as fortunate as you.

The Most Patriotic Thing You Can Do

More of this, please.

Kings Canyon

July 15th, 2011 11:39 AM

Zumwalt || Panasonic DMC-GF1 | Lumix G 20/F1.7 | f4 | ISO100
Zumwalt

I spent a few days in Kings Canyon National Park with the family last week. The river was just past its high water mark, and the valley was amazing.

Grizzly Falls || Panasonic DMC-GF1 | Lumix G 20/F1.7 | 1/4s | f16 | ISO100
Grizzly Falls

More photos on Flickr of Kings Canyon National Park.

Montréal

March 18th, 2011 9:43 PM

Notre-Dame Basilica || Nikon D200 | Nikkor 12-24mm f/4G | 0.8s | f4 | ISO250
Notre-Dame Basilica Alter

Notre-Dame Basilica || Nikon D200 | Nikkor 12-24mm f/4G | 3.0s | f4 | ISO100
Notre-Dame Basilica Organ

On a spring break weekend in Montréal, we took a tour of the Notre Dame Basilica.