91 karma · joined Apr 14, 2016 (10y ago) · 57 submissions
comment 10y ago · link · parent
comment 10y ago · link · parent
And exits from your house would have to somehow be connected to those stations, or have your house change locations randomly.
The latter could work if houses were mostly in form of larger modular worldwide-compatible shipping containers. Also no windows, we would have VR.
comment 10y ago · link · parent
https://www.bloomberg.com/features/2016-inside-tesla-gigafac...
comment 10y ago · link · parent
DNA copying not being perfect would be the main cause in my opinion.
There is one error on average for every billion pairs copied. The human DNA has 3 billion pairs. So every time a single(!) cell is copied, three mistakes are made.
You don't need any radiation for evolution.
comment 10y ago · link · parent
There is no evidence to believe the post reflects upon his real emotions, and since the man is untrustworthy[0], the post cannot be taken as evidence about his emotional state.
[0]:Whether he is willfully or maliciously deceptive is irrelevant. Even if he has the best of intentions, his behavior is still untrustworthy.
comment 10y ago · link · parent
comment 10y ago · link · parent
Here is an actual simulation: https://www.youtube.com/watch?v=89AIsPTCJLs
comment 10y ago · link · parent
I have been using index instead of i in while loops lately. It's surprisingly concise.
comment 10y ago · link · parent
&array[0] and array decay to the same thing, the pointer to the first element if they are used in an expression. But sizeof gives a different result, because array+0 'decays' to a pointer, and array doesn't.
comment 10y ago · link · parent
Artificial example:
for( int i = 0 ; i < c+j ; i += b )
should be: for( int count = 0 ; count < sum+extra ; count += skip )
It may be allowed to use i in place of count here, but this is the only place where single name variables should be permitted and only if i is really just a simple array index iterator.comment 10y ago · link · parent
sizeof( &array[0] )
This looks equal to: sizeof( array )
at first glance, which would give the size of the entire array in bytes, but of course the &array[0] expression is really: &*( array + 0 )
which simplifies to: array + 0
which is a pointer. And using sizeof on it gives the size of a pointer to int.Edit: (&* array) will also give a pointer.
---
This is just a really convoluted way to write 2:
&array[2] - &array[0]
&*(array+2) - &*(array+0)
(array+2) - (array+0)
2 - 0
Again I have never seen this written in such fashion.