No such thing as 0

Author
Discussion

768

13,707 posts

97 months

Monday 16th October 2017
quotequote all
Numerically it is nothing, semantically it is something.

Gary C

12,489 posts

180 months

Monday 16th October 2017
quotequote all
Hilts said:
I think you'll have trouble with ?(?1) !
Oh yes, not only none existant, but imaginary too smile

Gary C

12,489 posts

180 months

Monday 16th October 2017
quotequote all
RTB said:
SantaBarbara said:
The Spruce goose said:
All the energy is the universe is zero. We are something, but all positive energy is cancelled by negative energy.
Can you prove that, please?
The positive energy of an objects mass is effectively cancelled out by the negative energy of it's gravitational field (providing the Universe is flat)
....
And that's the nub, is it flat !

bearman68

4,662 posts

133 months

Monday 16th October 2017
quotequote all
deeen said:
williamp said:
Just been to the garage to count how many Aston Vanquish S I have there. The answer is 0. I counted them twice, just to be sure.

Also, there is literally and very accurately 0% chance Amanda Lamb will be sleeping with me tonight.
Well...

If there are an infinite number of alternate universes, each of those things will be happening, somewhere.

Also, you have proved the concept of different sized infinities, because in a lower but still infinite number of them, both things will be happening.

So there is a chance, however vanishingly small, that it will be this one.

So although I believe in zero, in your examples, the chance is not zero.

HTH.
I think it's easier not to believe in Amanda Lamb.

robinessex

11,066 posts

182 months

Monday 16th October 2017
quotequote all
Dr Jekyll said:
It makes calculations easier.
Really. Try writing a computer programme. 0 is a pain in the arse. Never heard of divide error interrupt ?

Gary C

12,489 posts

180 months

Monday 16th October 2017
quotequote all
robinessex said:
Dr Jekyll said:
It makes calculations easier.
Really. Try writing a computer programme. 0 is a pain in the arse. Never heard of divide error interrupt ?
You can trap it. But yes, a number of times, all working well then, error. Oops

Put together a AGR simulator in VB and run into it frequently with badly programmed sections (normally frigs to make some temperature change look real)

Caddyshack

10,843 posts

207 months

Monday 16th October 2017
quotequote all
williamp said:
there is literally and very accurately 0% chance Amanda Lamb will be sleeping with me tonight.
Me either unless I have a few pints and she really begs for it.

4x4Tyke

6,506 posts

133 months

Monday 16th October 2017
quotequote all
anonymous said:
[redacted]
As demonstrated by 0C == 32F == 273 degrees Kelvin and that zero doesn't necessarily mean nothing, the is still plenty of energy at 0C.

4x4Tyke

6,506 posts

133 months

Monday 16th October 2017
quotequote all
robinessex said:
Really. Try writing a computer programme. 0 is a pain in the arse. Never heard of divide error interrupt ?
Divide by zero is an exception, an interrupt is something completely different.

4x4Tyke

6,506 posts

133 months

Monday 16th October 2017
quotequote all
anonymous said:
[redacted]
The 'mistake' was using 0 as reference part, a null reference is actually a reference to memory location 0, not undefined.

He did give us Hoare Logic, probably the most underrated idea in computer science, so I'll forgive him null reference.

It would have been better if language designers ran with Hoare Logic and not the null reference.


Edited by 4x4Tyke on Monday 16th October 20:22

48k

13,115 posts

149 months

Monday 16th October 2017
quotequote all
anonymous said:
[redacted]
confused

But "program" _is_ an americanism. All computer-speak uses the American version of spellings; program, disk, initialize, etc.

bearman68

4,662 posts

133 months

Monday 16th October 2017
quotequote all
Caddyshack said:
williamp said:
there is literally and very accurately 0% chance Amanda Lamb will be sleeping with me tonight.
Me either unless I have a few pints and she really begs for it.
This deserved more credit.

Anyway, when I googled Amanda Lamb,it was a lot more interesting than zero. Let's talk about A Lamb a bit more.

gamefreaks

1,965 posts

188 months

Tuesday 17th October 2017
quotequote all
Einion Yrth said:
In debug code it's usually 0x0c0c0c0c;, oddly when programmers at our shop don't guard properly I'm seeing 0x000000018
I have no idea why.
Ah. Null in C/C++ is usually zero. The memory values you see like 0xC0C0C0C0 are values that the memory is initialised to. Different values mean different things.
There is a list here: http://www.nobugs.org/developer/win32/debug_crt_he...

The 0x18 address is most likely because of access to a class or structure member from a null pointer. The memory address for the member is calculated by adding an offset to the pointer. It just so happens that this one is 18 bytes in.

RTB

8,273 posts

259 months

Tuesday 17th October 2017
quotequote all
Gary C said:
And that's the nub, is it flat !
A rapidly expanding (expansionary) Universe would appear to be flat when looked at on a large scale.

AW111

9,674 posts

134 months

Tuesday 17th October 2017
quotequote all
gamefreaks said:
Einion Yrth said:
In debug code it's usually 0x0c0c0c0c;, oddly when programmers at our shop don't guard properly I'm seeing 0x000000018
I have no idea why.
Ah. Null in C/C++ is usually zero. The memory values you see like 0xC0C0C0C0 are values that the memory is initialised to. Different values mean different things.
There is a list here: http://www.nobugs.org/developer/win32/debug_crt_he...

The 0x18 address is most likely because of access to a class or structure member from a null pointer. The memory address for the member is calculated by adding an offset to the pointer. It just so happens that this one is 18 bytes in.
yikes
You should NEVER see that outside a test environment!



Mind you, my offsider showed me a "null reference exception" message popup this morning, which is basically the same coding bug in a different language, but better handled (no crash).
Anyway, it's not finished yet, that's my excuse and I'm sticking to it.

Vocal Minority

8,582 posts

153 months

Tuesday 17th October 2017
quotequote all
AndStilliRise said:
That's what I am saying. If you have 0 of something you have something of something. Why not just say you have either a minimal of 1 or nothing.
Zero is not a number, it is a concept to ensure that nothing - or an absence of something - can be practically incorporated.

So it is a thing.

It's just not the thing you thought it was.

Hilts

4,392 posts

283 months

Tuesday 17th October 2017
quotequote all
Hilts said:
Greg66 said:
Hilts said:
FredClogs said:
Hilts said:
I think you'll have trouble with √(−1) !
Use you imagination why don't you.
Imagination, could make a man of you.
That's some smart response.
Only for some people.
Greg66 Was your post missing a sarcasm smiley?


4x4Tyke

6,506 posts

133 months

Tuesday 17th October 2017
quotequote all
Hilts said:
Greg66 said:
Hilts said:
FredClogs said:
Hilts said:
I think you'll have trouble with ?(?1) !
Use you imagination why don't you.
Imagination, could make a man of you.
That's some smart response.
Only for some people.
Real Numbers for real people.

Hilts

4,392 posts

283 months

Tuesday 17th October 2017
quotequote all
Did anyone get the 'some people' reference or was it too obtuse?

768

13,707 posts

97 months

Tuesday 17th October 2017
quotequote all
AndStilliRise said:
That's what I am saying. If you have 0 of something you have something of something. Why not just say you have either a minimal of 1 or nothing.
If Alice had 2 sweets and gave 1 sweet to Bob and 1 sweet to Charlie, how many sweets does Alice have now?

Nothing sweets.