Two consecutive days for a customer, tree days for the other one. Ideally it would be 2+2 and 3 free days but it's difficult to find a new customer that is happy with only 2 days.
Anyway, yes context switching can be a problem. That's why those days must be consecutive. Furthermore, I write down in a text file a few lines about what I did every day and how many hours I spent. My file goes back to October 2012. That's very useful to bill customers at the end of the month and to restart from the previous week. I also write short TODOs in the same file about what I'll have to do the next week when I'll be back on the project. Git commit messages and slack chats also help to get back into context.
What else... I have a virtual desktop per customer, with editor windows, terminals, browser windows open all the time. Not having to restart everything every week and finding all pieces in the same place probably helps too. It surely costs some RAM but it's cheap. My laptop has 32 GB, 18.9 used by programs right now according to htop.
I am trying to write things down for the last few days, before it was Zim (It's still my core knowledge base), I feel I enjoy writing more than typing to note things.
Anyway, yes context switching can be a problem. That's why those days must be consecutive. Furthermore, I write down in a text file a few lines about what I did every day and how many hours I spent. My file goes back to October 2012. That's very useful to bill customers at the end of the month and to restart from the previous week. I also write short TODOs in the same file about what I'll have to do the next week when I'll be back on the project. Git commit messages and slack chats also help to get back into context.
What else... I have a virtual desktop per customer, with editor windows, terminals, browser windows open all the time. Not having to restart everything every week and finding all pieces in the same place probably helps too. It surely costs some RAM but it's cheap. My laptop has 32 GB, 18.9 used by programs right now according to htop.