Live data from Hacker News

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

news.ycombinator.com

71–80 of 89 posts

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

#71

If you're not familiar with Vim, I'd encourage you to download a few Vim cheatsheets, the VimBeGood extension[1] and practice navigating code in Vim. [1] https://github.com/ThePrimeagen/vim-be-good

Does anyone know of any good Vim cheatsheets?

I used this graphical cheatsheet to get past the beginner stage: http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial...

There's also a PDF version: https://www.glump.net/howto/desktop/vim-graphical-cheat-shee...

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

#72
post #60

Earlier quoted context omitted.

This is a classic example of the xy problem https://xyproblem.info/ , where the author is asking for advice on his solution (how to study react on a vacation without internet), when for the vast majority of circumstances the best advice for the author would be to not waste his vacation studying React.

You don't seem to understand what a conditional is. _Given_ that I want to study React in the woods, how should I do it? Whether or not to study React in the woods is completely irrelevant.

Thats all fine and dandy for a site like StackOverflow, but we’re on HN here - there’s neither an obligation for commenters to write the comments you want to read, nor a guarantee your question will be understood the way you like.

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

#73
post #65

Earlier quoted context omitted.

You don't seem to understand what a conditional is. _Given_ that I want to study React in the woods, how should I do it? Whether or not to study React in the woods is completely irrelevant.

> You don't seem to understand what a conditional is; you'd have a hard time doing math or formal CS. Ad hominems are against TOS. Answering the question is irrelevant if it’s the wrong question to begin with. And for the wrong circumstances (ie if this is a family vacation) can be counter-productive. It’s far more productive to zoom out, ask why the author is asking for advice to study react on vacation, and address…

I'm sorry but I find your position and expressed attitudes to be patronizing. They are words I would expect from someone who's assumption is that they know better than the other people they talk to in life.

I've no idea what you meant by your reference to college grad / swe1 but it certainly didn't lessen the above-described impression.

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

#76
So many tool chains and the like depend on being connected. That said, some books (for instance) have the code in place / examples you can downlaod.

If you are up for a new language and since you are front end focused, making sure your system is setup for it, maybe look at learning Rust and the book - https://pragprog.com/titles/hwrust/hands-on-rust/

It builds a game through the process. I found it a fun way to learn the language. But again, I'm not sure how possible it is to do offline.

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

#77
With offline material! If you can afford to take with you some hundreds GB of data and a laptop you're set. For example, let's say you want to learn Erlang: install the VM, keep an offline cache for dependencies (with their respective docs), Erlang docs and mirror devdocs.io. If the skill in question is not tech-related you can carry a lot less data probably too (find some manuals).

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

#78
post #27

Earlier quoted context omitted.

I’ve also noticed that in threads about stack overflow people often complain that questions are answered with “do something else”. And here, “do something else” seems a popular answer too. Perhaps it’s how we approach problem solving in general.

I think it's laziness: rather than solving a specific problem, it's much easier to pick from an infinity of other problems you can solve.

[deleted]

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

#79
post #27
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…

I’ve also noticed that in threads about stack overflow people often complain that questions are answered with “do something else”. And here, “do something else” seems a popular answer too. Perhaps it’s how we approach problem solving in general.

It’s because tech people are often fed XY problems.

https://en.wikipedia.org/wiki/XY_problem

The person asking the question is asking how to do something, instead of explaining what the problem is.

Without an explanation of what the problem actually is, you have to guess.

Solving XY problems without getting at the root issue can create endless amounts of needless effort for many people, which is why discussion and communication are so important.

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

#80

Family: "We're going to an area where there's no WiFi, no distractions, no internet, just quiet solitude!" Me: "Awesome! I'll get my laptop so I can work on some personal projects without distraction." The only part of the puzzle I cannot solve is the Figma issue, which is an online tool. If your designs are already done, you can generate PDFs or PSDs to take with you. For documentation, if you're anything like me, I…

> The only part of the puzzle I cannot solve is the Figma issue, which is an online tool. If your designs are already done, you can generate PDFs or PSDs to take with you.

A locally run docker of penpot would probably work as an alternative, but I suspect it's too late for op to get it setup and learn it in time.

Post reply on HN