Category: Web

Getting started with Windows Live Agents

Posted on 4:17pm 7/05/2008 by Bruno Silva in Programming, Software, Web, Windows Live

Windows Live Agents

Recently I’ve been exploring the Windows Live Agents SDK. This framework allows you to develop interactive Windows Live Messenger bots. You may already talked to a messenger bot like encarta@conversagent.com which allows you to search information from Encarta Encyclopedia or if you are Portuguese maybe you use info@destakes.com which gives you news about topics you choose, using data from several news websites.

To start developing your Agent/Bot/Buddy you must have Visual Studio 2005/2008 installed as well as .NET Framework 3.0. More details about requirements can be found in the Installation Requirements web page.

After fulfilling the requirements you can download the Windows Live Agents SDK and install it.

Now you are able to start developing your first agent! Open Visual Studio and open the “New Project” window. There will be a new project template under the “BuddyScript” project type. After choosing the “Windows Live Agent” project template, and typing your project name, you will be prompted for some project settings. You can choose several languages for your Agent and define if it will be able to do some default chatting with users. The only problem I found is that a project created this way is way too complex for a beginner, and if (like me) your target language is not supported or if you want your agent being able just to respond to specific messages, it is pretty difficult to use this template.

After hours trying to find out that was really relevant, I’ve created a Simple Project Template from which I removed a lot of files and settings from the original project. It has only some usage examples in Main.ddl (main BuddyScript file). This project is testable out of the box :)

The examples I left on the file are pretty simple. They cover how to set an expected input and how the bot is supposed to react. It also uses a package that makes available information about the current user, like his user name. I left some comments in the code. There are a lot of possibilities that can be explored. Something I tried already and that I will share in future posts is the usage of data sources like XML, Databases, RSS, etc. If you are curious about BuddyScript capabilities take a look at the BuddyScript Language Reference.

In order to test your agents you must have a license key, which is easy to obtain from within Visual Studio. Check out How to: Install the License Key.

You can test your agents directly in Visual Studio (Menu View > Other Windows > Conversation Window) with the interface showed bellow.

Windows Live Agents - Testing

More information about this kind of testing can be found on the How to: Launch the Agent in the Windows Live Agents IDE article.

Another way of testing your Agent which is much more fun, since you can ask your friends to test it too, is deploying your Agent on the Windows Live Messenger network.

Windows Live Agents - Deploying

Read How to: Launch the Agent in IM Environment to learn how achieve it.

More detailed information can be found in the Windows Live Agents SDK documentation at MSDN.

Next time I will talk about using data sources, background procedure (code that runs detached from user conversations), notifications (scheduling messages) and how to create pro-active agents that starts conversations instead of responding to user requests.

Advertisement in Windows Live Messenger

Posted on 12:48pm 7/02/2008 by Bruno Silva in Microsoft, My Life, Usability, Web, Windows Live

In understand that to make Windows Live Messenger profitable and free to all of us to use it has to have some kind of advertisement system attached to it. Sometimes these ads are useful, since they are different for each country and there are several major brands that use Windows Live Messenger advertisement.

Windows Live Messenger Advertisement

Nevertheless, recently I’ve not been pleased by Messenger advertising. It has been really annoying. Now there are a lot of ads that just pop up out of out our main Messenger window showing some sort of flash animation. Some of them are pretty big and annoying when I trying to reach a contact that is hidden beneath the ad… Most of them disappear when the mouse leave the ad area (it is the minimum that I expect…) but other ads are only disabled by clicking a close button.

Windows Live Messenger Advertisement

I am starting to understand those people that use software that patches Windows Live Messenger to remove all the advertisement. It violates the terms of usage and it is wrong to do it, but this Messenger advertisement “feature” is becoming to invade the user space. Some day in the future maybe I will consider the hypothesis of moving to a IM software like Pidgin (which I like pretty much :) ) that is compatible with MSN protocol.

There is even a portable version just like I love in software).

Deploy de XNA na Xbox 360

Posted on 9:49pm 6/10/2008 by Bruno Silva in Games, Programming, Web, XBox 360, XNA

Um pequeno vídeo caseiro só para dar a ideia do processo. Gravado durante uma tarde de desenvolvimento e testes do PizzaShoot! :)


Video: XNA Game Studio Deploy X-Box 360

Dream Build Play - Free XNA Creators Club Membership!

Posted on 4:48pm 6/09/2008 by Bruno Silva in Events, Games, Programming, Web, XBox 360, XNA

Dream Build Play

Great news!!! For all the Portuguese folks, it is a nice resource for XNA Pizza Night! Now you can deploy your XNA game on your Xbox 360 for free.

Don’t forget that XNA Pizza Night is getting closer! Register in Microsoft Portugal website, and get your game ready until 24th June.

Imagine Cup 2009 - You decide

Posted on 9:13pm 5/20/2008 by Bruno Silva in Design, Events, Imagine Cup, Microsoft, Web

It’s time for us to decide the next year Imagine Cup design graphics!

There are several choices.
CREATE

Imagine Cup 2009

A celebration of imagination and technology! This bold and colorful design dazzles the viewer with rich color, energy, and motion.

LIGHTBURST

Imagine Cup 2009

Imagination, motion and the idea of creating something powerful from nothing. Time freezes as we see figures dramatically emerge from cascades of moving light.

EMERGE

Imagine Cup 2009

Inspirational elements emerge from colorful bite-sized nuggets! Fun characters playfully make their way into the design.

FLOW

Imagine Cup 2009

Creativity, motion and inspiration.

TEXTILE

Imagine Cup 2009

With its color pallet, stitch patterns and color overlay, this design evokes a sense of hand wrought do it yourself design that resonates with youth culture. Earth themes are echoed throughout with elements like rain and plants, animals and clouds.

EXPLOSIVO

Imagine Cup 2009

Vinyl Toys, Spray Paint and Felt Tip Markers. Vibrant colors and high contrast hand drawn patterns evoke an energetic street pop art aesthetic.

Cast your vote at http://www.mondorobot.com/microsoft/IC2009/!

© Bruno Silva | Powered by Wordpress