More reasons why Microsoft sucks

From their API site:


What is the API user access key?

The API user access key is a unique alphanumeric value (string) that, together with the user name and password, is used to validate any calls to the API. This unique key is issued to individual users at signup and provides more security (authentication) than only a username and password.

How do I receive a user access key?

Contact your local sales representative. Your sales representative will assign a search marketing specialist to you who will give you a user access key.

Can I have more than one user access key?

Contact your sales representative to have more than one user access key.

What do I do if I lose my user access key?

Contact your sales representative to resend you the information.

oh well thank you, i guess this is how you keep your useless sales reps busy, Microsoft.

Why Microsoft’s Hotmail Sucks

I am one happy Gmail user and I hate Microsoft’s Hotmail.

I don’t really remember the reason I registered with them, but the thing is I haven’t been using it lately at all. But the other day my mom, who sighed up as Microsoft’s Trade Partner in Kazakhstan asked me to subscribe her company for Action Pack. And sure enough, they didn’t make it easy on you. You just CAN’T access their subscription page unless 1) you have a LiveID 2) LiveID has to have a .hotmail email account associated with it! After two weeks of back and forth email communication with their reps in Kazakstan, Russia and the States, I finally was able to access their well hidden Action Pack subscription page. And of course to get them to talk to me and to sign in, i HAD to use their so-called LiveID and receive their emails in my hotmail account.

Now I just want to never see that hotmail page again, so i went to the options and tried to forward all the mail to Gmail (which does an amazing job at filtering all the junk while hotmail’s inbox was piled up to the top). But no way Microsoft will let you leave! Not only they tell you to “at least once every 120 days so that your account doesn’t get deleted” but look at this:

You’re only able to forward mail to a custom domain or an e-mail address that ends in hotmail.com, msn.com, or live.com. Please try again.

I HATE you HOTMAIL!!!

CSS borders in Firefox and IE

FF will display borders OUTSIDE of a div element, adding the border width to the element widget. IE will squeeze borders INSIDE and the total width stays the same.

Workaround for this which makes FF behave like IE:

* {
-moz-box-sizing: border-box;
}

(* applies it to all elements, if you don’t need that, add it only to a desired element)

Dates in MySQL

PhpBB stores dates in INT fields in Unix time format, meaning the integer value equals to the number of seconds since 1/1/1970.

To view the date in standard format, use FROM_UNIXTIME(field) function:

select user_id, username, FROM_UNIXTIME(user_regdate) as d from phpbb_users

To select a time interval, we need to use FROM_UNIXTIME( ) function with a DATE_ADD() or DATE_SUB() .

Example: select fields created less than 23 hours ago:

select user_id from phpbb_users where
FROM_UNIXTIME(user_regdate) > DATE_SUB(NOW(), interval 23 hour)

MySQL date functions reference.