3 ms·
Ask HN: Working Offline for 8 Hours?
I'm going on a long flight and would love to use the time for coding. Any tips how to do it ? I would love to download the whole internet or maybe just stack overflow and GitHub :)
Can work without it BUT for some interesting stuff it is really helpful. Also npm or pip require a internet connection that makes things harder to play around with new libraries.
Would appreciate any hint.
- PaulHoule 5y agoIf you were programming in Python or many other languages you could download documentation and have a local copy. In both Python and Java doing a mini-project I frequently challenge myself to only use the standard library. It's good for practicing HackerRank-rank style programming (the fun of single-file Java) When I am waiting for builds I sometimes hack on this https://github.com/paulhoule/pidove https://github.com/paulhoule/pidove because I don't really like the Streams API and want to perfect my mastery of generics and internal DSLs. Now that I think of it, standard-library only for node seems like a good challenge for me because I code a lot of front-end Javascript but just barely know the node API. I've also hacked on things that are data-science and A.I. related on the bus where I've very deliberately set up a Jupyter environment with everything I need before the trip.
- MichaelRazum 5y agoDownloading docs is a good Idea. Will check if I can get all the docs for all the various packages. Basically that is not that important, because I already know them pretty well. Actually thought to do some stuff with cython, but guess for that I really need stack overflow to come fast forward.
- roneoo 5y agoDoc can be downloaded with Zeal
- MichaelRazum 5y agoThanks a lot for the hint. That is very helpful!
- helij 5y agoWhy not the way we did it in 1995 most of the time? Out of the head and big fat book.
- MichaelRazum 5y agoGuess depends on the problem, would love to do it this way. Kind of difficult if you are working with new frameworks.
- helij 5y agowget -r 'framework.docs' Get as much of the documentation you can find downloaded.