• 1 Post
  • 18 Comments
Joined 3 years ago
cake
Cake day: July 25th, 2023

help-circle







  • Personal experience, obviously:

    1. enforce time limits on apps (like 45 min messaging/social per day), e.g. using built-in tools => frees a lot of time
    2. streamline communication, i.e., do not be available 24/7 for mail, chat, etc. Instead, define time windows to check and answer your channels
    3. Use some Pomodore timer [1] to focus on specific tasks for a few hours. Minimize distractions as far as possible in that time window.
    4. Sleep. Working tired is a black hole for time management.
    5. Do sports/seek nature to keep the stress level down.
    6. Plan honest to your capabilities, sometimes the 80% solution will do (yes, this can be hard to accept)
    7. A simple hand-written checkboxed ToDo list per day is helpful, take 5-10 minutes to compile it before your day starts.

    [1] Goodtime









  • Apologies for being too cryptic/jargon. Pro tip: a real-life mentor can adapt to your level on-the-fly, if available.

    Maybe this introduction helps a bit to get an overview - from the context I expect you are on JavaScript or related.

    It’s often hard to grasp why packages or techniques exist unless you ran into the problems that motivated the solution yourself.

    In this case, it’s all about filtering by the severity of log messages (debug level). If the level is high, your app will show tiny bits of information. These do not need to show for every user, except if they want to enable it (via techniques like a switch/flag, environment variable or a config file).

    Config files or profiles are often used to enable/disable code parts in production or to configure how often scheduled jobs should be triggered and so on.

    Depending on your level of expertise logging stuff via the console may be just fine for the moment. In particular if you are the sole developer. Once you’re annoyed by your own logs, incrementally replace the ‘prints’ with a library that feels comfortable or well-documented.