Philip P. Ide

Author, programmer, science enthusiast, half-wit.
Life is sweet. Have you tasted it lately?

User Tools

Site Tools


blog:articles_on_writing:wiki_farm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
blog:articles_on_writing:wiki_farm [2020/11/20 22:27] Phil Ideblog:articles_on_writing:wiki_farm [2020/12/12 14:25] (current) – [Wiki Farms and Animals] Phil Ide
Line 2: Line 2:
 As a writer, I love sitting at my computer and either writing my next novel, or working on the development phase - world-building, character creation, plot development etc. However, after 12 hours sitting at my desk I'm getting a bit uncomfortable and if I listen very carefully, I can hear the sofa's siren call... Breaking free of the desk has been something I've been working toward since the middle of the year. As a writer, I love sitting at my computer and either writing my next novel, or working on the development phase - world-building, character creation, plot development etc. However, after 12 hours sitting at my desk I'm getting a bit uncomfortable and if I listen very carefully, I can hear the sofa's siren call... Breaking free of the desk has been something I've been working toward since the middle of the year.
  
-I built a NAS (network attached storage) and put a handful of Tb of storage space on itI've been building a laptop out of a Raspberry Pi and pizza boxalthough the pizza box has now been replaced with an aluminiumpadded briefcase. The laptop has been useable for some months, although it is not yet finishedI've also got SyncThing working so both my desktop and my laptop sync folder on the NAS (so they both always stay in sync) - just like dropBox or OneDrive, except it works only on my local network.+===== Raspberry Pi ===== 
 +The [[https://www.raspberrypi.org/|Raspberry Pi]] is credit-card sized computer. All you need to do is put an operating system on an SD cardconnect the Pi to your networkplug the Pi into a socket and it worksYou can either plug monitor/mouse/keyboard into it, or control it from another computer.
  
-I've also setup VPN so anytime I'm away from homeas long as I can connect to the internet I can connect to my home network and access all the resources on it - which meansfor example, SyncThing will work.+With these have built [[blog:articles:raspberry:phys_marsclock:pi_marsv1|clock that tells the time anywhere on Mars]]a NAS (put some hard drives on the network), a Pi-Hole (eradicate adverts), a Cron Server (fetches data from NASA and updates various pages in the [[blog:aardvaark:start|Aardvaark]] section of this site)a music centre and a laptop. They are extremely versatile.
  
 +I installed SyncThing, which is like OneDrive or DropBox, except I can sync multiple folders with diskspace limited only by the amount of space on the computer with the least space on it, and instead of synching with a folder "in the cloud", it synchs with a folder on my NAS.
 +
 +I also installed a VPN so I can access my network and all its resources from anywhere in the world - as long as I have internet access. As soon as I'm connected through the VPN, SyncThing will work and sync with the NAS (if necessary).
 +
 +With a network, a NAS, a desktop and laptop, a VPN and SyncThing, the stage is almost set.
 ===== Windows/Linux Problem ===== ===== Windows/Linux Problem =====
 The problem, for me as a writer, is that there is very little in the way of software for novelists that is available on both Windows (my desktop machine) and Linux (my laptop). The problem, for me as a writer, is that there is very little in the way of software for novelists that is available on both Windows (my desktop machine) and Linux (my laptop).
  
 I usually use Scrivener. I've been using that for nearly a decade, and as well as being very happy with it, it is a very comfortable environment for me. There is an old version of Scrivener that is available for Linux, but the data files are incompatible with current versions. I don't like using traditional word processors, and if you've ever tried searching backwards or scrolling backwards through a 500 page document neither would you. I usually use Scrivener. I've been using that for nearly a decade, and as well as being very happy with it, it is a very comfortable environment for me. There is an old version of Scrivener that is available for Linux, but the data files are incompatible with current versions. I don't like using traditional word processors, and if you've ever tried searching backwards or scrolling backwards through a 500 page document neither would you.
 +
 +There are other programs out there: some of them are online (I need them to be able to work offline), and some of them just don't work the way I want them to.
  
 One program that worked equally well on both platforms was Zim-Wiki, which is a notepad program that stores notes in projects and orders them hierarchically. A quick test showed that it synched seamlessly using the NAS as an intermediary. Zim is created from code that came from the DokuWiki project - the same wiki software that drives this website. It's a useful tool, and I use it a lot in the development phase of any story, however, I wasn't keen on actually writing a novel with it. One program that worked equally well on both platforms was Zim-Wiki, which is a notepad program that stores notes in projects and orders them hierarchically. A quick test showed that it synched seamlessly using the NAS as an intermediary. Zim is created from code that came from the DokuWiki project - the same wiki software that drives this website. It's a useful tool, and I use it a lot in the development phase of any story, however, I wasn't keen on actually writing a novel with it.
  
-If you look at the treeview on this site, you can probably see possibilities. One branch for the manuscript, another branch for research, and another for notes - all very similar to Scrivener. I can do the same in Zim, but Zim is an encapsulated program. This website I can open in multiple tabs and have each tab viewing a different page. One that I'm editing, one displaying notes or research... or another scene, chapter etc.+If you look at the treeview on this site, you can probably see possibilities. I could create one branch for the manuscript, another branch for research, and another for notes - all very similar to Scrivener. I can do the same in Zim, but Zim is an encapsulated program. This website I can open in multiple tabs and have each tab viewing a different page. One that I'm editing, one displaying notes or research... or another scene, chapter etc.
  
 ===== Wiki Farms and Animals ===== ===== Wiki Farms and Animals =====
Line 20: Line 28:
 The main (or default) wiki is known as the farm, and the other wikis are the animals. If you're getting a George Orwell feeling at this point, then good, because he was an author and so am I (although perhaps not in the same league). The main (or default) wiki is known as the farm, and the other wikis are the animals. If you're getting a George Orwell feeling at this point, then good, because he was an author and so am I (although perhaps not in the same league).
  
-My plan at this point is to setup another Raspberry Pi as the host for this farm, with data being stored on a hard disk rather than an SD card. There is a plugin for DokuWiki that makes creating, deleting and configuring animals very simple. Each animal would, in this case, be a new novel.+My plan at this point is to set up another Raspberry Pi as the host for this farm, with data being stored on a hard disk rather than an SD card. There is a plugin for DokuWiki that makes creating, deleting and configuring animals very simple. Each animal would, in this case, be a new novel.
  
 With the VPN, I can access this from anywhere in the world, and all I need is a web browser. Further, I'd be editing the same version of the files. However, prudence would dictate that I create a local copy on my laptop using SyncThing, so if I'm unable to connect to the internet, I can still continue working. As long as I power up the laptop when I get home, everything would get synched. With the VPN, I can access this from anywhere in the world, and all I need is a web browser. Further, I'd be editing the same version of the files. However, prudence would dictate that I create a local copy on my laptop using SyncThing, so if I'm unable to connect to the internet, I can still continue working. As long as I power up the laptop when I get home, everything would get synched.
  
 The other major advantage of DokuWiki is that it creates a backup in the form of a reverse-delta file of any page that is edited. That way I can always roll-back any changes or simply review an earlier version of a page and copy the bits I want from it. The other major advantage of DokuWiki is that it creates a backup in the form of a reverse-delta file of any page that is edited. That way I can always roll-back any changes or simply review an earlier version of a page and copy the bits I want from it.
 +
 +The next article, [[blog:articles_on_writing:wiki_farm_01|Animal Farm Part 2]] describes how I configured the farm and got it all working.
  
 ~~socialite~~ ~~socialite~~
 ~~DISCUSSION~~ ~~DISCUSSION~~
  
blog/articles_on_writing/wiki_farm.1605911276.txt.gz · Last modified: 2020/11/20 22:27 by Phil Ide

Except where otherwise noted, content on this wiki is licensed under the following license: Copyright © Phil Ide
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki