mha.dk

Random thoughts of wisdom - the personal blog of Michael Holm Andersen

VS2008 color schemes

Tomas Restrepo have uploaded several nice VS2008 color schemes on his blog - go get 'em :)

Fix missing CSS IntelliSense in Visual Studio 2008

I've been struggling with a problem with my Visual Studio 2008 for some time now – but it looks like I've finally found a solution!

The basic problem:
For some reasone my IntelliSense support in CSS documents would disappear after a clean install of VS2008. Everything would work great the first time I'd launch VS2008. IntelliSense in all my documents etc. But the next time I'd launch the program: no IntelliSense for CSS what-so-ever. The problem only occured with CSS-documents. Every other fileformat had IntelliSense enabled/active.
 To get IntelliSense support for my CSS-docs I'd have to force VS to list members through Ctrl+J (not so great).

The solution:
The problem seems to be occuring because of a nifty little property in the CSS > Tabs option in VS2008. For some reason VS would set the Indenting property to Block which led VS to think, that I didn't want IntelliSense support for this type of document.

So for all of you having trouble with this issue, here's the solution:

1)    Go to Tools > Options > Text Editor > CSS > Tabs
2)    Make sure that you have Indenting set to Smart

Thanks to Jacob Buus for writing this blog post.

The Usability of Passwords

Thomas Baekdal has a great article about passwords and how easy/hard it is to hack passwords and - more importantly - how to create usable and secure passwords.

If you're forced to use a single password and are having trouble making a secure passwor, you can use my password generator.

Storing password on small PostIt notes is, of course, bad practice. If you want to "write down" your password, make sure to use a secure tool for this. I use KeePass Password Safe as encrypted, secure storage. KeePass is also availabel as Portable App.

Facebook and User Content

If you're a Facebook user and you post a lot of personal information (text, images etc.), you might want to read Terms of use for Facebook, especially the paragraph "User Content" terms:

User Content Posted on the (Facebook) Site

You are solely responsible for the photos, profiles (including your name, image, and likeness), messages, notes, text, information, music, video, advertisements, listings, and other content that you upload, publish or display (hereinafter, "post") on or through the Service or the Site, or transmit to or share with other users (collectively the "User Content"). You may not post, transmit, or share User Content on the Site or Service that you did not create or that you do not have permission to post. You understand and agree that the Company may, but is not obligated to, review the Site and may delete or remove (without notice) any Site Content or User Content in its sole discretion, for any reason or no reason, including User Content that in the sole judgment of the Company violates this Agreement or the Facebook Code of Conduct, or which might be offensive, illegal, or that might violate the rights, harm, or threaten the safety of users or others. You are solely responsible at your sole cost and expense for creating backup copies and replacing any User Content you post or store on the Site or provide to the Company.

When you post User Content to the Site, you authorize and direct us to make such copies thereof as we deem necessary in order to facilitate the posting and storage of the User Content on the Site. By posting User Content to any part of the Site, you automatically grant, and you represent and warrant that you have the right to grant, to the Company an irrevocable, perpetual, non-exclusive, transferable, fully paid, worldwide license (with the right to sublicense) to use, copy, publicly perform, publicly display, reformat, translate, excerpt (in whole or in part) and distribute such User Content for any purpose, commercial, advertising, or otherwise, on or in connection with the Site or the promotion thereof, to prepare derivative works of, or incorporate into other works, such User Content, and to grant and authorize sublicenses of the foregoing. You may remove your User Content from the Site at any time. If you choose to remove your User Content, the license granted above will automatically expire, however you acknowledge that the Company may retain archived copies of your User Content. Facebook does not assert any ownership over your User Content; rather, as between us and you, subject to the rights granted to us in these Terms, you retain full ownership of all of your User Content and any intellectual property rights or other proprietary rights associated with your User Content.

Note the text I've marked bold+italic - this is the part where Facebook claims the right to use ANY material you uplode in ANY way or form the choose.

Facebook just informed the world that they now have more than 10.000.000.000 images in their database (actually more images than Flickr and Photobucket combined), so they have plenty of material to sell/use as they see fit. The above text is from the complete Terms of use.

Test your color IQ



xrite.com have put together a rather funny color IQ (and monitor!) test. The user (you) have to sort 80 color swatches according to hue. The lower score the better. Give your monitor and color IQ a go!

As you can see from the above image I scored 4 - the remaining 4 points must be due to my monitor now showing the correct colors! :-)

Going to TechEd EMEA 2008 Developers

Everything is booked and confirmed, so I thought I'll let you know that I'm going to TechEd EMEA 2008 Developers in Barcelona (10-14 November), and I'm really looking forward to experience TechEd.

If you're going, please let me know - we can team up and drink a beer, have a pizza or what-ever :)

I'll be staying at the Catalonia Atenas Hotel which is located downtown Barcelona, so I might get to visit La Sagrada Familia once again.

BT is using jQuery...

Yesterday when I passing by bt.dk, this little alert box popped up: 


bt-jquery.gif (81.88 kb)

It seems that BT is also using jQuery, but is trying to optimize their server load!! :-)