Latitude doesn’t exactly mean what I thought
There are two kinds of latitude: geocentric and astronomical. On a perfect sphere, they're the same, but on an oblate spheroid like Earth they're different.
Companies come to us for help data analysis and data privacy. Clients have included Amazon, Google, Microsoft, law firms, start-ups, and smaller businesses.
Visit johndcook.com → RSS feedOn Hacker News Jan 2010 – Sep 2026
Math & Algorithms 44Software Engineering 24Life, Learning & Writing 11Career & Management 11Science & Space 9Programming Languages 6
There are two kinds of latitude: geocentric and astronomical. On a perfect sphere, they're the same, but on an oblate spheroid like Earth they're different.
Some things about the R programming language that programmers coming from other languages are likely to trip over.
Things a programmer coming from another language needs to know about R, especially those things that might be most surprising
The word "kayak" is a palindrome, but it isn't visually symmetric. The word "bud" is visually symmetric, but not a palindrome.
Monads and macros have an almost gnostic mystique about them. Why is that? Why does hardly anyone use both?
Where do you stand in order to minimize the expected distance to walk to catch the first elevator that arrives? Maybe not where you think.
Why does lining up two scales of a slide rule let you multiply numbers?
The soft maximum approximates the maximum function, and approaches it in the limit, but is easier to work with.
How would you allocate money to a set of independent assets with to minimize volatility if some assets are more volatile than others?
What regular expression features work everywhere. Very few unless you relax your definition of "everywhere."
During WWII, statistician Abraham Wald told the RAF to add armor where it didn't seem planes needed it. But he was right.
Some problems simply have no solution. Some problems have no simple solution. Some problems have many solutions. ...
The ability to quick estimates is still valuable, maybe more valuable than it used to be.
This morning Miroslav Bajtoš asked "Why do C++ folks make things so complicated?" in response to my article on regular expressions in C++. Other people asked similar questions yesterday. My response has two parts: Why I believe C++ libraries are often complicated. Why I don't think it has to be that way. Why would…
The notation [x] reigned for nearly two centuries before being replaced by ⌊x⌋. Why the latter is much better and what else we might learn from its inventor.
The snowball strategy says to pay off your smallest debt first, then the next smallest, and so on until you're out of debt. When I first heard of this I thought it was silly. Clearly the optimal strategy is to pay off the debt with the highest interest rate first. That assessment is mathematically correct,
How can you tell whether a number is divisible by 7? Almost everyone knows how to easily tell whether a number is divisible by 2, 3, 5, or 9. A few less know tricks for testing divisibility by 4, 6, 8, or 11. But not many people have ever seen a trick for testing divisibility
Michael Crichton coined the term Gell-Mann Amnesia effect to describe forgetting how unreliable a source is in one area when you trust it in another area.