Live data from Hacker News

Ask HN: How to hole up in a cabin in the woods to write my great software idea?

news.ycombinator.com

11–17 of 17 posts

Re: Ask HN: How to hole up in a cabin in the woods to write my great software idea?

#11
Download a pleasant language distribution with a capable base library and documentation, like Racket.

You might not need to do everything in the fastest or most scalable way. Like how a writer in a cabin will produce something that later needs editing and typesetting for mass distribution. So, like, if you forgot how to use an SQL database or didn’t bring Postgres, just serialize a big hash table and do your queries in your programming language.

So you can build the program out of parts that you might need to replace once you’re back online.

You can also do a lot of work with a specification language like TLA+ where you don’t need to actually implement every algorithm. If you need a hash function you can just postulate a function from your domain type to the naturals.

Re: Ask HN: How to hole up in a cabin in the woods to write my great software idea?

#12
post #9

John Carmack did something like that a while ago https://lobste.rs/s/o1xjaq/john_carmack_on_openbsd_c_machine

Awesome! Thank you for the article reference, it was great and along the lines of what I was thinking about when I asked my question. Even a novelist in the woods is only going to hack together a rough draft in the woods and then second draft with an editor once they get back to regular life which it sounds exactly what Carmack did.

Re: Ask HN: How to hole up in a cabin in the woods to write my great software idea?

#13

On macOS there is Dash - https://kapeli.com/dash which can download and make easily searchable many documentations as well as StackOverflow answers. I have been using it sparingly, but for coding without an internet connection it seems ideal

Now that you mention it, I tried a program called Zeal on another machine which could also use the Dash Docs format (I'm linux based).

I was thinking one would need to download offline copies of the most immediate tools documents but I guess I was hoping for some tried and true articles or techniques (read: silver bullet) and not have to download the whole internet and cross my fingers that I got everything I needed :)

Re: Ask HN: How to hole up in a cabin in the woods to write my great software idea?

#14
post #8

> How did people program working solutions before instant online answers Slowly

Ha, probably too true!

Part of this question is in response to the feeling I have that when I'm coding, I'm not hyper focused, I'm constantly sidetracked by dipping down documentation and forum rabbit holes because many things are non obvious at first glance, but then once one learns the abstraction or learns the narrative of thought, that it suddenly becomes obvious and second nature. So following that, I was wondering if there were more resources to load up on these kind of insights to make looking up things only for the most arbitrary technical things.

Then I can build a cabin and code up a storm amiright? :)

Re: Ask HN: How to hole up in a cabin in the woods to write my great software idea?

#15
post #4

Have you tried looking into devdocs.io? I believe it supports offline mode.

Hmmm, no I've never heard of this although I've used a similar offline doc reader called Zeal.

I just checked it out and it looks cool but I don't think it's for me. I use a Firefox extension called Saka Key that allows me to fully navigate web pages and tabbing with the keyboard but it doesn't work so well when a web page wants to be an app instead of a page. The site forces focus in a text search box and pressing escape doesn't leave the text box, it just replaces displaying the welcome message. It's a usability issue for me :(

Re: Ask HN: How to hole up in a cabin in the woods to write my great software idea?

#16

If you read The Art of Computer Programming or Djikstra's writings they will tell you how this was done. They took a piece of paper, and they wrote down in a high level what their program should do. Then they took another piece of paper and they started to split up the first piece of paper into smaller subroutines. Then they took some more paper and split the small subroutines up into smaller and smaller subroutines.…

Sounds like the tried and true way. I'm always interested in learning about computing history and the people that set up the groundwork. The more I read, the more I find that tech doesn't learn much from its past and we're just stuck with many inferior iterations of the same things.

I found a copy of, Notes On Structured Programming, by Dijkstra. I'm going to start giving it a read tomorrow (it's a whopping 88pg essay).

It seems that Dijkstra did a lot of paper design work because he was programming for hardware that didn't exist in a programmable form yet.

Re: Ask HN: How to hole up in a cabin in the woods to write my great software idea?

#17
* Download Stack Overflow data dump.

* Download Wikipedia data dump.

* Download documentation for the technologies you will be using.

* Make sure you have power.

* Take backups regularly.

* If you get stuck, think and solve the problem. Consider it as an opportunity to employ your brain in a way you (probably) have not done before.

Post reply on HN