[neutron-mc] Monte Carlo and Vista

Emmanuel FARHI farhi at ill.fr
Sun Apr 1 11:54:24 CEST 2007


Vista and the perfect order system.

With the release of the latest Microsoft system, a new standard in
sotfware programming has emerged. It puts emphasis on security,
clean-looking and order. Together with the Vista patent, Microsoft has
patented the use of randomness in software, with some restrictions.
As a consequence, the use of random numbers now depends on Microsoft. This
also applies to open source projects, in order to gradualy improve the
open source quality, by reducing the non-sense chaos that comes with it.

However, the US court has recently requested that an alternate method
should be provided to the open source world as a replacement of the newly
restricted random number use. As a consequence, you should now replace in
the McStas code all occurencies of the functions:
    'rand01' 'randpm1' and 'randnorm'
with the following Java call:
    world.ms.NET.getvalue.stockmarket.random(share=Microsoft, value=Rate)

The Mc$tas team will implement this method as soon as possible. Other
Monte Carlo codes will probably be affected too.






More information about the mcstas-users mailing list