The diff utility compares files by lines, which is often what you’d like it to do. But sometimes you’d like more granularity. For example, supposed we want to compare two versions of Psalm 23. Here are the first three verses in the King James version: The Lord is my shepherd; I shall not want. He […]
One of the problems in X and the City, a book I mentioned the other day, is deciding whether you’ll get wetter by walking or running in the rain. The author takes several factors into account and models the total amount of water a person absorbs as This assumes a person is essentially a rectangular […]
Table of Contents 1. General data privacy questions 1.1. What’s wrong with the nothing-to-hide argument? 1.2. Does removing names make data deidentified? 2. HIPAA, Expert Determination, and Safe Harbor 2.1. Is there more to Safe Harbor than 18 rules? 2.2. Does Safe Harbor really protect privacy? 2.3. Why does Safe Harbor remove dates of service? […]
Let’s work our way up to differentially private stochastic gradient descent (DP-SGD) a little at a time. We’ll first look at gradient descent, then stochastic gradient descent, then finally differentially private stochastic gradient descent. Gradient descent We’ll start with gradient descent. Suppose you have a function of several variables f(x) where x is a vector. […]
The previous post implicitly asserted that J = 8675309 is a prime number. Suppose you wanted proof that this number is prime. You could get some evidence that J is probably prime by demonstrating that 2J-1 = 1 mod J. You could do this in Python by running the following [1]. >>> J = 8675309 […]
Experiments can be expensive in terms of time and resources, and so an experiment needs to pay for itself. An experiment needs to be large enough to answer your questions, but not so large that it uses unnecessary resources and takes too long to complete. A small, well designed experiment can tell you things that […]
From Leonardo da Vinci: The impetus is much quicker than the water, for it often happens that the wave flees the place of its creation, while the water does not; like the waves made in a field of grain by the wind, where we see the waves running across the field while the grain remains […]
In a dose-finding clinical trial, you have a small number of doses to test, and you hope find the one with the best response. Here “best” may mean most effective, least toxic, closest to a target toxicity, some combination of criteria, etc. Since your goal is to find the best dose, it seems natural to compare dose-finding […]
I spoke with Sacha Chua last week. We talked about entrepreneurship, Emacs, having eclectic interests, delegation, and more. J: I ran into you by searching on Emacs topics. When I look at your blog, I see that you do a lot of interesting things, but it’s a little hard to get a handle on exactly […]
Rick Richter is CIO of Food for the Hungry. In this interview Rick explains why his organization is moving all of its computers to Ubuntu. John: Tell me a little about Food for the Hungry and what you do there. Rick: Food for the Hungry is a Christian relief and development organization. We go in […]