After two days, I started doing the same with my magnesium, and random dosing didn't feel like the same big deal as it would have back home. Why is that?
More improvisation. Purchasing carrots, celery and cream cheese at the local market so I don't have to eat gallo pinto, that is, rice and beans, or some pastry for breakfast.
Then asking waiters for cooked veggies instead of that same ol', same ol' rice and beans for dinner. It works in some places, even when veggies aren't on the menu. Costa Ricans are happy to oblige if they can, even if it means crossing the road to obtain a few zuchinni for their fussy customer.
And then there's the water pillow, which I packed from home and which has allowed me to sleep just about anywhere. I highly recommend looking into a Mediflow if you travel. You can fill it with as little or as much water as needed. I have found different mattresses require different levels of neck cushioning.
Then you can use hotel pillows as back or between-the-legs support.
Lastly, improvising has meant taking taxis to get around some of the time to save my limbs from pooping out. Thank goodness taxis in Costa Rica cost little more than using the internet!