Skip to main content

⨑ MOOD::

↻ HABIT [[◶ Trackers]] [Sketching::] [Exercise::] [Read::] [Personal Work::] [Nutrients and Water::]

\Wednesday, March 06, 2024

📅 Daily Questions

🌜 Last night, after work, I
  • Played vball at Work
  • Played Zelda
🙌 One thing I'm excited about right now is
🚀 One+ thing I plan to accomplish today is
  • [ ]
👎 One thing I'm struggling with today is

📝 Ephemeral Notes

  • #python #programming Dictionary vs Dataclasses
    • When choosing between a dictionary and dataclass structure in Python, there are a few considerations but one should remember that a dataclass is comprised of dictionaries under the hood
    1. Purpose - dictionary is a mapping type structure while a dataclass is a record type structure
    2. Function - dictionary is mean to be updated and mutable while dataclasses allow instances to be immutable upon creation, and prevents attributes from being removed or added. There are also better type hint support
    3. Efficiency - because dictionaries are simpler it is faster

Notes created today


List FROM "" WHERE file.cday = date("2024-03-06") SORT file.ctime asc

Notes last touched today


List FROM "" WHERE file.mday = date("2024-03-06") SORT file.mtime asc

created: 2023-01-16 11:50