Fast Gaussian-distributed Random Numbers
Recently, profiling showed me that most of the time in the microbenchmark I was running was spent generating the stream of random numbers using Random.nextGaussian. »
Recently, profiling showed me that most of the time in the microbenchmark I was running was spent generating the stream of random numbers using Random.nextGaussian. »
I took this past Monday as a vacation day. Upon returning, I sent this email to the team, and they suggested I post it here. Upon »
This past weekend, I needed to find a good fraction to approximate a given value. Along the way, I learned about continued fractions, and emerged with »
Traditional comparisons of benchmark results focus on percentage differences. While seemingly simple to understand and compute, such comparisons pose a number of problems that are solved »
A thousandth of one byte. Does such a thing even exist? Yep, it does. I've used them before. How to debug an optimizing compiler Suppose you »
Occasionally, you need to compute the Cartesian product of several sets. Java 8 Streams make this simple, clear, elegant... and extravagantly expensive. I've created a Cartesian »
Yaron Minsky from Jane Street gave a great talk on OCaml that serves as a good introduction for someone who is accustomed to Java. In particular, »
In honour of Claude Shannon's 100th birthday, I want to tell you about two ideas I had for storing data efficiently. These ideas are pretty nifty »
Folks using programming languages with automatic garbage collection (GC) often feel that it's a price worth paying. I disagree: outside of some fairly limited circumstances, there's »
A few of us will be visiting U of T next week to give a talk on Vena's Calc programming language. If you like programming languages »