this post was submitted on 27 Nov 2023
440 points (98.2% liked)

Programmer Humor

32558 readers
326 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

You check the crash logs

all 15 comments
sorted by: hot top controversial new old
[–] xmunk@sh.itjust.works 43 points 1 year ago

Ah... it reminds me of nethack. Everytime you ate an apple it'd echo "core dumped."

[–] uservoid1@lemmy.world 24 points 1 year ago

Not if some wiseass manager decided to turn off all logs "to save payments on storage"

[–] hakunawazo@lemmy.world 18 points 1 year ago* (last edited 1 year ago) (2 children)

tail -f /var/log/forest | grep crash
Now you get a live report.

[–] Mikelius@lemmy.ml 6 points 1 year ago

Use -F so you can keep getting those live reports even after the forest you're watching vanishes

[–] dontblink@feddit.it 12 points 1 year ago (1 children)
[–] Motorheadbanger@lemmy.world 16 points 1 year ago

More like crrrrk--THUD--rustle-rustle

[–] Asudox@lemmy.world 9 points 1 year ago (2 children)

Copypasta:

Does a tree make a cracking sound in the forest if nobody's around to hear it? Well, depending on the circumstances, the answer could be yes, no, or both. According to classical mechanics, the answer is definitely yes.

Classical mechanics, a physics subfield, studies the motion of large objects like planets and galaxies. Determinism and reversibility are central to our comprehension of the physical world; they allow us to predict future object behavior based on initial conditions and the laws of nature, suggesting we can trace motion history back to its initial state.

In classical mechanics, sound is described as a pressure wave propagating through a medium like air or water. When an object, such as a tree, is subjected to an external force, it may crack, causing a rapid release of energy transferred to surrounding air molecules, creating pressure waves or sound waves that travel until reaching a listener's ear.

Sound waves cause the eardrum to vibrate, creating an electrical signal transmitted to the brain, resulting in the perception of sound. Thus, according to classical mechanics, the cracking sound by the tree is an objective physical phenomenon, occurring regardless of observation.

However, quantum mechanics introduces uncertainty. In this realm, particles exist in multiple states simultaneously, as seen in Schrödinger's Cat. The presence or absence of the sound of a cracking tree is uncertain until observed, known as superposition.

In quantum mechanics, a particle is in superposition until observed, lacking a definite property. Observation causes the wave function to collapse, fixing properties. Thus, whether a tree makes a sound in the forest without an observer remains unclear until the particle is observed.

Observation's impact extends to sound waves' particle components, affecting their behavior. While the sound itself is objective, the act of observation can influence the experience of that sound.

In conclusion, the question of whether a tree makes a sound if no one hears it is straightforward in classical mechanics but introduces uncertainty in quantum mechanics. The Schrödinger's Cat paradox exemplifies the complexities, challenging our understanding of reality as we continue to explore fundamental principles in our evolving understanding of the universe.

[–] lemming@sh.itjust.works 2 points 1 year ago (1 children)

This doesn't sound very accurate. For starters, classical mechanics fails to describe even motion of Mercury. But more importantly, uncertainty in this context means someting else in this context. And while it is true that Schrödinger's cat is both alive and dead until observed, once observed, it's been dead or alive all along. Same with a tree, once it is determined it has fallen, it has already made the sound and produced all the consequences some time ago. While I don't understand quantum mechanics, I'm fairly sure the person who wrote the copypasta understands it even less than me.

[–] Klear@lemmy.world 1 points 1 year ago

Most importantly, the question is supposed to highlight the difference between sound as in physical waves and sound as in perception. The answer completely misses the point.

[–] Zacryon@feddit.de 1 points 1 year ago* (last edited 1 year ago)

But the interaction of a quantum particle (in the system of the falling tree) with other particles and, on a larger scale, molecules, already represents an observation and information exchange. Therefore, while not 100% certain, it is extremely probable that the falling tree will make a sound. Isn't it?

[–] lorty@lemmy.ml 8 points 1 year ago (1 children)
[–] tetranomos@awful.systems 5 points 1 year ago

the quantum level of description is a luxury:

Conscious intentional communication, which we perhaps too hastily attribute to human beings as a mark of distinction, becomes a limited domain, the only domain where the distinction between desirable and ‘spurious’ uncertainty pertains. We may have to concede that the centrality of human communication, understood as a semantic and culturally saturated information system is, at least in principle, neither the first system in which information processes occur, nor necessarily the most efficient.