Ignore all the know-it-alls here telling you that you shouldn't write code while you're on vacation. If any of them knew anything about being in nature they'd know that the morning and evening are the times with most wildlife activity, and hence there are plenty of hours for coding. And they'd also know that even those of us who actually spend time in nature regularly don't spend the entire day staring at the fucking…
And OP would really like to know how
Ask HN: How do I code offline for a week?
81–89 of 89 posts
Re: Ask HN: How do I code offline for a week?
#82Earlier quoted context omitted.
It's really annoying to answer a question by telling the asker that you know better and they should do something else. This person cared enough about this question to ask it to a community on the internet. Have the humility to answer their question instead of telling them that you're wiser than them.
The 'do something else' is the community caring. Perhaps it's incorrect, but it's worth looking into. I can't imagine what situation is so competitive that on week of lost Figma design/React building/or learning something new so so catastrophic so as not to be permitted. Perhaps I'm misreading and the activity is so boring but required that carrying on computing is better--I've certainly done that. The only time I wo…
If the community cared, wouldn’t they answer the question instead of ignoring the question that was asked?
Re: Ask HN: How do I code offline for a week?
#83Earlier quoted context omitted.
The 'do something else' is the community caring. Perhaps it's incorrect, but it's worth looking into. I can't imagine what situation is so competitive that on week of lost Figma design/React building/or learning something new so so catastrophic so as not to be permitted. Perhaps I'm misreading and the activity is so boring but required that carrying on computing is better--I've certainly done that. The only time I wo…
> The 'do something else' is the community caring. Perhaps it's incorrect If the community cared, wouldn’t they answer the question instead of ignoring the question that was asked?
Re: Ask HN: How do I code offline for a week?
#84I would suggest setting up a 'forward proxy' on localhost with a piece of software such as nginx. With a sufficiently large hard disk or SSD, you can set the cache lifetime to be something very long like a month or two. Ideally, you'll be able to have your most frequented Web pages available offline. In practice, I've found DNS to be the biggest challenge, as browsers like to check the domain name too frequently; you…
Your other problem is going to be pulling in new dependencies and docker images.
Re: Ask HN: How do I code offline for a week?
#85Re: Ask HN: How do I code offline for a week?
#86Assuming you're fixed on not disconnecting: I would recommend using ollama (or install llamacpp if you're on Windows) to bring along a modestly capable LLM you can run locally such a CodeLlama or Minstrel. They won't be as capable as ChatGPT, but a lot of knowledge gets compressed into these relatively small models.
Re: Ask HN: How do I code offline for a week?
#87Re: Ask HN: How do I code offline for a week?
#88Books on React Native/ReactJS can also be handy. Consider working on personal projects or code challenges to sharpen your skills. Plus, offline time can foster creativity and problem-solving. Embrace the break from distractions, and you'll likely return with fresh insights and improved skills.
Enjoy your time in the middle of nowhere!
Re: Ask HN: How do I code offline for a week?
#89I don't know the circumstance of your tech exile, but I'd encourage you to take advantage of it to do something other than code! If you're going to be in nature, be in nature. If you're going to be with people, be with people. Those are the sorts of experiences you'll treasure, later in life, far more than a few more days of "productivity". If none of that applies, and you still want to learn something to do with tec…
It's really annoying to answer a question by telling the asker that you know better and they should do something else. This person cared enough about this question to ask it to a community on the internet. Have the humility to answer their question instead of telling them that you're wiser than them.
I also think that answers like this are one of many. Let people put in their 2 cents. I think it's great to have a variety of answers that approach the question differently.