An exercise to help build the right mental model for Python data. The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening:
- Solution: https://memory-graph.com/#codeurl=https://raw.githubusercontent.com/bterwijn/memory_graph_videos/refs/heads/main/exercises/exercise7.py&play
- Explanation: https://github.com/bterwijn/memory_graph?tab=readme-ov-file#python-data-model

#Python #Mutability #memory_graph

🧲 - Single Weekend Python OOP MasterClass
- Threads on Single Core Processors
- Mutability of values in Python
- Creating Web Apps for your Machine Learning Models
- Good Coding Practices for Data Scientists

Latest MyVoD issue at: http://eepurl.com/i5NF5o
Subscribe for more at: https://bit.ly/MyVoyageOf_Discovery

#threads #OOP #python #Mutability #Machine_Learning #DataScience #Coding #MyVoD

[MyVoD] 🧲 OOP, ML Apps, Threads, Mutability, Coding Habits

As much as I value data integrity, I also appreciate data mutability. I’ve never understood the crowd that insists there's only one best solution.

#mutability #dataprivacy #dataintegrity

Today's poem:

Nothing Gold Can Stay
- by Robert Frost

Nature’s first green is gold,
Her hardest hue to hold.
Her early leaf’s a flower;
But only so an hour.
Then leaf subsides to leaf.
So Eden sank to grief,
So dawn goes down to day.
Nothing gold can stay.

#gold #mutability #change #time #RobertFrost #poetry

Sonnet for what ages and does not

Sam Rush My mother is older. My father, older. The pack of us now sober. Or soberer. The last of us left reaching daylight less alive. And once. I could’ve sworn to more. Older, we run towards the o…

Tumblr
Temporal Order and the Perceived Mutability of Events
(1990) : Miller, Dale T. Gunasegaram, S...
DOI: https://doi.org/10.1037//0022-3514.59.6.1111
#sequence #credit_assignment #mutability #blame_assignment #temporal #psychology #my_bibtex

@matt

Oh, and sets too.

Example with shallow list copy and an embedded mutable object (another list):

>>> a = [1, 2, [3, 4]]
>>> b = a.copy()

>>> b
[1, 2, [3, 4]]
>>> b[0] = 5
>>> b
[5, 2, [3, 4]]

>>> a
[1, 2, [3, 4]]

>>> b[2][0] = 8
>>> a
[1, 2, [8, 4]]
>>> b
[5, 2, [8, 4]]

#mutability #copy #WhoTouchedMy