384 points · by nsoonhui · 1y ago · 158 comments
I believe Svelte was developed by Rich Harris at the NY Times for this very reason.
We ended up using iFrames, so other frameworks like React could have been used.
Second, Svelte is very well suited for these small interactives because it has built-in state, transitions, and reactivity with low overhead.
Third, it was a personal choice, as I now do most of my work in Svelte.
Wait, wasn't one of the original selling points of React that it could be embedded piecewise to enhance interactivity of the parts of pages that needed it? It should certainly not need a separate page!
* My PhD was about how to treat a (quantum mechanical) system inside a cavity: a cavity with one perfect mirror and one 99.999999% perfect mirror. The (one dimensional) universe was made whole by another perfect mirror at the other side of the non-perfect mirror (in ASCII art:
[100%] —l— [100-epsilon] ——L——— [100%]
With L >> l. The ‘whole universe’ solution was simple (using standard quantum mechanics techniques), the ‘lossy’ ‘small universe’ was not. But they needed to be the same (physically). Thus using the exact solution for the ‘complete’ (l+L) universe and comparing it to possible ‘small’ (l) universe models in which some non-linear term accounted for loss. The connection between how a lossy system (in which entropy exists/is a driving ‘force’) and a losless system (in which everything is conserved) is thus not a new insight;-0
In other words, entropy is equivalent to bits of information needed to specify the complete state of the system leaking outside of the confines of where those bits are being observed by an experiment (eg tunneling through an imperfect mirror).
Entropy is an accounting tool to keep track of how many bits are missing, and how far this ignorance has percolated into what you can safely predict about the system.
Had to do some searching;-)
Info on thesis: https://dare.uva.nl/search?identifier=0ae63403-264b-4bf0-91c...
The document itself (self hosted) https://gofile.me/7uDSJ/sGJCFD3W7
Probably most important article: (sorry, only abstract): https://journals.aps.org/pra/abstract/10.1103/PhysRevA.54.24...
- https://youtu.be/x9COqqqsFtc?si=cQkfV5IpLC039Cl5
- https://youtu.be/XJ14ZO-e9NY?si=xi8idD5JmQbT5zxN
Leonard Susskind has lots of great talks and books about quantum information and calculating the entropy of black holes which led to a lot of wild new hypotheses.
Stephen Wolfram gave a long talk about the history of the concept of entropy which was pretty good: https://www.youtube.com/live/ocOHxPs1LQ0?si=zvQNsj_FEGbTX2R3
Maybe I have the benefit of giant shoulders, but this seems like a fairly mundane observation. High-entropy states are those macrostates which have many corresponding microstates. The classification of several microstates into the same macrostate, is this not a distinctly observer-centred function?
I.e. if I consider 5 or 6 to be essentially the same outcome of the die, then that will be a more probable (higher-entropy) outcome. But that's just due to my classification, not inherent to the system!
It is not mundane, and it is also not right, at least for entropy in Physics and Thermodynamics.
> High-entropy states are those macrostates which have many corresponding microstates.
That is how you deduce entropy form a given model. But entropy is also something that we can get from experimental measurements. In this case, the experimental setup does not care about microstates and macrostates, it just has properties like enthalpy, heat capacity and temperature.
We can build models after the fact and say that e.g. the entropy of a given gas matches that predicted by our model for ideal gases, or that the entropy of a given solid matches what we know about vibrational entropy.
That’s how we say that e.g. hydrogen atoms are indistinguishable. It’s not that they become indistinguishable because we decide so. It’s because we can calculate entropy in both cases and reality does not match the model with distinguishable atoms.
> The classification of several microstates into the same macrostate, is this not a distinctly observer-centred function?
It seems that way if we consider only our neat models, but it fails to explain why experimental measurements of the entropy of a given materials are consistent and independent of whatever model the people doing the experiment were operating on. Fundamentally, entropy depends on the probability distribution, not the observer.
https://bayes.wustl.edu/etj/articles/gibbs.vs.boltzmann.pdf
Thermodynamics does have the concept of the entropy of a thermodynamic system; but a given physical system corresponds to many different thermodynamic systems. […] It is clearly meaningless to ask, “What is the entropy of the crystal?” unless we first specify the set of parameters which define its thermodynamic state. […] There is no end to this search for the ultimate "true" entropy until we have reached the point where we control the location of each atom independently. But just at that point the notion of entropy collapses, and we are no longer talking thermodynamics! […] From this we see that entropy is an anthropomorphic concept, not only in the well-known statistical sense that it measures the extent of human ignorance as to the microstate. Even at the purely phenomenological level, entropy is an anthropomorphic concept. For it is a property, not of the physical system, but of the particular experiments you or I choose to perform on it.
Articles about MaxEnt thermodynamics by E.T. Jaynes where he talks about the “anthropomorphic” nature of entropy date back to 1960s. How is that not right in physics?
> How is that not right in physics?
Why would it be right? Was it used to make predictions that were subsequently verified?
Right but a probability distribution represents the uncertainty in an observer so there is no inconsistency here (else you're falling for the Mind Projection Fallacy http://www-biba.inrialpes.fr/Jaynes/cc10k.pdf).
Assumption (a) is currently believed to be false in the case of measuring a quantum system: to the best of our current knowledge, the result of measuring a quantum system is a perfectly random sampling of a probability distribution determined by its wave function.
Assumption (b) is also believed to be false, and is certainly known to be false in many practical experiments. Especially given that measurement is a time-consuming process, events that happen at a high frequency may be fundamentally unpredictable on computational grounds (that is, measuring the initial state to enough precision and then computing a probability may be physically impossible in the time that it takes for the event to happen - similar to the concept of computational irreducibility).
So, even in theory, the outcomes of certain kinds of experiments are probabilistic in a way that is entirely observer-independent; this is especially true in quantum mechanics, but it is also true in many types of classical experiments.
How does using isotopes that allow atoms to be distinguished affect entropy?
> It seems that way if we consider only our neat models, but it fails to explain why experimental measurements of the entropy of a given materials are consistent and independent of whatever model the people doing the experiment were operating on. Fundamentally, entropy depends on the probability distribution, not the observer.
I am not sure that I agree with this -- it feels a little too "neat and tidy" to me. One could argue, for example, that these seemingly-emergent agglomerations of states into these cohesive "macro" units are an emergent property limitations of modelling based of the physical properties of the universe -- but there's no way to necessarily easily tell if this set of behaviors comes from an underlying limitation of _dynamics_ of the underlying state of the system(s) based on the rules or this universe or the limitations of our _capacity to model_ the underlying system based on constraints imposed by the rules of this universe.
Entropy by definition involves a relationship (generally at least) between two quantities -- even if implicitly, and oftentimes this is some amount of data and a model used to describe this data. In some senses, being unable to model what we don't know (the unknown unknowns) about this particular kind of emergent state (agglomeration into apparent macrostates) is in some form a necessary and complete requirement for modelling the whole system of possible systems as a whole.
As a general rule, I tend to consider all discretizations of things that can be described as apparently-continuous processes inherently "wrong", but still useful. This goes for any kind of definition -- the explicit definitions we use for determining the relationship of entropy between quantities, how we define integers, words we use when relating concepts with seemingly different characteristics (different kinds of uncertainty, for example).
We induce a form of loss over the original quantity when doing so -- entropy w.r.t. the underlying model, but this loss is the very thing that also allows us to reason over seemingly previously-unreasonable-about things (for example -- mathematical axioms, etc). These forms of "informational straightjackets" offer tradeoffs in how much we can do with them, vs how much we comprehend them. So, even in this light, the very idea of modelling a thing will always induce some form of loss over what we are working with, meaning that said system can never be used to reason about the properties of itself in a larger form -- never verifiably, ever.
Using this induction, we can extend it to attempt to reason then about this meta-level of analysis, showing that because it is indeed a form of model sub-selected from the larger possible space of models, that there is some form of inherent measurable loss, and it cannot be trusted to reason even about itself. And therein lies a contradiction!
However, one could postulate that this form of loss results in any model necessarily has some form of "collision" or inherent contradiction in it -- theories like Borsuk-Ulam come to mind, and so we must eventually come to the naked depravity of picking some flawed model to analyze our understanding of the world, and hope to realize along the way that we find a sense of comfort and security in the knowledge that it is built on sand and strings, and its validity may unwind and slip away at any minute.
A very curious ideal, indeed.
No. The enthalpy changes measured by a calorimeter are not dependent on our psychological limitations.
> The volume of a container is not objectively defined.
Yes, it is, for any reasonable definition of "objective". We know how to measure lengths, we know how they change when we use different frames of reference so there is no situation in which a volume is subjective.
> An organism which lives at a faster time scale will see the walls of the container vibrating and oscillating.
This does not matter. We defined a time scale from periodic physical phenomena, and then we know how time changes depending on the frame of reference. There is no subjectivity in this, whatever is doing the measurement has no role in it. Time does not depend on how you feel. It’s Physics, not Psychology.
> This is the same with other thermodynamic quantities.
No, it’s really not. You seem to know just enough vocabulary to be dangerous and I encourage you to read an introductory Physics textbook.
What makes an observation mundane? I think what you said is insightful and demonstrates intelligence. I don't think it's at all obvious to the masses of students that have poured over introductory physics textbooks. In fact, it seems to me that often entropy is taught poorly and that very few people understood it well but that we are beginning to correct that. I point to the heaps of popsci magazines, documentaries and YouTube videos failing to do anything but confuse the public as additional evidence.
Every observer should discover the same fundamental laws when performing experiments and using the scientific method.
To stay in your analogy, saying 5 and 6 are the same would only work if the rules of the game you play could transform in such a way that an observer making a distinction between the two would arrive at the correctly transformed rules in his frame of reference.
Given that we have things like neutron stars, black holes and other objects that are at the same time objects of quantum physics and general relativity, the statement feels pretty fundamental to me, to a degree even that I wonder if it might be phrased to strongly.
(you can't measure the individual states of all the particles in a body of gas, for instance, so you factor it into macrostate variables like pressure/temperature/volume and such)
Instead of me knowing, do other physical objects get affected. I might get anemsia and forget what the dots on a dice mean and say they are all the same: all dotty!
Imagine each hydrogen atom has a hidden guid but this is undetectable and has no effect on anything else. This is a secret from the rest of physics!
I guess!!! (Armchair pondering!) that that guid cannot be taken into account for entropy changes. At least from any practical standpoint.
You could imagine each atom having a guid and come up with a scheme to hash the atom based on where it came from ... but is that info really there and if so does it affect anything physically beyond that atoms current state (as defined by stuff that affects other stuff).
If the way one does the coarse graining of states results in different differentials, one way should be the correct one.
There is only one physics.
If I remember one of Plancks relevations was that he could explain why a certain corrections factor was needed in entropy calculations, since phase space had finished cell size.
https://news.ycombinator.com/item?id=41037981 ("What Is Entropy? (johncarlosbaez.wordpress.com)", 209 comments)
They fail to properly define the macrostate of the system under consideration, then show two different observed entropies for two different macrostates (Colors for Alice and Shapes for Bob).
That doesn't show entropy is subjective, it shows that defining the system is subjective. The same two macrostates would still have the same entropy
The article deals with this a bit but not as much as I would like — maybe because of the state of the literature?
The linked paper by Safranek et al on observational entropy was sort of interesting, noting how a choice of coarse graining in to macrostates could lead to different entropies, but it doesn't really address the question of why you'd choose a coarse graining or macrostate to begin with, which seems critical in all of this?
In the information theory literature, there's a certain information cost (in a Kolmogorov complexity sense) associated with choosing a given coarse graining or macrostate to begin with — in their example, choosing shape or color to define entropy against. So my intuition is that the observational entropy is kind of part of a larger entropy or informational cost including that of the coarse graining that's chosen.
This kind of loops back to what they discuss later about costs of observation and information bottlenecks, but it (and the articles it links to) don't really seem to address this issue of differential macrostate costs explicitly in detail? It's a bit unclear to me; it seems like there's discussion that there is a thermodynamic cost but not how that cost accrues, or why you'd adopt one macrostate vs another (note Alice and Bob in their subjectivity example are defined by different physical constraints, and can be thought of two observational systems with different constraints).
It's also interesting to me to think about it from another perspective, which is let's say you have a box full of a large number of particles that are "purely random". In that scenario it doesn't really matter what Alice and Bob see, only the number of particles etc. The entropy with regard to say, color, will depend on the number of colors, not the position of the particles because they're maximally entropic. In reorganizing the particles with reference to a certain property, they're each decreasing the entropy from that purely random state by a certain amount that I can think be related in some way to the information involved in returning the particles to a purely random state?
A lot of the article has links to other scientific and mathematical domains. Some of the stuff about information costs of observation has ties in the math and computer science literature through Wolpert (2008) who approaches it from a computational perspective, and later Rukavicka. There's similar ideas in the neuroscience literature about entropy reduction efficiency (the names of some of the people involved there I'm forgetting).
I really liked this Quanta piece but there's a lot of fuzziness around certain areas and I couldn't tell if that was just due to fuzzy writing,fuzzy state of the literature, or my poor understanding of things.
I couldn't quite put my finger on it, but you're right. They are confusing defining the system with defining the entropy of a system and then saying it's the entropy that is subjective. That isn't the case at all. Entropy is just a measurement.
Thermodynamics entropy is not just a property of a system - it depends on how we choose to describe the system. Of course, we can define the thermodynamic entropy for a system without observers. (In fact, we can only define the classic equilibrium thermodynamic entropy for a system without observers!)
"I don't believe the 2nd law of thermodynamics. (The most uplifting video I'll ever make.)"
https://m.youtube.com/watch?v=89Mq6gmPo0s
I come to entropy from Machine Learning, Information Theory and probability. For me it's fairly straightforwad. Of interest and useful - but nothing mysterious there.
The p.d.f. aka a fancy histogram is my current best knowledge of how many times an outcome is expected to happen. When I do one experiment - I can't tell the outcome. I can only count the number of different outcomes, without being certain when will any of them appear exactly.
A flat p.d.f. means my knowledge is poor: every outcome is about equaly possible. I'm very ignorant (high entropy). A spiky p.d.f. means I have good knowledge: some outcome is much more likely (low entropy). In extremis the p.d.f. is a Dirac impulse - that's deterministic knowledge.
The only mildly interesting thing is when a new observation reduces my knowledge. Say right now I'm fairly certain I have not got cancer. My chances are 90:10 for my age. Tomorrow I take a test, the test comes back positive. Of people of my age that test positive, aboout half have cancer for real. After the test my chances are 50:50. Now I am perfectly ignorant whether I have cancer or not. Whereas before I took the test and got a positive result, I was very certain I have not got cancer. The new information (positive test result), transformed my probability of cancer from spiky marginal P_Y(y)={0.9,0.1} to perfectly ignorant conditional P_Y(y|+ve test)={0.5,0.5}.
This example is from "How to measure the information gained from one symbol" by DeWeese and Meister (https://pubmed.ncbi.nlm.nih.gov/10695762/).
https://saigaddam.medium.com/consciousness-is-a-consensus-me...
Entropy is just a simpler way of manifesting properties of a system that we didn’t measure because it is too difficult (when I was still at classical physics level) or it’s not possible to measure (when quantum mechanics became present in everything we learned).
We use it because we can’t measure the position and momentum of every particle (same goes for temperature) so we created theories on how a system with a particular entropy behaves, but it’s just a clever way to work with aproximations.
I find this idea fascinating.
The big bang clearly defies thermodynamic laws so why wouldn't be a negative entropy and temperature phenomenon? It's the "cheat code" the "primordial universe" uses to dodge problems like realities popping into existence.
1) entropy is a mathematical concept. Physics apply it, like any other mathematical one
2) math entropy does not change, everything is reversible, as it is based on known quantities
3) entropy measures how far we are from perfectly knowing a system
4) logarithm is chosen to measure entropy because of its convenient properties, not because of any deeper law. It could be a sum, a product etc
5) the Second thermodynamic law is a tautology: "every system tends to higher entropy state because it is more common" becomes "the more common is the more common"
My beef is the adoption of bad names and pseudo-philosophy. In Gibbs free energy equation, there is a term called entropy but it is nothing more than the value for heat transferred for the given elements and given constant temperature and derived from experimental observation. Instead of calling it entropy, they could have called it Clausius constant. No need to confuse generations of students.
Even if our ToE is deterministic the universe may be computationally irreducible, meaning it cannot be computed accurately at lower resolution in all cases. Note that such a universe could contain within it regions that are computationally reducible, just not the whole and not all regions.
I would expect a ToE to give us knowable bounds to either determinism or computability. It should tell us what is precisely knowable or predictable and what isn’t.
Edit: to understand how a ToE could leave some things unknowable (but tell us what they are) consider the Hubble horizon. Light beyond it will never reach us making sufficiently distant things unknowable.
Limits may be great. It means we can at least subjectively consider ourselves as having free will — even with a deterministic theory it may be unknowable determinism. It’s just like how the speed of light might be why we got to evolve before being bum rushed by aliens.
The Map is not the Territory.
Our universe is the lowest resolution. So to compute the next instant in our Universe, would need another entire Universe.
We could be the computation occurring.
That's it's Busy Beaver number, but think how easy all ones in binary is to compress from an information theory standpoint.
So the most entrophic state would be the one state requiring the most compression.
I keep rereading this and still don't understand it!
Do we need Frank Herbert’s spice to progress?
It doesn't matter how efficient your process is, the entropy of the surrounding system will ALWAYS increase as the result of the work needed to effect a localized reduction.
Obviously this is hyperbole 8-) but I think the point is clear. If anyone really believes that the existence of primate life on our little planet "observing the universe" is what makes all physical processes advance, they have some serious issues of overcharged ego.
Of course a theory doesn't have to be completely correct to be useful. Old ideas of heat as a fluid have been supplanted, but they still helped design working systems in their time. Modern ideas of quantum mechanics, as incomplete as they are, still model a concept of "tunneling" that's sufficiently accurate to make semiconductors work.
Or, you can just run with the Rovelli quote from the article: “What they’re telling me is bullshit” 8-)
And before you _instinctively_ (it will be instinctive) downvote me to oblivion, please read the piece and assure yourself that it's not truly a piece of rote trash.
https://adamilab.blogspot.com/2014/06/whose-entropy-is-it-an...
Whatever the name of this approach, quantamagazine is definitely good at it!
Another interesting term from the wiki link is "active essays":
> The related term "active essays" was used by Alan Kay to refer to text-based explorable explanations
But I don't know if by text-based he meant strictly no visuals. Like just ASCII art? :-)
Search results seem to indicate he was referring to text based plus interactive components something something Java(script?). I’m not a programmer and know less about the history..
https://en.m.wikipedia.org/wiki/Multimedia
Multimedia refers to the integration of multiple forms of content such as text, audio, images, video, and interactive elements into a single digital platform or application.
Including video in particular tends to highjack the experience (you switch mode), whereas interactive elements that you explore as you keep reading feel more integrated.
When did we take the turn from sci-fi like that to the ever dystopian laments we read today.
Technology changes, yet people remain ever the assholes.
Last Answer
Nightfall
Typo:
>Planetarv
should be "Planetary".
I like this very much as it neatly summarizes information and other shit too.