The Fox Blog

Windows Media Player in Windows Vista Business N

Posted in Windows Vista by Fox on the February 21st, 2007

It turns out there is not version of Windows Media Player currently available for Windows Vista Business N.
According to the microsoft windows media newsgroup, Windows Vista Business ‘N’ edition is not bundled with Windows Media Player (because of the European Union regulation). In addition, you cannot download Windows Media Player because it’S just not available yet and will be out in ‘a couple of month’.

What am I supposed to do until the next ‘couple of month’, not listen to music or something?
Technically, WMV files cannot be read on Windows Vista Business N and it doesn’t seem we can get a WMV codec to get them working on other media players.

I’ll keep you updated on what happens.

Windows Vista Business N

Posted in Windows Vista by Fox on the February 21st, 2007

I installed Windows Vista Business N this week. The OS was provided by the institution I’m attending, so I though it would be a good idea to try it.
The installation and configuration were quite straight forward at first, but now I’m facing numerous problems:
- Some driver is not recognized and I’m unable to fix it
- Cannot connect to a Windows XP wireless network
- Cannot find or get Windows Media Player

HTML Norwegian Characters

Posted in HTML by Fox on the February 13th, 2007

Along the 26 alphabet characters [a-z], the Norwegian language includes three other characters: æ, ø, å.
When coding an HTML page, including those characters as mentioned might generate an error in some browsers and display an unwanted character.Your page will also not validate in W3C standards.

In order to validate your page and have the characters displayed correctly, you will need to use the following escape entities:

Character Entity
æ æ
ø ø
å å
Æ Æ
Ø Ø
Å Å

JavaScript Math Functions

Posted in JavaScript by Fox on the February 11th, 2007

When coding in JavaScript, I always find the need to compute some basic mathematical values. The Math class (object) turns out to be useful here by providing numerous functions, such as sine, cosine or random number generator.
The list of JavaScript Math object functions below:

Math.abs(a) // absolute value of a
Math.acos(a) // arccosine of a
Math.asin(a) // arcsine of a
Math.atan(a) // arc tangent of a
Math.atan2(a, b) // arc tangent of (a / b)
Math.ceil(a) // ceiling of a
Math.cos(a) // cosine of a
Math.exp(a) // exponent of a
Math.floor(a) // floor of a
Math.log(a) // log of a base e
Math.max(a, b) // maximum of a and b
Math.min(a, b) // minimum of a and b
Math.pow(a, b) // a to the power b
Math.random() // random number from 0 to 1
Math.round(a) // rounded value of a
Math.sin(a) // sine of a
Math.sqrt(a) // square root of a
Math.tan(a) // tangent of a