I design with Figma and I code in React Native/ReactJS. How can I build something or learn a skill with no internet to make sure I'm productive over this time?
If none of that applies, and you still want to learn something to do with tech? Well, you know this won't be an ideal situation to engage directly with a system. How about zooming out a bit? Read some books. Some of Stallman's essays. Clifford Stoll. Or anything else more recent that you think is big-picture significant to your field. Your situation will be ideal for contemplation, which will in the long-term make you a better contributor to whatever projects you take on.
The only time I would be very annoyed by such responses is if that's all the responses I got. Some of both is reasonable: perhaps I did pose an XY problem.
Internet is the same. You ask and someone made the effort to voice their opinion on something and you have to put the effort into figuring out if they would fit your situation. If not, continue on.
Nope, you just sound like an asshole.
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.
And here, “do something else” seems a popular answer too. Perhaps it’s how we approach problem solving in general.
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.
If that advice falls on deaf ears, and you really do want to write code on your time off, then here are some suggestions. I was about to say 'welcome to how we used to code'... but there are differences, both positive and negative.
* Tools like `git` are invaluable to the extent they let you manage source code control offline. Use them if you don't already.
* Settle on your dependencies and frameworks while you have network access. Download all the source you can for future reading.
* Focus on algorithmic work.... places where it's more about thinking through the code you're writing rather than interfacing with something else. (Hard these days.)
* Buy and bring some books. There are still good programming books that can be useful. You won't be totally at the cutting edge with these, but you probably don't need to be either.
More to the point though, op says “productive” and there’s more ways to be productive than doing grunt work. Bring books about things you want to learn or improve in your life, not necessarily code. See for example any of the books published by Stripe Press (https://press.stripe.com).
- 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.
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 refer to it constantly, there are tools that you can use to clone entire readthedocs areas, along with many others documentation projects. Simply keep them local.
You can create a local clone of an entire npmregistry, there are tools to do this for build systems.
Alternatively, pick up a tutorial style programming book that is outside of your regular knowledge area, download whatever tools you need, and work your way through the book.
You know your workflow better than anyone else, so try working your workflow without internet for a day and see where it falls short. Again, you can work around most of the problems, except for those "I need a back-end server to work" tools, e.g. Figma.
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.
If you just want to be productive, you could also bring a lot of books or downloaded tutorials on a drive.
Btw, make sure your drive is encrypted and you think of a way to backup your data so you don’t lose the offline progress.
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.
Then see what problems arises next and solve that as best you can.
And so on.
Which means it will probably be a bit frustrating, involve a lot of small failures, and maybe even large failures.
But you will learn if you like to code without the internet and will try it again with better preparation or just liked the idea of being a person who codes without the internet but are not (which is ok).
Some people like to camp and some don’t.
Good luck.
Doesn’t need to be PICO-8 but there’s plenty of languages that can be done entirely offline.
Still keeps your brain active and lets you learn something new that might help you in parallel ways.
Even though it's not as good as GPT-4, and might even be slower, the value you might get from a local modal in such a case will probably beat most other things. It will allow you to both look stuff up, and even learn new things without needing to copy large parts of potentially irrelevant information beforehand.
More immediately, Kiwix is fantastic for this. I have the entirety of Wiktionary downloaded - the complete "English to X dictionary" where X is about 50 languages - and it only takes up 8GiB. Install at least two different Kiwix client applications; there are occasionally glitches that make one unable to show a certain page. Wikipedia and Stack Overflow might be good Kiwix libraries for your use-case.
Your other problem is going to be pulling in new dependencies and docker images.
I had downloaded a bunch of older Advent of Code exercises and spent some time on the transits solving them in a language that was relatively new to me (Clojure).
That might be better suited to a casual/low-stakes "15-20 total hours" rather than 100 hours where you want to be sure you can be productive, but all I did was just made sure I could do a couple of hours worth of work on my laptop at home with the wifi disconnected.
This basically meant loading up a thumb drive of all the possible documentation he could get. You can use site archive tools to download an entire website's documentation. Depending on the complexity of what you want to build - you would also probably need to mirror a subset of your package manager i.e. npm mirror. Probably lots of eBooks, courses, tutorials. Nowadays maybe even a LLM might be a useful reference.
that would be very hard for me though, coding without internet. he must be really good at his craft haha.
Some offline alts:
1. Penpot for ui design 2. Llama for stackoverflow (from this thread, yet to try myself) 3. Python had devpi to cache packages. You might find something similar for npm.
I also found vscode plugins are mostly offline. A nuc-style box with docker + glinet router may help if you are not alone on this journey.
It might not align with current trend, but I would like to make cloud-cutting a norm, instead of exception.
The good thing is you can practice this ahead of your retreat by turning off your wifi and trying to do work that you might do on your retreat. Then when you encounter something you need, figure out how to download it and run/install it locally. Then repeat until your local setup allows you to do work. The downside is you'll be limited to what you prepare ahead of time so there won't be any exploring available packages, downloading one to see if it works, etc.
Another approach is to try and learn something new with a book, that amount of time with a new language/framework and being new to it means you probably only need some basics to get going. You might want to download api/language docs in addition to the book as well in case you explore things outside of the scope of the book. Maybe try something adjacent to what you work on.
Is the purpose of the retreat to the middle of nowhere to be productive ?
Why do you think you need to make sure you're productive ?
If the purpose of your retreat is to be productive, maybe chose something that you can do without Internet, like programming in a language/framework you feel comfortable with, and just bring their documentation with you ?
If nothing comes to mind, take a bunch of screenshots of leetcodes and try to implement them. It's good for programming skills, and good for your career. There's nothing boring or "work-like" about leetcodes; they are often touching upon academic computer science. It's a perfectly respectable intellectual activity and a good thing to be doing in the woods.
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!
unplug instead and consider it as a break.
youll just get disappointed once you encounter edge cases where you need more than the official documentation. i mean things that are hidden in github issues and stackoverflow posts.
it's okay to take a break anon, everythings gonna be okay.
You didn't provide any details about this excursion, so I'm not going to assume anything and tell you to do something else.
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.
Not meant to be snarky, sorry I just don't have any idea how you'd get local setups and then have the relevant developer docs in an accessible manner. Maybe a locally running Llama model?
You can go a long way with concepts, instead of explicit code.
Figure out what the parts look like. Write the code when you're done.
I did an hour of coding today disconnected from the internet and it was nice. Some things have to be put off but there is a surprising amount you can do!
There's also a PDF version: https://www.glump.net/howto/desktop/vim-graphical-cheat-shee...
localhost... right?
Is there no way to go online for all duration of the trip?
Or is there some device that you can use occasionally to browse or perhaps even download something to an usb drive?
If I were in a circumstance like that I might take Ruby & Rails docs. I use it, but don't know to the point of memorization so many things that are uncommon but frequent enough that I have to take time to look them up each time they come up. Like how does Ruby symbol resolution work, exactly.