[go: up one dir, main page]

Showing posts with label time. Show all posts
Showing posts with label time. Show all posts

Thursday, August 4, 2022

The Concept of Time

La Muse Verte Absinthe: A birthday gift to myself

Time is the school in which we learn,   
Time is the fire in which we burn.

On today, my birthday, I can't help but notice the passage of time.

But what is time? – I ask this question in a physical sense, not philosophically or metaphysically. 

There are certain realities of time. While it is relative to space and energy, it moves at an absolute pace in any given frame of reference. Whether I'm here on Earth or outside an event horizon or traveling near the speed of light, time will always pass at the rate of one second, every second. In other words, when I look at my wristwatch, time will run perfectly normal, regardless of my motion.

We speak of time as being a fourth dimension of space, i.e. spacetime, but it's not "real" like the three dimensions of space. Rather, time is an emergent property. While we observe, in our personal experiences, cause and effect such as a glass breaking, we don't see that same, one way flow, at the subatomic level.

This is similar to ocean tides on Earth. There is no physical "tide property" of water. Tides only emerge when we collect a lot of it and introduce other forces such as gravity from the sun and moon along with the Earth's rotation, i.e. it's an emergent property. 

What is Time?

Time is literally nothing more than the passage of events – it's neither energy nor physical. Think of it as hole flow in an electrical circuit. We measure time by the ticking of a watch's second hand. Imagine the universe's clock as the motion of atoms, such as an electron orbiting an atom's nucleus. The motion of matter marks time similar to a computer's clock ticking off cycles for the CPU. Different computer clocks move at different rates, and time also moves at different rates depending on how much energy is around it. In your frame of reference, a watch's second hand will always tick away one second, every second, no matter if you're at rest or moving close to the speed of light.

In the presence of huge amounts of energy, time literally slows down, from the perspective of an outside observer. This is simply due to the atoms, in the presence of large amounts of energy, struggling to move through this energy molasses. But, since all the atoms in this frame of reference experience the same slowing, everything looks normal. Imagine if all the clocks and watches (and atoms) in your home slowed down because they had dirt or grit in the "gears" – everything would continue to seem normal even though things are moving slower. But, to an outside observer, your passage of time would be different.

Time Travel?

So, is time travel is possible? Absolutely not. You can slow down how fast time passes, but that's about it; you can't speed it up. The concept of traveling through time to a different period makes as much sense as traveling through tides (or love, etc). While we know what causes the flow of the time or tides, it is, as I mentioned earlier, an emergent property. 

For time travel to be possible, every particle in the universe would have to move in the opposite direction (backwards). Doing this would move the entire universe back to an earlier state that it was in. However, the atoms in your body would still need to move forward. So, while the universe is moving backwards, your being is moving forward and that would allow you to travel backwards in time. Then, at some point, to return to the present you left, you'd need to slow down all the particles in the universe and/or speed up the particle motion in your body to catch up. 

Changing the state of the entire universe simply isn't possible. There is only one state of the universe, The Now.

Monday, August 27, 2018

Simplicity

Apple's Human Interface Guidelines simplify the Aqua UI.

You know you’ve achieved perfection in design, not when you have nothing more to add, but when you have nothing more to take away.
de Saint-Exupery


Simplicity is the ultimate sophistication. But simplicity is like time. We understand it at a high level, but defining it isn't easy.

The challenge is that simplicity lies on the other side of complexity. Without embracing complexity, the simplicity you produce will be oversimplified; in other words, ineffective. But complexity doesn't have to produce complicated solutions when properly analyzed and presented. We see this all the time in computer applications since software development is about managing complexity.

To achieve simplicity, one needs high performance building blocks that are reliable, predictable, and repeatable. Atoms are a perfect example. But, our lives aren't that simple. In our lives, simplicity means minimizing the introduction of variables, especially random ones. That may sound boring, but when we're bored, it's not complexity we seek, rather, it's randomness.


The Simple Life

Generally speaking, simpler lives are healthier than complex ones (just ask Elon Musk). So, what does it take to live a simple life?

Simplicity is about living life with more enjoyment and less pain.
To be happy by making every day go as smoothly as possible.
We want to enjoy and consume life instead of working and transforming it.



Tuesday, January 30, 2018

Gravity & Time

When we study how the universe behaves, we observe four forces (interactions): electromagnetic force, gravity, strong nuclear force, and the weak nuclear force.

Strong & Weak Nuclear Forces

The strong and weak nuclear forces are not directly observable by us since they operate on the atomic and sub-atomic scale, respectively.

The strong nuclear force is the strongest of the four forces and it's the force that holds matter together. It is approximately 137 times stronger than electromagnetism, a million times stronger than the weak nuclear force, and 1,038 times stronger than gravitation.

The weak nuclear force takes place over a distance of less than the diameter of a proton. It is the mechanism of interaction between sub-atomic particles.

Electromagnetism

Electromagnetism is a universal force we interact with and manipulate. This force travels as wave-particles (photons) and it includes light, heat, microwaves, x-rays, radio waves, etc. Since one of its properties is that it travels as waves, we can constructively and destructively interfere with it. Magnetism, which is part of this force, provides a great example of how this force works when playing with magnets. A north pole and south pole are attracted to each other, while like poles repel each other.

Being able to attract and repel electromagnetism, along with the ability to block it, is a key principle of this force. We pull down a window shade to block out light; we look into a mirror and it reflects (repels) light back at us.


Gravity & Time

Gravity is simply a force that brings all matter together. What prevents the entire universe from lumping together into one big ball of matter is gravity's interaction with the other forces. When climbing a tree and sitting on a limb, I can fell gravity pulling me down while the other forces overcome gravity's pull and keep me (and the tree limb) from falling to the ground.

Time, on the other hand, isn't an actual force. Rather, it's a dimension which can be measured, along with the three spatial dimensions (length, width, and height). Specifically, time is measured by the passage of events. But, on an absolute scale, time can vary which is clearly observed when traveling at speeds close to the speed of light. When a person travels at close to the speed of light, their immediate perception of events seems normal, but their surroundings will be sped up, like watching a time lapse movie. This isn't an illusion. The twin paradox is a thought-experment that illustrates the differences in the passage of time. If one identical twin travels on a rocket at close to the speed of light, they will return to find that their twin, who remained on Earth, has aged more. This phenomenon has been verified by flying a highly accurate atomic clock on an airplane and noticing the time difference when it has returned.

While time slows down as matter approaches the speed of light, there's an asymptote where matter can never reach the speed of light without requiring an infinite amount of energy. Light, on the other hand, is massless and it always travels at the speed of light which, in theory, means time has stopped for a photon of light.

What's interesting about gravity, as well at time, is it only acts in one direction or dimension. There seems to be no anti-gravity at any level. This makes it hard to measure since it can't directly react or be absorbed with a measurement device like, say, a light meter that measures brightness. While we can measure the passage of time, we can't measure its force, especially because that depends of its frame of reference. 

In other words, there's no way to block gravity or travel through time. Perhaps neither one truly exists as a fundamental quality, but rather as a consequence?

Saturday, November 4, 2017

Daylight Saving Time: A Coders Achilles' Heel

Good news – tomorrow's a 25 hour day! Most of us get an extra hour of sleep.

It's also a day when date/time bugs are discovered in code. It's an easy mistake for software engineers to make: thinking that there's always 24 hours in a day.

"When is tomorrow?" asks a coder. Well, I'll just add 24 hours to midnight – a common error that I've seen. Adding 24 hours only works if you add it to, say noon, but not midnight. 

When I worked at Wyndham, a business analyst (BA) reported a bug in our hotel booking website. He told us, in our morning meeting, that QA booked a weekend (three nights; arrive Friday and depart Monday). At checkout, the system was reporting only two nights even though the correct Friday – Monday days was displayed. As soon as the BA said it only happened on one weekend, I immediately knew the problem. I said, "See if that weekend coincides with daylight saving time." Sure enough, it did. It made me look smart, but, truth be told, I had not only made this same mistake myself, as a WebObjects developer at Apple, but I had seen this bug deep in the inner workings of WebObjects prior to version 4.5.

It easy to think that every day has 24 hours and it's hard to test for all the edge cases in software.

Tuesday, July 29, 2014

The US Used to Have Hundreds of Time Zones?

It is fascinating how technology impacts us on a cultural level. I especially find the history of time zones interesting. Today, we take for granted that computers and phones keep accurate time down to the second. It's now simple for computers to keep precise time since they all maintain universal coordinated time (UTC), sometimes referred to as Greenwich Mean Time. Basically, every computer maintains one time, UTC, and then offsets it based on the local time zone.

Hundreds of Time Zones

Two hundred years ago, America had hundreds of time zones. As odd as that sounds, it makes sense since noon was when the sun was at its zenith in a given location. High noon in Boston might be seven minutes earlier than New York which might be three minutes earlier than Philadelphia. Having hundreds of time zones wasn't an issue since these cities weren't connected until the railroads needed to run on time schedules.

PS – For the record, it's daylight saving time, not daylight savings time. We're saving daylight by moving it to the end of the day. We're not saving daylight like money in a savings account. :^D