Unintended color commands

  • Thread starter Thread starter A.T.
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
9 replies · 283 views
Science Advisor
Messages
13,364
Reaction score
4,251
@Sagittarius A-Star
Please stop coloring the text. It's unreadable in dark mode.

Screenshot_20260808_125944_Adblock Browser.webp
 
Last edited:
Reply
  • Like
Likes   Reactions: Dale
Physics news on Phys.org
Sagittarius A-Star said:
You describe 4 events (E1 ... E4).

E1: clock A shows 100s
E2: clock B shows 80s

E3: clock B shows 100s
E4: clock A shows 80s

I call the coordinates of frame A (x, y, z, t) and the coordinates of frame B (x', y', z', t').

1) => Events E1 and E2 happen simultaneous for observer A: ##\Delta t_{21} = t_2 - t_1 = 0s##.
But events E1 and E2 do not happen simultaneous for observer B, if they happen at different ##x## coordinates, according to the Lorentz-transformation: ##\Delta t'_{21} \neq 0s##.

2) => Events E3 and E4 happen simultaneous for observer B: ##\Delta t'_{43} = t'_4 - t'_3 = 0s ##.
But events E3 and E4 do not happen simultaneous for observer A, if they happen at different ##x'## coordinates, according to the Lorentz-transformation: ##\Delta t_{43} \neq 0s##.


So there is no contradiction.

The Lorentz transformation for time depends on ##\Delta x##:
##\Delta t '= \gamma (\Delta t - v \Delta x / c^2)##.
If ##\Delta t=0##, then ##\Delta t '= -\gamma v \Delta x / c^2##.

The inverse Lorentz transformation for time depends on ##\Delta x'##:
##\Delta t = \gamma (\Delta t' + v \Delta x' / c^2)##.
If ##\Delta t'=0##, then ##\Delta t = \gamma v \Delta x' / c^2##.
It is best to avoid setting explicit colors. In dark mode your whole thing disappears:
IMG_4376.webp


@Greg Bernhardt maybe something to think about. Instead of specifying explicit colors perhaps users could be given named colors like “highlight 1” that could be mapped appropriately. That might add a lot of work on your side, so maybe it isn’t worth it. But just an idea.
 
A.T. said:
@Sagittarius A-Star
Please stop coloring the text. It's unreadable in dark mode.
I can't stop coloring the text because I didn't color the text.
I don't work in dark mode. Screenshot:

text-example.webp

In edit-mode (toggle BB mode) I see color commands, but I didn't enter them.
I will try to delete them.

text-example-edit.webp
 
Last edited:
Reply
  • Like
Likes   Reactions: Dale
Sagittarius A-Star said:
I didn't color the text.
Interesting. There are explicit color directives in there. I wonder how they got there.

IMG_4378.webp


Did you do some editing in another program and copy paste the result?
 
Dale said:
Interesting. There are explicit color directives in there. I wonder how they got there.
This happened occasionally pre-style update too, but the text wasn't completely invisible in the old dark style.
 
Sagittarius A-Star said:
In edit-mode (toggle BB mode) I see color commands, but I didn't enter them.
OK, sorry. Did you maybe copy & paste the text? If yes, then look for a 'paste as plain / unformatted text' in the context menu of your browser.
 
Reply
  • Like
Likes   Reactions: berkeman
Dale said:
@Greg Bernhardt maybe something to think about. Instead of specifying explicit colors perhaps users could be given named colors like “highlight 1” that could be mapped appropriately.
The alternative would be to invert all explicit colors, if the users mode doesn't match the poster's mode.
 
A.T. said:
OK, sorry. Did you maybe copy & paste the text? If yes, then look for a 'paste as plain / unformatted text' in the context menu of your browser.
I deleted the color-commands.
 
Reply
  • Like
Likes   Reactions: A.T.
In the process of writing a post to start a new thread, I realized that the editing window is almost 31% wider than the width of the thread window after posting. This can result in truncated equations and rearrangement of where images are placed in the resulting thread post. Is there a reason for this mismatch? Can I tweak a setting to narrow the edit window? Or is this a job for @Greg Bernhardt? (Windows 7, Google Chrome)
 
Reply
  • Informative
Likes   Reactions: Greg Bernhardt