-
``` factor
IN: scratchpad 10000000 [ 10 random ] replicate histogram .
H{
{ 0 998549 }
{ 1 999791 }
{ 2 997096 }
{ 3 999155 }
{ 4 998261 }
{ 5 996836 }
{ 6 999476 }
{ 7…
-
Scala's BigDecimal.hashCode() implementation, while not technically broken, is implemented in such a way as to nearly guarantee a large number of collisions. The current implementation looks like thi…
-
```
I get failures with current master. The failing solver test is fixed, a pull request has been sent. But I get a strange infinite recursion, see attachement.
The lines
File "/home/one/src/sympy/…
-
When the pH remains constant and the solution volume changes, the 'ratio' view shouldn't change. That is, new molecules shouldn't be drawn. Changing the solution volume should just change the clippin…
-
It is impossible to 'balance' a game, when the random number generators vary in quality and level of randomness across platforms.
By using a cryptographic quality random number generator - we can be …
-
```
-- Answer 3: Write a function composites :: [Integer] that generates
-- the infinite list of composite natural numbers.
-- Time spent: about 15 minutes.
composites :: [Integer]
composites = [ n | …
-
The following is a nice straight-forward solution, but it is not very efficient.
```
composites :: [Integer]
composites = composites' [4..]
composites' (n:ns) = n : composites'
(filter (\ m -> hea…
-
On Fedora 18 (x86_64), I removed ~/.ghc and ~/.cabal and did:
$ sudo yum install readline-devel
$ cabal update
$ cabal install cabal-install
$ cabal install lambdabot
It fails with ExitFailu…
-
There's a problem with the swing logic in that it's not random. The difference between the two is always 27.5 using random.gaussian and 2.5 using random.basic.
random.cxx is now littered with touts to…
-
Hi,
I have few doubts and problems while using triqs please give me some help?
1) I run the Hybridization solver with in DMFT for single band Hubbard Model(Bethe lattice). I used Pade approximation …