Source: http://www.exploringbinary.com/decimal-to-floating-point-needs-arbitrary-precision/
[more]
Mounting NFS in OSX Lion
A common problem in connecting NFS on OS X machines is that, they do not connect on “reserved ports” (i.e. \(<\)1024). Two ways to solve: On the NFS server, use “insecure” keyword in the /etc/exports to accept so-called insecure ports for connection. Or in OS X side, instruct to use...
[more]
Balls and Bins
Assume there are \(m\) balls and \(n\) bins. We denote \(\eta_{i}^b\) the event that ball \(i\) falls into bin \(b\), and denote \(\epsilon_{ij}\) the event that balls \(i\) and \(j\) collide.
[more]
Call dependency graph in NS-3
To understand NS-3 better, or to know how something is being done in NS-3, or just to know where to modify, run the following code:
[more]
ns3: ASCII trace to stdout
The way demonstrated in examples to put ASCII trace into a file:
AsciiTraceHelper ascii;
p2p.EnableAsciiAll (ascii.CreateFileStream ("tcp-star-server.tr"));
To output to stdout (or other existing std::ostream object), use the following instead:
pointToPoint.EnableAsciiAll (Create<OutputStreamWrapper>(&std::cout));
[more]