June 09, 2025

#tools #ai #language #english #grammar #python

NotebookLM

  • Use it as podcast to outline topics you are interesting
  • You can create mind maps before going direct into the subject massive text and resources
  • You can use pdfs like research papers

English - Passive Continuous - Questions in the Passive Voice

  • Present Continuous - They are repairing the car (Active) - The car is being repaired
  • Past continuous - They were painting the house (Active) - The house was being painted
Tip

Structure: [be in the correct tense] + being + past participle

  • Questions in the passive voice
    • Did they close the store ? (active) - Was the store closed ? (Passive)
    • Is she preparing the dinner? (active) - Is the dinner being prepared? (Passive)

Fluent Python - References, mutability and memory

  • Variables are not boxes but tags
  • An object can have multiple variables assigned to it, and it disappears when every variable is not assigned to it anymore.
  • is is to compare object id while == is compare object values
    • Except when we have a singleton, so in that way make sense compare objects using is like we use using None comparison.
  • is is faster than ==
  • == is suggar for __eq__ special method
  • Shallow and Deep are ways to copy and reference objects in python
  • Function parameters is call by sharing
    • Mutable variables are changed while immutable remain the same
    • Does not change the object identity

Sources


Eu com algumas figuras que representa análise de dados/ciência
#tools #ai #language #english #grammar #python