|
used to do this all the dang time.
I don't write Javascript anymore unless I have too. hasn't happened in over a year! Yay me.
But I switch between Powershell, SQL, C# etc... I sometimes forget how to comment in the language I am in at the time. It seems strange to me. I can write code quite well switching around. But I cannot remember how to comment in Powershell vs SQL vs C#.
The Brain it is strange.
To err is human to really elephant it up you need a computer
|
|
|
|
|
rnbergren wrote: I sometimes forget how to comment in the language I am
Most folks I know don't know how to comment in any language; or, if they do know how, they don't use that ability.
|
|
|
|
|
Just like Turn Signals on Cars
To err is human to really elephant it up you need a computer
|
|
|
|
|
rnbergren wrote: I sometimes forget how to comment in the language
Comments? What are those and when did that feature get introduced?
|
|
|
|
|
This is a good post and I feel the same way about it.
Also, don't you _HATE_ the backticks used in JS string interpolation?
C# interpolation is actually nice and clean.
|
|
|
|
|
Marc Clifton wrote: C# vs. JavaScript/Typescript dyslexia
I find this in general. A great number of modern languages use the C/C++-style syntax and so differences can get confusing. Java, Kotlin, Rust, D, etc. all suffer from/contribute to it.
|
|
|
|
|
Marc Clifton wrote: Half the time I wrote the wrong syntax for the wrong language. Don't write both.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Marc Clifton wrote: C#: if (!String.IsNullOrEmpty(foo))
JS: if (foo)
Those two are not the same. Consider foo = "0";
|
|
|
|
|
I sometimes still type 'Dim i as Long' in C. VB is the computer science equivalent to Saigon.
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
It is a mental discipline of learning how to forget. I have only half way mastered it.
So many years of programming I have forgotten more languages than I know.
|
|
|
|
|
Yes! I've been going through exactly this all week.
cheers
Chris Maunder
|
|
|
|
|
(posting this because of the invitation morning CCC below)
First let me say that you should take anything I say with a grain of salt. I am not a physicist or mathematician. My interest in sphere packing came after Ukrainian mathematician Марина В'язовська published the solution for the sphere-packing problem in 24 dimensional space[^].
With that being said I make the following postulate:
Our Milky Way galaxy (and therefore all other galaxies) appears to be a single object. In other words, the matter outside of the singularity appears to share the same space. The 'extra mass' required to explain the rotational speed is not necessary. You don't need a PhD in mathematics to explore this idea. And apparently I am not the first person to discover this strange property of n-spheres[^].
However I can't find anyone else making the claim that galaxies might be single objects. It only requires two assumptions:
1.) That the particles that make up the atom are moving in higher dimensional space.
2.) That atoms are tightly packed at the maximum density[^] within the singularity at our galactic center.
If that is true then you can use simple geometry to calculate that some of the particles inside the singularity also exist outside of the Schwarzschild radius at our galactic center.
TL;DR:
There is no dark matter. The 'extra mass' required to explain galaxy rotational speed is not necessary. Galaxies appear to be a single objects.
I invite criticism and opinions. But I am leaving in a few minutes and will not be back for several hours.
Best Wishes,
-David Delaune
|
|
|
|
|
Randor wrote: I invite criticism Your momma was a snow blower!!
|
|
|
|
|
|
Your mother was a hamster and your father smells of elderberries!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
The problem with this is that we have plenty of evidence (gravity, electromagnetic radiation, ...) that on the macroscopic level, space-time has 3 space dimensions and 1 time dimension. It is possible that at extremely small scales (much smaller than a proton) there are more space dimensions, but this has yet to be proven.
I have not checked the math in the article that you linked, but even if it is correct - your theory requires that macroscopic objects must have more than 4 dimensions. As I said above, there is no evidence for this whatsoever.
Sorry.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Daniel Pfeffer wrote: your theory requires that macroscopic objects must have more than 4 dimensions. This doesn't make any sense to me. Could you better describe what you are trying to say?
|
|
|
|
|
One of the theories attempting to explain why gravity is so weak is that at tiny scales, the universe has more than 3 space dimensions. These are not the dimensions that we are familiar with (in which a line may be billions of light-years long), but are tiny (orders of magnitude smaller than a proton). They could only be detected directly with extremely powerful accelerators.
The idea is that while gravity in the macroscopic universe follows an inverse square law, in these tiny dimensions it follows an inverse cube (or higher) law. This means that gravity starts out strong, and gets much weaker before it starts following an inverse square law.
Your idea requires that the universe have more than 3 macroscopic space dimensions, which would mean that (a) gravity, electromagnetic radiation, etc. would follow an inverse cube (or higher) law, and (b) stable planetary orbits, atoms, etc. could not exist.
EDIT: fixed typos
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Daniel Pfeffer wrote: Your idea requires that the universe have more than 3 macroscopic space dimensions You are just repeating the same thing without explaining why you believe the extra spatial dimensions would need to be macroscopic. Keep in mind that I am not presenting a physical theory but rather a geometric postulate.
From a geometry perspective the math is correct. The question here isn't whether the mathematics is wrong. I am looking for reasons why it wouldn't represent the physical world.
Btw, other than the recent theory by Sir Roger Penrose (Twister) nearly all of the other GUT are using extra spatial dimensions. So the idea of extra dimensions is not exactly controversial.
|
|
|
|
|
If we look at the exterior spheres in your n-dimensional example, and assuming hyper-spheres of unit radius, the centre of the sphere closest to the origin is at (1, 1, 1, ...). The centre of the sphere diagonally opposite in the hyper-cube is at (3, 3, 3, ...). The distance (assuming a Euclidian space) between the centres is d2 = 22 + 22 + 22 + ... = n * 22.
We have d = 2*n0.5. The largest diameter would be dsphere = 2*(n0.5 - 1), with the largest radius being rsphere = n0.5 - 1. So far, so good.
The hidden assumption is that all dimensions are Euclidean - any line may be extended to any length, only one parallel may be drawn through a point outside a line, etc.
The problem with this is that at the macroscopic (Cosmological) level, the Universe appears to follow General Relativity, which requires a non-Euclidean space-time (3 space dimensions, 1 time dimension). If you add dimensions at the macroscopic level, you must first get rid of General Relativity. Astronomers and physicists are very reluctant to do this, because so far - General Relativity has passed every test thrown at it.
General Relativity fails when dealing with tiny objects, or space-time singularities. Quantum Mechanics rules in the tiny object range. We therefore cannot rule out the existence of additional microscopic (much smaller than a proton) dimensions. It is these microscopic dimensions that may play a part in unifying gravity with the other 3 forces.
In order to unify all forces (GUT), we will have to come up with a theory of Quantum Gravity. While we don't know the exact form that the GUT theory will take, we do know that it must:
- Give General Relativity in the "large mass, no singularity" limit
- Give Quantum Mechanics in the "small mass" limit
- Give new results in the "large mass, singularity" limit (which cannot be explained by either General Relativity or Quantum Mechanics)
"Dark Matter" is indeed a mystery, but I would be very reluctant to throw out all of our current theories just because there is one fact that doesn't fit. I would wait until a theory comes along that explains "dark matter" as well as all the other phenomena explained by our current theories.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
You are doing the same thing once again. You are giving some simple Cartesian math describing the topology of 4-spheres in relation to a tesseract without describing how this relates to your statement that extra dimensions would need to be be macroscopic.
I guess I shouldn't have bothered posting about this on codeproject.
I should have posted a Haiku instead.
Need to get some work done today so can't continue on this topic. I'd like to hear more from you if you can assemble something I can understand. You can sometimes find me (in the evenings) in the intellectual dark web on discord and also the Wolfram channel. I am also in the C++ channel on discord.
Best Wishes,
-David Delaune
|
|
|
|
|
What happens when galaxies collide? If the atoms are already packed at the maximum density, wouldn't this create a real big boom? Or maybe they should bounce off each other?
|
|
|
|
|
When they collide I can envision a lot of options:
- They're mostly empty space and can pass through one another (with gravitational distortions)
- The combined gravitation from both galaxies will cause them to combine into a new galaxy with a new density
Were they composed of charged "star" particles than they could bounce off one another in a manner similar to that in which we give material objects the property of "solid" when in fact they're mostly empty space.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Marc Clifton wrote: What happens when galaxies collide? I have absolutely no idea.
|
|
|
|
|
Well, they act like big clumps of smaller items: Antennae Galaxies - Wikipedia[^]
And several dwarf galaxies (such as the Sagittarius Dwarf Spheroidal Galaxy) are currently colliding with the Milky Way and merging with it.
I think that means that the galaxy can only be considered as a single object in aggregate - on a finer scale it's clearly an assemblage of smaller independent objects held together with a "glue" we call gravity, but which seems to be a distortion of "flat" spacetime.
But I'm no astronomer, no large object physicist: it just seems to me that somebody is trying to ignore fine scale objects to make calculations easier (in the same way that ignoring electrons, protons, and neutrons in favour of indivisible atoms does on a smaller scale).
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|