Today 🙁 was a strange day
my brain really braked down
I had some un-completed ideas and I couldn’t complete it
you know (whatever who you are 🙂 ) when you try to start your brain then it fall from you again
DAMN IT
however some information I want to write it here
http://arxiv.org/ a publication web site which have more than half million of papers in every thing
another thing
if you made a generic in C# like this AnyQuantity<double>
you can’t cast the Type parameter to a base class
so that
var f1 = AnyQuantity<Complex>
var fo = f1 as AnyQuantity<object> // will not WORK will NOT work 🙁 🙁 🙁
I had to use the reflection :S
have I told you about how did I solve the unit storage problem
simply by using attributes
like this
namespace QuantitySystem.Units.Imperial
{
[Unit(“in”, typeof(Length<>))]
[ReferenceUnit(1.0/12.0, UnitType = typeof(Foot))]
public class Inch : Unit
{
}
[DefaultUnit(“ft”, typeof(Length<>))]
[ReferenceUnit(0.30480)]
public class Foot : Unit
{
}
[Unit(“yd”, typeof(Length<>))]
[ReferenceUnit(3, UnitType = typeof(Foot))]
public class Yard : Unit
{
}
[Unit(“mil”, typeof(Length<>))]
[ReferenceUnit(5280, UnitType = typeof(Foot))]
public class Mile : Unit
{
}
}
Notice the attribute of [ReferenceUnit(0.30480)] over the foot
exactly 🙂 … this foot is linked to the default SI unit which metre
and in return i’ll make the developer able to define its own set of units
———-
last lecture in my master in thermodynamics
about Availability
there is a system
surrounded by environment
then surroundings
availability is to get all the energy from the system until it reach the dead state
how do you know that the system is reached the dead state ??
simply when its properties reach the environment properties
so System – Environment = maximum availability
if you take the irreversibility into consideration
then System – Environment = availability – irreversibility = useful availability
so useful availability/maximum availability called second effeciency
🙂 quite annoying 🙂
————
Parallelism and concurrent applications will be the next major step in .net 4
at least for me
I’ve read something about multi-threaded is not a parallelism and I was convinced
when you move your mouse or write on your keyboard this is multi threading
the idea of parallel execution is to reach the same aim
not to do many unrelated things in the same time
—————–
what else ???
my friend left the country back to Dubai 🙁 and I am very upset
I didn’t go to the lecture of fluid today and I am very depressed 🙁 I really want to understand these strange things called stream lines, boundary layer, turbulent flow, momentum interchange
also I have a report to be done on the second order of thermocouple to deduce the time constant of thermo couple
bad bad bad