No such thing as 0
Discussion
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?....
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...Also, there is literally and very accurately 0% chance Amanda Lamb will be sleeping with me tonight.
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.
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 ?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)
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
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.Anyway, when I googled Amanda Lamb,it was a lot more interesting than zero. Let's talk about A Lamb a bit more.
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.I have no idea why.
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.
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.I have no idea why.
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.
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.
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.
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.
Gassing Station | The Lounge | Top of Page | What's New | My Stuff