Google Calculator

New cool feature: the google calculator. Type all sorts of mathematical expressions in as your google search, and you get the result as your answer! It must all be part of google’s scheme to replace the URL with the google search. Actually, to replace your whole computer with a google search.

Aside from things like simple arithmetic (e.g., (24*7/3)^2 mod 5, you can also ask it things like three cups in tablespoons (and it tells you how many tablespoons!).

I also read somewhere that one of the top searches in google is cnn. That is, many people go to google and search for cnn rather than going to the fairly easy to remember cnn.com. Mozilla Firebird now seems to take you to the “I’m Feeling Lucky” google search result if you just type some random string into the URL bar.

Steve points out that you can also do searches for things such as radius of earth, and get a nice numerical result back from the google calculator.

Lexis Update

I’ve been working to get the Lexis-Nexis online legal research system to generate valid HTML so the service works with browsers other than Microsoft’s. Back in April, Lexis promised the fix was imminent. About a month ago, I wrote them back explaining that they had fixed it for users who spoofed their browser agent as Netscape, but not Mozilla (or for Netscape users on GNU/Linux). I got no response, so wrote them back yet again more recently.

Finally, they’ve “fixed” it for the Mozilla browser. Here’s the response they gave me:

 Adam 
Thank you for your continued contribution regarding these issues. Rest assured that your feedback is received and considered. Following the August release the Tab issue was corrected for the Mozilla Browser. A user should not have to "spoof" NS to get Mozilla to function properly regarding the tabs. I also checked Opera and the tabs are all working on that browser as well. Both Opera and Mozilla combined comprise less than one half of one half a percent of user access for lexis.com. Linux currently comprises .06% of OS access to lexis.com. While we try to address usability and functional issues that effect our customers, there is an analysis involved regarding cost of fix v. benefit returned. The Linux OS, as well as the Mozilla and Opera browsers, are not included in our testing programs at this time due to their low use. When issues are subsequently discovered we examine them on a case by case basis to determine feasibility and cost of implementation. Thank you again for taking the time to contact us and for using LexisNexis.
Regards,
lexis.com product management

All I was asking for was to have the

and tags in the proper order! How much could that fix cost?

More fundamentally, if these companies adhered (at least generally) to the HTML standard (any version!) then many of these problems would go away. The whole point of standards is to reduce development costs; you shouldn’t need to test your product on one hunderd and one different browsers. If it passes an HTML validator test, then you can call it a day.

This whole episode also hammered in for me yet again the advantages of open source development. If there’s a problem and the developer refuses to fix it, then you can do it yourself. With a proprietary system like Lexis-Nexis, you’re at their mercy, and even a one minute fix won’t make it in if it’s not on their agenda.

The Christian Coalition is Going Downhill

I try to keep myself subscribed to a wide variety of right wing mailing lists to see what they’re all up to (the left wing mailing lists tend to tell me what I already know).

I’m afraid the Christian Coalition is really going downhill. Here’s their latest missive:


Your Everyday Spending Will Substantially Help The Christian Coalition At No Cost To You !!!!

Dear Christian,

We gratefully appreciate your support, and would like to introduce you to a very powerful program, called SharingCertificates. We have partnered with SharingCertificates.com, which allows you to purchase gift certificates to hundreds of stores, theaters, restaurants, hotels and more, that we all shop at everyday.

You simply purchase gift certificates to your favorite stores, like Macy’s, T.J.Maxx, The Gap, Red Lobster, Olive Garden, Marriott Hotels, to name a few. Each gift certificate you purchase will bring a generous donation to the Christian Coalition.

We realize there are many of you who would like to help, but do not have the resources to send a gift monthly, but we all shop, go to restaurants, stay at hotels, etc..The SharingCertificates program was developed to enable us to support God’s work at NO COST to you. Giving Through Spending – AT NO COST TO YOU !!!!!!!!

It’s Just Good Stewardship

The SharingCertificates Program takes just a few minutes of your time monthly. You simply log on to www.sharingcertificates.com., go to the merchant list, find the merchants you normally use or intend to use, then purchase them immediately online. IT’S THAT EASY!!!!!!!!

On average, families typically commit to purchase $200/$300 monthly. While some will do less, many can do much more. We ask that you prayerfully consider supporting His work for the Family with a monthly commitment to the SharingCertificates Program.

Your participation in the SharingCertificates program will provide the Christian Coalition with additional funds that will make us far more effective in the culture war, returning this great country to the family values that we hold so dear. Thank you for your consideration.

In His Service,

Roberta Combs

President The Christian Coalition

—————————————————————————————

To unsubscribe from receiving these emails, simply reply to this message and ask to be removed

Shorlfilter

Get the latest version of shorlfilter as a tarball (v0.5, released 9/7/03).


Shorlfilter is a text filter to shorten long URLs using an online redirection database.

Shorlfilter takes all HTTP links in input text longer than a specified length and converts them to short links through the online shorl database. It is particularly handy for email, and can be used as a vim or mutt macro.

See http://shorl.com for more information.

shorlfilter is listed on freshmeat.net.

You can download shorlfilter as a Debian package, or add the following line to your /etc/apt/sources.list to use apt-get to install shorlfilter:

 deb http://bostoncoop.net/adam/debian unstable main deb-src http://bostoncoop.net/adam/debian unstable main 

You can take a look at shorlfilter, the main script, with nice highlighting, also see the changelog.

Spoofing Browser Agents

I mentioned yesterday that the only way to use Lexis-Nexis with Mozilla is to “spoof” your browser agent, to pretend to be Netscape. Dan’s Web Tips has an interesting article describing the problems with spoofed user agents. He makes a very good point: certain websites only allow Internet Explorer (or maybe IE and Netscape), so in order to get in, you have to pretend to be using one of those browsers. The site administrators see that everyone trying to access their site is using IE, and so they get the impression they’re not excluded anyone. The result is a vicious circle where alternative browser marketshare is underestimated because of the unreliability of user agent strings, and site administrators don’t think they need to fix anything.

Lexis and Mozilla

Many months ago, I wrote that Lexis-Nexis had agreed to fix their broken HTML, which prevented their research service from working with the Mozilla browser. At the time, they said it would be fixed “within a month.” Since then, I have received emails from many Mozilla users with similar problems.

I recently wrote Lexis to ask why they hadn’t fixed the problem, and got this response:

 Thank you for your message. The fix for the issue you are describing went in for Netscape earlier this year. All other platforms will be addressed in a release planned for late August this year. Thank you for using LexisNexis for your research needs. Regards, lexis.com product development 

The “fix” in question would be to switch

stuff

with

stuff

. I installed Netscape to see if their claim was true, but it wasn’t—still broken HTML, broken links. They wrote back again:

 I just tested linking on the tabs in both NS 7.1 and 7.02 using www.lexis.com and http://www.lexisnexis.com/lawschool/ and I can link on the tabs just fine. I tried the same on Mozilla 1.3.1 and the tabs do not work. This would be consistent with the fixes we have put in. As I mentioned, the tabs should work for all browsers after August. I don't know why you are still experiencing the issue in Netscape. Are you using an older version? Are you on a MAC? I do appreciate your pointing out the issue and trust that we are trying to address it. If you want to discuss or investigate the nonfunctioning tab issue further please call our Technical Customer Service Department at 800.543.6862. Thanks again! 

As it turns out, what they had done is checked to see if you were using Netscape 6 or 7 under Windows only, and if so, deliver content with the proper tags. Otherwise, you get the broken tags.

So the temporary fix is to spoof your user agent, which you can do under Mozilla Firebird with the User Agent Switcher. There are several other programs with similar functionality. If you set your browser to report to Lexis that it is:

 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 

Then you will get the proper tags and Lexis will work!

I know this may only interest a small group of people, but I wanted to get it out there. It’s frustrating that Lexis hasn’t made more of an effort to provide functional HTML, especially when the fix is so trivial.

El Padre Antonio

I never understood salsa music until I saw Panimanian legend Ruben Blades at the 9:30 Club. On a Tuesday night, the club was packed past capacity to see Blades and his 15-odd member band, which included at least three separate drum sets and four keyboards. I was glad that I wasn’t responsible for setting up and doing sound checks.

Before hearing Blades, I thought all salsa music was fairly similar. Blades’ band played with such intensity, depth, and complexity that I realized I hadn’t really heard salsa before. He incorporated African and American Jazz rhythmic and melodic structures without losing his grounding in Latin music or falling into a generic “world beat” fusion sound.

Throughout the concert, Blades signed whatever objects were passed him from the front of the crowd, kissed audience members, accepted personal notes to be read later, all the while coordinating extraordinarily tight and complex arrangements and maintaining a formidable yet modest stage presence. When members of the ensemble took solos, he stepped back behind the percussion so as not to steal the show.

Between songs, he imparted wisdom, 80% Spanish 20% English (most of the audience were hispanophone anyway). He mentioned several movies he was in last year and this year, and said that far more important to him were the two law degrees he was about to receive. The most important thing for us to do, he said, was to educate ourselves as much as possible. It’s easy to see why he won 20% of the vote when he ran for President of Panama; the world would be a better place if he had won.

El Padre Antonio was one of many memorable songs; with almost no Spanish knowledge, I’ve attempted a translation below (ongoing at this point).

 El Padre Antonio Xejeira vino de España, buscando nuevas promesas en esta tierra. Llegó a la selva sin la esperanza de ser obispo., y entre el calor en entre los mosquitos habló de Cristo. El padre no funcionaba en el Vaticano, entre papeles y sueños de aire acondicionado; y fue a un pueblito en medio de la nada a dar su sermón, cada semana pa' los que busquen la salvación. El niño Andrés Eloy Pérez tiene diez años. Estudi an la elementaria "Simón Bolivar". Todavia no sabe decir el Credo correctamente; le gusta el río, jugar al fútbol y estar ausente. Le han dado el puesto en la iglesia de monaguillo a ver si la conexión compone al chiquillo; y su familia está muy orgullosa, porque a su vez piensa que con Dios conectando a uno, conecta a diez. Suena la campana: un, dos, tres, del Padre Antonio y su monaguillo Andrés. El padre condena la violencia. Sabe por experiencia que no es la solución. Les habla de amor y de justicia, de Dios va la noticia vibrando en su sermón: Pero suenan las campanas: un, dos, tres del Padre Antonio y su monaguillo Andrés. Al padre lo halló la guerra un domingo de misa, dando la comunión en mangas de camisa. En medio de un padre nuestro estró el matador y sin confesar su culpa le disparó. Antonio cayo, ostia en mano y sin saber por qué Andrés se murió a su lado sin conocer a Pelé; y entre el grito y la sorpresa, agonizando otra vez estaba el Cristo de palo pegado a la pared. Y nunca se supo el criminal quién fue del Padre Antonio y su monaguillo Andrés. Dobaln las campanas: un, dos, tres, del Padre Antonio y su monaguillo Andrés. 

Here is my attempt at translating this song. I don’t really know Spanish, so I would appreciate suggestions:

 Father Antonio Xejeira came from Spain, seeking out new promises in this land. He arrived in the forest with no desire to become a bishop, and surrounded by heat and mosquitoes he spoke of Christ. Father did not work in the air conditioned Vatican surrounded by documents, and he went to a tiny shack in the middle of nowhere to give his sermon every week for those searching for salvation. Andrés Eloy Perez is a ten years old boy, he attends "Simón Bolivar" elementary school. Todavia does not know how to say the Lord's prayer properly, he likes the river, playing soccer, and skipping school. They have made him the church choir-boy to see if the kid will connect; and his family is proud, because they think that when God connects with one, He connects with ten. The bell rings: one, two, three, for Father Antonio and his choir-boy Andrés. The Father condemns violence, He knows from experience that is not the solution. He tells them of justice and love, of God, the news resonates in his sermon: But the bells ring: one, two, three, of Father Antonio and his choir-boy Andrés. War came to the Father during Sunday mass, while giving communion in shirt sleeves. in the middle of an "our father" a matador shot him without confessing his sins. Antonio cried, a hole in his hand without knowing for what Andrés died on his side without knowing Pelé; and between the cries and the surprise, in agony again he was the Christ on the Cross. And the criminal himself never knew who was Antonio Father and his choir-boy Andrés. Ring the bells: one, two, three, for Father Antonio and his choir-boy Andrés. 

More on Genetically Modified Foods

More on the question of whether there is scentific evidence against genetically modified foods.

Hot Potato: Don’t Worry, It Is Safe To Eat—The True Story Of GM Food, BSE, And Foot And Mouth by Andrew Rowell documents the blacklisting of Dr. Arpad Pusztai. In 1997, Dr. Pusztai performed an experiment where rats ingested genetically modified potatoes. Unexpectedly, the rats ended up with smaller livers, hearts, and brains, as well as weakened immune systems. Bill Clinton phoned Tony Blair, who ultimately arranged to stop the research and break up the research team. Ultimately, Dr. Pusztai’s research was published in the British science publication The Lancet, but was widely attacked in the press. No one has attempted to repeat Dr. Pusztai’s experiment to this day.

It all sounds like a bit of a conspiracy theory, but I haven’t found any evidence to discredit the accounting of facts given above. Read the longer version and decide for yourself.

Business Lessons

Jason Kottke has a funny little story about his neighborhood coffee & donut man:

“Next!” said the coffee & donut man (who I’ll refer to as “Ralph”) from his tiny silver shop-on-wheels, one of many that dot Manhattan on weekday mornings. I stepped up to the window, ordered a glazed donut (75 cents), and when he handed it to me, handed a dollar bill back through the window. Ralph motioned to the pile of change scattered on the counter and hurried on to the next customer, yelling “Next!” over my shoulder. I put the bill down and grabbed a quarter from the pile.

Read the rest of his piece, with which I heartily agree. There are so many times when businesses, with an instinct to always seek more control of their employees and customers, end up shooting themselves in the foot.

Recently, I went to Au Bon Pain [which is unfortunately convenient to my law school] at 6:02pm (5:58pm on my watch). They have a “happy hour” from 4pm-6pm, during which all baked goods are half price. It’s the only time anything is reasonably priced.

I tried to buy an assiago cheese bagel ($0.45 at half price) and they told me I was too late. It was 6:02pm. Rules are rules.

I protested, but they held firm. Meanwhile, an employee was going through the store with a large trash bag, throwing away all the baked goods. Several dozen assiaga cheese bagels in the trash.

So instad of making $0.45 off of me, they got nothing. I bet Kottke’s coffee & donut man would have sold me the bagel.

Hunting for Bambi is a Hoax

I was reading our free daily subway tabloid, Metro, when I came across an article about “Hunting for Bambi.” The article describes what appears to be an unbelievably offensive sport, where men with paintball guns pay thousands of dollars to hunt down nude women in the forest. It immediately struck me that there was something awry.

It turns out it’s a hoax.

But Metro wasn’t the only newspaper taken in; try a Google news search for “hunting for bambi”, and you’ll see dozens of reputable news outlets covered the story. Of course, at this point, the stories are being overwhelmed by the discovery that it was a hoax. Here’s one typical story as it appeared in the Washington Times:

Jockstrip: The world as we know it
By Alex Cukan
United Press International
NEW ADULT ‘ENTERTAINMENT’
Men are paying thousands of dollars to shoot naked women with paint ball guns near Las Vegas.
Hunting for Bambi is the brain child of Michael Burdick. Men pay anywhere from $5,000 to $10,000 for the chance to come to the middle of the desert to shoot what they call “Bambi’s” with a paint ball gun, KLAS-TV in Las Vegas reports.
Burdick says men have come from as far away as Germany. The men get a video tape of their hunt to take home.
Burdick says hunters are told not shoot the women above the chest, but admits not all hunters follow the rules.
The women get $2,500 is they don’t get hit, something they admit hurts, and $1,000 is they do get hit, according to KLAS-TV.

I think the problem here is that once a story appears in one “legitimate” mainstream news outlet (in this case, KLAS-TV), all the other media think they can just carry the story without rechecking the original facts.

I’d hope to see a retraction in the Metro, but I’m not going to hold my breath.