HACKER Q&A
📣 MichaelRazum

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 Accepted Answer ✓
If 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

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.


👤 helij
Why not the way we did it in 1995 most of the time? Out of the head and big fat book.