top 19 comments

sorted by: hot top controversial new old
[–] 55 points 1 year ago (1 child)

Context Switching

It's why I hate when middle managers get a hold of my time allocation. "You have 8 hours a day, so you can spend 1 hour each on these 8 different projects and move them all forward together!" Sprinkle 3-4 pointless meetings throughout the day, and then they wonder why nothing gets done.

  • source
  • hideshow 1 child comment
  • [–] 8 points 1 year ago*

    I wrote a reply before I got this far down in this thread, but 100% agree.

    So for that hour:

    10min to stop the last thing I was doing.

    10 min to switch to new task (getting environment set up, checking out code, etc).

    30 min to figure out where I was the last time I started.

    And now 10 min to actually do anything.

    God forbid a random pop-in, priority email, slack message, system alert, etc happen in that hour.

    Yep seems totally efficient to me.

  • source
  • parent
  • [+] 26 points 1 year ago (1 child)
  • [–] 13 points 1 year ago

    Honestly, writing your thoughts can give you incredible insight into what you’re really thinking.

    It’s so easy to just swim in a sea of irreconcilable thoughts nowadays — writing down the first thing that comes to mind can give you an interesting look into your mind.

    I have written some seriously profound things off the cuff at a whim, or realized things about myself that I wouldn’t have otherwise.

  • source
  • parent
  • [–] 74 points 1 year ago (1 child)

    I'd like to point out that this doesn't just apply to programmers. Other people need to think and concentrate for their jobs too.

  • source
  • hideshow 1 child comment
  • [–] 16 points 1 year ago

    This is every dang day of my life!

    need to get on ADHD meds.

  • source
  • [–] 12 points 1 year ago (2 children)

    I’m a card carrying medicated ADHD adult. I have this printed and on my door at work. Yesterday at one point I had a queue of people at my office door. The irony of why I didn’t get a lot done yesterday was lost on most people.

  • source
  • hideshow 2 child comments
  • [–] 3 points 1 year ago (1 child)

    I feel you. I'm fearful of being so open about my diagnosis though. These days I "wear so many hats" for my job. Unfortunately I have to be support for a number of related systems, script automations, and a tons of other stuff. Recently I've felt like this last project has taken forever and I've been hard on myself because of it.

    Only in the last week or so did I realize that I'm writing scripts far more complex than ever before and I don't get into a flow state until everyone else goes home but then it's time for me to go home. Half of my normal work time is trying to get back into the mindset I need to continue building the project. Then I have to focus on different project for a few days and WTF was I doing with that first project?

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 1 year ago

    Yeah totally. I’m most productive in the super early morning before anyone gets there, like 6-9am. Or in the late evening after everyone has gone home. But the wife is like why are you still at work. When I get in the zone I get total time blindness. What felt like 15 minutes was more like 4 hours.

  • source
  • parent
  • [–] 41 points 1 year ago (2 children)

    This comic was done better by Jason Heeris back in 2013. Only reason I know this is because I printed it out and stuck it on my cubicle wall.

    https://www.reddit.com/r/ProgrammerHumor/comments/f23ytv/this_is_why_you_shouldnt_interrupt_a_programmer/

  • source
  • hideshow 2 child comments
  • load more comments (1 reply)
    [–] 9 points 1 year ago

    As they say, office is the pinnacle of productivity

  • source
  • [–] 6 points 1 year ago (3 children)

    You need to CTRL+S whenever you do something

  • source
  • hideshow 3 child comments
  • [–] 7 points 1 year ago (2 children)

    I’m an old comp sci grad. There was a concept we learned in my operating systems class called a context switch.

    So basically, a context switch is when an operating system pauses one running process or thread, saves its state, and loads the saved state of another so the CPU can execute it. This makes multitasking possible by letting multiple processes share a single CPU while each later resumes exactly where it left off.

    I would kill for this feature in real life.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 6 points 1 year ago

    God I miss WFH

    I was so much more healthy and happy

  • source
  • [–] 6 points 1 year ago
    6 comments in c/programmerhumor@lemmy.ml view that post
    [–] 22 points 1 year ago*

    I like the original.

    Comic by Jason Heeris, 2013.
Panel 1: Person staring at screen with code: if c == ',': backtrack = 1
Panel 2: Zoomed out. Code now in big thought bubble
Panel 3: Zoomed out more. Thought bubble: "... so if the current character is a comma, we set the backtracking flag ..."
Panel 4: Zoomed out more. Thought bubble fills half the panel. It shows a state diagram, presumably part of a finite automaton corresponding to a regular expression.
Panel 5: Zoomed out more. Thought bubble fills most of the panel. Flowchart. Step "parse" leads to decision "-i flag"; one branch to box with previous state diagram (scaled down), other branch to step "remote config", then decision "https" with branches out of visible area.
Panel 6: Zoomed out more. Huge thought bubble with scribbled diagrams and notes and arrows connecting them. E.g. "commit #5763 to here caused bug or did it just expose it?", pointing to "new config format parser" and "callback for config state"; "CLI entry point" has a note on it saying "Sarah wrote this, maybe ask about weird parse logic?"; "remote config loader" has a note "no access to source - are we just recalculating its state later?".
Panel 7: Back to normal zoom. Another person with a tie and coffee in hand peers over the screen: "Hey, so I just sent you an email about that thing". The thought bubble is collapsing into a black hole.
Panel 8: Tie/coffee guy is walking off, whistling. Original person is back to staring at screen with code: if c == ',': backtrack = 1

  • source
  • [–] 3 points 1 year ago

    i've learned to use this as an excuse ever since i started getting paid less that a fresh new graduate.

  • source
  • [–] 3 points 1 year ago (3 children)

    ever heard of pen and paper?

  • source
  • hideshow 3 child comments
  • [–] 8 points 1 year ago

    I whiteboard things after the third interruption. My coworkers know if they interrupt me while I'm whiteboarding things, they are going to get sucked into the thought, and their question is moot. (Unless it relates to food)

  • source
  • parent
  • [–] 2 points 1 year ago

    So yesterday, I started thinking about a thing.
    Thought quite a bit.

    Started jotting it down and lost half of what I thought.

    Nobody interrupted me.
    It was just me, switching from lying down and thinking to getting up and typing.
    The same happens in case I am using a pen and paper to write instead.

  • source
  • parent