249 karma · joined February 21, 2022
If you really need your type to be backed by a contiguous block of memory, you batch updates (stencils, SIMD, etc.)
For single operations, yes. But what we really care about is usually the amortized performance over many operations, which can still be constant time.
```
module Main where
main :: IO ()
main = putStrLn "Hello, world!"
```
If you mean installing Dhall's dependencies (https://github.com/dhall-lang/dhall-haskell/blob/master/dhal...), those aren't too crazy, but they're definitely not all "beginner level". Template Haskell in particular is quite heavyweight.
> The court, in determining the particular sentence to be imposed, shall consider ...
> (2) the need for the sentence imposed—
> (A) to reflect the seriousness of the offense, to promote respect for the law, and to provide just punishment for the offense;
> (B) to afford adequate deterrence to criminal conduct;
> (C) to protect the public from further crimes of the defendant; and
> (D) to provide the defendant with needed educational or vocational training, medical care, or other correctional treatment in the most effective manner;
Bound states aren't really made of their constituents in a classical sense. A proton is a particular configuration of the quark fields (really it's more complicated than this), but not a simple sum of quark particle states. And in particular, its mass doesn't have to be the sum of the masses of particle states.
No. Particles are (approximately-)localized excitations in the corresponding field. Think waves, not water balloons.
...because of how executive compensation is typically structured. Non-executive employees can also receive stock grants.
Wavefunctions aren't differentiable functions, because they're not functions. They're distributions - described in general by the rigged Hilbert space structure I described previously, and in the simplified normalizable case typical of introductory courses by L^2(R^n).
> to try to understand what is known and maybe to try to clean up what is commonly called its many loose ends and maybe make progress in some applications, e.g., condensed matter physics, super conductivity, maybe even something as common as just why a grid of wire reflects radar waves, maybe connecting with gravity, dark energy, the first second, the Casimir effect, Hawking radiation, and I would include entanglement, then IMHO we need to be as clear as possible on the definitions, theorems, proofs, passing between physics and pure math, etc.
Ok, but that's not what undergraduate textbooks are for. If you want mathematical physics without any pedagogical concessions, go read mathematical physics papers.
A set modelling the real numbers is defined in introductory math courses. The process of quotienting out all the set-theoretic slag to arrive at the real numbers, singular, is generally skipped. As well it should be: it's too ugly to be an end in itself, and too subtle to be of use to freshmen.
> Hilbert space? A complete inner product space where complete means every Cauchy convergent sequence converges.
I said rigged Hilbert spaces. The proper setting for QM is a Hilbert space equipped with dense subspace P of test functions (for which the inclusion P -> H is continuous). This induces an inclusion of dual spaces H* -> P*, and Reisz-Frechet gives us a natural isomorphism H ~ H*, so we have the "Gelfand triple": P -> H -> P*.
The view from 10,000 feet here is that P describes the space of possible measurements, P* describes the distributions, and the fact that the inner product <P, P*> factors through H is a compactness condition. So in particular, a plane wave |k> lives in P*, not H.
But you can't teach this to introductory physics students. They won't have the necessary math background for several years. (Many of them will never have it). And yet they have to be taught.
> would I ever have a need to understand what happens when you perform algebraic manipulations on data structures
and the answer is as usual that it depends on what you're working on. Parsers? Absolutely. CRUD apps? Yes, but only if you look for them. Numerical linear algebra? Probably not.
It's not a mistake, it's a "lie-to-children" fundamentally no different from an intro analysis class talking about "the" real numbers. Freshmen aren't ready for model theory, and they're not ready for rigged Hilbert spaces.
Moral realism is the position that mind-independent moral facts exist; it doesn't entail any particular belief about how or whether we can come to know them.
> 'Every state is founded on force,' said Trotsky at Brest-Litovsk. That is indeed right. If no social institutions existed which knew the use of violence, then the concept of 'state' would be eliminated, and a condition would emerge that could be designated as 'anarchy,' in the specific sense of this word. Of course, force is certainly not the normal or the only means of the state--nobody says that--but force is a means specific to the state. Today the relation between the state and violence is an especially intimate one. In the past, the most varied institutions--beginning with the sib--have known the use of physical force as quite normal. Today, however, we have to say that a state is a human community that (successfully) claims the monopoly of the legitimate use of physical force within a given territory. Note that 'territory' is one of the characteristics of the state. Specifically, at the present time, the right to use physical force is ascribed to other institutions or to individuals only to the extent to which the state permits it. The state is considered the sole source of the 'right' to use violence. Hence, 'politics' for us means striving to share power or striving to influence the distribution of power, either among states or among groups within a state.
Not really. This sort of model was an aim of many social-democratic (not social-liberal: those are the FDP in Germany, the Liberals/LibDems in the UK, etc.) parties before the neoliberal turn in the late 70s, but it was never actually achieved. Germany comes the closest: workers get 50%-1 board seats at large employers, but that's not the same as ownership.
They are connected, but almost exclusively in the JS -> TS direction: typescript imports are javascript imports, the type system is messy because javascript is messy (whether complete compatibility with javascript was a good goal is another question...), etc.
> But the whole NodeJS/TypeScript community seems to have no common direction whether it comes to dependency managers, coding styles, transpilers, bundlers or much about any other “best practice” paradigms.
Yep.
Alexander I survived losing the wars of the third and fourth coalitions against Napoleon, Alexander II survived losing the Crimean war, Kerensky survived losing WWI, Lenin survived losing the Polish-Soviet war, Gorbachev survived losing the Soviet-Afghan war, Yeltsin survived losing the Chechen war...
The Linux kernel core is the product of decades of effort by thousands of people, many of them world-class experts in the relevant domains. Very, very few software projects receive anything close to that.
No one is claiming that writing safe C code is impossible; the problem is that writing unsafe C code is easy.
This seems clearly false to me. Haskell has a higher abstraction ceiling than Rust, but unless you want to contribute to a particularly heavyweight library (`lens` comes to mind) you can get by just fine without going anywhere near it. In practice, most code in both languages maxes out at or below the mathematical sophistication of an introductory algebra class.
This is the source of most of typescript's flaws, but the mediocre type syntax was a deliberate choice: it's all erased at compile time, so javascript imposes no constraints. My guess is that it's just because many of the original typescript devs were on the C# language team.
This is not accurate. Platonism, in a contemporary context, is the view that abstract objects exist. And so in particular to be platonist about mathematics is to believe in the existence of mathematical entities.