Hacker News new | ask | show | jobs
by walthamstow 987 days ago
Not quite as long as a week but here are some tips when I want to code from a long haul flight or some other offline situation.

- The replacement for Figma is straightforward - pen and paper. Make sure you take some.

- devdocs.io for offline docs or if what you're using isn't in there, a lot of packages offer a PDF of their docs.

- I keep a pyproject file that has basically any mainstream package I am likely to want at any point while writing Python, then when I leave for a trip I make sure everything is installed locally. Docker can also be helpful for this.

- Sometimes I write tests when I have internet then when I'm offline I just spend the time making the tests go green.

- Other times I will forget about writing new code and learn something new by working through the PDF of a book. Most technical books set up the dev environment in the first few pages, do that when you have internet then you're good to go.

Other people have raised good points about getting away from your computer. I don't want to preach but I do like a 'holiday' day where I do some light coding in the morning then spend the afternoon doing something else entirely.