Live data from Hacker News

Ask HN: How do I code offline for a week?

news.ycombinator.com

81–89 of 89 posts

Re: Ask HN: How do I code offline for a week?

#81

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

My answer is here https://news.ycombinator.com/item?id=37738235

Re: Ask HN: How do I code offline for a week?

#82

Earlier 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…

> 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?

#83

Earlier 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?

The community didn't ignore the question, see the other replies. I said that it would be annoying if these types of replies were all I received. And my other post does give a suggestion.

Re: Ask HN: How do I code offline for a week?

#84

I 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…

Absolutely kiwis - its a tool for downloading offline copies of Wikipedia, stack overflow, etc.

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?

#86

Assuming 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.

I hope you are being sarcastic right?

Re: Ask HN: How do I code offline for a week?

#87
If I were in your position, I would do the following: - Plan out what I wish to achieve during this time. - Prepare all the relevant material that I would need for referencing - docs, manpages, articles, books, etc. - Set a goal that I think I can achieve and document the journey to learn from the experience.

Re: Ask HN: How do I code offline for a week?

#88
Being without internet can be a great opportunity to focus on skill-building offline. For your design work in Figma, you can sketch ideas on paper and refine them digitally later. For coding, download relevant documentation and tutorials beforehand.

Books 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?

#89
post #8

I 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 think eszed had a good point. I do appreciate the philosophy of taking in what you are doing in the situation rather than turning it into a code-fest. I have attempted that and failed. It just felt like forcing a situation that didn't work. Just take things as they come.

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.

Post reply on HN