3,849 karma · joined Sep 12, 2013 (13y ago) · 1,555 submissions
comment 3y ago · link · parent
I believe you're describing Blazor: https://learn.microsoft.com/en-us/aspnet/core/blazor/?view=a...
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
But it looks like this was just an old rumor? https://www.mobileread.com/forums/showthread.php?t=14152
comment 3y ago · link · parent
comment 3y ago · link · parent
This sounds reasonable at first glance, but I would challenge you to describe a society in which the "smart and virtuous" are elevated over the "dumb and selfish" that does not rely on an external power structure to enforce this hierarchy.
One conceit of a "natural aristocracy" is that it should be self-organizing. In practice, we know that this process will ultimately prize traits that consolidate power. Some people are stronger than others, some are willing to use physical strength to bully others, and those who are in both groups will rise to the top of a "natural aristocracy" that prizes brawn.
comment 3y ago · link · parent
This is nit-picking the specific example rather than engaging with the GP's point. There are definitely genres that span the fiction/non-fiction divide (like romance, horror, politics, judaica, and many more). Interestingly, hierarchical systems used by libraries tend to ignore genre. The Dewey Decimal system doesn't classify literature by genre but instead by language, though some overarching genres (drama vs poetry) are treated as subcategories of language (e.g., German poetry is 831, French poetry is 841), but only for major European languages.
comment 3y ago · link · parent
comment 3y ago · link · parent
The COBOL spec doesn't allow recursive "paragraphs" (functions), though some implementations support it. (This may no longer be the case, or this limitation may have been specific to the language version used at my job.)
The main limitation is I/O, though. You typically use JCL to indicate what files/DBs a program will run against, and I recall that everything that touched the network was written in Java and called from JCL (whether this was because networking libraries don't exist in COBOl or because those that do are terrible, I couldn't say).
comment 3y ago · link · parent
comment 3y ago · link · parent
"Tools and methods" are in fact considered more sensitive than any personal information in the IC. The system you're proposing presumes the existence of at least one unhackable organization, and I regret to inform you that there is no such thing.
comment 3y ago · link · parent
This is just wildly untrue. The 2015 OPM hack (in which an APT stole security clearance records) was a mass spill of private data. The Shadow Brokers leak put the NSA's most sensitive tools on the public internet for anyone to download. And of course we might never hear about collected intelligence that had been purloined by an adversary in the course of an offensive cyber operation.
comment 3y ago · link · parent
The failure mode is significantly different when comparing JS to other mainstream languages. Most languages have a "checked" mode (either opt-in or mandatory) so that expressions like `4611686018427387904 + 4611686018427387904` can raise an error, whereas JS will just give you the wrong answer. Python is the most ergonomic for beginners or non-developers because the runtime will convert an integral type to an arbitrary precision integer on overflow.
Yes, there are alternative primitives that can be used, but you need to know they exist. We're talking about a tool that is explicitly designed for people who are not professional programmers, and JS's behavior here is surprising unless you understand the underlying data model. I would personally much rather give beginners a tool incorporating as few footguns as possible.
> JS is a language with the tools today to do precision arithmetic (whether you like it or not)
Arbitrary precision arithmetic has been possible in JS since the language was invented, but it has always been a pain. The bignum NPM package[0] predates the BigInt numeric primitive by 9 years. The addition of `BigInt` to ES2020 was important for performance (since implementing an arithmetic primitive in JS makes calculations dog slow), but it didn't add any fundamental affordances to the language.
comment 3y ago · link · parent
Even if we stipulate that users will be cognizant of floating point limitations and convert everything to integers, JS still requires all literals to be suffixed with n to avoid silently losing precision when integral values exceed 2*52.
comment 3y ago · link · parent
comment 3y ago · link · parent
The cloud execution model does still have an advantage in that it can retain old runtimes in perpetuity for backwards compatibility, though
comment 3y ago · link · parent
JS has been one of the supported add-in languages for a while[0], but that's not quite the same thing as the new python offering (which sounds more like jupyter within excel).
Since excel is often (mostly?) used for working with financial calculations, I for one am glad they went with python for this feature instead of a language that insists that an IEEE 754 double is the only kind of number anybody actually needs
comment 3y ago · link · parent
Git history and did tracking is obviously more useful for text-based formats like md than it would be for PDFs, but there's no reason you couldn't include PDFs or other small binary files alongside your notes in the repo.
comment 3y ago · link · parent
I always thought it was interesting that the scarce resources you could get at Quark's were non-material (companionship, holodeck experiences, games, etc). The only defining characteristic of the substance the Ferengi use as currency is that it can't be produced by a replicator, which implies that everything else (including all the expensive bottles behind Quark's bar) could be.
comment 3y ago · link · parent