Skip to main content

Microsoft enhances Windows Live Services

Microsoft has been sprucing its services lately, though things are yet a little patchy and at times they simply won't work!

I saw a nice feature in Live Mail today. If you get a .mp3/.wma file as an attachment, you can directly play the file from your inbox. Live Mail shows a play-pause-volume toolbar in the message. I don't know if it works for other media formats as well.

I just wish they could make the actions a bit faster. Switching views (like moving from Inbox to Sent to Folders) is much slower than GMail or Yahoo! Mail.And why was it showing a mail from as phishing attempt? That message didn't even ask me to login anywhere!

If you are using, then you can select many more gadgets which are available in Live Gallery. Microsoft seems to be positioning Live as a one stop shop for all the users of MSN Space, and Vista users who have got Sidebar on their desktops. However the number of gadgets is still much lesser as compared to Google's collection.

And perhaps you can also share your feed collection on Gallery. But I have not been able to do this. Each time I try to publish my setting Gallery shows an error!

Read in Economic Times that MS is increasing the Google War Chest! God help them.


Popular posts from this blog

File upload problem: UTF-8 encoding not honored when form has multipart/form-data

The problem that I was facing was something like this. I was using Apache Commons File Upload library to upload and download some file.

I had a form in which user can upload a file and another field 'name' in which she can give any name to the file being loaded.

When I submitted the form, the file was uploaded fine but the value in name field was garbled. I followed all the possible suggestions I found:

<%@page pageEncoding="UTF-8"%> set. <%@page contentType="text/html;charset=UTF-8"%gt; set after the first directive. <meta equiv="Content-Type" content="text/html;charset=UTF-8"> in the head. enctype="multipart/form-data" attribute in the form. accept-charset="UTF-8" attribute in the form.
in the Servlet:
before doing any operations on request object: request.setCharacterEncoding("UTF-8"); For accessing the value

FileItem item = (FileItem);

if (item.isFormField()) {

//For regular…

java.lang.IllegalArgumentException: Malformed \uxxxx encoding

I was getting this exception during build while running ant. Googling didn't help much and I was flummoxed because the same code was running fine till now.

My code reads a text file and does some operations on the basis of values read. It was only when I saw the text files I understood the error. I had copied the text in wordpad and saved it as .txt file. Wordpad had put lot of formatting information before and after the content. Also there was "\par" after every line, which was giving this error.

So moral of the story: if you get this exception check your properties file (or any other file that your code might be reading.)

Easiest way to print Timestamp in Java

Rather than using Calendar.getTime() we can use java.sql.Timestamp class to get the time stamp which gives date and time till millisecond precision.

System.out.println(new Timestamp(System.currentTimeMillis()));

Above will give you current timestamp in this format: 2010-07-27 16:37:45.39