2010-08-30

Floating Point / Single to Hexadecimal (IEEE 754)

public string FloatToHex(float valueToConvert)
{
   byte[] byteArray = BitConverter.GetBytes(valueToConvert);
   Array.Reverse(byteArray);
 
   return BitConverter.ToString(byteArray).Replace("-""");
}

Output example: 12345.6 -> 4640E666

Solution came from VB.NET Hexadecimal to Floating Point / Single (IEEE 754)
What is IEEE 754 Floating-Point Arithmetic Standard?

2010-08-12

Artillery - Damned Religion



Lyrics


Your morals are not my morals
Your religion means nothing to me
Your two faced lying high priests of power
Take your gospel stay away from me

Your truth is not my truth
Your point of view means nothing to me
Your double talking jive motherfuckers
Take your bullshit stay away from me

False messiah legions of fire !
Religion is in your blood,
Religion is your drug, religions in your head
Can never get enough

Your twisted rhetoric it takes you higher
The lord you worship is the false messiah
The lives you prey on can't defend themselves
You use them up and make their lives all hell

You cheat and lie you use the weak and poor
Your so called master is a lying whore
Your evil empire is a cancer cell
You too will die and burn forever in hell

Your dreams are not my dreams
Your holy war means nothing to me
Your narrow minded no brain way of thinking
Your damned religion stay away from me

2010-08-11

Stryper - 4 Leaf Clover



We've been on the outside looking in before
We've lived on the inside with a closed locked door
We've slept in the corners of the open floor

We go round and round and round and round and round and round and round

There's no strength in a unicorn
No luck in a 4 leaf clover
There's no life unless it's born
And no death when it's over

We've listened with open ears yet closed our minds
We've loved without any tears from our own eyes
We've gone to the parties in our cheap disguise

We go round and round and round and round and round and round and round

There's no strength in a unicorn
No luck in a 4 leaf clover
There's no life unless it's born
And no death when it's over