It is very big assumption to me. It is now used very widely. But I am not sure if it was at all common back in the history. Most systems were kinda different from it.
I once had a statistics professor (teaching a programming class using, IIRC, SAS) in college who worked as a data analyst in the federal government, possibly the Labor Department. Part of his job was working with polling and form data. After class he once tried to explain a paper he wrote arguing for an additional null-like type in the formal analytics system in his domain. I was young and stupid (took it as an easy programming course; was not skilled at abstract math) and impatient (wanted to meet up with friends at a pub) so didn't follow along well enough to even properly remember his argument, let alone understand it. But I've always distinctly recalled that he was arguing for a 4th, or possibly 5th type, yet whenever I survey the literature I've only found at most such 2 types. But I've probably been looking in the wrong places.
For context, NULL/missing was a type. N/A was a type (i.e. a question irrelevant to someone). I can't remember the 3rd, and of course not the additional (4th or 5th) type he was proposing. If anyone knows a good resource that describes this problem domain, that would be much appreciated. I've been haunted for over 20 years by the regret of not fully appreciating what he was trying to explain to me, both because I could've learned something that day, but also because I almost immediately felt like an a*hole for not showing enough interest in and respect for a piece of scholarly work he was clearly proud of and wanted to share with me.
EDIT: I think the third pre-existing type was for a situation where someone abstains from answering a question like, "Sex: male/female", because they consider themselves neither. So something like an Other type. In retrospect this was presumably related to set theory, and he felt there was a gap in the pre-existing formal models.
> For context, NULL/missing was a type. N/A was a type (i.e. a question irrelevant to someone). I can't remember the 3rd, and of course not the additional (4th or 5th) type he was proposing
“Don’t know”: this has a value, but we do not know it could be one. Also, within N/A, one _could_ discriminate between “not available yet”, “will never be available”, “was available once, but was lost”, etc.
Depending on the domain, others could be
- “Can’t tell”: this has a value, but you are not allowed not know it (unlikely, as you likely also shouldn’t be allowed that the value exists)
- incomputable: this has a value, but it isn’t possible to know it
I think generic systems shouldn’t try to capture such domain specific things, but allow for implementing them. SQL shouldn’t even have null, but have enums and product types on top of which you could create it and functions supporting it.
"Don't care" - it has a value, but it doesn't matter. This is classically used in Karnaugh maps.
But you can imagine two kinds of "don't care" values, too: the complacent one, and the assertive one. The complacent one is the one we have in Karnaugh maps, which says, "it doesn't matter what I am, so if it matters to you what I am, I'll be what you want".
But the assertive variant says, "I don't matter, and if I matter for your calculation, your calculation clearly doesn't matter either."
"Not available yet", at least to me, carries the implication that it will, not just might, become available at some point. Probably soon enough that it's worth asking the question again later. Whereas "don't know" suggests that it's not worth asking the question again, because you're probably just going to get "don't know" as the answer. (At least, if "don't know" and "not available yet" are both presented as options).
A more accurate description is “May become available”, it might be possible that it could become available and we believe it could within a short order, however it is also not assured or guaranteed that it will become available when we think, and it may also never become available at all for any number of reasons as simple as someone not following up and adding newly ascertained information or that the only possible source of the information has become permanently unavailable for many other reasons of their own.
> But I've always distinctly recalled that he was arguing for a 4th, or possibly 5th type, yet whenever I survey the literature I've only found at most such 2 types. But I've probably been looking in the wrong places.
It’s common for surveys to encode various null values. ‘Refused to answer’, ‘Did not know’, ‘Not applicable’, ‘Illegible response’ etc, although there is no standard way to do this.
The SAS language allows you to use multiple custom missing values, but this is not widely known and I’ve never seen anyone do it.
Oh that's easy. The 4th is "misplaced/lost", and the 5th is your kids pointing fingers at each other and saying "he/she did it, it wasn't me". Finally, the 6th is FILE_NOT_FOUND, coincidentally also the third boolean value after TRUE and FALSE.
No, that implication is not automatic. The Babylonian numeral system evolved over milenaries, and the simple space noting the absence of a digit between two digits was later noted by a "0" digit. But this symbol was never used by itself, so it did not mean "nothingness". In the same way, a civilization having the concepts of addition and subtraction does not automatically induce the concept of negative numbers.
On the other side, ancient Egyptian numerals did have a zero, but it was only for nothingness. But they did not have a placeholder zero, because their systems was similar to Greek and Roman numerals.
Looks like translating a positional numbering system from ancient cultures than ruling out or not if they had the concept of zero. It may be a single use symbol, here is nothing, instead of being part of bigger amounts. Numbering systems doesn't have to be positional (nor go too far).
I highly recommend suffering through both early and late Wittgenstein (only wrote 2 books and essentially invented one of the 3 branches of philosophy).
Expect to only understand 10% of what he says, but that is normal.
Separately, pragmatism by William James is an easy 4 hour read and you can have 2/3 of the branches of meta philosophy.
The question is the title is left unanswered by this shallow article. At least it's not AI slop since there are spelling mistakes ("You’re best hope").
> Say you’ve found 17 numeric symbols. You might infer that the writing used a base 20 system
Reals numerical systems are much more diverse than that. For instance, Babylon used a base 60 (hence our minutes and hours). But there were much less than 60 numeric symbols, since they had a symbol for 1 and 10. So 2 symbols for a base 60!
> never appears at the beginning of a number, you might infer that is a zero
In the later times Babylonians had a kind of zero, but it was very limited, only used to point the lack of a number between two, i.e. "2∅1" but never "21∅∅" which was written "21" (so numbers were ambiguous if the context didn't give the magnitude).
And Babylonians had floating numbers. So "4" could also mean 4/60.
What I mean is that Babylon had a zero, but it only covered a part of the positional modern zero. They could not write 0 - 3. And if their zero had been fully positional, there would have been numbers beginning with it, i.e. sexagecimals floats.
> Reals numerical systems are much more diverse than that. For instance, Babylon used a base 60 (hence our minutes and hours). But there were much less than 60 numeric symbols, since they had a symbol for 1 and 10. So 2 symbols for a base 60!
>In the later times Babylonians had a kind of zero, but it was very limited, only used to point the lack of a number between two, i.e. "2∅1" but never "21∅∅" which was written "21" (so numbers were ambiguous if the context didn't give the magnitude).
Was it really like this or could it have been like "21 h" meaning "2100"?
What I wonder is: why has nobody noticed that code editors lack a concept of 0?
When you're writing code, you can express any concept except that of an unfilled hole. We've rearranged every part of the coding process in a twisted-up way, all for the lack of a way to express lack.
If you want to be more clear about what I mean, look to tools which can express holes like https://scratch.mit.edu and https://hazel.org. They give the feeling of letting things snap together like lego bricks. Indeed, lego bricks themselves function because of the negative space (the holes) in them!
Here's my example: in JS code, what does // mean? Is it the start of a line comment or the empty regex? The difference between them is nothing. If you could write nothing as _, one would be /_/ and one would be //_
Yes. If we could find some such character that was completely safe all the time, we would have a system of universal templating for all programming languages. ...but we can basically prove to ourselves that we'll never find any completely safe unicode code point to use for the purpose that will never be in conflict with the syntax of any language. ...so are we done for? Nah, we just need an embedding
Yeah, I will. I'm being a bit coy because I already have a very specific solution in mind which would be a lot like Scratch, but unifying those ideas with syntax. It should be fully ready to share quite soon.
Have you also looked at Snap! (https://snap.berkeley.edu/), by any chance? It's basically Scratch but with the artificial limitations removed, e.g. you can pass lists to functions, and blocks (functions) are treated as first-class objects so you can store them in data structures, pass them as input to other functions, and basically teach students proper functional-programming thinking (to find the odd numbers in this list, just pass the "is odd?" block as input to the "filter" block and you're done).
Function arguments are unfilled holes. So are interface declarations.
Both are (fairly) programming language agnostic, but in the context of an editor, would become specific. The editor would have to know _how_ to represent them in the code’s language.
Ugh I got rate limited so I had to make a new acct just to post this reply:
Sure! Like mad libs if you couldn't be sure if _____ was a missing part or the text what was meant to be there. In a mad lib it's obvious, but with code it may be less obvious. You certainly can't just use _ with code. Even the nil code point is allowed in some programming languages' source code (e.g. rust).
It has been pointed out before that although we know of no cultures which used a bijective base number system (well, besides base 1!) it might not be immediately obvious if they did.
I think it was in a paper which was about how many times the bijective base system had been independently reinvented by mathematicians.
Of course. The Chinese number system is base 10 (or, if you scale way up, base 10,000) with a positional writing system.
The symbol for ten is 十. Heck, there's also a symbol for twenty, 廿, and it exists despite the number system being base 10. Anything that has to be written a lot is likely to have a convenient written form.
If you're curious, zero is 零. Successive zeroes are combined, so 一千零一 is 1001. 5147 would be 五千一百四十七. 10, as previously mentioned, is 十.
> Heck, there's also a symbol for twenty, 廿, and it exists despite the number system being base 10.
I'm not sure that if you intend to captured the structure of chinese symbols, you wouldn't to make the radicals something below symbols. Then 廿 wouldn't count as a single symbol here, but rather as a concatenation of two 十, i.e. the same as XX is 20 in roman numerals.
You are wrong about this. The structure of the characters is very explicit; one character per square. Meaning is assigned at that level and never below.
(As a matter of character etymology, you are right that 廿 and its variant form 卄 come from combining two 十. But that can't make it "two symbols".)
Because there is no similarity between those two things. "combine" and "-ing" have meaning independent of each other. (In linguistics this is recognized by calling both of them "morphemes".) This is not true of the graphical components that make up Chinese characters; the bottom level at which any meaning can be assigned is the entire character.
Characters have structural features that can be identified and named. But at that level of the writing system, meaning isn't present.
> This is not true of the graphical components that make up Chinese characters; the bottom level at which any meaning can be assigned is the entire character.
I don't speak Chinese myself, so I'm a bit unsuited for the discussion, but a Chinese friend told me that the characters are composed of base symbols. You can't necessary guess the meaning from that alone and sometimes they changed shape a lot over time, but that is true for other languages as well.
Maybe "-ing" is a less ideal example, because it suitability to be combined depends on word class (verb), and it actually changes the grammar, not the word itself. Maybe a better example is the "com-" in both "combine" and "compose". It does has some meaning on it's one, but what the actual combined word means is not necessarily directly inferable and has changed over time.
That is the positional part. If you were to rearrange it, you'd get something invalid. 二十三百 isn't a number at all.
Recall that the use of zero is necessitated by using positional notation, and that is what we see here: you must explicitly zero any magnitudes you're not using. (At least, any that are below one you are using.)
I should also note that while there is no symbol for the number 10,000 - there is a place value, but the number is 一万, not 万 - the number 10 is still written 十.
The Chinese counterexample is important. The author says "base b doesn't have a single symbol for b" - but Chinese has a symbol for 10 (十) and even 20 (廿). Having a symbol for the base doesn't mean the system isn't positional. It just means you have shortcuts for common numbers. So the article's main diagnostic is flawed