March 2007 - Posts

Coding Katamari

As usual, I started my day perusing hundreds RSS subscription (I used to use Outlook for this, but I am getting to like Google Reader more and more).

Lots of neat stuffs you can find just reading other people's writing.

For example:

http://thewpfblog.com/?p=92 (Talking Anna WPF application)

Funny thing is, although not as fancy as this WPF app, I was playing around with Vista Speech Synthesizer in .NET about a couple of weeks before and created the following console application in VS2005 and Windows SDK for Vista (you need to reference System.Speech.dll for this to work):

using System;
using System.Speech.Synthesis;

namespace SpeechTest
{
class Program
{
static void Main(string[] args)
{
using (SpeechSynthesizer ss = new SpeechSynthesizer())
{
while(true)
{
Console.Write("Enter what you want me to say:");
string s = Console.ReadLine();
if (s.Trim().Equals(string.Empty))
return;
ss.SpeakText(s);
}
}
}
}
}

Which work just fine minus all the fancy stuffs in Talking Anna.

To read more about this, you can peruse this MSDN magazine article.

http://www.researchchannel.org/prog/displayevent.aspx?rID=11087&fID=2740 (Designing .NET Class Libraries)

It feels good when what you are doing get confirmed by one of the experts like Krzysztof. He was talking about how to design class library (in this case .NET Framework itself) and how Microsoft staffs would write a sample code first on how the code would look like before even going to the case tools for diagramming, etc. I've been doing this sort of thing as long as I can remember when designing my own class library.

Share this post: | | | |
Posted by Jimmy Chandra | with no comments
Filed under: , , , ,

iWars: iPod vs Zune Star Wars Style

Hehe.  Another Star Wars spoof...

Hmm... I am having problem putting embedded object into this blog for some reason.  Anyone know why?

 Anyhow, here is a link to it... http://www.youtube.com/v/yHueWwdIR7k

Share this post: | | | |
Posted by Jimmy Chandra | with no comments
Filed under: , ,

Microsoft Codename "Tahiti"

Looks like there is another collaboration tool from Microsoft coming up soon.

 Take a look at it here.
 

Share this post: | | | |
Posted by Jimmy Chandra | with no comments
Filed under: , ,

JavaScript Metaprogramming Implementation

Found this while reading blog entries today.

Nothing really new.  I've done this kind of stuffs in .NET before, but still, it's very neat.

show("us-states").when("country").is("United States");
show("provinces").when("country").is("Canada");
hide("nothingSelected").when("country").isNot("Pick a country...");

Code like this is self explanatory and elegant.
Very easy to understand what it's doing, just like reading an English sentence.

You can download the sample code here (I recreated the working sample from the pdf slides since the author has not posted the sample code anywhere yet).
You will need to have Prototype JavaScript Framework in the same directory.  You can get it here.

powered by performancing firefox

Share this post: | | | |
Posted by Jimmy Chandra | with no comments

Stephen Wiltshire, Amazinger and Google Reader

I was reading MSDN Blog and came across this blog by socaldevgal where she shared a youtube video of Stephen Wiltshire drawing 360 degree landscape of Tokyo just from his memory.

Naturally, the video was amazing. But that's not the point. Hehe. I followed the youtube video link to the youtube site and was rewarded w/ my first cup of laugh in the morning from reading the comments section. Lol.

Especially these parts:

timofly (1 month ago)

God gave him a wonderful talent

(Reply)   (Spam)

SMC69 (1 month ago)

yeh but "God" also blessed him with autism so he can't communicate very well at all with the real world, gods a *** eh?

(Reply)   (Spam)

ptfp33 (1 month ago)

"God's a ***"? He certainly has no parents. So, maybe you're partially correct in the technical meaning of the term.

 

And this:


lilmienboy (2 weeks ago)

amazing if only it was color than it would be amazinger

I wonder if there is a word in the English language such as amazinger. Hehe. So, to satisfy my curiosity, I googled amazinger and lo and behold, I found such a "word" here. And then looking at the list at the left side column I found another "word" – amazinger-er. Hahaha.

FYI, there is no such word in English language btw if you haven't noticed.

BTW, if you haven't heard about Google Reader web application, go give it a try. It's an online feed reader which allowed you to track and share articles that you are interested in and have them available just about anywhere in the world. It's amazinger than my usual way of reading blogs and feed from Outlook (which is only local on my workstation). Hehehe – just have to try the new "word" ;-).

Share this post: | | | |
Posted by Jimmy Chandra | with no comments
Filed under: , , ,

Word 2007 Blog Authoring Test

Blogging test from Microsoft Word 2007.

Share this post: | | | |
Posted by Jimmy Chandra | with no comments
Filed under: