249 karma · joined February 21, 2022
With a sufficiently powerful type system (and typescript is basically the only non-functional language that makes the cut here) these aren't all that distinct. But even in codebases that don't take advantage of that power, this has not been my experience. I recently converted about ten thousand lines of legacy javascript to typescript at work, and discovered several hundred type errors in the process. State bugs also slip through pretty often, but we almost always catch pure business logic errors at code review.
O(1) in what?
That GiveDirectly isn't already doing something similar indicates to me that they believe it's not an effective use of money. You, I assume, disagree. Why should I trust your judgement over theirs?
You're assuming that individuals capture the entirety of the value they generate for society (and that they do so exclusively in the form of income), which is essentially never the case.
Which is why you do it in stages: add scaffolding until local rewrites are possible, then rewrite the business logic, then tear the scaffolding down.
In something like Java, sure. But Java is to static types as BASIC is to structured programming: the execution is so primitive that reasonable people can be misled into rejecting the concept if that's all they know.
Here's a completely painless encoding of JSON in Haskell:
`data Value = JObject (Map Text Value) | JArray (Vector Value) | JString Text | JNumber Double | JBool Bool | JNull`
Some common approaches:
- Tagless final style: https://okmij.org/ftp/tagless-final/
- Datatype-generic programming: https://markkarpov.com/tutorial/generics.html
- Polymorphic records and variants: https://www.cl.cam.ac.uk/teaching/1415/L28/rows.pdf
1. Math is filled to the brim with monads, it's just that mathematicians are necessarily specialists, and tend to think about things in terms of their applications to their specialties: they talk about closure operators or algebraic theories or formulas in a formal language, rather than monads as such. But that doesn't mean the monad structure isn't there.
2. Convergence between math and programming (which I agree is desirable) will almost certainly see type theory become more prominent, not less. There is some chance that programmers turn to constraint solvers or ML models for program verification instead, but if they do, mathematicians will not follow.
And how thoroughly is that prohibition enforced? Do you scrape libgen, for instance? Coursework on university websites? Mathoverflow? I'm guessing not.
Personally, I have asked people old "folklore" questions in interviews, and probably will again. They're not on leetcode, but anyone who paid attention in a sufficiently good CS program has seen them before - and honestly, I don't really care to filter those people out, given the overall state of the candidate pool.
Not really.
The Roman Republic had legislative assemblies and elected magistrates, but the deck was firmly stacked in favor of the aristocracy. Votes in the Centuriate assembly, which elected all senior magistrates, were heavily weighted by wealth. Originally the highest two classes, comprising those with at least 10,000 denarii in assets, controlled an outright majority of the votes. (1 denarius is on the order of 1 day's income for an unskilled laborer).
The weighting was somewhat reduced in the mid 3rd century, but Sulla's reforms around 80 BC reverted the change, and additionally stripped the more democratic plebeian and tribal assemblies of most of their powers.
The senate (ostensibly an advisory body, but by the middle republic actually a legislature) was never elected. During the early republic, senators were appointed by the consuls. Later, they were appointed either by the censors, or automatically upon election to a senior magistracy. In either case, appointment to the senate was for life.
Haskell is de facto a single-implementation language: an extension is not going to be made incompatible with some future Haskell standard without having been long since deprecated in GHC.
You don't make a complete copy: you make a shallow copy of the spine, and then only descend along the fields you actually modify. The number of operations scales as O(branching factor * depth), not O(size).
The same applies to the system they actually built, except that the nonconserved "momentum" is not the same as the usual notion. It's the conjugate momentum(https://en.wikipedia.org/wiki/Canonical_coordinates) for the coordinates on the surface.
> And why wouldn't the chunk either escape or fall back down, rejoining the main mass?
Some material likely did escape, but that takes much more energy than getting into orbit. You need to leave the surface of the Earth at about 11km/s to escape, but only 6km/s to reach lunar orbit.
It's not. Point by point:
> I've always heard that string theory was an untestable theory
True in a certain light, but misleading. Any theory of quantum gravity is going to be untestable with current methods: the relevant energy scales are just too high. That doesn't mean they won't ever be testable. We might figure out a qualitatively better collider design, or find a way to get useful data from astronomical observations, or find some other clever way around the problem. Or we might not. Theorists would love to have more experimental evidence to work with - but wanting doesn't make it so.
A somewhat more legitimate concern is the size of the "string landscape": (perturbative) string theory permits many, many, many different possible values for different physical constants. It's likely, but not certain, that this is also true nonperturbatively. If so, then we can't use the measured values of those constants as evidence for or against string theory. This is unfortunate, but hardly unique: the standard model, after all, permits infinitely many such possibilities.
> and research on it soaked up a large amount of academic budgets and grant money
Not really. Most physics funding goes to applied research, most pure research funding is for experimental work, and the majority of theory funding is not for high energy theory. I don't know whether most high energy theory grants go to string theorists: it's possible.
> And was ultimately fruitless
Only insofar as all work on quantum gravity has been "fruitless".
For an ideal gas. Plasmas are extremely far from being ideal gases.
> According to some models. Do these models have reproducible experimental evidence?
Yes, general relativity is extremely well supported by the evidence.
But the Christoffel symbols are artifacts of a particular coordinate system - the real object is the connection, of which the Christoffel symbols are just basis-dependent components.
We have radio telescopes that can see all the way down to a few tens of MHz. This is far colder than the CMB, and certainly much too cold for the intergalactic medium.
> Plasma Physics hold ions permeating the Universe as a premise & has physical experiments reproducable in the lab to back up their claims
Yes, plasmas exist. There are lots of them in space. This is completely uncontroversial.
> And can use classical EM equations explain how the stars & galaxies work
Absolutely not. Galaxies are firmly in the nonclassical regime.
You know what else smells like phlogiston? Oxygen. There really is an invisible, odorless, tasteless gas responsible for combustion, plant growth, and breathing. 17th century chemists thought that it was released during combustion, absorbed by plants, and expelled by the lungs. Turns out it's absorbed during combustion, released by plants, and taken in by the lungs.
Phlogiston was a reasonable theory, well supported by the available evidence at the time. It was also wrong. Most theories are. But this could not have possibly been predicted a priori.