My Twitter
What am I up to right now:
Spring bike ride to Moshi, Hyogo, Japan
After a rest and a snack, I ketp going down route 308 and found a trail on the left going up into the mountain, which I decided to explore. I carried my bike half-way, but it was mostly stairs. I then went all the way up on foot until the very top, took a breath and went back to the road. I continued on 308 until I found another dirt road on the right which said was going up to Moshi and Moshi OO-Ike. Decided to explore this, although it was going up basically to the same place I had come from about 4 kilometers up. I am glad I did. The Moshi OO-Ike area is basically a dammed lake on the top of the mountains, which is just gorgeous. It was breathtaking to say the least. However, since I am not poetic in my descriptions as you might already have surmised, I decided to take pictures. Here are some:





This is one of the most beautiful places I have been in Japan.
After I went down back to Ono and home, but on the way I saw a cow stable that raises the famed Sanda-beef, a.k.a. Kobe Beef. Here is a picture.

I am definetely, doing this ride again.
Down under in Australia.
Bookmark me
TravelIQ is so cool! Try it out here:
This Traveler IQ was calculated on Friday, November 14, 2008 at 03:35AM GMT by comparing this person's geographical knowledge against the Web's Original Travel journal's 3,306,381 travelers who've taken the challenge.
Wow! Talking about the devil. You must read this article.
You must read this: http://tech.yahoo.com/news/ap/20081008/ap_on_hi_te/tec_techbit_youtube_spoofing
Tricky approach to email virus
Good day.
You have received an eCard
To pick up your eCard, choose from any of the following options:
Click on the following link (or copy & paste it into your web browser):
http://...../e-card.exe
Your card will be aviailable for pick-up beginning for the next 30 days.
Please be sure to view your eCard before the days are up!
We hope you enjoy you eCard.
Thank You!
Let's see what is wrong with this email.
For starters, the greeting itself is suspicious. Most phishing emails begin with this greeting. Sure! "Good day"! What this means is good day for them if you are stupid enough to open the link or reply to the email with your bank information; or worse your passwords.
The second thing that comes to mind is the obvious unsophisticated, lower-than-fifth-grade composition of the email. For example, notice that although it suggests more than one option to retrieve (pick up) the card, it does not enumerate them. It gives only one and then places the other in parenthesis.
The most important indicator that this is a virus is the extension .exe of the URL. Also, I substituted "....." for the original URL because I don't want to become a medium of delivery for this virus, but usually you can tell from the URL itself that this is just someone to pretend to be someone else.
There are also misspellings in the email, such as aviailable and some things don't even make sense grammatically such as "beginning for the next 30 days". Also, notice that the next sentence "Please be sure... " is also grammatically wrong.
One good thing about this email is that it can serve as a warning for students who are not paying attention during their English classes and who think they it will be fine if they get anything less than an A in their classes. My warning to them is to watch out as they could unwittingly end up in the malware line of business and they would not even be able to do that well enough to fool those who do pay attention in class and do your homework.
Arrived to Saudi Arabia
How to connect SecondLife and PandoraBots
For those of you interested in creating a chatbot inside of Pandorabots, I was able to hack the following LSL script in about an hour. It is by no means complete. Notice that if you don't get rid of the question mark (?) in the chat window, then the POST method will interpret it as an additional question mark and it will fail to connect. Remember this is just a hack. Use it at your own risk. If you make any modifications, please let me know. I'll try to create a more robust version and post it later in this blog. BTW, I definitely need to create a better XML parser. You might want to check the following URLs which contain more information on the Pandorabots XML-RPC interface, and on the llHTTPRequest function in the LSL Wiki. Enjoy it.
integer channel = 0;
key req_id;
integer listen_handle;
string BOTID = "9d752aa0fe36e178" ;
string URL = "http://www.pandorabots.com/pandora/talk-xml?";
string input;
key id;
string str_replace(string src, string from, string to)
{ //replaces all occurrences of 'from' with 'to' in 'src'.
integer len = (~-(llStringLength(from)));
if(~len)
{
string buffer = src;
integer b_pos = -1;
integer to_len = (~-(llStringLength(to)));
@loop; //instead of a while loop, saves 5 bytes (and run faster).
integer to_pos = ~llSubStringIndex(buffer, from);
if(to_pos)
{
buffer = llGetSubString(src = llInsertString(llDeleteSubString(src,
b_pos -= to_pos, b_pos + len), b_pos, to), (-~(b_pos += to_len)),
0x8000);
jump loop;
}
}
return src;
}
default
{
state_entry()
{
llWhisper(0, "I'm chat robot!");
}
touch_start(integer total_number)
{
id = llDetectedKey(0);
string name = llKey2Name(id);
llWhisper(0, "Hi " + name + ", I am alive! Now you can talk to me by
typing on the chat field!.");
listen_handle = llListen(channel,name,id,"");
}
listen(integer channel, string name, key id, string message)
{ // Strip question marks
message = str_replace(message,"?","");
//llWhisper(0,"You said: " + message);
if (message == "sayonara")
{
llWhisper(channel, "Goodbye "+name+ ". Nice talking to you");
llListenRemove(listen_handle);
}
//llWhisper(0,"my ID = "+ (string)id);
req_id = llHTTPRequest(URL+"botid="+BOTID+"&input="+message,[HTTP_METHOD,"POST"],id); }
http_response(key request_id, integer status, list metadata, string body)
{ //Create a list with two items. First item is a string from
//beginning of XML response file to tag.
//Second item is the contents of either the ... or
//... tags.
string resp = llDumpList2String(llParseString2List(body,["","","",""],[]),"");
// Get to the start of the Pandorabot response by ignoring everything before the tag.
string respStart = "";
integer startIndex = llSubStringIndex(resp, respStart) + llStringLength(respStart);
// Get to the end of the Pondorabot response by finding the beginning of the tag.
string respEnd = "";
integer endIndex = llSubStringIndex(resp,respEnd) - 1;
if (req_id == request_id)
{
if( startIndex >= 0 && endIndex >= 0)
llWhisper(channel,llGetSubString(resp,startIndex,endIndex));
else
llWhisper(channel,"No message returned by bot");
}
else
{
llWhisper(channel,(string)status+" error");
}
}
state_exit()
{
llWhisper(channel,"Leaving the conversation");
llListenRemove(listen_handle);
}
}
Thoughts about virtual characters (humans/idols)
Back in December 1997 I was applying for a job with OZ Interactive, which was the new kid in town in the San Francisco Avatars movement of the 90s. I had already talked with Skuli Mogensen at an event at the Exploratorium near the Golden Gate and had gone for an interview at their office South of the Market. While I was on a party in New York where OZ Interactive was launching their much anticipated OZ Virtual product, I believe at a place called The Palace, but I might be wrong. Anyway, while in the hotel I saw a CNN news about a virtual idol called Kyoto Date 96, which a talent company -HoriPro Inc- had developed a year earlier. She looked very real and the music was kind of catchy. I mentioned to Skuli that I should contact them once an employee to see if we could have her do a concert using OZ Virtual. Once in the company, I did and had great success. To make a long story short, I met several time with the Hori brothers at HoriPro Inc and was able to negotiate rights to have Kyoto Date on OZ Virtual. We created a music store with Kyoto Date's music and an avatar with Kyoko Date. We also had a concert and all. Although not very successful in Japan, the concept of a virtual idol caught the imagination of many people abroad and Kyoko Date had hundreds if not thousands of fun web sites in many different languages. I used the same concept to contact Takara, a Japanese toy maker that markets the Transformers and a Japanese version of Barbie called Licca. I also pitched a similar idea to Hello Kitty. We even tried to do a Gothic City with batman and its characters as avatars in the city. We were planning an economy in the city and to sell or rent real estate. It was a very fun project and they would have been successful, where it not that by 1998 the South of the Market and the avatar companies started melting down. I decided that it was time to move on in 1999.
Now here we are 10 years later. The avatar movement was moribund for severals years after I left as it was one of the hardest hit by the meltdown, so I guess I made the right move back then. But since last year, I started hearing news about a company called Linden Labs and its product Second Life. My junior students at Kwansei Gakuin University where I work have been very interested in the concept and have been developing several projects since. Most recently students from another school within the university are also very interested in Second Life to develop virtual characters. They asked me for help on the subject and put together the following links which might be of value:
Links about virtual human research, companies and efforts:- http://www.red3d.com/cwr/characters.html
- http://www.quvu.net/interactivestory.net/links.html
- http://www.virtual-human.org/start_en.html
- http://www.washedashore.com/Humans/index.html
- http://vhil.stanford.edu/
- http://www.pandorabots.com/