life page 6 - Dave's Blog

Search
My timeline on Mastodon

Lifehacker Code: About This Site add-on (Firefox) - Lifehacker

2007 Aug 21, 10:19More URI related stuff in a FF plugin.PermalinkCommentslifehacker mozilla reference extension firefox review article

Even if Life Is a Computer Simulation . . . - TierneyLab - Science - New York Times Blog

2007 Aug 15, 2:33Accelerando had interesting stuff on this. I'm also reminded of the argument against time travel: If time is infinite and time travel is possible then we should be overrun with time travelers.PermalinkCommentsphilosophy science simulate scifi article

Technophilia: Where to find public records online - Lifehacker

2007 Jul 23, 3:19List of sites to find public information on folks.PermalinkCommentsbackground search database birthday library identity privacy public phone lifehack

Zune: Hack the Zune software to support more audio/video formats - Lifehacker

2007 Jul 5, 10:07Hack the Zune software to allow more audio/video formats. Consists of registry modifications only!PermalinkCommentsaudio zune windows format registry mp3 software video hack

Second Life Translator

2007 Jul 4, 10:58Hackdiary
I really enjoy reading Matt Biddulph's blog hackdiary. An entry some time ago talked about his Second Life flickr screen which is a screen in Second Life that displays images from flickr.com based on viewers suggested tags. I'm a novice to the Second Life scripting API and so it was from this blog post I became aware of the llHTTPRequest. This is like the XMLHttpRequest for Second Life code in that it lets you make HTTP requests. I decided that I too could do something cool with this.

Translator
I decided to make a translator object that a Second Life user would wear that would translate anything said near them. The details aren't too surprising: The translator object keeps an owner modifiable list of translation instructions each consisting of who to listen to, the language they speak, who to tell the translation to, and into what language to translate. When the translator hears someone, it runs through its list of translation instructions and when it finds a match for the speaker uses the llHTTPRequest to send off what was said to Google translate. When the result comes back the translator simply says the response.

Issues
Unfortunately, the llHTTPRequest limits the response size to 2K and no translation site I can find has the translated text in the first 2K. There's a flag HTTP_BODY_MAXLENGTH provided but it defaults to 2K and you can't change its value. So I decided to setup a PHP script on my site to act as a translating proxy and parse the translated text out of the HTML response from Google translate. Through experimentation I found that their site can take parameters text and langpair queries in the query like so: http://translate.google.com/translate_t?text=car%20moi%20m%C3%AAme%20j%27en%20rit&langpair=fr|en. On the topic of non US-ASCII characters (which is important for a translator) I found that llHTTPRequest encodes non US-ASCII characters as percent-encoded UTF-8 when constructing the request URI. However, when Google translate takes parameters off the URI it only seems to interpret it as percent-encoded UTF-8 when the user-agent is IE's. So after changing my PHP script to use IE7's user-agent non US-ASCII character input worked.

In Use
Actually using it in practice is rather difficult. Between typos, slang, abbreviations, and the current state of the free online translators its very difficult to carry on a conversation. Additionally, I don't really like talking to random people on Second Life anyway. So... not too useful.PermalinkCommentspersonal translate second-life technical translator sl code google php llhttprequest

NMC Campus Observer - When SL RL

2007 Jun 22, 10:16A video of RL as SL. That is, what second life would look like in real life.PermalinkCommentsvideo humor secondlife

A desktop robot to light up your life

2007 May 25, 12:50A robotic desklamp.PermalinkCommentsrobot lamp light desk video mit

In The Know: Do You Remember Life Before The Segway? | The Onion - America's Finest News Source

2007 May 2, 1:39From The Onion News Network: "In The Know: Do You Remember Life Before The Segway? Panelists discuss how the Segway personal transporter has revolutionized American life."PermalinkCommentshumor onion segway video

How can I Make my Offline Life Easier?

2007 Apr 17, 8:04A list of simple things you can do to make life easier.PermalinkCommentsadvice howto tips

Missing Bee Roundup

2007 Apr 15, 4:06For the past several months I've seen various articles suggesting why bees are disappearing. At first I thought this was another crackpot's article that somehow made it onto digg.com. But they keep coming and sometimes from credible sources. After the article I saw tonight I thought I should go back and put together the various articles I've read on this topic. Bees may be disappearing due to pesticides, new organic pathogens, genetically modified crops, mobile phones, or climate change. Apparently, the US hasn't been keeping accurate counts of its bees so we don't know the extent of the situation. There's an interview with Maryann Frazier, M.S., of the Dept. of Etymology at Penn State and a congressional hearing on the matter.

I know this is all very serious and could signal the end of our ecosystem as we know it, but I can't help throwing in the following links as well. The bees could be hiding in this Florida couple's kitchen. Or perhaps they're laying low while being trained by the government to fight terrorism. Or they're hiding in extra dimensions that we mere humans can't perceive (I'm fairly certain that's what this article is suggesting. Really. Read it. Seriously. Its awesome.)PermalinkCommentsroundup personal bees nontechnical

The secrets of a super-slim wallet at LifeClever ;-) Tips for Design and Life

2007 Apr 11, 5:23Tips on getting the size of your wallet down including pointers to smaller cool wallets you can buy.PermalinkCommentshowto shopping wallet via:incredulous

hackdiary

2007 Apr 2, 11:52The blog of Matt BiddulphPermalinkCommentsmatt-biddulph blog code second-life hack flickr delicious music homepage monthly

Add music and movies to your iPod from any computer without iTunes - Lifehacker

2007 Feb 20, 3:02An article on syncing music and video to and from your iPod on any computer using a non-iTunes application.PermalinkCommentsipod itunes software music howto mp3 lifehacker blog article neat-fp

AOL Supports OpenID (Somewhat Frank :: web 2.0 ● technology ● life :: blog by Frank Gruber)

2007 Feb 20, 10:33AOL and AIM usernames can now be used as OpenIDs allowing participating OpenID sites and services to authenticate you using your AOL or AIM OpenID.PermalinkCommentsopenid aol aim identity article

iTunes fingers musical fraud (New Scientist Technology Blog)

2007 Feb 20, 10:29"The recordings of a British concert pianist who found fame in the last years of her life have been exposed as hoaxes by Apple's iTunes music player."PermalinkCommentsitunes apple music fraud hash classical article

The world is in your hand | haha.nu - a lifestyle blogzine

2006 Dec 21, 3:21Cool photos of miniatures, toys, postcards or photos held up over their real world counterparts. Some look pretty cool.PermalinkCommentshumor photos blog gallery

Hack Attack: Automatically download your favorite TV shows - Lifehacker

2006 Dec 20, 4:33How to setup Ted a program to automatically download torrents of TV shows.PermalinkCommentstv bittorrent howto torrent download television torrents article blog free p2p video tools tool ted

Hack Attack: Turn your $60 router into a $600 router - Lifehacker

2006 Dec 20, 4:29How to update my router with cool new business and things. Why I would do this: increased signal strength.PermalinkCommentsrouter wireless hack howto linksys wifi diy article blog linux open-source tutorial

Geek to Live: Automatically back up your hard drive - Lifehacker

2006 Dec 20, 4:27How to easily setup automatic backup (Windows)PermalinkCommentsbackup howto windows software computer storage tools article blog tool

answer to life the universe and everything - Google Search

2006 Nov 13, 11:50This is awesome because its built as a constant into the Google Calculator. So try something like: http://www.google.com/search?q=answer+to+life+the+universe+and+everything+%2F+2PermalinkCommentsgoogle search humor answer life-the-universe-and-everything hhgttg
Older EntriesNewer Entries Creative Commons License Some rights reserved.