Your article prints out several question marks and symbols instead of the characters. I’m in the U.S. and it’s displaying that way both in Safari and Firefox.
For your reference… that’s how your most recent blog entry looks in Safari on a Mac. RSS feed in Mail.app is the same. In Camino, I get regular ?s instead of the diamond icons.
That’s a great explanation. I really like your articles (this is a problem that always frustrates me, as well).
The mathematical terms for that would be inclusive or exclusive, if anyone remembers “sets” from elementary school (or junior high - it’s been awhile). Inclusive means add the 1 (count the number of items), and exclusive means don’t add it (tell me the distance between).
The difference is caused by the adoption of closed intervals in our language. When we say “all integers between 1 and N”, we mean N numbers (i.e., we include the both the boundaries).
It is often more convenient (at least in programming) to work with half-open intervals. Consider a standard way of cycling through N numbers in C-like languages:
for (int i = 0; i
We mention boundaries 0 and N, yet we only mean N numbers, not N+1.
[…] Kalid placed an interesting blog post on Learning How to Count (Avoiding The Fencepost Problem …Here’s a brief overviewWhat Does Subtraction Mean? We often see numbers as points on a line: These points can be houses, floors, or plain integers. Whatever they are, they’re labeled so we can count them easily. 1 to 10 means ten items. …. It looks like a copy- paste from Word. Slari — April 28, 2009 @ 6:50 am. www.atchius.net/betterexplained.png. For your reference… that’s how your most recent blog entry looks in Safari on a Mac. RSS feed in Mail.app is the same. In Camino, I get regular ?s … […]
The passage: “Consider now the subsequences starting at the smallest
natural number: Inclusion of the upper bound would then force the
latter to be unnatural by the time it had shrunk to the empty one.”
@Phil, @ Marian: Thanks for the details! Yes, it’s interesting how certain types of time ranges imply inclusive or exclusive ranges. We tend to “know” which one to use given the context and/or idioms like the for loop (always start at 0, always be less than N).
@Queryman: I think my form may have eaten your comment, I think you may have written “Given 2 = i”
@Scientific Chick: Thanks!
@Ismeet: You’re welcome, appreciate the encouragement
@Tiago: Thanks!
@CL: Ah, that 19th centry / 1800s issue has been on my mind too, great example. The first “span” of a hundred years (century) is from year 1 to 100, leading to all the confusion we now suffer. Will try to keep them coming :).
OMG! That’s how I’ve envisioned counting things/distances/etc for years! I thought I was the only one! I always said “you have to start at the beginning of 5, but you go to the end of 8” so that makes 4 not 3!
Music is written in such a way. Bar lines are the points for counting measures, so that statements like “four measures back” aren’t ambiguous.
When I began numbering my scores, I noticed that a four measure rest starting at measure 21 encompasses spans 21-22, 22-23, 23-24, and 24-25, but it only numbers 21-24, because the measure between 24 and 25 is numbered 24. That was the epiphany that there are two different counting systems, and that they must coexist.
@Jehan: Nice! It’s really cool figuring out the tricks other people use to handle potentially confusing topics.
@Nobody: Great example with music. I think it makes sense, as music must convey timing accurately and clearly. It’s an interesting solution to just “number the fence pieces” to avoid confusion about what 4 measures back means. Thanks for the example.