peknet

an eddy in the bitstream

Page 68 of 76

Lemur Project

Lemur Project is an information retrieval development library.

How to build Lemur 3.1 for OS X (10.3.9)

See http://www.lemurproject.org/phorum/read.php?11,840

The note about “copy Apple’s config.guess from /sw” is ambiguous. What I did was create a shell script that does:

#!/bin/sh
echo 'powerpc-apple-aux'
exit 

and then make all the src modifications as indicated in the URL above.

Tip: this one-liner will updated the include paths in the src files:

grep -r 'include ' * | \
grep 'indri/Parameters' | \
perl -n -e 's/:.*//;print' | \
xargs perl -pi.orig -e \
's,indri/Parameters.hpp,indri/IndriParameters.hpp,' 

Spurious errors about '-static: no such option' from the g++ compiler can be ignored, or might try --disabled-shared option to configure.

Endian

I did not know this:

The names `big-endian’ and `little-endian’ are comic references to the classic “Gulliver’s Travels” (via the paper “On Holy Wars and a Plea for Peace” by Danny Cohen, USC/ISI IEN 137, April 1, 1980) and the egg-eating habits of the Lilliputians.

From the perlfunc man page discussion of the pack() function.

Endian-ness is one of those esoteric (or not) computer subjects that makes the internet work (or not). Basically, do you (or more accurately, your computer) count from left-to-right, or right-to-left. Little endian is left-to-right (1234) and big-endian right-to-left (4321).

The Baroque Cycle

Just finished racing through Neal Stephenson’s Baroque Cycle, three novels set in the 17th century. As early modern European history was my undergrad major, and technology my current occupation, this series was a real treat (which can explain how I finished 3000 pages in 3 weeks).

Barbary Corsair pirates, the birth of the commodities markets, the debate over the origins of the calculus, defenestrations of all kinds. What a riot.

In Xanadu: A Quest

I liked William Dalrymple’s From the Holy Mountain so much that I convinced my book club to try another of his travel books.

The short review: it’s not as good as Mountain but still worth a read. This is his first book, for which he became (justifiably) famous while still an undergrad. It feels a little “green” compared to Mountain — I’m chalking that up to Dalrymple’s relative youth and it being his first book. I hear traces of what will become excellent writing 10 years later.

The Unconquerable World

Jonathan Schell’s book was a Christmas gift a couple years ago. Took me some time to get through it. Not because it was poor writing (though it’s not particularly lyrical) but because it’s emotionally difficult to consider war when your country is mired in one.

I guess I should feel hopeful after reading it; maybe I’m too cynical, but I didn’t feel it. Maybe I just need to listen to less NPR news and take more walks in the woods.

« Older posts Newer posts »

© 2025 peknet

Theme by Anders NorenUp ↑