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 balls and bins. We denote the event that ball falls into bin , and denote the event that balls and collide. [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]