Might actually want that entroy :bear:
Entropy
@Fireduck I've been using haveged everywhere, but didn't realize how simple it was or how it worked exactly. I'm happy to use it. :D
``` a = 1 b = a b += 1 print(a) print(b) a = [0,1] b = a b.append(2) print(a) ``` ``` 1 2 [0, 1, 2] ```
shallow copy of 'a'
a is a reference to a list, b gets set to a reference to the same list
so then you add something to the list, a and b both point to that list
python?
@Fireduck yeah, python. I was under the impression things are mostly copies of other things when you set variables. Misunderstandings like that are easy when you're self taught and may have skipped over some fundamentals. I'm spending time playing with these fundamental concepts to make sure my understanding of the language is more concrete. :)
yeah, it is fun
long story short. some objects allow you to mutate the values. some objects are immutable and return copies.
yep
^ the above demonstrates how a list can be added to, where as integers are replaced.
the tricky bit, is that it works inside local scopes. ;)
which makes sense honestly ``` def test_append(some_list, v): some_list.append(v) test_append(b, 3) print(a) ``` ``` [0, 1, 2, 3] ```
tricky tricky
```b = b + [4] #<= print(a) print(b)``` reassigns ``` [0, 1, 2, 3] [0, 1, 2, 3, 4]```
@Fireduck rereading your message, yeah, you're right. using different words slightly change perspective. xd
I am full of pith
https://www.jwz.org/blog/2018/08/higgins-time/ Tales of batshit political supervillainy like this are why I still subscribe to the tz mailing list. diff --git a/asia b/asia. index 7166380..5e27d85 100644 --- a/asia +++ b/asia @@ -2939,15 +2939,34 @@ Link Asia/Qatar Asia/Bahrain  # Saudi Arabia  # -# From Paul Eggert (2014-07-15): +# From Paul Eggert (2018-08-29):  # Time in Saudi Arabia and other countries in the Arabian ...